:root {
  --orange: #f65a25;
  --orange-dark: #ce4217;
  --ink: #344553;
  --muted: #68747d;
  --paper: #f6f8f9;
  --line: #e1e6e9;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Noto Sans JP", sans-serif; font-weight: 400; -webkit-text-size-adjust: 100%; }
button, input, select { font: inherit; }
button { touch-action: manipulation; }
.site-header { max-width: 1120px; margin: auto; display: flex; align-items: center; }
.brand { display: block; width: 360px; max-width: 100%; height: auto; }
.page-shell { max-width: 1120px; margin: 8px auto 0; }
.left-rail { display: grid; grid-template-columns: minmax(0, 1fr) 468px; grid-template-rows: auto 1fr; gap: 0 52px; align-items: start; }
.hero { position: relative; min-height: 480px; isolation: isolate; background: url("assets/construction-supervisor-hero.png") 63% center / cover no-repeat; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255,255,255,.97), rgba(255,255,255,.89) 28%, rgba(255,255,255,.16) 67%, transparent); }
.hero-copy { position: relative; padding: 48px 28px 54px; }
.eyebrow { margin: 0 0 26px; color: #52606a; font-size: 13px; letter-spacing: .08em; }
h1 { margin: 0; color: #344553; font-size: 45px; font-weight: 500; line-height: 1.6; letter-spacing: .06em; }
.hero-note { margin: 24px 0 0; color: #52606a; font-size: 13px; line-height: 2; letter-spacing: .04em; }
.photo-caption { position: absolute; right: 18px; bottom: 14px; margin: 0; color: white; text-shadow: 0 1px 6px #17222f; font-size: 11px; letter-spacing: .08em; }
.hero-message { grid-column: 1; padding: 26px 28px 32px; border-left: 3px solid var(--orange); margin: 24px 0; }
.hero-message p { margin: 0 0 16px; font-size: 19px; line-height: 1.9; letter-spacing: .04em; }
.hero-message strong { font-weight: 500; }
.hero-message > span { color: var(--muted); font-size: 13px; line-height: 1.9; }
.form-card { grid-column: 2; grid-row: 1 / 3; padding: 30px 28px 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; scroll-margin-top: 20px; }
.form-intro { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 24px; color: #69747d; font-size: 11px; }
.form-intro b { flex-shrink: 0; padding: 5px 8px; border-radius: 4px; background: #fff1e9; color: #a64926; font-size: 10px; font-weight: 500; }
.progress { display: flex; align-items: center; gap: 18px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.progress-dots { display: flex; flex: 1; gap: 5px; }
.progress-dots i { flex: 1; height: 4px; border-radius: 3px; background: #edf0f2; }
.progress-dots .done, .progress-dots .current { background: var(--orange); }
.step { display: none; padding: 25px 0 22px; min-height: 386px; }
.step.active { display: block; }
h2 { margin: 0; font-size: 23px; font-weight: 500; line-height: 1.65; letter-spacing: .04em; overflow-wrap: anywhere; }
h2:focus { outline: none; }
.step > p { margin: 12px 0 22px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.step > p + .choice-grid { margin-top: 0; }
.choice { position: relative; display: flex; align-items: center; min-height: 66px; padding: 12px 10px 12px 34px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: #515e68; font-size: 14px; font-weight: 400; line-height: 1.7; letter-spacing: .01em; text-align: left; cursor: pointer; transition: background-color .15s, border-color .15s; }
.choice small { display: block; color: #717d86; font-size: 12px; line-height: 1.7; }
.choice::before { content: ""; position: absolute; left: 12px; top: 50%; width: 14px; height: 14px; border: 1px solid #c6cfd5; border-radius: 3px; background: #fff; transform: translateY(-50%); }
.choice.selected { border-color: var(--orange); background: #fff7f2; color: #9c431f; }
.choice.selected::before { border-color: var(--orange); background: var(--orange); }
.choice.selected::after { content: ""; position: absolute; left: 17px; top: calc(50% - 4px); width: 4px; height: 7px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.choice:focus-visible, input:focus-visible, select:focus-visible, button:focus-visible { outline: 3px solid #317194; outline-offset: 3px; }
.field-label { display: block; margin: 24px 0 10px; font-size: 14px; font-weight: 500; }
input, select { width: 100%; min-height: 54px; padding: 0 14px; border: 1px solid #cbd3d9; border-radius: 7px; color: var(--ink); background: #fff; font-size: 16px; }
input::placeholder { color: #8d959b; }
.privacy { margin-top: 18px; padding: 14px; background: var(--paper); border-radius: 6px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.form-actions { display: flex; align-items: center; gap: 16px; padding: 2px 0; }
.next, .line-button { position: relative; flex: 1; min-height: 56px; border: 0; border-radius: 7px; background: #db491a; color: #fff; font-size: 15px; font-weight: 500; letter-spacing: .04em; cursor: pointer; }
.next:disabled { color: #818a91; background: #edf0f2; cursor: not-allowed; }
.next span, .line-button span { position: absolute; right: 18px; font-size: 18px; font-weight: 400; }
.back { min-height: 48px; padding: 8px; border: 0; background: transparent; color: #6b7780; font-size: 13px; cursor: pointer; }
.form-note { margin: 18px 0 0; color: #7d868c; font-size: 11px; line-height: 1.8; text-align: center; }
.finish { min-height: 420px; padding-top: 40px; text-align: center; }
.finish-mark { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 22px; border-radius: 50%; background: #fff1e9; color: #b9512b; font-size: 25px; }
.finish h2 { font-size: 21px; }
.finish p { font-size: 14px; line-height: 1.9; }
.line-button { width: 100%; margin: 14px 0; background: #07843b; }
.finish small { display: block; color: var(--muted); font-size: 12px; line-height: 1.8; }
.site-footer { max-width: 1120px; margin: 34px auto; display: flex; justify-content: space-between; align-items: center; gap: 15px; color: #929aa0; }
.site-footer > span { font-size: 13px; }
.site-footer small { font-size: 10px; }
@media (hover: hover) { .choice:hover { border-color: #b2bec6; background: #f8fafb; } .choice.selected:hover { border-color: var(--orange); background: #fff3eb; } .next:not(:disabled):hover { background: var(--orange-dark); } }
@media (min-width: 761px) and (max-width: 1199px) {
  .site-header, .page-shell, .site-footer { margin-left: 28px; margin-right: 28px; }
  .left-rail { grid-template-columns: minmax(0, 1fr) minmax(360px, 44%); gap: 0 28px; }
  h1 { font-size: 37px; }
  .form-card { padding: 26px 22px 22px; }
}
@media (max-width: 760px) {
  body { background: #fff; }
  .site-header { justify-content: center; padding: 0 18px; }
  .page-shell { margin: 0; }
  .left-rail { display: block; }
  .hero { min-height: 300px; background-position: 61% center; }
  .hero::before { background: linear-gradient(90deg, #ffffffed, #ffffffd6 24%, #ffffff26 66%, transparent); }
  .hero-copy { padding: 25px 24px 30px; }
  .eyebrow { margin-bottom: 13px; font-size: 11px; }
  h1 { font-size: 30px; line-height: 1.55; letter-spacing: .065em; font-weight: 500; }
  .hero-note { margin-top: 16px; font-size: 11px; line-height: 1.9; }
  .photo-caption { right: 12px; bottom: 12px; font-size: 9px; }
  .hero-message { display: none; }
  .form-card { padding: 24px 24px 26px; border: 0; border-radius: 0; scroll-margin-top: 0; }
  .form-intro { margin-bottom: 22px; }
  .step { padding-top: 22px; min-height: 355px; }
  h2 { font-size: 21px; font-weight: 500; line-height: 1.7; }
  .choice { min-height: 67px; padding-left: 32px; padding-right: 8px; font-size: 14px; letter-spacing: 0; }
  .site-footer { margin: 0; padding: 22px 24px; background: var(--paper); }
}
@media (max-width: 360px) {
  .hero-copy { padding-inline: 20px; }
  .form-card { padding-inline: 18px; }
  .choice { padding-left: 29px; padding-right: 6px; font-size: 14px; }
  .choice::before { left: 9px; }
  .choice.selected::after { left: 14px; }
  .choice small { font-size: 11px; }
  .form-intro { font-size: 10px; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
