:root {
  color-scheme: light;
  --ink: #10213e;
  --text: #203755;
  --blue: #0e46b2;
  --deep: #102c63;
  --yellow: #ffe451;
  --yellow-hover: #ffcf36;
  --background: #f1f5fb;
  --line: #c7d4e5;
  --gutter: clamp(18px, 4.15vw, 64px);
  --shell: 1140px;
  --header-height: 68px;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: white; line-height: 1.7; word-break: auto-phrase; }
.sales { --background: #f6f4ec; }
p, h1, h2, h3, figure, dl, dd { margin: 0; }
p, li, dd, summary { overflow-wrap: anywhere; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--blue); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
:where(a, button, input, textarea, summary):focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
[id] { scroll-margin-top: 18px; }
#details { scroll-margin-top: var(--header-height); }
.keep { white-space: nowrap; }
.shell { width: min(calc(100% - var(--gutter) * 2), var(--shell)); margin-inline: auto; }
.skip { position: absolute; z-index: 1; top: 8px; left: 8px; padding: 10px 16px; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: calc(var(--header-height) - 1px); }
.header-inner nav { flex: none; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; min-width: 0; min-height: 44px; color: var(--ink); text-decoration: none; }
.wordmark-logo { width: clamp(145px, 46vw, 224px); height: auto; }
.wordmark-label { border-left: 1px solid var(--line); padding-left: 12px; font-size: .76rem; line-height: 1.3; font-weight: 800; white-space: nowrap; }
.role-link { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; font-size: .81rem; font-weight: 750; white-space: nowrap; }

.recruitment { background: var(--background); border-bottom: 1px solid var(--line); }
.opening-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr);
  align-items: start;
  gap: clamp(25px, 4.8vw, 62px);
  padding-block: clamp(24px, 3.8vw, 54px);
}
.opening-copy { container-type: inline-size; min-width: 0; }
.job-kicker { display: flex; align-items: center; gap: 10px; color: var(--blue); font-size: .83rem; font-weight: 850; letter-spacing: .08em; }
.job-kicker span { padding-left: 10px; border-left: 1px solid #a6b8d2; color: var(--text); letter-spacing: 0; }
h1 { margin-top: 5px; font-size: 1.68rem; font-size: min(3.25rem, 9.8cqi); font-weight: 900; line-height: 1.2; letter-spacing: -.04em; white-space: nowrap; }
.job-lead { margin-top: 8px; color: var(--text); font-size: .96rem; }

.pay-panel { margin-top: 18px; }
.pay-label { color: var(--ink); font-size: .84rem; font-weight: 850; }
.salary {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: .08em;
  margin: 1px 0 3px;
  color: var(--blue);
  font-size: clamp(2.5rem, 11.8cqi, 4.6rem);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
  letter-spacing: -.05em;
  white-space: nowrap;
}
.pay-range { font-size: .55em; }
.pay-unit { font-size: .38em; margin-left: .1em; letter-spacing: -.02em; }
.pay-note { color: var(--text); font-size: .85rem; font-weight: 700; }

.job-facts > div {
  display: grid;
  grid-template-columns: minmax(5em, .23fr) minmax(0, 1fr);
  gap: 11px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
}
.job-facts dt { color: var(--text); font-size: .86rem; font-weight: 800; }
.job-facts dd { min-width: 0; color: var(--ink); font-size: .95rem; }
.job-facts dd strong { font-weight: 850; }
.key-facts { margin-top: 14px; border-top: 2px solid var(--blue); }
.key-facts > div { align-items: baseline; padding-block: 7px; }
.key-facts dd { font-size: .9rem; }
.fact-sub { color: var(--text); margin-left: .3em; font-size: .83em; }
.full-facts { max-width: 100%; margin-top: 13px; border-top: 2px solid var(--blue); }
.full-facts > div { grid-template-columns: minmax(6em, .19fr) minmax(0, 1fr); }

.button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 350px);
  min-height: 52px;
  padding: 10px 37px;
  border: 0;
  background: var(--yellow);
  color: var(--ink);
  font: inherit;
  font-size: .98rem;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--yellow-hover); }
