:root {
  --bg: #fbfbf8; --fg: #1d2420; --muted: #66706a; --line: #dfe3dd; --card: #ffffff;
  --accent: #2f7d32; --accent-fg: #ffffff; --low: #b3261e; --drop: #9a5b00; --pr-bg: #f1f3ee;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #141815; --fg: #e6ebe6; --muted: #9aa49d; --line: #2c332e; --card: #1b201c;
    --accent: #6fbf73; --accent-fg: #0f1410; --low: #ff8a80; --drop: #ffb74d; --pr-bg: #1b201c; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.7 system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", sans-serif; }
a { color: var(--accent); }
main, header.site, footer.site { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.pr { background: var(--pr-bg); color: var(--muted); font-size: 12px; text-align: center; padding: 4px 16px; }
header.site { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.logo { font-weight: 700; font-size: 18px; color: var(--fg); text-decoration: none; }
nav a { margin-right: 16px; text-decoration: none; font-size: 15px; }
h1 { font-size: 26px; line-height: 1.35; margin: 24px 0 8px; }
h2 { font-size: 20px; margin: 32px 0 12px; }
h2 a { color: inherit; text-decoration: none; }
.hero p { color: var(--muted); }
.muted { color: var(--muted); } .small { font-size: 13px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.card { display: flex; gap: 12px; padding: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; color: inherit; text-decoration: none; }
.card:hover { border-color: var(--accent); }
.card img, .noimg { width: 96px; height: 96px; object-fit: contain; flex: none; background: #fff; border-radius: 6px; }
.brand { font-size: 12px; color: var(--muted); } .name { font-weight: 700; }
.price { font-weight: 700; font-variant-numeric: tabular-nums; } .price.big { font-size: 26px; margin: 4px 0 12px; }
.badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 4px; border: 1px solid currentColor; vertical-align: 2px; }
.badge.low { color: var(--low); } .badge.drop { color: var(--drop); }
.tablewrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th[data-key] { cursor: pointer; text-decoration: underline dotted; }
td.num { text-align: right; font-variant-numeric: tabular-nums; }
.model-head { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.model-head img { width: 200px; height: 200px; object-fit: contain; background: #fff; border-radius: 10px; border: 1px solid var(--line); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0 0 16px; font-size: 14px; }
.facts dt { color: var(--muted); } .facts dd { margin: 0; }
.btn { display: inline-block; background: var(--accent); color: var(--accent-fg); padding: 10px 22px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.review { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 8px; padding: 4px 20px 12px; margin-top: 24px; }
.chart svg { width: 100%; height: auto; max-width: 720px; }
.chart .axis { stroke: var(--line); } .chart .series { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; }
.chart .dot { fill: var(--low); } .chart .label { fill: var(--muted); font-size: 12px; } .chart .strong { fill: var(--low); font-weight: 700; }
.crumbs { font-size: 13px; margin-top: 16px; color: var(--muted); }
ul.news { padding-left: 18px; } ul.news li { margin-bottom: 8px; }
footer.site { margin-top: 48px; padding-top: 16px; padding-bottom: 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.tagline { font-size: 13px; color: var(--muted); margin: 2px 0; }
.lead { color: var(--muted); margin: 0 0 4px; }
.badge.ok { color: var(--accent); }
.trend { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 4px 20px 8px; margin-top: 24px; }
.trend ul { padding-left: 20px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; }
.tabs button { font: inherit; font-weight: 700; background: none; border: 0; border-bottom: 3px solid transparent; color: var(--muted); padding: 10px 18px; cursor: pointer; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.videos iframe, button.yt { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 8px; }
button.yt { position: relative; padding: 0; overflow: hidden; cursor: pointer; background: #000; }
button.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
button.yt .play { position: absolute; inset: 0; display: grid; place-items: center; font-size: 42px; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.badge.old { color: var(--muted); }
.old { margin: 2px 0; }
.save { color: var(--low); font-weight: 700; font-size: .9em; }
h3 .badge { vertical-align: 3px; }
details { margin-top: 16px; } summary { cursor: pointer; color: var(--accent); }
.btns { display: flex; flex-wrap: wrap; gap: 8px; }
.btn.sub { background: var(--card); color: var(--fg); border: 1px solid var(--line); }
.brands { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.chip { font: inherit; font-size: 13px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--fg); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
[hidden] { display: none !important; }
.article { max-width: 760px; }
.article h2 { margin-top: 40px; padding-bottom: 6px; border-bottom: 2px solid var(--line); }
.article p, .article li { line-height: 1.9; }
blockquote.memo { margin: 20px 0; padding: 8px 18px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--drop); border-radius: 8px; }
blockquote.memo p:first-child::before { content: "管理人メモ"; display: block; font-size: 12px; font-weight: 700; color: var(--drop); margin-bottom: 2px; }
.draft { display: inline-block; background: var(--drop); color: var(--bg); font-weight: 700; font-size: 13px; padding: 2px 10px; border-radius: 4px; }
ul.articles { list-style: none; padding: 0; } ul.articles li { padding: 12px 0; border-bottom: 1px solid var(--line); }
ul.articles a { font-weight: 700; font-size: 17px; }
.videos figure { margin: 0; } .videos figcaption { margin-top: 4px; line-height: 1.5; }
