*{box-sizing:border-box}:root{--paper:#faf9f4;--surface:#fffef9;--pine:#254b39;--ink:#283a30;--muted:#5f695e;--line:#d8d9c9;--red:#a64a34;--serif:"Hiragino Mincho ProN","Yu Mincho",YuMincho,"Noto Serif CJK JP",serif;--sans:"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif}body{background:var(--paper);color:var(--ink);font:1rem/1.75 var(--sans);-webkit-font-smoothing:antialiased;margin:0}h1,h2,h3,p{margin:0}a{color:var(--pine);text-underline-offset:.2em}button,input{font:inherit}button{cursor:pointer}button,a,input,summary{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline-offset:3px;outline:3px solid #9b5b22}[hidden]{display:none!important}.wrap{width:min(1152px,100% - 96px);margin-inline:auto}.sr,.skip:not(:focus){clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.skip:focus{z-index:9;background:#fff;padding:8px;position:absolute}.mast{border-bottom:1px solid var(--line);background:#fffef9}.mast-row{justify-content:space-between;align-items:center;gap:16px;min-height:73px;display:flex}.brand{color:var(--pine);font:700 1.35rem/1.4 var(--serif);letter-spacing:.035em;align-items:center;gap:12px;text-decoration:none;display:inline-flex}.seal{background:var(--red);outline-offset:-4px;color:#fff9e7;width:35px;height:37px;font:700 1.5rem/1 var(--serif);border-radius:4px 3px 5px 2px;outline:1px solid #f6dfc9;place-items:center;display:inline-grid;transform:rotate(-3deg)}.mast nav{gap:9px;display:flex}.mast nav a{color:var(--muted);border-radius:5px;align-items:center;gap:7px;padding:9px 14px;font-size:.875rem;font-weight:600;text-decoration:none;display:flex}.mast nav a:hover,.mast nav a[aria-current]{color:var(--pine);background:#e9eee3}.hero{isolation:isolate;background:#f7f1df;border-bottom:1px solid #cecbb5;position:relative;overflow:hidden}.hero:before{content:"";z-index:-1;background-image:linear-gradient(90deg,#fbf8ede3,#fbf8ed85 32%,#0000 57%),url(/forest.webp);background-position:50% 60%;background-size:cover;position:absolute;inset:0}.hero-content{padding-block:42px 38px}.hero-label{color:#566442;letter-spacing:.15em;align-items:center;gap:10px;font-size:.84rem;font-weight:700;display:flex}.hero-label span{background:#8b926e;width:29px;height:2px}.hero h1{font:700 clamp(2.75rem,4.3vw,4rem)/1.21 var(--serif);letter-spacing:.055em;color:#243f2d;margin:12px 0 13px}.hero-lead{letter-spacing:.02em;color:#3d4a3c;font-size:1rem;line-height:1.85}.button{color:#fffef4;background:var(--pine);border:1px solid var(--pine);border-radius:6px;justify-content:center;align-items:center;gap:10px;min-height:44px;padding:10px 20px;font-size:.94rem;font-weight:650;text-decoration:none;display:inline-flex}.button:hover{background:#345e46}.hero .button{margin-top:18px}.study-layout{grid-template-columns:minmax(0,1fr) minmax(245px,29%);gap:clamp(24px,3.6vw,54px);padding-top:34px;padding-bottom:60px;display:grid}.section-title,.inner h2{font:700 1.65rem/1.5 var(--serif);color:var(--pine)}.section-title{align-items:center;gap:10px;display:flex}.section-title svg{color:#5c784e}.filters{border:0;flex-wrap:wrap;gap:6px;margin:16px 0 20px;padding:0;display:flex}.filters button,.mode-button{border:1px solid var(--line);color:var(--muted);background:#fffef9;border-radius:30px;min-height:36px;padding:5px 16px;font-size:.875rem}.filters button:hover{border-color:var(--pine)}.filters button[aria-pressed=true],.mode-button[aria-pressed=true]{background:var(--pine);border-color:var(--pine);color:#fff}.catalog{scroll-margin-top:20px}.level-group{--tile:#edf0df;--rule:#ccd5b5;--glyph:#52673c;margin:18px 0 25px}.secondary{--tile:#e5ece5;--rule:#c2d2c6;--glyph:#4c6c60}.advanced{--tile:#f2e7d9;--rule:#deccba;--glyph:#885e41}.level-group h3{color:#4b5949;letter-spacing:.055em;align-items:center;gap:9px;margin:0 0 11px;font-size:.92rem;font-weight:650;display:flex}.level-group h3:after{content:"";background:var(--line);flex:1;height:1px;margin-left:6px}.group-dot{background:var(--glyph);border-radius:50%;width:8px;height:8px}.cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.grade-card{background:var(--surface);border:1px solid var(--line);border-radius:7px;align-items:center;gap:12px;min-height:87px;padding:14px 12px;text-decoration:none;transition:background-color .15s,border-color .15s;display:flex}.grade-card:hover,.review-link:hover{background:#f4f5e9;border-color:#7e9178}.grade-card strong{font:700 1.38rem/1.4 var(--serif)}.grade-card small,.review-link small{color:var(--muted);font-size:.82rem;line-height:1.5;display:block}.writing-grid{color:var(--glyph);background-color:var(--tile);background-image:linear-gradient(90deg,transparent calc(50% - .5px),var(--rule) 50%,transparent calc(50% + .5px)),linear-gradient(0deg,transparent calc(50% - .5px),var(--rule) 50%,transparent calc(50% + .5px));font-family:var(--serif);border:1px solid var(--rule);place-items:center;line-height:1;display:grid;position:relative}.card-glyph{border-radius:3px;flex:none;width:46px;height:48px;font-size:1.85rem}.side{min-width:0}.daily{background:#f0f2e7;border:1px solid #cad1bc;border-radius:9px;overflow:hidden}.daily-head{border-bottom:1px solid #d4d9c6;justify-content:space-between;align-items:center;gap:8px;padding:12px 18px;display:flex}.daily-head h2{color:var(--pine);font:700 1.15rem/1.5 var(--serif);align-items:center;gap:8px;display:flex}.daily-head time{color:var(--muted);font-size:.79rem}.daily-body{grid-template-columns:auto 1fr;align-items:center;gap:16px;padding:18px 20px 16px;display:grid}.daily-glyph{--glyph:#304a35;--tile:#faf8ed;--rule:#d2d2b9;width:88px;height:88px;font-size:3.8rem}.daily-readings{gap:5px;display:grid}.daily-readings div{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.daily-readings small{color:var(--muted);font-size:.75rem}.daily-readings span{font-size:.95rem}.daily-note{border-top:1px dashed #c4ccb6;grid-column:1/-1;padding-top:10px}.daily-note strong{font:700 1.1rem var(--serif)}.daily-note p{color:var(--muted);margin-top:3px;font-size:.9rem}.review-link{background:var(--surface);border:1px solid var(--line);border-radius:7px;align-items:center;gap:12px;margin-top:14px;padding:15px;text-decoration:none;display:flex}.review-icon{color:#916748;background:#f2e7da;border-radius:50%;flex:none;place-items:center;width:43px;height:43px;display:grid}.review-link>svg{margin-left:auto}footer{border-top:1px solid var(--line);background:#f0f1e8}.foot{justify-content:space-between;align-items:center;gap:24px;padding-block:24px;display:flex}.footbrand{font-size:1rem}.footbrand .seal{width:27px;height:28px;font-size:1.1rem}.foot p,.foot-links{color:var(--muted);font-size:.82rem}.foot p{margin-top:7px}.foot-links{flex-wrap:wrap;gap:16px;display:flex}@media (width<=960px){.wrap{width:calc(100% - 52px)}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.hero:before{background-position:50%}.mast nav{gap:2px}.mast nav a{padding-inline:10px}}@media (width<=720px){.wrap{width:calc(100% - 36px)}.mast-row{flex-direction:column;align-items:flex-start;gap:4px;padding-top:13px}.brand{font-size:1.12rem}.mast nav{justify-content:space-between;width:100%}.mast nav a{border-radius:4px 4px 0 0;padding:6px 10px;font-size:.84rem}.mast nav svg{width:16px}.seal{width:29px;height:31px;font-size:1.25rem}.hero-content{padding-block:28px 25px}.hero h1{font-size:clamp(2.5rem,8vw,3rem)}.hero:before{background-image:linear-gradient(90deg,#faf6e9 0%,#faf6e9d6 42%,#faf6e921 100%),url(/forest.webp);background-position:62%}.hero-lead{max-width:26em;font-size:.91rem}.study-layout{padding-block:25px 40px;display:block}.side{margin-top:27px}.section-title{font-size:1.48rem}.foot{flex-direction:column;align-items:flex-start}.grade-card{gap:9px;min-height:76px;padding:10px}.card-glyph{width:38px;height:42px;font-size:1.6rem}.grade-card small{font-size:.78rem}.daily-body{grid-template-columns:88px 1fr}.daily-head{padding-block:10px}.filters{gap:5px}.filters button{padding:5px 12px}.cards{gap:8px}.grade-card strong{font-size:1.23rem}}@media (width<=350px){.wrap{width:calc(100% - 24px)}.grade-card{gap:6px;padding:8px}.card-glyph{width:32px}.hero-lead{font-size:.87rem}}.inner{max-width:800px;min-height:65vh;padding-block:32px 64px}.back{font-size:.9rem}.practice-title{align-items:center;gap:17px;margin:26px 0;display:flex}.practice-title p,.storage-foot,.help{color:var(--muted)}.practice-title p{font-size:.88rem}.practice-title h1,.inner>h1{font:700 clamp(1.7rem,5vw,2.45rem)/1.45 var(--serif);color:var(--pine)}.title-glyph{--tile:#e7ecd9;--rule:#c8d1b6;--glyph:#52673c;width:64px;height:66px;font-size:2.7rem}.practice-title .review-icon{width:60px;height:60px}.practice-panel{background:var(--surface);border:1px solid var(--line);border-top:3px solid #859573;border-radius:8px;padding:clamp(22px,4vw,38px)}.practice-panel .panel-mark{color:#627b52;margin-bottom:8px}.practice-panel h2{font-size:1.5rem}.help{margin:8px 0 19px}.start-modes,.actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.mode-count{font-size:.78rem;font-weight:400}.mode-count:empty{display:none}.secondary-button{color:var(--pine);background:#fffef9;border-color:#9aa991}.secondary-button:hover{background:#eff2e7}.examples{border-bottom:1px solid var(--line);margin-top:16px;padding:18px 0}.examples summary{cursor:pointer;font-weight:600}.examples li{padding-block:10px}.examples ol{margin-bottom:0;padding-left:1.6em}.examples p,.storage-foot{font-size:.92rem}.storage-foot{margin-top:14px}.question-meta{color:var(--pine);justify-content:space-between;font-size:.92rem;font-weight:700;display:flex}progress{appearance:none;background:#e3e7d8;border:0;border-radius:8px;width:100%;height:6px;overflow:hidden}progress::-webkit-progress-bar{background:#e3e7d8}progress::-webkit-progress-value{background:#688855}progress::-moz-progress-bar{background:#688855}#instruction{margin:18px 0 8px}#prompt{margin-bottom:22px;font-size:clamp(1.55rem,3.6vw,2.1rem);line-height:1.7}mark{color:var(--pine);background:#edf0d9;border-bottom:2px solid #738557}#answer-form label{color:var(--muted);font-size:.92rem;display:block}#answer{background:#fff;border:1px solid #a6b39c;border-radius:5px;width:100%;max-width:28rem;margin:6px 0 16px;padding:8px 12px;font-size:1.2rem;display:block}.text-button{color:var(--pine);background:0 0;border:0;border-bottom:1px solid;padding:5px 0;font-size:.9rem}.feedback{background:#eef2e6;border-radius:6px;padding:16px 20px}.feedback h3{color:var(--pine);font-size:1rem}.model-answer{margin:5px 0}.model-answer strong{font:700 1.6rem var(--serif)}.feedback+.actions,.next-button{margin-top:16px}#storage-warning{color:var(--red);margin-block:12px}.ink-cells{flex-wrap:wrap;gap:8px;margin:10px 0;display:flex}.ink-cell,.stroke-figure,.stroke-strip svg{background-color:#fffdf5;border:1px solid #b7c0ab;border-radius:5px}.ink-cell{aspect-ratio:1;cursor:crosshair;touch-action:none;-webkit-user-select:none;user-select:none;background-image:linear-gradient(90deg,#0000 49.6%,#e3e5d8 50%,#0000 50.4%),linear-gradient(#0000 49.6%,#e3e5d8 50%,#0000 50.4%);width:min(12rem,50% - 4px);display:block}.ink-cell:only-child{width:min(14rem,100%)}.ink-cell path{fill:none;stroke:var(--ink);stroke-width:2.4px;stroke-linecap:round;stroke-linejoin:round}.ink-tools{gap:18px;margin-block:6px 16px;display:flex}#ink-caption,#stroke-links{font-size:.92rem}#stroke-links{margin-top:10px}#ink-cells{margin-bottom:14px}#ink-actions{margin-top:10px}button:disabled{opacity:.5;cursor:default}#handwriting:has(#ink-actions[hidden]) .ink-cell{touch-action:auto;cursor:default}.char-list{flex-wrap:wrap;gap:8px;display:flex}.char-list a{background:var(--surface);border:1px solid var(--line);min-width:2.65rem;min-height:2.65rem;font:600 1.5rem var(--serif);border-radius:4px;place-items:center;text-decoration:none;display:grid}.char-list a:hover{background:#e9eedf;border-color:#86957b}.stroke-catalog{margin-top:28px}.stroke-catalog h2{margin-bottom:12px}.stroke-row{border-bottom:1px solid var(--line);align-items:baseline;gap:12px;padding-block:12px;display:flex}.stroke-row h3{min-width:3.1rem;font-size:1rem}.lesson-body{align-items:center;gap:24px;margin-block:22px 12px;display:flex}.stroke-figure{flex:none;width:min(42%,225px)}.lesson-copy{min-width:0}.stroke-tip{margin-top:8px}.guides path{fill:none;stroke:#ccd4bc;stroke-width:.5px;stroke-dasharray:2 2}.outlines,#strokes,.strip-ink{fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:3px}.outlines{stroke:#d8dccd}#strokes,.strip-ink{stroke:var(--pine)}.current{stroke:var(--red)}.quiz-target{stroke-width:5px}#pen-start{fill:#fffdf2;stroke:#91442e;stroke-width:1px}.step-buttons{gap:8px}.step-buttons button,#choices button{padding-inline:12px}#quiz-result:not(:empty){margin-block:12px;font-weight:700}.stroke-strip{grid-template-columns:repeat(auto-fill,minmax(65px,1fr));gap:9px;list-style:none;display:grid}.examples .stroke-strip{padding:0}.examples .stroke-strip li{text-align:center;padding:0;font-size:.8rem}.stroke-strip svg{width:100%;display:block}.credit{color:var(--muted);margin-top:22px;font-size:.83rem}@media (width<=720px){.mast nav{flex-wrap:wrap}.mast nav a{gap:4px;padding-inline:5px}.lesson-body{flex-direction:column;align-items:flex-start;gap:12px}.stroke-figure{align-self:center;width:min(100%,210px)}}@media (width<=370px){.mast nav a svg{display:none}}.stroke-compare{margin:8px 0 14px}.stroke-compare summary{cursor:pointer;color:var(--pine);font-weight:650}.compare-pair{gap:8px;margin:8px 0;display:flex}.compare-pair figure{width:min(50% - 4px,10rem);margin:0}.compare-pair svg{background:var(--surface);fill:none;width:100%;stroke:var(--pine);stroke-width:2.6px;stroke-linecap:round;stroke-linejoin:round;border:1px solid #bcc5b0;border-radius:4px;display:block}.stroke-compare label{max-width:21rem;display:grid}.stroke-compare input{width:100%;accent-color:var(--pine);min-height:30px}.list-entry{justify-content:space-between}.list-entry span{color:var(--muted);font-size:.9rem}@media (width<=420px){.mast nav a svg{display:none}}