.button span { position: absolute; right: 15px; font-size: 1.15rem; }
.main-contact { margin-top: 16px; }

.opening-video { min-width: 0; align-self: center; }
.video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 200px; background: var(--deep); overflow: hidden; }
.video-frame > img, .video-frame > iframe { width: 100%; height: 100%; }
.video-frame > img { object-fit: cover; object-position: center 41%; }
.video-frame > iframe { position: absolute; inset: 0; border: 0; }
.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: end;
  gap: 12px;
  padding: clamp(13px, 2vw, 22px);
  background: linear-gradient(180deg, transparent 42%, #081630 100%);
  color: white;
  text-decoration: none;
}
.video-play:focus-visible { outline-offset: -4px; outline-color: white; }
.play-icon { display: grid; place-items: center; flex: 0 0 auto; width: 49px; height: 45px; background: var(--yellow); color: var(--ink); font-size: .97rem; }
.video-play:hover .play-icon { background: var(--yellow-hover); }
.play-label { font-weight: 850; font-size: 1.15rem; line-height: 1.25; }
.play-label small { display: block; margin-bottom: 5px; font-size: .64rem; letter-spacing: .11em; }
figcaption { margin-top: 6px; color: var(--text); font-size: .76rem; line-height: 1.55; }
.opening-video figcaption { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; }
.opening-video figcaption a { display: inline-flex; align-items: center; min-height: 34px; gap: 4px; font-weight: 750; white-space: nowrap; }

.section { padding-block: clamp(33px, 4.6vw, 62px); }
.section-title { font-size: clamp(1.5rem, 3vw, 2.05rem); line-height: 1.32; font-weight: 850; letter-spacing: -.035em; }
.benefits-section { padding-bottom: 0; }

.benefits-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: stretch;
  background: var(--deep);
  color: white;
  border-top: 5px solid var(--yellow);
}
.benefits-copy { min-width: 0; padding: clamp(21px, 4vw, 43px); }
.benefits-kicker { color: var(--yellow); font-size: .73rem; font-weight: 850; letter-spacing: .15em; }
.benefits-copy h2 { margin: 2px 0 12px; color: white; font-size: clamp(1.75rem, 3.45vw, 3rem); line-height: 1.2; font-weight: 900; letter-spacing: -.045em; }
.benefits-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 9px; margin: 0 0 11px; padding: 0; list-style: none; }
.benefits-items li { padding: 6px 8px 6px 10px; border-left: 3px solid var(--yellow); background: #ffffff18; font-size: clamp(.82rem, 1.4vw, 1.02rem); font-weight: 800; }
.benefits-copy p:last-child { color: white; font-size: .83rem; }
.benefits-photo { width: 100%; height: 100%; max-height: 375px; object-fit: cover; object-position: center 35%; }

.work-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(18px, 4vw, 44px); margin: 14px 0 19px; }
.work-copy, .training { color: var(--text); font-size: .96rem; }
.work-copy ul { margin-block: 9px 0; padding-left: 1.3em; }
.work-copy li + li { margin-top: 4px; }
.work-copy li::marker { color: var(--blue); }
.training { padding: 13px 16px; background: var(--background); border-left: 3px solid var(--blue); }
.training h3 { margin-bottom: 4px; color: var(--ink); font-size: 1.06rem; font-weight: 850; }
.work-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.work-gallery figure { min-width: 0; }
.work-gallery img { width: 100%; aspect-ratio: 1.5; height: auto; object-fit: cover; background: var(--background); }
.day { margin-top: 18px; border-block: 1px solid var(--line); }
.day summary { padding-block: 9px; font-size: .9rem; font-weight: 750; cursor: pointer; }
.day > p { padding-bottom: 9px; color: var(--text); font-size: .92rem; }
.day > .small-note { font-size: .78rem; }

