/* =========================================================
   base.css — リセットと基本スタイル
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--c-bg); color: var(--c-text); font: 400 15px/1.8 var(--font-sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

.i { width: 22px; height: 22px; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i--sm { width: 16px; height: 16px; }
.i--lg { width: 30px; height: 30px; }
.i--gold { color: var(--c-accent); }
.i--weak { color: var(--c-text-weak); }
.i--fill { fill: currentColor; }
.i--fill-soft { fill: rgba(212, 175, 106, 0.18); }
.serif { font-family: var(--font-serif); }
.text-sub { color: var(--c-text-sub); }
.text-weak { color: var(--c-text-weak); }
.text-gold { color: var(--c-accent); }
.text-danger { color: var(--c-danger); }
.text-center { text-align: center; }
.small { font-size: 12px; line-height: 1.8; }
.xsmall { font-size: 11px; line-height: 1.8; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack--lg { gap: 22px; }
.stack--sm { gap: 10px; }
.cluster { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.link { color: var(--c-accent); text-decoration: underline; }
