/* 記事站: 紙と墨. 枠線なし, 影なし, 動畫なし. 表は地の色で区切る */
:root { --paper: #F6F2EA; --ink: #1F1B17; --ink2: #5E554C; --k: 120, 84, 52; --mincho: "Shippori Mincho B1", "Hiragino Mincho ProN", serif; }
* { box-sizing: border-box; }
button, input, select, textarea { border: 0; }
html { font-size: 18px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "BIZ UDPGothic", "Hiragino Sans", sans-serif; line-height: 1.9; }
.top, main, .foot { width: min(720px, calc(100% - 40px)); margin: 0 auto; }
.top { padding: 20px 0 8px; }
.brand { color: var(--ink); text-decoration: none; font-family: var(--mincho); font-weight: 800; }
.brand:hover { color: rgb(var(--k)); }
h1, h2 { font-family: var(--mincho); font-weight: 800; line-height: 1.45; }
h1 { font-size: 1.7rem; margin: 20px 0 16px; }
h2 { font-size: 1.25rem; margin: 40px 0 10px; }
a { color: rgb(var(--k)); }
a:hover { color: var(--ink); }
.lead { margin: 0 0 8px; }
.crumb, .fine, .src, .foot { color: var(--ink2); }
.crumb { margin: 16px 0 0; }
.facts li, .steps li { margin-bottom: 8px; }
.big3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 8px 0 16px; }
.big3 div { background: rgba(var(--k), .08); border-radius: 12px; padding: 10px 12px; }
.big3 span { display: block; color: var(--ink2); }
.big3 b { font-family: var(--mincho); font-size: 1.25rem; white-space: nowrap; }
.point { background: rgba(var(--k), .08); border-radius: 12px; padding: 10px 14px; }
.warn { background: rgba(var(--k), .16); border-radius: 12px; padding: 10px 14px; }
table { border-collapse: collapse; width: 100%; }
.kv th { width: 7em; text-align: left; vertical-align: top; color: var(--ink2); font-weight: 400; padding: 8px 10px 8px 0; }
.kv td { padding: 8px 0; }
.kv tr:nth-child(odd), .cmp tr:nth-child(even) { background: rgba(var(--k), .05); }
.cmp th, .cmp td { text-align: left; padding: 8px 10px; white-space: nowrap; }
.cmp th { color: var(--ink2); font-weight: 400; }
.cmp small { color: var(--ink2); margin-left: 6px; }
.scroll { overflow-x: auto; }
.quotes { color: var(--ink2); }

.brand { display: inline-flex; align-items: center; gap: 10px; letter-spacing: .06em; }
.seal { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: rgb(var(--k)); color: var(--paper); line-height: 1; }
.brand:hover .seal { background: var(--ink); }
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; }
.top nav { display: flex; gap: 14px; }
.top nav a { color: var(--ink2); text-decoration: none; }
.top nav a:hover, .top nav a.on { color: var(--ink); }
.list li { margin-bottom: 4px; }
.next-one { font-weight: 700; }

/* 頁首 / 頁尾 永遠浮在前景(主筆 12-05: 非報刊型, logo 與工具一律固定) */
.top, .foot { position: fixed; left: 0; right: 0; width: auto; margin: 0; z-index: 10; background: var(--paper);
  padding-left: max(20px, calc((100% - 720px) / 2)); padding-right: max(20px, calc((100% - 720px) / 2)); }
.top { top: 0; padding-top: 12px; padding-bottom: 10px; }
.foot { bottom: 0; padding-top: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; gap: 0 14px; }
body { padding-top: 64px; padding-bottom: 88px; }
h2 { scroll-margin-top: 76px; }
