/* 基本設定（.ffb の内側だけに適用） */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.ffb { margin: 0; font-family: var(--ffb-font); color: var(--ffb-text); background: var(--ffb-surface); line-height: var(--ffb-lh-ui); -webkit-text-size-adjust: auto; }
.ffb *, .ffb *::before, .ffb *::after { box-sizing: border-box; }
:where(.ffb) :where(button, input, select, textarea) { font: inherit; color: inherit; } /* 詳細度0：部品クラスの色を優先 */
.ffb :focus-visible { outline: 3px solid var(--ffb-club-color, var(--ffb-primary)); outline-offset: 2px; }
.ffb a { color: var(--ffb-link); text-underline-offset: 3px; }
.ffb a:hover { color: var(--ffb-primary-hover); }
.ffb mark { background: var(--ffb-mark); color: inherit; padding: 0 1px; border-radius: 2px; }
.ffb ::placeholder { color: #6a7178; opacity: 1; }
.ffb [hidden] { display: none; }
.ffb-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ffb .ffb-skip { position: absolute; left: -9999px; top: 4px; z-index: 7; padding: 8px 12px; background: var(--ffb-surface); color: var(--ffb-text); border: 2px solid var(--ffb-focus); border-radius: var(--ffb-r2); text-align: center; text-decoration: none; }
.ffb-skip:focus { left: 8px; }
.ffb-container { max-width: var(--ffb-w-page); margin: 0 auto; padding: 0 var(--ffb-gutter); }
.ffb-main { padding-top: var(--ffb-s4); outline: none; }
.ffb-narrow { max-width: var(--ffb-w-list); }
.ffb-h1 { margin: 0; font-size: var(--ffb-fs-h1); line-height: var(--ffb-lh-head); overflow-wrap: anywhere; word-break: auto-phrase; }
.ffb-h2 { margin: 0 0 var(--ffb-s2); font-size: var(--ffb-fs-h2); line-height: var(--ffb-lh-head); word-break: auto-phrase; }
.ffb-lead { margin: var(--ffb-s1) 0 var(--ffb-s3); color: var(--ffb-text-2); font-size: 15px; line-height: 1.7; }
.ffb-meta { font-size: var(--ffb-fs-meta); color: var(--ffb-text-2); line-height: 1.5; }
.ffb-num { font-variant-numeric: tabular-nums; }
