@font-face{font-family:Bricolage;src:url(/brand.woff2) format("woff2");font-weight:200 800;font-display:swap}:root{color-scheme:light;--ink: #26301c;--muted: #52614a;--forest: #334b22;--leaf: #dbe8ad;--soft: #eff3e2;--ground: #fbfcf7;--line: #d8dfca;--paper: #fff;--red: #9f3935;--rose: #f7ebe7;--song: "Songti SC", "Noto Serif CJK SC", "SimSun", serif;font-family:system-ui,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--ground);color:var(--ink);line-height:1.56}button,input,select{font:inherit}a{color:inherit;text-decoration:none}button{cursor:pointer;color:inherit}button:disabled{cursor:wait;opacity:.55}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}:focus-visible{outline:3px solid #768948;outline-offset:3px}img{display:block;max-width:100%}p,h1,h2,h3,ul{margin:0}ul{padding:0;list-style:none}.wrap{width:min(1120px,calc(100% - 56px));margin:0 auto}.site-bar{background:var(--paper);border-bottom:1px solid var(--line)}.bar-inner{min-height:67px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:inline-flex;gap:10px;align-items:center;min-width:0}.brand img{width:33px;height:33px;object-fit:contain}.brand span{display:grid;line-height:1.07;gap:3px}.brand strong{font-family:Bricolage,system-ui,sans-serif;font-size:1.08rem;font-weight:720}.brand small{font-size:.81rem;color:var(--muted)}.hero{display:grid;grid-template-columns:minmax(0,1.14fr) minmax(0,.86fr);align-items:center;min-height:284px;padding:36px 0 30px;gap:clamp(12px,4vw,60px)}.eyebrow{display:flex;align-items:center;flex-wrap:wrap;gap:10px;color:var(--forest);font-size:.9rem}.eyebrow b{font-family:Bricolage,system-ui,sans-serif;font-weight:730;letter-spacing:.04em}.eyebrow span{border-left:1px solid #a9b594;padding-left:10px}h1,h2{font-family:var(--song);font-weight:720}h1{font-size:clamp(2.4rem,5.8vw,4.55rem);line-height:1.17;letter-spacing:-.055em;margin:9px 0 12px}h2{font-size:clamp(1.5rem,3vw,2.2rem);letter-spacing:-.027em}.hero-description{font-size:clamp(1rem,1.7vw,1.2rem);color:var(--muted)}.hero-tally{display:flex;align-items:baseline;flex-wrap:wrap;gap:.44em;margin-top:16px;color:var(--forest);font-size:.9rem}.hero-tally b{font-family:Bricolage,system-ui,sans-serif;font-size:1.3rem;font-weight:710}.hero-tally span{padding:0 .35em}.hero-art{justify-self:end;display:grid;place-items:center;isolation:isolate;position:relative;width:min(100%,368px)}.hero-art:before{content:"";position:absolute;width:73%;aspect-ratio:1.66;z-index:-1;background:#e9efcf;border:1px solid #d6dfa7;border-radius:50%}.hero-art img{width:100%;height:auto}.marking{background:var(--soft);border:1px solid var(--line);border-radius:14px;padding:12px 17px 13px}.marking summary{cursor:pointer;font-size:.94rem;font-weight:680;width:fit-content}.marking ul{display:flex;flex-wrap:wrap;column-gap:clamp(14px,4vw,42px);row-gap:7px;margin:8px 0 6px}.marking li{display:flex;align-items:center;gap:7px;font-size:.91rem}.marking li b{margin-right:4px}.marking p{font-size:.88rem;color:var(--muted)}.red-tick,.red-ring,.dark-ring{width:15px;height:15px;display:inline-grid;place-items:center;flex:0 0 auto}.red-tick{color:var(--red);font-size:1.12rem;line-height:1;font-weight:720}.red-ring,.dark-ring{border:1.5px solid var(--red);border-radius:50%}.dark-ring{border-color:var(--ink)}.notebook{padding-block:31px 70px}.section-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:13px}.review-storage{margin:0 0 14px;color:var(--muted);font-size:.88rem}.primary,.secondary{min-height:42px;display:inline-flex;justify-content:center;align-items:center;border-radius:9px;padding:7px 15px;font-size:.92rem;font-weight:670;border:1px solid transparent}.primary{background:var(--forest);color:#fff}.primary:hover{background:#243b18}.secondary{background:var(--paper);border-color:var(--line)}.secondary:hover,.part-tab:hover{background:var(--soft)}.filters{padding:13px 15px 12px;border:1px solid var(--line);background:#fff;border-radius:14px}.filter-fields{display:grid;grid-template-columns:minmax(0,.65fr) minmax(0,1fr);gap:12px}label{display:grid;gap:5px;color:var(--forest);font-size:.9rem;min-width:0}input,select{color:var(--ink);min-width:0;width:100%;min-height:41px;border:1px solid #ccd5bc;padding:7px 9px;background:#fdfff9;border-radius:8px}select{appearance:none;padding-right:29px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='m1 1 4.5 4.5L10 1' fill='none' stroke='%23445239' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 11px center}.parts{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.part-tab{border:1px solid var(--line);border-radius:8px;padding:7px 10px;min-height:36px;background:#fff;font-size:.89rem}.part-tab span{margin-left:.4em;color:var(--muted);font-size:.84rem}.part-tab[aria-pressed=true]{font-weight:680;border-color:#bbcc9b;background:var(--soft);color:var(--forest)}.result-head{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;justify-content:space-between;padding:11px 0 9px}.result-head p{color:var(--muted);font-size:.9rem}.result-head label{display:flex;align-items:center}input[type=checkbox]{width:16px;height:16px;min-height:0;accent-color:var(--forest);margin:0}.records{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.record{min-width:0;border:1px solid var(--line);background:var(--paper);border-radius:13px;padding:13px 14px 10px}.record-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.record-head p{font-size:.85rem;color:var(--muted)}.record h5,.record h4{line-height:1.25;font-size:1.18rem;margin:3px 0 10px;font-family:var(--song)}.state{white-space:nowrap;font-size:.8rem;border-radius:5px;padding:3px 7px}.pending{color:#77451b;background:#fbefe1}.done{color:var(--forest);background:var(--soft)}.collection-tabs,.review-filters{display:flex;flex-wrap:wrap;gap:7px}.collection-tabs{margin-block:0 18px}.collection-tabs .part-tab{min-height:42px;padding-inline:13px}.type-group{margin:10px 0 28px}.type-group>h3{padding-block:9px;border-bottom:1px solid var(--line);font-family:var(--song)}.year-group{margin-top:13px}.year-group>:is(h3,h4){font-size:.97rem;color:var(--muted);margin:0 0 8px}.paper-stem,.paper-option>[lang=ja]{font-family:Hiragino Mincho ProN,Yu Mincho,"Noto Serif CJK JP",serif}.paper-stem{margin:3px 0 11px;font-size:1.13rem;line-height:1.65;overflow-wrap:anywhere}.paper-stem u{text-underline-offset:.2em}.paper-options{display:grid;gap:6px;padding:0;margin:0;border:0;min-width:0}.paper-options legend{font-size:.87rem;color:var(--muted);margin-bottom:6px}.paper-option{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:8px;min-height:42px;padding:6px 8px;color:var(--ink);cursor:pointer}.paper-option>input[type=radio]{width:16px;height:16px;min-height:0;margin:0;padding:0;accent-color:var(--forest);flex:none}.paper-option>[lang=ja]{font-size:1.03rem;overflow-wrap:anywhere}.paper-option.selected{border-color:#82975e;background:var(--soft)}.paper-option.correct{border-color:#82975e;background:var(--leaf)}.paper-option.wrong{border-color:#ba756f;background:var(--rose)}.exercise-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin-top:10px}.exercise-result{color:var(--forest);font-size:.94rem;font-weight:650}.paper-feedback{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:10px 0 0}.paper-feedback div{border-radius:8px;background:var(--soft);padding:7px 8px}.paper-feedback dt{color:var(--muted);font-size:.83rem}.paper-feedback dd{margin:0;overflow-wrap:anywhere}.remove-mark{color:var(--red)}.undo-remove{margin-bottom:8px}.marked-items li{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid var(--line);padding-block:5px}.choice-number{border:1px solid currentColor;border-radius:50%;width:22px;height:22px;flex:0 0 auto;display:grid;place-items:center;font-family:Bricolage,system-ui,sans-serif;font-size:.86rem;line-height:1}.record-actions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px 12px;margin-top:3px}.quiet{font-size:.84rem;color:var(--forest);background:transparent;border:0;min-height:33px;padding:3px 1px}.quiet:hover{text-decoration:underline;text-underline-offset:3px}.empty{padding:19px;background:#fff;border:1px dashed #cdd6bd;border-radius:12px;color:var(--muted)}.empty .primary,.empty .secondary{margin-top:10px}.message{color:var(--forest);margin-bottom:9px}.check-note{margin-top:7px;color:var(--muted);font-size:.88rem}.editor{color:var(--ink);width:min(560px,calc(100% - 28px));max-height:calc(100dvh - 28px);border:1px solid var(--line);border-radius:16px;padding:clamp(16px,4vw,26px)}.editor::backdrop{background:#1a251170}.editor form{display:grid;gap:10px}.editor h2{font-size:1.7rem}.editor p{font-size:.92rem}.form-meta{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(60px,.55fr);gap:8px}.form-choices{display:grid;grid-template-columns:minmax(76px,.55fr) minmax(0,1.45fr);gap:8px}.form-error{color:var(--red)}.dialog-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:7px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}@media(max-width:680px){.wrap{width:calc(100% - 28px)}.bar-inner{min-height:57px}.hero{padding:20px 0 15px;min-height:0;grid-template-columns:minmax(0,1fr) minmax(90px,.43fr);gap:4px}h1{font-size:clamp(2.1rem,7.6vw,3rem)}.hero-tally{margin-top:9px}.marking{padding:10px 12px}.marking ul{column-gap:12px}.notebook{padding-top:20px}.records{grid-template-columns:1fr}.filters{padding:10px}}@media(max-width:385px){.brand strong{font-size:1rem}.hero{grid-template-columns:minmax(0,1fr) minmax(66px,.33fr)}.hero-description{font-size:.94rem}.form-meta{grid-template-columns:1fr 1fr}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
