@import url('./solution-geometry.css');
@import url('./solution-motion.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700;800&family=Noto+Serif+JP:wght@500;600;700&display=swap');
:root{--ink:#19382e;--muted:#6b7c72;--green:#175b4b;--line:#dfe5d9;--paper:#fafaf4;--wash:#eef2e6;--accent:#e5a368;--subject:#175b4b;font-family:'Noto Sans JP',sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:25px}body{margin:0}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #d39251;outline-offset:4px}button{color:inherit}h1,h2,h3,p{margin:0}button,input,select{accent-color:var(--green)}.skip{position:fixed;top:8px;left:20px;z-index:20;background:var(--green);color:white;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}.skip:focus{clip-path:none;width:auto;height:auto;padding:12px}.header{max-width:1440px;margin:auto;padding:25px 48px 21px;display:flex;align-items:center;justify-content:space-between;gap:25px;border-bottom:1px solid var(--line)}.brand{display:flex;gap:12px;align-items:center;font-weight:800;font-size:21px;letter-spacing:.05em}.brand small{display:block;font-size:8px;letter-spacing:.15em;color:var(--muted);margin-top:4px}.brand-icon{width:42px;height:44px;border-radius:12px;background:var(--green);color:#eaf0d7;position:relative;text-align:center;font-size:34px;line-height:39px;font-weight:400}.brand-icon i{width:11px;height:11px;background:var(--accent);border:2px solid var(--green);border-radius:50%;position:absolute;right:6px;top:20px}.header nav{display:flex;gap:32px;font-size:12px;font-weight:600}.header nav a:hover{color:#449279}.header-note{font-size:10px;letter-spacing:.12em;color:var(--muted)}main{max-width:1360px;margin:auto;padding:0 48px}.hero{display:grid;grid-template-columns:1.1fr 1fr;gap:70px;padding:65px 25px 55px;align-items:center}.eyebrow{font-size:10px;font-weight:700;letter-spacing:.16em;color:var(--muted);line-height:1.6}.tiny-line{display:inline-block;width:25px;height:2px;background:var(--green);vertical-align:middle;margin-right:10px}.hero h1{font-family:'Noto Serif JP',serif;font-size:clamp(36px,4.1vw,58px);font-weight:600;line-height:1.6;letter-spacing:.045em;margin-top:22px}.hero h1 em{font-style:normal;color:var(--green);position:relative}.hero-copy{font-size:13px;line-height:2.1;color:#657467;margin-top:20px}.hero-tags{display:flex;gap:8px;margin-top:23px;flex-wrap:wrap}.pill{display:inline-block;border:1px solid var(--line);border-radius:6px;padding:6px 10px;font-size:10px;letter-spacing:.03em;white-space:nowrap;background:#ffffff60}.hero-art{max-width:430px;transform:rotate(2deg);position:relative}.hero-art svg{display:block;width:100%;box-shadow:8px 9px 0 #e8eadd;border-radius:22px}.hand-note{display:block;text-align:right;font-size:11px;color:#7e8b78;letter-spacing:.06em;margin-top:20px}.progress-strip{display:flex;align-items:center;gap:30px;padding:27px 30px;background:#edf2e7;border:1px solid #dce6d7;border-radius:12px}.progress-title{flex:1}.progress-title h2{font-size:16px;margin-top:6px;letter-spacing:.04em}.storage-note{font-size:10px;color:var(--muted);line-height:1.8;margin-top:9px}.progress-numbers{display:flex;gap:30px}.progress-numbers div{text-align:center}.progress-numbers strong{display:block;font-family:Georgia,serif;font-size:31px;font-weight:400}.progress-numbers span{font-size:10px;color:var(--muted)}.progress-actions{display:flex;flex-direction:column;gap:8px}.button{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border:1px solid transparent;border-radius:6px;font-size:11px;font-weight:600;letter-spacing:.035em;line-height:1.5;min-height:40px}.button.primary{background:var(--green);color:#fff}.button.primary:hover{background:#26725b}.button.quiet{border-color:#cbd7c7;background:transparent;color:var(--green)}.button.quiet:hover{background:#e1e9dc}.subjects-section{padding-top:55px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:25px}.section-heading h2{font-size:24px;font-weight:600;letter-spacing:.03em;margin-top:9px}.section-aside{font-size:10px;color:var(--muted)}.subject-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.subject-card{display:block;position:relative;border:1px solid var(--line);border-radius:10px;padding:25px 23px 17px;background:#fffef8;transition:transform .18s,border-color .18s}.subject-card:hover{transform:translateY(-4px);border-color:var(--subject);box-shadow:0 8px 22px #19382e08}.card-top{display:flex;align-items:center;gap:12px}.subject-symbol{width:43px;height:43px;display:grid;place-items:center;border-radius:11px;color:var(--subject);background:color-mix(in srgb,var(--subject) 9%,white);font-family:Georgia,serif;font-size:25px}.card-order{font-size:8px;letter-spacing:.08em;color:var(--muted);text-transform:uppercase}.card-arrow{margin-left:auto;color:#97a092;font-size:19px}.subject-card h3{font-family:'Noto Serif JP',serif;font-size:23px;font-weight:600;margin-top:21px;letter-spacing:.08em}.subject-card>p{font-size:11px;line-height:1.9;color:var(--muted);margin-top:11px;min-height:43px}.topic-preview{display:flex;flex-wrap:wrap;gap:5px;margin-top:20px;min-height:48px;align-content:flex-start}.topic-preview span{font-size:9px;padding:4px 6px;background:#f1f3eb;border-radius:3px;color:#60715f;max-width:100%;line-height:1.5}.card-bottom{display:flex;justify-content:space-between;gap:8px;border-top:1px solid var(--line);padding-top:15px;margin-top:15px;font-size:9px;color:var(--muted)}.card-bottom span:last-child{color:var(--subject);font-weight:600}.physics-link{display:flex;gap:20px;align-items:center;border:1px solid var(--line);border-radius:8px;padding:22px 25px;margin-top:22px;background:#f1f3e9}.physics-symbol{font-size:30px;color:var(--green)}.physics-link strong{font-size:12px;font-weight:600}.physics-link p{font-size:10px;color:var(--muted);margin-top:6px}.physics-link>span:last-child{margin-left:auto}.how-section{padding:55px 0 40px}.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin-top:25px}.how-grid article{border-left:1px solid var(--line);padding-left:24px}.how-grid article>span{font-family:Georgia,serif;color:#a8b5a0;font-size:22px}.how-grid h3{font-size:14px;margin:10px 0}.how-grid p{font-size:11px;color:var(--muted);line-height:1.9;max-width:280px}.scope-note{font-size:10px;color:var(--muted);margin-top:40px;line-height:1.8}.footer{max-width:1264px;margin:15px auto 0;border-top:1px solid var(--line);padding:30px 0;display:flex;gap:25px;align-items:center;justify-content:space-between}.footer-brand{font-size:14px;font-weight:700}.footer-brand span{display:block;font-size:8px;letter-spacing:.15em;color:var(--muted);margin-top:5px}.footer>p,.footer>div{font-size:10px;color:var(--muted)}.footer>div{display:flex;gap:22px}.subject-intro{padding:40px 0 35px;border-bottom:1px solid var(--line)}.back-link{font-size:11px;color:var(--muted)}.subject-intro>.eyebrow{margin-top:35px}.subject-intro-title{display:flex;justify-content:space-between;align-items:center}.subject-intro h1{font-family:'Noto Serif JP',serif;font-size:44px;margin:12px 0 18px;color:var(--subject)}.large-symbol{font-size:70px;color:var(--subject);font-family:Georgia,serif;padding-right:45px}.subject-intro>p:not(.eyebrow){font-size:14px;color:var(--muted);line-height:1.9}.lesson-list{padding:20px 0 40px}.lesson-card{display:flex;gap:30px;align-items:center;padding:30px 20px;border-bottom:1px solid var(--line)}.lesson-card:hover{background:var(--wash)}.lesson-order{font-size:27px;color:#a0b19c;font-family:Georgia,serif}.lesson-card h2{font-size:21px;margin:8px 0 10px}.lesson-card p{font-size:12px;line-height:1.9;color:var(--muted)}.lesson-goal{display:block;font-size:11px;margin-top:15px;color:var(--green)}.lesson-arrow{margin-left:auto;font-size:25px;color:var(--green)}.lesson-workspace{display:grid;grid-template-columns:176px minmax(0,1fr);gap:32px;padding-top:30px}.sidebar{border-right:1px solid var(--line);padding-right:18px;align-self:start;position:sticky;top:20px;max-height:90vh;overflow:auto;scrollbar-width:thin}.sidebar>.back-link{display:block;margin-bottom:23px}.sidebar details{margin:10px 0}.sidebar summary{display:flex;gap:8px;align-items:center;cursor:pointer;font-size:11px;font-weight:600;list-style:none;padding:9px 0}.sidebar summary>span{font-size:18px;min-width:20px;text-align:center}.sidebar summary>small{margin-left:auto;color:var(--muted);font-size:9px}.sidebar details>div{display:grid;gap:2px}.sidebar details a{padding:10px 9px;font-size:10px;line-height:1.65;color:var(--muted);border-radius:5px}.sidebar details a:hover{background:var(--wash)}.sidebar details a.current{background:#e8efdf;color:var(--green);font-weight:600;border-left:2px solid var(--green)}.lesson-main{min-width:0}.breadcrumb{display:flex;flex-wrap:wrap;gap:9px;font-size:9px;color:var(--muted);margin:4px 0 24px}.lesson-title-row{display:flex;align-items:center;justify-content:space-between;gap:16px}.lesson-title-row h1{font-family:'Noto Serif JP',serif;font-size:30px;font-weight:600;line-height:1.6;letter-spacing:.025em}.live-pill{font-size:8px;background:#edf3e7;border-color:#d6e4d0;color:var(--green)}.lesson-summary{font-size:12px;line-height:1.95;color:var(--muted);margin-top:14px;max-width:800px}.goal{display:flex;gap:14px;align-items:baseline;font-size:11px;line-height:1.8;margin:20px 0 23px}.goal>span{font-size:9px;white-space:nowrap;color:#9a6f45;border:1px solid #e4d2b7;border-radius:4px;background:#faf1df;padding:3px 7px}.lab{border:1px solid var(--line);border-radius:10px;background:#fffef9;overflow:hidden}.lab-heading{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;border-bottom:1px solid var(--line);gap:10px;font-size:8px;color:var(--muted);letter-spacing:.08em}.lab-heading i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#82a475;margin-right:6px}.experiment-grid{display:grid;grid-template-columns:minmax(0,1fr) 205px}.simulation{min-width:0;background:#f5f7ee}.scene-wrap{padding:12px 4px 0;min-width:0;overflow:hidden}#scene{display:block;width:100%;height:auto;font-family:'Noto Sans JP',sans-serif}#scene text{font-family:inherit}.controls-panel{padding:24px 18px;border-left:1px solid var(--line);background:#fffef9;min-width:0}.controls-panel>.eyebrow{font-size:8px}.controls-panel h2{font-size:13px;margin:8px 0 26px}.control{margin:24px 0}.control label{display:flex;justify-content:space-between;gap:5px;align-items:center;font-size:10px;font-weight:500;line-height:1.8}.control output{white-space:nowrap;font-size:17px;color:var(--green);font-variant-numeric:tabular-nums}.control output small{font-size:9px;margin-left:3px}.control input[type=range]{width:100%;height:26px;margin:8px 0 0;cursor:pointer}.range-labels{display:flex;justify-content:space-between;color:#87927f;font-size:8px}.control select{width:100%;font-size:11px;margin-top:8px;padding:9px 4px;border:1px solid #d1dccb;background:var(--paper);border-radius:5px;color:var(--ink);text-overflow:ellipsis}.control-tip{font-size:9px;color:var(--muted);line-height:1.8;border-top:1px solid var(--line);padding-top:17px;margin-top:24px}.metrics{display:flex;gap:5px;padding:15px 14px;border-bottom:1px solid var(--line);border-top:1px solid var(--line);min-height:76px}.metrics>div{flex:1;text-align:center;min-width:0;border-right:1px solid var(--line)}.metrics>div:last-child{border:0}.metrics span{display:block;color:var(--muted);font-size:8px;line-height:1.6}.metrics strong{display:block;font-weight:500;font-size:18px;margin-top:4px;overflow-wrap:anywhere;line-height:1.6;font-variant-numeric:tabular-nums}.metrics small{font-size:9px;margin-left:3px}.playback{padding:14px 16px}.playback-main{display:flex;align-items:center;gap:9px}.play-button{border:0;background:var(--green);color:white;font-size:10px;border-radius:5px;padding:10px 12px;min-width:68px;white-space:nowrap}.reset-button{border:1px solid #d3dec9;background:#fffef8;border-radius:5px;width:34px;height:34px;font-size:21px;flex-shrink:0}.playback-main input{min-width:20px;flex:1;height:26px;cursor:pointer}.playback-main output{font-size:10px;min-width:31px;font-variant-numeric:tabular-nums}.playback-settings{display:flex;gap:10px;justify-content:space-between;align-items:center;margin-top:12px;font-size:8px;color:var(--muted)}.playback-settings>div{display:flex;gap:12px;align-items:center}.playback-settings label{display:flex;align-items:center;gap:4px;white-space:nowrap}.playback-settings select{font-size:9px;padding:4px;border:1px solid #d3dec9;background:transparent;border-radius:4px}.model-note{font-size:9px;line-height:1.9;color:var(--muted);padding:13px 20px;border-top:1px solid var(--line)}.model-note strong{color:#526c59;margin-right:12px;font-weight:600}.understand{padding-top:35px}.understand .section-heading h2,.practice .section-heading h2{font-size:21px}.formula-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr));gap:12px}.formula-grid article{padding:19px 17px;background:#edf2e6;border:1px solid #dce6d6;border-radius:7px;min-width:0}.formula-grid article>span{font-size:9px;color:var(--muted)}.formula-grid strong{display:block;font-size:18px;color:var(--green);font-weight:500;line-height:1.9;margin:9px 0;overflow-wrap:anywhere}.formula-grid p{font-size:10px;color:var(--muted);line-height:1.9}.steps{margin-top:23px;display:grid;gap:15px}.steps article{display:flex;gap:15px}.steps article>span{font-family:Georgia,serif;font-size:23px;color:#98ae91}.steps h3{font-size:12px;line-height:1.8}.steps p{font-size:11px;color:var(--muted);line-height:2;margin-top:4px}.practice{padding-top:40px}.practice .section-heading{margin-bottom:12px}#lesson-score{font-size:10px;color:var(--muted);white-space:nowrap}.practice-note{font-size:10px;color:var(--muted);margin-bottom:20px}.difficulty{display:flex;gap:7px;margin-bottom:14px}.difficulty button{border:1px solid var(--line);background:transparent;border-radius:5px;padding:10px 19px;font-size:11px}.difficulty button small{font-size:8px;margin-left:8px;color:var(--muted)}.difficulty button[aria-pressed=true]{background:#e7eede;border-color:#b5c7ab;color:var(--green);font-weight:600}.question-card{padding:24px 26px;background:#fffef9;border:1px solid var(--line);border-radius:8px}.question-top{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:9px;color:var(--muted);line-height:1.8}.question-status{font-size:8px;background:#f0f1e8;padding:3px 7px;border-radius:3px;white-space:nowrap}.question-status.correct{background:#e4efdb;color:#3e7449}.question-status.incorrect{background:#fbebd8;color:#9d6f38}.question-dots{display:flex;gap:6px;margin-top:13px}.question-dots button{width:26px;height:26px;border:1px solid var(--line);background:transparent;border-radius:4px;font-size:10px}.question-dots button[aria-pressed=true]{border-color:var(--green);color:var(--green);font-weight:700}.question-dots button.solved{background:#e1ecd7}fieldset{border:0;padding:0;margin:23px 0 0;min-width:0}legend{font-size:15px;line-height:1.9;font-weight:600;padding:0;width:100%}.answer-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:22px 0}.answer-option{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:6px;padding:13px 12px;cursor:pointer;font-size:11px;line-height:1.75;position:relative;min-width:0}.answer-option:has(:checked){border-color:#5f9172;background:#eff4e7}.answer-option input{position:absolute;opacity:0;width:1px;height:1px}.answer-option:has(:focus-visible){outline:3px solid #d39251;outline-offset:2px}.choice-letter{display:grid;place-items:center;flex-shrink:0;width:24px;height:24px;border-radius:50%;border:1px solid #d2dcca;font-size:10px;color:#62785c}.answer-option:has(:checked) .choice-letter{background:var(--green);color:white;border-color:var(--green)}.answer-actions{display:flex;gap:20px;flex-wrap:wrap;align-items:center}.text-button{border:0;background:none;padding:8px 0;font-size:10px;color:var(--green);text-decoration:underline;text-underline-offset:4px}.feedback,.hint{font-size:11px;line-height:1.9;margin-top:20px;padding:17px;background:#edf1e7;border:1px solid #d9e3d0;border-radius:5px}.feedback p{margin-top:8px}.feedback.correct{background:#e9f2df;border-color:#b9d1a9}.feedback.incorrect{background:#fff2df;border-color:#e4c79a}.question-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid var(--line);padding-top:13px;margin-top:20px}.question-footer>span{font-size:9px;color:var(--muted)}.sources{margin-top:30px;padding:17px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.sources summary{font-size:11px;cursor:pointer;color:var(--muted)}.sources p,.sources ul{font-size:10px;line-height:2;color:var(--muted);margin-top:13px}.sources a{text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}.lesson-bottom{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:30px 0 15px}.lesson-bottom .button{font-size:10px}.review-banner{display:flex;justify-content:space-between;background:#f0e8d9;padding:13px 16px;font-size:11px;border-radius:5px;margin-bottom:13px}.review-banner button{border:0;background:none;font-size:10px;text-decoration:underline}.review-complete{text-align:center;padding:45px 20px;border:1px solid var(--line);border-radius:8px}.review-complete>span{font-size:35px;color:var(--green)}.review-complete h3{font-size:18px;margin:20px 0}.review-complete p{font-size:12px;color:var(--muted);margin:10px 0 25px}.review-complete .button{margin:5px}.loading,.not-found{padding:80px 0}.not-found h1{font-size:25px;margin:20px 0 30px}
@media(min-width:1500px){.header{max-width:1440px}.experiment-grid{grid-template-columns:minmax(0,1fr) 220px}}
@media(max-width:1100px){.header{padding:22px 30px}.header-note{display:none}main{padding:0 30px}.hero{gap:40px;padding:50px 5px}.progress-strip{padding:23px;gap:22px}.progress-numbers{gap:20px}.progress-title h2{font-size:14px}.subject-card{padding:20px 18px 16px}.card-order{font-size:7px}.lesson-workspace{grid-template-columns:145px minmax(0,1fr);gap:22px}.sidebar{padding-right:12px}.experiment-grid{grid-template-columns:minmax(0,1fr)}.controls-panel{border-left:0;border-top:1px solid var(--line);padding:18px 20px}.controls-panel h2{margin:5px 0 12px}.controls-panel #controls{display:flex;gap:24px}.control{flex:1;min-width:0;margin:5px 0}.control-tip{display:none}.footer{margin-left:30px;margin-right:30px}.metrics strong{font-size:21px}}
@media(max-width:760px){.header{padding:17px 20px;gap:15px}.brand{font-size:18px;gap:9px}.brand-icon{width:36px;height:37px;font-size:29px;line-height:33px}.brand-icon i{right:4px;top:17px}.brand small{font-size:6px}.header nav{gap:15px;font-size:10px}.header nav a:nth-child(3){display:none}main{padding:0 20px}.hero{gap:25px;padding:38px 0 33px}.hero .eyebrow{font-size:7px;letter-spacing:.08em}.tiny-line{width:17px;margin-right:4px}.hero h1{font-size:35px;margin-top:14px}.hero-copy{font-size:11px;margin-top:15px}.hero-art{align-self:center}.hand-note{font-size:8px}.pill{font-size:8px;padding:5px 8px}.hero-tags{gap:5px;margin-top:18px}.progress-strip{flex-wrap:wrap;gap:20px}.progress-title{flex-basis:50%}.progress-title h2{font-size:14px}.progress-numbers{margin-left:auto;gap:16px}.progress-numbers strong{font-size:25px}.progress-actions{width:100%;flex-direction:row;gap:10px}.progress-actions>*{flex:1}.storage-note{font-size:9px}.subjects-section{padding-top:35px}.section-heading h2{font-size:20px}.section-aside{font-size:8px}.subject-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.subject-card{padding:18px 15px 14px}.subject-symbol{width:35px;height:35px;font-size:23px}.card-order{font-size:6px;letter-spacing:0}.card-top{gap:7px}.card-arrow{font-size:15px}.subject-card h3{font-size:21px;margin-top:17px}.subject-card>p{font-size:10px}.topic-preview{gap:4px;min-height:60px;margin-top:15px}.topic-preview span{font-size:8px}.card-bottom{font-size:8px;flex-wrap:wrap;gap:7px}.physics-link{padding:18px;gap:15px}.physics-link strong{font-size:11px}.physics-link p{font-size:9px}.how-section{padding-top:35px}.how-grid{gap:17px}.how-grid article{padding-left:14px}.how-grid h3{font-size:12px;line-height:1.8}.how-grid p{font-size:10px}.footer{margin:10px 20px 0;gap:18px;flex-wrap:wrap;padding:25px 0}.footer>p{font-size:9px}.footer>div{font-size:9px;gap:16px}.lesson-workspace{display:block;padding-top:22px}.sidebar{display:none}.lesson-title-row h1{font-size:27px}.breadcrumb{margin-bottom:18px}.lesson-summary{font-size:12px}.experiment-grid{grid-template-columns:1fr}.controls-panel #controls{gap:20px}.control label{font-size:10px}.metrics strong{font-size:20px}.lesson-main{padding-bottom:20px}.lesson-list{padding-top:10px}.lesson-card{gap:20px;padding:24px 5px}.lesson-card h2{font-size:19px}.lesson-card p{font-size:11px}.lesson-goal{font-size:10px}.subject-intro h1{font-size:37px}.large-symbol{padding-right:10px}.subject-intro>p:not(.eyebrow){font-size:12px}}
@media(max-width:480px){.header nav{gap:11px;font-size:9px}.header nav a:last-child{font-size:8px}.hero{grid-template-columns:1fr;gap:25px;padding-top:32px}.hero h1{font-size:41px;line-height:1.5}.hero-copy{font-size:12px;line-height:2}.hero-art{width:68%;max-width:270px;justify-self:end;margin-top:-20px}.hero .eyebrow{font-size:8px}.hand-note{font-size:7px}.hero-tags{margin-top:18px}.progress-strip{padding:20px 18px}.progress-title{flex-basis:100%}.progress-title h2{font-size:15px}.progress-numbers{width:100%;justify-content:space-around;margin:0}.progress-numbers strong{font-size:29px}.progress-actions{flex-direction:column;gap:7px}.section-heading{align-items:flex-start;flex-direction:column;gap:10px;margin-bottom:20px}.section-heading h2{font-size:20px}.section-aside{font-size:9px}.subject-grid{gap:10px}.subject-card{padding:16px 12px 13px}.card-top{flex-wrap:wrap;gap:8px}.card-order{order:3;width:100%;font-size:7px}.card-arrow{margin-left:auto}.subject-card h3{font-size:20px;letter-spacing:0;margin-top:13px}.subject-card>p{font-size:10px;min-height:58px}.topic-preview{min-height:80px;display:flex;flex-direction:column;align-items:flex-start}.topic-preview span{font-size:8px;padding:3px 5px}.card-bottom{display:block;font-size:8px}.card-bottom span{display:block;margin-top:5px}.physics-link{gap:10px;padding:16px 13px}.physics-symbol{font-size:23px}.physics-link strong{font-size:10px;line-height:1.8;display:block}.physics-link p{font-size:9px;line-height:1.7}.how-grid{grid-template-columns:1fr;gap:23px}.how-grid article{padding-left:18px}.how-grid h3{font-size:14px;display:inline-block;margin-left:15px}.how-grid p{max-width:none;font-size:11px}.scope-note{font-size:9px;line-height:1.9}.footer{gap:20px}.footer>p{width:100%;order:3;font-size:9px}.footer>div{margin-left:auto;gap:12px;font-size:8px}.lesson-title-row{align-items:flex-start;gap:10px}.lesson-title-row h1{font-size:25px}.live-pill{display:none}.lesson-summary{font-size:11px}.goal{font-size:10px;gap:9px;align-items:flex-start}.goal>span{font-size:8px}.lab-heading{padding:13px 12px;font-size:7px;letter-spacing:0}.scene-wrap{padding:10px 0 0;overflow:auto}#scene{min-width:500px}.scene-wrap::after{content:'図が収まらないときは横にスクロールできます';display:block;font-size:8px;color:var(--muted);padding:6px 10px}.metrics{padding:12px 6px;gap:2px}.metrics span{font-size:8px;padding:0 3px}.metrics strong{font-size:17px}.metrics small{font-size:8px}.playback{padding:13px 12px}.playback-main{gap:7px}.play-button{padding:10px;min-width:61px}.playback-settings{font-size:8px}.playback-settings>div{gap:7px}.controls-panel{padding:18px 15px}.controls-panel #controls{display:block}.control{margin:20px 0 8px}.control label{font-size:11px}.control output{font-size:20px}.control select{font-size:12px;padding:11px 7px}.range-labels{font-size:9px}.model-note{font-size:9px;padding:14px}.model-note strong{display:block;margin:0 0 4px}.formula-grid{grid-template-columns:1fr}.formula-grid strong{font-size:19px}.formula-grid article{padding:17px}.formula-grid p{font-size:11px}.steps p{font-size:11px;line-height:2}.steps h3{font-size:13px}.practice .section-heading{flex-direction:row;align-items:center}.practice .section-heading h2{font-size:18px}#lesson-score{font-size:9px}.difficulty{gap:6px}.difficulty button{flex:1;padding:10px 12px}.question-card{padding:19px 16px}.answer-options{grid-template-columns:1fr;gap:9px}.answer-option{font-size:12px;padding:13px 12px}.answer-actions{gap:14px}.answer-actions .button{width:100%}legend{font-size:14px}.question-footer>span{font-size:8px;line-height:1.8}.question-footer .text-button{white-space:nowrap;font-size:9px}.lesson-bottom{flex-direction:column;align-items:stretch;gap:10px}.lesson-bottom .button{font-size:11px}.lesson-card{gap:15px;align-items:flex-start}.lesson-order{font-size:23px;margin-top:20px}.lesson-card h2{font-size:18px}.lesson-arrow{font-size:20px;margin-top:30px}.subject-intro{padding-top:25px}.subject-intro h1{font-size:32px}.review-banner{font-size:10px}.review-banner button{font-size:9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
/* Curriculum explorer and extended learning activities. */
.curriculum-banner{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:22px 27px;margin-top:22px;border:1px solid #d4dfca;border-radius:9px;background:#f0f3e6}.curriculum-banner strong{font-size:15px;font-weight:600}.curriculum-banner p{font-size:11px;color:var(--muted);line-height:1.9;margin-top:7px}.curriculum-banner .button{white-space:nowrap}.lesson-course-chips{display:flex;flex-wrap:wrap;gap:6px;margin:13px 0 0}.course-chip,.lesson-meta>span{font-size:9px;padding:5px 8px;line-height:1.6;border-radius:4px;background:#edf1e5;color:#5c7454}.course-chip:hover{background:#dfe9d4}.lesson-meta{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin-top:15px}.lesson-meta .activity-badge{background:#f7eddb;color:#8b6b3f}.lesson-meta .lesson-progress{background:none;color:var(--muted);margin-left:auto}.lesson-explorer{padding-top:28px}.explorer-controls{display:flex;gap:18px;align-items:flex-end;padding:22px 24px;border:1px solid var(--line);background:#f0f3e8;border-radius:9px}.explorer-controls label{display:flex;flex-direction:column;gap:9px;font-size:10px;font-weight:500;min-width:150px}.explorer-controls .search-label{flex:1}.explorer-controls input,.explorer-controls select{width:100%;padding:11px 13px;border:1px solid #cddac5;border-radius:5px;background:#fffef9;color:var(--ink);font-size:12px;min-width:0}.explorer-controls input::placeholder{color:#92a08c}.explorer-controls .button{min-height:41px}.result-count{font-size:10px;line-height:1.8;color:var(--muted);margin:15px 0}.empty-search{padding:50px 25px;text-align:center;background:#f3f5ed;font-size:12px;color:var(--muted);border-radius:8px}.empty-search .button{margin-top:20px}.curriculum-intro{padding:40px 0 35px}.curriculum-intro>.eyebrow{margin-top:33px}.curriculum-intro h1{font-family:'Noto Serif JP',serif;font-size:36px;font-weight:600;margin:18px 0 20px;line-height:1.65}.curriculum-intro>p:not(.eyebrow){font-size:13px;color:var(--muted);line-height:2;max-width:850px}.curriculum-totals{display:flex;gap:45px;margin:28px 0;padding:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.curriculum-totals>span{font-size:10px;color:var(--muted)}.curriculum-totals strong{font-family:Georgia,serif;font-weight:400;font-size:35px;color:var(--green);margin-right:9px}.curriculum-intro .curriculum-method{font-size:11px!important}.source-link{display:inline-block;font-size:10px;color:var(--green);margin-top:15px;text-decoration:underline;text-underline-offset:4px;line-height:1.9}.curriculum-explorer{padding-bottom:50px}.coverage-subject{border:1px solid var(--line);border-radius:9px;background:#fffef9;margin-top:15px;overflow:hidden}.coverage-subject>summary{display:flex;align-items:center;gap:17px;cursor:pointer;padding:22px 26px;list-style:none;font-size:20px;font-family:'Noto Serif JP',serif;font-weight:600}.coverage-subject>summary::-webkit-details-marker{display:none}.coverage-subject>summary small{display:block;font-family:'Noto Sans JP',sans-serif;font-size:9px;font-weight:400;color:var(--muted);margin-top:7px}.expand-sign{margin-left:auto;font-family:'Noto Sans JP',sans-serif;color:#89997f;font-size:20px}.coverage-subject[open] .expand-sign{transform:rotate(45deg)}.coverage-courses{padding:0 26px 26px}.coverage-course h2{font-size:16px;font-weight:600;border-bottom:2px solid #c9d8be;padding:18px 0 14px;color:var(--green)}.coverage-row{display:grid;grid-template-columns:1.1fr 1fr;gap:30px;padding:20px 0;border-bottom:1px solid var(--line)}.coverage-row:last-child{border-bottom:0}.coverage-row h3{font-size:13px;font-weight:600;line-height:1.8}.coverage-row p{font-size:11px;line-height:1.95;color:var(--muted);margin-top:8px}.coverage-row .coverage-note{font-size:10px;color:#8c7d61}.coverage-links{display:flex;flex-direction:column;gap:8px}.coverage-links a{display:flex;justify-content:space-between;gap:10px;padding:9px 12px;border-radius:4px;background:#edf2e6;font-size:11px;line-height:1.8;color:var(--green)}.coverage-links a:hover{background:#e0ebd6}.activity-section{padding-top:37px}.activity-section .section-heading h2{font-size:21px}.activity-label{font-size:9px;background:#f5ebd6;color:#8e6c3c;padding:6px 9px;border-radius:4px;white-space:nowrap}.activity-card{padding:25px 27px;border:1px solid #dfd8c5;border-radius:9px;background:#fffdf5}.activity-card>h3{font-size:16px;line-height:1.8}.activity-prompt{font-size:12px;line-height:2.1;margin-top:15px;white-space:pre-wrap}.activity-response-label{display:block;font-size:11px;font-weight:500;margin-top:23px}.activity-response-label textarea{display:block;width:100%;resize:vertical;min-height:140px;max-height:700px;padding:15px;margin-top:10px;border:1px solid #d6ddc9;border-radius:6px;background:#fffefb;color:var(--ink);font:inherit;font-size:13px;line-height:1.9}.activity-response-label textarea::placeholder{color:#96a18d}.activity-save-row{display:flex;justify-content:space-between;gap:15px;font-size:9px;color:var(--muted);margin:10px 0}.activity-checklist{margin-top:24px;border-top:1px solid var(--line);padding-top:20px}.activity-checklist legend{font-size:12px;font-weight:600;line-height:1.8}.activity-checklist label{display:flex;gap:11px;align-items:flex-start;padding:9px 0;font-size:11px;line-height:1.9}.activity-checklist input{margin-top:5px;flex-shrink:0;width:15px;height:15px}.self-check-note{font-size:10px;line-height:1.9;color:var(--muted);margin-top:10px}.activity-example{border-top:1px solid #e4ddcb;margin-top:22px;padding-top:18px;font-size:11px}.activity-example summary{cursor:pointer;color:var(--green);font-weight:500}.activity-example p{font-size:12px;line-height:2.1;white-space:pre-wrap;margin-top:17px}.audio-practice{border:1px solid #d7dfcb;border-radius:6px;padding:20px;background:#eef3e8;margin-top:20px}.audio-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.audio-controls label{display:flex;gap:8px;align-items:center;font-size:10px;margin-left:auto}.audio-controls select{font-size:10px;border:1px solid #c7d4bd;background:#fffef8;padding:7px;border-radius:4px}.audio-practice>p{font-size:10px;color:var(--muted);line-height:1.9;margin-top:14px}.audio-transcript{font-size:11px;margin-top:16px;border-top:1px solid #d8e2cf;padding-top:14px}.audio-transcript summary{cursor:pointer;color:var(--green)}.audio-transcript p{font-size:14px;line-height:1.95;margin-top:14px;white-space:pre-wrap}.sidebar-curriculum-link{display:block;font-size:10px;line-height:1.8;padding:11px 9px;background:#edf2e5;border-radius:5px;margin-bottom:20px;color:var(--green)}
@media(max-width:760px){.curriculum-banner{padding:21px;gap:18px}.curriculum-banner strong{font-size:13px}.curriculum-banner p{font-size:10px}.explorer-controls{flex-wrap:wrap;padding:18px;gap:14px}.explorer-controls label{min-width:130px}.explorer-controls .button{flex:1}.curriculum-intro h1{font-size:29px}.curriculum-totals{gap:30px}.curriculum-totals strong{font-size:29px}.curriculum-totals>span{font-size:9px}.coverage-subject>summary{padding:19px 21px;font-size:18px}.coverage-courses{padding:0 21px 21px}.coverage-row{gap:20px}.coverage-links a{font-size:10px}.activity-card{padding:22px}.lesson-meta .lesson-progress{margin-left:0}}
@media(max-width:480px){.header nav{gap:10px}.header nav a{font-size:9px}.curriculum-banner{display:block;padding:20px}.curriculum-banner .button{margin-top:16px;width:100%}.curriculum-banner strong{font-size:14px;line-height:1.8}.curriculum-banner p{font-size:11px}.explorer-controls{display:block;padding:18px}.explorer-controls label{margin-bottom:15px;font-size:11px}.explorer-controls input,.explorer-controls select{font-size:13px}.explorer-controls .button{width:100%;font-size:11px}.lesson-meta{gap:5px}.lesson-meta>span{font-size:8px;padding:4px 6px}.lesson-course-chips{gap:5px}.course-chip{font-size:8px}.curriculum-intro{padding:28px 0}.curriculum-intro h1{font-size:27px}.curriculum-intro>p:not(.eyebrow){font-size:12px}.curriculum-totals{display:grid;grid-template-columns:1fr 1fr;gap:15px 30px;padding:20px 0}.curriculum-totals strong{font-size:32px}.curriculum-totals>span{font-size:10px}.coverage-subject>summary{padding:18px 16px;gap:12px;font-size:18px}.coverage-courses{padding:0 16px 18px}.coverage-course h2{font-size:15px}.coverage-row{grid-template-columns:1fr;gap:15px;padding:20px 0}.coverage-links a{font-size:11px;padding:10px 12px}.coverage-row p{font-size:11px}.activity-section .section-heading{flex-direction:row;align-items:center}.activity-section .section-heading h2{font-size:18px}.activity-label{font-size:8px}.activity-card{padding:20px 16px}.activity-card>h3{font-size:15px}.activity-prompt{font-size:12px}.activity-response-label textarea{font-size:14px;padding:12px}.activity-save-row{font-size:8px;gap:10px;line-height:1.8}.activity-checklist label{font-size:12px}.activity-example p{font-size:12px}.audio-practice{padding:16px 12px}.audio-controls{gap:9px}.audio-controls .button{font-size:10px;padding:10px 12px}.audio-controls label{width:100%;margin:4px 0 0;justify-content:space-between}.audio-transcript p{font-size:14px}}
.lesson-jumps{display:flex;gap:8px;flex-wrap:wrap;margin:-5px 0 22px}.lesson-jumps a{font-size:10px;color:var(--green);padding:8px 10px;border:1px solid #d8e3cf;border-radius:5px;background:#f2f5eb}.lesson-jumps a:hover{background:#e4eddc}@media(max-width:480px){.lesson-jumps{gap:6px;margin-bottom:18px}.lesson-jumps a{font-size:9px;padding:8px}}
/* Worked solutions reveal the reasoning without changing answer records. */
.worked-solution{margin-top:25px;padding:24px;border:1px solid #cbdcc1;border-radius:9px;background:#f7f9f0}.worked-solution[hidden]{display:none}.solution-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.solution-heading h3{font-family:'Noto Serif JP',serif;font-size:21px;font-weight:600;line-height:1.7;margin-top:8px}.solution-heading .text-button{white-space:nowrap;font-size:11px;padding:7px}.solution-steps{list-style:none;display:flex;gap:9px;padding:0;margin:23px 0}.solution-steps li{flex:1;min-width:0}.solution-steps button{display:flex;align-items:center;gap:8px;width:100%;height:100%;padding:11px 9px;border:1px solid #d5e0cb;border-radius:6px;background:#fffef9;color:#74866b;text-align:left;font:inherit;font-size:11px;line-height:1.8;cursor:pointer}.solution-steps button>span{display:flex;align-items:center;justify-content:center;width:22px;height:22px;flex-shrink:0;border:1px solid #d2ddc7;border-radius:50%;font-size:10px}.solution-steps button[aria-current=step]{border-color:#43826b;background:#e2eddc;color:#175b4b;font-weight:600}.solution-steps button[aria-current=step]>span{background:#246a52;border-color:#246a52;color:white}.solution-steps button.is-read{color:#3b7056}.solution-reading{min-width:0}.solution-position{font-size:10px;color:#6b7e61;line-height:1.8;margin-bottom:7px}.solution-reading h4{font-size:18px;font-weight:600;line-height:1.8}.solution-reading>p:not(.solution-position){font-size:13px;line-height:2;white-space:pre-wrap;margin-top:10px}.solution-figure{margin:20px 0 0;border:1px solid #dce5d3;border-radius:8px;background:#fffef9;overflow:hidden}.solution-svg{display:block;max-width:100%;height:auto;margin:0 auto}.solution-figure figcaption{font-size:11px;line-height:1.9;padding:0 18px 16px;color:#6e7b65;white-space:pre-wrap}.solution-figure figcaption:empty{display:none}.solution-transcript{margin-top:14px;font-size:11px;line-height:1.9;color:#647a5b}.solution-transcript summary{cursor:pointer}.solution-transcript ul{padding-left:20px;margin-top:12px}.solution-transcript li{margin-top:9px;overflow-wrap:anywhere}.solution-nav{display:flex;justify-content:space-between;gap:15px;margin-top:24px}.solution-nav .button{font-size:11px}.solution-nav button:disabled{opacity:.45;cursor:default}.solution-record-note{font-size:10px;line-height:1.9;color:#7a866f;margin-top:18px}.solution-answer{background:#e4efdc;padding:18px;border-radius:6px;margin-top:23px}.solution-answer span{display:block;font-size:10px;color:#5e7a51;margin-bottom:7px}.solution-answer strong{font-size:16px;line-height:1.9;font-weight:600;overflow-wrap:anywhere}.solution-pitfall,.solution-check{margin-top:20px;border-left:3px solid #c8a46c;padding-left:15px}.solution-check{border-color:#8baf89}.solution-pitfall h5,.solution-check h5{font-size:12px;line-height:1.8}.solution-pitfall p,.solution-check p{font-size:12px;line-height:2;margin-top:6px;white-space:pre-wrap}.solution-reading:focus-visible{outline:2px solid #bc8848;outline-offset:5px}.answer-actions{flex-wrap:wrap}.question-dots{flex-wrap:wrap}.solution-reading p,.solution-steps button{overflow-wrap:anywhere}
@media(max-width:760px){.worked-solution{padding:20px}.solution-steps{gap:6px}.solution-steps button{font-size:10px;padding:10px 8px}}
@media(max-width:480px){.worked-solution{margin-left:-9px;margin-right:-9px;padding:15px 10px}.solution-heading{padding:0 4px}.solution-heading h3{font-size:18px}.solution-heading .eyebrow{font-size:7px}.solution-heading .text-button{font-size:10px}.solution-steps{gap:5px;flex-wrap:wrap;margin:18px 0}.solution-steps li{flex:1 1 28%}.solution-steps button{display:block;padding:8px 6px;font-size:10px}.solution-steps button>span{margin-bottom:5px;width:20px;height:20px}.solution-reading h4{font-size:16px}.solution-reading>p:not(.solution-position){font-size:12px}.solution-figure{margin-top:17px}.solution-figure figcaption{font-size:10px;padding:0 14px 13px}.solution-transcript{font-size:10px}.solution-answer{padding:14px}.solution-answer strong{font-size:14px}.solution-nav{gap:7px}.solution-nav .button{padding:11px 10px;font-size:10px}.solution-record-note{font-size:9px}.solution-pitfall,.solution-check{padding-left:12px}.solution-pitfall p,.solution-check p{font-size:11px}}
.static-diagram-note{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px;border-top:1px solid var(--line);color:var(--muted);font-size:11px;line-height:1.9}.static-diagram-note button{white-space:nowrap;font-size:11px}.solution-reading h4:focus-visible{outline:2px solid #c7985c;outline-offset:5px}@media(max-width:480px){.static-diagram-note{padding:13px;display:block;font-size:10px}.static-diagram-note button{margin-top:10px;font-size:10px}}

.progress-breakdown{font-size:12px;line-height:1.7;color:#607264}

.subject-icon-svg{display:block;width:1em;height:1em;flex:none}.subject-symbol .subject-icon-svg{width:28px;height:28px}.large-symbol .subject-icon-svg{width:72px;height:72px}.sidebar summary>span .subject-icon-svg{width:18px;height:18px}.subject-symbol{display:inline-flex;align-items:center;justify-content:center}
