:root{--ink:#173f38;--muted:#718078;--orange:#e77840;--paper:#f7f6ee;--line:#dfe5d9;--green:#2d6b50;--yellow:#f6cf63;font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background-image:radial-gradient(#d8decf 0.7px,transparent 0.7px);background-size:18px 18px}button,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #247aae;outline-offset:5px}h1:focus,h2:focus{outline:none}button:disabled{cursor:default}a{color:inherit;text-decoration:none}.site-header{max-width:1160px;margin:auto;height:100px;display:flex;align-items:center;justify-content:space-between;padding:0 36px}.brand{font-weight:900;font-size:23px;display:flex;gap:10px;align-items:center;letter-spacing:.03em}.brand-mark{display:grid;place-items:center;background:var(--ink);color:#fff9db;border-radius:10px;width:39px;height:39px;font-size:23px;transform:rotate(-5deg)}.brand-en{font-size:9px;letter-spacing:.12em;font-weight:700;border-left:1px solid #bac7b9;padding-left:12px;margin-left:4px;max-width:72px;line-height:1.6}.header-note{font-size:12px;color:var(--muted)}main{max-width:1088px;margin:auto;padding:20px 0 0}.home-hero{display:grid;grid-template-columns:1.16fr 1fr;gap:18px;align-items:center;min-height:340px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.13em;margin:0 0 7px;display:inline-flex;align-items:center;gap:8px}.tiny-dot{width:7px;height:7px;border-radius:50%;background:var(--orange)}h1{font-size:42px;line-height:1.55;letter-spacing:.02em;margin:16px 0}.orange-text{color:var(--orange)}.lead{font-size:14px;color:#64776b;line-height:2}.hero-tags{display:flex;gap:10px;margin:23px 0}.hero-tags span{font-size:11px;font-weight:700;border:1px solid #dce2d3;border-radius:6px;padding:7px 10px;background:#ffffff80}.landscape{height:310px;position:relative;overflow:hidden;border-radius:50% 50% 12px 12px;background:#e9eee0}.sun{position:absolute;width:100px;height:100px;border-radius:50%;background:#ed9970;left:56%;top:20px}.mountain{position:absolute;clip-path:polygon(0 100%,50% 0,100% 100%);bottom:34px}.mountain-back{width:330px;height:170px;background:#c6d6bd;left:-50px}.mountain-front{width:330px;height:145px;background:#b1c8ad;right:-110px}.cloud{position:absolute;width:80px;height:12px;background:#fffbed;border-radius:30px}.cloud-one{left:32px;top:69px}.cloud-two{right:18px;top:122px;width:60px}.castle{position:absolute;width:220px;height:233px;left:50%;transform:translateX(-50%);bottom:35px}.tower{background:#fff9e7;position:absolute;display:flex;justify-content:space-evenly;align-items:center;border-bottom:6px solid #dddbbb}.tower i{width:10px;height:19px;background:#466052;border-radius:5px 5px 0 0}.tower-top{width:67px;height:40px;left:77px;top:55px}.tower-middle{width:111px;height:47px;left:55px;top:102px}.tower-bottom{width:160px;height:52px;left:31px;top:157px}.roof{position:absolute;z-index:2;background:var(--ink);clip-path:polygon(14% 16%,50% 0,86% 16%,90% 66%,100% 92%,0 92%,10% 66%)}.roof-top{width:106px;height:29px;top:35px;left:57px}.roof-middle{width:158px;height:32px;top:82px;left:32px}.roof-bottom{width:215px;height:36px;top:132px;left:3px}.castle-base{position:absolute;bottom:0;width:194px;height:27px;left:14px;background:#8a9a82;clip-path:polygon(12% 0,88% 0,100% 100%,0 100%)}.flag{position:absolute;width:2px;height:28px;background:var(--ink);top:9px;left:109px}.flag:after{content:"";display:block;width:28px;height:16px;background:var(--orange);clip-path:polygon(0 0,100% 0,80% 50%,100% 100%,0 100%)}.land-line{position:absolute;bottom:34px;left:0;right:0;height:2px;background:#a8bd9e}.art-caption{position:absolute;bottom:12px;font-size:9px;letter-spacing:.16em;left:50%;transform:translateX(-50%);white-space:nowrap}.floating-label{position:absolute;z-index:3;background:#fffdf3;padding:10px 12px;box-shadow:0 3px 0 #173f3810;font-size:12px;font-weight:800;border-radius:8px}.label-one{left:35px;top:135px;transform:rotate(-9deg)}.label-two{right:15px;bottom:73px;transform:rotate(7deg)}.dashboard{display:grid;grid-template-columns:1.16fr 1fr;gap:24px;margin-top:34px}.start-card,.collection-card{padding:28px 30px;border-radius:18px;border:1px solid var(--line);background:#fffef9;box-shadow:0 5px 0 #173f3805}.section-heading{display:flex;align-items:center;gap:14px;margin-bottom:23px}.section-heading h2{font-size:19px;margin:0;letter-spacing:.01em}.section-heading .eyebrow{font-size:9px;color:var(--muted)}.step-icon,.collection-icon{width:43px;height:43px;border-radius:12px;background:#edf0e3;display:grid;place-items:center;font-size:16px;font-weight:800}.collection-icon{background:#f7e8b3;color:#946424;font-size:28px}label{font-size:12px;font-weight:800;display:block;margin-bottom:9px}select{width:100%;border:1px solid #d5dfcf;background:#fafbf5;color:var(--ink);border-radius:9px;padding:13px 12px;font-size:14px;min-height:48px}.field-note,.small{font-size:11px;color:var(--muted);line-height:1.8}.field-note{margin:10px 0 20px}.primary{width:100%;display:flex;align-items:center;justify-content:center;gap:22px;padding:17px 22px;border:0;border-radius:10px;background:var(--ink);color:white;font-size:16px;font-weight:800;box-shadow:0 4px 0 #0c2924;transition:background .15s,transform .15s}.primary:hover{background:#276050}.primary:active{transform:translateY(2px);box-shadow:0 2px 0 #0c2924}.primary span{font-size:23px;line-height:1}.centered{text-align:center;margin:15px 0 0}.collection-card{background:#eef1e4;position:relative;overflow:hidden}.collection-count{margin:26px 0 13px;display:flex;gap:13px;align-items:baseline}.collection-count strong{font-size:66px;line-height:1;font-weight:900;letter-spacing:-.06em}.collection-count span{font-size:15px;color:#71816b}.meter{height:10px;background:#dce3cf;border-radius:10px;overflow:hidden}.meter span{display:block;height:100%;background:var(--green);border-radius:10px}.collection-copy{font-size:13px;line-height:1.95;margin:22px 0;color:#63755c}.save-note{font-size:10px;border-top:1px solid #d6dec9;padding-top:17px;color:#6b7b63;display:flex;align-items:center;gap:8px}.bottom-note{display:flex;justify-content:space-between;font-size:11px;color:#86917e;margin:26px 0 34px}footer{max-width:1088px;margin:0 auto;padding:24px 0;border-top:1px solid var(--line);font-size:10px;color:#859080;display:flex;justify-content:space-between}.play-shell{max-width:780px;margin:10px auto 42px}.play-top,.question-progress{display:flex;align-items:center;justify-content:space-between;gap:12px}.score-pill{padding:8px 13px;background:#ecefdc;border-radius:30px;font-size:12px;font-weight:700}.question-progress{margin:27px 0 12px}.question-progress strong{font-size:21px}.question-progress strong span{font-size:13px;color:var(--muted);margin-left:5px}.question-progress>span{font-size:12px;color:var(--muted)}.step-track{display:flex;gap:6px;margin-bottom:27px}.step-track span{flex:1;height:8px;background:#dfe5d8;border-radius:5px}.step-track .done{background:var(--green)}.step-track .current{background:var(--orange)}.question-card{background:#fffefa;border:1px solid var(--line);border-radius:20px;padding:32px;box-shadow:0 6px 0 #173f3805}.question-meta{display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:.1em;color:#8a9581}.era-badge{color:#466548;background:#eef1e3;font-size:12px;font-weight:700;border-radius:6px;padding:7px 12px;letter-spacing:0}.question-card h1{font-size:25px;line-height:1.8;margin:23px 0}.answer-hint{font-size:12px;color:var(--muted)}.choices{display:grid;grid-template-columns:1fr 1fr;gap:13px}.choice{min-height:80px;display:flex;align-items:center;gap:12px;text-align:left;border:2px solid #e0e5d9;border-radius:12px;background:#fff;color:var(--ink);padding:15px;font-size:15px;font-weight:700;transition:border-color .15s,background .15s}.choice:not(:disabled):hover{border-color:var(--green);background:#f2f7eb}.choice-letter{display:grid;place-items:center;flex-shrink:0;background:#f0f2e9;border-radius:7px;width:32px;height:32px;font-size:12px;color:#7b8b73}.choice-status{font-size:10px;margin-left:auto;white-space:nowrap}.choice.correct{border-color:#478363;background:#eaf5e9}.choice.correct .choice-letter{background:#33754f;color:white}.choice.incorrect{border-color:#d4b690;background:#fcf4e7}.choice:disabled{opacity:1}.feedback{margin:23px 0 19px;padding:21px;border-radius:12px;animation:appear .22s ease-out}.success{background:#edf5e7}.learn{background:#faf0db}.feedback-heading{display:flex;gap:14px;align-items:center}.reaction{font-size:36px;color:#a48021}.feedback h2{font-size:18px;margin:0 0 6px}.feedback-heading p{font-size:13px;margin:0;font-weight:700}.explanation{font-size:13px;line-height:1.95;margin:14px 0 0}.result-shell{max-width:720px;margin:15px auto 50px;padding:40px;background:#fffefa;border:1px solid var(--line);border-radius:24px;text-align:center;box-shadow:0 7px 0 #173f3805;animation:appear .3s ease-out}.result-shell h1{font-size:28px;margin-bottom:8px}.medal{width:94px;height:94px;margin:22px auto;background:#f6d879;border:8px double #ffefb6;outline:1px solid #e0b443;color:#aa7720;border-radius:50%;display:grid;place-items:center;font-size:48px;box-shadow:0 8px 0 #e8bd59;transform:rotate(-8deg)}.result-score{margin:20px auto;color:var(--ink)}.result-score strong{font-size:100px;letter-spacing:-.06em}.result-score span{font-size:17px;color:var(--muted)}.result-discoveries{display:flex;justify-content:center;gap:35px;background:#f1f3e9;border-radius:12px;padding:20px;font-size:12px;color:var(--muted)}.result-discoveries strong{display:block;font-size:22px;color:var(--ink);margin-top:8px}.result-actions{max-width:390px;margin:27px auto 15px}.secondary{width:100%;padding:16px;background:none;border:1px solid #d9e1d1;border-radius:10px;margin-top:16px;color:var(--ink);font-weight:700}.secondary:hover{background:#f1f4e9}.storage-notice{max-width:800px;margin:20px auto;padding:15px;background:#fff0ce;font-size:12px;line-height:1.8} @keyframes appear{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1200px){main{padding-top:30px}.home-hero{min-height:360px}}
@media(max-width:1159px){main{margin:0 32px}.site-header{padding:0 32px}footer{margin:0 32px}h1{font-size:36px}.landscape{height:290px}.section-heading h2{font-size:17px}}
@media(max-width:760px){.site-header{height:78px;padding:0 20px}.brand{font-size:20px}.brand-en{font-size:8px}.header-note{display:none}main{margin:0 20px;padding-top:12px}.home-hero{grid-template-columns:1fr;gap:8px}.hero-copy{text-align:center}h1{font-size:32px;line-height:1.6;margin:15px 0}.lead{font-size:13px}.hero-tags{justify-content:center;margin:18px 0}.hero-tags span{font-size:10px;padding:7px 8px}.landscape{width:100%;max-width:440px;margin:auto;height:240px;border-radius:140px 140px 12px 12px}.castle{transform:translateX(-50%) scale(.85);transform-origin:bottom center}.sun{width:75px;height:75px;top:14px}.label-one{top:90px}.label-two{bottom:63px;font-size:10px}.dashboard{grid-template-columns:1fr;gap:18px;margin-top:23px}.start-card,.collection-card{padding:24px}.collection-count{margin-top:17px}.collection-count strong{font-size:54px}.collection-copy{margin:18px 0}.bottom-note{flex-direction:column;gap:12px;text-align:center;line-height:1.7;margin:23px 0}footer{margin:0 20px;flex-direction:column;align-items:center;gap:10px;padding:23px 0}.play-shell{margin-top:6px}.play-top .eyebrow{font-size:9px;letter-spacing:.03em}.question-progress>span{font-size:10px}.question-card{padding:22px 18px}.question-card h1{font-size:21px;margin:20px 0}.choices{grid-template-columns:1fr;gap:10px}.choice{min-height:65px;font-size:14px;padding:12px}.feedback{padding:17px}.feedback h2{font-size:16px}.feedback-heading p{font-size:12px}.result-shell{padding:30px 19px}.result-shell h1{font-size:24px}.result-discoveries{gap:20px;padding:18px 10px;font-size:10px}.result-discoveries strong{font-size:20px}.result-score strong{font-size:88px}.result-score span{font-size:14px}.storage-notice{margin:18px 20px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* 1000問版の長い時代名もスマートフォン内に収める。 */
.play-top .eyebrow{min-width:0;overflow-wrap:anywhere}.score-pill{flex-shrink:0}.question-meta{gap:10px}.era-badge{letter-spacing:0;line-height:1.6}.question-meta>span:last-child{flex-shrink:0}select{min-width:0}
