/* Seat Fit Note — 朝の光・生成りの紙・深い青緑。安心して読める表 */
:root {
  --bg: #f7f3ea;
  --paper: #fbf9f4;
  --card: #ffffff;
  --ink: #18242b;
  --muted: #4f5b64;
  --line: #e4ded0;
  --line-2: #efeadf;
  --accent: #1b6b5f;
  --accent-d: #12524a;
  --accent-bg: #e3f0ec;
  --accent-2: #e8845c; /* 朝日のコーラル（強調の差し色） */
  --warn-bg: #fff6e2;
  --warn-line: #ecd08e;
  --fit: #17663a; --fit-bg: #e2f3e8;
  --cond: #8a5a0b; --cond-bg: #fff0cf;
  --no: #a8261d; --no-bg: #fde8e6;
  --unk: #4b5563; --unk-bg: #eef0f3;
  --noseat: #6b7280; --noseat-bg: #f4f5f7;
  --r: 16px;
  --shadow: 0 1px 2px rgba(24, 36, 43, .05), 0 10px 28px -14px rgba(24, 36, 43, .2);
  --shadow-lg: 0 2px 4px rgba(24, 36, 43, .06), 0 26px 50px -22px rgba(24, 36, 43, .32);
  --font-h: "Zen Kaku Gothic New", system-ui, "Hiragino Sans", "Yu Gothic UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1716; --paper: #131d1c; --card: #172322; --ink: #e6ecea; --muted: #9caaa6; --line: #26363a; --line-2: #1f2d2f;
    --accent: #6cc0ad; --accent-d: #8fd3c3; --accent-bg: #173230; --warn-bg: #2a2416; --warn-line: #5c4c22;
    --fit: #7fd3a0; --fit-bg: #15301f; --cond: #f0c46a; --cond-bg: #33280f; --no: #f2a097; --no-bg: #3a1d1a; --unk: #b4bcc6; --unk-bg: #222b31; --noseat: #9ca3af; --noseat-bg: #1d2428;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px -14px rgba(0, 0, 0, .6);
  }
}
:root[data-theme="dark"] {
  --bg: #0f1716; --paper: #131d1c; --card: #172322; --ink: #e6ecea; --muted: #9caaa6; --line: #26363a; --line-2: #1f2d2f;
  --accent: #6cc0ad; --accent-d: #8fd3c3; --accent-bg: #173230; --warn-bg: #2a2416; --warn-line: #5c4c22;
  --fit: #7fd3a0; --fit-bg: #15301f; --cond: #f0c46a; --cond-bg: #33280f; --no: #f2a097; --no-bg: #3a1d1a; --unk: #b4bcc6; --unk-bg: #222b31; --noseat: #9ca3af; --noseat-bg: #1d2428;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--sticky-offset, 130px) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.8 system-ui, -apple-system, "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-d); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--font-h); line-height: 1.38; margin: 0; letter-spacing: .01em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: var(--card); padding: 8px; z-index: 30; }
.muted { color: var(--muted); }
.small { font-size: 13px; color: var(--muted); }
.ext::after { content: "↗"; font-size: .85em; margin-left: .2em; }
:focus-visible, .filters input:focus-visible + span, .search input:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.br-pc { display: inline; }
.car-ico { display: inline-block; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; background: currentColor; }

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--card) 88%, transparent); backdrop-filter: saturate(150%) blur(12px); -webkit-backdrop-filter: saturate(150%) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 6px 16px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--font-h); font-weight: 900; font-size: 17px; letter-spacing: .02em; }
.brand svg { width: 32px; height: 32px; flex: none; }
.site-nav { display: flex; gap: 4px; font-size: 14px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.brand span { white-space: nowrap; }
.site-nav a:hover { background: var(--accent-bg); color: var(--accent-d); }

/* トップの見出し（挿絵つき） */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--paper); }
.hero-art { position: absolute; inset: 0; z-index: -1; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 50%; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--paper) 97%, transparent) 0%, color-mix(in srgb, var(--paper) 90%, transparent) 36%, color-mix(in srgb, var(--paper) 25%, transparent) 62%, transparent 78%), linear-gradient(0deg, var(--bg) 0%, transparent 22%); }
.hero .wrap { padding-top: clamp(48px, 8vw, 104px); padding-bottom: clamp(48px, 7vw, 88px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .08em; color: var(--accent); font-weight: 700; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent-2); border-radius: 2px; }
.hero h1 { font-size: clamp(30px, 4.6vw, 48px); font-weight: 900; margin-top: 12px; max-width: 14em; text-wrap: balance; color: var(--ink); }
.hero h1 em { font-style: normal; color: var(--accent); background: linear-gradient(transparent 68%, color-mix(in srgb, var(--accent-2) 30%, transparent) 0); }
.lead { max-width: 33em; margin: 16px 0 0; color: color-mix(in srgb, var(--ink) 82%, var(--muted)); font-size: 16.5px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.hero-stats li { padding: 8px 14px; border-radius: 12px; background: color-mix(in srgb, var(--card) 80%, transparent); border: 1px solid var(--line); font-size: 13px; color: var(--muted); backdrop-filter: blur(6px); }
.hero-stats b { font-family: var(--font-h); font-size: 20px; color: var(--accent-d); margin-right: 4px; }
.hero-warn { max-width: 36em; margin: 18px 0 0; padding: 10px 14px; font-size: 13px; background: color-mix(in srgb, var(--warn-bg) 92%, transparent); border: 1px solid var(--warn-line); border-radius: 12px; }
.search { margin-top: 22px; max-width: 520px; }
.search label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 6px; }
.search-box { position: relative; }
.search-box svg { position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--muted); }
.search input { width: 100%; font: inherit; font-size: 17px; padding: 15px 16px 15px 48px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--ink); box-shadow: var(--shadow-lg); }
.search input:focus { outline: 3px solid var(--accent); outline-offset: 3px; border-color: var(--accent); }
.search-state { min-height: 1.5em; margin: 6px 0 0; font-size: 13px; color: var(--muted); }

