/* おトク発見！ スタイル（落ち着いた情報サイト風） */
:root {
  --brand: #e8590c;
  --brand-dark: #c2410c;
  --brand-soft: #fff4ec;
  --bg: #f6f6f3;
  --card: #ffffff;
  --text: #1f2328;
  --muted: #5f6670;
  --line: #e4e4de;
  --red: #c92a2a;
  --red-soft: #fff0f0;
  --green: #2b8a3e;
  --radius: 10px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Meiryo", sans-serif;
  line-height: 1.75; font-size: 16px; letter-spacing: .01em;
}
a { color: var(--brand-dark); }
img, svg { max-width: 100%; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 10; }
[hidden] { display: none !important; }
.icon { width: 1em; height: 1em; vertical-align: -.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* 最上部の表記 */
.pr-bar { background: #fff; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; padding: 4px 0; }
.pr-bar a { color: var(--muted); margin-left: 4px; }
.sample-bar { background: #fff8db; color: #6b5200; font-size: 13px; text-align: center; padding: 6px 12px; border-bottom: 1px solid #f1e3a6; }

/* ヘッダー */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; gap: 16px; padding-top: 12px; padding-bottom: 10px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 21px; color: var(--text); text-decoration: none; letter-spacing: .03em; }
.logo-mark { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
  background: var(--brand); color: #fff; font-size: 16px; font-weight: 800; }
.header-search { margin-left: auto; display: flex; flex: 1 1 240px; max-width: 340px; position: relative; }
.header-search input { flex: 1; min-width: 0; padding: 8px 40px 8px 12px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 15px; background: var(--bg); }
.header-search input:focus { outline: 2px solid var(--brand); outline-offset: -1px; background: #fff; }
.header-search button { position: absolute; right: 2px; top: 2px; bottom: 2px; width: 36px; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 18px; }
.genre-nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.genre-nav::-webkit-scrollbar { display: none; }
.genre-nav a { flex: none; padding: 8px 12px 10px; color: var(--muted); text-decoration: none; font-size: 14px; white-space: nowrap;
  border-bottom: 2px solid transparent; }
.genre-nav a:hover { color: var(--text); border-bottom-color: var(--line); }
.genre-nav a[aria-current="page"] { color: var(--text); font-weight: bold; border-bottom-color: var(--brand); }

main { padding-top: 24px; padding-bottom: 48px; min-height: 60vh; }

/* トップの導入 */
.intro { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; margin-bottom: 32px; }
.intro h1 { margin: 0 0 8px; font-size: clamp(22px, 3.6vw, 30px); line-height: 1.45; }
.intro p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
.big-search { display: flex; gap: 8px; }
.big-search input { flex: 1; min-width: 0; border: 1px solid #cfcfc8; padding: 11px 14px; font-size: 16px; border-radius: 8px; }
.big-search input:focus { outline: 2px solid var(--brand); outline-offset: -1px; }
.big-search button { border: 0; background: var(--brand); color: #fff; padding: 0 20px; border-radius: 8px; font-weight: bold; font-size: 15px; cursor: pointer; }
.big-search button:hover { background: var(--brand-dark); }
.intro h1 br { display: none; }
@media (min-width: 821px) { .intro h1 br { display: inline; } }
.trust { list-style: none; margin: 0; padding: 18px 20px; background: var(--bg); border-radius: 8px; font-size: 14px; }
.trust li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
.trust li + li { border-top: 1px dashed var(--line); }
.trust .icon { color: var(--green); font-size: 18px; flex: none; margin-top: 3px; }
.trust strong { display: block; }
.trust span { color: var(--muted); font-size: 13px; }

.section { margin: 36px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; border-bottom: 2px solid var(--text); padding-bottom: 6px; }
.section-title { font-size: 19px; margin: 0; }
.section-head a { font-size: 14px; text-decoration: none; }

/* ジャンル */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 10px; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 6px 12px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); }
.tile:hover { border-color: var(--brand); }
.tile .icon { font-size: 28px; color: var(--brand); stroke-width: 1.6; }
.tile-name { font-weight: bold; font-size: 14px; }
.tile-count { font-size: 12px; color: var(--muted); }

/* カード */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; transition: border-color .15s; }
.card:hover { border-color: #b9b9b0; }
.card-link { display: flex; flex-direction: column; color: inherit; text-decoration: none; flex: 1; }
.card-body { padding: 12px 16px 10px; }
.thumb { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: #f1efe9; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.card-link:hover .thumb img { transform: scale(1.03); }
.thumb.no-img { display: grid; place-items: center; background: linear-gradient(135deg, #fbf3ec, #f3efe8); color: #e3a37b; }
.thumb.no-img .icon { font-size: 44px; stroke-width: 1.3; }
.cards-big { grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 16px; }
.card-big .thumb { aspect-ratio: 16 / 9; }
.card-big .card-title { font-size: 19px; }
.section-note { font-size: 12px; color: var(--muted); }
.deal-image { margin: 0 0 16px; }
.deal-img { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 8px; background: #f1efe9; }
.deal-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.deal-image figcaption { font-size: 12px; color: var(--muted); margin-top: 4px; text-align: right; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; }
.genre-label { color: var(--brand-dark); font-weight: bold; }
.card-title { margin: 4px 0 2px; font-size: 17px; line-height: 1.5; }
.card-link:hover .card-title { text-decoration: underline; text-underline-offset: 3px; }
.store { margin: 0; color: var(--muted); font-size: 13px; }
.summary { margin: 6px 0 0; font-size: 14px; color: #3a4048; }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 16px; border-top: 1px solid var(--line);
  font-size: 13px; flex-wrap: wrap; background: #fcfcfa; border-radius: 0 0 var(--radius) var(--radius); }
.deadline { font-weight: bold; }
.deadline.soon { color: var(--red); }
.deadline.soon::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-right: 6px; vertical-align: 1px; }
.checked { color: var(--muted); font-size: 12px; }

.badge { display: inline-block; font-size: 11px; line-height: 1.6; padding: 0 6px; border-radius: 4px; border: 1px solid var(--line); color: var(--muted); background: #fff; }
.badge.new { border-color: var(--brand); color: var(--brand-dark); }
.badge.upcoming { border-color: #7aa7d6; color: #1f5f9e; }
.badge.pr { color: var(--muted); }
.badge.sample { background: #fff8db; border-color: #f1e3a6; color: #6b5200; }

.empty { background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 20px; text-align: center; color: var(--muted); }

/* 楽天ランキング */
.rk-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.rk-item a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: inherit; text-decoration: none; height: 100%; }
.rk-item a:hover { border-color: #b9b9b0; }
.rk-no { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: bold; font-size: 14px; background: var(--bg); color: var(--muted); }
.rk-1 { background: #d4a017; color: #fff; } .rk-2 { background: #9aa1a8; color: #fff; } .rk-3 { background: #b0703c; color: #fff; }
.rk-img { flex: none; width: 76px; height: 76px; border-radius: 8px; overflow: hidden; background: #f1efe9; display: grid; place-items: center; color: var(--muted); }
.rk-img img { width: 100%; height: 100%; object-fit: cover; }
.rk-body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rk-name { font-size: 14px; font-weight: bold; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rk-shop { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rk-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 12px; }
.rk-price { font-size: 15px; font-weight: bold; color: var(--red); }
.rk-review { color: var(--muted); }
.rk-note { font-size: 12px; color: var(--muted); margin: 10px 0 0; }
.rk-credit { font-size: 12px; margin: 4px 0 0; }
.rk-credit a { color: var(--muted); }

/* ボタン */
.btn, .btn-sub { display: inline-block; padding: 12px 20px; border-radius: 8px; font-weight: bold; text-decoration: none; text-align: center; }
.btn { background: var(--brand); color: #fff; }
.btn:hover { background: var(--brand-dark); }
.btn-sub { background: #fff; color: var(--text); border: 1px solid #cfcfc8; }
.btn-sub:hover { border-color: var(--text); }
.pr-label { display: inline-block; border: 1px solid currentColor; font-size: 11px; border-radius: 3px; padding: 0 5px; margin-right: 8px; vertical-align: 2px; font-weight: normal; }
.pr-note { font-size: 12px; color: var(--muted); margin: 0; }

/* ページ共通 */
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.breadcrumb a { color: var(--muted); }
.page-title { font-size: clamp(22px, 4vw, 28px); margin: 0 0 6px; line-height: 1.45; }
.page-title .icon { color: var(--brand); margin-right: 6px; }
.lead { color: var(--muted); margin: 0 0 20px; }

/* 検索 */
.search-form { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.search-form input { flex: 2 1 240px; padding: 11px 14px; font-size: 16px; border: 1px solid #cfcfc8; border-radius: 8px; }
.search-form input:focus { outline: 2px solid var(--brand); outline-offset: -1px; }
.search-form select { flex: 1 1 160px; padding: 11px; font-size: 16px; border: 1px solid #cfcfc8; border-radius: 8px; background: #fff; }
.search-count { font-weight: bold; margin: 8px 0 12px; }

/* 記事ページ */
.deal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.deal { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.deal-head { grid-column: 1 / -1; }
.deal-head .page-title { margin-top: 2px; }
.deal-summary:first-child { margin-top: 0; }
.deal-layout.is-expired .page-title { color: var(--muted); }
.deal-summary { font-size: 16px; margin: 16px 0; }
.expired-banner { background: #495057; color: #fff; padding: 10px 14px; border-radius: 8px; font-weight: bold; margin: 0 0 12px; }
.notice { background: #fff8db; border: 1px solid #f1e3a6; padding: 8px 12px; border-radius: 8px; font-size: 14px; }
.info { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.info th, .info td { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.info th { width: 7em; color: var(--muted); font-weight: normal; background: #fafaf8; }
.details { padding-left: 1.3em; margin: 0; }
.details li { margin: 2px 0; }
.deal h2 { font-size: 16px; margin: 24px 0 8px; padding-left: 10px; border-left: 3px solid var(--brand); }
.side { position: sticky; top: 130px; display: flex; flex-direction: column; gap: 12px; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.side-box .label { font-size: 12px; color: var(--muted); margin: 0; }
.deadline-big { font-size: 20px; font-weight: bold; margin: 0 0 12px; }
.deadline-big.soon { color: var(--red); }
.cta { display: flex; flex-direction: column; gap: 8px; }
.source { font-size: 14px; }
.source p { margin: 4px 0; }
.small { font-size: 12px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.tag { font-size: 13px; background: var(--bg); border-radius: 4px; padding: 2px 8px; text-decoration: none; color: var(--muted); }
.tag:hover { color: var(--text); }

.prose { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 24px 20px; }
.prose h2 { font-size: 17px; margin-top: 24px; padding-left: 10px; border-left: 3px solid var(--brand); }

/* フッター */
.site-footer { background: #fff; border-top: 1px solid var(--line); color: var(--muted); padding: 28px 0; font-size: 13px; }
.site-footer a { color: var(--text); }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; margin: 12px 0; }
.footer-logo { font-weight: 800; color: var(--text); font-size: 15px; margin: 0 0 6px; }
.disclaimer { margin: 0; }
.copy { margin: 0; }

/* ===== デザイン v2（メディアサイト風：色付きヘッダー・アイキャッチ・サイドバー） ===== */
body { background: #f3f4f6; }
.pr-bar { background: transparent; border: 0; }
.site-header { background: var(--brand); border: 0; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.logo { color: #fff; font-size: 23px; }
.logo-mark { background: #fff; color: var(--brand); }
.header-search input { background: rgba(255,255,255,.95); border: 0; }
.genre-nav { background: #fff; max-width: none; padding: 0 calc((100% - 1040px) / 2 + 16px); }
@media (max-width: 1072px) { .genre-nav { padding: 0 16px; } }
.genre-nav a { display: inline-flex; align-items: center; gap: 6px; color: #374151; font-weight: bold; padding: 11px 12px; border-bottom-width: 3px; }
.genre-nav a .icon { color: var(--brand); font-size: 17px; }
.genre-nav a[aria-current="page"] { color: var(--brand-dark); }

.lead-bar { margin: 0 0 16px; }
.lead-bar h1 { font-size: 15px; margin: 0; color: #374151; }
.lead-bar p { display: none; }

/* アイキャッチ（写真が無い記事用の文字サムネ） */
.eyecatch { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 18px 20px;
  background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.28) 0 18%, transparent 19%),
              radial-gradient(circle at 10% 110%, rgba(255,255,255,.18) 0 30%, transparent 31%),
              linear-gradient(135deg, var(--c1), var(--c2)); color: #fff; overflow: hidden; }
.eyecatch .ec-icon { position: absolute; right: 14px; bottom: 8px; font-size: 64px; opacity: .28; }
.eyecatch .ec-icon .icon { stroke-width: 1.4; }
.eyecatch .ec-store { align-self: flex-start; font-size: 12px; font-weight: bold; background: rgba(255,255,255,.95); color: var(--c2);
  padding: 2px 10px; border-radius: 999px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eyecatch .ec-catch { font-size: clamp(20px, 2.4vw, 28px); font-weight: 900; line-height: 1.3; letter-spacing: .02em;
  text-shadow: 0 2px 8px rgba(0,0,0,.18); position: relative; }
.eyecatch.has-bg { background-size: cover; background-position: center; }
.eyecatch .ec-note { position: absolute; right: 8px; bottom: 6px; font-size: 10px; opacity: .85; }
.mini-thumb .ec-note, .card:not(.card-big) .thumb .ec-note { display: none; }
.card-big .eyecatch .ec-catch { font-size: clamp(26px, 3.6vw, 40px); }
.card-big .eyecatch .ec-icon { font-size: 110px; }
.card-big .eyecatch .ec-store { font-size: 14px; }

/* カード */
.cards { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.card { border: 0; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.08); transition: transform .15s, box-shadow .15s; overflow: hidden; }
.card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.12); }
.thumb { border-radius: 0; }
.card-title { font-size: 16px; font-weight: 800; }
.card .summary { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; color: #4b5563; }
.genre-label { display: inline-block; background: var(--brand-soft); color: var(--brand-dark); padding: 0 8px; border-radius: 4px; font-size: 11px; }
.badge.new { background: #e03131; border-color: #e03131; color: #fff; font-weight: bold; }
.card-foot { background: #fff; border-top: 1px solid #f0f0f0; }
.deadline.soon { background: #fff0f0; padding: 1px 8px; border-radius: 4px; }

/* トップ：注目記事 */
.hero { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 16px; margin-bottom: 18px; }
.hero-main .card { height: 100%; }
.hero-main .card-big .thumb { aspect-ratio: 16 / 8.5; }
.hero-main .card-big .card-title { font-size: 21px; }
.hero-side { background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.08); padding: 14px 14px 6px; }
.mini-head { font-size: 15px; margin: 0 0 8px; display: flex; align-items: center; gap: 6px; }
.mini-head .icon, .section-title .icon, .side-title .icon { color: var(--brand); }
.mini-list { list-style: none; margin: 0; padding: 0; counter-reset: mini; }
.mini { counter-increment: mini; border-top: 1px solid #f0f0f0; }
.mini:first-child { border-top: 0; }
.mini a { display: flex; gap: 10px; padding: 10px 0; color: inherit; text-decoration: none; align-items: center; }
.mini a:hover .mini-text { text-decoration: underline; }
.mini-thumb { flex: none; width: 96px; aspect-ratio: 16 / 11; border-radius: 8px; overflow: hidden; position: relative; }
.mini-thumb::after { content: counter(mini); position: absolute; left: 0; top: 0; background: rgba(0,0,0,.65); color: #fff; font-size: 12px; font-weight: bold; padding: 1px 7px; border-bottom-right-radius: 8px; }
.mini-thumb.eyecatch { padding: 20px 8px 6px; gap: 2px; justify-content: center; text-align: center; }
.mini-thumb .ec-store, .mini-thumb .ec-icon { display: none; }
.mini-thumb .ec-catch { font-size: 11px; text-shadow: none; line-height: 1.35; }
.mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mini-text { font-size: 14px; font-weight: bold; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini .genre-label { align-self: flex-start; }
.mini .deadline { font-size: 12px; }

/* ジャンルのチップ */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 6px; margin-bottom: 8px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px 8px 8px; background: #fff; border-radius: 999px;
  text-decoration: none; color: #1f2328; font-weight: bold; font-size: 14px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.chip:hover { box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.chip-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff; }
.chip-count { font-size: 12px; color: #6b7280; font-weight: normal; }

/* トップ：2列（本文＋サイドバー） */
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.home-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 120px; margin-top: 36px; }
.side-card { background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.08); padding: 16px; }
.side-title { font-size: 15px; margin: 0 0 10px; display: flex; align-items: center; gap: 6px; }
.side-card .big-search input { padding: 9px 10px; font-size: 15px; }
.side-card .big-search button { padding: 0 14px; }
.side-genres { list-style: none; margin: 0; padding: 0; }
.side-genres a { display: flex; align-items: center; gap: 8px; padding: 8px 4px; color: #1f2328; text-decoration: none; border-top: 1px solid #f0f0f0; font-size: 14px; }
.side-genres li:first-child a { border-top: 0; }
.side-genres a:hover { color: var(--brand-dark); }
.sg-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.sg-count { margin-left: auto; font-size: 12px; color: #6b7280; background: #f3f4f6; border-radius: 999px; padding: 0 8px; }
.trust-card .trust { background: none; padding: 0; }
.section-head { border-bottom: 0; padding-bottom: 0; margin-bottom: 14px; }
.section-title { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 900; padding-left: 12px; border-left: 5px solid var(--brand); line-height: 1.3; }
.section-title .icon { display: none; }
.empty { border: 0; box-shadow: 0 1px 3px rgba(0,0,0,.06); }

/* 記事ページ */
.deal, .side-box, .prose { border: 0; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.deal-img.eyecatch { aspect-ratio: 16 / 7; border-radius: 10px; padding: 24px 28px; }
.deal-img.eyecatch .ec-catch { font-size: clamp(26px, 4vw, 42px); }
.deal-img.eyecatch .ec-icon { font-size: 120px; }
.deal-img.eyecatch .ec-store { font-size: 14px; }
.btn { box-shadow: 0 3px 0 var(--brand-dark); font-size: 16px; }
.btn:active { transform: translateY(2px); box-shadow: none; }

/* 信頼感のための要素（ヘッダーの副題・記事の署名・しっかりしたフッター） */
.pr-bar { font-size: 11px; color: #6b7280; text-align: right; }
.pr-bar .wrap { display: flex; justify-content: flex-end; gap: 8px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-sub { font-size: 11px; font-weight: normal; opacity: .9; letter-spacing: .04em; }
.logo-sub:empty { display: none; }
.byline { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: #6b7280; margin: 6px 0 0; }
.byline-name { font-weight: bold; color: #374151; }
.byline-name::before { content: ""; display: inline-block; width: 18px; height: 18px; border-radius: 50%; background: var(--brand); vertical-align: -4px; margin-right: 6px; }
.site-footer { background: #1f2328; color: #c9ccd1; border: 0; padding: 40px 0 0; margin-top: 40px; }
.site-footer a { color: #e5e7eb; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 28px; }
.footer-logo { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 18px; }
.footer-logo .logo-mark { background: var(--brand); color: #fff; }
.footer-desc { margin: 6px 0 10px; font-size: 13px; }
.site-footer .disclaimer { font-size: 12px; color: #9ca3af; }
.footer-col { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.footer-head { margin: 0 0 4px; color: #fff; font-weight: bold; font-size: 14px; }
.site-footer .copy { border-top: 1px solid #374151; margin-top: 28px; padding: 14px 16px 18px; font-size: 12px; color: #9ca3af; text-align: center; max-width: none; }
.prose ol li { margin: 6px 0; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* 暗い色のテーマ（映画・ASMR・ゲーム系のジャンル向け）。サイト設定の "dark": true で使う */
body.theme-dark { background: #121418; color: #e6e8eb; }
.theme-dark .site-header { background: #0b0c0f; box-shadow: 0 1px 0 #24272d; }
.theme-dark .logo-mark { background: var(--brand); color: #fff; }
.theme-dark .header-search input { background: #1d2026; color: #e6e8eb; }
.theme-dark .genre-nav { background: #17191e; }
.theme-dark .genre-nav a { color: #c3c7ce; }
.theme-dark .genre-nav a[aria-current="page"] { color: #fff; }
.theme-dark .lead-bar h1, .theme-dark .section-title, .theme-dark .page-title, .theme-dark .mini-head, .theme-dark .side-title { color: #f1f3f5; }
.theme-dark .card, .theme-dark .hero-side, .theme-dark .side-card, .theme-dark .chip, .theme-dark .deal, .theme-dark .side-box, .theme-dark .prose, .theme-dark .empty { background: #1b1e24; color: #e6e8eb; box-shadow: 0 0 0 1px #2a2e36; }
.theme-dark .card-foot { background: #1b1e24; border-top-color: #2a2e36; }
.theme-dark .card .summary, .theme-dark .store, .theme-dark .checked, .theme-dark .byline, .theme-dark .lead, .theme-dark .breadcrumb, .theme-dark .breadcrumb a, .theme-dark .chip-count, .theme-dark .pr-bar, .theme-dark .pr-bar a { color: #9aa1ab; }
.theme-dark .byline-name, .theme-dark .chip, .theme-dark .side-genres a { color: #e6e8eb; }
.theme-dark .mini, .theme-dark .side-genres a { border-top-color: #2a2e36; }
.theme-dark .sg-count { background: #2a2e36; color: #c3c7ce; }
.theme-dark .genre-label { background: rgba(255,255,255,.08); color: var(--brand-soft); }
.theme-dark .info th { background: #22262d; color: #9aa1ab; }
.theme-dark .info th, .theme-dark .info td { border-color: #2a2e36; }
.theme-dark .big-search input, .theme-dark .search-form input, .theme-dark .search-form select { background: #22262d; color: #e6e8eb; border-color: #343a44; }
.theme-dark a { color: var(--brand-soft); }
.theme-dark .btn { color: #fff; }
.theme-dark .tag { background: #22262d; color: #c3c7ce; }
.theme-dark .deadline.soon { background: rgba(224,49,49,.18); }

/* 18歳未満の閲覧を防ぐ確認画面（サイト設定の "age_gate": true で使う） */
.age-gate { position: fixed; inset: 0; z-index: 100; background: rgba(8,9,12,.97); display: grid; place-items: center; padding: 20px; }
.age-gate-box { max-width: 420px; background: #1b1e24; color: #e6e8eb; border-radius: 14px; padding: 28px 24px; text-align: center; box-shadow: 0 0 0 1px #2a2e36; }
.age-gate-box h2 { margin: 0 0 10px; font-size: 20px; }
.age-gate-box p { font-size: 14px; color: #c3c7ce; }
.age-gate-actions { display: flex; gap: 10px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.age-gate-actions a, .age-gate-actions button { padding: 11px 20px; border-radius: 8px; font-weight: bold; font-size: 15px; cursor: pointer; text-decoration: none; }
.age-gate-actions button { border: 0; background: var(--brand); color: #fff; }
.age-gate-actions a { border: 1px solid #4b5260; color: #e6e8eb; }

@media (max-width: 960px) {
  .home-grid { grid-template-columns: 1fr; }
  .home-side { position: static; margin-top: 0; }
  .hero { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .genre-nav a { padding: 9px 10px; font-size: 13px; }
  .hero-main .card-big .card-title { font-size: 18px; }
  .card:not(.card-big) .thumb.eyecatch { width: 112px; padding: 10px; }
  .card:not(.card-big) .thumb.eyecatch .ec-store, .card:not(.card-big) .thumb.eyecatch .ec-icon { display: none; }
  .card:not(.card-big) .thumb.eyecatch .ec-catch { font-size: 14px; text-shadow: none; }
  .deal-img.eyecatch { aspect-ratio: 16 / 9; padding: 18px; }
  .site-header { position: sticky; }
  .logo { font-size: 20px; }
}

@media (max-width: 820px) {
  .intro { grid-template-columns: 1fr; padding: 20px; }
  .deal-layout { grid-template-columns: 1fr; gap: 12px; }
  .side { position: static; order: 1; }
  .deal { order: 2; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  main { padding-top: 16px; }
  .header-inner { gap: 10px; }
  .logo { font-size: 19px; }
  .header-search { order: 3; flex-basis: 100%; max-width: none; }
  .cards, .cards-big { grid-template-columns: 1fr; }
  .thumb { aspect-ratio: 16 / 9; }
  .card-big .card-title { font-size: 18px; }
  /* スマホでは小さいカードを「左に写真・右に文字」の一覧にする */
  .card:not(.card-big) .card-link { flex-direction: row; }
  .card:not(.card-big) .thumb { width: 104px; flex: none; aspect-ratio: auto; min-height: 104px; border-radius: var(--radius) 0 0 0; }
  .card:not(.card-big) .thumb.no-img .icon { font-size: 30px; }
  .card:not(.card-big) .card-body { padding: 10px 12px 8px; min-width: 0; }
  .card:not(.card-big) .card-title { font-size: 15px; }
  .card:not(.card-big) .summary { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; }
  .card-foot { padding: 8px 12px; }
  .tile { padding: 12px 4px 10px; }
  .tile .icon { font-size: 24px; }
  .tile-name { font-size: 13px; }
  .deal { padding: 18px 16px; }
  .site-header { position: static; }
  .pc-only { display: none; }
  .pr-bar, .sample-bar { font-size: 11px; }
  .big-search button { padding: 0 14px; }
  .intro { gap: 14px; padding: 18px 16px; margin-bottom: 24px; }
  .intro h1 { font-size: 21px; }
  .intro p { font-size: 14px; margin-bottom: 12px; }
  .trust { padding: 8px 12px; font-size: 13px; }
  .trust li { padding: 3px 0; align-items: center; }
  .trust li + li { border-top: 0; }
  .trust .icon { margin-top: 0; font-size: 16px; }
  .trust span { display: none; }
  .section { margin: 28px 0; }
}
