@font-face{font-family:TitleJP;src:url(title.ttf) format('truetype');font-display:swap;font-weight:900}
:root{--navy:#152b3c;--ink:#102737;--cream:#f5f0dc;--yellow:#ffd35b;--muted:#c2cbd0;--line:#476071}
*{box-sizing:border-box}html{min-width:320px;background:var(--navy);color:var(--cream);font-family:'Noto Sans JP','Yu Gothic',Meiryo,sans-serif}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{cursor:wait;opacity:.65}a{color:inherit;text-underline-offset:4px}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #ff975f;outline-offset:5px}::selection{background:var(--yellow);color:var(--ink)}.page{max-width:1180px;margin:auto;padding:0 48px}header{display:flex;justify-content:space-between;align-items:center;padding:28px 0;border-bottom:1px solid var(--line)}.brand{display:flex;gap:10px;align-items:center;font-weight:800;font-size:15px;text-decoration:none}.brand svg{width:23px;fill:none;stroke:var(--yellow);stroke-width:1.8}.edition{font-size:11px;color:var(--muted);letter-spacing:.07em}.stage{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;min-height:710px;padding:45px 0 42px}.content{position:relative;z-index:1}h1,h2{font-family:TitleJP,'Noto Sans JP','Yu Gothic',sans-serif;font-weight:900;letter-spacing:-.035em;line-height:1.18;margin:0;text-wrap:balance}h1{font-size:clamp(58px,6.5vw,84px)}h1>span:not(.period){white-space:nowrap}.period{color:var(--yellow);display:inline-block;width:0;position:relative;left:-.08em}h2{font-size:50px}.lead{font-size:18px;line-height:1.9;margin:24px 0 30px;font-weight:600}.action-panel{background:var(--cream);color:var(--ink);border-radius:18px;padding:23px 26px 16px;max-width:420px;text-align:center}.small-prompt{margin:0 0 14px;font-size:15px;font-weight:800}.primary{background:var(--yellow);border:0;border-radius:9px;min-height:62px;width:100%;padding:15px 22px;font-weight:900;font-size:20px;color:var(--ink);display:flex;gap:15px;align-items:center;justify-content:center;transition:background .15s,transform .15s}.primary:hover{background:#ffdf83;transform:translateY(-2px)}.primary span{font-size:26px}.permission{font-size:11px;line-height:1.7;margin:12px 0 3px;color:#45535c}.mobile-break{display:none}.text-button{border:0;background:none;color:inherit;text-decoration:underline;text-underline-offset:4px;font-size:12px;padding:10px 4px}.text-button:hover{color:#566b75}.map{min-width:0;align-self:center}.map-frame{height:520px;position:relative;overflow:hidden}.map-grid{position:absolute;inset:22px 0 18px;background-image:linear-gradient(#8aa8bc12 1px,transparent 1px),linear-gradient(90deg,#8aa8bc12 1px,transparent 1px);background-size:32px 32px;transform:rotate(-8deg)}.map img{position:absolute;height:630px;width:473px;top:0;left:50%;transform:translateX(-50%);object-fit:contain}.map-north{position:absolute;right:12px;top:18px;color:#b7c9d3;font-size:12px}.map-caption{text-align:center;font-size:13px;letter-spacing:.12em;color:var(--muted);margin:5px 0 0}.pin{position:absolute;left:60%;top:40%;display:flex;align-items:center;flex-direction:column;filter:drop-shadow(0 8px 12px #07131c88)}.pin svg{width:48px;height:58px;fill:var(--yellow);stroke:var(--ink);stroke-width:2}.pin svg circle{fill:var(--ink)}.pin span{padding:7px 12px;border-radius:5px;background:var(--yellow);color:var(--ink);white-space:nowrap;font-weight:900;font-size:12px;margin-top:8px}footer{border-top:1px solid var(--line);padding:22px 0 30px;display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:11px}footer>div{display:flex;gap:25px;max-width:65%}details{position:relative}summary{cursor:pointer;text-underline-offset:3px}details p{max-width:340px;line-height:1.9;margin:14px 0}.step{font-size:14px;color:var(--yellow);font-weight:700;letter-spacing:.06em;margin:0 0 20px}.question{font-size:50px;line-height:1.5}.answers{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:35px 0 16px}.answer{min-height:130px;border:1px solid var(--cream);border-radius:12px;color:var(--cream);background:transparent;font-size:31px;font-weight:900}.answer:first-child{background:var(--yellow);color:var(--ink);border-color:var(--yellow)}.answer:hover{background:var(--cream);color:var(--ink)}.answer small{display:block;font-size:11px;font-weight:600;margin-top:9px}.note{font-size:12px;line-height:1.8;color:var(--muted)}.result-pref{font-size:clamp(58px,6.4vw,86px);color:var(--yellow);line-height:1.4;margin:14px 0;font-weight:900;font-family:TitleJP,'Yu Gothic',sans-serif}.result-intro{font-size:21px;line-height:1.8;margin:20px 0 0}.result-actions{margin-top:35px;max-width:400px}.result-actions .text-button{margin-top:10px}.copy-status{font-size:12px;min-height:20px}.loading-line{width:100%;height:3px;background:#476071;overflow:hidden;margin:32px 0}.loading-line:after{content:'';display:block;height:3px;width:40%;background:var(--yellow);animation:scan 1.1s ease-in-out infinite}.error-title{font-size:36px;line-height:1.5}.demo-label{font-size:12px;color:var(--muted);margin:0 0 10px}.reveal{animation:reveal .45s cubic-bezier(.16,1,.3,1)}@keyframes scan{from{transform:translateX(-100%)}to{transform:translateX(350%)}}@keyframes reveal{from{transform:translateY(12px);filter:blur(5px)}to{transform:translateY(0);filter:blur(0)}}
@media(min-width:1250px){.stage{min-height:calc(100svh - 160px);max-height:900px}}@media(max-width:800px){.page{padding:0 24px}.stage{gap:15px}.map-frame{height:450px}.map img{height:540px;width:405px}h1{font-size:60px}.action-panel{padding:20px 18px 12px}.question{font-size:41px}}
@media(max-width:600px){.page{padding:0 20px}header{padding:18px 0}.brand{font-size:12px}.brand svg{width:19px}.edition{font-size:10px}.stage{display:flex;flex-direction:column;gap:0;padding:29px 0 25px;min-height:0;position:relative}.content{width:100%;text-align:center}h1{font-size:58px;line-height:1.16}.lead{font-size:14px;line-height:1.8;margin:16px 0 0}.map{width:100%;height:235px;order:1;margin-top:18px}.map-frame{height:215px;width:290px;margin:auto}.map img{height:370px;width:278px;top:-9px}.map-grid{background-size:22px 22px;inset:0 0 10px}.pin{left:60%;top:45%}.pin svg{width:30px;height:36px}.pin span{font-size:10px;padding:4px 8px;margin-top:2px}.map-north{font-size:10px;top:5px}.map-caption{font-size:10px;margin-top:7px}.action-panel{margin:253px auto 0;padding:18px 20px 10px;max-width:420px}.stage:has(#start) .map{position:absolute;top:239px;left:0}.stage:has(#start){padding-bottom:24px}.small-prompt{font-size:13px;margin-bottom:12px}.primary{font-size:18px;min-height:56px}.permission{font-size:10px}.text-button{font-size:11px}.stage:not(:has(#start)) .map{margin-top:32px}.stage:not(:has(#start)){min-height:620px;justify-content:center}.step{margin:0 0 20px}.question{font-size:38px}.answers{margin-top:28px}.answer{min-height:105px;font-size:27px}.result-pref{font-size:68px}.result-intro{font-size:19px}.result-actions{margin:24px auto 0}.error-title{font-size:29px}.result-actions .primary{width:100%}footer{font-size:10px;padding:18px 0 25px;display:block;text-align:center}footer>div{max-width:100%;justify-content:center;margin-top:14px;gap:22px}details p{text-align:left}.loading-line{max-width:320px;margin:30px auto}.map-caption{letter-spacing:.04em}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

.map img{inset:0;width:100%;height:100%;transform:none;object-fit:contain}.stage:has(.result-pref) .pin{display:none}@media(max-width:600px){.map-frame{width:290px;height:215px}.map img{inset:0;width:100%;height:100%}.question{font-size:clamp(29px,8vw,38px)}}

.secondary{width:100%;min-height:56px;margin-bottom:12px;padding:14px 22px;border:1px solid var(--cream);border-radius:9px;background:transparent;color:var(--cream);font-size:19px;font-weight:800;transition:background .15s,color .15s}.secondary:hover:not(:disabled){background:var(--cream);color:var(--ink)}.secondary:disabled{opacity:.5;cursor:default}
