:root{--ink:#123f2d;--lime:#d7ef82;--focus:#7451a8;--white:#fff;font-family:'Zen Maru Gothic',sans-serif;color:var(--ink);background:var(--white);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}a{color:inherit}button,input,textarea{font:inherit}a,button{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,summary:focus-visible{outline:4px solid var(--focus);outline-offset:5px}button{cursor:pointer}.skip{position:absolute;left:16px;top:-100px;z-index:20;background:white;padding:14px}.skip:focus{top:10px}.header{margin:0 auto;border-bottom:6px solid var(--lime);padding:12px 20px 10px;display:flex;justify-content:space-between;align-items:center;gap:24px;max-width:1448px}.brand{text-decoration:none;font-size:32px;font-weight:900;white-space:nowrap}.parent-link{font-size:24px;font-weight:900;text-underline-offset:5px;padding:8px 0;min-height:44px}.welcome{text-align:center;margin:24px 24px 26px}.welcome h1{display:table;margin:0 auto;padding:7px 58px 15px;background:var(--lime);border-radius:100px;font-size:clamp(34px,5.5vw,76px);font-weight:900;letter-spacing:.01em;line-height:1.3}.welcome p{font-size:30px;font-weight:700;margin:10px 0 0;line-height:1.6}.choices{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:26px 16px;max-width:1448px;margin:auto;padding:0 30px}.choice{grid-column:span 2;text-decoration:none;text-align:center;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;border:5px solid var(--edge);border-radius:42px;background:var(--surface);min-height:350px;padding:18px 14px 14px;transition:transform .15s ease,border-color .15s ease}.choice:nth-child(n+4){grid-column:span 3;min-height:316px;margin:0 4px}.choice:nth-child(4){margin-left:76px}.choice:nth-child(5){margin-right:76px}.choice:hover{transform:translateY(-4px);border-color:var(--ink)}.math{--surface:#fff4e9;--edge:#ff9f38}.world{--surface:#e5f6ff;--edge:#46bce9}.japan{--surface:#e7faef;--edge:#55cc94}.science{--surface:#f6edff;--edge:#c18bea}.english{--surface:#f5fce7;--edge:#b4e950}.topic-icon{display:block;width:164px;height:154px;fill:none;stroke:var(--ink);stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round;flex:none}.icon-accent{fill:var(--lime)}.icon-numbers{fill:var(--ink);stroke:none;font-size:22px;font-weight:900;text-anchor:middle}.map-sheet{fill:#f7fce5}.map-pin{fill:#fa9b48}.book-page{fill:#fffef2}.book-letters{fill:var(--ink);stroke:none;font-size:21px;font-weight:900}.choice-copy{display:block}.choice-title{display:block;font-size:clamp(24px,2.9vw,41px);font-weight:900;line-height:1.35;white-space:nowrap}.choice-description{display:block;font-size:clamp(17px,1.8vw,25px);font-weight:700;line-height:1.6;margin-top:1px}.go{display:grid;place-items:center;min-width:68px;height:44px;margin:4px auto 0;border-radius:40px;background:var(--lime)}.go svg{width:28px;height:28px;fill:none;stroke:var(--ink);stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}footer{text-align:center;font-size:27px;font-weight:700;line-height:1.6;margin:13px 16px 15px}
.reading-page{max-width:930px;margin:32px auto 64px;padding:0 24px;font-family:'Zen Maru Gothic',sans-serif}.reading-page h1{font-size:clamp(28px,5vw,42px);line-height:1.5;margin:0 0 16px;font-weight:900}.reading-page h2{font-size:25px;line-height:1.7;margin:36px 0 12px;scroll-margin-top:20px}.reading-page h3{font-size:20px;margin:28px 0 12px}.reading-page p,.reading-page li{font-size:18px;line-height:1.95}.reading-page li+li{margin-top:8px}.reading-page a{text-underline-offset:4px}.notice{border-left:5px solid #9dc54b;background:#f3f8e8;padding:16px 22px}.bookmark{display:inline-flex;align-items:center;padding:12px 20px;min-height:48px;border:2px solid var(--ink);border-radius:12px;font-weight:900;background:#e9f3c9;text-decoration:none;margin:8px 0}.reading-page button{background:var(--ink);color:#fff;border:0;border-radius:10px;padding:12px 18px;min-height:44px;font-size:17px}.reading-page details{border:1px solid #ccd8d0;border-radius:12px;padding:16px 20px;margin:18px 0}.reading-page summary{font-size:19px;font-weight:700;cursor:pointer;line-height:1.7;min-height:44px}.app-list{display:flex;gap:10px 20px;flex-wrap:wrap;padding:0;list-style:none}.app-list a{display:block;padding:10px 0}.reading-page .muted{font-size:16px;color:#4f6359}.reading-page textarea{display:block;width:100%;height:170px;font-size:14px;line-height:1.6;margin:12px 0;border:1px solid #82988c;padding:12px;border-radius:8px}.status{min-height:30px;font-size:16px!important}.reading-page code{overflow-wrap:anywhere}.error-page{text-align:center;padding:60px 24px}.error-page a{display:inline-block;padding:14px 22px;border-radius:16px;background:var(--lime);font-weight:700}
.phrase{display:inline-block}
@media(min-width:1051px){.header{padding-top:9px;padding-bottom:7px}.welcome{margin-bottom:22px}.choice{min-height:360px;padding-top:12px;padding-bottom:10px;gap:2px}.topic-icon{width:213px;height:174px}.choice-title{font-size:48px;line-height:1.3}.choice:nth-child(n+4) .topic-icon{width:210px;height:150px}.choice:nth-child(n+4){min-height:326px}}
@media(min-width:1500px){.header{border-radius:0 0 3px 3px}}
@media(max-width:1050px){.brand{font-size:27px}.parent-link{font-size:20px}.choices{gap:18px;padding:0 22px}.choice{min-height:285px;border-width:4px;border-radius:30px}.choice:nth-child(n+4){min-height:270px}.choice:nth-child(4){margin-left:24px}.choice:nth-child(5){margin-right:24px}.topic-icon{width:136px;height:128px}.choice-title{font-size:27px}.choice-description{font-size:18px}.welcome p{font-size:24px}footer{font-size:23px}}
@media(max-width:760px){.header{padding:13px 18px;border-bottom-width:4px;gap:12px}.brand{font-size:23px}.parent-link{font-size:17px}.welcome{margin:24px 14px}.welcome h1{font-size:clamp(25px,5.8vw,43px);padding:14px 23px 18px;line-height:1.4}.welcome p{font-size:20px;margin-top:12px}.choices{display:flex;flex-direction:column;gap:16px;padding:0 20px}.choice,.choice:nth-child(n+4){display:grid;grid-template-columns:82px minmax(0,1fr) 44px;min-height:142px;padding:18px 16px;gap:12px;border-width:3px;border-radius:26px;margin:0;text-align:left}.topic-icon{width:82px;height:82px}.choice-title{font-size:25px;white-space:normal;line-height:1.5}.choice-description{font-size:17px;line-height:1.65}.go{min-width:40px;height:40px;margin:0}.go svg{width:24px;height:24px}footer{font-size:20px;margin:22px 15px 24px}}
@media(max-width:450px){.header{padding:10px 14px;gap:8px}.brand{font-size:20px}.parent-link{font-size:15px}.welcome h1{font-size:26px;padding:13px 16px 17px}.welcome p{font-size:18px}.choices{padding:0 14px;gap:14px}.choice,.choice:nth-child(n+4){grid-template-columns:62px minmax(0,1fr) 32px;gap:10px;padding:17px 12px;min-height:132px;border-radius:22px}.topic-icon{width:62px;height:72px}.choice-title{font-size:22px}.choice-description{font-size:15px}.go{min-width:32px;height:34px}.go svg{width:20px;height:20px}footer{font-size:18px}.reading-page{padding:0 18px}.reading-page p,.reading-page li{font-size:17px}}
@media(prefers-reduced-motion:reduce){.choice{transition:none}.choice:hover{transform:none}}

.transfer-card{border-bottom:1px solid #ccd8d0;padding-bottom:20px}.transfer-card .bookmark{max-width:100%;white-space:normal}.reading-page .notice h2{margin-top:0}@media(max-width:450px){.reading-page .notice{padding:14px}.transfer-card ol{padding-left:23px}.transfer-card .bookmark{font-size:17px;padding:12px 14px;width:100%;justify-content:center}}