/* トップ */
.sec-title { font-size: 24px; font-weight: 900; margin: 44px 0 6px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.sec-title small, h2 small { font-family: system-ui, sans-serif; font-size: 13px; font-weight: 400; color: var(--muted); }
.sec-lead { margin: 0 0 16px; color: var(--muted); max-width: 46em; }
.kind { margin-top: 26px; }
.kind h3 { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); margin-bottom: 12px; }
.kind h3 .car-ico { width: 44px; height: 22px; color: var(--accent); }
.kind h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.car-grid, .brand-grid, .chip-list { list-style: none; margin: 0; padding: 0; }
.car-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(216px, 1fr)); gap: 14px; }
.car-card { position: relative; display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 16px 18px 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease, border-color .18s; }
.car-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); color: var(--ink); }
.car-card > .car-ico { position: absolute; right: 16px; top: 18px; width: 50px; height: 25px; color: color-mix(in srgb, var(--accent) 24%, transparent); }
.cc-maker { font-size: 13px; line-height: 1.65; color: var(--muted); padding-right: 54px; }
.cc-name { font-family: var(--font-h); font-weight: 900; font-size: 19px; line-height: 1.45; letter-spacing: 0; }
.cc-meta { font-size: 13px; line-height: 1.6; color: var(--muted); }
.cc-date { display: block; }
.cc-sep { display: none; }
.cc-n { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: auto; padding-top: 12px; font-size: 13px; color: var(--muted); }
.cc-n b { font-family: var(--font-h); font-size: 22px; color: var(--accent-d); line-height: 1; }
.dots { display: flex; flex: none; gap: 3px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.dots i.on { background: var(--accent); }
.search-empty { padding: 16px; background: var(--card); border: 1px dashed var(--line); border-radius: var(--r); }
.brands-sec { padding-bottom: 56px; }
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.brand-grid a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 14px; box-shadow: var(--shadow); }
.brand-grid a::before { content: attr(data-i); display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--accent-bg); color: var(--accent-d); font-family: var(--font-h); font-size: 14px; }
.brand-grid a:hover { border-color: var(--accent); }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 18px; }
.chip-list a { display: inline-block; padding: 6px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: 14px; }
.chip-list a:hover { border-color: var(--accent); color: var(--accent-d); }
.chip-miss a { background: var(--unk-bg); }

/* 車種ページの見出し */
.page-head { padding: 26px 0 10px; }
.page-head h1 { font-size: 30px; font-weight: 900; }
.car-head { padding: 26px 0 28px; background: radial-gradient(900px 300px at 90% -20%, color-mix(in srgb, var(--accent-2) 16%, transparent), transparent 70%), linear-gradient(180deg, var(--accent-bg), var(--bg)); border-bottom: 1px solid var(--line); }
.crumb { font-size: 13px; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; }
.crumb a { color: var(--muted); }
.car-title { display: flex; align-items: center; gap: 18px; margin-top: 12px; }
.car-title .car-ico { flex: none; width: 96px; height: 48px; color: var(--accent); }
.car-maker { margin: 0; color: var(--muted); font-size: 13px; }
.car-head h1 { font-size: clamp(28px, 4vw, 40px); }
.car-facts { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 14px 0 0; }
.car-facts div { display: flex; gap: 6px; font-size: 13px; padding: 4px 12px; border-radius: 999px; background: color-mix(in srgb, var(--card) 85%, transparent); border: 1px solid var(--line); }
.car-facts dt { color: var(--muted); }
.car-facts dd { margin: 0; font-weight: 700; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-top: 20px; }
.stat { padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: none; }
.stat b { display: block; font-family: var(--font-h); font-size: 32px; font-weight: 900; line-height: 1.1; color: var(--accent-d); font-variant-numeric: tabular-nums; }
.stat b small { font-size: 15px; margin-left: 2px; color: var(--muted); }
.stat span { font-size: 12.5px; color: var(--muted); }
.stat.is-cond b { color: var(--cond); }

.warn-box { margin: 20px 0 14px; padding: 12px 16px; background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: 12px; font-size: 13.5px; }
.warn-box strong { font-family: var(--font-h); }
.warn-box p { margin: 4px 0 0; }
.warn-sub { font-size: 13px; }
.ad-note { font-size: 12.5px; color: var(--muted); margin: 0 0 10px; }

