:root{--paper:#f6f1e4;--card:#fffdf7;--ink:#2b2622;--mute:#7a6f62;--rule:#e0d6c2;--red:#b22c22;--red2:#fbeee9;
--serif:"Noto Serif SC","Noto Serif CJK SC","Source Han Serif SC","Songti SC","STSong","SimSun","Noto Serif",serif}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--serif);font-size:17px;line-height:1.85;
background-image:radial-gradient(rgba(120,100,70,.05) 1px,transparent 1px);background-size:5px 5px}
a{color:var(--red);text-decoration:none;border-bottom:1px solid rgba(178,44,34,.3)}
a:hover{border-bottom-color:var(--red)}
.wrap{max-width:46rem;margin:0 auto;padding:0 1.1rem}
header.site{border-bottom:1px solid var(--rule);background:rgba(255,253,247,.6)}
header.site .wrap{display:flex;align-items:center;gap:.8rem;padding-top:.7rem;padding-bottom:.7rem}
header.site img{width:48px;height:48px;border-radius:0;flex:none;display:block}
header.site a{border:0}
.brand b{white-space:nowrap}
.brand{border:0;color:var(--ink);display:block;line-height:1.3}
.brand b{font-size:1.25rem;letter-spacing:.08em;display:block}
.brand small{color:var(--mute);font-size:.78rem;letter-spacing:.05em}
nav.top{margin-left:auto;display:flex;gap:.9rem;font-size:.95rem;flex-wrap:wrap;justify-content:flex-end}
nav.top a{border:0;color:var(--ink)}
nav.top a.on{color:var(--red)}
main{padding:1.4rem 0 2.5rem}
h1,h2,h3{line-height:1.4;font-weight:700}
h1{font-size:1.7rem;margin:.3rem 0 .6rem;letter-spacing:.03em}
h2{font-size:1.3rem;margin:2.2rem 0 .8rem;display:flex;align-items:center;gap:.55rem}
h2:before{content:"";width:.8rem;height:.8rem;background:var(--red);border-radius:2px;flex:none;transform:rotate(45deg)}
h3{font-size:1.08rem;margin:1.6rem 0 .5rem;color:var(--red)}
p{margin:.7rem 0}
blockquote{margin:1rem 0;padding:.8rem 1rem .7rem 1.1rem;background:var(--card);border-left:3px solid var(--red);border-radius:0 4px 4px 0;box-shadow:0 1px 0 var(--rule)}
blockquote p{margin:.3rem 0}
blockquote cite{display:block;text-align:right;color:var(--mute);font-style:normal;font-size:.88rem;margin-top:.3rem}
figure{margin:1.3rem 0;text-align:center}
figure img,figure svg{max-width:100%;height:auto;background:#fff;border:1px solid var(--rule);border-radius:4px}
figure.page img{box-shadow:0 2px 8px rgba(60,40,20,.12)}
figure.svg svg{background:var(--card);padding:.4rem;width:100%;max-width:440px}
figcaption{font-size:.85rem;color:var(--mute);margin-top:.4rem;line-height:1.6}
table.cmp{width:100%;border-collapse:collapse;font-size:.92rem;margin:1rem 0;background:var(--card)}
table.cmp th,table.cmp td{border:1px solid var(--rule);padding:.45rem .5rem;text-align:left;vertical-align:top}
table.cmp th{background:var(--red2);color:var(--red)}
ol,ul{padding-left:1.4rem}li{margin:.3rem 0}
.note{font-size:.9rem;color:var(--mute);background:var(--card);border:1px dashed var(--rule);padding:.6rem .8rem;border-radius:4px}
.meta{color:var(--mute);font-size:.9rem}
.kicker{display:inline-block;color:var(--red);border:1.5px solid var(--red);padding:0 .45rem;border-radius:3px;font-size:.85rem;letter-spacing:.1em}
section.q{background:var(--red2);border-radius:6px;padding:.2rem 1.1rem 1rem;margin-top:2rem}
.hero{text-align:center;padding:1.5rem 0 1rem}
.hero img{width:112px;height:112px;border-radius:0}
.hero h1{font-size:2rem;letter-spacing:.2em;margin:.6rem 0 .2rem}
.motto{font-size:1.2rem;margin:.8rem auto .2rem;max-width:30rem;text-wrap:balance}
.motto:before,.motto:after{color:var(--red)}
.motto:before{content:"「"}.motto:after{content:"」"}
.seal{display:inline-block;writing-mode:vertical-rl;border:2px solid var(--red);color:var(--red);padding:.3rem .15rem;font-size:.85rem;letter-spacing:.2em;border-radius:3px;line-height:1.2}
.cards{list-style:none;padding:0;margin:0}
.cards li{background:var(--card);border:1px solid var(--rule);border-radius:6px;padding:.8rem 1rem;margin:.7rem 0}
.cards li.todo{opacity:.72;background:transparent}
.cards .no{color:var(--red);font-weight:700;margin-right:.4rem}
.cards .st{float:right;font-size:.8rem;color:var(--mute)}
.cards .st.on{color:var(--red)}
.cards p{margin:.25rem 0 0;font-size:.93rem;color:#4a423a}
.pager{display:flex;justify-content:space-between;gap:1rem;margin-top:2.4rem;padding-top:1rem;border-top:1px solid var(--rule);font-size:.95rem}
.pager span{color:var(--mute)}
footer{border-top:1px solid var(--rule);color:var(--mute);font-size:.8rem;line-height:1.7;padding:1.2rem 0 2rem;text-align:center}
footer p{margin:.25rem 0}
.listen{display:flex;align-items:center;gap:.8rem;background:var(--card);border:1px solid var(--rule);border-left:3px solid var(--red);border-radius:0 6px 6px 0;padding:.6rem .8rem;margin:1rem 0 .2rem}
.listen .lbl{flex:none;color:var(--red);font-weight:700;letter-spacing:.1em;line-height:1.3;text-align:center}
.listen .lbl small{display:block;font-weight:400;font-size:.75rem;color:var(--mute);letter-spacing:0}
.listen audio{flex:1;min-width:0;width:100%;height:40px}
.listen-note{font-size:.78rem;margin:.2rem 0 0}
@media (max-width:560px){body{font-size:16.5px}header.site .wrap{gap:.55rem;padding-left:.8rem;padding-right:.8rem}nav.top{gap:.55rem;font-size:.84rem;flex-wrap:nowrap;white-space:nowrap}.brand b{font-size:1.02rem;letter-spacing:.03em}.brand small{display:none}header.site img{width:38px;height:38px}h1{font-size:1.45rem}.hero h1{font-size:1.6rem;letter-spacing:.12em}table.cmp{font-size:.84rem}.motto{font-size:1.02rem;letter-spacing:0}}
