:root { --black:#000; --white:#fff; --amber:#f8ac1b; --muted:#a5a5a5; --line:#303030; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--black); color:var(--white); font-family:'Noto Sans JP',system-ui,sans-serif; font-size:1rem; line-height:1.55; }
button, input { font:inherit; }
button { cursor:pointer; }
a { color:inherit; text-decoration:none; }
[hidden] { display:none !important; }
.skip-link { position:absolute; z-index:5; top:0; left:1rem; transform:translateY(-150%); padding:.55rem .8rem; background:var(--amber); color:var(--black); }
.skip-link:focus { transform:none; }
.survey-page { position:relative; isolation:isolate; min-height:100svh; display:flex; flex-direction:column; background:#080808; }
.survey-stars { position:fixed; inset:0; z-index:0; overflow:hidden; pointer-events:none; }
.survey-particle { position:absolute; left:var(--x); top:var(--y); width:var(--size); height:var(--size); border-radius:50%; background:var(--amber); animation:particle-drift var(--drift-time) ease-in-out infinite alternate,particle-twinkle var(--twinkle-time) ease-in-out infinite alternate; animation-delay:var(--drift-delay),var(--twinkle-delay); }
.survey-particle--bright { box-shadow:0 0 9px 2px rgba(248,172,27,.3); }
.survey-header,.survey-layout,.survey-footer { position:relative; z-index:1; }
@keyframes particle-drift { from { transform:translate3d(0,0,0); } to { transform:translate3d(var(--drift-x),var(--drift-y),0); } }
@keyframes particle-twinkle { from { opacity:var(--min-opacity); } to { opacity:var(--max-opacity); } }
.survey-header { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1.75rem clamp(1.25rem,4vw,4.5rem); border-bottom:1px solid #202020; }
.brand { font-size:1.05rem; font-weight:900; letter-spacing:-.07em; }
.brand span { color:var(--amber); }
.back-site { display:inline-flex; gap:.55rem; align-items:center; font-size:.84rem; font-weight:700; }
.back-site span { color:var(--amber); }
.back-site:hover, .back-site:focus-visible { color:var(--amber); }
.survey-layout { width:min(100%,95rem); flex:1; display:grid; grid-template-columns:minmax(0,1fr) minmax(25rem,.86fr); align-items:center; gap:clamp(3rem,6vw,9rem); margin-inline:auto; padding:clamp(3.5rem,6vw,7rem) clamp(1.25rem,4vw,4.5rem); }
.survey-intro { max-width:42rem; }
.summary-kicker { margin:0; color:var(--amber); font-size:.72rem; font-weight:900; letter-spacing:.15em; }
.survey-intro h1 { margin:2rem 0 1.65rem; font-size:clamp(3.5rem,6vw,7.5rem); font-weight:900; letter-spacing:-.09em; line-height:.94; }
.headline-lead { display:block; }
.survey-intro h1 em { color:var(--amber); font-style:normal; }
.intro-copy { max-width:36rem; margin:0; font-size:clamp(1.08rem,1.7vw,1.38rem); line-height:1.6; }
.intro-rule { width:4rem; height:2px; margin:3.5rem 0 1.5rem; background:var(--amber); }
.intro-benefits { display:grid; gap:.8rem; max-width:28rem; margin:0; padding:0; list-style:none; }
.intro-benefits li { display:flex; align-items:center; gap:.8rem; font-size:1rem; font-weight:700; }
.intro-benefits li::before { content:'✓'; flex:none; width:1.4rem; height:1.4rem; display:grid; place-items:center; background:var(--amber); color:var(--black); font-size:.9rem; font-weight:900; }
.survey-panel { min-width:0; padding:clamp(1.25rem,3vw,2.5rem); border:1px solid #343434; background:#111; box-shadow:0 2.5rem 5rem rgba(0,0,0,.25); }
.panel-top { display:flex; justify-content:flex-end; align-items:center; gap:1rem; }
.step-counter { color:var(--amber); font-size:.85rem; font-weight:900; white-space:nowrap; }
.progress { display:grid; grid-template-columns:repeat(6,1fr); gap:.3rem; margin:1.2rem 0 2.5rem; }
.progress span { height:3px; background:#3a3a3a; }
.progress span.is-complete { background:var(--amber); }
.survey-step { min-width:0; margin:0; padding:0; border:0; }
.survey-step legend { max-width:31rem; padding:0; font-size:clamp(1.8rem,2.4vw,2.8rem); font-weight:900; letter-spacing:-.065em; line-height:1.2; }
.step-help { margin:.85rem 0 1.75rem; color:var(--muted); font-size:.92rem; }
.choices { display:grid; gap:.7rem; }
.choice { position:relative; min-height:3.85rem; display:flex; align-items:center; gap:1rem; padding:.8rem 1rem; border:1px solid #383838; background:#171717; font-size:.98rem; font-weight:700; line-height:1.35; cursor:pointer; transition:background .18s,border-color .18s; }
.choice-content { min-width:0; display:grid; gap:.18rem; }
.choice-description { color:#b4b4b4; font-size:.8rem; font-weight:400; line-height:1.4; }
.choice:hover { border-color:#777; }
.choice:has(input:checked) { border-color:var(--amber); background:rgba(248,172,27,.1); }
.choice:has(input:focus-visible) { outline:2px solid var(--amber); outline-offset:2px; }
.choice input { position:absolute; opacity:0; width:1px; height:1px; }
.choice-indicator { width:1.2rem; height:1.2rem; flex:none; display:grid; place-items:center; border:1px solid #858585; }
.choice:has(input[type=radio]) .choice-indicator { border-radius:50%; }
.choice:has(input:checked) .choice-indicator { border-color:var(--amber); background:var(--amber); color:#000; }
.choice:has(input:checked) .choice-indicator::after { content:'✓'; font-size:.85rem; font-weight:900; line-height:1; }
.choice:has(input[type=radio]:checked) .choice-indicator::after { content:''; width:.42rem; height:.42rem; background:#000; border-radius:50%; }
.other-field { margin:1rem 0 0; }
.other-field label { display:block; margin-bottom:.45rem; font-size:.82rem; color:#bbb; }
.other-field input { width:100%; min-height:3.3rem; padding:.7rem .9rem; border:1px solid #858585; border-radius:0; background:#080808; color:#fff; }
.other-field input:focus { outline:2px solid var(--amber); outline-offset:2px; }
.contact-fields { display:grid; gap:1.2rem; }
.contact-field label { display:block; margin-bottom:.45rem; font-size:.86rem; font-weight:700; }
.contact-field label > span:not(.optional) { color:var(--amber); }
.contact-field .optional { color:var(--muted); font-size:.76rem; font-weight:400; }
.contact-field input { width:100%; min-height:3.4rem; padding:.7rem .9rem; border:1px solid #858585; border-radius:0; background:#080808; color:#fff; }
.contact-field input:focus { outline:2px solid var(--amber); outline-offset:2px; }
.contact-field p { margin:.4rem 0 0; color:var(--muted); font-size:.76rem; }
.form-actions { display:flex; justify-content:space-between; align-items:center; gap:1rem; margin-top:2.2rem; }
.next-button { min-width:9rem; min-height:3.5rem; display:inline-flex; align-items:center; justify-content:space-between; gap:1rem; margin-left:auto; padding:.75rem 1.2rem; border:1px solid var(--amber); background:var(--amber); color:#000; font-size:.84rem; font-weight:900; text-transform:uppercase; }
.next-button:disabled { opacity:.38; cursor:not-allowed; }
.next-button:not(:disabled):hover { background:#F8AC1B; }
.back-button { display:inline-flex; gap:.55rem; align-items:center; padding:.7rem 0; border:0; background:none; color:#ddd; font-size:.88rem; font-weight:700; }
.back-button:hover { color:var(--amber); }
.next-button:focus-visible,.back-button:focus-visible,.back-site:focus-visible { outline:2px solid var(--amber); outline-offset:3px; }
.survey-summary h2 { margin:1.15rem 0 .7rem; font-size:clamp(2rem,3vw,3rem); letter-spacing:-.07em; line-height:1.12; }
.survey-summary > p:not(.summary-kicker) { margin:0 0 1.5rem; color:var(--muted); }
.survey-summary dl { margin:0 0 1.5rem; }
.survey-summary dl div { padding:.8rem 0; border-top:1px solid var(--line); }
.survey-summary dt { color:#a5a5a5; font-size:.72rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.survey-summary dd { margin:.25rem 0 0; font-weight:700; overflow-wrap:anywhere; }
.survey-footer { display:flex; justify-content:space-between; gap:1.5rem; padding:1rem clamp(1.25rem,4vw,4.5rem); border-top:1px solid #202020; color:#8e8e8e; font-size:.7rem; }
@media(max-width:56rem) {
  .survey-layout { grid-template-columns:1fr; gap:3rem; align-items:start; }
  .survey-intro { max-width:42rem; }
  .survey-intro h1 { margin:1rem 0; font-size:clamp(3.2rem,10vw,5.5rem); }
  .intro-rule { display:none; }
  .intro-benefits { margin-top:1.5rem; }
}
@media(max-width:35rem) {
  .survey-header { padding-block:.85rem; }
  .survey-layout { min-height:calc(100svh - 3.3rem); display:flex; flex-direction:column; align-items:stretch; gap:0; padding:.75rem 1.25rem 2rem; }
  .survey-intro { display:contents; }
  .survey-intro h1 { order:0; margin:0 0 .5rem; font-size:clamp(1.18rem,5.7vw,2.3rem); line-height:1.08; letter-spacing:-.075em; white-space:nowrap; }
  .headline-lead { display:inline; }
  .survey-panel { order:1; max-height:calc(100svh - 9.75rem); overflow-y:auto; padding:.7rem; overscroll-behavior:contain; }
  .intro-copy { order:2; margin-top:2rem; font-size:1rem; }
  .intro-benefits { order:3; margin-top:1.5rem; }
  .intro-rule { display:none; }
  .progress { margin:.45rem 0 .6rem; }
  .survey-step legend { font-size:1.25rem; line-height:1.17; }
  .step-help { margin:.3rem 0 .25rem; font-size:.875rem; }
  .choices { gap:.4rem; }
  .choice { min-height:2.9rem; gap:.7rem; padding:.2rem .7rem; font-size:.875rem; }
  .choice-description { font-size:.75rem; }
  .form-actions { position:sticky; z-index:2; bottom:-.6rem; margin-top:.15rem; padding:.35rem 0 .6rem; background:#111; }
  .next-button { min-height:2.9rem; }
  .survey-footer { flex-direction:column; gap:.3rem; }
}
@media(max-width:35rem) and (min-height:42rem) {
  .survey-panel { padding:1rem; }
  .choices { gap:.55rem; }
  .choice { min-height:3.4rem; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto !important; transition:none !important; animation:none !important; } .survey-particle { opacity:.4; } }