/* 社ごとの要約（横棒） */
.sum-wrap { margin: 12px 0; padding: 0; background: transparent; border: 0; border-radius: 0; }
.stat-row + .sum-note { margin: 8px 0 0; }
.sum-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sum-list li { display: grid; grid-template-columns: minmax(8em, 14em) 1fr 19em; gap: 4px 14px; align-items: center; font-size: 14px; }
.sum-list a { font-weight: 700; text-decoration: none; color: var(--ink); }
.sum-list a:hover { color: var(--accent-d); text-decoration: underline; }
.sbar { display: flex; height: 12px; border-radius: 99px; overflow: hidden; background: var(--line-2); }
.sbar i { display: block; height: 100%; }
.sbar .b-fit { background: var(--accent); }
.sbar .b-cond { background: repeating-linear-gradient(135deg, #d99a2b 0 4px, #e9b65a 4px 8px); }
.sbar .b-unk { background: #c3c9d1; }
.s-num { font-size: 13px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.s-num b { font-family: var(--font-h); font-size: 16px; color: var(--ink); }
.sum-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 12px 0 0; font-size: 12px; color: var(--muted); }
.sum-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.sum-miss { margin: 4px 0 12px; font-size: 13.5px; }
@media (max-width: 640px) { .sum-list li { grid-template-columns: 1fr auto; } .sum-list .sbar { grid-column: 1 / -1; grid-row: 2; } }

/* 絞り込み（細い帯に畳む） */
/* 固定するのは .f-bar だけ。form は display:contents にして、バーが結果一覧の範囲（.results-wrap）で固定される */
.filters { display: contents; }
.results-wrap { margin-top: 18px; }
.f-bar { position: sticky; top: var(--header-height, 60px); z-index: 10; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 -16px 12px; padding: 8px 16px; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.f-toggle { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 700; font-size: 14px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
.f-toggle svg { width: 16px; height: 16px; }
.f-toggle[aria-expanded="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.f-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.f-panel { display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 4px 0 14px; }
.filters fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.filters legend { font-size: 12px; font-weight: 700; color: var(--muted); padding: 0; margin-bottom: 6px; }
.filters fieldset > label, .f-quick label { position: relative; display: inline-flex; margin: 0 6px 6px 0; cursor: pointer; }
.filters input { position: absolute; opacity: 0; pointer-events: none; }
.filters label span { display: inline-block; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 13.5px; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.filters input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.f-hint { flex-basis: 100%; margin: 0; font-size: 12.5px; color: var(--muted); }
.f-foot { display: flex; align-items: center; gap: 12px; margin-left: auto; font-size: 13px; }
.f-foot button { font: inherit; padding: 5px 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; cursor: pointer; }
.f-foot button:hover { border-color: var(--accent); }
.f-state { color: var(--accent-d); font-weight: 700; }
.f-none { padding: 16px; background: var(--card); border: 1px dashed var(--line); border-radius: var(--r); }

/* 社ごとのブロック */
.brand-block { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px 12px; margin: 0 0 20px; box-shadow: none; }
.bb-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.bb-head h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 900; }
.bb-head h2::before { content: attr(data-i); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 16px; }
.bb-sum { font-size: 13.5px; color: var(--muted); }
.bb-sum b { color: var(--accent-d); font-family: var(--font-h); font-size: 19px; }
.bb-meta { display: block; font-size: 12.5px; color: var(--muted); margin: 6px 0; }
.bb-meta-lg { display: grid; gap: 6px; font-size: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; color: var(--ink); }
.bb-meta-lg div { display: flex; gap: 10px; }
.bb-meta-lg dt { color: var(--muted); min-width: 7em; }
.bb-meta-lg dd { margin: 0; }
.bb-check { margin: 0 0 10px; padding: 6px 12px; font-size: 12.5px; background: var(--warn-bg); border-radius: 8px; color: color-mix(in srgb, var(--ink) 80%, var(--cond)); }
.legend-link { margin-left: 0; }
.var-title { position: sticky; top: calc(var(--sticky-offset, 130px) + 4px); z-index: 2; font-size: 13px; line-height: 1.5; margin: 16px 0 8px; padding: 6px 12px; background: var(--accent-bg); color: var(--accent-d); border-radius: 8px; }
.plist { list-style: none; margin: 0; padding: 0; }
.prod { display: flex; align-items: flex-start; justify-content: space-between; gap: 4px 14px; border-top: 1px solid var(--line-2); padding: 8px 0; }
.prod:first-child { border-top: 0; }
.prod-main { flex: 1 1 28em; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 15em); gap: 4px 14px; align-items: start; }
.prod-rest .prod-main { grid-template-columns: minmax(0, 1fr) minmax(0, 21em); }
.prod-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; }
.prod-name { font-size: 14.5px; font-weight: 700; line-height: 1.45; }
.prod-hook:empty { display: none; }
.rk-link { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; padding: 1px 10px; border-radius: 999px; background: color-mix(in srgb, #bf0000 9%, var(--card)); color: #b00000; border: 1px solid color-mix(in srgb, #bf0000 28%, transparent); text-decoration: none; white-space: nowrap; }
.rk-link::after { content: "↗"; font-size: .85em; margin-left: .25em; }
.rk-link:hover, .rk-link:focus-visible { background: #9e0000; color: #fff; }
.tags { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
.tag { font-size: 12.5px; line-height: 1.7; padding: 0 8px; border-radius: 6px; background: var(--unk-bg); color: var(--unk); }
.tag-std { background: var(--accent-bg); color: var(--accent-d); font-weight: 700; }
.prod-fit { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.prod-fit details.cond { margin: 0; }
.prod-fit details.cond[open] { flex-basis: 100%; }
.prod-src { font-size: 12.5px; white-space: nowrap; color: var(--muted); }
.seats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 5px; }
.seat { font-size: 12.5px; line-height: 1.5; padding: 1px 9px; border-radius: 999px; background: var(--fit-bg); color: var(--fit); border: 1px solid transparent; font-weight: 700; }
.seat-cond { background: var(--cond-bg); color: var(--cond); border: 1px dashed var(--cond); }
.seat-cond b, .seat-part b { font-weight: 900; }
.seat-part { background: var(--unk-bg); color: var(--unk); border: 1px dashed #9ca3af; }
.sr { position: absolute; left: -9999px; }
details.cond { margin: 4px 0 0; font-size: 13px; }
details.cond summary { cursor: pointer; color: var(--cond); font-weight: 700; list-style: none; display: inline-flex; align-items: center; gap: 4px; }
details.cond summary::-webkit-details-marker { display: none; }
details.cond summary::before { content: "＋"; font-size: 11px; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: currentColor; color: var(--card); }
details.cond[open] summary::before { content: "－"; }
details.cond-part summary, details.cond-note summary { color: var(--unk); }
details.cond ul { list-style: none; margin: 6px 0 0; padding: 8px 12px; background: var(--paper); border: 1px solid var(--line-2); border-radius: 10px; }
details.cond li { margin: 0 0 6px; }
details.cond .note { display: block; }
details.cond .sym { display: block; color: var(--muted); font-size: 12.5px; }
.cond-bad { color: var(--no); font-weight: 700; }
.note { font-size: 13px; color: color-mix(in srgb, var(--ink) 85%, var(--muted)); }
details.rest { margin: 8px 0 4px; border-top: 1px dashed var(--line); padding-top: 8px; }
.prod-rest .prod-name { font-weight: 500; font-size: 14px; }
.rest-seats { list-style: none; margin: 0; padding: 0; font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 0 12px; }
.rest-seats small { margin-left: 2px; }

.res { display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px 2px 6px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.res i { font-style: normal; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--card); color: inherit; font-size: 12px; }
.res-fit { color: var(--fit); background: var(--fit-bg); }
.res-cond { color: var(--cond); background: var(--cond-bg); }
.res-no { color: var(--no); background: var(--no-bg); }
.res-unk { color: var(--unk); background: var(--unk-bg); }
.res-noseat { color: var(--noseat); background: var(--noseat-bg); border: 1px dashed #c4c8cf; }

.missing { margin: 28px 0 40px; padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-left: 5px solid #9aa3ad; border-radius: var(--r); }
.missing h2 { font-size: 19px; margin-bottom: 6px; }
.missing ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.missing li { display: flex; flex-direction: column; padding: 10px 14px; background: var(--unk-bg); border-radius: 10px; }
.m-name { font-weight: 700; }
.missing .ext { font-size: 13px; }
.car-body { padding-bottom: 32px; }

/* メーカー・固定ページ */
.brand-body h2, .prose h2 { font-size: 21px; margin: 32px 0 10px; display: flex; align-items: baseline; gap: 10px; }
.brand-body h3 { font-size: 16px; margin: 18px 0 4px; }
.prose { padding-bottom: 64px; max-width: 820px; }
.prose p, .prose li { max-width: 46em; }
.prose ol, .prose ul { padding-left: 1.4em; }
.about-art { margin: 8px 0 22px; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9; }
.about-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
table { border-collapse: collapse; width: 100%; }
.legend-table { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: 10px 0; }
.legend-table th { text-align: left; font-size: 12.5px; color: var(--muted); background: var(--paper); padding: 9px 14px; }
.legend-table td { padding: 11px 14px; border-top: 1px solid var(--line-2); vertical-align: top; font-size: 14px; }
.l-mark { font-weight: 700; width: 13em; }
.l-as { width: 16em; }
.legend-5 td:first-child { width: 12em; }
.brand-body { padding-bottom: 56px; }

/* フッター */
.site-footer { margin-top: 32px; padding: 36px 0 40px; background: #16312d; color: rgba(255, 255, 255, .7); font-size: 13px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer a { color: #cfe8e1; }
.foot-disc { margin: 0 0 10px; max-width: 56em; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 10px; }
.copy { opacity: .7; }

@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .br-pc { display: none; }
  .hero-art img { object-position: 80% 0; }
  .car-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .car-card { padding: 12px 12px 10px; }
  .car-card > .car-ico { width: 36px; height: 18px; right: 10px; top: 12px; }
  .cc-name { font-size: 16px; }
  .cc-maker { padding-right: 42px; }
  .cc-n b { font-size: 18px; }
  .dots { display: none; }
  .car-title .car-ico { width: 64px; height: 32px; }
  .brand-block { padding: 16px; margin-inline: 0; }
  .f-foot { margin-left: 0; }
  .site-nav a:nth-child(1), .site-nav a:nth-child(3) { display: none; } /* スマホは「自転車」と「このサイトについて」だけ（車種とメーカーはトップから） */
  .prod { flex-wrap: wrap; }
  .prod-main { flex-basis: 100%; display: block; }
  .prod-head { margin-bottom: 4px; }
  .legend-table thead { position: absolute; left: -9999px; }
  .legend-table, .legend-table tbody, .legend-table tr, .legend-table td { display: block; width: auto; }
  .legend-table { border: 0; background: transparent; }
  .legend-table tr { margin: 0 0 8px; padding: 10px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
  .legend-table td { border: 0; padding: 2px 0; width: auto; }
  .legend-table .l-mark { font-size: 15px; }
  .legend-table .l-as { margin-top: 4px; }
  .missing ul { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

/* 人気の車種 */
.pop { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.pop a { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 12px; border-radius: 999px; background: color-mix(in srgb, var(--card) 85%, transparent); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.pop a:hover { border-color: var(--accent); color: var(--accent-d); }
.pop .pop-all { background: transparent; border-color: transparent; color: var(--accent-d); font-weight: 700; }

@media (max-width: 720px) { .filters label span { padding: 8px 14px; } .f-toggle { padding: 9px 16px; } .seat { padding: 3px 10px; } }

/* 講評2 */
.prod-head .prod-name { flex-basis: 100%; font-size: 15px; }
.h1-nb { display: inline-block; }
@media (max-width: 720px) {
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat-row .stat:nth-child(3) { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 12px; padding: 12px 16px; }
  .stat b { font-size: 26px; }
  .car-title { flex-direction: column; align-items: flex-start; gap: 6px; }
  .car-title .car-ico { width: 52px; height: 26px; }
  .car-title .bike-ico { width: 56px; height: 32px; }
  .car-head h1 { font-size: 26px; line-height: 1.45; }
}

/* 講評3 */
.seat { font-size: 13px; padding: 3px 10px; }
.prod-main { column-gap: 24px; }
details.cond summary { min-height: 30px; padding: 2px 10px 2px 4px; border-radius: 999px; border: 1px solid currentColor; font-weight: 700; }
details.cond { margin-top: 6px; }
@media (max-width: 720px) { .pc-only { display: none; } .hero .wrap { padding-top: 36px; padding-bottom: 36px; } .hero h1 { font-size: 28px; } .lead { font-size: 15px; } .hero-stats { margin-top: 14px; } .search { margin-top: 16px; } }

/* 講評4 */
.seat-cond, .seat-part { border: 0; }
.seats { gap: 6px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-art img { filter: brightness(.78); } :root:not([data-theme="light"]) .search input { background: #20332f; border-color: #49635c; } :root:not([data-theme="light"]) .search input::placeholder { color: #b9c8c3; } }

/* 講評5 */
.rk-link { background: none; border: 0; padding: 0; font-weight: 500; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.rk-link:hover, .rk-link:focus-visible { background: none; color: #b00000; }
.sbar { background: color-mix(in srgb, var(--line-2) 60%, transparent); }
.sum-legend { margin: 0 0 12px; }
.ad-line { margin: -4px 0 14px; font-size: 12px; line-height: 1.6; color: var(--muted); }

/* 講評6 */
.sum-list li { grid-template-columns: minmax(8em, 14em) 1fr 16em; }
.s-num { line-height: 1.35; }
.s-num small { display: block; font-size: 12px; color: var(--muted); }
.bb-meta { display: flex; flex-wrap: wrap; column-gap: 16px; row-gap: 2px; font-size: 13px; line-height: 1.65; }
.bb-meta-2 { margin-top: -4px; }
@media (max-width: 720px) {
  .sum-list li { grid-template-columns: 1fr auto; }
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --muted: #aab7b3; } }
.st-sub { display: block; }
@media (min-width: 721px) { .st-sub { display: inline; } }

/* ---- 自転車の子ども乗せ（/bikes/・/bike/<slug>/） ---- */
.bike-ico { display: inline-block; width: 64px; height: 36px; color: var(--accent); flex: none; }
.car-title .bike-ico { width: 96px; height: 54px; }
.kind h3 .bike-ico { width: 40px; height: 22px; }
.bikes-head h1 { font-size: clamp(28px, 4.2vw, 42px); font-weight: 900; margin-top: 12px; }
.bikes-head h1 em { font-style: normal; color: var(--accent); }
.bikes-head .lead { margin-top: 12px; }
.bike-block { margin-top: 18px; }
.bike-seat .prod-main { display: block; }
.bike-seat .prod-fit { margin-top: 6px; }
.covers { margin-top: 12px; padding: 10px 14px; background: var(--paper); border: 1px solid var(--line-2); border-radius: 12px; }
.covers-h { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--accent-d); }
.covers-none { margin: 0; font-size: 13px; color: var(--muted); }
.cover-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.cover-list > li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.cover-list details.cond { margin: 0; }
.cover-list details.cond[open] { flex-basis: 100%; }
.cv-name { font-weight: 700; }
.cv-sub { color: var(--muted); font-size: 12.5px; }
.cv-src { font-size: 12.5px; color: var(--muted); }
.covers details.rest { margin-top: 8px; }
.bike-cta { margin-top: 36px; }
.bike-cta-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; }
.bike-cta-card:hover { border-color: var(--accent); }
.bike-cta-card b { display: block; font-family: var(--font-h); font-size: 18px; }
.bike-cta-card small { display: block; color: var(--muted); font-size: 13px; }
.bike-cta-go { margin-left: auto; font-size: 22px; color: var(--accent); }
.bike-cta-card .nb { display: inline-block; }

/* ---- UI改修（Codexレビューr1） ---- */
:root { --selected-bg: #1b6b5f; --selected-ink: #fff; --sticky-offset: 130px; --header-height: 60px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --selected-bg: #6cc0ad; --selected-ink: #0f1716; } }
:root[data-theme="dark"] { --selected-bg: #6cc0ad; --selected-ink: #0f1716; }
.filters input:checked + span { background: var(--selected-bg); border-color: var(--selected-bg); color: var(--selected-ink); }
.f-toggle[aria-expanded="true"] { background: var(--selected-bg); border-color: var(--selected-bg); color: var(--selected-ink); }
.bb-head h2::before { background: var(--selected-bg); color: var(--selected-ink); }
/* ジャンプ位置の余白は html の scroll-padding に一本化（固定ヘッダー＋固定バーの高さ＋16px） */
.anchor { display: block; height: 0; }

/* ヒーロー（スマホ）: 文章の背景を安定させる */
@media (max-width: 720px) {
  .hero-art::after { background: linear-gradient(90deg, color-mix(in srgb, var(--paper) 96%, transparent), color-mix(in srgb, var(--paper) 88%, transparent)); }
}

/* 文字サイズ: 本文16 / 製品名15 / 重要補足14 / メタ13 */
.prod-name, .prod-head .prod-name, .prod-rest .prod-name { font-size: 15px; line-height: 1.6; font-weight: 700; letter-spacing: 0; }
.prod-rest .prod-name { font-weight: 500; }
.note, .warn-box, .bb-check, details.cond { font-size: 14px; line-height: 1.75; }
.note { max-inline-size: 48em; }
.bb-meta, .cv-sub, .ad-line, .ad-note, .cc-meta, .tag, .seat, details.cond .sym, .prod-src, .cv-src, .f-hint, .sum-legend, .s-num small, .rest-seats { font-size: 13px; line-height: 1.65; }
.cc-n small { font-size: 13px; margin-left: 2px; }
.stat span { font-size: 13px; }
.warn-sub { font-size: 14px; }

/* 「条件なしで付く」の説明（フィルター直下） */
.f-result-hint { margin: 8px 0 12px; padding: 10px 12px; background: var(--warn-bg); color: var(--ink); font-size: 13px; line-height: 1.65; border-radius: 8px; }
.f-result-hint strong { font-family: var(--font-h); }

/* 仕様の選択 */
.brand-empty { margin: 12px 0 0; padding: 12px 16px; font-size: 14px; line-height: 1.65; background: var(--paper); border-radius: 8px; }
.variant-state { margin: 8px 0 0; font-size: 13px; line-height: 1.65; color: var(--muted); }
.jump a.is-off { opacity: .45; cursor: not-allowed; }
.sum-list a.is-off { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.variant-pick { margin: 12px 0 0; font-size: 14px; font-weight: 700; }
.variant-select { display: block; margin-top: 6px; min-height: 44px; max-width: 100%; padding: 8px 12px; font: inherit; font-weight: 400; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 8px; }

/* 結果への入口 */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--card) 88%, transparent); color: var(--ink); font-size: 14px; text-decoration: none; }
.jump a:hover { border-color: var(--accent); color: var(--accent-d); }
.jump .jump-main { background: var(--selected-bg); border-color: var(--selected-bg); color: var(--selected-ink); font-weight: 700; }
.jump .jump-main:hover { color: var(--selected-ink); filter: brightness(1.08); }
.sum-note { margin: 0 0 12px; font-size: 13px; line-height: 1.65; color: var(--muted); max-inline-size: 48em; }
.sum-detail > summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; min-height: 44px; font-weight: 700; font-size: 14px; color: var(--accent-d); list-style: none; }
.sum-detail > summary::-webkit-details-marker { display: none; }
.sum-detail > summary::after { content: "＋"; }
.sum-detail[open] > summary::after { content: "−"; }
.sum-detail { margin-bottom: 4px; }
.sum-detail[open] { padding: 0 16px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.s-num { white-space: normal; }

/* 出典の整理 */
.source-meta { display: flex; flex-wrap: wrap; gap: 2px 20px; margin: 8px 0; font-size: 13px; line-height: 1.65; color: var(--muted); }
.source-meta div { display: flex; gap: 8px; min-width: 0; }
.source-meta dt { flex: none; }
.source-meta dd { margin: 0; min-width: 0; color: var(--ink); }
.source-model { display: block; font-size: 14px; font-weight: 700; }
.source-url { display: block; font-size: 13px; overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .source-meta { display: grid; gap: 4px; }
  .source-meta > div { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 8px; }
}

/* 検索結果（入力欄の直下） */
.search-results { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.search-results a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; min-height: 56px; padding: 12px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; }
.search-results a:hover { border-color: var(--accent); }
.sr-maker { font-size: 13px; color: var(--muted); }
.sr-name { font-family: var(--font-h); font-weight: 900; font-size: 16px; }
.sr-meta { flex-basis: 100%; font-size: 13px; line-height: 1.6; color: var(--muted); }
.search-results .sr-more { min-height: 44px; padding: 8px 16px; color: var(--accent-d); font-weight: 700; font-size: 14px; background: transparent; border-style: dashed; align-items: center; }

/* 製品行: 読み順（商品情報／座席判定 → 条件 → 出典・楽天）を固定。条件を開いても横幅は変わらない */
.prod-main, .prod-rest .prod-main { grid-template-columns: minmax(0, 1fr) minmax(240px, 320px); gap: 8px 24px; }
.prod-main > .prod-fit { display: contents; }
.prod-tools, .prod-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.prod-tools:not(:has(details, a)), .prod-actions:not(:has(*)) { display: none; }
.prod-tools > details.cond { margin: 0; }
.prod-tools > details.cond[open] { flex-basis: 100%; }
.prod-tools .prod-hook { min-width: 0; max-width: 100%; }
.prod-src, .cv-src { min-width: 44px; justify-content: center; }
.prod-hook { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.rest-seats { grid-column: 2; grid-row: 1; }
.prod { padding: 16px 0; }
@media (max-width: 900px) {
  .prod-main, .prod-rest .prod-main { grid-template-columns: minmax(0, 1fr); }
  .rest-seats { grid-column: 1; grid-row: auto; }
}
@media (max-width: 720px) {
  .prod-main, .prod-rest .prod-main { display: grid; }
}
.bike-seat .prod-main { display: block; }
.bike-seat .prod-main > .prod-fit { display: flex; margin-top: 6px; }
.bike-seat .prod-actions { margin-top: 8px; }

/* 楽天: 判定を読んだ後の操作として */
.rk-link { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; padding: 8px 12px; border: 1px solid var(--accent); border-radius: 8px; background: var(--card); color: var(--accent-d); font-size: 14px; font-weight: 700; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; text-decoration: none; }
.rk-link:hover, .rk-link:focus-visible { background: var(--accent-bg); color: var(--accent-d); }

/* タップ対象 44px */
details.cond > summary, details.rest > summary, .prod-src, .cv-src, .f-toggle, .f-foot button, .filters label span { min-height: 44px; display: inline-flex; align-items: center; }
details.cond > summary { padding: 2px 12px 2px 8px; gap: 6px; }
details.rest > summary { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; width: 100%; padding: 8px 0; font-size: 13px; color: var(--muted); list-style: none; cursor: pointer; }
details.rest > summary::-webkit-details-marker { display: none; }
details.rest > summary::after { content: "＋"; flex: none; }
details.rest[open] > summary::after { content: "−"; }
details.cond summary::before { background: transparent; color: currentColor; border: 1px solid currentColor; font-size: 12px; line-height: 1; flex: none; }
.prod-src, .cv-src { padding: 8px 4px; }
.filters label span { padding: 5px 14px; }
.seats { align-items: center; }

/* 見出しの折り返し */
.car-title > div { min-width: 0; }
.h1-term { display: inline-block; }
.bb-head h2::before { flex: none; }
.bike-block .bb-head h2 { font-size: 20px; line-height: 1.5; }
.bike-heading-text { min-width: 0; }
.bike-heading-term { display: inline-block; max-width: 100%; }

/* 自転車: シートとカバーの二段 */
.rel-label { flex-basis: 100%; font-size: 13px; line-height: 1.5; color: var(--muted); }
.covers { margin-top: 16px; padding: 16px; border-left: 3px solid var(--line); }
.covers-h { margin: 0 0 12px; }
.cover-list > li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 16px 0; border-top: 1px solid var(--line-2); align-items: start; }
.cover-list > li:first-child { border-top: 0; padding-top: 0; }
.cover-list > li > .res { justify-self: start; }
.cv-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.cover-list details.cond[open] { flex-basis: auto; }
.cover-list .prod-actions { margin-top: 0; }
.cover-list .prod-actions:not(:has(*)) { display: none; }
details.cond:not(.cond-note):not(.cond-part) > summary { background: var(--warn-bg); }
@media (min-width: 721px) {
  .cover-list > li { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 16px; }
  .cover-list > li > details, .cover-list > li > .prod-actions { grid-column: 1 / -1; }
}

/* 面: 読むカードは影なし・遷移できるカードに軽い影。角丸 操作8/内側12/外側16 */
.car-card, .bike-cta-card { box-shadow: 0 2px 8px rgba(24, 36, 43, .06); }
.brand-grid a, .legend-table, .brand-block, .sum-wrap, .stat { box-shadow: none; }

@media (max-width: 720px) {
  .car-head { padding: 20px 0; }
  .stat-row { grid-template-columns: 1fr; gap: 8px; margin-top: 16px; }
  .stat-row .stat, .stat-row .stat:nth-child(3) { display: flex; align-items: baseline; gap: 12px; padding: 10px 12px; grid-column: auto; }
  .stat b { flex: none; font-size: 24px; }
  .car-title .bike-ico { width: 56px; height: 32px; }
  .sum-list li { grid-template-columns: minmax(0, 1fr); }
  .sum-list li .sbar { grid-column: auto; grid-row: auto; }
  .jump { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 0 16px 4px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .jump a { flex: none; padding: 8px 12px; white-space: nowrap; }
}
@media (max-width: 360px) {
  .site-header .wrap { height: auto; min-height: 60px; flex-wrap: wrap; padding-block: 8px; }
  .site-nav { width: 100%; }
}

/* 一覧の途中から絞り込みを開く・メーカー移動 */
.f-panel, .f-result-hint { scroll-margin-block: 8px; }
.brand-jump { min-height: 44px; min-width: 0; max-width: 12rem; padding: 8px 28px 8px 10px; font: inherit; font-size: 13px; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 8px; }
.f-state { margin: 0 0 8px; min-height: 0; font-size: 13px; }
.f-state:empty { display: none; }
.seat-model { flex-basis: 100%; font-size: 15px; line-height: 1.5; font-weight: 700; color: var(--ink); letter-spacing: 0; }
.sr-codes, .sr-date { display: block; flex-basis: 100%; font-size: 13px; line-height: 1.6; color: var(--muted); }
.sr-codes { overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .f-bar { gap: 6px 8px; }
  .f-quick { flex-basis: 100%; }
  .f-quick label { margin: 0; }
  .brand-jump-wrap { flex: 1 1 0; }
  .brand-jump { max-width: none; }
  .f-foot { margin-left: 0; }
}

/* 絞り込みの適用中表示・DOM順（絞り込み→メーカー→解除→判定）とPCの並び */
.f-toggle.has-filter { border-color: var(--accent); background: var(--accent-bg); color: var(--accent-d); }
.f-toggle.has-filter[aria-expanded="true"] { background: var(--selected-bg); color: var(--selected-ink); }
.f-filter-count { min-inline-size: 1.5em; padding-inline: 4px; border-radius: 999px; background: var(--selected-bg); color: var(--selected-ink); font-size: 12px; line-height: 1.5; text-align: center; }
.f-toggle.has-filter[aria-expanded="true"] .f-filter-count { background: var(--card); color: var(--ink); }
@media (min-width: 721px) {
  .f-toggle { order: 0; }
  .f-quick { order: 1; }
  .brand-jump-wrap { order: 2; }
  .f-foot { order: 3; }
}
.cover-list .cv-title { min-width: 0; }
.cover-list > li > .cv-note { grid-column: 1 / -1; margin: 0; font-size: 14px; line-height: 1.75; }
.source-link { position: relative; display: block; padding-inline-end: 24px; min-height: 44px; }
.source-link.ext::after { position: absolute; inset-block-start: 0; inset-inline-end: 0; margin: 0; }
.source-link .source-url { margin-top: 4px; line-height: 1.65; }

.rest-count { font-size: 13px; line-height: 1.65; font-weight: 400; color: var(--muted); }
.rest-count::after { content: none; }
details.rest > summary > span:first-child { flex: 1 1 auto; }
.brand-jump-wrap { display: flex; align-items: center; gap: 4px; min-width: 0; }
.brand-jump-wrap .brand-jump { flex: 1 1 0; min-width: 0; }
.brand-jump-go { flex: none; min-width: 44px; min-height: 44px; padding: 8px; border: 1px solid var(--accent); border-radius: 8px; background: var(--card); color: var(--accent-d); font: inherit; font-size: 13px; cursor: pointer; }
@media (max-width: 360px) {
  .f-foot { order: 1; margin-left: auto; }
  .brand-jump-wrap { order: 2; flex-basis: 100%; }
  .f-quick { order: 3; }
}

/* 見出しの挿絵（メーカーを特定しない一般的な絵。装飾なので alt は空） */
.head-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 16px 32px; align-items: center; }
.head-art { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; background: var(--accent-bg); }
.head-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bikes-head .head-split { margin-bottom: 4px; }
@media (max-width: 720px) {
  .head-split { grid-template-columns: minmax(0, 1fr); }
  .head-art { order: 2; }
}
.bb-meta.bb-meta-lg { display: grid; }

.head-text { min-width: 0; }
.head-text .lead { margin-top: 12px; font-size: 15px; }
.head-text .hero-stats { margin-top: 16px; }
.head-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 16px 0 0; }
.head-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--accent-d); font-size: 14px; font-weight: 700; text-decoration: none; }
.head-links a:hover { border-color: var(--accent); }
