/* Gプラス情報局 — 白地に墨と臙脂の、雑誌ふうのレイアウト。
   公式素材は切り抜かない方針なので、画像はすべて枠の中に全体を収める（object-fit: contain）。 */

@font-face {
  font-family: "Bodoni Moda";
  src: url("/assets/fonts/bodoni-moda-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --paper: #fff;
  --wash: #f5f3ee;
  --ink: #191919;
  --ink-2: #4a4743;
  --ink-3: #76716b;
  --rule: #dcd8d0;
  --accent: #b0122c;
  --accent-deep: #870d21;
  --star: #c48a00;
  --star-off: #ddd8cd;

  --serif: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", "Noto Serif CJK JP", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", "Yu Gothic", YuGothic, "Noto Sans JP", Meiryo, sans-serif;
  --display: "Bodoni Moda", Didot, "Bodoni 72", "Times New Roman", serif;

  --gutter: 20px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 56px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
i { font-style: italic; }

/* 見出しは詰め組み、文節で折り返す（対応ブラウザのみ） */
h1, h2, h3, .card-title { font-feature-settings: "palt"; word-break: auto-phrase; line-break: strict; }

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; z-index: 200; padding: 8px 12px; background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 1120px; margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- 上部 ---------- */

.notice { padding: 6px var(--gutter); background: var(--wash); color: var(--ink-2); font-size: 11px; line-height: 1.5; text-align: center; }
.notice span { margin-right: 8px; padding: 0 5px; border: 1px solid currentColor; font-size: 10px; }

.masthead { padding: 18px var(--gutter) 14px; text-align: center; }
.masthead-tag { color: var(--ink-3); font-size: 11px; letter-spacing: .14em; line-height: 1.5; }

.logo { display: inline-flex; align-items: baseline; line-height: 1; }
.logo-g { font-family: var(--display); font-style: italic; font-weight: 700; font-size: 46px; color: var(--accent); margin-right: 3px; }
.logo-t { font-family: var(--serif); font-weight: 700; font-size: 25px; letter-spacing: .08em; }

.gnav { position: sticky; top: 0; z-index: 20; background: var(--paper); border-block: 1px solid var(--ink); }
.gnav ul { display: flex; overflow-x: auto; scrollbar-width: none; padding-inline: calc(var(--gutter) - 12px); }
.gnav ul::-webkit-scrollbar { display: none; }
.gnav li { flex: none; }
.gnav a { display: flex; align-items: baseline; gap: 2px; padding: 11px 12px 10px; font-size: 13px; font-weight: 700; letter-spacing: .06em; line-height: 1.4; white-space: nowrap; border-bottom: 3px solid transparent; }
.gnav i { font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1; }
.gnav .nav-c { font-size: 11px; font-weight: 500; }
.gnav a:hover { color: var(--accent); }
.gnav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }

/* ---------- 共通の部品 ---------- */

/* 欧文ディスプレイ書体の小さめの数字は、細い線が消えないよう低い光学サイズで組む */
.kicker, .facts dd, .rating-avg, .rank-n, .points li::before, .flist .tag::before, .pager-n, .lb-count, .gnav i, .tag-cup i, .bar p i { font-optical-sizing: none; font-variation-settings: "opsz" 14; }

sup { position: relative; top: .12em; margin-left: .04em; font-family: var(--sans); font-style: normal; font-weight: 700; font-size: .42em; line-height: 1; vertical-align: top; color: var(--accent); }

.kicker { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 15px; line-height: 1.3; color: var(--accent); letter-spacing: .01em; }

.sec { margin-top: 56px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-top: 12px; margin-bottom: 20px; border-top: 2px solid var(--ink); }
.sec-head h1, .sec-head h2 { font-family: var(--serif); font-weight: 700; font-size: 21px; line-height: 1.4; }
.more { flex: none; display: inline-flex; align-items: center; gap: 4px; padding-bottom: 3px; font-size: 13px; font-weight: 700; }
.more:hover { color: var(--accent); }
.sec-note, .note { margin-top: 12px; color: var(--ink-3); font-size: 12px; line-height: 1.75; }
.sec-note a, .note a, .source a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.page-lead { margin: -8px 0 24px; color: var(--ink-2); font-size: 14px; }

/* 画像の枠。3:2 の枠に、切り抜かずに全体を収める */
.frame { display: block; aspect-ratio: 3 / 2; background: var(--wash); overflow: hidden; }
.frame img { width: 100%; height: 100%; object-fit: contain; }

.tag { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; font-size: 12px; line-height: 1.3; }
.tag-cup { font-weight: 700; letter-spacing: .04em; }
.tag-cup i { margin-right: 1px; font-family: var(--display); font-weight: 700; font-size: 21px; color: var(--accent); letter-spacing: 0; }
.tag-kind { padding-left: 10px; border-left: 1px solid var(--rule); color: var(--ink-3); }

.stars { display: inline-block; font-size: 12px; letter-spacing: 1px; line-height: 1; color: transparent; background: linear-gradient(90deg, var(--star) calc(var(--v) / 5 * 100%), var(--star-off) 0); -webkit-background-clip: text; background-clip: text; }
.rate { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.rate b { color: var(--ink); font-size: 13px; font-variant-numeric: tabular-nums; }

.card-title { font-size: 15px; font-weight: 700; line-height: 1.6; }
.card-title a:hover, .headline a:hover { color: var(--accent); }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; color: var(--ink-3); font-size: 12px; line-height: 1.6; }

/* 作品カード。スマホは横並びの一覧、広い画面は格子 */
.cards { border-top: 1px solid var(--rule); }
.card { display: grid; grid-template-columns: 42% 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.card-body { display: grid; align-content: start; gap: 6px; min-width: 0; }

.btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 8px 24px; border: 0; border-radius: 2px; background: var(--accent); color: #fff; font-size: 16px; font-weight: 700; letter-spacing: .06em; line-height: 1.4; cursor: pointer; transition: background-color .15s; }
.btn:hover { background: var(--accent-deep); }

.crumb { display: flex; flex-wrap: wrap; gap: 0 8px; padding: 14px 0 0; color: var(--ink-3); font-size: 12px; line-height: 1.6; }
.crumb a:hover { color: var(--accent); text-decoration: underline; }

/* ---------- トップ ---------- */

.pickup { padding-top: 0; }
.bleed { margin-inline: calc(var(--gutter) * -1); }
.lead-body { display: grid; gap: 10px; padding-top: 18px; }
.headline { font-family: var(--serif); font-weight: 700; font-size: 25px; line-height: 1.5; letter-spacing: .01em; }
.lead-text { color: var(--ink-2); font-size: 15px; }
.pickup-sub { margin-top: 20px; border-top: 1px solid var(--rule); }

/* カップ数の目盛り */
.cupscale { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.cupscale a { display: grid; justify-items: center; gap: 2px; padding: 14px 2px 12px; text-align: center; line-height: 1.4; }
.cupscale a + a { border-left: 1px solid var(--rule); }
.cs-l { font-family: var(--display); font-style: italic; font-weight: 700; font-size: 38px; line-height: 1.1; }
.cs-j { font-size: 11px; font-weight: 700; }
.cs-d { color: var(--ink-3); font-size: 10px; }
.cs-d span { display: none; }
.cs-n { color: var(--ink-3); font-size: 11px; }
.cupscale a:hover .cs-l, .cupscale a[aria-current="page"] .cs-l { color: var(--accent); }
.cupscale a[aria-current="page"] { background: var(--wash); }

/* 評価順 */
.rank { border-top: 1px solid var(--rule); }
.rank li { display: grid; grid-template-columns: 30px 104px 1fr; gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.rank li > div { display: grid; gap: 6px; min-width: 0; }
.rank-n { font-family: var(--display); font-style: italic; font-weight: 700; font-size: 30px; line-height: 1.1; text-align: center; }
.rank li:first-child .rank-n { color: var(--accent); }
.rank .card-title { font-size: 14px; }

/* コラム一覧 */
.col-list { border-top: 1px solid var(--rule); }
.col-list a { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.col-list b { font-family: var(--serif); font-size: 16px; line-height: 1.6; }
.col-list span { color: var(--ink-3); font-size: 13px; line-height: 1.7; }
.col-list a:hover b { color: var(--accent); }

/* 特集 */
.features { display: grid; gap: 32px; }
.feature { display: grid; align-content: start; gap: 8px; }
.feature h3 { font-family: var(--serif); font-size: 18px; line-height: 1.55; }
.feature > p:not(.kicker) { color: var(--ink-2); font-size: 13px; line-height: 1.75; }
.feature-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 6px; }
.feature:hover h3 { color: var(--accent); }

/* ---------- カップ別ページ ---------- */

.cup-head { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; margin: 12px 0 24px; }
.cup-head-l { padding-left: 6px; font-family: var(--display); font-style: italic; font-weight: 700; font-size: 88px; line-height: .9; color: var(--accent); }
.cup-head h1 { font-family: var(--serif); font-size: 22px; line-height: 1.4; }
.cup-head p:last-child { margin-top: 6px; color: var(--ink-2); font-size: 13px; line-height: 1.75; }

/* ---------- 記事 ---------- */

.article-grid { margin-top: 8px; }
.side { display: none; }
.narrow { max-width: 720px; margin-inline: auto; }

.article-head { display: grid; gap: 12px; padding: 10px 0 20px; }
.article .headline { font-size: 26px; }
.article-lead { color: var(--ink-2); font-size: 15px; }
.byline { display: flex; flex-wrap: wrap; gap: 4px 16px; padding-top: 12px; border-top: 1px solid var(--rule); color: var(--ink-3); font-size: 12px; line-height: 1.6; }

.hero .bleed { display: block; background: var(--wash); }
.hero img { width: 100%; }
.hero figcaption { padding-top: 8px; color: var(--ink-3); font-size: 12px; line-height: 1.6; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 24px; border-block: 1px solid var(--ink); }
.facts div { display: grid; align-content: start; gap: 4px; padding: 14px 2px 12px; text-align: center; }
.facts div + div { border-left: 1px solid var(--rule); }
/* 数字を上、見出しを下に見せる */
.facts dt { order: 2; color: var(--ink-3); font-size: 10px; line-height: 1.4; }
.facts dd { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 27px; line-height: 1.1; }
.facts dd small { margin-left: 1px; font-size: .55em; }
.facts-cup { color: var(--accent); }

.cta { margin-top: 28px; }
.cta-price { margin-bottom: 10px; font-size: 13px; line-height: 1.5; text-align: center; }
.cta-price b { margin: 0 2px 0 8px; font-size: 22px; font-variant-numeric: tabular-nums; }
.cta-price small { color: var(--ink-3); font-size: 11px; }
.cta-note { margin-top: 8px; color: var(--ink-3); font-size: 11px; line-height: 1.6; text-align: center; }

.block { margin-top: 48px; }
.block > h2, .prose h2 { display: grid; gap: 2px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--ink); font-family: var(--serif); font-size: 20px; line-height: 1.5; }
.block > p + p, .narrow > p + p { margin-top: 1em; }
.narrow > p { font-size: 16px; }
.narrow > p.note { font-size: 12px; }

.points { counter-reset: p; }
.points li { counter-increment: p; display: grid; grid-template-columns: 48px 1fr; gap: 2px 8px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.points li:first-child { padding-top: 0; }
.points li::before { content: counter(p, decimal-leading-zero); grid-row: span 2; font-family: var(--display); font-style: italic; font-weight: 600; font-size: 30px; line-height: 1.2; color: var(--accent); }
.points h3 { font-size: 16px; line-height: 1.6; }
.points p { color: var(--ink-2); font-size: 15px; }

/* サンプル画像。縦横が混ざるので段組みで並べる（切り抜かない） */
.gallery { columns: 2; column-gap: 6px; margin-top: 14px; }
.gallery a { display: block; margin-bottom: 6px; break-inside: avoid; background: var(--wash); cursor: zoom-in; }
.gallery img { width: 100%; }

.rating { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.rating-sum { display: grid; justify-items: center; gap: 4px; padding-right: 20px; border-right: 1px solid var(--rule); }
.rating-avg { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 46px; line-height: 1; }
.rating-sum .stars { font-size: 14px; }
.rating-count { color: var(--ink-3); font-size: 11px; white-space: nowrap; }
.rating-bars { display: grid; gap: 6px; font-size: 12px; line-height: 1.4; }
.rating-bars li { display: grid; grid-template-columns: 2.2em 1fr 4.6em; gap: 8px; align-items: center; color: var(--ink-2); }
.rating-bars .rb { height: 8px; background: var(--rule); }
.rating-bars .rb span { display: block; height: 100%; min-width: 1px; background: var(--ink); }
.rating-bars li:first-child .rb span { background: var(--accent); }
.rating-bars .rb-n { color: var(--ink-3); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

.reco li { position: relative; padding: 10px 0 10px 22px; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.7; }
.reco li::before { content: ""; position: absolute; left: 2px; top: 1.2em; width: 8px; height: 8px; background: var(--accent); }

.data div { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 14px; line-height: 1.7; }
.data dt { color: var(--ink-3); }
.data dd { overflow-wrap: anywhere; }
.data a { text-decoration: underline; text-underline-offset: 3px; }

.source { margin-top: 28px; padding: 16px; background: var(--wash); color: var(--ink-2); font-size: 12px; line-height: 1.8; }

.pn { display: grid; gap: 0; margin-top: 56px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.pn a { display: grid; gap: 4px; padding: 16px 0; }
.pn a + a { border-top: 1px solid var(--rule); }
.pn span { display: inline-flex; align-items: center; gap: 2px; color: var(--ink-3); font-size: 12px; }
.pn b { font-size: 14px; line-height: 1.6; }
.pn a:hover b { color: var(--accent); }
.pn-next { text-align: right; }
.pn-next span { justify-content: flex-end; }

/* スマホの追従バー（最初のボタンが画面から出たら表示） */
.bar { position: fixed; inset: auto 0 0; z-index: 30; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--ink); transform: translateY(110%); transition: transform .2s; }
.bar[hidden] { display: none; }
.bar.is-on { transform: none; }
.bar p { display: flex; align-items: baseline; gap: 8px; min-width: 0; font-size: 12px; line-height: 1.4; }
.bar p i { flex: none; font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--accent); }
.bar p span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar p b { flex: none; font-size: 13px; }
.bar .btn { min-height: 46px; padding: 6px 18px; font-size: 14px; }
.has-bar .foot { padding-bottom: 84px; }

/* 特集の一覧 */
.criteria { margin: 24px 0 8px; padding: 4px 16px; background: var(--wash); }
.criteria div { display: grid; grid-template-columns: 6em 1fr; gap: 12px; padding: 10px 0; font-size: 13px; line-height: 1.7; }
.criteria div + div { border-top: 1px solid var(--rule); }
.criteria dt { color: var(--ink-3); }

.flist { counter-reset: f; margin-top: 8px; }
.flist li { counter-increment: f; display: grid; gap: 14px; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.flist-body { display: grid; gap: 8px; }
.flist .tag::before { content: counter(f, decimal-leading-zero); margin-right: 4px; font-family: var(--display); font-style: italic; font-weight: 600; font-size: 26px; line-height: 1; }
.flist h2 { font-family: var(--serif); font-size: 19px; line-height: 1.55; }
.flist h2 a:hover { color: var(--accent); }
.flist-hl { font-size: 13px; font-weight: 700; }
.flist-body > p:not([class]) { color: var(--ink-2); font-size: 14px; }
.flist-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; font-weight: 700; }
.flist-links a { display: inline-flex; align-items: center; gap: 4px; text-decoration: underline; text-underline-offset: 4px; }
.flist-links a:hover { color: var(--accent); }

/* 読みもの */
.prose > p a, .prose > ul a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose h2 { margin-top: 40px; }
.prose > ul { margin: 12px 0; }
.prose > ul li { font-size: 16px; }
.prose > ul li { position: relative; padding: 4px 0 4px 20px; }
.prose > ul li::before { content: ""; position: absolute; left: 4px; top: 1.05em; width: 6px; height: 6px; background: var(--accent); }
.prose table { width: 100%; margin: 20px 0; border-collapse: collapse; border-top: 1px solid var(--ink); font-size: 15px; font-variant-numeric: tabular-nums; }
.prose th, .prose td { padding: 9px 8px; border-bottom: 1px solid var(--rule); text-align: left; }
.prose thead th { color: var(--ink-3); font-size: 12px; font-weight: 500; }
.prose tr.hl td { color: var(--accent); font-weight: 700; }
.prose .data { margin: 20px 0; border-top: 1px solid var(--ink); }

/* フォーム */
.form { display: grid; gap: 18px; margin-top: 24px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.form small { margin-left: 8px; color: var(--ink-3); font-size: 11px; font-weight: 500; }
.form input, .form select, .form textarea { width: 100%; padding: 12px; border: 1px solid var(--ink-3); border-radius: 2px; background: var(--paper); font-size: 16px; font-weight: 400; line-height: 1.6; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form .hp { position: absolute; left: -9999px; }
.form-status { min-height: 1.6em; font-size: 14px; }
.form-status.is-error { color: var(--accent); }

.pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-top: 28px; font-size: 13px; font-weight: 700; }
.pager a { display: inline-flex; align-items: center; gap: 2px; }
.pager a[rel="next"] { justify-self: end; }
.pager-n { color: var(--ink-3); font-family: var(--display); font-style: italic; font-size: 16px; }

.lost { display: grid; justify-items: center; gap: 12px; padding: 64px 0; text-align: center; }
.lost-n { font-family: var(--display); font-style: italic; font-weight: 700; font-size: 88px; line-height: 1; color: var(--accent); }
.lost h1 { font-family: var(--serif); font-size: 22px; }
.lost p { color: var(--ink-2); font-size: 14px; }
.lost .btn { margin-top: 12px; }

/* ---------- 下部 ---------- */

.foot { margin-top: 80px; padding: 40px 0 48px; border-top: 2px solid var(--ink); background: var(--wash); }
.foot-in { display: grid; gap: 32px; }
.foot-about p:last-child { margin-top: 12px; color: var(--ink-2); font-size: 12px; line-height: 1.8; }
.foot .logo-g { font-size: 34px; }
.foot .logo-t { font-size: 18px; }
.foot-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; }
.foot-h { margin-bottom: 6px; font-size: 12px; font-weight: 700; }
.foot-nav li a { display: block; padding: 5px 0; color: var(--ink-2); font-size: 13px; line-height: 1.6; }
.foot-nav a:hover { color: var(--accent); text-decoration: underline; }
.foot-note { padding-top: 20px; border-top: 1px solid var(--rule); color: var(--ink-3); font-size: 11px; line-height: 1.8; }
.foot-note p + p { margin-top: 8px; }

/* ---------- 年齢確認：既定で表示し、確認済み（html.age-ok）なら隠す ---------- */

.gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: var(--gutter); background: var(--paper); overflow: auto; }
.age-ok .gate { display: none; }
html:not(.age-ok) body { overflow: hidden; }
.gate-box { display: grid; justify-items: center; gap: 14px; width: min(400px, 100%); padding: 36px 24px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); text-align: center; }
.gate-box h2 { font-family: var(--serif); font-size: 20px; }
.gate-box p:not(.logo) { color: var(--ink-2); font-size: 14px; }
.gate-box .btn { width: 100%; margin-top: 8px; }
.gate-no { color: var(--ink-3); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 画像の拡大表示 ---------- */

.lb { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(17, 17, 17, .97); color: #fff; }
.lb::backdrop { background: #111; }
.lb-stage { position: absolute; inset: 56px 0 64px; display: grid; place-items: center; touch-action: pan-y pinch-zoom; }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lb button { display: grid; place-items: center; width: 48px; height: 48px; border: 0; background: none; color: #fff; cursor: pointer; }
.lb-close { position: absolute; top: 4px; right: 4px; }
.lb-nav { position: absolute; inset: auto 0 8px; display: flex; align-items: center; justify-content: center; gap: 20px; }
.lb-count { min-width: 4em; font-family: var(--display); font-style: italic; font-size: 18px; text-align: center; }

/* ---------- 広い画面 ---------- */

@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .masthead { padding: 28px var(--gutter) 20px; }
  .masthead-tag { font-size: 12px; }
  .logo-g { font-size: 64px; }
  .logo-t { font-size: 34px; }
  .gnav ul { justify-content: center; gap: 6px; }
  .gnav a { padding: 13px 16px 11px; font-size: 14px; }
  .gnav i { font-size: 22px; }

  .sec { margin-top: 80px; }
  .sec-head h1, .sec-head h2 { font-size: 26px; }
  .kicker { font-size: 17px; }

  .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; border-top: 0; }
  .card { display: block; padding: 0; border-bottom: 0; }
  .card-body { padding-top: 12px; }
  .card-title { font-size: 16px; }

  .bleed { margin-inline: 0; }
  .pickup { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 0 40px; padding-top: 32px; }
  .lead-body { padding-top: 20px; }
  .headline { font-size: 30px; }
  .pickup-sub { display: grid; align-content: start; gap: 28px; margin-top: 0; padding-left: 40px; border-top: 0; border-left: 1px solid var(--rule); }

  .cs-l { font-size: 64px; }
  .cs-j { font-size: 13px; }
  .cs-d { font-size: 12px; }
  .cs-d span { display: inline; }
  .cs-n { font-size: 12px; }
  .cupscale a { padding: 24px 8px 20px; }

  .split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; }
  .rank li { grid-template-columns: 40px 150px 1fr; gap: 18px; padding: 18px 0; }
  .rank-n { font-size: 38px; }
  .rank .card-title { font-size: 16px; }

  .features { grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }

  .cup-head { gap: 28px; margin: 24px 0 32px; }
  .cup-head-l { font-size: 150px; }
  .cup-head h1 { font-size: 30px; }
  .cup-head p:last-child { font-size: 14px; }

  .article .headline { font-size: 34px; }
  .article-lead { font-size: 17px; }
  .facts dd { font-size: 36px; }
  .facts dt { font-size: 12px; }
  .facts div { padding: 20px 8px 16px; }
  .gallery { columns: 3; column-gap: 8px; }
  .gallery a { margin-bottom: 8px; }
  .rating { gap: 32px; }
  .rating-sum { padding-right: 32px; }
  .rating-avg { font-size: 60px; }
  .data div { grid-template-columns: 8em 1fr; }

  .pn { grid-template-columns: 1fr 1fr; }
  .pn a { padding: 20px 0; }
  .pn a + a, .pn span + a { border-top: 0; border-left: 1px solid var(--rule); padding-left: 24px; }
  .pn a:first-child { padding-right: 24px; }

  .flist li { grid-template-columns: 280px 1fr; gap: 28px; }
  .flist h2 { font-size: 21px; }

  .foot-in { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; }
  .foot-nav { grid-template-columns: repeat(3, 1fr); }
  .foot-note { grid-column: 1 / -1; }
}

@media (min-width: 1000px) {
  /* 記事：本文の右に、追従する購入枠 */
  .article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; margin-top: 16px; }
  .side { display: block; position: sticky; top: 72px; }
  .buybox { display: grid; gap: 10px; padding: 20px; border: 1px solid var(--ink); }
  .buybox-title { font-size: 13px; font-weight: 700; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .buybox .cta-price { margin: 6px 0 0; text-align: left; }
  .buybox .cta-price b { margin-left: 6px; }
  .buybox .btn { min-height: 50px; font-size: 15px; }
  .buybox .cta-note { margin-top: 0; }
  .bar { display: none; }
  .has-bar .foot { padding-bottom: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
