/* Kiratt recruit: verified staff portraits and accessible profile dialogs. */
#recruit .krp-voices {
  --krp-blue: #39bcdf;
  --krp-ink: #2c2c2c;
  --krp-action: #087f9f;
  --krp-pale: #ecfbff;
  color: var(--krp-ink);
  font-family: inherit;
  text-align: left;
}

#recruit .krp-voices *,
#recruit .krp-voices *::before,
#recruit .krp-voices *::after { box-sizing: border-box; }

#recruit .krp-voices .krp-voice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  width: 100%;
  margin: 0;
  padding: 0;
}

#recruit .krp-voices .krp-voice-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #d9edf3;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 24px rgb(18 95 116 / 5%);
}

#recruit .krp-voices .krp-voice-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--krp-pale);
}

#recruit .krp-voices .krp-voice-photo > img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center top;
}

#recruit .krp-voices .krp-voice-open {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0;
  padding: 0 0 3px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--krp-action);
  box-shadow: 0 3px 16px rgb(0 66 84 / 20%);
  color: #fff;
  font-family: inherit;
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

#recruit .krp-voices .krp-voice-open::before,
#recruit .krp-voices .krp-voice-open::after,
#recruit .krp-voices .krp-voice-name::before,
#recruit .krp-voices .krp-voice-name::after,
#recruit .krp-voices .krp-voice-section h4::before,
#recruit .krp-voices .krp-voice-section h4::after { content: none; }

#recruit .krp-voices .krp-voice-open:hover {
  transform: translateY(-2px);
  background: #056882;
  color: #fff;
  opacity: 1;
}

#recruit .krp-voices .krp-voice-open:focus-visible,
#recruit .krp-voices .krp-voice-close:focus-visible,
#recruit .krp-voices .krp-voice-profile:focus-visible {
  outline: 3px solid #075c76;
  outline-offset: 4px;
}

#recruit .krp-voices .krp-voice-meta { padding: 23px 24px 27px; }

#recruit .krp-voices .krp-voice-store {
  margin: 0 0 8px;
  padding: 0;
  color: #086d89;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: .06em;
}

#recruit .krp-voices .krp-voice-name {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--krp-ink);
  font-family: inherit;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: .08em;
}

#recruit .krp-voices .krp-voice-role {
  margin: 6px 0 0;
  padding: 0;
  color: #5a6970;
  font-size: 13px;
  line-height: 1.8;
}

#recruit .krp-voices .krp-voice-headline {
  margin: 18px 0 0;
  padding: 17px 0 0;
  border-top: 1px solid #e0edf1;
  color: var(--krp-ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.9;
  letter-spacing: .025em;
  overflow-wrap: anywhere;
}

#recruit .krp-voices .krp-voice-dialog {
  position: fixed;
  inset: 0;
  width: min(1000px, calc(100% - 48px));
  max-width: none;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d8edf2;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 100px rgb(0 35 48 / 25%);
  color: var(--krp-ink);
  font-family: inherit;
  text-align: left;
}

#recruit .krp-voices .krp-voice-dialog:not([open]) { display: none; }

#recruit .krp-voices .krp-voice-dialog::backdrop {
  background: rgb(17 42 54 / 62%);
  backdrop-filter: blur(4px);
}

#recruit .krp-voices .krp-voice-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid #c7e4ec;
  border-radius: 50%;
  background: #fff;
  color: #075c76;
  font-family: inherit;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
}

#recruit .krp-voices .krp-voice-close:hover { background: var(--krp-pale); }

#recruit .krp-voices .krp-voice-modal-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  align-items: start;
  gap: 36px;
  max-height: calc(100vh - 50px);
  max-height: calc(100dvh - 50px);
  margin: 0;
  padding: 66px 40px 40px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
}

#recruit .krp-voices .krp-voice-portrait {
  position: sticky;
  top: 0;
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border: 0;
  border-radius: 14px;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center top;
  background: var(--krp-pale);
}

#recruit .krp-voices .krp-voice-story { min-width: 0; margin: 0; padding: 0; }
#recruit .krp-voices .krp-voice-dialog .krp-voice-name { font-size: 28px; }

#recruit .krp-voices .krp-voice-dialog .krp-voice-headline {
  margin-top: 21px;
  padding-top: 21px;
  font-size: 19px;
  line-height: 1.85;
}

#recruit .krp-voices .krp-voice-section { margin: 27px 0 0; padding: 0; }

#recruit .krp-voices .krp-voice-section h4 {
  margin: 0 0 10px;
  padding: 0 0 0 12px;
  border: 0;
  border-left: 3px solid var(--krp-blue);
  background: none;
  color: #075c76;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}

#recruit .krp-voices .krp-voice-section p {
  margin: 0 0 12px;
  padding: 0;
  color: var(--krp-ink);
  font-size: 15px;
  line-height: 2;
  letter-spacing: .025em;
  overflow-wrap: anywhere;
}

#recruit .krp-voices .krp-voice-profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 19px 0 0;
  padding: 10px 23px;
  border: 1px solid var(--krp-action);
  border-radius: 999px;
  background: #fff;
  color: #075c76;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
  text-align: center;
  text-decoration: none;
}

#recruit .krp-voices .krp-voice-profile:hover {
  background: var(--krp-pale);
  color: #075c76;
  opacity: 1;
}

