/*
Theme Name: ベストグッド
Description: ベストグッド（比較・ランキングサイト）用の自作テーマ。ランキングページ・比較表・サービス紹介をそなえ、アフィリエイトリンクは「ベストグッド アフィリエイト管理」プラグインで管理します。
Version: 0.2.0
Author: e-cle
Requires PHP: 8.0
Text Domain: bestgood
*/

/* このファイルは scripts/build-theme-css.php が作る。直すときは、もとのファイルを直して作り直す。 */
:root {
	--accent: #222;
	--accent-d: #222;
	--ink: #222;
	--sub: #7b7b7b;
	--line: #ececec;
	--bg2: #f6f6f6;
	--cream: #f4f4f2;
	--mark: #fff1a8;
	--cta: #222;
	--cta-h: #444;
	--cta-s: #000;
	--gold: #e0a81c;
	--silver: #9aa7b1;
	--bronze: #d08a4e;
	--wrap: 1120px;
	--r: 10px;
	--en: "Josefin Sans", sans-serif;
	--jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	--shadow: 0 3px 14px rgba(0, 0, 0, .08);
	--shadow-h: 0 8px 24px rgba(0, 0, 0, .14);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--jp); color: var(--ink); background: #fff; font-size: 15px; line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
button { font: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.ico { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ===== ここから TOP案と同じ部品 ===== */
/* ヘッダー */
.header { background: #fff; box-shadow: 0 1px 8px rgba(0, 0, 0, .07); position: sticky; top: 0; z-index: 30; }
.header .wrap { display: flex; align-items: center; gap: 14px; height: 72px; }
.logo { display: flex; align-items: baseline; gap: 12px; margin-right: auto; }
.logo-en { font-family: var(--en); font-weight: 700; font-size: 28px; letter-spacing: .04em; line-height: 1; padding-top: 6px; }
.logo-en i { font-style: normal; color: var(--accent); }
.logo-tag { font-size: 12px; font-weight: 700; }
.logo-img { height: 36px; width: auto; }
.logo:has(.logo-img) { align-items: center; }
.footer .logo-img { height: 30px; }
.gnav { display: flex; gap: 22px; font-weight: 700; font-size: 14px; margin-right: 8px; }
.gnav a { position: relative; padding: 6px 0; }
.gnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .2s; }
.gnav a:hover::after, .gnav a.is-on::after { transform: scaleX(1); }
.btn-search { display: flex; align-items: center; gap: 6px; font-family: var(--en); font-weight: 700; font-size: 12.5px; letter-spacing: .08em; border: 1.5px solid #dcdcdc; border-radius: 999px; padding: 8px 18px 6px 14px; transition: .2s; }
.btn-search .ico { color: var(--accent); margin-top: -3px; }
.btn-search:hover { border-color: var(--accent); color: var(--accent-d); }
.btn-menu { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); border: 0; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.btn-menu:hover { background: var(--accent-d); }
.btn-menu span, .btn-menu span::before, .btn-menu span::after { display: block; width: 16px; height: 2px; background: #fff; border-radius: 2px; position: relative; }
.btn-menu span::before, .btn-menu span::after { content: ""; position: absolute; left: 0; }
.btn-menu span::before { top: -5px; } .btn-menu span::after { top: 5px; }

/* 検索の入力欄 */
.search { position: relative; }
.search input { width: 100%; height: 42px; border: 0; background: var(--bg2); border-radius: 999px; padding: 0 46px 0 20px; font: inherit; font-size: 13px; }
.search input::placeholder { color: #aaa; }
.search input:focus { outline: 2px solid var(--accent); }
.search button { position: absolute; right: 8px; top: 6px; width: 30px; height: 30px; border: 0; background: none; color: var(--accent); cursor: pointer; display: grid; place-items: center; }

/* 見出し */
.sec-ttl { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 700; margin-bottom: 18px; }
.sec-ttl .ico { color: var(--accent); width: 25px; height: 25px; }
.sec-ttl .bar { width: 6px; height: 22px; background: var(--accent); border-radius: 2px; margin-right: 4px; flex: none; }
.sec-ttl small { font-family: var(--en); font-size: 13px; color: var(--accent); letter-spacing: .1em; margin-left: 4px; padding-top: 5px; }

/* カード */
.tag { position: absolute; top: 10px; left: 10px; z-index: 2; background: rgba(30, 30, 30, .78); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 11px; border-radius: 999px; }
.tag.right { left: auto; right: 10px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); }
.card-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #ddd; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 12px 16px 18px; flex: 1; }
.card-body time, .date { font-size: 11px; color: var(--sub); display: flex; align-items: center; gap: 5px; }
.card-body h3 { font-size: 15px; line-height: 1.6; font-weight: 700; margin-top: 5px; }
.card:hover h3 { color: var(--accent-d); }
.rank-no { position: absolute; top: 0; left: 0; z-index: 2; min-width: 32px; height: 32px; background: #8d8d8d; color: #fff; font-family: var(--en); font-weight: 700; font-size: 15px; display: grid; place-items: center; padding-top: 4px; border-radius: 0 0 var(--r) 0; }
.rank-no.r1, .no.r1, .medal.r1 { background: var(--gold); }
.rank-no.r2, .no.r2, .medal.r2 { background: var(--silver); }
.rank-no.r3, .no.r3, .medal.r3 { background: var(--bronze); }

/* ランキングのカード */
.rk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rk-card { border-radius: 12px; }
.rk-card .card-img { aspect-ratio: 16 / 8.2; }
.rk-card .card-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .72), rgba(0, 0, 0, 0) 62%); }
.rk-card .card-img h3 { position: absolute; left: 16px; right: 16px; bottom: 12px; z-index: 1; color: #fff; font-size: 17px; font-weight: 700; line-height: 1.45; }
.rk-card:hover .card-img h3 { color: #fff; }
.rk-card .date { margin: 12px 18px 0; }
.top3 { padding: 4px 18px 2px; }
.top3 li { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-weight: 700; font-size: 14.5px; }
.top3 b { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #8d8d8d; color: #fff; font-family: var(--en); font-size: 13px; display: grid; place-items: center; padding-top: 3px; }
.top3 li:nth-child(1) b { background: var(--gold); } .top3 li:nth-child(2) b { background: var(--silver); } .top3 li:nth-child(3) b { background: var(--bronze); }
.rk-go { margin: 8px 18px 18px; background: #fff; color: var(--ink); border: 1.5px solid #dcdcdc; font-weight: 700; font-size: 14px; padding: 8px; border-radius: 999px; transition: .2s; display: flex; justify-content: center; align-items: center; gap: 8px; }
.rk-go .ico { color: var(--accent); }
.rk-card:hover .rk-go, a.rk-go:hover { border-color: var(--accent); color: var(--accent-d); }

/* 記事の一覧（横長） */
.row { display: grid; grid-template-columns: 180px 1fr; gap: 22px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.row-img { position: relative; aspect-ratio: 16 / 9.4; overflow: hidden; border-radius: 8px; background: #ddd; }
.row-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.row:hover .row-img img { transform: scale(1.06); }
.row-img .tag { top: 7px; left: auto; right: 7px; font-size: 10.5px; padding: 1px 9px; }
.row-meta { font-size: 11.5px; color: var(--sub); display: flex; gap: 14px; align-items: center; }
.row-meta span { display: flex; align-items: center; gap: 5px; }
.row h3 { font-size: 17.5px; font-weight: 700; line-height: 1.5; margin: 3px 0 4px; }
.row:hover h3 { color: var(--accent-d); }
.row p { font-size: 12.5px; color: #666; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* フッター */
.footer { background: #fff; color: #555; padding: 40px 0 20px; margin-top: 64px; border-top: 1px solid var(--line); }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer .logo-en { font-size: 25px; color: var(--ink); }
.footer p { font-size: 12.5px; margin-top: 10px; }
.footer h3 { font-size: 13px; color: var(--ink); margin-bottom: 8px; }
.footer li a { font-size: 13px; display: block; padding: 3px 0; }
.footer li a:hover { color: var(--accent-d); }
.copy { text-align: center; font-size: 11px; color: #999; margin-top: 26px; font-family: var(--en); letter-spacing: .06em; }

/* ===== ここから下層ページ用 ===== */
/* パンくず */
.crumbs { padding-top: 14px; font-size: 12px; color: var(--sub); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 2px 8px; }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: #bbb; }
.crumbs a:hover { color: var(--accent-d); text-decoration: underline; }

/* ページの頭 */
.pagehead { padding-top: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { font-size: 11.5px; font-weight: 700; line-height: 1; padding: 6px 13px; border-radius: 999px; background: var(--ink); color: #fff; }
.chip.pr { background: #fff; color: #8a8a8a; border: 1px solid #d5d5d5; font-family: var(--en); letter-spacing: .1em; padding: 6px 10px 3px; }
.pagehead h1 { text-wrap: balance; word-break: auto-phrase; font-size: 30px; font-weight: 700; line-height: 1.45; margin-top: 12px; }
.pagehead h1 small { font-family: var(--en); font-size: 14px; color: var(--accent); letter-spacing: .1em; margin-left: 10px; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 12.5px; color: var(--sub); margin-top: 10px; }
.meta span { display: flex; align-items: center; gap: 5px; }
.lead { margin-top: 16px; font-size: 15.5px; line-height: 1.95; max-width: 860px; }

/* ボタン */
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; font-weight: 700; border-radius: 999px; padding: 12px 28px; line-height: 1.4; text-align: center; transition: .2s; }
.btn-cta { background: var(--cta); color: #fff; box-shadow: 0 3px 0 var(--cta-s); }
.btn-cta:hover { background: var(--cta-h); transform: translateY(1px); box-shadow: 0 2px 0 var(--cta-s); }
.btn-line { border: 1.5px solid #dcdcdc; background: #fff; }
.btn-line .ico { color: var(--accent); }
.btn-line:hover { border-color: var(--accent); color: var(--accent-d); }
.btn.sm { padding: 8px 16px; font-size: 13px; white-space: nowrap; }
.btn.block { display: flex; width: 100%; }

/* 星と点数 */
.stars { display: inline-block; font-size: 15px; line-height: 1; letter-spacing: 1px; background: linear-gradient(90deg, var(--gold) calc(var(--v) * 20%), #dcdcdc 0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.score { display: inline-flex; align-items: center; gap: 8px; }
.score b { font-family: var(--en); font-size: 19px; line-height: 1; padding-top: 4px; }
.no { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #8d8d8d; color: #fff; font-family: var(--en); font-weight: 700; font-size: 13px; display: grid; place-items: center; padding-top: 3px; }
.svc-logo { width: 100%; aspect-ratio: 5 / 2; border-radius: 8px; background: var(--bg2); border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--en); font-weight: 700; letter-spacing: .12em; color: #b0b0b0; font-size: 14px; padding-top: 3px; }

/* まず結論（上位3つ） */
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.pod { background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 26px 18px 20px; text-align: center; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; }
.pod .rank-no { min-width: 40px; height: 40px; font-size: 19px; padding-top: 5px; }
.pod .svc-logo { max-width: 210px; }
.pod h3 { font-size: 17px; font-weight: 700; margin-top: 12px; }
.pod .score { margin-top: 6px; }
.pod p { text-wrap: balance; font-size: 13px; color: #555; margin-top: 8px; line-height: 1.6; flex: 1; }
.pod-price { margin-top: 10px; font-size: 12px; color: var(--sub); }
.pod-price b { font-size: 19px; color: var(--ink); font-weight: 700; margin-left: 6px; }
.pod .btn { margin-top: 12px; }
.pod-more { margin-top: 10px; font-size: 12.5px; font-weight: 700; color: var(--accent-d); display: inline-flex; align-items: center; gap: 4px; }
.pod-more:hover { text-decoration: underline; }

/* 目次 */
.toc { margin-top: 32px; background: var(--bg2); border-radius: var(--r); padding: 18px 24px 20px; }
.toc-ttl { font-weight: 700; font-size: 15px; display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.toc-ttl .ico { color: var(--accent); }
.toc ol { counter-reset: toc; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.toc.col1 ol { grid-template-columns: 1fr; }
.toc li { counter-increment: toc; border-bottom: 1px dashed #d6d6d6; }
.toc a { display: flex; gap: 10px; padding: 8px 0; font-size: 14px; font-weight: 700; }
.toc a::before { content: counter(toc); font-family: var(--en); color: var(--accent); min-width: 14px; padding-top: 2px; }
.toc a:hover { color: var(--accent-d); }

/* ランキングページの段 */
.blk { padding-top: 52px; scroll-margin-top: 60px; }
.blk-lead { margin: -8px 0 18px; font-size: 14px; color: #555; }

/* 比較表 */
.cmp-hint { display: none; font-size: 12px; color: var(--sub); margin-bottom: 6px; }
.cmp-scroll { overflow-x: auto; border: 1px solid #e3e3e3; border-radius: var(--r); -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; min-width: 940px; border-collapse: collapse; font-size: 13.5px; text-align: center; }
.cmp th, .cmp td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; background: #fff; }
.cmp thead th { background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.cmp tbody tr:last-child > * { border-bottom: 0; }
.cmp th:first-child { position: sticky; left: 0; z-index: 1; text-align: left; min-width: 210px; padding-left: 16px; }
.cmp tbody tr:hover > * { background: #fdfaf0; }
.cmp-name { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; line-height: 1.4; }
.cmp-name:hover { color: var(--accent-d); }
.cmp .price { font-weight: 700; font-size: 15px; white-space: nowrap; }
.cmp .score { flex-direction: column; gap: 3px; }
.mk { font-weight: 700; font-size: 18px; line-height: 1; }
.mk.a { color: var(--accent-d); } .mk.b { color: #444; } .mk.c { color: #999; } .mk.d { color: #c4c4c4; }
.cmp-note { font-size: 12px; color: var(--sub); margin-top: 8px; }

/* 選び方 */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: pt; }
.point { background: #fff; border: 1.5px solid #e3e3e3; border-radius: var(--r); padding: 20px 20px 18px; counter-increment: pt; }
.point h3 { font-size: 16px; font-weight: 700; line-height: 1.5; display: flex; gap: 10px; }
.point h3::before { content: "0" counter(pt); font-family: var(--en); color: var(--accent); font-size: 22px; line-height: 1; padding-top: 5px; }
.point p { font-size: 13.5px; color: #555; margin-top: 8px; }

/* ランキングの1件ずつ */
.items { display: grid; gap: 28px; }
.item { background: #fff; border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; scroll-margin-top: 90px; }
.item-head { display: flex; align-items: center; gap: 14px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.item-head .no { width: 44px; height: 44px; font-size: 21px; padding-top: 5px; }
.item-head small { display: block; font-size: 12.5px; font-weight: 700; color: var(--accent-d); line-height: 1.5; }
.item-head h3 { font-size: 20px; font-weight: 700; line-height: 1.4; }
.item-body { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; padding: 22px; }
.total { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.total small { font-size: 12px; font-weight: 700; color: var(--sub); }
.total b { font-family: var(--en); font-size: 34px; line-height: 1; color: var(--accent-d); padding-top: 6px; }
.bars { margin-top: 10px; display: grid; gap: 7px; }
.bars li { display: grid; grid-template-columns: 96px 1fr 28px; gap: 8px; align-items: center; font-size: 12px; }
.bars i { display: block; height: 6px; border-radius: 3px; background: #e9e9e9; position: relative; overflow: hidden; }
.bars i::after { content: ""; position: absolute; inset: 0; width: calc(var(--v) * 20%); background: var(--accent); border-radius: 3px; }
.bars b { font-family: var(--en); font-size: 13px; text-align: right; padding-top: 3px; }
.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pc-box { border-radius: 8px; padding: 14px 16px; background: var(--cream); }
.pc-box.bad { background: var(--bg2); }
.pc-box h4 { font-size: 13.5px; font-weight: 700; display: flex; gap: 6px; align-items: center; margin-bottom: 4px; }
.pc-box h4 .ico { color: var(--accent-d); } .pc-box.bad h4 .ico { color: #888; }
.pc-box li { font-size: 13.5px; padding-left: 14px; position: relative; line-height: 1.65; margin-top: 4px; }
.pc-box li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.pc-box.bad li::before { background: #aaa; }
.spec { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); font-size: 13.5px; }
.spec div { display: grid; grid-template-columns: 104px 1fr; border-bottom: 1px solid var(--line); }
.spec dt { background: var(--bg2); padding: 9px 12px; font-weight: 700; font-size: 12.5px; }
.spec dd { padding: 9px 12px; font-weight: 700; }
.voices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.item .voices { padding: 0 22px; }
.voice { border: 1px solid #e3e3e3; border-radius: 8px; padding: 12px 16px 14px; font-size: 13.5px; background: #fff; }
.voice-who { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--sub); margin-bottom: 4px; }
.voice-who .ico { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--bg2); color: #999; }
.voice-who .stars { font-size: 12px; margin-left: auto; }
.item-cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; padding: 20px 22px 24px; }
.item-cta .btn { min-width: 270px; }

/* 評価の基準 */
.method { background: var(--bg2); border-radius: var(--r); padding: 24px 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.method span { font-family: var(--en); color: var(--accent-d); font-size: 24px; font-weight: 700; line-height: 1; }
.method b { display: block; font-size: 15px; font-weight: 700; margin-top: 2px; }
.method p { font-size: 12.5px; color: #555; margin-top: 4px; }

/* よくある質問 */
.faq { display: grid; gap: 10px; }
.faq details { border: 1.5px solid #e3e3e3; border-radius: var(--r); background: #fff; }
.faq summary { list-style: none; cursor: pointer; display: flex; gap: 12px; align-items: center; padding: 14px 18px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--en); font-weight: 700; color: var(--accent); font-size: 20px; line-height: 1; padding-top: 4px; }
.faq summary .ico { margin-left: auto; color: #aaa; transition: transform .2s; }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq details p { padding: 0 18px 16px 46px; font-size: 14px; color: #444; }

/* 書いた人 */
.author { display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: center; border: 1.5px solid #e3e3e3; border-radius: var(--r); padding: 20px 22px; margin-top: 48px; }
.author-img { width: 72px; height: 72px; border-radius: 50%; background: var(--bg2); display: grid; place-items: center; color: #aaa; }
.author-img .ico { width: 34px; height: 34px; }
.author small { font-size: 11.5px; color: var(--sub); font-weight: 700; }
.author b { display: block; font-size: 15.5px; }
.author p { font-size: 13px; color: #555; margin-top: 4px; }

/* 本文＋サイドバー */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.side { display: grid; gap: 32px; padding-top: 30px; }
.widget-ttl { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); margin-bottom: 10px; }
.widget-ttl .ico { color: var(--accent); }
.side-rank { border-radius: 12px; box-shadow: var(--shadow); padding: 16px 18px 18px; }
.side-rank h3 { font-size: 15.5px; font-weight: 700; display: flex; gap: 8px; align-items: center; }
.side-rank h3 .ico { color: var(--accent); }
.side-rank .top3 { padding: 6px 0 8px; }
.side-rank .rk-go { margin: 0; }
.mini { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: center; }
.mini-img { position: relative; aspect-ratio: 16 / 11; border-radius: 6px; overflow: hidden; background: #ddd; }
.mini-img img { width: 100%; height: 100%; object-fit: cover; }
.mini-img .rank-no { min-width: 22px; height: 22px; font-size: 12px; padding-top: 3px; border-radius: 0 0 6px 0; }
.mini b { font-size: 13px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mini:hover b { color: var(--accent-d); }
.side-genres a { display: flex; align-items: center; gap: 10px; padding: 10px 2px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.side-genres a .ico:first-child { color: var(--accent); }
.side-genres a .ico:last-child { margin-left: auto; color: #bbb; width: 15px; height: 15px; }
.side-genres a:hover { color: var(--accent-d); }

/* 記事の本文 */
.eyecatch { margin-top: 20px; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 8.4; background: #ddd; }
.eyecatch img { width: 100%; height: 100%; object-fit: cover; }
.entry > p { margin-top: 1.3em; font-size: 15.5px; line-height: 1.95; }
.entry > h2 { font-size: 22px; font-weight: 700; line-height: 1.5; margin-top: 54px; padding: 12px 18px; background: var(--bg2); border-left: 5px solid var(--accent); border-radius: 0 6px 6px 0; scroll-margin-top: 90px; }
.entry > h3 { font-size: 18px; font-weight: 700; line-height: 1.5; margin-top: 36px; padding-bottom: 8px; border-bottom: 2px solid var(--line); position: relative; }
.entry > h3::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 64px; height: 2px; background: var(--accent); }
.entry .mark { background: linear-gradient(transparent 62%, var(--mark) 0); font-weight: 700; }
.entry .dots { margin-top: 1.2em; display: grid; gap: 6px; font-size: 15.5px; }
.entry .dots li { padding-left: 18px; position: relative; }
.entry .dots li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.summary { margin-top: 34px; border: 2px solid var(--accent); border-radius: var(--r); padding: 22px 22px 18px; position: relative; }
.summary-ttl { position: absolute; top: -14px; left: 14px; background: #fff; padding: 0 10px; font-weight: 700; color: var(--accent-d); font-size: 15px; display: flex; gap: 6px; align-items: center; }
.summary li { display: flex; gap: 8px; font-weight: 700; padding: 4px 0; }
.summary li .ico { color: var(--accent); margin-top: .3em; }
.tbl { width: 100%; border-collapse: collapse; margin-top: 1.4em; font-size: 14.5px; }
.tbl th, .tbl td { padding: 11px 14px; border: 1px solid #e3e3e3; text-align: left; vertical-align: top; }
.tbl th { background: var(--bg2); width: 30%; font-weight: 700; }
.svc { margin-top: 30px; border-radius: 12px; box-shadow: var(--shadow); padding: 20px 22px 22px; display: grid; grid-template-columns: 200px 1fr; gap: 22px; align-items: center; }
.svc h4 { font-size: 17px; font-weight: 700; }
.svc p { font-size: 13.5px; color: #555; margin-top: 6px; }
.svc .btn { margin-top: 12px; }
.entry > .voices { margin-top: 1.4em; }
.voice.good { border-left: 4px solid var(--accent); }
.voice.bad { border-left: 4px solid #a9a9a9; }
.steps { margin-top: 1.4em; display: grid; gap: 10px; counter-reset: st; }
.steps li { counter-increment: st; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; border: 1.5px solid #e3e3e3; border-radius: var(--r); padding: 14px 16px; }
.steps li::before { content: counter(st); width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--en); font-weight: 700; font-size: 18px; display: grid; place-items: center; padding-top: 4px; }
.steps b { display: block; }
.steps span { font-size: 13.5px; color: #555; }
.cta-band { margin-top: 34px; background: var(--cream); border-radius: var(--r); padding: 24px 22px 26px; text-align: center; }
.cta-band p { font-weight: 700; font-size: 16px; margin-bottom: 14px; }
.cta-band .btn { min-width: 300px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.tags a { font-size: 12.5px; border: 1px solid #dcdcdc; border-radius: 999px; padding: 3px 14px; }
.tags a:hover { border-color: var(--accent); color: var(--accent-d); }
.entry .faq { margin-top: 1.4em; }

/* 一覧ページ */
.to-rank { margin-top: 20px; display: flex; align-items: center; gap: 14px; background: var(--cream); border-radius: var(--r); padding: 14px 18px; font-weight: 700; transition: .2s; }
.to-rank > .ico:first-child { width: 28px; height: 28px; color: var(--accent); }
.to-rank small { display: block; font-size: 12px; font-weight: 700; color: var(--accent-d); }
.to-rank > .ico:last-child { margin-left: auto; color: var(--accent-d); }
.to-rank:hover { box-shadow: var(--shadow); }
.count { margin-top: 22px; font-size: 12.5px; color: var(--sub); border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 34px; }
.pager a, .pager span { min-width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--en); font-weight: 700; padding-top: 3px; border: 1.5px solid #dcdcdc; transition: .2s; }
.pager a:hover { border-color: var(--accent); color: var(--accent-d); }
.pager .is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.pager .gap { border: 0; }

/* 固定ページ（運営者情報など） */
.narrow { max-width: 800px; margin: 0 auto; }

/* タブレット・スマホ */
@media (max-width: 960px) {
	.gnav { display: none; }
	.cards { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.rk-cards { grid-template-columns: 1fr; }
	.footer .wrap { grid-template-columns: 1fr; gap: 18px; }
	.layout { grid-template-columns: 1fr; gap: 20px; }
	.podium { grid-template-columns: 1fr; gap: 16px; }
	.points { grid-template-columns: 1fr; gap: 12px; }
	.item-body { grid-template-columns: 1fr; gap: 20px; }
	.method { grid-template-columns: 1fr 1fr; }
	.cmp-hint { display: block; }
}
@media (max-width: 640px) {
	.header .wrap { height: 60px; }
	.logo-en { font-size: 22px; } .logo-tag { display: none; }
	.logo-img { height: 22px; }
	.footer .logo-img { height: 24px; }
	.btn-search { padding: 7px 14px 5px 11px; }
	.sec-ttl { font-size: 18px; }
	.sec-ttl small { display: none; }
	.card-body { padding: 10px 12px 14px; } .card-body h3 { font-size: 13.5px; }
	.row { grid-template-columns: 116px 1fr; gap: 14px; padding: 14px 0; align-items: start; }
	.row h3 { font-size: 14.5px; } .row p { display: none; }
	.row-meta span + span { display: none; }
	.pagehead h1 { font-size: 22px; }
	.pagehead h1 small { display: none; }
	.lead { font-size: 15px; }
	.toc { padding: 16px 18px 18px; }
	.toc ol { grid-template-columns: 1fr; }
	.blk { padding-top: 42px; }
	.cmp th:first-child { min-width: 148px; padding-left: 10px; box-shadow: 2px 0 4px rgba(0, 0, 0, .06); }
	.cmp-name { font-size: 12.5px; gap: 7px; }
	.cmp-name .no { width: 22px; height: 22px; font-size: 12px; }
	.item-head { padding: 14px 16px; gap: 12px; }
	.item-head h3 { font-size: 17.5px; }
	.item-head .no { width: 38px; height: 38px; font-size: 18px; }
	.item-body { padding: 16px; }
	.item .voices { padding: 0 16px; }
	.pc, .voices, .spec { grid-template-columns: 1fr; }
	.item-cta { padding: 16px 16px 20px; gap: 10px; }
	.item-cta .btn, .cta-band .btn { min-width: 0; width: 100%; }
	.method { padding: 18px; gap: 16px; }
	.faq summary { padding: 13px 14px; }
	.faq details p { padding: 0 14px 14px; }
	.author { grid-template-columns: 56px 1fr; gap: 14px; padding: 16px; }
	.author-img { width: 56px; height: 56px; }
	.entry > h2 { font-size: 19px; margin-top: 44px; padding: 10px 14px; }
	.entry > h3 { font-size: 16.5px; }
	.svc { grid-template-columns: 1fr; gap: 14px; padding: 16px; }
	.svc .btn { width: 100%; }
	.tbl { font-size: 13.5px; }
	.tbl th, .tbl td { padding: 9px 10px; }
	.footer { margin-top: 48px; }
}

/* ===== TOP だけで使う部品 ===== */
.infobar { background: var(--bg2); }
.infobar .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; height: 62px; }
.ticker { display: flex; align-items: center; gap: 14px; min-width: 0; }
.ticker-label { flex: none; font-size: 12px; font-weight: 700; color: #fff; background: var(--accent); border-radius: 999px; padding: 2px 14px; }
.ticker-view { overflow: hidden; height: 24px; flex: 1; }
.ticker-list { animation: tick 12s infinite; }
.ticker-list a { display: block; height: 24px; line-height: 24px; font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticker-list a:hover { color: var(--accent-d); }
@keyframes tick { 0%, 28% { transform: translateY(0); } 33%, 61% { transform: translateY(-24px); } 66%, 94% { transform: translateY(-48px); } 100% { transform: translateY(-72px); } }
.slider { padding: 26px 0 6px; }
.slider-box { position: relative; }
.slider-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r); }
.slider-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 calc((100% - 42px) / 4); scroll-snap-align: start; position: relative; aspect-ratio: 16 / 11.6; overflow: hidden; border-radius: var(--r); background: #333; }
.slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.slide:hover img { transform: scale(1.06); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, .28) 55%, rgba(0, 0, 0, 0) 80%); }
.slide-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 12px 16px 14px; color: #fff; }
.slide-body time { font-size: 11px; opacity: .92; display: flex; align-items: center; gap: 5px; }
.slide-body h3 { font-size: 14.5px; line-height: 1.5; margin-top: 4px; font-weight: 700; }
.slider-btn { position: absolute; top: 50%; z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--accent-d); border: 0; cursor: pointer; display: grid; place-items: center; transform: translateY(-50%); box-shadow: 0 2px 10px rgba(0, 0, 0, .2); transition: .2s; }
.slider-btn:hover { background: var(--accent); color: #fff; }
.slider-btn.prev { left: -20px; } .slider-btn.next { right: -20px; }
.dots { display: flex; justify-content: center; gap: 9px; margin-top: 16px; }
.dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: #d5d5d5; cursor: pointer; }
.dots button.is-on { background: var(--accent); }
.sec { padding: 40px 0 6px; }
.sec-more { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--accent-d); display: flex; align-items: center; gap: 4px; }
.sec-more:hover { text-decoration: underline; }
.genres { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.genre { min-height: 54px; border-radius: var(--r); display: flex; align-items: center; gap: 10px; padding: 0 12px 0 16px; background: #fff; color: var(--ink); border: 1.5px solid #e3e3e3; transition: border-color .2s, box-shadow .2s, color .2s; }
.genre:hover { border-color: var(--accent); box-shadow: var(--shadow); color: var(--accent-d); }
.genre .g-ico { width: 22px; height: 22px; color: var(--accent); }
.genre b { font-weight: 700; font-size: 14.5px; line-height: 1.35; padding: 6px 0; }
.genre .chev { margin-left: auto; width: 16px; height: 16px; color: #b5b5b5; transition: transform .2s, color .2s; }
.genre:hover .chev { transform: translateX(3px); color: var(--accent); }
.tabs { display: flex; justify-content: center; margin: 44px auto 22px; width: 300px; background: #ededed; border-radius: 6px; overflow: hidden; }
.tab { flex: 1; padding: 9px 0 8px; font-weight: 700; font-size: 13.5px; border: 0; background: none; color: #555; cursor: pointer; transition: .2s; }
.tab.is-on { background: var(--accent); color: #fff; border-radius: 6px; }
.rows { display: none; max-width: 920px; margin: 0 auto; }
.rows.is-on { display: block; }
.more { text-align: center; margin: 30px 0 6px; }
.more a { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--accent); color: var(--accent-d); font-weight: 700; padding: 11px 52px; border-radius: 999px; transition: .2s; }
.more a:hover { background: var(--accent); color: #fff; }
.about { margin-top: 48px; background: #f7f8f7; }
.about .wrap { display: grid; grid-template-columns: 250px 1fr; gap: 36px; align-items: center; padding-top: 34px; padding-bottom: 34px; position: relative; z-index: 1; }
.about h2 { font-size: 21px; font-weight: 700; line-height: 1.5; }
.about h2 span { color: var(--accent-d); }
.about p { font-size: 13.5px; border-left: 1px solid #cfd6d0; padding-left: 36px; max-width: 520px; }
@media (max-width: 1180px) {
	.slider-btn.prev { left: 6px; } .slider-btn.next { right: 6px; }
}
@media (max-width: 960px) {
	.slide { flex-basis: calc((100% - 14px) / 2); }
	.genres { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.about .wrap, .footer .wrap { grid-template-columns: 1fr; gap: 18px; }
	.about p { border-left: 0; padding-left: 0; }
}
@media (max-width: 640px) {
	.infobar .wrap { grid-template-columns: 1fr; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 8px; }
	.slide { flex-basis: 86%; scroll-snap-align: center; }
	.slider-btn { display: none; }
	.sec { padding-top: 32px; }
	.sec-more { font-size: 12px; }
	.genre { min-height: 48px; padding: 0 8px 0 10px; gap: 7px; }
	.genre .g-ico { width: 19px; height: 19px; }
	.genre b { font-size: 12.5px; letter-spacing: -.02em; }
	.genre .chev { display: none; }
	.tabs { width: 100%; max-width: 300px; }
}

/* ===== WordPress 用の追加 ===== */
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.center { text-align: center; margin-top: 26px; }
.sec-ttl[data-en]::after { content: attr(data-en); font-family: var(--en); font-size: 13px; color: var(--accent); letter-spacing: .1em; margin-left: 4px; padding-top: 5px; }
.home .footer { margin-top: 0; border-top: 0; }
.footer .logo-en { display: inline-block; }

/* 画像がないときの色面 */
.noimg { position: absolute; inset: 0; display: grid; place-items: center; background: #2b2b2b; color: rgba(255, 255, 255, .32); font-family: var(--en); font-weight: 700; letter-spacing: .14em; font-size: 13px; padding-top: 3px; }
.mini-img .noimg { font-size: 9px; }
.slide .noimg { font-size: 16px; }

/* TOP の検索欄・新着 */
.infobar .search input { background: #fff; height: 38px; box-shadow: 0 1px 4px rgba(0, 0, 0, .05); }
.infobar .search button { top: 4px; }
.infobar.no-ticker .wrap { grid-template-columns: 1fr; }
.ticker-list.is-static { animation: none; }
.slider-btn[hidden] { display: none; }
.rk-index { margin-top: 28px; }

/* メニュー（右から出るパネル） */
.drawer { position: fixed; inset: 0; z-index: 50; }
.drawer[hidden] { display: none; }
.drawer-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: #fff; padding: 72px 22px 30px; overflow-y: auto; box-shadow: -6px 0 24px rgba(0, 0, 0, .15); animation: drawer .22s ease-out; }
@keyframes drawer { from { transform: translateX(30px); opacity: 0; } }
.drawer-close { position: absolute; top: 15px; right: 18px; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid #dcdcdc; background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.drawer-close .ico { width: 18px; height: 18px; }
.drawer-ttl { font-weight: 700; font-size: 14px; margin: 28px 0 2px; }
.drawer-links a { display: block; padding: 10px 2px; border-bottom: 1px solid var(--line); font-size: 14px; }
body.is-drawer { overflow: hidden; }

/* サービスのロゴ（画像あり／名前の文字） */
.svc-logo { font-family: var(--jp); letter-spacing: 0; font-size: 13px; padding: 6px 10px; text-align: center; line-height: 1.4; }
.svc-logo.has-img { background: #fff; padding: 8px; }
.svc-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.pod-name { display: block; font-size: 17px; font-weight: 700; margin-top: 12px; }
.pod .btn { margin-top: 12px; }
.item-comment { font-weight: 700; font-size: 15.5px; line-height: 1.7; margin-bottom: 12px; }
.pc.one { grid-template-columns: 1fr; }

/* アフィリエイトのリンク（プラグインの出力） */
.bg-btn::after { content: ""; width: .45em; height: .45em; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); flex: none; }
.bg-aff { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.bg-aff-imp { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.bg-aff-banner { margin-top: 1.4em; text-align: center; }
.bg-aff-banner img { display: inline-block; height: auto; }

/* 記事の本文（ブロックエディターの出力） */
.entry { font-size: 15.5px; line-height: 1.95; }
.entry a:not([class]) { text-decoration: underline; text-underline-offset: 3px; }
.entry a:not([class]):hover { opacity: .7; }
.entry strong { font-weight: 700; }
.entry mark { background: linear-gradient(transparent 62%, var(--mark) 0); font-weight: 700; color: inherit; }
.entry > h4 { font-size: 16px; font-weight: 700; margin-top: 28px; }
.entry > ul, .entry > ol { margin-top: 1.2em; display: grid; gap: 6px; }
.entry > ul > li { padding-left: 18px; position: relative; }
.entry > ul > li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.entry > ol { counter-reset: li; }
.entry > ol > li { counter-increment: li; padding-left: 28px; position: relative; }
.entry > ol > li::before { content: counter(li) "."; position: absolute; left: 2px; font-family: var(--en); font-weight: 700; }
.entry > figure { margin: 1.6em 0 0; }
.entry > figure img { border-radius: var(--r); height: auto; }
.entry figcaption { font-size: 12px; color: var(--sub); text-align: center; margin-top: 6px; }
.entry > .wp-block-table { overflow-x: auto; }
.entry table:not(.cmp) { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.7; }
.entry table:not(.cmp) th, .entry table:not(.cmp) td { padding: 11px 14px; border: 1px solid #e3e3e3; text-align: left; vertical-align: top; }
.entry table:not(.cmp) th { background: var(--bg2); font-weight: 700; }
.entry > blockquote { margin: 1.4em 0 0; padding: 14px 18px; background: var(--bg2); border-left: 4px solid #cfcfcf; border-radius: 0 6px 6px 0; }
.entry > blockquote p + p { margin-top: .8em; }
.entry > .blk:first-child { padding-top: 34px; }
.entry > .wp-block-buttons { margin-top: 1.4em; }
/* 「詳細」ブロックは、よくある質問の形で出す */
.entry > details { margin-top: 10px; border: 1.5px solid #e3e3e3; border-radius: var(--r); background: #fff; }
.entry > :not(details) + details { margin-top: 1.4em; }
.entry > details summary { list-style: none; cursor: pointer; display: flex; gap: 12px; align-items: center; padding: 14px 18px; font-weight: 700; line-height: 1.6; }
.entry > details summary::-webkit-details-marker { display: none; }
.entry > details summary::before { content: "Q"; font-family: var(--en); font-weight: 700; color: var(--accent); font-size: 20px; line-height: 1; padding-top: 4px; }
.entry > details > :not(summary) { margin: 0; padding: 0 18px 16px 46px; font-size: 14px; color: #444; }

/* ページ送り */
.pager { flex-wrap: wrap; }
.pager .current { background: var(--accent); border-color: var(--accent); color: #fff; }
.pager .dots { border: 0; }

/* 404 */
.e404 { text-align: center; padding: 56px 0 10px; }
.e404-num { font-family: var(--en); font-weight: 700; font-size: 84px; line-height: 1; color: #e3e3e3; }
.e404 h1 { font-size: 24px; font-weight: 700; margin-top: 6px; }
.e404 > p { margin-top: 12px; font-size: 14.5px; }
.e404 .search { max-width: 420px; margin: 22px auto 0; }

@media (max-width: 640px) {
	.entry > details summary { padding: 13px 14px; }
	.entry > details > :not(summary) { padding: 0 14px 14px; }
	.entry table:not(.cmp) { font-size: 13.5px; }
	.entry table:not(.cmp) th, .entry table:not(.cmp) td { padding: 9px 10px; }
	.e404-num { font-size: 64px; }
	.sec-ttl[data-en]::after { display: none; }
}

/* 各社の紹介文 */
.item-desc { font-size: 14.5px; line-height: 1.9; margin-bottom: 14px; }

/* サービスの画像は、枠の中におさめる（縦長のバナーでもはみ出さない） */
.svc-logo.has-img { position: relative; overflow: hidden; }
.svc-logo.has-img img { position: absolute; left: 8px; top: 8px; width: calc(100% - 16px); height: calc(100% - 16px); max-width: none; max-height: none; object-fit: contain; }
.item-side .svc-logo.has-img { aspect-ratio: 4 / 3; }
.svc .svc-logo.has-img { aspect-ratio: 4 / 3; }
.pod .svc-logo.has-img { aspect-ratio: 16 / 9; }

/* ランキングページの頭：右に写真（スマホでは出さない） */
.pagehead.has-photo { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: center; }
.pagehead-photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg2); }
.pagehead-photo img { width: 100%; height: 100%; object-fit: cover; }

/* 運営・ポリシーのページの下に出す、ページどうしの案内 */
.about-nav { margin-top: 56px; border: 1.5px solid #e3e3e3; border-radius: var(--r); padding: 18px 22px 12px; }
.about-nav-ttl { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.about-nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.about-nav a { display: flex; align-items: center; gap: 8px; padding: 10px 2px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.about-nav a .ico { margin-left: auto; color: #bbb; width: 15px; height: 15px; }
.about-nav a[aria-current="page"] { color: var(--sub); }
.about-nav li:nth-last-child(-n+2) a { border-bottom: 0; }

@media (max-width: 960px) {
	.pagehead.has-photo { grid-template-columns: 1fr; }
	.pagehead-photo { display: none; }
}
@media (max-width: 640px) {
	.about-nav ul { grid-template-columns: 1fr; }
	.about-nav li:nth-last-child(2) a { border-bottom: 1px solid var(--line); }
}

/* ===== フォントと文字の大きさ（note.com の記事ページに合わせる。2026-11-27） =====
   フォントは OS に入っているゴシック体（Mac はヒラギノ、Windows はメイリオ）。
   本文は 18px・行間2倍。そのぶん、全体の幅を 1120px から 1200px に広げた。 */
:root { --jp: "Helvetica Neue", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Arial, "Noto Sans JP", Meiryo, sans-serif; --ink: #08131a; --wrap: 1200px; }
body { font-size: 16px; line-height: 1.75; }
.gnav { font-size: 15px; }
.logo-tag { font-size: 12.5px; }
.crumbs { font-size: 13px; }
.meta { font-size: 13.5px; }
.pagehead h1 { font-size: 32px; line-height: 1.5; letter-spacing: .04em; }
.lead { font-size: 17px; line-height: 2; }
.sec-ttl { font-size: 23px; }
.toc-ttl { font-size: 16px; }
.toc a { font-size: 15.5px; }
.btn { font-size: 16px; }
.btn.sm { font-size: 14px; }
/* 本文 */
.entry { font-size: 18px; line-height: 2; }
.entry > p { font-size: 18px; line-height: 2; margin-top: 1.6em; }
.entry > h2 { font-size: 24px; margin-top: 64px; padding: 14px 20px; }
.entry > h3 { font-size: 20px; margin-top: 44px; }
.entry > h4 { font-size: 18px; }
.entry > ul, .entry > ol { font-size: 18px; gap: 10px; margin-top: 1.4em; }
.entry > ul > li::before { top: .85em; }
.entry table:not(.cmp) { font-size: 16px; }
.entry > details summary { font-size: 17px; }
.entry > details > :not(summary) { font-size: 16px; line-height: 1.9; }
.page-template-page-ranking .entry > p, .page-template-page-ranking .entry > ul, .page-template-page-ranking .entry > ol, .page-template-page-ranking .entry > details { max-width: 900px; }
/* 比較表・上位3社・1社ずつの紹介 */
.cmp { font-size: 15px; }
.cmp thead th { font-size: 13.5px; }
.cmp-name { font-size: 15.5px; }
.cmp .price { font-size: 16.5px; }
.cmp-note, .cmp-hint { font-size: 13px; }
.pod-name { font-size: 18px; }
.pod p { font-size: 14.5px; }
.pod-price { font-size: 13px; }
.pod-price b { font-size: 21px; }
.pod-more { font-size: 13.5px; }
.item-head small { font-size: 13.5px; }
.item-head h3 { font-size: 22px; }
.item-desc { font-size: 16px; line-height: 2; }
.pc-box h4 { font-size: 15px; }
.pc-box li { font-size: 15px; line-height: 1.8; }
.spec { font-size: 15px; }
.spec dt { font-size: 14px; }
.spec div { grid-template-columns: 120px 1fr; }
.voice { font-size: 15px; }
.voice-who { font-size: 13px; }
/* カード・一覧・サイドバー・フッター */
.card-body h3 { font-size: 16px; }
.card-body time, .date { font-size: 12px; }
.row h3 { font-size: 19px; }
.row p { font-size: 14px; }
.row-meta { font-size: 12.5px; }
.rk-card .card-img h3 { font-size: 18px; }
.top3 li { font-size: 15.5px; }
.rk-go { font-size: 15px; }
.genre b { font-size: 15.5px; }
.slide-body h3 { font-size: 15.5px; }
.ticker-list a { font-size: 15px; }
.search input { font-size: 14px; }
.widget-ttl { font-size: 17px; }
.mini b { font-size: 14px; }
.side-genres a { font-size: 15px; }
.side-rank h3 { font-size: 16px; }
.to-rank { font-size: 16px; }
.count { font-size: 13.5px; }
.tags a { font-size: 13.5px; }
.author b { font-size: 16.5px; }
.author p { font-size: 14.5px; }
.author small { font-size: 12.5px; }
.about h2 { font-size: 23px; }
.about p { font-size: 15px; max-width: 600px; }
.about-nav a, .drawer-links a { font-size: 15px; }
.footer p, .footer li a, .footer h3 { font-size: 14px; }

@media (max-width: 640px) {
	body { font-size: 15.5px; }
	.pagehead h1 { font-size: 24px; letter-spacing: .02em; }
	.lead { font-size: 16px; line-height: 1.95; }
	.sec-ttl { font-size: 19px; }
	.entry, .entry > p, .entry > ul, .entry > ol { font-size: 16.5px; line-height: 1.95; }
	.entry > h2 { font-size: 20px; margin-top: 48px; padding: 12px 14px; }
	.entry > h3 { font-size: 18px; margin-top: 36px; }
	.entry table:not(.cmp) { font-size: 14.5px; }
	.entry > details summary { font-size: 16px; }
	.entry > details > :not(summary) { font-size: 15px; }
	.cmp { font-size: 14px; }
	.cmp-name { font-size: 13.5px; }
	.item-head h3 { font-size: 19px; }
	.item-desc { font-size: 15.5px; }
	.pc-box li, .spec, .voice { font-size: 14.5px; }
	.spec div { grid-template-columns: 104px 1fr; }
	.card-body h3 { font-size: 14.5px; }
	.row h3 { font-size: 15.5px; }
	.rk-card .card-img h3 { font-size: 17px; }
	.genre b { font-size: 13.5px; }
	.about h2 { font-size: 20px; }
}

/* 公式サイトへのボタンはオレンジ（2026-11-27 利用者の指定。ほかのワンポイントは黒のまま） */
:root { --cta: #ee7a0e; --cta-h: #dc6a00; --cta-s: #b85600; }

/* 記事の本文の部品（2026-11-28 最初の記事「モームリの現在」から） */
/* 「この記事の結論」の枠：黒い線で囲まず、うすいオレンジの面にする */
.entry > .summary { margin-top: 2em; border: 0; border-radius: var(--r); background: #fff5ea; padding: 20px 24px 22px; }
.entry > .summary .summary-ttl { position: static; background: none; padding: 0; margin: 0 0 6px; color: var(--cta-s); font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.entry > .summary > p:not(.summary-ttl) { font-size: 17px; line-height: 1.95; }
.entry > blockquote { font-size: 16.5px; line-height: 1.9; padding: 18px 22px; }
.entry > blockquote .cite { font-size: 13.5px; line-height: 1.7; color: var(--sub); }
.entry > .voices .voice { font-size: 15.5px; line-height: 1.85; padding: 14px 18px 16px; }
.entry > .voices .voice-who { font-weight: 700; margin-bottom: 6px; }
.entry > figure.wp-block-image img { width: 100%; border: 1px solid var(--line); }
@media (max-width: 640px) {
	.entry > .summary { padding: 16px 16px 18px; }
	.entry > .summary > p:not(.summary-ttl) { font-size: 16px; }
	.entry > blockquote { font-size: 15.5px; padding: 14px 16px; }
	.entry > .voices .voice { font-size: 15px; }
}

/* 記事の目次：本文のリンク用の下線は付けない */
.entry .toc a:not([class]) { text-decoration: none; }

/* 記事のサムネイル：アイキャッチ（1200×630・文字入り）が切れないよう、枠を同じ比率にする（2026-11-28） */
.card:not(.rk-card) .card-img, .row-img, .mini-img { aspect-ratio: 1200 / 630; }
.mini { grid-template-columns: 112px 1fr; }
/* TOP のスライド：題名を画像の上に重ねず、画像の下に出す */
.slide { aspect-ratio: auto; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); }
.slide img, .slide .noimg { width: 100%; height: auto; aspect-ratio: 1200 / 630; }
.slide::after { display: none; }
.slide-body { position: relative; z-index: 1; background: #fff; color: var(--ink); padding: 12px 14px 14px; flex: 1; }
.slide-body time { color: var(--sub); opacity: 1; }

/* 見出しのアイコン・英字にオレンジを入れる（2026-11-28 利用者「多少は色を付けて欲しい」） */
.sec-ttl .ico, .widget-ttl .ico, .side-rank h3 .ico, .toc-ttl .ico, .side-genres a .ico:first-child { color: var(--cta); }
.sec-ttl .bar { background: var(--cta); }
.sec-ttl small, .sec-ttl[data-en]::after, .pagehead h1 small { color: var(--cta); }

/* 口コミ：良い内容はオレンジ、都合の悪い内容は青で色を分ける（2026-11-28 利用者の指定） */
.voice.good { background: #fff6ec; border-color: #f6d9b8; border-left: 4px solid var(--cta); }
.voice.good .voice-who { color: var(--cta-s); }
.voice.bad { background: #eef4fa; border-color: #cddbe9; border-left: 4px solid #5b7fa6; }
.voice.bad .voice-who { color: #3f6690; }

/* 記事のカテゴリは、画像の上に重ねず日付の横に出す（アイキャッチの文字にかぶらないように） */
.card-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.meta-cat { font-size: 11.5px; font-weight: 700; line-height: 1; color: var(--cta-s); background: #fff1e2; padding: 4px 9px; border-radius: 999px; }
.row-meta .meta-cat { display: inline-block; }
.slide-body .card-meta time { font-size: 11px; display: flex; align-items: center; gap: 5px; }
