/* 季節の予約帳 — 藍と金茶、朱の印。スマホ優先 */
:root {
  --bg: #f6f2e9; --surface: #fffdf8; --text: #1d2330; --muted: #5b6270; --line: #e2d9c7; --line-2: #cfc3aa;
  --ink: #1f2b3d; --ink-text: #f3ecdc; --accent: #22507c; --gold: #9a6a12; --gold-soft: #efe2c4; --seal: #b8412b;
  --radius: 14px; --radius-s: 10px;
  --round: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "BIZ UDPGothic", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14171d; --surface: #1c2029; --text: #ece6d8; --muted: #a5abb6; --line: #2e3442; --line-2: #3b4352;
    --ink: #0d1016; --ink-text: #e9e2d2; --accent: #8db8e4; --gold: #e0b45c; --gold-soft: #3a3020; --seal: #e57a62;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #14171d; --surface: #1c2029; --text: #ece6d8; --muted: #a5abb6; --line: #2e3442; --line-2: #3b4352;
  --ink: #0d1016; --ink-text: #e9e2d2; --accent: #8db8e4; --gold: #e0b45c; --gold-soft: #3a3020; --seal: #e57a62;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.75 system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", sans-serif; overflow-wrap: anywhere; }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--round); line-height: 1.4; letter-spacing: .01em; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--surface); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.js-only { display: none !important; }
.js .js-only { display: flex !important; }
/* キーボードで動かすときの位置が見えるように */
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.pr { display: inline-block; font-size: 12px; font-weight: 700; line-height: 1; padding: 3px 6px; border-radius: 4px; border: 1px solid currentColor; letter-spacing: .05em; }

/* ヘッダー */
.head { background: var(--surface); border-top: 4px solid var(--seal); border-bottom: 1px solid var(--line); }
.head-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding-top: 12px; padding-bottom: 4px; }
/* PR・非公式の表示(ロゴの横。狭い画面ではロゴの下。12px 以上) */
.disclose { display: flex; align-items: flex-start; gap: 6px; margin: 0; max-width: 30em; padding: 6px 10px; font-size: 12.5px; line-height: 1.6;
  color: var(--text); background: var(--gold-soft); border-radius: var(--radius-s); }
