:root {
  --blue: #0068b7;
  --red: #e85534;
  --ink: #171827;
  --muted: #747986;
  --paper: #fff;
  --mist: #f3f6f8;
  --line: rgba(23, 24, 39, .16);
  --gutter: clamp(22px, 5vw, 76px);
  --content: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--paper); color: var(--ink); overflow-x: hidden; }
body { font-family: "Noto Sans JP", sans-serif; min-height: 100svh; overflow-x: hidden; }
body::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitchTiles'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E");
  content: ""; inset: 0; mix-blend-mode: multiply; opacity: .035; pointer-events: none; position: fixed; z-index: 10;
}
button, input { color: inherit; font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }
::selection { background: var(--blue); color: #fff; }
.site-header {
  align-items: center; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); display: flex;
  height: 88px; justify-content: space-between; left: 0; padding: 0 var(--gutter); position: fixed; top: 0; width: 100%; z-index: 5;
}
.brand { display: block; height: 44px; overflow: hidden; width: 140px; }
.brand img { display: block; height: 156px; max-width: none; transform: translate(-10px, -56px); width: 156px; }
.header-meta { display: flex; gap: 28px; font: 600 10px/1 "DM Sans", sans-serif; letter-spacing: .22em; }
.screen { margin: 0 auto; max-width: var(--content); min-height: 100svh; padding: 150px var(--gutter) 72px; width: 100%; }
.eyebrow { color: var(--blue); font: 600 11px/1.4 "DM Sans", sans-serif; letter-spacing: .32em; text-transform: uppercase; }
.start-screen { align-items: end; display: grid; gap: clamp(60px, 9vw, 130px); grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); position: relative; }
.start-screen::before, .start-screen::after { content: ""; height: 7px; position: fixed; z-index: 6; }
.start-screen::before { background: var(--red); left: 0; top: 0; width: 42%; }
.start-screen::after { background: var(--blue); bottom: 0; right: 0; width: 48%; }
.start-copy { min-width: 0; }
.start-copy h1 { font: 600 clamp(52px, 7.8vw, 116px)/.98 "DM Sans", "Noto Sans JP", sans-serif; letter-spacing: -.07em; margin: 44px 0; overflow-wrap: anywhere; }
.start-copy h1 span { color: var(--blue); }
.lead { font-size: clamp(17px, 1.8vw, 25px); font-weight: 400; letter-spacing: -.025em; line-height: 1.8; max-width: 720px; }
.start-detail { border-top: 1px solid var(--ink); padding-top: 24px; }
.time-mark { align-items: flex-end; display: flex; gap: 15px; }
.time-mark strong { font: 600 90px/.72 "DM Sans", sans-serif; letter-spacing: -.08em; }
.time-mark span { font: 600 10px/1.45 "DM Sans", sans-serif; letter-spacing: .17em; }
.start-detail ul { border-top: 1px solid var(--line); list-style: none; margin-top: 36px; }
.start-detail li { border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.7; padding: 14px 0; }
.privacy-note, .question-hint, .map-note { color: var(--ink); font-size: 12px; line-height: 1.9; }
.privacy-note { margin: 20px 0 28px; }
.data-note { border-top: 1px solid var(--line); margin: -10px 0 28px; padding-top: 14px; }
.data-note summary { cursor: pointer; font-size: 11px; line-height: 1.7; }
.data-note p { color: var(--ink); font-size: 11px; line-height: 1.9; padding-top: 12px; }
.action-button {
  align-items: center; background: var(--ink); border: 1px solid var(--ink); color: #fff; display: flex; font-size: 13px;
  justify-content: space-between; min-height: 58px; padding: 0 20px; transition: background .3s, color .3s, transform .65s cubic-bezier(.16,1,.3,1); width: 100%;
}
.action-button:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-2px); }
.action-button.inverse { background: #fff; border-color: #fff; color: var(--ink); margin-top: 34px; }
.action-button.inverse:hover { background: var(--red); border-color: var(--red); color: var(--ink); }
.question-screen { max-width: 980px; }
.progress-head { align-items: center; display: flex; justify-content: space-between; }
.progress-count { font: 600 13px/1 "DM Sans", sans-serif; letter-spacing: .12em; }
.progress-track { background: var(--line); height: 1px; margin: 24px 0 clamp(58px, 8vw, 105px); }
.progress-track span { background: linear-gradient(90deg, var(--red), var(--blue)); display: block; height: 2px; transition: width .65s cubic-bezier(.16,1,.3,1); width: 14.285%; }
fieldset { border: 0; }
legend { display: grid; gap: 18px; width: 100%; }
.question-number { color: var(--blue); font: 600 11px/1 "DM Sans", sans-serif; letter-spacing: .2em; }
.question-title { font-size: clamp(27px, 4.2vw, 55px); font-weight: 500; letter-spacing: -.045em; line-height: 1.42; }
.question-hint { margin: 18px 0 34px; min-height: 24px; }
.option-list { border-top: 1px solid var(--ink); }
.option {
  align-items: center; border-bottom: 1px solid var(--line); display: grid; gap: 18px; grid-template-columns: 24px 1fr auto;
  min-height: 68px; padding: 12px 4px; position: relative; transition: color .25s, padding .35s cubic-bezier(.16,1,.3,1);
}
.option:hover { color: var(--blue); padding-left: 12px; }
.option input { height: 1px; opacity: 0; position: absolute; width: 1px; }
.option-mark { border: 1px solid var(--ink); display: block; height: 17px; position: relative; width: 17px; }
.option.is-radio .option-mark { border-radius: 50%; }
.option input:checked + .option-mark { background: var(--blue); border-color: var(--blue); }
.option:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 5px; }
.option input:checked + .option-mark::after { background: #fff; content: ""; height: 5px; left: 5px; position: absolute; top: 5px; width: 5px; }
.option.is-radio input:checked + .option-mark::after { border-radius: 50%; }
.option-text { font-size: 14px; line-height: 1.7; }
.option-check { color: var(--blue); font: 600 9px/1 "DM Sans", sans-serif; letter-spacing: .18em; opacity: 0; }
.option:has(input:checked) { border-bottom-color: var(--blue); color: var(--blue); }
.option:has(input:checked) .option-check { opacity: 1; }
.other-field { border-bottom: 1px solid var(--line); padding: 22px 4px 25px; }
.other-field label { display: block; font-size: 11px; margin-bottom: 12px; }
.other-field input { border: 0; border-bottom: 1px solid var(--ink); font-size: 14px; min-height: 44px; outline: 0; width: 100%; }
.other-field input:focus { border-bottom-color: var(--blue); }
.field-error { border-left: 3px solid var(--red); color: var(--ink); font-size: 12px; min-height: 22px; padding: 3px 0 3px 10px; }
.field-error:empty { border-left: 0; padding-left: 0; }
.question-actions { align-items: center; display: grid; gap: 28px; grid-template-columns: 100px minmax(220px, 320px); justify-content: space-between; margin-top: 40px; }
.text-button { background: transparent; border: 0; font-size: 12px; min-height: 44px; text-align: left; }
.loading-screen { display: flex; flex-direction: column; justify-content: center; max-width: 900px; }
.loading-screen h1 { font-size: clamp(34px, 6vw, 78px); font-weight: 500; letter-spacing: -.055em; line-height: 1.25; margin: 45px 0 50px; }
.loading-screen > p:last-child { color: var(--ink); font-size: 13px; }
.loading-line { background: var(--line); height: 1px; margin-bottom: 24px; overflow: hidden; }
.loading-line span { animation: load 1.4s cubic-bezier(.65,0,.35,1) infinite; background: linear-gradient(90deg, var(--red), var(--blue)); display: block; height: 2px; width: 38%; }
@keyframes load { from { transform: translateX(-110%); } to { transform: translateX(290%); } }
.result-screen { max-width: var(--content); padding-bottom: 0; }
.result-hero { border-bottom: 1px solid var(--ink); padding: 30px 0 clamp(70px, 10vw, 130px); }
.result-summary { font-size: clamp(17px, 2vw, 25px); line-height: 1.9; margin: 54px 0 28px; max-width: 850px; }
.result-hero h1 { color: var(--blue); font-size: clamp(34px, 6.6vw, 92px); font-weight: 500; letter-spacing: -.065em; line-height: 1.3; max-width: 1000px; }
.result-section { border-bottom: 1px solid var(--line); display: grid; gap: clamp(42px, 8vw, 110px); grid-template-columns: minmax(150px, .36fr) minmax(0, 1fr); padding: clamp(70px, 10vw, 135px) 0; }
.section-label span { color: var(--blue); display: block; font: 600 10px/1 "DM Sans", sans-serif; letter-spacing: .2em; margin-bottom: 17px; }
.section-label h2 { font-size: 14px; font-weight: 500; line-height: 1.7; }
.map-section { grid-template-columns: minmax(150px, .36fr) minmax(180px, .35fr) minmax(0, 1fr); }
.position-map { border-top: 1px solid var(--ink); }
.map-item { align-items: center; border-bottom: 1px solid var(--line); display: flex; font-size: 13px; justify-content: space-between; min-height: 54px; padding: 8px 0; }
.map-item::after { content: ""; height: 7px; width: 7px; }
.map-item.primary { color: var(--blue); font-weight: 600; }
.map-item.primary::after { background: linear-gradient(135deg, var(--red) 0 50%, var(--blue) 50%); height: 16px; transform: rotate(45deg); width: 16px; }
.map-item.secondary { color: var(--ink); }
.map-item.secondary::after { border: 1px solid var(--muted); height: 11px; transform: rotate(45deg); width: 11px; }
.observation-list { list-style: none; }
.observation-list li { border-top: 1px solid var(--line); font-size: clamp(16px, 2vw, 23px); line-height: 1.75; padding: 24px 0; }
.observation-list li:last-child { border-bottom: 1px solid var(--line); }
.priority-copy { display: grid; gap: 38px; grid-template-columns: minmax(0, 1.15fr) minmax(250px, .65fr); }
.priority-copy > p:last-child, .quiet-section > p, .review-section p { font-size: 13px; line-height: 2.1; }
.pdf-section p { font-size: 13px; line-height: 2.1; }
.pdf-section .action-button { margin-top: 28px; max-width: 390px; }
.pdf-status { color: var(--muted); margin-top: 14px; min-height: 28px; }
.large-copy { font-size: clamp(24px, 3.4vw, 44px); font-weight: 500; letter-spacing: -.04em; line-height: 1.55; }
.first-steps { counter-reset: steps; list-style: none; }
.first-steps li { align-items: baseline; border-top: 1px solid var(--line); display: grid; font-size: clamp(18px, 2.3vw, 29px); gap: 24px; grid-template-columns: 42px 1fr; line-height: 1.65; padding: 24px 0; }
.first-steps li:last-child { border-bottom: 1px solid var(--line); }
.first-steps li::before { color: var(--blue); content: counter(steps, decimal-leading-zero); counter-increment: steps; font: 600 10px/1 "DM Sans", sans-serif; letter-spacing: .1em; }
.secondary-note { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 25px; }
.review-section { background: var(--ink); border: 0; color: #fff; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); }
.review-section .section-label span { color: #fff; }
.brand-message { font-size: clamp(18px, 2.4vw, 30px); line-height: 1.9; padding: clamp(80px, 11vw, 150px) 0; white-space: pre-line; }
.status-message { bottom: 22px; font-size: 12px; left: 50%; pointer-events: none; position: fixed; transform: translateX(-50%); z-index: 20; }
.error-screen { display: flex; flex-direction: column; justify-content: center; max-width: 900px; }
.error-screen h1 { font-size: clamp(34px, 6vw, 78px); font-weight: 500; letter-spacing: -.055em; line-height: 1.3; margin: 45px 0 25px; }
.error-screen > p:not(.eyebrow) { color: var(--ink); font-size: 14px; line-height: 2; margin-bottom: 38px; }
.error-screen .action-button { max-width: 320px; }
[hidden] { display: none !important; }
@media (max-width: 900px) {
  .start-screen, .result-section, .map-section { grid-template-columns: minmax(0, 1fr); }
  .start-screen > *, .result-section > * { min-width: 0; }
  .start-screen { align-items: center; padding-top: 140px; }
  .start-detail { max-width: 560px; }
  .map-note { max-width: 560px; }
  .priority-copy { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .site-header { height: 70px; }
  .brand { height: 44px; width: 110px; }
  .brand img { height: 123px; transform: translate(-7px, -39px); width: 123px; }
  .header-meta { gap: 10px; font-size: 8px; letter-spacing: .12em; }
  .header-meta span:first-child { display: none; }
  .screen { max-width: 100vw; overflow: hidden; padding-left: 22px; padding-right: 22px; padding-top: 112px; }
  .start-screen { gap: 58px; padding-bottom: 52px; }
  .start-screen > * { max-width: calc(100vw - 44px); width: 100%; }
  .start-copy h1 { margin: 35px 0 28px; }
  .start-copy h1 { font-size: clamp(43px, 13vw, 56px); }
  .lead { font-size: 16px; overflow-wrap: anywhere; }
  .start-detail { min-width: 0; width: 100%; }
  .progress-track { margin-bottom: 56px; }
  .question-title { font-size: 27px; }
  .option { min-height: 64px; }
  .question-actions { gap: 14px; grid-template-columns: 74px 1fr; }
  .result-section { gap: 34px; }
  .review-section { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
