/* 買う前ノート 価格くらべ — design tokens */
:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --surface-2: #efede7;
  --ink: #15171b;
  --ink-2: #4a4e57;
  --ink-3: #868b95;
  --line: #e5e2db;
  --accent: #0b7a6b;
  --accent-ink: #075c51;
  --accent-soft: #e2f2ee;
  --save: #0b7a6b;
  --rakuten: #bf0000;
  --yahoo: #ff0033;
  --amazon: #232f3e;
  --amazon-accent: #ff9900;
  --radius: 20px;
  --radius-s: 12px;
  --shadow: 0 1px 2px rgba(21,23,27,.04), 0 14px 36px -16px rgba(21,23,27,.16);
  --shadow-hover: 0 2px 4px rgba(21,23,27,.05), 0 22px 44px -18px rgba(21,23,27,.24);
  --font: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-num: "Manrope", "Noto Sans JP", sans-serif;
  --container: 1120px;
  --gutter: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 15.5px; line-height: 1.7; font-feature-settings: "palt"; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
small { font-weight: 500; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 760px; }
.muted { color: var(--ink-3); font-size: .86em; }
.price { font-family: var(--font-num); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

/* PR band + header */
.pr-band { font-size: 11.5px; color: var(--ink-3); text-align: center; padding: 6px var(--gutter); background: var(--surface-2); }
.header { position: sticky; top: 0; z-index: 30; background: rgba(246,245,241,.82); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid rgba(21,23,27,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 36px; height: 36px; border-radius: 11px; background: var(--ink); color: #fff; display: grid; place-items: center; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text small { font-size: 10.5px; color: var(--ink-3); letter-spacing: .06em; }
.brand-text strong { font-size: 17px; font-weight: 700; letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav-link { font-size: 13.5px; font-weight: 500; color: var(--ink-2); padding: 8px 12px; border-radius: 999px; }
.nav-link:hover { background: var(--surface-2); color: var(--ink); }
.nav-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 999px; color: var(--ink-2); }
.nav-icon:hover { background: var(--surface-2); }
@media (max-width: 640px) { .nav-link { display: none; } }

/* hero */
.hero { padding: 56px 0 36px; background: radial-gradient(900px 400px at 15% -10%, #e6f2ee 0%, rgba(230,242,238,0) 60%), radial-gradient(700px 360px at 95% 0%, #f5e9e0 0%, rgba(245,233,224,0) 60%); }
.hero-inner { max-width: 760px; }
.eyebrow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; font-weight: 500; color: var(--ink-2); margin-bottom: 18px; }
.dot { width: 9px; height: 9px; border-radius: 999px; display: inline-block; margin-left: 6px; }
.dot:first-child { margin-left: 0; }
.dot--rakuten { background: var(--rakuten); } .dot--yahoo { background: var(--yahoo); } .dot--amazon { background: var(--amazon-accent); }
.hero-title { font-size: clamp(30px, 5.4vw, 48px); font-weight: 700; letter-spacing: -.02em; line-height: 1.22; }
.hero-lead { margin: 18px 0 26px; color: var(--ink-2); font-size: 16px; max-width: 560px; }
.sp { display: none; } @media (max-width: 560px) { .sp { display: inline; } }
.search { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 8px 6px 20px; box-shadow: var(--shadow); max-width: 620px; transition: box-shadow .2s, border-color .2s; color: var(--ink-3); }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow); }
.search input { flex: 1; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; padding: 10px 0; color: var(--ink); min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; font-size: 12px; font-weight: 500; padding: 4px 11px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); line-height: 1.6; }
.chip--link { background: var(--surface); border: 1px solid var(--line); font-size: 13px; padding: 7px 14px; transition: .15s; }
.chip--link:hover { border-color: var(--ink); color: var(--ink); }
.chip--cat { background: var(--accent-soft); color: var(--accent-ink); }

/* sections */
.section { padding: 40px 0; }
.section--alt { background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0)); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.section-head h2 { font-size: 21px; font-weight: 700; }
.more { font-size: 13.5px; font-weight: 500; color: var(--accent-ink); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
@media (max-width: 560px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* card */
.card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.card-media { aspect-ratio: 1; background: #fff; display: grid; place-items: center; padding: 14px; border-bottom: 1px solid var(--line); }
.card-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.card-noimg { color: var(--ink-3); font-size: 13px; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.card-title { font-size: 14px; font-weight: 500; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.card-price { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.card-price .price { font-size: 22px; }
.card-sub { font-size: 12.5px; color: var(--ink-3); }
.card-sub b { color: var(--save); font-family: var(--font-num); font-weight: 800; }

/* shop marks */
.shop-mark { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; color: #fff; font-family: var(--font-num); font-weight: 800; font-size: 12px; flex: 0 0 auto; letter-spacing: -.02em; }
.shop-mark--rakuten { background: var(--rakuten); }
.shop-mark--yahoo { background: var(--yahoo); }
.shop-mark--amazon { background: var(--amazon); color: var(--amazon-accent); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 15px; border-radius: 999px; padding: 13px 22px; transition: .15s; white-space: nowrap; line-height: 1.2; }
.btn--primary { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -10px rgba(21,23,27,.5); width: 100%; }
.btn--primary:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn--primary.btn--rakuten { background: var(--rakuten); box-shadow: 0 10px 24px -10px rgba(191,0,0,.5); }
.btn--primary.btn--yahoo { background: var(--yahoo); box-shadow: 0 10px 24px -10px rgba(255,0,51,.45); }
.btn--primary.btn--amazon { background: var(--amazon); }
.btn--ghost { background: var(--surface); border: 1px solid var(--line); color: var(--ink); padding: 9px 16px; font-size: 13.5px; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { padding: 7px 13px; font-size: 12.5px; }
.pr { font-size: 9.5px; font-weight: 700; opacity: .7; border: 1px solid currentColor; border-radius: 4px; padding: 0 4px; line-height: 1.5; }

/* product page */
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-3); padding: 18px 0 6px; overflow: hidden; white-space: nowrap; }
.crumbs a:hover { color: var(--ink); }
.crumb-cur { overflow: hidden; text-overflow: ellipsis; }
.phero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; padding: 12px 0 8px; align-items: start; }
@media (max-width: 800px) { .phero { grid-template-columns: 1fr; gap: 18px; } }
.pmedia { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1; display: grid; place-items: center; padding: 28px; box-shadow: var(--shadow); position: sticky; top: 80px; }
@media (max-width: 800px) { .pmedia { position: static; aspect-ratio: 4/3; padding: 18px; } }
.pmedia img { max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pmeta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.ptitle { font-size: clamp(20px, 2.6vw, 27px); font-weight: 700; line-height: 1.4; margin-bottom: 20px; }
.best { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.best::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--accent); }
.best-label { font-size: 12.5px; font-weight: 500; color: var(--ink-3); letter-spacing: .04em; }
.best-shop { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; margin: 8px 0 2px; }
.best-price { font-family: var(--font-num); font-weight: 800; font-size: clamp(38px, 6vw, 48px); letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.best-price small { font-family: var(--font); font-size: 13px; font-weight: 500; color: var(--ink-3); margin-left: 4px; letter-spacing: 0; }
.best-sub { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 10px 0 18px; }
.best-seller { margin-top: 10px; }
.best--empty { padding: 26px 22px; }
.badge { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 6px; background: var(--surface-2); color: var(--ink-2); line-height: 1.6; }
.badge--save, .badge--best { background: var(--accent-soft); color: var(--accent-ink); }
.badge--diff { background: #fbeceb; color: #a12a24; font-family: var(--font-num); }
.updated { margin-top: 14px; font-size: 12px; }

.compare .toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); cursor: pointer; user-select: none; }
.compare .toggle input { accent-color: var(--accent); width: 16px; height: 16px; }
.rows { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 16px 18px; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
.row--best { background: linear-gradient(90deg, var(--accent-soft), rgba(226,242,238,0) 60%); }
.row[hidden] { display: none; }
.row-shop { display: flex; align-items: center; gap: 12px; min-width: 0; }
.row-label { font-weight: 700; font-size: 15px; }
.row-seller { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-price { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.row-price .price { font-size: 22px; }
.price--na { color: var(--ink-3); }
@media (max-width: 560px) {
  .row { grid-template-columns: 1fr auto; padding: 14px 14px; }
  .row-price { grid-column: 1 / -1; justify-content: flex-start; }
  .row .btn--ghost { order: 2; }
}
.note { margin-top: 12px; font-size: 12px; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.panel h2 { font-size: 17px; margin-bottom: 12px; }
.spark { width: 100%; height: 110px; display: block; }
.spark-area { fill: var(--accent-soft); }
.spark-line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.spark-dot { fill: var(--accent); }
.spark-meta { margin-top: 8px; font-size: 12px; }

.offers { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); margin-bottom: 10px; overflow: hidden; }
.offers summary { display: flex; align-items: center; gap: 10px; padding: 14px 18px; cursor: pointer; font-weight: 700; list-style: none; }
.offers summary::-webkit-details-marker { display: none; }
.offers summary::after { content: "＋"; margin-left: auto; color: var(--ink-3); font-weight: 400; }
.offers[open] summary::after { content: "－"; }
.offer { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 18px; border-top: 1px solid var(--line); }
.offer-main { min-width: 0; }
.offer-name { font-size: 13px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.offer-price { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.offer-price .price { font-size: 17px; }
@media (max-width: 560px) { .offer { flex-direction: column; align-items: stretch; } .offer-price { justify-content: space-between; } }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 720px) { .two-col { grid-template-columns: 1fr; } }
.memo p { font-size: 15px; color: var(--ink-2); }
.specs { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs th, .specs td { text-align: left; padding: 8px 0; border-top: 1px solid var(--line); vertical-align: top; }
.specs th { width: 34%; color: var(--ink-3); font-weight: 500; }

.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; align-items: center; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.sticky-info { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.sticky-info .price { font-size: 22px; }
.sticky .btn { width: auto; padding: 12px 18px; font-size: 14px; }
@media (max-width: 800px) { .sticky.is-on { display: flex; } body.page-product { padding-bottom: 76px; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; background: var(--ink); color: #fff; font-family: var(--font-num); font-weight: 800; margin-bottom: 12px; }
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: 14px; }

.page-head { padding: 12px 0 22px; }
.page-head h1 { font-size: 28px; }
.prose { font-size: 15px; color: var(--ink-2); }
.prose h2 { font-size: 18px; color: var(--ink); margin: 28px 0 8px; }
.prose p { margin-bottom: 12px; }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }

/* footer */
.footer { margin-top: 40px; padding: 44px 0 36px; border-top: 1px solid var(--line); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 20px; } }
.footer h4 { font-size: 13px; color: var(--ink-3); margin-bottom: 10px; letter-spacing: .04em; }
.footer li { font-size: 14px; margin-bottom: 6px; }
.footer li a:hover { text-decoration: underline; }
.footer-lead { font-size: 13.5px; color: var(--ink-2); margin-top: 10px; max-width: 420px; }
.footer-note { font-size: 12px; color: var(--ink-3); margin-top: 28px; }
.footer-copy { font-size: 12px; color: var(--ink-3); margin-top: 8px; font-family: var(--font-num); }

/* ---- card: 3 shops ---- */
.card-media { text-decoration: none; }
.card-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.shoplines { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.shopline { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 13px; transition: .15s; min-width: 0; }
a.shopline:hover { border-color: var(--ink); }
.shopline--best { background: var(--accent-soft); border-color: transparent; }
.shopline--na { opacity: .55; }
.shopline--search .shopline-price .muted { font-size: 12.5px; }
.shopline .shop-mark { width: 22px; height: 22px; font-size: 10.5px; border-radius: 6px; }
.shopline-label { flex: 1; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shopline-price { margin-left: auto; }
.shopline-price .price { font-size: 15px; }
.shopline-arrow { color: var(--ink-3); font-size: 16px; line-height: 1; }
.card-more { display: inline-block; margin-top: 10px; font-size: 12.5px; font-weight: 700; color: var(--accent-ink); }
.card-more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---- ranking ---- */
.head-sub { display: block; font-size: 13px; font-weight: 500; color: var(--ink-3); margin-top: 4px; letter-spacing: .04em; }
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin: 0 calc(-1 * var(--gutter)) 18px; padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: none; }
.chips--scroll::-webkit-scrollbar { display: none; }
.chip--link.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.rank-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rank-item { position: relative; display: grid; grid-template-columns: 40px 96px minmax(0, 1fr); gap: 14px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 14px; box-shadow: var(--shadow); }
.rank-no { font-family: var(--font-num); font-weight: 800; font-size: 20px; color: var(--ink-3); line-height: 1; padding-top: 4px; text-align: center; }
.rank-no--top { color: var(--accent); }
.rank-media { display:grid; aspect-ratio: 1; background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); display: grid; place-items: center; }
.rank-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.rank-name { font-size: 14px; line-height: 1.5; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rank-meta { font-size: 12px; margin-top: 2px; }
.shoplines--row { flex-direction: row; flex-wrap: wrap; gap: 6px; }
.shoplines--row .shopline { padding: 6px 9px; }
.shoplines--row .shopline-price { margin-left: 2px; }
@media (max-width: 560px) {
  .rank-item { grid-template-columns: 28px 76px minmax(0, 1fr); gap: 10px; padding: 12px; }
  .rank-no { font-size: 16px; }
}
.section--tight { padding: 22px 0; }
.tree-top { font-size: 19px; margin-bottom: 10px; }
.tree-mid { margin-bottom: 14px; }
.tree-mid h3 { font-size: 13.5px; color: var(--ink-3); font-weight: 500; margin-bottom: 8px; }

/* home: ranking teaser */
.rank-teaser { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.rank-teaser a { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 12px 14px; font-size: 14px; font-weight: 500; transition: .15s; }
.rank-teaser a:hover { border-color: var(--ink); }
.rank-teaser small { display: block; font-size: 11.5px; color: var(--ink-3); font-weight: 400; }
@media (max-width: 560px) { .card .shopline-label { display: none; } .card .shopline-price { margin-left: 4px; } }
.chips--scroll .chip { flex: 0 0 auto; white-space: nowrap; }

/* ---- genre tiles ---- */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px; }
@media (max-width: 560px) { .tiles { grid-template-columns: repeat(3, 1fr); gap: 10px; } }
.tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 10px 8px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); transition: .15s; }
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: transparent; }
.tile-media { width: 100%; aspect-ratio: 1; border-radius: 10px; background: #fff; overflow: hidden; display: grid; place-items: center; border: 1px solid var(--line); }
.tile-media img { width: 100%; height: 100%; object-fit: cover; }
.tile-name { font-size: 13px; font-weight: 500; line-height: 1.35; }
.tile-sub { font-size: 11px; color: var(--ink-3); font-family: var(--font-num); }
.rank-teaser a { align-items: center; }
.rank-teaser .teaser-img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; border: 1px solid var(--line); background: #fff; flex: 0 0 auto; }
.chips--jump { margin: 0 0 8px; }
.section--tight { scroll-margin-top: 72px; }

/* ---- search results ---- */
.sr-group { margin-bottom: 26px; }
.sr-group h3 { font-size: 14px; color: var(--ink-2); margin-bottom: 10px; display: flex; align-items: baseline; gap: 8px; }
.sr-list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; box-shadow: var(--shadow); }
.sr-item { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-top: 1px solid var(--line); transition: background .12s; }
.sr-item:first-child { border-top: 0; }
.sr-item:hover { background: var(--accent-soft); }
.sr-item img, .sr-noimg { width: 46px; height: 46px; border-radius: 8px; object-fit: contain; background: #fff; border: 1px solid var(--line); flex: 0 0 auto; }
.sr-rank { width: 46px; flex: 0 0 auto; text-align: center; font-family: var(--font-num); font-weight: 800; font-size: 17px; color: var(--accent); }
.sr-rank small { font-family: var(--font); font-size: 10px; font-weight: 500; color: var(--ink-3); margin-left: 1px; }
.sr-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sr-name { font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sr-name b, .chip b { color: var(--accent-ink); font-weight: 700; }
.sr-item .price { font-size: 15px; flex: 0 0 auto; }
.chip-sub { margin-left: 8px; font-size: 11px; color: var(--ink-3); font-weight: 400; }
.sr-group .shoplines { max-width: 520px; }
.sr-group .shopline { padding: 11px 14px; font-size: 14px; }
.sr-group .shopline .shopline-label { color: var(--ink); }
.sr-empty, .sr-loading { margin-bottom: 18px; }
.rank-item { scroll-margin-top: 80px; }
.rank-item.is-target { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow); }
#results.section { padding-top: 8px; min-height: 70vh; }

/* ================= D案：現行を磨く ================= */
:root { --ease: cubic-bezier(.2,.7,.2,1); }
::selection { background: var(--accent-soft); color: var(--accent-ink); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 40px; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(21,23,27,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(21,23,27,.045) 1px, transparent 1px);
  background-size: 32px 32px; -webkit-mask-image: radial-gradient(520px 300px at 85% 20%, #000 0%, transparent 75%); mask-image: radial-gradient(520px 300px at 85% 20%, #000 0%, transparent 75%); }
.hero-inner { position: relative; z-index: 1; }
.hero-title { font-weight: 700; letter-spacing: -.03em; }
.eyebrow { display: inline-flex; background: rgba(255,255,255,.7); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }
.search { padding: 8px 10px 8px 22px; }
.search input { font-size: 16px; padding: 12px 0; }
.chip--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip--dark:hover { color: #fff; filter: brightness(1.2); }
.hero-stats { display: flex; gap: 28px; margin: 30px 0 0; padding-top: 20px; border-top: 1px solid var(--line); max-width: 520px; }
.hero-stats div { display: flex; flex-direction: column-reverse; gap: 2px; }
.hero-stats dt { font-size: 11.5px; color: var(--ink-3); letter-spacing: .06em; }
.hero-stats dd { margin: 0; font-family: var(--font-num); font-weight: 800; font-size: 24px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* section heads */
.section-head h2 { display: flex; flex-direction: column; gap: 4px; font-size: 22px; letter-spacing: -.01em; }
.eyebrow-en { font-family: var(--font-num); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.more { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 999px; transition: background .15s var(--ease); }
.more:hover { background: var(--accent-soft); }

/* cards */
.card { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .2s; }
.card:hover { transform: translateY(-4px); border-color: transparent; }
.card-media { position: relative; overflow: hidden; }
.card-media img { transition: transform .5s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-flag { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--ink); color: #fff; font-family: var(--font-num); font-weight: 700; font-size: 11.5px; padding: 4px 10px; border-radius: 999px; letter-spacing: .01em; }
.card-spark { margin-top: 8px; border-radius: 8px; overflow: hidden; background: var(--accent-soft); }
.card-spark .spark { height: 34px; }
.card-spark .spark-area { fill: transparent; }
.shopline { transition: border-color .15s, background .15s, transform .15s var(--ease); }
a.shopline:active { transform: scale(.985); }
.btn { transition: transform .15s var(--ease), filter .15s, border-color .15s, box-shadow .2s; }
.btn:active { transform: scale(.98); }

/* reveal（JS が有効なときだけ隠す。無効でも中身は見える） */
.js-reveal .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease), box-shadow .35s var(--ease), border-color .2s; }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

/* product page */
.best { border-radius: 24px; }
.best::before { width: 6px; background: linear-gradient(180deg, var(--accent), #35b39f); }
.row { grid-template-columns: minmax(0, 1fr) auto auto; row-gap: 10px; transition: background .15s; }
.row:hover { background: rgba(21,23,27,.02); }
.row--best:hover { background: linear-gradient(90deg, var(--accent-soft), rgba(226,242,238,0) 60%); }
.row-bar { grid-column: 1 / -1; order: 9; height: 4px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.row-bar span { display: block; height: 100%; border-radius: 999px; background: var(--ink-3); }
.row--best .row-bar span { background: var(--accent); }
.panel { border-radius: 24px; }

/* ranking */
.rank-item { transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease); }
.rank-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: transparent; }
.rank-no--top { display: inline-grid; place-items: center; width: 30px; height: 30px; margin: 0 auto; padding: 0; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; }
.rank-item:nth-child(1) .rank-no--top { background: #b8892b; }
.rank-item:nth-child(2) .rank-no--top { background: #8c929b; }
.rank-item:nth-child(3) .rank-no--top { background: #a8683f; }
.tile { transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s; }
.tile-media img { transition: transform .5s var(--ease); }
.tile:hover .tile-media img { transform: scale(1.05); }
.tree-top { display: flex; align-items: center; gap: 10px; }
.tree-top::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--accent); }

/* steps */
.step { border-radius: 24px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.step-n { background: var(--accent); }

/* mobile nav keeps ランキング */
@media (max-width: 640px) {
  .nav-link--keep { display: inline-flex; font-size: 13px; padding: 7px 12px; background: var(--surface); border: 1px solid var(--line); }
  .hero { padding: 40px 0 28px; }
  .hero-stats { gap: 22px; margin-top: 24px; }
  .hero-stats dd { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* sticky bar: 狭い幅でラベルが縦に潰れないようにする */
.sticky-info { flex-wrap: nowrap; }
.sticky-info .muted { white-space: nowrap; font-size: 11px; }
.sticky-info .price { white-space: nowrap; }
.sticky .btn { flex: 0 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 420px) {
  .sticky-info { flex-direction: column; align-items: flex-start; gap: 0; flex: 0 0 auto; }
  .sticky-info .shop-mark { display: none; }
  .sticky-info .price { font-size: 19px; line-height: 1.15; }
  .sticky .btn { flex: 1 1 auto; padding: 12px 14px; font-size: 13.5px; }
}

/* ================= 小さいカード：PC 6列×2段＝12個 ================= */
.grid--compact { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1040px) { .grid--compact { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .grid--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } }
.grid--compact .card { border-radius: 14px; }
.grid--compact .card-media { padding: 8px; }
.grid--compact .card-body { padding: 9px 10px 11px; gap: 4px; }
.grid--compact .chip--cat { font-size: 10.5px; padding: 1px 8px; align-self: flex-start; }
.grid--compact .card-title { font-size: 12.5px; line-height: 1.4; min-height: 2.8em; font-weight: 500; }
.grid--compact .card-flag { top: 7px; left: 7px; font-size: 10.5px; padding: 2px 8px; }
.grid--compact .shoplines { gap: 4px; margin-top: 5px; }
.grid--compact .shopline { padding: 4px 6px; gap: 5px; border-radius: 8px; }
.grid--compact .shopline .shop-mark { width: 18px; height: 18px; font-size: 9px; border-radius: 5px; }
.grid--compact .shopline-label, .grid--compact .shopline-arrow { display: none; }
.grid--compact .shopline-price { margin-left: auto; }
.grid--compact .shopline-price .price { font-size: 13px; }
.grid--compact .shopline-price .muted { font-size: 11.5px; }
.grid--compact .card-more { font-size: 11.5px; margin-top: 6px; }
.grid--compact .card-spark { display: none; }

.card-flag--sale { background: #c8102e; }
.mini-genre { font-size: 10.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-price { display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.mini-price .shop-mark { width: 18px; height: 18px; font-size: 9px; border-radius: 5px; }
.mini-price .price { font-size: 15px; }
.mini-price .pr { margin-left: auto; font-size: 9px; color: var(--ink-3); }
@media (max-width: 640px) {
  .grid--compact .card-title { font-size: 11.5px; }
  .grid--compact .card-body { padding: 7px 8px 9px; }
  .mini-price .price { font-size: 13.5px; }
  .grid--compact .card-more { display: none; }
}
.mini-until { font-size: 10.5px; color: #a3122a; font-family: var(--font-num); font-weight: 700; letter-spacing: .01em; }
.mini-drop { font-size: 11px; color: var(--accent-ink); background: var(--accent-soft); border-radius: 6px; padding: 1px 6px; font-family: var(--font-num); font-weight: 800; letter-spacing: .01em; align-self: flex-start; }
.mini-pts { font-size: 10.5px; color: var(--ink-2); font-family: var(--font-num); font-weight: 600; }
.mini-price { flex-wrap: wrap; row-gap: 2px; }
.section-head > .muted { white-space: nowrap; flex: 0 0 auto; }
@media (max-width: 640px) {
  .section-head h2 { font-size: 19px; }
  .grid--compact .card-flag { font-size: 9.5px; padding: 2px 6px; top: 5px; left: 5px; }
  .mini-price .pr { margin-left: 0; }
}
.js-reveal .reveal { transform: translateY(8px); transition-duration: .38s, .38s, .35s, .2s; }

/* ---- セール品カード：Yahoo!/Amazon の小ボタン ---- */
.mini-shops { display: flex; gap: 4px; margin-top: 6px; }
.mini-shop { flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 5px 4px; border: 1px solid var(--line); border-radius: 8px; font-size: 11px; font-weight: 500; color: var(--ink-2); background: var(--surface); transition: border-color .15s, transform .15s var(--ease); }
.mini-shop:hover { border-color: var(--ink); color: var(--ink); }
.mini-shop:active { transform: scale(.97); }
.mini-shop .shop-mark { width: 16px; height: 16px; font-size: 8.5px; border-radius: 4px; }

/* ---- 集計ページ ---- */
.stat-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: var(--shadow); }
.stat-label { font-size: 12px; color: var(--ink-3); letter-spacing: .04em; }
.stat-num { font-family: var(--font-num); font-weight: 800; font-size: 34px; letter-spacing: -.03em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.stat-num small { font-family: var(--font); font-size: 12px; font-weight: 500; color: var(--ink-3); margin-left: 4px; letter-spacing: 0; }
.stat-sub { font-size: 12px; color: var(--ink-2); margin-top: 4px; }
.stat-table th, .stat-table td { text-align: right; font-variant-numeric: tabular-nums; }
.stat-table th:first-child, .stat-table td:first-child { text-align: left; }
.stat-table tr:first-child th { color: var(--ink-3); font-weight: 500; border-top: 0; width: auto; }
.stat-day { display: grid; grid-template-columns: 44px minmax(0, 1fr) 40px; align-items: center; gap: 10px; padding: 3px 0; font-size: 12.5px; }
.stat-date { color: var(--ink-3); font-family: var(--font-num); }
.stat-bar { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.stat-bar span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.stat-val { text-align: right; font-family: var(--font-num); font-weight: 700; }
@media (max-width: 560px) { .stat-cards { grid-template-columns: 1fr; } .stat-num { font-size: 30px; } }

/* 楽天の価格の行そのものがリンク */
a.mini-price { border-radius: 8px; transition: background .15s; }
a.mini-price:hover { background: var(--accent-soft); }
.mini-shop .price, .mini-shop { font-variant-numeric: tabular-nums; }

/* ================= 背景A：オーロラ ================= */
/* 画面に固定した1枚のレイヤーに、淡い色のにじみを4つ置く。
   background-attachment: fixed はスマホ（特に iOS）でカクつくので使わず、position: fixed の疑似要素にする。
   商品カード・ランキングの行・フッターは白のまま（商品写真が白背景で、mix-blend-mode: multiply を使っているため）。 */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle at 12% 8%, rgba(93,202,165,.34), transparent 46%),
    radial-gradient(circle at 92% 2%, rgba(240,153,123,.26), transparent 42%),
    radial-gradient(circle at 75% 88%, rgba(175,169,236,.28), transparent 46%),
    radial-gradient(circle at 6% 80%, rgba(133,183,235,.18), transparent 40%);
}
.hero { background: none; }
.hero::after { display: none; }                 /* 方眼の飾りは外す（色のにじみと重なるとうるさい） */
.header { background: rgba(250,249,246,.72); }
.pr-band { background: rgba(239,237,231,.62); }
.section--alt { background: linear-gradient(180deg, rgba(255,255,255,.46), rgba(255,255,255,0)); }
.eyebrow { background: rgba(255,255,255,.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.chip--link { background: rgba(255,255,255,.78); }
.chip--link.is-on, .chip--dark { background: var(--ink); }
.hero-stats { border-top-color: rgba(21,23,27,.10); }
.footer { background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.rank-teaser a, .step { background: rgba(255,255,255,.86); }

/* 一緒に買う物（価格列なし：店名＋ボタンの2列） */
.row--together { grid-template-columns: minmax(0, 1fr) auto; }
.row--together .row-seller { white-space: normal; }

/* ================= 選び方ガイド（/t/）：Tier表と「困った」を記事に ================= */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.guide-card { display: flex; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 12px 14px; transition: border-color .15s, transform .25s var(--ease), box-shadow .25s var(--ease); min-width: 0; }
.guide-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: transparent; }
.guide-card img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 10px; border: 1px solid var(--line); flex: 0 0 auto; padding: 4px; mix-blend-mode: multiply; }
.guide-card span { min-width: 0; }
.guide-card b { display: block; font-size: 14.5px; line-height: 1.4; }
.guide-card small { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ghead { padding: 12px 0 8px; }
.ghead h1 { font-size: clamp(24px, 3.4vw, 34px); line-height: 1.3; margin-top: 10px; }
.ghead .head-sub { font-size: 15px; margin-top: 8px; color: var(--ink-2); letter-spacing: 0; }
.ghead .glead { margin-top: 14px; color: var(--ink-2); font-size: 15px; max-width: 760px; }
.gmeta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.axes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 720px) { .axes { grid-template-columns: 1fr; } }
.axis { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.axis .tag { display: inline-block; font-size: 11px; font-weight: 700; color: var(--accent-ink); background: var(--accent-soft); border-radius: 6px; padding: 2px 8px; margin-bottom: 8px; }
.axis h3 { font-size: 16px; margin-bottom: 6px; }
.axis p { font-size: 14px; color: var(--ink-2); }
.axis .reco { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 13.5px; font-weight: 700; color: var(--ink); }
.tier-badge { display: inline-grid; place-items: center; min-width: 34px; height: 26px; padding: 0 8px; border-radius: 7px; color: #fff; font-family: var(--font-num); font-weight: 800; font-size: 13px; letter-spacing: .02em; line-height: 1; }
.tier-ss { background: #b8892b; } .tier-s { background: #6f7a8a; } .tier-a { background: #a8683f; } .tier-b { background: #868b95; } .tier-c { background: #9aa0a8; }
.tier-table { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.tier-row { display: grid; grid-template-columns: 170px minmax(0, 1fr); border-top: 1px solid var(--line); }
.tier-row:first-child { border-top: 0; }
@media (max-width: 640px) { .tier-row { grid-template-columns: 1fr; } }
.tier-th { padding: 16px 18px; background: var(--surface-2); }
.tier-th b { display: block; font-size: 14.5px; margin-top: 8px; }
.tier-th small { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; line-height: 1.45; }
.tier-td { padding: 12px 18px; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.tier-item { display: flex; gap: 8px 10px; align-items: baseline; font-size: 14px; flex-wrap: wrap; }
.tier-item a { font-weight: 700; }
.tier-item a:hover { text-decoration: underline; text-underline-offset: 3px; }
.tier-item .muted { font-size: 12.5px; }
.model { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-bottom: 14px; scroll-margin-top: 80px; }
@media (max-width: 720px) { .model { grid-template-columns: 1fr; gap: 14px; padding: 16px; } }
.model-media { aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: 14px; display: grid; place-items: center; padding: 14px; }
.model-media img { max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.model-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.model-no { font-family: var(--font-num); font-weight: 800; color: var(--ink-3); font-size: 14px; }
.model h3 { font-size: 18px; line-height: 1.4; }
.model h3 small { display: block; font-size: 12.5px; color: var(--ink-3); font-weight: 500; margin-top: 2px; }
.model-type { font-size: 13.5px; color: var(--ink-2); margin: 6px 0 4px; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
@media (max-width: 560px) { .kv { grid-template-columns: 1fr; } }
.kv div { background: var(--surface-2); border-radius: 12px; padding: 12px 14px; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.kv b { display: block; font-size: 11.5px; color: var(--accent-ink); letter-spacing: .06em; margin-bottom: 4px; }
.model .specs { font-size: 13.5px; }
.model .specs th { width: 30%; }
.model-price { margin-top: 14px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.model-price .shoplines { flex: 1 1 300px; max-width: 460px; margin-top: 0; }
.model-price .shopline .pr { margin-left: 4px; }
.gtable-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface); }
.gtable { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 560px; }
.gtable th, .gtable td { padding: 10px 12px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.gtable thead th { border-top: 0; background: var(--surface-2); font-size: 12px; color: var(--ink-3); font-weight: 500; white-space: nowrap; }
.gtable .price { font-size: 14px; }
.gnotes { font-size: 12.5px; color: var(--ink-3); display: flex; flex-direction: column; gap: 6px; }
.survey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 900px) { .survey { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .survey { grid-template-columns: 1fr; } }
.survey > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 16px; box-shadow: var(--shadow); }
.survey .num { font-family: var(--font-num); font-weight: 800; font-size: 28px; letter-spacing: -.02em; color: var(--accent-ink); line-height: 1.1; }
.survey b { display: block; font-size: 14px; margin-top: 6px; line-height: 1.4; }
.survey p { font-size: 12.5px; color: var(--ink-2); margin-top: 4px; }
.survey small { display: block; font-size: 11px; color: var(--ink-3); margin-top: 6px; }
.problem-q { font-size: 16px; font-weight: 700; line-height: 1.45; margin-bottom: 6px; }
.pick { border-left: 5px solid var(--accent); }
.pick .kv { margin-top: 8px; }
.pick .model-head b { font-size: 14.5px; }

/* ================= サイドバナー（A8・234×60）：PC は右 240px に最大3枠、スマホは本文の間に1枠 ================= */
.sb-main { min-width: 0; }
.sidebar { display: none; }
.sb-mobile { margin: 20px 0 4px; }
.sb-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 10px 12px 8px; box-shadow: var(--shadow); }
.sb-box h4 { font-size: 12px; color: var(--ink-3); letter-spacing: .06em; margin: 0 0 6px; display: flex; justify-content: space-between; align-items: center; font-weight: 500; }
.sb-ad { margin: 6px 0; text-align: center; min-width: 0; }
.sb-ad img { display: inline-block; max-width: 100%; height: auto; border-radius: 6px; }
.sb-text { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 234px; margin: 0 auto; box-sizing: border-box; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); font-size: 13px; font-weight: 700; color: var(--ink); transition: border-color .15s; text-align: left; }
.sb-text:hover { border-color: var(--ink); }
.sb-note { font-size: 11.5px; line-height: 1.5; margin-top: 4px; }
.sb-mobile .sb-box { display: grid; gap: 4px; }
@media (min-width: 1100px) {
  .container.has-sb { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 32px; align-items: start; }
  .container.has-sb .sb-main { grid-column: 1; }
  .container.has-sb .sidebar { grid-column: 2; display: flex; flex-direction: column; gap: 12px; position: sticky; top: 80px; padding-top: 18px; }
  .container.has-sb .sb-mobile { display: none; }
}
/* A8 のテキスト素材をバナーと同じ枠の見た目に */
.sb-textwrap a { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 234px; min-height: 60px; margin: 0 auto; box-sizing: border-box; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.4; text-align: left; transition: border-color .15s; }
.sb-textwrap a::after { content: "›"; margin-left: 8px; color: var(--ink-3); }
.sb-textwrap a:hover { border-color: var(--ink); }
.sb-ad img[width="1"] { position: absolute; width: 1px; height: 1px; opacity: 0; }

/* トップページの公式ストア枠（2026-11-05）。比較セクションの直下に 234×60 を横に並べる。狭い幅では折り返す */
.home-ads { padding: 0 0 32px; }
.home-ads-box { padding: 12px 16px 10px; }
.home-ads-row { display: flex; flex-wrap: wrap; gap: 10px 14px; justify-content: center; }
.home-ads-row .sb-ad { margin: 0; flex: 0 0 auto; width: 234px; max-width: 100%; }
.home-ads-row .sb-textwrap a { margin: 0; }
.home-ads .sb-note { margin: 8px 0 0; font-size: 11px; text-align: center; }

/* 価格の推移の下：30日最安・買い時（2026-11-05） */
.hs { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.hs-cell { display: grid; gap: 2px; }
.hs-k { font-size: 11.5px; color: var(--ink-3); letter-spacing: .04em; }
.hs-v { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.hs-s { font-size: 11px; }
.hs-down { color: #0a7d4f; } .hs-up { color: #b42318; }
.hs-verdict { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; font-size: 13.5px; line-height: 1.6; background: var(--surface-2); }
.hs-verdict--best { background: #e6f6ee; } .hs-verdict--near { background: #fff6dd; }
/* 本日の値下がり（/drop/） */
.page-drop .lead { font-size: 14px; line-height: 1.7; margin: 6px 0 0; }
.page-drop h1 { font-size: 24px; margin: 0; }
.drop-list { list-style: none; counter-reset: drop; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.drop-row { counter-increment: drop; display: grid; grid-template-columns: 28px 84px minmax(0, 1fr) auto; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 12px 14px; box-shadow: var(--shadow); }
.drop-row::before { content: counter(drop); font-weight: 700; color: var(--ink-3); font-size: 15px; text-align: center; }
.drop-media { width: 84px; height: 84px; border-radius: 10px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.drop-media img { width: 100%; height: 100%; object-fit: contain; }
.drop-title { font-size: 15px; margin: 4px 0 6px; line-height: 1.4; }
.drop-title a { color: inherit; text-decoration: none; }
.drop-prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; font-variant-numeric: tabular-nums; }
.drop-now { font-size: 20px; font-weight: 800; }
.drop-badge { font-size: 12.5px; font-weight: 700; color: #0a7d4f; background: #e6f6ee; border-radius: 999px; padding: 2px 9px; }
.drop-best { font-size: 11.5px; font-weight: 700; color: #7a4b00; background: #fff6dd; border-radius: 999px; padding: 2px 8px; }
.drop-shop { font-size: 12px; margin-top: 4px; }
.drop-go { white-space: nowrap; font-size: 13px; font-weight: 700; color: var(--ink); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; }
.drop-go:hover { border-color: var(--ink); }
@media (max-width: 640px) { .drop-row { grid-template-columns: 22px 64px minmax(0, 1fr); } .drop-media { width: 64px; height: 64px; } .drop-go { grid-column: 2 / -1; justify-self: start; } .drop-now { font-size: 18px; } }
/* Instagram 着地ページ（/ig/） */
.ig-page .container--narrow { max-width: 720px; }
.ig-head h1 { font-size: 22px; margin: 0 0 6px; }
.ig-post { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 14px 16px; margin-top: 16px; box-shadow: var(--shadow); }
.ig-post-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ig-post-title { font-size: 17px; font-weight: 800; color: inherit; text-decoration: none; }
.ig-post-link { font-size: 12px; text-decoration: none; }
.ig-models { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.ig-model { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.ig-model-media { width: 56px; height: 56px; border-radius: 8px; background: #fff; overflow: hidden; display: grid; place-items: center; }
.ig-model-media img { width: 100%; height: 100%; object-fit: contain; }
.ig-model-name { font-size: 14px; font-weight: 700; color: inherit; text-decoration: none; display: block; line-height: 1.4; }
.ig-model-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin-top: 2px; font-size: 13px; }
.ig-model-price .price { font-size: 17px; font-weight: 800; }
.card-flag--inline { position: static; display: inline-block; font-size: 11px; padding: 2px 8px; line-height: 1.4; }
.ig-model-go { white-space: nowrap; font-size: 13px; font-weight: 700; color: var(--ink); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.ig-post-more { display: block; margin-top: 10px; font-size: 13.5px; font-weight: 700; }
.ig-foot { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }

/* ---- トップ最上部：Instagram で紹介した機種の今日の価格（2026-11-05、本人の希望でプロフィールのリンク先=トップのまま） ---- */
.ig-strip { padding: 36px 0 8px; }   /* 2026-11-05 ヒーローの下、「同じ商品、店でこんなに違う」の直前に置く */
.ig-strip .section-head { margin-bottom: 12px; }
.ig-strip .section-head h2 { font-size: 18px; }
.ig-strip .more { white-space: nowrap; flex: none; }
.ig-strip-sub { margin: -6px 0 12px; font-size: 12.5px; }
.ig-strip-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 12px; overflow-x: auto; padding: 2px 2px 14px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.ig-strip-card { scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 12px 14px 10px; box-shadow: var(--shadow); display: flex; flex-direction: column; min-width: 0; }
.ig-strip-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 11.5px; }
.ig-strip-meta .tag { font-family: var(--font-num); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.ig-strip-meta a { text-decoration: none; white-space: nowrap; }
.ig-strip-title { display: block; margin: 4px 0 6px; font-size: 15px; font-weight: 800; line-height: 1.35; color: inherit; text-decoration: none; }
.ig-strip-models { list-style: none; margin: 0; padding: 0; }
.ig-strip-model { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.ig-strip-model img { width: 34px; height: 34px; object-fit: contain; border-radius: 6px; background: #fff; }
.ig-strip-model .nm { font-size: 12.5px; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ig-strip-model .pr-col { text-align: right; line-height: 1.2; }
.ig-strip-model .price { font-size: 14.5px; font-weight: 800; white-space: nowrap; }
.ig-strip-model .gap { display: block; font-size: 10.5px; color: var(--accent-ink); font-weight: 700; white-space: nowrap; }
.ig-strip-more { margin-top: auto; padding-top: 8px; font-size: 12.5px; font-weight: 700; }
@media (min-width: 960px) { .ig-strip-row { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; padding-bottom: 6px; } }
/* 2026-11-07 このテーマの読み物（親ブログへのリンク） */
.blog-links { margin: 0; padding-left: 1.2em; line-height: 1.9; }
.blog-links li { margin: 2px 0; }
