/* コボロット(koborotto.com) — スマホ最優先・白ベース・表紙が主役・角丸カード */
:root {
  color-scheme: light; /* 白ベースのブランド(ユーザー指定)。ダークモードでも明るい見た目のまま */
  --bg: #fffdf9;
  --surface: #ffffff;
  --ink: #2d2622;
  --muted: #8a7f78;
  --line: #f1e8df;
  --accent: #f08a3c;        /* コボロットのアンテナのオレンジ */
  --accent-soft: #fff2e6;
  --sale: #e4485f;          /* 割引率 */
  --sale-soft: #ffeef1;
  --new: #2a9d7c;
  --new-soft: #e8f7f1;
  --radius: 16px;
  --shadow: 0 2px 10px rgba(120, 80, 40, 0.07);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", system-ui, sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; }

.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 8px; padding: 10px 16px 4px; text-decoration: none; font-weight: 700; font-size: 16px; }
.nav { display: flex; gap: 4px; overflow-x: auto; padding: 4px 12px 10px; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { flex: none; padding: 6px 12px; border-radius: 999px; font-size: 13px; text-decoration: none; color: var(--muted); }
.nav a[aria-current="page"] { background: var(--accent); color: #fff; }

.main { max-width: 1040px; margin: 0 auto; padding: 16px; }
.section { margin: 28px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.section-title { font-size: 19px; margin: 0; letter-spacing: 0.02em; }
.section-title small { font-size: 12px; color: var(--muted); font-weight: 400; margin-left: 6px; }
.more { font-size: 13px; color: var(--accent); text-decoration: none; white-space: nowrap; }
.lead { color: var(--muted); font-size: 14px; margin: 4px 0 0; }
.empty { color: var(--muted); font-size: 14px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); padding: 16px; }

/* コボロットの吹き出し */
.say { display: flex; align-items: flex-end; gap: 8px; margin: 8px 0 14px; }
.say .mascot { flex: none; }
.say-text { position: relative; margin: 0; background: var(--accent-soft); border-radius: 16px; padding: 9px 14px; font-size: 14px; }
.say-text::before { content: ""; position: absolute; left: -6px; bottom: 10px; border: 6px solid transparent; border-right-color: var(--accent-soft); border-left: 0; }
.say-hero .say-text { font-size: 16px; font-weight: 700; padding: 12px 16px; }

.hero { background: linear-gradient(160deg, var(--accent-soft), var(--bg) 70%); border-radius: 24px; padding: 18px 16px 6px; margin-top: 4px; }
.hero h1 { font-size: 22px; margin: 0 0 2px; }
.hero .date { color: var(--muted); font-size: 13px; margin: 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0 14px; }
.stat { display: block; background: var(--surface); border-radius: 14px; padding: 10px; text-align: center; text-decoration: none; box-shadow: var(--shadow); }
.stat b { display: block; font-size: 22px; line-height: 1.2; }
.stat span { font-size: 12px; color: var(--muted); }
.stat-sale b { color: var(--sale); }
.stat-new b { color: var(--new); }
.stat-down b { color: var(--accent); }

/* 表紙カード(横スクロール列と一覧グリッドで共通) */
.row { display: grid; grid-auto-flow: column; grid-auto-columns: 42%; gap: 12px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.row > .card { scroll-snap-align: start; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 640px) { .row { grid-auto-columns: 26%; } .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) { .row { grid-auto-columns: 18%; } .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.card-link { position: relative; display: block; background: var(--accent-soft); text-decoration: none; }
.cover { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 0; }
.cover-ph { display: flex; align-items: center; justify-content: center; padding: 12px; background: linear-gradient(160deg, #ffe6cf, #ffd2dc); color: #7a4b2a; font-weight: 700; font-size: 13px; text-align: center; }
.card-body { padding: 8px 10px 12px; }
.card-title { font-size: 13px; line-height: 1.45; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a { text-decoration: none; }
.card-author { font-size: 11px; color: var(--muted); margin: 2px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.price { margin: 6px 0 0; font-weight: 800; font-size: 17px; color: var(--sale); display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.price-lg { font-size: 24px; }
.price-note { font-size: 11px; font-weight: 400; color: var(--muted); }

.badges { position: absolute; left: 6px; top: 6px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.badge { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); }
.badge-off { background: var(--sale); color: #fff; font-size: 13px; }
.badge-down { background: var(--accent); color: #fff; }
.badge-new { background: var(--new); color: #fff; }
.badge-pre { background: var(--surface); color: var(--muted); }
.badge-free { background: var(--new-soft); color: var(--new); }

/* 今日の目玉 */
.features { display: grid; gap: 14px; }
@media (min-width: 760px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feature { display: grid; grid-template-columns: 38% 1fr; gap: 12px; background: var(--surface); border-radius: 20px; padding: 12px; box-shadow: var(--shadow); }
@media (min-width: 760px) { .feature { grid-template-columns: 112px 1fr; } }
.feature-cover { position: relative; display: block; border-radius: 12px; overflow: hidden; text-decoration: none; }
.feature-title { font-size: 15px; margin: 0; line-height: 1.45; }
.feature-title a { text-decoration: none; }
.feature-comment { font-size: 13px; background: var(--accent-soft); border-radius: 12px; padding: 6px 10px; margin: 8px 0; }

.btn { display: inline-block; margin-top: 8px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: 999px; }
.btn-wide { display: block; text-align: center; font-size: 16px; padding: 14px; }

/* 本の詳細 */
.book { display: grid; gap: 16px; }
@media (min-width: 760px) { .book { grid-template-columns: 240px 1fr; align-items: start; } }
.book-cover { position: relative; max-width: 220px; margin: 0 auto; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.book h1 { font-size: 20px; margin: 0; line-height: 1.45; }
.meta { font-size: 13px; color: var(--muted); margin: 4px 0; }
.desc { font-size: 14px; background: var(--surface); border-radius: var(--radius); padding: 12px 14px; }
.chart { background: var(--surface); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); }
.chart svg { width: 100%; height: auto; display: block; }
.chart-caption { font-size: 12px; color: var(--muted); margin: 6px 0 0; }
.history { width: 100%; font-size: 13px; border-collapse: collapse; margin-top: 8px; }
.history td { padding: 4px 0; border-top: 1px solid var(--line); }
.history td:last-child { text-align: right; font-variant-numeric: tabular-nums; }

.site-footer { max-width: 1040px; margin: 40px auto 0; padding: 20px 16px 40px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.site-footer p { margin: 4px 0; }
.credit { margin-top: 12px !important; }
.demo-banner { background: #fff7d6; color: #6b5300; border-radius: 12px; padding: 8px 12px; font-size: 13px; margin-bottom: 8px; }

/* 2026-10-06 追加: ヘッダーの楽天Kobo導線・PR表記・小ボタン・ページ見出し・フッターリンク・情報表 */
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-right: 12px; }
.header-kobo { flex: none; font-size: 12px; font-weight: 700; color: var(--accent); text-decoration: none; border: 1.5px solid var(--accent); border-radius: 999px; padding: 4px 10px; }
.pr-notice { max-width: 1040px; margin: 0 auto; padding: 6px 16px 0; font-size: 11px; color: var(--muted); }
.btn-sm { margin-top: 6px; padding: 6px 12px; font-size: 12px; align-self: flex-start; }
.card-body { display: flex; flex-direction: column; }
.page-title { font-size: 22px; margin: 4px 0; }
.crumbs { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.small { font-size: 12px; color: var(--muted); }
.desc h2 { font-size: 15px; margin: 16px 0 4px; }
.policy p { margin: 6px 0; }
.info { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; font-size: 14px; }
.info th, .info td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.info th { width: 34%; color: var(--muted); font-weight: 400; }
.footer-cta { margin: 0 0 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 10px 0; }
.footer-links a { color: var(--muted); }

/* 2026-10-06: コンセプト表示「ちょっとボロい。でも値下げには強い。」 */
.concept { margin: 0 0 4px; font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: 0.04em; }

/* 2026-10-06: 正式採用のヘッダー画像(トップ)・アバター(このサイトについて) */
.site-banner { display: block; margin: 0 0 14px; }
.site-banner img { display: block; width: 100%; height: auto; border-radius: 20px; box-shadow: var(--shadow); }
.about-avatar { text-align: center; margin: 8px 0 4px; }
.about-avatar img { width: 160px; height: 160px; }
.mascot, .say .mascot { border-radius: 50%; object-fit: cover; }

/* ---- Phase 2「コボロットの街」(2026-10-07)。画像は増やさず、色とグラデーションだけ ---- */
/* 時間帯: <html data-tod="morning|day|evening|night">(トップだけ)。あいさつは今の時間帯の1つだけ見せる */
.town-greeting { margin: 0 0 6px; }
.greet { display: none; margin: 0; font-size: 14px; font-weight: 700; }
.greet-slot { display: inline-block; font-size: 11px; font-weight: 700; color: #fff; background: var(--accent); border-radius: 999px; padding: 1px 8px; margin-right: 6px; vertical-align: 1px; }
html[data-tod="morning"] .greet-morning, html[data-tod="day"] .greet-day, html[data-tod="evening"] .greet-evening, html[data-tod="night"] .greet-night { display: block; }

.town-card { background: var(--surface); border-radius: 20px; padding: 14px 16px; box-shadow: var(--shadow); }
.town-card .section-head { margin-bottom: 6px; }
.fortune-stars { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.fortune-stars li { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; font-size: 13px; }
.fortune-stars span { white-space: nowrap; }
.fortune-stars b { color: var(--accent); letter-spacing: 0; font-weight: 400; white-space: nowrap; font-size: 12px; }
.fortune-lucky { font-size: 12px; margin: 6px 0 2px; line-height: 1.5; }
.fortune-line { font-size: 13px; margin: 6px 0 0; background: var(--accent-soft); border-radius: 12px; padding: 7px 10px; }
.zodiac-all { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .zodiac-all { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.zodiac { border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; background: var(--surface); }
.zodiac-rank1 { border-color: #f2c14e; background: linear-gradient(160deg, #fff8e1, var(--surface) 60%); }
.zodiac-rank2 { border-color: #c9ced6; }
.zodiac-rank3 { border-color: #e2b48c; }
.zodiac-head { display: flex; align-items: baseline; gap: 8px; margin: 0 0 6px; }
.zodiac-rank-no { font-weight: 800; color: var(--accent); white-space: nowrap; }
.zodiac-rank1 .zodiac-rank-no { font-size: 20px; color: #d99a00; }
.zodiac-sign { font-weight: 700; white-space: nowrap; }
.zodiac-head .zodiac-sign { font-size: 17px; }
.fortune-more { margin: 10px 0 0; text-align: center; }
.fortune-big { margin: 14px 0 20px; }
.day-title { margin: 0; font-weight: 700; font-size: 16px; }
.day-date { display: inline-block; font-size: 12px; color: var(--muted); font-weight: 400; margin-right: 8px; }
.day-note { font-size: 13px; color: var(--muted); margin: 4px 0 0; }
.kininaru-reason { font-size: 13px; color: var(--muted); margin: 8px 2px 0; }

.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.post-list a { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; text-decoration: none; background: var(--surface); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); }
.post-list time { grid-column: 2; font-size: 12px; color: var(--muted); }
.post-cat { font-size: 11px; font-weight: 700; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 2px 8px; align-self: start; white-space: nowrap; }
.post-title { font-weight: 700; }
.post-meta { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); margin: 8px 0 0; }
.post-body { font-size: 15px; line-height: 1.85; }
.post-body h2 { font-size: 19px; margin: 28px 0 8px; }
.post-body h3 { font-size: 16px; margin: 20px 0 6px; }
.post-body .features { margin: 14px 0; }

/* 楽天のお得情報(楽天市場などのキャンペーン)。Koboの値下げ情報と見分けがつくよう、枠と色を変える */
.campaigns { border: 2px dashed #bf0000; border-radius: 20px; padding: 14px 16px; background: #fff7f7; }
.campaigns .section-title { color: #bf0000; }
.campaigns-lead { font-size: 12px; color: var(--muted); margin: 0 0 8px; }
.campaign-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 760px) { .campaign-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.campaign { background: var(--surface); border-radius: 14px; padding: 10px 12px; box-shadow: var(--shadow); }
.campaign-title { font-size: 15px; margin: 0 0 6px; }
.campaign-facts { margin: 0; display: grid; gap: 2px; font-size: 13px; }
.campaign-facts div { display: grid; grid-template-columns: 6em 1fr; }
.campaign-facts dt { color: var(--muted); }
.campaign-facts dd { margin: 0; }
.kobo-yes { color: var(--new); font-weight: 700; }
.kobo-no { color: var(--muted); }
.campaign-note { font-size: 12px; color: var(--muted); margin: 6px 0 0; }
.campaign .btn { margin-top: 4px; }

/* 本のページ: 価格メモ・今買う？待つ？ */
.price-memo { background: var(--surface); border-radius: 18px; padding: 12px 14px; box-shadow: var(--shadow); margin: 14px 0; }
.memo-title { font-size: 15px; margin: 0 0 6px; color: var(--muted); }
.verdict { display: inline-block; font-size: 18px; font-weight: 800; margin: 0 0 4px; padding: 3px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.verdict-buy-now { background: var(--sale-soft); color: var(--sale); }
.verdict-lowest { background: var(--new-soft); color: var(--new); }
.verdict-wait, .verdict-watch, .verdict-observing { background: #f1f1f4; color: #5c5a66; }
.verdict-reasons { margin: 0 0 8px; padding-left: 1.2em; font-size: 13px; }
.memo-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.memo-table th { text-align: left; color: var(--muted); font-weight: 400; width: 7.5em; padding: 4px 0; vertical-align: top; }
.memo-table td { padding: 4px 0; }
.memo-table tr + tr th, .memo-table tr + tr td { border-top: 1px solid var(--line); }

/* 今日のコボロットTOP10 */
.top10-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.top10-item { display: grid; grid-template-columns: 2em 1fr; gap: 8px; align-items: start; background: var(--surface); border-radius: 14px; padding: 8px 10px; box-shadow: var(--shadow); }
.top10-big { grid-template-columns: 2em 64px 1fr; }
.top10-rank { font-weight: 800; font-size: 18px; color: var(--accent); text-align: center; }
.top10-big .top10-rank { font-size: 22px; }
.top10-cover img, .top10-noimg { display: block; width: 64px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; background: var(--accent-soft); }
.top10-body { display: grid; gap: 2px; min-width: 0; }
.top10-title { font-weight: 700; font-size: 14px; text-decoration: none; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.top10-meta { font-size: 12px; color: var(--muted); }
.top10-tags span { display: inline-block; font-size: 10px; border: 1px solid var(--line); border-radius: 999px; padding: 0 6px; margin-right: 4px; color: var(--muted); }
.top10-comment { font-size: 12px; background: var(--accent-soft); border-radius: 10px; padding: 3px 8px; justify-self: start; }

/* 季節(トップだけ): 右上の小さな飾りと一言。画像は使わない */
.hero { position: relative; }

/* みんなの読書ロット(X投稿の紹介)・コボロット企画・コボロット賞 */
.xpost-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
@media (min-width: 760px) { .xpost-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.xpost { background: var(--surface); border-radius: 14px; padding: 10px 12px; box-shadow: var(--shadow); border-left: 4px solid #1d1d1f; }
.xpost-official { border-left-color: var(--accent); }
.xpost-head { margin: 0; font-size: 13px; font-weight: 700; display: flex; gap: 6px; align-items: center; }
.xpost-badge { font-size: 10px; color: #fff; background: var(--accent); border-radius: 999px; padding: 0 6px; }
.xpost-text { margin: 4px 0; font-size: 14px; white-space: pre-wrap; }
.xpost-link { font-size: 12px; color: var(--muted); }
.event + .event { border-top: 1px dashed var(--line); margin-top: 10px; padding-top: 10px; }
.event-title { margin: 0; font-weight: 700; }
.event-until { font-size: 11px; color: var(--muted); font-weight: 400; margin-left: 8px; }
.event-q { margin: 4px 0; }
.awards-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13px; }
.award-cat { display: inline-block; font-size: 11px; font-weight: 700; color: #8a6d00; background: #fff4cc; border-radius: 999px; padding: 1px 8px; margin-right: 6px; }
.award-head { font-size: 17px; }

/* ---- 2026-10-07 UI修正: 横スクロール(JSなし・スクロールスナップ) ---- */
.fortune-slider, .top10-rest { list-style: none; margin: 8px -4px 0; padding: 2px 4px 10px; display: grid; grid-auto-flow: column; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.fortune-slider > li, .top10-rest > li { scroll-snap-align: start; }
/* 占い: 1枚1星座。スマホでは次のカードが少し見える幅にして、横にめくれることが分かるように */
.fortune-slider { grid-auto-columns: 72%; }
@media (min-width: 640px) { .fortune-slider { grid-auto-columns: 38%; } }
@media (min-width: 960px) { .fortune-slider { grid-auto-columns: 24%; } }
.fortune-slide { border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; background: var(--surface); display: grid; gap: 4px; align-content: start; }
.fortune-slide p { margin: 0; }
.fortune-slide .zodiac-head { margin: 0; }
.fortune-slide-1 { border-color: #f2c14e; background: linear-gradient(160deg, #fff8e1, var(--surface) 60%); }
.fortune-slide-1 .zodiac-rank-no { font-size: 20px; color: #d99a00; }
.fortune-slide-2 { border-color: #c9ced6; }
.fortune-slide-3 { border-color: #e2b48c; }
.slide-overall { font-size: 13px; }
.slide-overall b { color: var(--accent); font-weight: 400; letter-spacing: 0; }
.slide-genre { font-size: 12px; color: var(--muted); }
.slide-line { font-size: 13px; background: var(--accent-soft); border-radius: 10px; padding: 6px 8px; }
/* TOP10: 1〜3位は大きめ、4〜10位は表紙つきの小さめカードを横に */
.top10-big { grid-template-columns: 2em 72px 1fr; }
.top10-cover img, .top10-noimg { display: block; width: 72px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; background: var(--accent-soft); }
.top10-rest { grid-auto-columns: 112px; margin-top: 10px; }
@media (min-width: 640px) { .top10-rest { grid-auto-columns: 128px; } }
.top10-mini { display: grid; gap: 3px; align-content: start; }
.top10-mini-cover { position: relative; display: block; }
.top10-mini-cover img, .top10-mini-cover .top10-noimg { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; background: var(--accent-soft); box-shadow: var(--shadow); }
.top10-mini-rank { position: absolute; top: 4px; left: 4px; min-width: 24px; height: 24px; line-height: 24px; text-align: center; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 800; font-size: 13px; }
.top10-mini-title { font-size: 12px; font-weight: 700; text-decoration: none; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.top10-mini-comment { font-size: 11px; color: var(--muted); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* 2026-10-08: 表紙が無い・読めない時はコボロットの顔(空白・壊れた画像アイコンにしない) */
.cover-noimg { flex-direction: column; gap: 4px; padding-top: 56%; background: var(--accent-soft, #ffe6cf) url("mascot/koborotto-face.png") center 22% / 42% auto no-repeat; }
.cover-noimg b { font-size: 11px; letter-spacing: .04em; color: #a0714a; }
.cover-noimg span { font-size: 11px; font-weight: 600; line-height: 1.3; }
.cover-ng, .top10-noimg, .dpick-noimg { background: var(--accent-soft, #ffe6cf) url("mascot/koborotto-face.png") center / 55% auto no-repeat !important; }

/* 2026-10-08: TOP10 の価格(確認時の価格 → 今の価格・割引率)と「今買う？待つ？」 */
.top10-price { display: block; font-size: 12px; color: var(--muted, #8a7a6a); line-height: 1.4; }
.top10-now { font-size: 15px; color: var(--ink, #3b2a1a); }
.top10-price-down .top10-now { color: #e0475b; }
.top10-was { font-size: 11px; }
.top10-off { display: inline-block; margin-left: 4px; padding: 0 5px; border-radius: 999px; background: #e0475b; color: #fff; font-size: 10px; font-weight: 700; vertical-align: 1px; }
.top10-verdict { display: inline-block; margin: 2px 0; padding: 1px 6px; border-radius: 6px; font-size: 10px; font-weight: 700; background: #f4ece4; color: #7a4b2a; }
.top10-verdict-buy-now, .top10-verdict-lowest { background: #ffe3e7; color: #c0344a; }
.top10-verdict-wait { background: #e6eefc; color: #2f5bb7; }
.top10-mini .top10-price { font-size: 11px; }
.top10-mini .top10-now { font-size: 13px; }

/* 2026-10-08: SEO着地ページ(値下げ幅・今買う？待つ？・このページについて・目的から探す) */
.price-drop { margin: 0; font-size: 12px; font-weight: 700; color: #e0475b; }
.price-drop span { font-weight: 600; margin-left: 2px; }
.card-verdict { display: inline-block; margin: 2px 0 4px; padding: 1px 6px; border-radius: 6px; font-size: 11px; font-weight: 700; background: #f4ece4; color: #7a4b2a; }
.card-verdict-buy-now, .card-verdict-lowest { background: #ffe3e7; color: #c0344a; }
.card-verdict-wait { background: #e6eefc; color: #2f5bb7; }
.seo-about p { font-size: 13px; line-height: 1.7; color: var(--muted, #6b5a4a); margin: 0 0 8px; }
.find-links ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.find-links li { background: #fff; border-radius: 12px; padding: 10px 12px; box-shadow: var(--shadow); }
.find-links a { display: block; font-weight: 700; }
.find-links span { display: block; font-size: 12px; color: var(--muted, #8a7a6a); }

/* 2026-10-08: 本のページ「KoboとKindleを比較」(主役はKobo。安い方を正直に) */
.compare { margin: 16px 0; padding: 14px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.compare-title { margin: 0 0 8px; font-size: 16px; }
.compare-table { width: 100%; max-width: 360px; border-collapse: collapse; font-size: 15px; }
.compare-table th { text-align: left; font-weight: 600; padding: 4px 0; color: var(--muted, #6b5a4a); width: 7em; }
.compare-table td { text-align: right; padding: 4px 0; font-weight: 700; }
.compare-table tr.win td, .compare-table tr.win th { color: #e0475b; }
.compare-result { margin: 6px 0 8px; font-weight: 700; color: #e0475b; }
.compare-even .compare-result { color: var(--ink, #3b2a1a); }
.compare-btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.btn-kindle { background: #232f3e !important; color: #fff !important; }
.compare-kobo .btn-kindle, .compare-even .btn-kindle { opacity: .9; }

/* ---- 今日のおすすめ(トップ最上部・毎日3冊。2026-11-12)。表紙は大きさを先に確保(width/height + aspect-ratio)してレイアウトずれを出さない ---- */
.dpick-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 760px) { .dpick-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dpick { display: grid; grid-template-columns: 90px 1fr; gap: 12px; background: var(--surface); border-radius: 18px; padding: 12px; box-shadow: var(--shadow); align-items: start; }
.dpick-cover { display: block; width: 90px; }
.dpick-cover img, .dpick-noimg { display: block; width: 90px; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; background: var(--accent-soft); box-shadow: var(--shadow); }
.dpick-noimg { height: 120px; }
.dpick-body { display: grid; gap: 3px; min-width: 0; }
.dpick-title { font-weight: 700; font-size: 15px; line-height: 1.4; text-decoration: none; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.dpick-author { font-size: 12px; color: var(--muted); }
.dpick-price { font-size: 12px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; }
.dpick-price b { font-size: 20px; color: var(--ink, #3b2a1a); }
.dpick-price small { font-size: 11px; }
.dpick-verdict { display: inline-block; padding: 1px 6px; border-radius: 6px; font-size: 10px; font-weight: 700; background: #f4ece4; color: #7a4b2a; }
.dpick-verdict-buy-now, .dpick-verdict-lowest { background: #ffe3e7; color: #c0344a; }
.dpick-verdict-wait { background: #e6eefc; color: #2f5bb7; }
.dpick .price-checked { margin: 0; }
.dpick-comment { font-size: 12px; background: var(--accent-soft); border-radius: 10px; padding: 4px 8px; justify-self: start; }
.dpick-buy { margin-top: 6px; padding: 11px 12px; font-size: 15px; }
.section-compact .section-title { font-size: 16px; }
/* 一覧ページのページ送り */
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; align-items: center; margin: 18px 0; }
.pager a, .pager-cur { min-width: 40px; height: 40px; line-height: 40px; padding: 0 12px; text-align: center; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 14px; background: var(--surface); box-shadow: var(--shadow); color: var(--accent); }
.pager-cur { background: var(--accent); color: #fff; }
.pager-gap { color: var(--muted); }

/* ---- トップの Kobo・Kindle 価格比較(2026-11-12。既定OFF)。どちらが安くても同じ見た目: 安い方に緑の印 ---- */
[hidden] { display: none !important; }
.cmp { display: grid; gap: 2px; margin: 4px 0; }
.cmp-prices { display: flex; gap: 8px; margin: 0; }
.cmp-p { flex: 1 1 0; min-width: 0; display: grid; gap: 0; padding: 5px 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); line-height: 1.3; }
.cmp-p small { font-size: 10px; color: var(--muted); }
.cmp-p b { font-size: 16px; }
.cmp-p.win { border-color: #2f9e63; background: #e8f6ee; }
.cmp-p.win small::after { content: " ・安い"; color: #1f7a49; font-weight: 700; }
.cmp-result { margin: 0; font-size: 12px; font-weight: 700; }
.cmp-kindle .cmp-result, .cmp-kobo .cmp-result { color: #1f7a49; }
.cmp-even .cmp-result { color: var(--muted); }
.cmp-time { margin: 0; font-size: 10px; color: var(--muted); }
.cmp-na { margin: 2px 0; font-size: 11px; color: var(--muted); }
.cmp-corner { display: grid; gap: 4px; }
.cmp-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 760px) { .cmp-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cmpcard { display: grid; grid-template-columns: 72px 1fr; gap: 10px; background: var(--surface); border-radius: 16px; padding: 10px; box-shadow: var(--shadow); align-items: start; }
.cmpcard-cover { display: block; width: 72px; }
.cmpcard-cover img, .cmpcard-cover .cover { display: block; width: 72px; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; }
.cmpcard-cover .cover-ph b, .cmpcard-cover .cover-ph span { display: none; }
.cmpcard-cover .cover-ph { min-height: 96px; }
.cmpcard-body { display: grid; gap: 2px; min-width: 0; }
.cmpcard-title { font-weight: 700; font-size: 14px; line-height: 1.4; text-decoration: none; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cmp-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.cmp-btns .btn { margin-top: 4px; }
.cmp-disclaimer { margin: 2px 0 0; }

/* ---- 時間帯 × 季節のテーマ(トップだけ。2026-10-07)。色と装飾はCSSグラデーションだけ(画像なし・通信なし)。
   <html data-season>(ビルド時の月)× <html data-tod>(表示時に小さなスクリプトで今の時間帯)の16通り。
   装飾の模様は下の変数に1回だけ書き、組み合わせごとに参照する(CSSを小さく保つ) ---- */
:root {
  --deco-petals: radial-gradient(6px 4px at 70% 14%, #f6b3c7 60%, #0000 70%), radial-gradient(6px 4px at 82% 30%, #f6b3c7 60%, #0000 70%), radial-gradient(6px 4px at 91% 12%, #f6b3c7 60%, #0000 70%), radial-gradient(6px 4px at 76% 48%, #f6b3c7 60%, #0000 70%), radial-gradient(6px 4px at 88% 62%, #f6b3c7 60%, #0000 70%), radial-gradient(6px 4px at 64% 26%, #f6b3c7 60%, #0000 70%);
  --deco-stars: radial-gradient(1.6px 1.6px at 60% 10%, #fff 60%, #0000 70%), radial-gradient(1.6px 1.6px at 72% 22%, #fff 60%, #0000 70%), radial-gradient(1.6px 1.6px at 86% 8%, #fff 60%, #0000 70%), radial-gradient(1.6px 1.6px at 94% 30%, #fff 60%, #0000 70%), radial-gradient(1.6px 1.6px at 66% 40%, #fff 60%, #0000 70%), radial-gradient(1.6px 1.6px at 80% 46%, #fff 60%, #0000 70%), radial-gradient(1.6px 1.6px at 90% 58%, #fff 60%, #0000 70%), radial-gradient(1.6px 1.6px at 56% 24%, #fff 60%, #0000 70%), radial-gradient(1.6px 1.6px at 98% 14%, #fff 60%, #0000 70%);
  --deco-fireflies: radial-gradient(4px 4px at 68% 62%, #e4ff7a 60%, #0000 70%), radial-gradient(4px 4px at 80% 74%, #e4ff7a 60%, #0000 70%), radial-gradient(4px 4px at 90% 58%, #e4ff7a 60%, #0000 70%), radial-gradient(4px 4px at 74% 84%, #e4ff7a 60%, #0000 70%);
  --deco-leaves: radial-gradient(6px 5px at 70% 16%, #e2553a 60%, #0000 70%), radial-gradient(6px 5px at 86% 34%, #e2553a 60%, #0000 70%), radial-gradient(6px 5px at 92% 12%, #e2553a 60%, #0000 70%), radial-gradient(6px 5px at 78% 28%, #f0a33a 60%, #0000 70%), radial-gradient(6px 5px at 64% 44%, #f0a33a 60%, #0000 70%), radial-gradient(6px 5px at 90% 52%, #f0a33a 60%, #0000 70%);
  --deco-snow: radial-gradient(3px 3px at 62% 12%, #fff 60%, #0000 70%), radial-gradient(3px 3px at 72% 30%, #fff 60%, #0000 70%), radial-gradient(3px 3px at 84% 14%, #fff 60%, #0000 70%), radial-gradient(3px 3px at 94% 36%, #fff 60%, #0000 70%), radial-gradient(3px 3px at 68% 52%, #fff 60%, #0000 70%), radial-gradient(3px 3px at 80% 60%, #fff 60%, #0000 70%), radial-gradient(3px 3px at 90% 72%, #fff 60%, #0000 70%), radial-gradient(3px 3px at 58% 34%, #fff 60%, #0000 70%), radial-gradient(3px 3px at 98% 20%, #fff 60%, #0000 70%);
  --deco-flurry: radial-gradient(2.5px 2.5px at 66% 18%, #fff 60%, #0000 70%), radial-gradient(2.5px 2.5px at 80% 34%, #fff 60%, #0000 70%), radial-gradient(2.5px 2.5px at 92% 16%, #fff 60%, #0000 70%), radial-gradient(2.5px 2.5px at 74% 56%, #fff 60%, #0000 70%), radial-gradient(2.5px 2.5px at 88% 64%, #fff 60%, #0000 70%);
  --deco-clouds: radial-gradient(circle at 88% 108%, #fff 0 34px, #0000 35px), radial-gradient(circle at 76% 112%, #fff 0 28px, #0000 29px), radial-gradient(circle at 97% 112%, #fff 0 26px, #0000 27px);
  --deco-frost: linear-gradient(180deg, #0000 72%, #ffffffbf);
  --deco-sun: radial-gradient(circle at 88% 16%, var(--sun) 0 13px, color-mix(in srgb, var(--sun) 35%, #0000) 14px 21px, #0000 22px);
  --deco-moon: radial-gradient(circle at 88% 16%, #fff6d5 0 11px, #fff6d540 12px 18px, #0000 19px);
}
.hero { position: relative; overflow: hidden; background: linear-gradient(170deg, var(--sky1, var(--accent-soft)), var(--sky2, var(--bg)) 75%); color: var(--hero-ink, var(--ink)); }
.hero > * { position: relative; z-index: 1; }
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; background: var(--deco-bg, none); }
.hero::after { background: var(--deco-fg, none); }
.hero .date { color: var(--hero-sub, var(--muted)); }
.hero .concept { color: var(--town-accent, var(--accent)); }
.greet-slot { background: var(--town-accent, var(--accent)); }
.hero .town-greeting { padding-right: 52px; }
html[data-season="spring"][data-tod="morning"] { --sky1: #ffe4ee; --sky2: #fff6e9; --hero-ink: #3a2a2e; --hero-sub: #8a6f76; --town-accent: #e8789a; --deco-bg: var(--deco-petals); --deco-fg: var(--deco-sun); --sun: #ffd76a; }
html[data-season="spring"][data-tod="day"] { --sky1: #dff0ff; --sky2: #ffeef4; --hero-ink: #2e2a35; --hero-sub: #77707f; --town-accent: #e06b92; --deco-bg: var(--deco-petals); --deco-fg: var(--deco-sun); --sun: #ffe08a; }
html[data-season="spring"][data-tod="evening"] { --sky1: #ffd4c4; --sky2: #ffe7f0; --hero-ink: #3a2626; --hero-sub: #8a6a6a; --town-accent: #e2666f; --deco-bg: var(--deco-petals); --deco-fg: var(--deco-sun); --sun: #ff9b6a; }
html[data-season="spring"][data-tod="night"] { --sky1: #2a2752; --sky2: #4b3a6e; --hero-ink: #f7f0ff; --hero-sub: #cfc2e6; --town-accent: #f2a6c4; --deco-bg: var(--deco-petals); --deco-fg: var(--deco-moon); }
html[data-season="summer"][data-tod="morning"] { --sky1: #dff4ff; --sky2: #fffbe3; --hero-ink: #1f3244; --hero-sub: #6d7d8a; --town-accent: #2a9fd6; --deco-fg: var(--deco-sun); --sun: #ffd34d; }
html[data-season="summer"][data-tod="day"] { --sky1: #86ccff; --sky2: #e8f6ff; --hero-ink: #10304a; --hero-sub: #3d5a70; --town-accent: #0f86c9; --deco-bg: var(--deco-clouds); --deco-fg: var(--deco-sun); --sun: #ffd21f; }
html[data-season="summer"][data-tod="evening"] { --sky1: #ffbd84; --sky2: #ffe0cf; --hero-ink: #3b1f12; --hero-sub: #80594a; --town-accent: #e2683c; --deco-fg: var(--deco-sun); --sun: #ff7a3d; }
html[data-season="summer"][data-tod="night"] { --sky1: #0a1b38; --sky2: #1c3156; --hero-ink: #eef4ff; --hero-sub: #b6c4dc; --town-accent: #c7f26b; --deco-bg: var(--deco-stars), var(--deco-fireflies); --deco-fg: var(--deco-moon); }
html[data-season="autumn"][data-tod="morning"] { --sky1: #ffefd2; --sky2: #fde6da; --hero-ink: #3b2a1c; --hero-sub: #8a7362; --town-accent: #d9822b; --deco-bg: var(--deco-leaves); --deco-fg: var(--deco-sun); --sun: #ffd27a; }
html[data-season="autumn"][data-tod="day"] { --sky1: #ffe3bb; --sky2: #fff5e8; --hero-ink: #3b2716; --hero-sub: #87705c; --town-accent: #d06a1f; --deco-bg: var(--deco-leaves); --deco-fg: var(--deco-sun); --sun: #ffc54d; }
html[data-season="autumn"][data-tod="evening"] { --sky1: #ff9a55; --sky2: #ffd0ad; --hero-ink: #3a170c; --hero-sub: #7a4630; --town-accent: #c4361d; --deco-bg: var(--deco-leaves); --deco-fg: var(--deco-sun); --sun: #ff6a2b; }
html[data-season="autumn"][data-tod="night"] { --sky1: #2a1f3d; --sky2: #43283a; --hero-ink: #fff1e6; --hero-sub: #dcc3b6; --town-accent: #f0a04b; --deco-bg: var(--deco-leaves), var(--deco-stars); --deco-fg: var(--deco-moon); }
html[data-season="winter"][data-tod="morning"] { --sky1: #f3faff; --sky2: #d9eeff; --hero-ink: #213547; --hero-sub: #6a7f90; --town-accent: #5aa9d6; --deco-bg: var(--deco-flurry), var(--deco-frost); --deco-fg: var(--deco-sun); --sun: #fff0a8; }
html[data-season="winter"][data-tod="day"] { --sky1: #e3f1ff; --sky2: #ffffff; --hero-ink: #1f3346; --hero-sub: #6c7e8f; --town-accent: #3d8fd1; --deco-bg: var(--deco-flurry); --deco-fg: var(--deco-sun); --sun: #ffe68a; }
html[data-season="winter"][data-tod="evening"] { --sky1: #f5d3e2; --sky2: #dbe3f6; --hero-ink: #2f2b40; --hero-sub: #6f6a83; --town-accent: #8a6fc4; --deco-bg: var(--deco-flurry); --deco-fg: var(--deco-sun); --sun: #ff9fb0; }
html[data-season="winter"][data-tod="night"] { --sky1: #0c1a33; --sky2: #1f3359; --hero-ink: #eaf3ff; --hero-sub: #b4c6e0; --town-accent: #9cd2ff; --deco-bg: var(--deco-snow), var(--deco-stars); --deco-fg: var(--deco-moon); }
/* 夜のテーマで文字色を白くしても、吹き出し・数字カードは明るい背景なので通常の文字色に戻す */
.hero .say-text, .hero .stat { color: var(--ink); }

