/* 使い方・コラムのページ（紹介ページと同じ見た目） */
:root { --ink: #1E1B17; --sub: #6B6255; --faint: #7A7163; --line: #E2D8C7; --bg: #F2EBDF; --white: #FFFCF6; --chrome: #1E1B17; --accent: #E2B77C; --wood: #A8612C;
  --head: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--white); color: var(--ink); font-family: var(--head); font-weight: 500; font-size: 16.5px; line-height: 1.9; -webkit-text-size-adjust: 100%; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
.s-in { max-width: 820px; margin: 0 auto; padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
.wordmark { display: inline-flex; align-items: center; gap: .35em; font-weight: 800; font-size: 20px; letter-spacing: .08em; color: inherit; text-decoration: none; line-height: 1; }
.wordmark::before { content: ""; width: 1.05em; height: 1.05em; background: currentColor; -webkit-mask: url(/tex/kanazuchi.svg) center / contain no-repeat; mask: url(/tex/kanazuchi.svg) center / contain no-repeat; }
.s-head { position: sticky; top: 0; z-index: 10; background: var(--chrome) url(/tex/yakisugi.svg) 0 0 / 100% 300px repeat-y; color: #fff; }
.s-head-in { max-width: 1040px; height: 58px; display: flex; align-items: center; gap: 20px; }
.s-nav { display: flex; gap: 18px; margin-left: 8px; }
.s-nav a { color: #E9E4DA; text-decoration: none; font-size: 14px; font-weight: 800; }
.s-btn { margin-left: auto; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 4px; background: var(--white); color: var(--ink); text-decoration: none; font-weight: 800; font-size: 14px; white-space: nowrap; }
.s-btn.light { margin-left: 0; min-height: 48px; padding: 0 20px; font-size: 16px; }
@media (max-width: 560px) { .s-nav { display: none; } }
.crumbs { font-size: 13px; color: var(--sub); padding-top: 14px; }
.crumbs a { color: var(--sub); }
.s-main { padding-top: 18px; padding-bottom: 56px; }
h1 { font-size: clamp(24px, 4.6vw, 32px); line-height: 1.45; font-weight: 800; margin: 8px 0 10px; }
h2 { font-size: 22px; line-height: 1.5; font-weight: 800; margin: 44px 0 12px; padding-top: 12px; border-top: 2px solid var(--ink); }
h3 { font-size: 18px; font-weight: 800; margin: 28px 0 8px; }
p { margin: 0 0 14px; }
ul, ol { padding-left: 1.4em; margin: 0 0 16px; }
li { margin-bottom: 6px; }
.meta { color: var(--sub); font-size: 14px; margin-bottom: 18px; }
.lead { font-size: 17px; }
.toc { background: var(--bg); border: 1px solid var(--line); padding: 14px 18px; margin: 20px 0 8px; font-size: 15px; }
.toc ol { margin: 6px 0 0; }
.toc a { text-decoration: none; }
.note { background: var(--bg); border-left: 4px solid var(--wood); padding: 12px 16px; margin: 18px 0; font-size: 15.5px; }
.note p:last-child { margin-bottom: 0; }
table { border-collapse: collapse; width: 100%; margin: 12px 0 20px; font-size: 15px; }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: var(--bg); font-weight: 800; }
td.n, th.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl { overflow-x: auto; }
.formula { background: #F7F2E9; border: 1px solid var(--line); padding: 12px 14px; font-size: 15px; line-height: 1.8; margin: 12px 0 18px; }
figure { margin: 18px 0 24px; }
figure img { display: block; border: 1px solid var(--line); background: #fff; }
figcaption { font-size: 14px; color: var(--sub); margin-top: 6px; }
.shot { max-width: 360px; }
.sources { font-size: 14px; color: var(--sub); border-top: 1px solid var(--line); margin-top: 40px; padding-top: 12px; }
.sources a { word-break: break-all; }
.author { display: flex; gap: 12px; align-items: flex-start; background: var(--bg); padding: 14px 16px; margin-top: 28px; font-size: 14.5px; }
.related { margin-top: 32px; }
.related ul { padding-left: 1.2em; }
.cards { list-style: none; padding: 0; display: grid; gap: 14px; }
.cards li { border: 1px solid var(--line); background: #fff; margin: 0; }
.cards a { display: block; padding: 16px 18px; text-decoration: none; }
.cards b { display: block; font-size: 18px; line-height: 1.5; margin-bottom: 4px; }
.cards span { display: block; color: var(--sub); font-size: 14.5px; line-height: 1.7; }
.cards time { display: block; color: var(--faint); font-size: 13px; margin-top: 6px; }
.steps-g { counter-reset: g; list-style: none; padding: 0; }
.steps-g > li { counter-increment: g; position: relative; padding-left: 44px; margin-bottom: 18px; }
.steps-g > li::before { content: counter(g); position: absolute; left: 0; top: 2px; width: 30px; height: 30px; border: 2px solid var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 15px; line-height: 1; }
.s-cta { background: var(--chrome) url(/tex/yakisugi.svg) 0 0 / 100% 300px repeat-y; color: #fff; padding: 34px 0; }
.s-cta .s-in { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.s-cta p { margin: 0; color: #E9E4DA; }
.s-cta b { display: block; color: #fff; font-size: 19px; margin-bottom: 4px; }
.s-foot { padding: 28px 0 calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 14px; color: var(--sub); }
.s-foot .s-in { display: flex; flex-direction: column; gap: 10px; }
.s-foot nav { display: flex; gap: 14px; flex-wrap: wrap; }
.s-foot .wordmark { color: var(--ink); }
.btn-dl { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: 1px solid var(--ink); text-decoration: none; font-weight: 800; }