.contact-section { background: var(--background); border-top: 1px solid var(--line); }
.contact-inner { max-width: 690px; }
.contact-intro { margin-top: 8px; color: var(--text); font-size: .96rem; }
.contact-form { display: grid; gap: 14px; margin-top: 20px; padding: clamp(16px, 3.6vw, 31px); background: white; border: 1px solid var(--line); }
.form-field { display: grid; gap: 6px; min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.form-field label, .form-field legend { color: var(--ink); font-size: .94rem; font-weight: 800; }
.form-field legend { padding: 0; }
.required { display: inline-block; margin-left: 5px; padding: 1px 5px; border: 1px solid var(--line); color: var(--text); font-size: .7rem; vertical-align: .08em; }
.required { border-color: var(--blue); color: var(--blue); }
.form-field > input, .form-field > textarea {
  width: 100%;
  min-height: 45px;
  padding: 8px 10px;
  border: 1px solid #98aac2;
  border-radius: 0;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.form-field > textarea { min-height: 108px; resize: vertical; }
.role-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.role-options label { display: flex; align-items: center; gap: 7px; min-height: 45px; padding: 6px 10px; border: 1px solid #98aac2; cursor: pointer; }
.role-options label:has(input:checked) { border-color: var(--blue); background: #edf3ff; }
.role-options input { flex: 0 0 auto; margin: 0; width: 17px; height: 17px; accent-color: var(--blue); }
.privacy-note { color: var(--text); font-size: .81rem; }
.form-status { padding: 8px 11px; border-left: 3px solid var(--blue); background: #edf3ff; color: var(--text); font-size: .83rem; }
.form-status[data-error] { border-color: #a63025; background: #fff2ef; color: #782318; }
.form-submit { margin-inline: auto; }
.form-submit:disabled { cursor: default; color: var(--text); background: #f2ead1; }

.thanks { padding-block: clamp(36px, 8vw, 94px); }
.thanks h1 { font-size: clamp(1.45rem, 4.3vw, 2.6rem); white-space: normal; }
.thanks p { margin-top: 12px; }
.thanks nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 19px; }
.thanks-preview { display: none; }
.thanks-preview:target { display: block; }
.thanks-preview:target + .thanks-live { display: none; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; padding-block: 20px; font-size: .8rem; }
.footer-brand { display: grid; justify-items: start; gap: 6px; margin-inline-end: auto; color: var(--text); }
.footer-logo { width: 182px; height: auto; }
.footer-inner a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; font-weight: 750; }

@media (max-width: 720px) {
  :root { --header-height: 59px; }
  .opening-grid, .work-grid { grid-template-columns: minmax(0, 1fr); gap: 19px; }
  .opening-video { align-self: auto; }
  .button { width: 100%; }
  .job-facts > div { grid-template-columns: 76px minmax(0, 1fr); }
  .benefits-banner { grid-template-columns: minmax(0, 1fr); }
  .benefits-photo { height: auto; aspect-ratio: 1.65; }
  .work-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-gallery figure:first-child { grid-column: 1 / -1; }
}

@media (max-width: 490px) {
  .wordmark { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; }
  .wordmark-label { border-left: 0; padding-left: 0; font-size: .68rem; }
  .job-facts > div { grid-template-columns: 64px minmax(0, 1fr); }
  .key-facts > div { padding-block: 5px; }
  .key-facts dd { line-height: 1.48; }
  .fact-sub { display: block; margin-left: 0; }
  .pay-panel { margin-top: 12px; }
  .main-contact { margin-top: 12px; }
  .footer-brand { width: 100%; }
}

@media (max-width: 380px) {
  .role-link { gap: 4px; font-size: .73rem; }
  .header-inner { gap: 8px; }
  .sales .header-inner nav { flex-shrink: 1; min-width: 0; }
  .sales .wordmark { flex-shrink: 0; }
  .sales .role-link { white-space: normal; line-height: 1.4; }
  .opening-grid { padding-top: 20px; }
  .job-lead { font-size: .9rem; line-height: 1.5; }
  .key-facts { margin-top: 10px; }
  .role-options label { padding-inline: 7px; font-size: .86rem; }
}

@media (max-width: 340px) {
  .benefits-copy { padding-inline: 15px; }
  .benefits-items li { padding-inline: 7px 4px; }
}
