:root{--brand:#c9182b;--ink:#332b2d;--muted:#807579;--line:#eee2e3;--bg:#fff9f9}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px 'Noto Sans JP',sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #a81526;outline-offset:4px}a{color:inherit}aside{position:fixed;width:248px;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:36px 24px;display:flex;flex-direction:column}.brand{text-decoration:none;display:flex;align-items:center;gap:11px;font-weight:800;font-size:23px;letter-spacing:-1px}.brand-icon{display:inline-flex;background:var(--brand);color:white;width:41px;height:41px;border-radius:12px;align-items:center;justify-content:center;font-size:22px}.brand-icon span{font-size:15px}.beta{font-size:11px;letter-spacing:0;color:#9d5360;background:#fff0f1;padding:2px 6px;border-radius:4px}.aside-caption{font-size:10px;color:var(--muted);margin:15px 0 45px}.nav-label{color:#a59195;font-size:10px;letter-spacing:1.7px;padding:0 14px;margin-bottom:13px}nav{display:grid;gap:8px}nav button{border:0;background:none;color:#85777a;display:flex;gap:13px;align-items:center;padding:14px;border-radius:9px;text-align:left;font-size:17px}nav button span{font-size:13px}nav button.active{background:#ffe9ec;color:var(--brand);font-weight:700}nav b{font-size:10px;background:#ffd3da;padding:2px 6px;border-radius:5px;margin-left:auto}.side-bottom{margin-top:auto;background:#fff3f4;padding:21px 18px;border-radius:12px}.little-logo{font-size:32px;color:#d72a3d;margin-bottom:13px}.side-bottom strong{line-height:1.9;font-size:13px}.side-bottom p,.side-bottom>span{font-size:10px;color:#927a80}.side-bottom>span{display:block;margin-top:27px;font-size:9px}main{margin-left:248px;padding:0 48px;max-width:1600px}header{display:flex;justify-content:space-between;padding:27px 0;border-bottom:1px solid var(--line);font-size:10px;letter-spacing:1.6px;color:#927d82}.date{letter-spacing:0}h1{font-size:27px;letter-spacing:.5px;margin:30px 0 9px}h2{font-size:17px;margin:0}p{line-height:1.9}.subtitle{color:var(--muted);font-size:12px;margin:0 0 26px}.hero{background:#ffe9ec;border:1px solid #f7ced4;border-radius:16px;display:flex;justify-content:space-between;min-height:226px;padding:29px 34px;position:relative;overflow:hidden}.eyebrow{font-size:10px;letter-spacing:1.8px;color:#ae2d40;font-weight:700}.hero h2{font-size:26px;line-height:1.65;margin:10px 0}.hero p{color:#97606a;font-size:11px;margin:0 0 18px}.primary{background:var(--brand);color:white;border:0;border-radius:7px;padding:13px 21px;font-size:12px;font-weight:600}.primary span{margin-left:35px}.hero-art{width:220px;position:relative;align-self:center;height:170px;margin-right:10px}.orbit{width:156px;height:156px;border:1px dashed #e9a7b0;border-radius:50%;position:absolute;left:32px;top:7px}.chart{position:absolute;width:147px;height:116px;left:35px;top:27px;transform:rotate(-8deg);background:#ffffff;border-radius:12px;box-shadow:8px 12px 0 #f2b7c0;padding:25px 21px;display:flex;align-items:flex-end;gap:10px}.chart i{display:block;background:#f397a5;width:21px;border-radius:3px 3px 0 0}.chart i:nth-child(1){height:25px}.chart i:nth-child(2){height:40px}.chart i:nth-child(3){height:56px;background:#e1394d}.chart i:nth-child(4){height:70px;background:#c9182b}.star{position:absolute;font-size:33px;right:4px;top:0;color:#c9182b}.art-label{position:absolute;bottom:4px;left:7px;background:white;border-radius:7px;padding:9px 15px;font-size:10px;box-shadow:0 4px 16px #9b203310;transform:rotate(4deg)}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin:21px 0 31px}.stat{background:white;border:1px solid var(--line);border-radius:12px;padding:18px 22px}.stat-label{font-size:11px;color:#927b81;display:flex;justify-content:space-between}.stat-value{font-size:29px;font-weight:700;margin-top:7px}.stat-value small{font-size:11px;color:#927b81;font-weight:400;margin-left:6px}.stat-note{font-size:10px;color:#a08b90;margin-top:7px}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.section-head small{font-size:10px;color:#958187}.categories{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.category{background:white;border:1px solid var(--line);border-radius:12px;padding:20px;display:flex;flex-direction:column;align-items:flex-start;text-align:left;min-height:207px;transition:transform .2s,box-shadow .2s}.category:hover{transform:translateY(-3px);box-shadow:0 8px 22px #332b2d10}.category-icon{font-size:21px;width:41px;height:41px;border-radius:10px;background:var(--tint);color:var(--color);display:grid;place-items:center;margin-bottom:16px}.category strong{font-size:12px}.category p{font-size:10px;color:#948187;margin:6px 0 20px}.bar{height:4px;background:#f7eaec;width:100%;border-radius:4px;overflow:hidden}.bar i{display:block;background:var(--color,var(--brand));height:100%}.category-bottom{display:flex;justify-content:space-between;font-size:9px;color:#968288;width:100%;margin-top:9px}.lower{display:grid;grid-template-columns:1.35fr 1fr;gap:21px;margin-top:27px}.panel{background:white;border:1px solid var(--line);border-radius:12px;padding:23px}.panel h2{font-size:13px}.week{display:flex;justify-content:space-between;margin-top:22px}.day{text-align:center;font-size:10px;color:#968288}.day b{display:grid;place-items:center;margin-bottom:9px;background:#fff0f2;border-radius:50%;width:31px;height:31px;color:#c3a1a8;font-size:12px}.day.done b{background:#ffe0e5;color:#b91c32}.tip{display:flex;gap:18px;background:#fff0f2}.tip-icon{font-size:27px;color:#d72a3d}.tip p{font-size:11px;color:#936d76;margin-bottom:0}.filters{display:flex;gap:9px;flex-wrap:wrap;margin:23px 0}.filter,.secondary{background:white;border:1px solid var(--line);border-radius:7px;padding:10px 15px;color:#826a72;font-size:12px}.filter.active{background:var(--brand);color:white;border-color:var(--brand)}.question-panel{max-width:850px;margin:23px auto}.question-top{display:flex;justify-content:space-between;align-items:center;color:#927b81;font-size:11px;margin-bottom:21px}.badge{color:#b91c32;background:#ffebee;padding:6px 10px;border-radius:5px}.question-panel h2{font-size:21px;line-height:1.9;margin:25px 0}.options{display:grid;gap:12px;margin:25px 0}.option{display:flex;gap:15px;align-items:center;text-align:left;background:white;border:1px solid #ecdfe2;border-radius:9px;padding:17px;color:var(--ink);line-height:1.7}.option b{flex-shrink:0;display:grid;place-items:center;width:27px;height:27px;border-radius:6px;background:#fff0f2;color:#a17680;font-size:11px}.option:hover:not(:disabled){border-color:#d72a3d;background:#fff4f5}.option:disabled{cursor:default;opacity:1}.option.correct{border-color:#598066;background:#eef5eb}.option.wrong{border-color:#c88875;background:#fcf1eb}.explanation{background:#f2f5ed;border-radius:9px;padding:20px;margin-bottom:20px}.explanation.wrong{background:#fbf1eb}.explanation strong{font-size:15px}.explanation p{font-size:13px;margin-bottom:0}.actions{display:flex;gap:10px;justify-content:space-between;align-items:center}.empty{text-align:center;padding:55px 20px}.empty .big{font-size:50px;margin-bottom:15px}.empty p{color:var(--muted);font-size:12px}.record{padding:17px 0;border-bottom:1px solid var(--line);display:flex;gap:15px;align-items:center;font-size:12px}.record span{margin-left:auto;white-space:nowrap;color:#927b81}.record small{color:#968288}.result-score{font-size:64px;color:var(--brand);font-weight:700}.result-score small{font-size:20px;color:#968288}footer{font-size:9px;color:#a08b90;line-height:2.1;padding:30px 0}footer a{color:#9e6571}footer span{margin-left:15px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--brand);color:white;border-radius:8px;padding:13px 22px;display:none}
@media(min-width:1450px){main{padding:0 70px}}@media(max-width:1100px){aside{width:205px;padding:30px 18px}main{margin-left:205px;padding:0 27px}.categories{grid-template-columns:repeat(2,1fr)}.hero-art{width:170px;margin-right:0}.category{min-height:185px}.hero h2{font-size:23px}}@media(max-width:700px){aside{position:static;width:100%;padding:18px 20px;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:20px}.brand-icon{width:34px;height:34px}.aside-caption,.nav-label,.side-bottom{display:none}nav{display:flex;margin-top:17px;gap:4px}nav button{padding:10px 8px;gap:5px;flex:1;justify-content:center}nav button span{font-size:10px}nav b{display:none}main{margin-left:0;padding:0 20px}header{padding:18px 0;font-size:8px}h1{font-size:23px;margin-top:24px}.hero{padding:25px 22px;min-height:230px}.hero h2{font-size:22px}.hero-art{width:95px;opacity:.55;margin-right:-42px;transform:scale(.7);transform-origin:left center}.hero>div:first-child{z-index:1}.hero p{max-width:220px}.stats{gap:8px}.stat{padding:13px 11px}.stat-label{font-size:9px}.stat-value{font-size:25px}.stat-note{font-size:8px}.categories{gap:10px}.category{padding:17px 14px}.category strong{font-size:11px}.lower{grid-template-columns:1fr;gap:13px}.question-panel h2{font-size:18px}.question-panel{padding:21px 17px}.option{padding:13px;font-size:12px}.actions{flex-wrap:wrap}.subtitle{font-size:11px}footer span{display:block;margin:0}}

.exam-card{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:21px;border-left:4px solid var(--brand)}.exam-card h2{font-size:17px;margin:9px 0 0;line-height:1.7}.exam-card h2 strong{font-size:32px;color:var(--brand);margin:0 5px}.exam-card p{font-size:11px;color:var(--muted);margin:6px 0 0}.exam-card form{flex-shrink:0}.exam-card label{display:block;font-size:11px;font-weight:600;margin-bottom:7px}.exam-controls{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.exam-controls input{font:inherit;min-width:150px;min-height:42px;padding:9px 11px;border:1px solid var(--line);border-radius:7px;background:white;color:var(--ink)}.exam-controls input:focus-visible{outline:3px solid var(--brand);outline-offset:3px}.exam-card #exam-message:empty{display:none}@media(max-width:1100px){.exam-card{align-items:flex-start;flex-direction:column;gap:14px}}@media(max-width:700px){.exam-card{padding:20px 17px}.exam-card h2{font-size:15px}.exam-card form{width:100%}.exam-controls input{min-width:0;flex:1}.exam-controls .primary,.exam-controls .secondary{padding:12px}.exam-card h2 strong{font-size:29px}}

.sprint-hero{margin-top:20px;background:var(--brand);color:white;border-color:var(--brand);gap:25px;padding:30px}.sprint-tag{display:inline-block;font-size:12px;font-weight:700;background:#ffffff20;border:1px solid #ffffff40;border-radius:5px;padding:7px 10px}.sprint-tag span{font-size:10px;font-weight:400}.sprint-hero h2{font-size:30px;margin:16px 0 12px;line-height:1.55}.sprint-hero p{color:#ffe0e4;font-size:11px;line-height:1.9}.sprint-actions{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.sprint-hero .primary{background:white;color:#a51225;font-weight:800}.sprint-short{color:white;border:0;background:transparent;padding:12px 0;font-size:11px;text-decoration:underline;text-underline-offset:5px}.sprint-progress{align-self:center;min-width:205px;background:#880f2240;border:1px solid #ffffff35;border-radius:12px;padding:24px}.sprint-progress>span{font-size:10px;letter-spacing:1.7px;color:#ffdae0}.mission-number{font-size:52px;font-weight:800;line-height:1.6}.mission-number small{font-size:15px;font-weight:500;color:#ffe0e4}.sprint-progress .bar{height:7px;background:#ffffff30;margin:6px 0 16px}.sprint-progress .bar i{background:white}.sprint-progress>strong{font-size:12px}.sprint-progress p{margin:12px 0 0}.sprint-progress p b{color:white;font-size:18px}.mission-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}.mission-steps button{display:flex;align-items:center;text-align:left;gap:12px;border:1px solid var(--line);border-radius:10px;background:white;padding:17px 14px;color:var(--ink)}.step-no{color:var(--brand);font-weight:800;font-size:19px}.mission-steps strong{font-size:12px}.mission-steps small{display:block;font-size:9px;color:var(--muted);margin-top:5px}.mission-steps button>b{margin-left:auto;color:var(--brand)}.mission-steps button:hover{background:#fff0f2}.exam-card{margin-top:0}.exam-card h2 strong{font-size:38px}.exam-card .eyebrow{color:var(--brand)}@media(max-width:1100px){.sprint-hero{flex-direction:column}.sprint-progress{align-self:stretch}.sprint-progress p{display:inline-block;margin-left:15px}.mission-number{font-size:42px}.mission-steps{grid-template-columns:1fr}.mission-steps button{padding:14px 17px}.mission-steps small{font-size:11px}}@media(max-width:700px){.sprint-hero{padding:24px 20px;gap:20px}.sprint-hero h2{font-size:25px}.sprint-hero p{font-size:10px}.sprint-tag{font-size:11px}.sprint-tag span{display:block;margin-top:4px}.sprint-progress{padding:18px 20px}.sprint-actions{gap:3px}.sprint-hero .primary{width:100%}.sprint-short{font-size:10px}.exam-card h2 strong{font-size:34px}}

.mastery-card{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #f3c4ce;border-radius:9px;background:#fff6f7;padding:18px;margin-bottom:20px}.mastery-card strong{font-size:13px}.mastery-card p{font-size:11px;color:var(--muted);margin:6px 0 0}.mastery-card .primary{flex-shrink:0}.mastery-complete{font-size:13px;color:#376a46;background:#edf5ef;padding:14px;border-radius:8px;margin-bottom:20px}@media(max-width:700px){.mastery-card{align-items:stretch;flex-direction:column;gap:12px}}

footer #question-total{display:inline;margin:0}
