/* HYBRID GEAR — 白背景・購入導線重視 */
:root {
  --bg: #ffffff;
  --bg2: #f5f6f8;
  --text: #1c1f23;
  --sub: #5d6773;
  --line: #e3e6ea;
  --accent: #ffd400;
  --accent-soft: #fff7cc;
  --ink: #111418;
  --price: #d6001c;
  --rakuten: #bf0000;
  --rakuten-d: #a00000;
  --amazon: #ffa41c;
  --amazon-d: #f08804;
  --good: #0b875b;
  --bad: #c2410c;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.08);
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", Meiryo, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 999; background: #fff; padding: 8px 12px; }
.sp { display: none; }
:focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; gap: 20px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; letter-spacing: .02em; color: var(--ink); white-space: nowrap; }
.logo-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--accent); color: var(--ink); font-size: 14px; font-weight: 900; }
.logo-text { font-size: 20px; }
.logo-text b { background: linear-gradient(transparent 62%, var(--accent) 62%); }
.search { flex: 1; max-width: 560px; margin-left: auto; display: flex; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; background: #fff; }
.search input { flex: 1; min-width: 0; border: 0; padding: 0 16px; height: 40px; font-size: 15px; background: transparent; }
.search input:focus { outline: none; }
.search button { border: 0; background: var(--ink); color: #fff; width: 52px; display: grid; place-items: center; }
.cat-nav { border-top: 1px solid var(--line); background: #fff; }
.cat-nav-inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-top: 6px; padding-bottom: 6px; }
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-nav a { flex-shrink: 0; padding: 7px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--sub); }
.cat-nav a:hover, .cat-nav a[aria-current] { background: var(--bg2); color: var(--ink); }
.cat-nav .is-drop { color: var(--price); }

/* ---------- Common ---------- */
.site-main { padding-bottom: 56px; }
.crumb { font-size: 12.5px; color: var(--sub); padding: 14px 0 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.crumb a { color: var(--sub); text-decoration: underline; text-underline-offset: 2px; }
.crumb i { font-style: normal; margin: 0 6px; color: #aab1ba; }
.sec { margin-top: 44px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.sec-title { margin: 0; font-size: 21px; font-weight: 900; line-height: 1.35; display: flex; align-items: center; gap: 10px; }
.sec-icon { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--accent); color: var(--ink); }
.sec-icon svg { width: 22px; height: 22px; }
.sec-tag { font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 4px; background: var(--ink); color: #fff; }
.sec-tag.is-drop { background: var(--price); }
.sec-more { font-size: 14px; font-weight: 700; color: #1d4ed8; white-space: nowrap; }
.sec-more:hover { text-decoration: underline; }
.empty, .hg-empty { padding: 24px; background: var(--bg2); border-radius: var(--radius); color: var(--sub); }
.badge { display: inline-block; font-size: 11.5px; font-weight: 800; padding: 2px 7px; border-radius: 4px; line-height: 1.5; vertical-align: middle; }
.badge-drop { background: var(--price); color: #fff; }
.badge-low { background: var(--accent); color: var(--ink); }
.pr-label { display: inline-block; font-size: 11.5px; color: var(--sub); border: 1px solid var(--line); border-radius: 4px; padding: 1px 8px; margin: 6px 0 10px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 16px; border-radius: 8px; font-weight: 800; font-size: 15px; line-height: 1.3; text-align: center; transition: background .15s, transform .05s; border: 0; }
.btn:active { transform: translateY(1px); }
.btn-rakuten { background: var(--rakuten); color: #fff; box-shadow: 0 2px 0 var(--rakuten-d); }
.btn-rakuten:hover { background: var(--rakuten-d); }
.btn-amazon { background: var(--amazon); color: var(--ink); box-shadow: 0 2px 0 var(--amazon-d); }
.btn-amazon:hover { background: var(--amazon-d); }
.btn-ghost { background: #fff; border: 2px solid var(--ink); color: var(--ink); }
.btn-price { font-size: 13px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.2); }
.btn-xs { min-height: 34px; padding: 6px 12px; font-size: 13px; }
.cta { display: grid; gap: 8px; }
.cta-sm .btn { min-height: 42px; font-size: 14px; padding: 8px 10px; }
.cta-sm .btn-price { display: none; }
.cta-lg .btn { min-height: 56px; font-size: 16.5px; }

/* ---------- Rating / Price ---------- */
.rating { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--sub); }
.stars { position: relative; display: inline-block; width: 80px; height: 15px; background: #e2e5e9; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1l2.1 4.6 5 .5-3.8 3.3 1.1 4.9L8 11.8 3.6 14.3l1.1-4.9L.9 6.1l5-.5z'/%3E%3C/svg%3E") repeat-x left / 16px 15px; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1l2.1 4.6 5 .5-3.8 3.3 1.1 4.9L8 11.8 3.6 14.3l1.1-4.9L.9 6.1l5-.5z'/%3E%3C/svg%3E") repeat-x left / 16px 15px; }
.stars-fill { position: absolute; inset: 0 auto 0 0; background: #f5a300; }
.stars-num { color: var(--text); font-weight: 800; }
.stars-cnt { white-space: nowrap; }
.sec-tag, .badge { white-space: nowrap; }
.price { line-height: 1.3; }
.price-main { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.price-label { font-size: 12px; font-weight: 700; color: var(--price); }
.price-main strong { font-size: 22px; font-weight: 900; color: var(--price); letter-spacing: -.01em; }
.price-sub { font-size: 12.5px; color: var(--sub); margin-top: 2px; }
.price-big .price-main strong { font-size: 34px; }
.price-big .price-label { font-size: 14px; }
.price-big .price-sub { font-size: 14px; }

/* ---------- Item cards ---------- */
.grid-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.icard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; transition: box-shadow .15s, border-color .15s; }
.icard:hover { box-shadow: 0 6px 18px rgba(16,24,40,.08); border-color: #cfd4da; }
.icard-link { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.icard-img { position: relative; aspect-ratio: 1; background: #fff; border-radius: 6px; overflow: hidden; display: grid; place-items: center; }
.icard-img img { width: 100%; height: 100%; object-fit: contain; }
.icard-body { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.icard-title { font-size: 14px; font-weight: 700; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 4.5em; }
.icard-link:hover .icard-title { color: #1d4ed8; text-decoration: underline; }
.icard .cta { margin-top: 10px; }
.rank { position: absolute; left: 6px; top: 6px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #8a939e; color: #fff; font-size: 14px; font-weight: 900; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.rank-1 { background: #d4a400; } .rank-2 { background: #8f9aa5; } .rank-3 { background: #b07040; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--accent-soft) 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.hero-inner { padding-top: 36px; padding-bottom: 30px; }
.hero-kicker { margin: 0 0 6px; font-size: 13px; font-weight: 800; color: var(--sub); letter-spacing: .04em; }
.hero-title { margin: 0; font-size: 34px; font-weight: 900; line-height: 1.3; color: var(--ink); }
.hero-lead { margin: 10px 0 22px; font-size: 15px; color: var(--sub); max-width: 720px; }
.cat-tiles { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 10px; }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-size: 12.5px; font-weight: 700; text-align: center; line-height: 1.35; box-shadow: var(--shadow); transition: border-color .15s, transform .1s; }
.cat-tile:hover { border-color: var(--ink); transform: translateY(-1px); }
.cat-tile svg { color: var(--ink); }

/* ---------- About ---------- */
.about-strip { background: var(--bg2); border-radius: 14px; padding: 24px; }
.about-title { margin: 0 0 12px; font-size: 18px; }
.about-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: s; }
.about-steps li { background: #fff; border-radius: var(--radius); padding: 16px; font-size: 14px; color: var(--sub); counter-increment: s; }
.about-steps b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; }
.about-steps b::before { content: counter(s); display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 6px; border-radius: 50%; background: var(--accent); font-size: 12px; }

/* ---------- Archive ---------- */
.arch-head { margin: 6px 0 14px; }
.arch-title { margin: 0; font-size: 26px; font-weight: 900; line-height: 1.35; }
.arch-desc { margin-top: 8px; color: var(--sub); font-size: 14.5px; }
.arch-note { margin: 6px 0 0; font-size: 13px; color: var(--sub); }
.sort-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 16px; }
.sort-tabs a { flex-shrink: 0; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--sub); background: #fff; }
.sort-tabs a.is-cur { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination, .nav-links { display: flex; justify-content: center; gap: 6px; margin: 28px 0 0; flex-wrap: wrap; }
.page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; font-weight: 700; }
.page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Item page ---------- */
.item-title { margin: 0 0 14px; font-size: 24px; font-weight: 900; line-height: 1.45; }
.item-top { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start; }
.gal-main { aspect-ratio: 1; border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; background: #fff; overflow: hidden; max-width: 520px; }
.gal-main img { width: 100%; height: 100%; object-fit: contain; }
.gal-thumbs { display: flex; gap: 6px; margin-top: 8px; overflow-x: auto; }
.gal-thumbs button { flex: 0 0 60px; height: 60px; padding: 0; border: 2px solid var(--line); border-radius: 6px; background: #fff; overflow: hidden; }
.gal-thumbs button.is-cur { border-color: var(--ink); }
.gal-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.item-buy { position: sticky; top: 130px; border: 2px solid var(--ink); border-radius: 14px; padding: 18px; display: grid; gap: 12px; }
.buy-shop { margin: 0; font-size: 13px; color: var(--sub); }
.buy-note { margin: 0; font-size: 12px; color: var(--sub); line-height: 1.6; }
.soldout { margin: 0; padding: 8px 10px; background: #fff1f2; color: var(--price); font-weight: 700; border-radius: 6px; font-size: 14px; }
.box { margin-top: 28px; }
.box-title { margin: 0 0 12px; font-size: 19px; font-weight: 900; padding-left: 12px; border-left: 5px solid var(--accent); line-height: 1.4; }
.offers { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.offers th { font-size: 12px; color: var(--sub); text-align: left; font-weight: 700; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.offers td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.offers td small { display: block; font-size: 11px; color: var(--sub); }
.offers .is-best { background: var(--accent-soft); }
.of-shop { font-weight: 700; } .of-shop .badge { margin-right: 6px; }
.of-eff { font-weight: 900; color: var(--price); white-space: nowrap; }
.chart { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.chart-grid { stroke: #eef0f2; stroke-width: 1; }
.chart-y, .chart-x { font-size: 17px; fill: #7a838d; text-anchor: end; }
.chart-x { text-anchor: start; }
.chart-area { fill: rgba(214,0,28,.07); }
.chart-line { fill: none; stroke: var(--price); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart-low { fill: #fff; stroke: var(--good); stroke-width: 2.5; }
.chart-now { fill: var(--price); stroke: #fff; stroke-width: 2; }
.chart-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 0 0; }
.chart-stats div { background: var(--bg2); border-radius: 8px; padding: 8px 10px; }
.chart-stats dt { font-size: 11.5px; color: var(--sub); }
.chart-stats dd { margin: 0; font-weight: 900; }
.chart-stats .is-low { color: var(--good); }
.chart-wait { padding: 16px; background: var(--bg2); border-radius: var(--radius); color: var(--sub); margin: 0; font-size: 14px; }
.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pc-h { margin: 0 0 6px; font-weight: 800; font-size: 14px; }
.pc-h.is-pro { color: var(--good); } .pc-h.is-con { color: var(--bad); }
.pc { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 14px; }
.pc li { padding-left: 22px; position: relative; line-height: 1.55; }
.pc-pro::before, .pc-con::before { position: absolute; left: 0; top: 0; font-weight: 900; }
.pc-pro::before { content: "○"; color: var(--good); }
.pc-con::before { content: "△"; color: var(--bad); }
.spec { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec th, .spec td { border-bottom: 1px solid var(--line); padding: 10px; text-align: left; }
.spec th { width: 34%; background: var(--bg2); font-weight: 700; }
.caption summary { cursor: pointer; font-weight: 700; color: #1d4ed8; }
.caption p { font-size: 13.5px; color: var(--sub); white-space: pre-wrap; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(16,24,40,.08); }
.sticky-buy[hidden] { display: none; }
.sticky-buy-price { font-weight: 900; color: var(--price); font-size: 19px; line-height: 1.1; white-space: nowrap; }
.sticky-buy-price span { display: block; font-size: 10.5px; font-weight: 700; }
.sticky-buy .btn { flex: 1; min-height: 46px; padding: 8px; }
.sticky-buy .btn-amazon { flex: 0 0 auto; }

/* ---------- Posts ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.post-title { margin: 0; font-size: 28px; font-weight: 900; line-height: 1.45; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 12px 0 18px; font-size: 13px; color: var(--sub); }
.post-cat { background: var(--accent); color: var(--ink); font-weight: 800; padding: 2px 10px; border-radius: 4px; font-size: 12px; }
.post-eyecatch { margin: 0 0 22px; }
.post-eyecatch img { border-radius: var(--radius); width: 100%; }
.entry { font-size: 16.5px; line-height: 1.9; overflow-wrap: anywhere; }
.entry > * + * { margin-top: 1.1em; }
.entry p { margin: 0; }
.entry h2 { margin: 2.2em 0 .8em; font-size: 23px; line-height: 1.45; font-weight: 900; padding: 12px 16px; background: var(--bg2); border-left: 6px solid var(--accent); border-radius: 0 8px 8px 0; scroll-margin-top: 140px; }
.entry h3 { margin: 1.8em 0 .6em; font-size: 19px; line-height: 1.5; font-weight: 900; padding-bottom: 6px; border-bottom: 2px solid var(--line); scroll-margin-top: 140px; }
.entry a:not(.btn) { color: #1d4ed8; text-decoration: underline; text-underline-offset: 3px; }
.entry strong { background: linear-gradient(transparent 60%, var(--accent-soft) 60%); }
.entry ul, .entry ol { padding-left: 1.4em; }
.entry li + li { margin-top: .35em; }
.entry table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.entry th, .entry td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.entry thead th, .entry tr:first-child th { background: var(--bg2); }
.entry blockquote { margin: 1.4em 0; padding: 14px 18px; background: var(--bg2); border-radius: 8px; color: var(--sub); }
.entry .point { background: var(--accent-soft); border-radius: 10px; padding: 16px 18px; }
.toc { margin: 1.6em 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.toc summary { cursor: pointer; padding: 12px 16px; font-weight: 900; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "閉じる"; float: right; font-size: 12px; color: #1d4ed8; font-weight: 700; }
.toc details:not([open]) summary::after { content: "開く"; }
.toc ol { margin: 0; padding: 0 16px 14px 34px; font-size: 14.5px; line-height: 1.7; }
.toc ol ol { padding: 2px 0 2px 18px; list-style: disc; font-size: 13.5px; }
.toc a { color: var(--text) !important; text-decoration: none !important; }
.toc a:hover { text-decoration: underline !important; }
.author-box { display: flex; gap: 14px; margin-top: 36px; padding: 18px; background: var(--bg2); border-radius: var(--radius); }
.author-mark { flex: 0 0 52px; height: 52px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font-weight: 900; }
.author-name { margin: 0; font-weight: 800; }
.author-bio { margin: 4px 0 0; font-size: 14px; color: var(--sub); }
.grid-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.layout .grid-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pcard a { display: flex; flex-direction: column; gap: 8px; }
.pcard-img { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--bg2); display: grid; place-items: center; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; }
.noimg { font-weight: 900; color: #b9c0c8; letter-spacing: .1em; }
.pcard-cat { font-size: 12px; font-weight: 800; color: var(--sub); }
.pcard-title { font-weight: 800; line-height: 1.5; font-size: 15.5px; }
.pcard a:hover .pcard-title { color: #1d4ed8; text-decoration: underline; }
.pcard-date { font-size: 12px; color: var(--sub); }

/* ---------- 記事内の商品ブロック ---------- */
.entry .grid-items.in-entry { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.entry .icard a:not(.btn), .entry .irow a:not(.btn), .entry .ihero a:not(.btn), .entry .cmp a:not(.btn) { text-decoration: none !important; color: inherit !important; }
.entry .btn-rakuten { color: #fff !important; text-decoration: none !important; }
.entry .btn-amazon { color: var(--ink) !important; text-decoration: none !important; }
.cmp-table .cta { min-width: 130px; }
.hg-ranking { display: grid; gap: 18px; margin: 1.4em 0; }
.ihero { border: 3px solid var(--accent); border-radius: 14px; padding: 18px; background: #fff; position: relative; }
.ihero-label { margin: 0 0 12px; font-weight: 900; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.ihero-label span { background: var(--accent); padding: 2px 10px; border-radius: 4px; }
.ihero-grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 18px; align-items: start; }
.ihero-img img, .irow-img img { width: 100%; aspect-ratio: 1; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.ihero-title { margin: 0 0 6px !important; font-size: 18px !important; padding: 0 !important; background: none !important; border: 0 !important; line-height: 1.5 !important; }
.ihero .cta, .irow .cta { margin-top: 14px; }
.ihero .cta:has(.btn-amazon), .irow .cta:has(.btn-amazon) { grid-template-columns: 2fr 1fr; }
.irow { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: #fff; }
.irow-title { margin: 0 0 12px !important; font-size: 17px !important; font-weight: 900; display: flex; gap: 10px; align-items: flex-start; padding: 0 !important; border: 0 !important; line-height: 1.5 !important; }
.irow-title .rank { position: static; flex: 0 0 28px; height: 28px; width: 28px; font-size: 13px; }
.irow-grid { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; align-items: start; }
.irow-info { display: grid; gap: 8px; }
.irow-comment { margin: 0 !important; font-size: 14.5px; line-height: 1.7; }
.irow-more { margin: 10px 0 0 !important; font-size: 13.5px; text-align: right; }
.irow-more a { color: #1d4ed8 !important; }
.cmp { overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--line); border-radius: 12px; }
.cmp-table { border-collapse: collapse; min-width: 100%; font-size: 14px; display: table !important; }
.cmp-table th, .cmp-table td { border: 0 !important; border-bottom: 1px solid var(--line) !important; padding: 10px !important; text-align: center !important; vertical-align: middle !important; }
.cmp-table thead th { background: #fff !important; min-width: 150px; }
.cmp-table thead th:first-child, .cmp-table tbody th { background: var(--bg2) !important; position: sticky; left: 0; z-index: 1; min-width: 92px; font-size: 12.5px; text-align: left !important; }
.cmp-table thead img { width: 96px; height: 96px; object-fit: contain; margin: 0 auto 6px; }
.cmp-table thead span { display: block; font-size: 12.5px; font-weight: 700; line-height: 1.45; }
.tbl-price { color: var(--price); font-size: 17px; }

/* ---------- Sidebar ---------- */
.sidebar { display: grid; gap: 22px; position: sticky; top: 130px; }
.side-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.side-title { margin: 0 0 10px; font-size: 15px; font-weight: 900; }
.side-rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.side-rank a { display: grid; grid-template-columns: 56px 1fr; gap: 8px; align-items: center; font-size: 13px; line-height: 1.45; }
.side-rank .rank { position: static; width: 24px; height: 24px; font-size: 12px; }
.side-rank img { width: 56px; height: 56px; object-fit: contain; border: 1px solid var(--line); border-radius: 6px; }
.side-rank b { display: block; color: var(--price); font-size: 14px; }
.side-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.side-cats a { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 6px; font-weight: 700; font-size: 14px; }
.side-cats a:hover { background: var(--bg2); }
.side-cats svg { width: 22px; height: 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg2); border-top: 1px solid var(--line); padding: 36px 0 24px; font-size: 14px; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.footer-desc { color: var(--sub); font-size: 13px; }
.footer-h { font-weight: 900; margin: 0 0 8px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-links a { color: var(--sub); }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.footer-credit { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.hg-credit { margin: 0 0 6px; font-size: 12px; color: var(--sub); line-height: 1.7; }
.hg-credit a { text-decoration: underline; }
.copy { margin: 12px 0 0; font-size: 12px; color: var(--sub); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; }
  .cat-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .item-top { grid-template-columns: minmax(0, 1fr) 360px; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 760px) {
  .sp { display: inline; }
  .wrap { padding: 0 14px; }
  .site-header { position: static; }
  .header-inner { height: auto; flex-wrap: wrap; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .logo-text { font-size: 18px; }
  .search { flex-basis: 100%; max-width: none; }
  .search input { height: 42px; font-size: 16px; }
  .hero-inner { padding-top: 22px; padding-bottom: 20px; }
  .hero-title { font-size: 25px; }
  .hero-lead { font-size: 14px; margin-bottom: 16px; }
  .cat-tiles { display: flex; overflow-x: auto; gap: 8px; margin: 0 -14px; padding: 2px 14px 6px; scrollbar-width: none; }
  .cat-tiles::-webkit-scrollbar { display: none; }
  .cat-tile { flex: 0 0 84px; padding: 10px 4px; font-size: 11.5px; }
  .cat-tile svg { width: 24px; height: 24px; }
  .hero-lead { display: none; }
  .sec { margin-top: 34px; }
  .sec-title { font-size: 18px; }
  .sec-icon { width: 30px; height: 30px; }
  .grid-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .icard { padding: 10px; }
  .icard-title { font-size: 13px; }
  .price-main strong { font-size: 19px; }
  .icard .cta { gap: 6px; }
  .cta-sm .btn { min-height: 38px; font-size: 13px; padding: 6px; }
  .icard .rating { font-size: 11px; }
  .icard .price-sub { font-size: 11px; }
  .rating { font-size: 12px; } .stars { width: 64px; height: 12px; -webkit-mask-size: 13px 12px; mask-size: 13px 12px; }
  .arch-title { font-size: 21px; }
  .item-title { font-size: 19px; }
  .item-top { grid-template-columns: 1fr; gap: 16px; }
  .gal-main { max-width: none; }
  .item-buy { position: static; padding: 14px; }
  .price-big .price-main strong { font-size: 30px; }
  .offers th:nth-child(3), .offers td:nth-child(3) { display: none; }
  .offers { font-size: 13.5px; }
  .chart-stats { grid-template-columns: repeat(2, 1fr); }
  .pc-grid { grid-template-columns: 1fr; }
  .post-title { font-size: 22px; }
  .entry { font-size: 16px; }
  .entry h2 { font-size: 19.5px; padding: 10px 12px; }
  .entry h3 { font-size: 17.5px; }
  .grid-posts, .layout .grid-posts { grid-template-columns: 1fr; gap: 14px; }
  .pcard a { flex-direction: row; gap: 12px; }
  .pcard-img { flex: 0 0 42%; }
  .pcard-title { font-size: 14.5px; }
  .entry .grid-items.in-entry { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ihero-grid, .irow-grid { grid-template-columns: 110px minmax(0, 1fr); gap: 12px; }
  .ihero .cta, .irow .cta { grid-template-columns: 1fr; }
  .about-steps { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  body.has-sticky .site-footer { padding-bottom: 90px; }
}
@media (min-width: 761px) { .sticky-buy { display: none !important; } }
.c-form input, .c-form textarea { width: 100%; padding: 10px 12px; border: 1px solid #cfd4da; border-radius: 8px; font: inherit; font-size: 16px; }
.c-ok { padding: 12px; background: #ecfdf5; border-radius: 8px; color: var(--good); font-weight: 700; }
.c-err { padding: 12px; background: #fff1f2; border-radius: 8px; color: var(--price); font-weight: 700; }
.icard-note { display: block; font-size: 12px; line-height: 1.5; color: #444; background: #fffbe0; border-left: 3px solid var(--accent, #ffd400); padding: 4px 6px; margin: 2px 0 4px; }
/* 記事内ボックス */
.entry .point-box { background: var(--accent-soft); border-radius: 10px; padding: 16px 18px; }
.entry .point-title { font-weight: 900; margin-bottom: .4em !important; }
.entry .point-box ul { margin: .4em 0 0; }
.entry .note { font-size: 13px; color: var(--sub); line-height: 1.7; }
.entry .table-wrap { overflow-x: auto; }
.entry .table-wrap table { display: table; min-width: 560px; }
.entry .memo-box { border: 2px solid var(--accent); border-radius: 10px; padding: 14px 18px; background: #fff; }
.entry .memo-title { font-weight: 900; font-size: 15px; margin-bottom: .3em !important; }
.entry .memo-title::before { content: "運営者メモ"; display: inline-block; background: var(--accent); color: var(--ink); font-size: 12px; padding: 1px 8px; border-radius: 4px; margin-right: 8px; vertical-align: 1px; }
.entry .pick { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: #fff; }
.entry .pick h3 { margin-top: 0; }
.entry .pick-tag { display: inline-block; font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 4px; background: var(--bg2); margin-right: 6px; }
.entry .pick-tag.is-hyrox { background: var(--accent); }
.entry .pick dl { display: grid; grid-template-columns: 7.5em 1fr; gap: 4px 10px; font-size: 14.5px; margin: .6em 0 0; }
.entry .pick dt { color: var(--sub); font-weight: 700; }
.entry .pick dd { margin: 0; }
.entry .src { font-size: 12.5px; color: var(--sub); line-height: 1.8; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 2.4em !important; }
.entry .src a { color: var(--sub) !important; }
@media (max-width: 760px) { .entry .pick dl { grid-template-columns: 6em 1fr; font-size: 14px; } }
.gender-tabs { display: inline-flex; gap: 0; margin: 0 0 14px; border: 2px solid var(--ink, #111); border-radius: 999px; overflow: hidden; }
.gender-tabs button { appearance: none; border: 0; background: #fff; padding: 8px 18px; font-weight: 800; font-size: 14px; cursor: pointer; color: var(--ink, #111); }
.gender-tabs button + button { border-left: 2px solid var(--ink, #111); }
.gender-tabs button.is-cur { background: var(--accent); }
.icard[hidden] { display: none !important; }