#recruit .krp-voices .krp-voice-credit {
  margin: 22px 0 0;
  padding: 0;
  color: #617078;
  font-size: 11px;
  line-height: 1.9;
}

html.krp-modal-open,
html.krp-modal-open body { overflow: hidden; }

@media (max-width: 991px) {
  #recruit .krp-voices .krp-voice-grid { gap: 18px; }
  #recruit .krp-voices .krp-voice-meta { padding: 20px 18px 24px; }
  #recruit .krp-voices .krp-voice-name { font-size: 21px; }
  #recruit .krp-voices .krp-voice-modal-body {
    gap: 26px;
    padding-right: 28px;
    padding-left: 28px;
  }
}

@media (max-width: 767px) {
  #recruit .krp-voices .krp-voice-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    max-width: 440px;
    margin-right: auto;
    margin-left: auto;
  }
  #recruit .krp-voices .krp-voice-meta { padding: 22px 24px 26px; }
  #recruit .krp-voices .krp-voice-name { font-size: 23px; }
  #recruit .krp-voices .krp-voice-dialog {
    width: calc(100% - 24px);
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    border-radius: 18px;
  }
  #recruit .krp-voices .krp-voice-modal-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    max-height: calc(100vh - 26px);
    max-height: calc(100dvh - 26px);
    padding: 66px 23px 30px;
  }
  #recruit .krp-voices .krp-voice-portrait {
    position: static;
    justify-self: center;
    width: min(100%, 360px);
  }
  #recruit .krp-voices .krp-voice-dialog .krp-voice-name { font-size: 26px; }
  #recruit .krp-voices .krp-voice-dialog .krp-voice-headline { font-size: 18px; }
  #recruit .krp-voices .krp-voice-profile { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  #recruit .krp-voices .krp-voice-open { transition: none; }
}

/* v1.2.0: the recruitment page has one dedicated LINE enquiry action. */
body.krp-recruit-page {
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}

body.krp-recruit-page .floating-banner,
body.krp-recruit-page .kcta-bar {
  display: none !important;
}

body.krp-recruit-page .krp-recruit-line,
body.krp-recruit-page .krp-recruit-line * {
  box-sizing: border-box;
}

body.krp-recruit-page .krp-recruit-line {
  position: fixed;
  z-index: 60;
  right: max(24px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: block;
  width: 340px;
  max-width: calc(100% - 48px);
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  text-align: left;
}

body.krp-recruit-page .krp-recruit-line__link {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 72px;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid rgb(255 255 255 / 80%);
  border-radius: 14px;
  background: #007b36;
  box-shadow: 0 6px 24px rgb(0 52 25 / 18%);
  color: #fff;
  font-family: inherit;
  line-height: 1.5;
  text-align: left;
  text-decoration: none;
  opacity: 1;
  transition: background-color 180ms ease, transform 180ms ease;
}

body.krp-recruit-page .krp-recruit-line__link::before,
body.krp-recruit-page .krp-recruit-line__link::after {
  content: none;
}

body.krp-recruit-page .krp-recruit-line__mark {
  display: flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 38px;
  padding: 0;
  border-radius: 11px;
  background: #fff;
  color: #007b36;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.025em;
}

body.krp-recruit-page .krp-recruit-line__copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

body.krp-recruit-page .krp-recruit-line__eyebrow {
  display: block;
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .035em;
}

body.krp-recruit-page .krp-recruit-line__action {
  display: block;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .045em;
}

body.krp-recruit-page .krp-recruit-line__arrow {
  flex: 0 0 auto;
  margin-left: auto;
  color: #fff;
  font-size: 23px;
  font-weight: 400;
  line-height: 1;
}

body.krp-recruit-page .krp-recruit-line__link:hover {
  transform: translateY(-1px);
  background: #006a2e;
  color: #fff;
  opacity: 1;
}

body.krp-recruit-page .krp-recruit-line__link:focus-visible {
  outline: 3px solid #143c28;
  outline-offset: 4px;
  box-shadow: 0 0 0 4px #fff, 0 6px 24px rgb(0 52 25 / 18%);
}

body.krp-recruit-page.is-drawer-open .krp-recruit-line,
html.krp-modal-open body.krp-recruit-page .krp-recruit-line {
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 767px) {
  body.krp-recruit-page .kr-top-header__btn--member,
  body.krp-recruit-page .kr-top-header__btn--contact,
  body.krp-recruit-page .kr-top-header__btn--reserve {
    display: none !important;
  }

  /* Leave the application fields clear while the mobile keyboard is open. */
  body.krp-recruit-page:has(#recruit input:focus, #recruit textarea:focus, #recruit select:focus) .krp-recruit-line {
    visibility: hidden;
    pointer-events: none;
  }

  body.krp-recruit-page .krp-recruit-line {
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    left: max(12px, env(safe-area-inset-left, 0px));
    width: auto;
    max-width: none;
  }

  body.krp-recruit-page .krp-recruit-line__link {
    min-height: 66px;
    gap: 12px;
    padding: 10px 15px;
    border-radius: 12px;
  }

  body.krp-recruit-page .krp-recruit-line__action {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.krp-recruit-page .krp-recruit-line__link {
    transition: none;
  }

  body.krp-recruit-page .krp-recruit-line__link:hover {
    transform: none;
  }
}

@media print {
  body.krp-recruit-page { padding-bottom: 0; }
  body.krp-recruit-page .krp-recruit-line { display: none !important; }
}