.disclose .pr { flex: none; margin-top: 1px; background: var(--surface); }
.disclose b { font-weight: 700; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.mark { width: 34px; height: 34px; flex: none; }
.mark rect { fill: var(--seal); }
.mark path { stroke: #fff8ec; stroke-width: 3; stroke-linecap: round; fill: none; }
.brand-name { display: block; font-family: var(--round); font-weight: 700; font-size: 20px; line-height: 1.2; }
.brand-sub { display: block; font-size: 12px; color: var(--muted); }
.tabs { margin: 4px 0 0; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs-in { display: flex; gap: 4px; min-width: max-content; }
.tabs a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 14px;
  border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs a[aria-current] { border-bottom-color: var(--seal); }
.tabs a:hover { border-bottom-color: var(--line-2); }
/* 狭い画面: 印を省いて4つの季節が横に収まるように。はみ出すときは右端をぼかして、横に送れることを見せる */
@media (max-width: 420px) {
  .tabs a { padding: 9px 9px 10px; font-size: 13.5px; }
  .tabs .seal { display: none; }
  .tabs { -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
}
.nav-soon { font-size: 11px; font-weight: 500; color: var(--muted); }

/* 印 */
.seal { display: inline-grid; place-items: center; width: 22px; height: 22px; flex: none; border: 1.5px solid var(--seal); border-radius: 5px; color: var(--seal);
  font-family: var(--round); font-weight: 700; font-size: 13px; line-height: 1; transform: rotate(-4deg); }
.seal-l { width: 44px; height: 44px; font-size: 26px; border-width: 2px; border-radius: 9px; }

main { padding-bottom: 32px; }
.crumbs { font-size: 13px; color: var(--muted); padding: 12px 0 0; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs a { color: var(--muted); }

/* トップ */
.hero-top { padding: 22px 0 8px; }
.hero-top h1 { font-size: clamp(26px, 7vw, 40px); margin: 0 0 10px; }
.hero-top p { margin: 0 0 8px; max-width: 46em; }
.asof { font-size: 13px; color: var(--muted); margin: 4px 0; }
.pr-note { font-size: 12px; color: var(--muted); margin: 6px 0 10px; line-height: 1.6; }
.pr-note .pr { margin-right: 6px; color: var(--text); }
.cards { display: grid; gap: 12px; grid-template-columns: 1fr; margin: 14px 0 6px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, 1fr); } }
.sc { position: relative; display: grid; gap: 8px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--text); text-decoration: none; box-shadow: 0 1px 0 var(--line); }
.sc:hover { border-color: var(--gold); }
.sc-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.sc-end { font-size: 12px; color: var(--muted); }
/* 前の季節の記録のカード(掲載中の季節がない時期のトップの中身) */
.recs { margin: 22px 0; }
.recs h2 { font-size: 20px; margin: 0 0 2px; }
.sc-rec { background: linear-gradient(var(--surface), var(--surface)) padding-box, repeating-linear-gradient(135deg, var(--line) 0 6px, var(--line-2) 6px 12px) border-box; border: 2px solid transparent; }
.sc-list { list-style: none; margin: 0; padding: 8px 12px; display: grid; gap: 2px; background: var(--gold-soft); border-radius: var(--radius-s); }
.sc-list li { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.sc-list b { font-family: var(--round); font-size: 16px; font-variant-numeric: tabular-nums; }
.sc-top { display: flex; gap: 12px; align-items: center; }
.sc-title { display: block; font-family: var(--round); font-weight: 700; font-size: 20px; line-height: 1.3; }
.sc-lead { display: block; font-size: 13px; color: var(--muted); }
.sc-num { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; background: var(--gold-soft); border-radius: var(--radius-s); padding: 10px 12px; }
.sc-k { font-size: 13px; color: var(--muted); }
.sc-v { font-family: var(--round); font-size: 30px; line-height: 1.1; color: var(--text); font-variant-numeric: tabular-nums; }
.sc-v small { font-size: 15px; margin-left: 2px; }
.sc-sub { font-size: 12px; color: var(--muted); }
.sc-go { font-weight: 700; color: var(--accent); font-size: 14px; }
.sc-go::after { content: " →"; }
.why, .soon { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 16px 10px; margin: 18px 0; }
.why ul { padding-left: 1.2em; }

/* 暦 */
.cal { margin: 22px 0; }
.cal h2 { font-size: 20px; margin: 0 0 2px; }
.cal-note { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.cal-grid { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px 18px; --name: 96px; }
.cal-head, .cal-row { display: grid; grid-template-columns: var(--name) 1fr; align-items: center; gap: 8px; }
.cal-months { display: grid; grid-template-columns: repeat(12, 1fr); font-size: 11px; color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; }
.cal-m { border-left: 1px solid var(--line); }
.cal-y { color: var(--seal); font-weight: 700; }
.cal-list { list-style: none; margin: 4px 0 0; padding: 0; }
.cal-row { min-height: 34px; border-top: 1px dashed var(--line); }
.cal-name { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; line-height: 1.25; min-width: 0; }
.cal-nm { display: block; min-width: 0; }
.cal-name small { display: block; font-weight: 500; font-size: 11px; color: var(--muted); }
.cal-name a { color: var(--text); }
.cal-name .seal { width: 18px; height: 18px; font-size: 11px; }
.cal-track { position: relative; height: 12px; }
.cal-bar { position: absolute; top: 0; height: 12px; border-radius: 6px; background: var(--line-2); }
.cal-open { background: var(--gold); }
.cal-soon { background: repeating-linear-gradient(45deg, var(--gold) 0 4px, transparent 4px 8px); border: 1px solid var(--gold); }
.cal-off { background: transparent; border: 1px dashed var(--line-2); }
.cal-next { background: transparent; border: 2px solid var(--gold); opacity: .7; }
.cal-today { position: absolute; top: 6px; bottom: 6px; left: calc(12px + var(--name) + 8px + (100% - 24px - var(--name) - 8px) * var(--x) / 100); width: 0;
  border-left: 2px solid var(--seal); pointer-events: none; }
.cal-today span { position: absolute; bottom: -10px; left: -12px; white-space: nowrap; line-height: 1.2; font-size: 10px; font-weight: 700; color: var(--seal); background: var(--surface); padding: 0 2px; }
@media (max-width: 420px) {
  .cal-grid { --name: 92px; padding: 8px 8px 18px; }
  .cal-name { font-size: 12px; }
  .cal-name .seal { display: none; }
  .cal-today { left: calc(8px + var(--name) + 8px + (100% - 16px - var(--name) - 8px) * var(--x) / 100); }
}

/* 季節のページ */
.page-h { padding: 12px 0 4px; }
.kicker { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.page-h h1 { font-size: clamp(22px, 6vw, 32px); margin: 6px 0 8px; }
.lead { margin: 0 0 6px; }
.lead b { font-weight: 700; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin: 14px 0; }
.panel-h { font-size: 16px; margin: 0 0 8px; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.bars li { display: grid; grid-template-columns: minmax(70px, 34%) 1fr auto auto; align-items: center; gap: 8px; font-size: 13px; }
.bar-l { font-weight: 700; }
.bar-t { height: 10px; background: var(--gold-soft); border-radius: 5px; overflow: hidden; }
.bar-f { display: block; height: 100%; background: var(--gold); border-radius: 5px; }
.bar-v { font-family: var(--round); font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.bar-n { color: var(--muted); font-size: 12px; min-width: 3.5em; text-align: right; }
.bars-note { font-size: 12px; color: var(--muted); margin: 8px 0 0; }
.tally { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.tally div { flex: 1 1 140px; border-top: 1px solid var(--line); padding-top: 6px; }
.tally dt { font-size: 12px; color: var(--muted); }
.tally dd { margin: 0; font-family: var(--round); font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; }
.tally small { font-size: 12px; font-weight: 500; }
.facets { margin: 12px 0; }
.facets-h { font-size: 13px; font-weight: 700; margin: 0 0 6px; }
.facets-in { display: flex; flex-wrap: wrap; gap: 6px; }
.facets a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface);
  color: var(--text); text-decoration: none; font-size: 14px; }
.facets a[aria-current] { border-color: var(--accent); color: var(--accent); font-weight: 700; }
.c { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.thin { font-size: 13px; color: var(--muted); background: var(--gold-soft); padding: 8px 12px; border-radius: var(--radius-s); }

/* 一覧 */
.listing, .band-sec { margin: 18px 0; }
.list-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; }
.list-head h2 { font-size: 19px; margin: 0; }
.more { font-size: 14px; font-weight: 700; }
/* 並べ替え・絞り込みのボタンは、狭い画面では1行の横送り(何段にも積み上がって一覧が遠くならないように) */
.sorter, .chips { flex-wrap: nowrap; align-items: center; gap: 6px; margin: 8px 0; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.sorter::-webkit-scrollbar, .chips::-webkit-scrollbar { display: none; }
@media (min-width: 720px) { .sorter, .chips { flex-wrap: wrap; overflow: visible; } }
.sorter-h, .chips-h { flex: none; font-size: 12px; font-weight: 700; color: var(--muted); min-width: 4.5em; }
.sorter button, .chips button { flex: none; white-space: nowrap; }
.sorter button, .chips button { font: inherit; font-size: 13px; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); cursor: pointer; }
.sorter button[aria-pressed="true"], .chips button[aria-pressed="true"] { background: var(--ink); color: var(--ink-text); border-color: var(--ink); }
.chips button .c { margin-left: 4px; color: inherit; opacity: .75; }
/* 暗い表示では --ink が背景とほぼ同じ色になるので、押されたボタンは藍の明るい色で(どれが選ばれているか分かるように) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .sorter button[aria-pressed="true"], :root:not([data-theme="light"]) .chips button[aria-pressed="true"] { background: var(--accent); color: #0d1016; border-color: var(--accent); }
}
:root[data-theme="dark"] .sorter button[aria-pressed="true"], :root[data-theme="dark"] .chips button[aria-pressed="true"] { background: var(--accent); color: #0d1016; border-color: var(--accent); }
.items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: 1fr; counter-reset: n; }
/* 長い一覧の描画を、画面に入るまで後回しにする(スマホで80件以上の一覧を速く) */
.item { counter-increment: n; content-visibility: auto; contain-intrinsic-size: auto 265px; }   /* 2026-11-05 のスマホ幅の行の高さの中央値 約268px */
/* 並び順の番号(並べ替え・絞り込みに合わせて振り直る。隠れた行は数えない) */
.thumb { position: relative; }
.thumb::before { content: counter(n); position: absolute; left: 0; top: 0; z-index: 1; min-width: 22px; padding: 1px 5px; font-size: 11px; font-weight: 700; line-height: 18px;
  text-align: center; color: var(--ink-text); background: var(--ink); border-bottom-right-radius: 8px; font-variant-numeric: tabular-nums; }
@media (min-width: 760px) { .items { grid-template-columns: repeat(2, 1fr); } }
.item { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.item:hover { border-color: var(--line-2); }
.item[hidden] { display: none; }
.thumb { display: block; width: 88px; height: 88px; border-radius: var(--radius-s); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.thumb-none { background: var(--gold-soft); }
@media (max-width: 420px) { .item { grid-template-columns: 72px 1fr; gap: 10px; padding: 10px; } .thumb { width: 72px; height: 72px; } }
.item-b { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.hero { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; margin: 0; line-height: 1.2; }
.hero-k { font-size: 12px; color: var(--muted); }
.hero b { font-family: var(--round); font-size: 24px; color: var(--accent); font-variant-numeric: tabular-nums; }
.hero b.hero-word { font-size: 19px; }
.hero-sep { color: var(--muted); }
.hero-s { font-size: 13px; color: var(--muted); font-weight: 700; }
.hero-none { font-size: 13px; color: var(--muted); }
/* おせちの「1人前あたり」は商品名の人数で割った計算値なので、実際の販売価格(.price)より小さく、色も落とす */
.hero-calc b { font-size: 17px; color: var(--text); }
.hero-calc .hero-k small { font-size: 12px; }
/* ケーキの1人分あたり・福袋の1点あたり(計算値)。販売価格(.price)より小さく、灰色寄りに */
.unit { margin: 0; font-size: 12px; color: var(--muted); }
.unit b { font-size: 14px; color: var(--text); font-variant-numeric: tabular-nums; }
.unit-k { margin-right: 4px; }
/* 幅のある「1◯あたり」の両端の「÷2人」(何人・何点で割った値か。上の値が価格と同じでも読み違いに見えないように) */
.per-n { font-size: 11px; color: var(--muted); font-weight: 400; margin-left: 1px; white-space: nowrap; }
.unit-note { font-size: 12px; color: var(--muted); margin: 0 0 8px; padding-left: 8px; border-left: 3px solid var(--gold-soft); }
.shown { font-size: 13px; font-weight: 700; margin: 4px 0; min-height: 0; }
.shown:empty { display: none; }
.empty { font-size: 14px; padding: 14px; background: var(--gold-soft); border-radius: var(--radius-s); }
.totop { margin: 10px 0 0; font-size: 13px; text-align: right; }
.h-n { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 6px; font-family: system-ui, sans-serif; }
.nm { font-size: 14px; font-weight: 700; margin: 2px 0 0; line-height: 1.5; font-family: inherit; }
.nm a { color: var(--text); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nm a:hover { text-decoration: underline; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 2px 0; padding: 0; }
.facts li { font-size: 12px; padding: 1px 8px; border-radius: 999px; background: var(--gold-soft); color: var(--text); }
.price { margin: 2px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.price b { font-size: 20px; font-variant-numeric: tabular-nums; }
.ship { font-size: 12px; padding: 0 6px; border: 1px solid var(--line-2); border-radius: 4px; }
/* 送料別は、送料込みと見分けがつくように(価格だけで比べると安く見えるため) */
.ship-x { border-style: dashed; border-color: var(--seal); color: var(--seal); }
.meta { font-size: 12px; color: var(--muted); margin: 0; }
.dates { font-size: 12px; margin: 0; color: var(--text); }
.hist, .pt { font-size: 12px; color: var(--muted); margin: 0; }
.go { align-self: flex-start; margin-top: 4px; display: inline-block; padding: 5px 12px; border-radius: 8px; background: var(--accent); color: #fff; font-weight: 700; font-size: 13px; text-decoration: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .go { color: #0d1016; } }
.go:hover { filter: brightness(1.1); }
.rest { margin: 14px 0; }
.rest summary { cursor: pointer; font-weight: 700; padding: 8px 0; }
.rest .items { margin-top: 6px; }
.howto { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2px 16px 8px; margin: 20px 0; font-size: 14px; }
.howto h2 { font-size: 16px; }
.howto ul { padding-left: 1.2em; }
.related h2 { font-size: 17px; }
.rel-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.rel-card { display: flex; gap: 10px; align-items: center; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); color: var(--text); text-decoration: none; }
.rel-card b { display: block; }
.rel-card small { display: block; color: var(--muted); font-size: 12px; }
.back { margin: 18px 0; }

/* 文章のページ */
.prose { max-width: 46em; }
.prose h1 { font-size: clamp(22px, 6vw, 30px); }
.prose h2 { font-size: 18px; margin-top: 28px; border-left: 4px solid var(--gold); padding-left: 10px; }
.prose ul { padding-left: 1.2em; }
.plain { padding-left: 1.2em; }
.tbl { overflow-x: auto; }
.tbl table { border-collapse: collapse; font-size: 13px; min-width: 520px; }
.tbl th, .tbl td { border: 1px solid var(--line); padding: 6px 8px; text-align: left; vertical-align: top; }
.tbl thead th { background: var(--gold-soft); }
.nf-code { font-family: var(--round); font-size: 56px; color: var(--seal); margin: 20px 0 0; }
.note { font-size: 12px; color: var(--muted); }

/* フッター */
.foot { border-top: 1px solid var(--line); background: var(--surface); font-size: 13px; color: var(--muted); padding: 18px 0 28px; }
.foot-brand { display: flex; align-items: center; gap: 8px; font-family: var(--round); font-weight: 700; color: var(--text); font-size: 16px; }
.foot-brand .mark { width: 26px; height: 26px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 8px 0; }
.credit { margin-top: 12px; }

/* この運営者のほかのサイト(family.block の list 形: <aside class="sib"><dl class="sib-list">)。名前と説明を2列の表のように */
.sib { margin: 18px 0 6px; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.sib-h { margin: 0 0 8px; font-family: var(--round); font-size: 14px; font-weight: 700; color: var(--text); }
.sib-list { display: grid; grid-template-columns: minmax(9em, max-content) 1fr; gap: 6px 16px; margin: 0; }
.sib-name { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; font-weight: 700; font-size: 14px; color: var(--text); }
.sib-name::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--sib-c, var(--line-2)); transform: translateY(-2px) rotate(45deg); }
.sib-desc { margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted); }
.sib-here { font-size: 12px; font-weight: 500; color: var(--muted); }
@media (max-width: 560px) { .sib-list { grid-template-columns: 1fr; gap: 0; } .sib-desc { margin-bottom: 8px; } }
.more-note { font-size: 13px; color: var(--muted); margin: 10px 0; }
/* 印刷(比べた一覧を紙で見るとき): 操作のボタンと案内を省く */
@media print {
  .tabs, .sorter, .chips, .facets, .related, .sib, .skip, .totop, .go { display: none !important; }
  body { background: #fff; color: #000; font-size: 12px; }
  .item { break-inside: avoid; content-visibility: visible; }
  .items { grid-template-columns: repeat(2, 1fr); }
}
.cmp { margin: 18px 0; }
.cmp h2 { font-size: 16px; }

/* ---- 2周目 ---- */
/* 見出しの改行を文節で(日本語の見出しが「比べ / る」のように語の途中で折れない)。丸ゴシックの仮名を詰める(palt) */
h1, h2, h3 { word-break: auto-phrase; text-wrap: pretty; font-feature-settings: "palt"; }
/* 数字のまとまり(「一段 51件」)を折り返しの途中で切らない */
.nw { white-space: nowrap; }
.tally .wide { flex-basis: 100%; }
.dd-list { display: flex; flex-wrap: wrap; gap: 2px 14px; }
/* 比べる表: 数字は桁をそろえる。小さい画面では1行ずつのカードに積む(右の列が横送りで隠れないように) */
.tbl td { font-variant-numeric: tabular-nums; }
.tbl th[scope="row"] { white-space: nowrap; }
.tbl.stack table { min-width: 0; width: 100%; }
/* 3列までの小さな表は横送りにしない */
.tbl:not(.stack) table:not(:has(th:nth-child(4))) { min-width: 0; }
@media (max-width: 560px) {
  .tbl.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tbl.stack table, .tbl.stack tbody, .tbl.stack tr, .tbl.stack th, .tbl.stack td { display: block; }
  .tbl.stack tr { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius-s); margin: 0 0 8px; background: var(--surface); }
  .tbl.stack th[scope="row"] { grid-column: 1 / -1; border: 0; border-bottom: 1px solid var(--line); background: var(--gold-soft); white-space: normal; }
  .tbl.stack td { border: 0; padding: 4px 8px; line-height: 1.4; }
  .tbl.stack td::before { content: attr(data-l); display: block; color: var(--muted); font-size: 11px; }
}
/* 記録した数字で答える(よくある疑問に1〜2文で) */
.qa { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 16px 10px; margin: 20px 0; }
.qa h2 { font-size: 17px; }
.qa-i h3 { font-size: 15px; margin: 14px 0 2px; }
.qa-i h3::before { content: "Q. "; color: var(--seal); }
.qa-i p { margin: 0; font-size: 14px; }
/* 条件ごとの一覧ページ(URLのあるページ)と、ページの中の絞り込みのボタンを見分ける添え書き */
.facets-h small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
/* 絞った一覧の最後の「次に見るとよいもの」と、フッターの運営者への1行 */
.next { font-size: 14px; margin: 16px 0; padding: 10px 12px; border-left: 3px solid var(--gold); background: var(--surface); }
.sib-by { margin: 8px 0 0; font-size: 12px; }
/* 行の上の数字の見出し(「1人前あたり(計算値) ¥3,990」「中身 子ども服・ベビー」)は数字と同じ行に(スマホで1商品の高さを詰める) */
/* 丸ゴシックの数字・語のまとまりも仮名を詰める(「子 ど も 服」のように間延びしない) */
.hero b, .sc-title, .sc-v, .brand-name, .foot-brand, .tally dd, .bar-v { font-feature-settings: "palt"; }
/* 季節の暦: PC幅では名前の欄を広げて「クリスマスケーキ」を1行に。棒の見方(塗り・斜線・枠・点線)の凡例 */
@media (min-width: 720px) { .cal-grid { --name: 150px; } }
.cal-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 8px; padding: 0; font-size: 12px; color: var(--muted); }
.cal-legend li { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend .cal-bar { position: static; display: inline-block; width: 26px; height: 10px; }
.js-txt { display: none; }
.js .js-txt { display: inline; }
.lead-sub { margin: 4px 0 0; font-size: 14px; }

/* family.color_css: 同じ運営者のサイトの色 */
.sib-neusage { --sib-c: #b5001a; } .sib-furusato { --sib-c: #0b6e4f; } .sib-kisetsu { --sib-c: #22507c; } .sib-yoyaku { --sib-c: #5226c9; } .sib-youryou { --sib-c: #1f4fd1; } .sib-portal { --sib-c: #5b6573; }
@media (prefers-color-scheme: dark) { .sib-neusage { --sib-c: #ff7b7b; } .sib-furusato { --sib-c: #5cc79c; } .sib-kisetsu { --sib-c: #8db8e4; } .sib-yoyaku { --sib-c: #b7a2ff; } .sib-youryou { --sib-c: #7aa2ff; } .sib-portal { --sib-c: #a3a9b3; } }
