:root{color-scheme:light;--ink:#182c26;--muted:#4d6057;--forest:#17382e;--paper:#f7f7f0;--line:#d6dfd4;--accent:#dce9a8;font-family:system-ui,"Hiragino Sans",sans-serif;color:var(--ink);background:var(--paper);line-height:1.75}
*{box-sizing:border-box}
body{margin:0}
a{color:#1f5543;text-underline-offset:.22em}
a:hover{text-decoration-thickness:.14em}
:focus-visible{outline:3px solid #c8763d;outline-offset:4px}
h1,h2,h3,p{margin:0 0 .7em}
h1,h2,h3{line-height:1.4}
h1{font-size:clamp(1.95rem,5vw,3.7rem);letter-spacing:.025em}
h2{font-size:clamp(1.4rem,3vw,2rem)}
h3{font-size:1.25rem}
.wrap{max-width:1240px;margin:auto;padding-inline:clamp(1.2rem,5vw,4rem)}
.skip{position:fixed;top:.4rem;left:.5rem;background:white;padding:.5rem;transform:translateY(-150%);z-index:1}
.skip:focus{transform:none}
.site-header{background:var(--paper);border-bottom:1px solid var(--line)}
.header-inner,.footer-inner{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding-block:1rem}
nav{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1.35rem;font-size:.9rem;font-weight:650}
nav a,.brand{text-decoration:none}
nav a:hover,.brand:hover{text-decoration:underline}
.brand{display:inline-flex;align-items:center;gap:.6rem;font-weight:800;color:inherit;white-space:nowrap;letter-spacing:.06em}
.mark{display:grid;place-items:center;width:2rem;height:2rem;background:var(--forest);color:white;border-radius:.28rem;font-family:serif}
.search-link{border:1px solid #a8b9ac;padding:.25rem .8rem;border-radius:2rem}
.hero{background:var(--forest);color:#fff}
.hero-inner{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(1rem,4vw,3rem);padding-block:clamp(1.6rem,5vw,4rem)}
.hero-copy p{max-width:26rem;color:#e1ede4;margin-bottom:1.6rem}
.hero-image{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;height:auto;border-radius:.55rem}
.hero-fallback{display:grid;place-items:center;background:radial-gradient(ellipse at 25% 15%,#b9cb9a,transparent 65%),linear-gradient(135deg,#576f55,#263a2f);color:#f1f4df;font:clamp(5rem,14vw,12rem)/1 serif}
.button{display:inline-block;border:0;border-radius:.25rem;background:var(--accent);color:#17291d;padding:.66rem 1rem;font:inherit;font-weight:750;text-decoration:none;cursor:pointer}
.button:hover{background:#eff5cb}
.home-content,.page-content{padding-block:2rem 4rem}
main section+section, .article+section{margin-top:2.5rem}
.disclosure,.sample{border-left:3px solid #77946a;background:#edf2e5;padding:.65rem .85rem;font-size:.9rem}
.home-content>.disclosure{margin-bottom:2rem}
.cards,.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.card,.category-grid>a{border:1px solid var(--line);background:#fff;border-radius:.4rem;padding:1.2rem}
.card h3 a{color:inherit}
.card p,.category-grid span,.dates,.card time{color:var(--muted)}
.card time,.dates{font-size:.875rem}
.tag{display:inline-block;margin-bottom:.7rem;color:#295541;background:#e9f1e5;border-radius:.2rem;padding:.15rem .5rem;font-size:.875rem;font-weight:650}
.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.category-grid>a{display:grid;text-decoration:none;gap:.35rem}
.category-grid>a:hover{border-color:var(--forest);text-decoration:underline}
.crumbs{margin-bottom:1.2rem}
.page-heading{max-width:52rem;margin-bottom:1.6rem}
.page-heading>p:first-of-type{color:var(--muted)}
.article .page-heading h1,.page-content.narrow h1{font-size:clamp(1.85rem,4vw,3rem)}
.prose{max-width:48rem;margin-block:1.75rem}
.prose h2:not(:first-child){margin-top:1.5rem}
.table-scroll{overflow:auto;border:1px solid var(--line);border-radius:.3rem}
table{border-collapse:collapse;background:white;width:100%;min-width:44rem}
td,th{text-align:left;vertical-align:top;padding:.75rem;border-bottom:1px solid var(--line)}
thead{background:var(--forest);color:white}
tr:last-child td,tr:last-child th{border-bottom:0}
footer{border-top:1px solid var(--line);background:#eaf0e4}
.footer-inner{padding-block:1.5rem;align-items:flex-start}
.footer-inner p{margin:.5rem 0 0;color:var(--muted);font-size:.9rem}
.search-form{display:flex;gap:.5rem;margin:.4rem 0 1rem}
input[type=search]{width:min(100%,32rem);min-width:0;border:1px solid #819487;border-radius:.25rem;font:inherit;padding:.5rem}
@media(max-width:760px){
 .hero-inner{grid-template-columns:1fr}
 .hero-image{max-height:18rem}
 .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
 .header-inner,.footer-inner{align-items:flex-start;flex-direction:column}
}
@media(max-width:485px){
 .cards,.category-grid{grid-template-columns:1fr}
 h1 br{display:none}
}

:root{--paper:#f8f6ef;--line:#d9ddcf}
.toc{display:block;background:#eef1e5;border:1px solid var(--line);border-radius:.4rem;padding:1rem 1.2rem;max-width:48rem}
.toc ol{margin:.4rem 0 0;padding-left:1.5rem}
.spec-table{min-width:0;table-layout:fixed;overflow-wrap:anywhere}
.spec-table th:first-child{width:23%}
.spec-table tbody th{background:#edf1e7}
.buy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.buy-card{padding:1rem;background:white;border:1px solid var(--line);border-radius:.4rem}
.merchant{display:block;margin-bottom:.5rem}
.merchant:last-child{margin-bottom:0}
.rakuten a{display:inline-block;padding:.5rem}
.analytics-toggle{margin-top:.6rem;font:inherit;font-size:.875rem;color:var(--forest);background:white;border:1px solid var(--line);padding:.3rem .6rem;cursor:pointer}
@media(max-width:485px){
 .spec-table th,.spec-table td{padding:.5rem .32rem}
 .spec-table th:first-child{width:25%}
 .buy-grid{grid-template-columns:1fr}
 .merchant .button{display:block;text-align:center}
}
.prose figure{margin:1.25rem 0}
.prose figure img{display:block;max-width:100%;width:28rem;height:auto}
.prose .table-scroll{margin-block:1rem}
@media(max-width:680px){
 .spec-table.wide-table{min-width:36rem}
}
