/* =========================================================
   main.css｜サイト全体の共通スタイル
   CSS変数は style.css の :root を参照（style.css に依存）。
   後続バッチで各ページ・カードのスタイルをここに追記していく。
   ========================================================= */

/* =========================================================
   RESET
   ========================================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; }

/* =========================================================
   BASE
   ========================================================= */
body { font-family: var(--font); background: var(--bg); }

/* コンテンツ最大幅（ヘッダー・フッターは全幅、コンテンツは中央寄せ） */
.page-inner { max-width: 1280px; margin: 0 auto; }

/* =========================================================
   HEADER
   ========================================================= */
.header { background: var(--header-bg); }
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 52px;
}
.logo { font-size: 15px; font-weight: 500; color: #f5ecf1; text-decoration: none; }
.logo-accent { color: #C48AAA; }
.nav-pc { display: flex; gap: 20px; align-items: center; }
.nav-pc a { font-size: 13px; color: #C4A8B4; text-decoration: none; }
.nav-cta { font-size: 12px; padding: 6px 14px; border-radius: 6px; background: var(--accent); color: #fff !important; text-decoration: none; }
.hamburger { display: none; flex-direction: column; gap: 4px; cursor: pointer; }
.hamburger span { display: block; width: 20px; height: 1.5px; background: #C4A8B4; border-radius: 1px; }

@media (max-width: 600px) {
  .hamburger { display: flex; }
  .nav-pc { display: none; }
  .header-inner { padding: 0 16px; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--footer-bg); padding: 28px 24px 20px; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.footer-logo { font-size: 14px; font-weight: 500; color: #f5ecf1; text-decoration: none; }
.footer-logo span { color: #C48AAA; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { font-size: 11px; color: #C4A8B4; text-decoration: none; }
.footer-divider { height: 0.5px; background: rgba(255,255,255,0.08); margin-bottom: 14px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-age { font-size: 10px; color: #C4A8B4; border: 0.5px solid rgba(196,168,180,0.4); border-radius: 4px; padding: 3px 8px; }
.footer-copy { font-size: 10px; color: #8A6070; }
/* FANZA Webサービスのクレジット表記。文字色・サイズはコピーライト文に揃え、
   下線はフッター内の既存リンクに合わせて通常時なし・hover時のみ。 */
.footer-powered { margin-left: 10px; }
.footer-copy a { color: #8A6070; text-decoration: none; }
.footer-copy a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .footer { padding: 24px 16px; text-align: center; }
  .footer-top { flex-direction: column; align-items: center; }
  .footer-nav { justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: center; }
  /* 縦並び中央寄せになるため、クレジットは行を分けて左余白を落とす。 */
  .footer-powered { display: block; margin-left: 0; margin-top: 4px; }
}

/* =========================================================
   第3バッチ：テンプレート別スタイル（ページスコープ）
   同名クラスがページ間で衝突するため、各テンプレートのコンテンツを
   .t-top / .t-rank / .t-hub でラップしスコープを分離する。
   モック: top=Phase1_Step5_mockup_top.html / rank=_ranking.html /
   hub=_ranking-hub.html。
   ========================================================= */

/* =========================================================
   .t-rank｜single-ranking.php（ジャンル別・掛け合わせ）
   ========================================================= */
.t-rank .hero { padding: 40px 24px 32px; text-align: center; }
.t-rank .hero h1 { font-size: 22px; font-weight: 500; color: var(--text-main); line-height: 1.5; margin-bottom: 8px; }
.t-rank .hero p { font-size: 13px; color: #7A5E5A; line-height: 1.7; }

.t-rank .breadcrumb { padding: 0 0 8px; display: flex; align-items: center; gap: 6px; font-size: 11px; flex-wrap: wrap; }
.t-rank .breadcrumb a { color: var(--accent); text-decoration: none; }
.t-rank .breadcrumb a:hover { text-decoration: underline; }
.t-rank .bc-sep { color: var(--text-muted); }
.t-rank .bc-current { color: var(--text-muted); }

.t-rank .genre-section { padding: 0 24px 20px; }
.t-rank .genre-bar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.t-rank .genre-chip {
  font-size: 12px; padding: 6px 14px;
  background: #fff; border: 0.5px solid rgba(0,0,0,0.1);
  border-radius: 20px; color: var(--text-main); cursor: pointer;
  transition: background 0.15s; user-select: none; text-decoration: none;
  display: flex; align-items: center; gap: 5px;
}
.t-rank .genre-chip.active { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 500; }
.t-rank .genre-chip.active .chip-num { background: rgba(255,255,255,0.25); color: #fff; }
.t-rank .genre-chip-all { font-weight: 500; }
.t-rank .chip-num {
  font-size: 10px; font-weight: 600;
  background: rgba(122,58,94,0.1); color: var(--accent);
  border-radius: 10px; padding: 1px 5px; line-height: 1.4; flex-shrink: 0;
}
.t-rank .genre-section-bottom { padding-top: 16px; padding-bottom: 28px; border-top: 0.5px solid rgba(0,0,0,0.08); }
.t-rank .all-btn {
  font-size: 12px; color: var(--accent);
  background: none; border: none; cursor: pointer;
  padding: 6px 4px; display: flex; align-items: center; gap: 3px;
  text-decoration: underline; text-underline-offset: 2px;
  text-decoration-color: rgba(122,58,94,0.4);
  font-family: var(--font); user-select: none; white-space: nowrap;
}

.t-rank .section-title {
  font-size: 14px; font-weight: 500; color: var(--text-main);
  display: flex; align-items: center; gap: 8px; padding: 0 24px 14px;
}
.t-rank .section-title::before {
  content: ''; display: block; width: 3px; height: 16px;
  background: var(--accent); border-radius: 2px; flex-shrink: 0;
}

/* 関連するランキング（課題45フォローアップ）。
   見出し-チップ間は genre-bar の margin-top、チップ-下部区切り線間は
   genre-section の padding-bottom で調整。related-combo 専用スコープに限定し、
   他の .section-title / .genre-section / 下部ジャンルバーには非干渉。 */
.t-rank .related-combo .genre-bar { margin-top: 14px; }
.t-rank .related-combo .genre-section { padding-bottom: 36px; }
.t-rank .related-combo .rank-badge {
  font-size: 15px; font-weight: 600; padding: 4px 13px; border-radius: 14px;
  background: var(--accent-light); color: var(--accent);
  border: 0.5px solid rgba(122,58,94,0.28); text-decoration: none; white-space: nowrap;
}
.t-rank .related-combo .rank-badge:hover { background: var(--accent); color: #fff; }

/* 本文セグメント（Step17）。カードグループの間に挟む薄い帯。
   内側余白は上下左右で均一・狭め（先頭/末尾要素のマージンを潰し、帯のpaddingだけで
   間隔を作る＝h2始まりでもp単独でも文字と枠の余白が揃う）。外枠はカードグリッド(24px)に揃える。 */
.t-rank .rank-intro {
  margin: 0 24px 12px; padding: 10px 14px;
  background: rgba(255,255,255,0.45); border-radius: 12px;
  color: var(--text-main); line-height: 1.9; font-size: 15px;
}
.t-rank .rank-intro > :first-child { margin-top: 0; }
.t-rank .rank-intro > :last-child { margin-bottom: 0; }
.t-rank .rank-intro p { margin: 0 0 14px; }
.t-rank .rank-intro h2 { font-size: 17px; font-weight: 500; color: var(--text-main); margin: 14px 0 10px; }

/* rank-card一式は .t-rank（ジャンルページ）と .t-hub（懐かしの動画・Step17）で共有。
   :last-of-type の群間詰め（決定179・v1.0.35）はジャンルページ専用の文脈のため .t-hub には持ち込まない。 */
.t-rank .rank-table, .t-hub .rank-table { padding: 0 24px 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.t-rank .rank-table:last-of-type { padding-bottom: 48px; }
.t-rank .rank-card, .t-hub .rank-card {
  background: var(--card-bg); border: 0.5px solid rgba(0,0,0,0.07);
  border-radius: 10px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.15s; min-width: 0;
}
.t-rank .rank-card:hover, .t-hub .rank-card:hover { border-color: var(--accent); }
.t-rank .card-link, .t-hub .card-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; min-width: 0; }
.t-rank .card-img, .t-hub .card-img { width: 100%; background: #dcc8c4; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.t-rank .card-img svg, .t-hub .card-img svg { width: 100%; height: auto; }
.t-rank .card-img img, .t-hub .card-img img { width: 100%; height: auto; display: block; }
.t-rank .card-body, .t-hub .card-body { padding: 8px 10px 10px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.t-rank .card-head, .t-hub .card-head { display: flex; align-items: center; gap: 6px; }
.t-rank .card-source, .t-hub .card-source { font-size: 14px; font-weight: 500; letter-spacing: 0.05em; padding: 2px 6px; border-radius: 3px; width: fit-content; }
/* 順位バッジ（決定150・平坦化後のグルーピングの手がかり）。r4 は色指定なし＝既定色 */
.t-rank .card-rank, .t-hub .card-rank { font-size: 14px; font-weight: 700; padding: 2px 6px; border-radius: 3px; width: fit-content; }
.t-rank .card-rank.r1, .t-hub .card-rank.r1 { color: var(--rank-gold); }
.t-rank .card-rank.r2, .t-hub .card-rank.r2 { color: var(--rank-silver); }
.t-rank .card-rank.r3, .t-hub .card-rank.r3 { color: var(--rank-bronze); }
.t-rank .card-title, .t-hub .card-title { font-size: 16px; font-weight: 500; color: var(--text-main); line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; flex: 1; }
.t-rank .card-title .hl, .t-hub .card-title .hl { color: var(--hl); font-weight: 600; }
.t-rank .card-meta, .t-hub .card-meta { font-size: 15px; color: var(--text-muted); }
.t-rank .card-score, .t-hub .card-score { font-size: 15px; color: var(--rank-gold); }
/* CTAボタン（fanza//video/ のみ・カード最下部。fanza//video/ に厚みを付け3カード高さを揃える） */
.t-rank .card-cta, .t-hub .card-cta {
  display: block; margin: 0 10px 10px; padding: 7px 10px;
  text-align: center; font-size: 14px; font-weight: 500;
  border-radius: 6px; text-decoration: none; border: 1px solid;
  transition: background 0.15s, color 0.15s;
}
.t-rank .cta-fanza, .t-hub .cta-fanza { color: var(--accent); border-color: var(--accent); }
.t-rank .cta-fanza:hover, .t-hub .cta-fanza:hover { background: var(--accent); color: #fff; }
.t-rank .cta-video, .t-hub .cta-video { color: #185FA5; border-color: #185FA5; }
.t-rank .cta-video:hover, .t-hub .cta-video:hover { background: #185FA5; color: #fff; }

@media (max-width: 900px) {
  .t-rank .rank-table, .t-hub .rank-table { grid-template-columns: repeat(2, 1fr); gap: 6px; }
}
@media (max-width: 600px) {
  .t-rank .hero { padding: 28px 16px 20px; }
  .t-rank .hero h1 { font-size: 18px; }
  .t-rank .genre-section { padding: 0 16px 16px; }
  .t-rank .section-title { padding: 0 16px 12px; }
  .t-rank .rank-intro { margin: 0 16px 10px; padding: 9px 12px; font-size: 14px; }
  .t-rank .rank-intro h2 { font-size: 16px; }
  .t-rank .rank-table, .t-hub .rank-table { padding: 0 16px 12px; grid-template-columns: 1fr; gap: 6px; }
  .t-rank .rank-table:last-of-type { padding-bottom: 32px; }
}

/* ソースバッジ配色（全テンプレ共通・src-*） */
.src-fanza { background: var(--accent-light); color: var(--accent); }
.src-video { background: #E6F1FB; color: #185FA5; }
.src-buy   { background: #E1F5EE; color: #0F6E56; }

/* =========================================================
   .t-top｜front-page.php（トップページ）
   ========================================================= */
.t-top .hero { padding: 40px 24px 32px; text-align: center; }
.t-top .hero h1 { font-size: 22px; font-weight: 500; color: var(--text-main); line-height: 1.5; margin-bottom: 6px; }
.t-top .hero-sub { font-size: 13px; color: #7A5E5A; }

.t-top .divider { height: 0.5px; background: rgba(0,0,0,0.08); margin: 0 24px; }

.t-top .section { padding: 24px 24px 0; }
.t-top .section-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.t-top .sec-title-wrap { display: flex; align-items: baseline; gap: 10px; }
.t-top .sec-title { font-size: 14px; font-weight: 500; color: var(--text-main); display: flex; align-items: center; gap: 8px; }
.t-top .sec-title::before { content: ''; display: block; width: 3px; height: 16px; background: var(--accent); flex-shrink: 0; }
.t-top .sec-btn { font-size: 12px; font-weight: 500; color: var(--accent); border: 0.5px solid var(--accent); border-radius: 5px; padding: 5px 12px; text-decoration: none; background: rgba(122,58,94,0.04); }
.t-top .sec-updated { font-size: 11px; color: var(--text-muted); }

/* --- 総合人気ランキング（Step14 確定モック準拠・決定160/162/166） --- */
.t-top .rank-table { display: flex; flex-direction: column; gap: 14px; }
.t-top .rank-row-h { display: flex; align-items: stretch; gap: 12px; }
/* 4位以降は初期非表示。top-overall.js が display:flex にして展開する。 */
.t-top .extra-row { display: none; }

/* 順位マーク：ハート統一＋艶、数字は背景と反対の濃色を重ねる（決定160）。 */
.t-top .rank-mark { width: 56px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; position: relative; }
.t-top .mark-badge { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; position: relative; box-shadow: 0 3px 10px rgba(122,58,94,0.28); }
.t-top .mark-badge svg { width: 50px; height: 50px; position: absolute; inset: 0; }
.t-top .mark-overlay { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; line-height: 1; text-shadow: 0 1px 1px rgba(255,255,255,0.35); }
.t-top .mark-num { font-size: 20px; font-weight: 800; letter-spacing: 0.02em; }
.t-top .mark-sub { font-size: 7px; letter-spacing: 0.16em; font-weight: 700; margin-top: 1px; }
.t-top .m1 .mark-badge { background: radial-gradient(circle at 34% 28%, #ffe9a8, #d9a441 60%, #a97b1e); }
.t-top .m1 .mark-badge svg path { fill: rgba(255,255,255,0.4); }
.t-top .m1 .mark-num, .t-top .m1 .mark-sub { color: #5e3d0c; }
.t-top .m2 .mark-badge { background: radial-gradient(circle at 34% 28%, #ffd9ea, #d98bb0 60%, #a85a80); }
.t-top .m2 .mark-badge svg path { fill: rgba(255,255,255,0.4); }
.t-top .m2 .mark-num, .t-top .m2 .mark-sub { color: #5e2540; }
.t-top .m3 .mark-badge { background: radial-gradient(circle at 34% 28%, #f3cdb0, #c78a5f 60%, #96603a); }
.t-top .m3 .mark-badge svg path { fill: rgba(255,255,255,0.4); }
.t-top .m3 .mark-num, .t-top .m3 .mark-sub { color: #532f14; }
/* 4〜10位＝既定色ハート（金/ローズ/ブロンズの別格色は付けない）。 */
.t-top .m-default .mark-badge { background: radial-gradient(circle at 34% 28%, #f3e6ee, #caa5ba 60%, #9c7288); }
.t-top .m-default .mark-badge svg path { fill: rgba(255,255,255,0.4); }
.t-top .m-default .mark-num { color: #4d2f3f; font-size: 18px; }
.t-top .mark-badge::after { content: ''; position: absolute; top: 6px; left: 11px; width: 16px; height: 9px; background: rgba(255,255,255,0.55); border-radius: 50%; filter: blur(2px); transform: rotate(-18deg); z-index: 1; }

.t-top .rank-card-h { flex: 1; background: var(--card-bg); border: 0.5px solid rgba(0,0,0,0.07); border-radius: 12px; overflow: hidden; display: flex; flex-direction: row; min-width: 0; position: relative; box-shadow: 0 2px 12px rgba(122,58,94,0.06); }
.t-top .rank-row-h:first-child .rank-card-h { border: 1px solid transparent; background: linear-gradient(#fff,#fff) padding-box, linear-gradient(120deg,#e8c77e,#d98bb0,#e8c77e) border-box; box-shadow: 0 4px 18px rgba(217,139,176,0.20); }

.t-top .card-img-h { width: 500px; flex: 0 1 500px; background: #f0e2df; position: relative; overflow: hidden; }
.t-top .card-img-h img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 画像欠損時のプレースホルダSVGは縦長のため、カード高が伸びすぎないよう上限を掛ける。 */
.t-top .card-img-h svg { width: 100%; height: 100%; max-height: 320px; display: block; }

.t-top .card-body-h { padding: 14px 16px; flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.t-top .card-main-link { position: absolute; inset: 0; z-index: 1; }

.t-top .rank-label-row { display: flex; flex-wrap: wrap; gap: 5px; position: relative; z-index: 2; }
.t-top .rank-badge { font-size: 15px; font-weight: 600; padding: 4px 13px; border-radius: 14px; background: var(--accent-light); color: var(--accent); border: 0.5px solid rgba(122,58,94,0.28); text-decoration: none; white-space: nowrap; }
.t-top .rank-badge:hover { background: var(--accent); color: #fff; }

/* 独自紹介文（_top_overall_{n}_intro）と作品名（FANZA原題）。 */
.t-top .card-lead { font-size: 20px; font-weight: 600; color: var(--text-main); line-height: 1.45; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.t-top .card-orig { font-size: 10px; color: var(--text-muted); line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.t-top .card-score-h { font-size: 16.5px; color: var(--rank-gold); }

/* 関連リンク：★の下（横並び）。★との間に点線区切り。 */
.t-top .card-links-inline { display: flex; flex-wrap: wrap; gap: 6px; position: relative; z-index: 2; margin-top: 8px; padding-top: 10px; border-top: 1px dashed rgba(0,0,0,0.16); }
.t-top .card-link-item { font-size: 11px; font-weight: 500; text-decoration: none; padding: 5px 12px; border-radius: 6px; white-space: nowrap; }
.t-top .cl-fanza { background: var(--accent-light); color: var(--accent); }
.t-top .cl-video { background: #E6F1FB; color: #185FA5; }
.t-top .cl-buy   { background: #E1F5EE; color: #0F6E56; }
.t-top .rank-note { text-align: right; font-size: 10px; color: var(--text-muted); padding: 12px 0 0; }

/* .cta-area/.cta-main は .t-top（トップ）と .t-hub（HUB最下部「今月のランキングを見る」・Step17）で共有。 */
.t-top .cta-area, .t-hub .cta-area { display: flex; justify-content: center; padding: 22px 0 28px; }
/* 基準幅=サイト幅(1280px)の1/3。max-width:100%で親を超えない＝基準幅までは一定、
   狭い画面では押されて縮む（%で常時追従はしない）。文字は縮めず、入り切らない時は折り返す。 */
.t-top .cta-main, .t-hub .cta-main {
  display: block; box-sizing: border-box;
  width: calc(1280px / 3); max-width: 100%;
  font-size: 20px; font-weight: 500; color: #fff; background: var(--accent);
  border-radius: 8px; padding: 13px 40px; text-decoration: none; cursor: pointer;
  text-align: center; white-space: normal;
}

.t-top .fn-section { padding: 24px 24px 0; }
.t-top .fn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: 28px; }
.t-top .fn-col { display: flex; flex-direction: column; }
.t-top .fn-col-head { font-size: 12px; font-weight: 500; color: #fff; padding: 8px 14px; border-radius: 7px 7px 0 0; }
.t-top .fn-col-head.feature { background: var(--accent); }
.t-top .fn-col-head.news { background: #5F5E5A; }
.t-top .fn-col-body { background: #fff; border-radius: 0 0 7px 7px; padding: 4px 14px 4px; border: 0.5px solid rgba(0,0,0,0.07); border-top: none; flex: 1; }
.t-top .article-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 0.5px solid rgba(0,0,0,0.07); text-decoration: none; }
.t-top .article-item:last-of-type { border-bottom: none; }
.t-top .article-num { font-size: 11px; font-weight: 500; color: var(--accent); min-width: 18px; padding-top: 1px; flex-shrink: 0; }
.t-top .article-body { flex: 1; min-width: 0; }
.t-top .article-tags { display: flex; align-items: center; gap: 4px; margin-bottom: 2px; }
.t-top .article-tag { font-size: 9px; color: var(--text-muted); }
.t-top .badge-new { font-size: 8px; font-weight: 500; color: #fff; background: #D85A30; border-radius: 3px; padding: 1px 5px; letter-spacing: 0.03em; }
.t-top .badge-hot { font-size: 8px; font-weight: 500; color: #B8860B; background: #FFF3CD; border-radius: 3px; padding: 1px 5px; letter-spacing: 0.03em; }
.t-top .article-title { font-size: 18px; font-weight: 500; color: var(--text-main); line-height: 1.45; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
/* 新着ニュースの日付はタグ行（.article-tags）の先頭に置き、
   「2026-07-28 ニュース NEW」を1行に並べる（front-page.php の出力順）。
   独立行にしないためインライン要素として扱い、折り返さないようにする。 */
.t-top .article-date { font-size: 10px; color: var(--text-main); white-space: nowrap; }
.t-top .more-link { display: block; text-align: center; font-size: 12px; color: var(--accent); text-decoration: none; padding: 10px 0 6px; }

.t-top .subsites-head { padding: 20px 24px 8px; }
.t-top .subsites { padding: 0 24px 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.t-top .subsite-card { background: var(--card-bg); border-radius: 10px; border: 0.5px solid rgba(0,0,0,0.07); padding: 18px 20px; text-decoration: none; display: flex; align-items: center; gap: 14px; }
.t-top .subsite-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; overflow: hidden; }
.t-top .subsite-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.t-top .subsite-icon.fanza { background: var(--accent-light); color: var(--accent); }
.t-top .subsite-icon.video { background: #E6F1FB; color: #185FA5; }
.t-top .subsite-body { flex: 1; min-width: 0; }
.t-top .subsite-name { font-size: 13px; font-weight: 500; color: var(--text-main); margin-bottom: 2px; }
.t-top .subsite-desc { font-size: 11px; color: var(--text-muted); line-height: 1.45; }
.t-top .subsite-arrow { font-size: 14px; color: var(--text-muted); }

@media (max-width: 640px) {
  .t-top .card-lead { font-size: 17px; -webkit-line-clamp: 4; }
  .t-top .rank-card-h { flex-direction: column; }
  .t-top .card-img-h { width: 100%; flex-basis: auto; }
  .t-top .card-img-h img { height: auto; }
  .t-top .card-img-h svg { height: auto; }
  .t-top .rank-row-h { flex-direction: column; align-items: stretch; gap: 8px; }
  .t-top .rank-mark { width: 100%; }
}

@media (max-width: 600px) {
  .t-top .hero { padding: 28px 16px 22px; }
  .t-top .hero h1 { font-size: 18px; }
  .t-top .fn-grid { grid-template-columns: 1fr; }
  .t-top .fn-section { padding: 24px 16px 0; }
  .t-top .subsites { grid-template-columns: 1fr; padding: 0 16px 28px; }
  .t-top .cta-main, .t-hub .cta-main { font-size: 17px; }
}

/* =========================================================
   .t-hub｜page-ranking.php（ランキングHUB）
   ========================================================= */
.t-hub .hero { padding: 36px 24px 28px; text-align: center; }
.t-hub .hero h1 { font-size: 22px; font-weight: 500; color: var(--text-main); line-height: 1.5; margin-bottom: 6px; }
.t-hub .hero-sub { font-size: 13px; color: #7A5E5A; }

.t-hub .divider { height: 0.5px; background: rgba(0,0,0,0.08); margin: 0 24px; }

.t-hub .breadcrumb { padding: 12px 20px 0; display: flex; align-items: center; gap: 6px; font-size: 11px; flex-wrap: wrap; }
.t-hub .breadcrumb a { color: var(--accent); text-decoration: none; }
.t-hub .breadcrumb a:hover { text-decoration: underline; }
.t-hub .bc-sep { color: var(--text-muted); }
.t-hub .bc-current { color: var(--text-muted); }

.t-hub .columns { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 24px 20px 28px; }
.t-hub .col { min-width: 0; }
.t-hub .col:first-child { padding-right: 10px; border-right: 0.5px solid rgba(0,0,0,0.08); }
.t-hub .col:last-child { padding-left: 10px; }
.t-hub .col-head { margin-bottom: 12px; }
.t-hub .col-title { font-size: 19px; font-weight: 500; color: var(--text-main); }
.t-hub .list { display: flex; flex-direction: column; gap: 5px; }

.t-hub .genre-card { background: var(--card-bg); border-radius: 8px; border: 0.5px solid var(--border); padding: 9px 12px; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.t-hub .genre-card:hover { border-color: var(--accent); }
.t-hub .num { font-size: 11px; font-weight: 500; color: #fff; background: var(--accent); border-radius: 4px; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; line-height: 1; }
.t-hub .num.top3 { background: var(--footer-bg); }
.t-hub .gname { font-size: 18px; font-weight: 500; color: var(--text-main); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-hub .arr { font-size: 12px; color: var(--accent); flex-shrink: 0; }

.t-hub .combo-card { background: var(--card-bg); border-radius: 8px; border: 0.5px solid var(--border); padding: 9px 12px; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.t-hub .combo-card:hover { border-color: var(--accent); }
/* 課題42: genre-card(44px)とcombo-card(45px)の高さ差を共通min-heightで解消（box-sizing:border-box前提） */
.t-hub .genre-card, .t-hub .combo-card { min-height: 45px; }
.t-hub .ctags { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; flex-wrap: wrap; }
.t-hub .tag { font-size: 16px; font-weight: 500; color: var(--accent); background: var(--accent-light); border-radius: 4px; padding: 2px 6px; white-space: nowrap; }
.t-hub .cx { font-size: 11px; color: var(--text-muted); flex-shrink: 0; }

.t-hub .all-link { display: flex; align-items: center; justify-content: center; padding: 9px 12px; border-radius: 8px; border: 0.5px dashed rgba(122,58,94,0.4); background: rgba(122,58,94,0.03); text-decoration: none; margin-top: 5px; }
.t-hub .all-link span { font-size: 12px; font-weight: 500; color: var(--accent); }

.t-hub .articles-section { padding: 24px 20px 28px; }
.t-hub .sec-hd { margin-bottom: 12px; }
.t-hub .sec-title { font-size: 14px; font-weight: 500; color: var(--text-main); display: flex; align-items: center; gap: 8px; }
.t-hub .sec-title::before { content: ''; display: block; width: 3px; height: 16px; background: var(--accent); flex-shrink: 0; }
/* 懐かしの動画の中身（rank-table/rank-card）は上部の .t-rank 共有ブロックでスコープ済み（Step17）。 */

@media (max-width: 600px) {
  .t-hub .hero { padding: 28px 16px 22px; }
  .t-hub .hero h1 { font-size: 18px; }
  .t-hub .breadcrumb { padding: 10px 16px 0; }
  .t-hub .columns { grid-template-columns: 1fr; padding: 20px 16px 24px; }
  .t-hub .col:first-child { padding-right: 0; border-right: none; padding-bottom: 20px; border-bottom: 0.5px solid rgba(0,0,0,0.08); }
  .t-hub .col:last-child { padding-left: 0; padding-top: 20px; }
  .t-hub .articles-section { padding: 20px 16px 24px; }
}

/* .t-hub 再利用｜page-genres.php / page-combos.php（全件グリッド） */
.t-hub .all-section { padding: 24px 20px 36px; }
.t-hub .all-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.t-hub .all-grid .genre-card,
.t-hub .all-grid .combo-card { margin: 0; }

@media (max-width: 600px) {
  .t-hub .all-section { padding: 20px 16px 28px; }
  .t-hub .all-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   第4バッチ：ニュース・特集・固定ページ（ページスコープ）
   モック: news=Phase1_Step9_mockup_news.html /
           feature=Phase1_Step5_mockup_feature.html。
   privacy/contact は video/側の policy-* スタイルを流用。
   ========================================================= */

/* =========================================================
   .t-news｜page-news.php（一覧）＋ single.php（記事）
   ========================================================= */
.t-news .hero { padding: 36px 24px 24px; text-align: center; }
.t-news .hero h1 { font-size: 22px; font-weight: 500; color: var(--text-main); line-height: 1.5; margin-bottom: 6px; }
.t-news .hero-sub { font-size: 13px; color: #7A5E5A; }

.t-news .breadcrumb { padding: 0 24px 16px; display: flex; align-items: center; gap: 6px; font-size: 11px; flex-wrap: wrap; }
.t-news .breadcrumb a { color: var(--accent); text-decoration: none; }
.t-news .breadcrumb a:hover { text-decoration: underline; }
.t-news .bc-sep { color: var(--text-muted); }
.t-news .bc-current { color: var(--text-muted); }

.t-news .divider { height: 0.5px; background: rgba(0,0,0,0.08); margin: 0 24px; }

/* 種別フィルタチップ */
.t-news .filter-section { padding: 20px 24px 0; }
.t-news .filter-bar { display: flex; flex-wrap: wrap; gap: 6px; }
.t-news .filter-chip {
  font-size: 12px; padding: 6px 14px; background: #fff;
  border: 0.5px solid rgba(0,0,0,0.1); border-radius: 20px;
  color: var(--text-main); cursor: pointer; user-select: none;
  display: flex; align-items: center; gap: 5px; text-decoration: none;
}
.t-news .filter-chip.active { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 500; }
.t-news .dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.t-news .dot-newrelease { background: var(--rank-gold); }
.t-news .dot-sale { background: #D85A30; }
.t-news .filter-chip.active .dot { background: #fff; }

/* ニュース一覧 */
.t-news .news-list-section { padding: 20px 24px 40px; }
.t-news .news-list { display: flex; flex-direction: column; gap: 8px; }
.t-news .news-item {
  background: var(--card-bg); border: 0.5px solid rgba(0,0,0,0.07);
  border-radius: 10px; padding: 14px 16px; text-decoration: none;
  display: flex; flex-direction: column; gap: 6px;
}
.t-news .news-item:hover { border-color: var(--accent); }
.t-news .news-item-top { display: flex; align-items: center; gap: 8px; }
.t-news .news-date { font-size: 16px; color: var(--text-muted); margin-left: auto; }
.t-news .news-item-title { font-size: 19px; font-weight: 500; color: var(--text-main); line-height: 1.5; }
.t-news .news-item-excerpt { font-size: 17px; color: var(--text-sub); line-height: 1.6; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.t-news .news-empty { font-size: 13px; color: var(--text-sub); padding: 24px 4px; text-align: center; }

/* 種別バッジ（一覧・記事共通） */
.type-badge { font-size: 10px; font-weight: 500; border-radius: 4px; padding: 2px 8px; white-space: nowrap; }
.type-newrelease { background: #FFF3CD; color: var(--rank-gold); }
.type-sale { background: #FCE4E1; color: #D85A30; }

/* ページネーション（paginate_links の .page-numbers を整形） */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 8px 0 0; flex-wrap: wrap; }
.pagination .page-numbers {
  min-width: 30px; height: 30px; padding: 0 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; border-radius: 6px; color: var(--text-sub); text-decoration: none;
  border: 0.5px solid rgba(0,0,0,0.1); background: #fff;
}
.pagination .page-numbers.current { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 500; }
.pagination .page-numbers.dots { border: none; background: none; }
.pagination .page-numbers.prev,
.pagination .page-numbers.next { color: var(--accent); border-color: rgba(122,58,94,0.4); }

/* ニュース記事：HERO */
.t-news .article-hero { padding: 24px 24px 20px; }
.t-news .article-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.t-news .article-h1 { font-size: 25px; font-weight: 500; color: var(--text-main); line-height: 1.6; margin-bottom: 8px; }
.t-news .article-meta { font-size: 11px; color: var(--text-muted); }

/* ニュース記事：本文 */
.t-news .article-body-section { padding: 20px 24px 16px; }
.t-news .article-body-card {
  background: var(--card-bg); border-radius: 10px; border: 0.5px solid var(--border);
  padding: 22px 24px; font-size: 14px; color: var(--text-sub); line-height: 2;
}
.t-news .article-body-card p { margin-bottom: 14px; }
.t-news .article-body-card p:last-child { margin-bottom: 0; }
.t-news .article-body-card a { color: var(--accent); text-decoration: underline; }
.t-news .article-body-card h2 { font-size: 16px; color: var(--text-main); margin: 20px 0 10px; }
.t-news .article-body-card h3 { font-size: 14px; color: var(--text-main); margin: 16px 0 8px; }
.t-news .article-body-card ul,
.t-news .article-body-card ol { margin: 0 0 14px 1.4em; }

/* 前後ナビ・戻る（ニュース／特集共通の構造） */
.t-news .article-nav { padding: 8px 24px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
/* 前後ナビはモックどおりアクセント背景（本文リンクと差別化）。
   .t-feature 側は別定義のため影響しない。 */
.t-news .nav-card { background: var(--accent-light); border-radius: 10px; border: 0.5px solid rgba(122,58,94,0.25); text-decoration: none; padding: 14px 16px; display: flex; align-items: center; gap: 10px; }
.t-news .nav-card:hover { border-color: var(--accent); }
.t-news .nav-card.next { flex-direction: row-reverse; text-align: right; }
.t-news .nav-arr { font-size: 18px; color: var(--accent); flex-shrink: 0; }
.t-news .nav-body { flex: 1; min-width: 0; }
.t-news .nav-label { font-size: 15px; color: var(--text-muted); margin-bottom: 3px; }
.t-news .nav-title { font-size: 17px; font-weight: 500; color: var(--text-main); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.45; }
.t-news .back-link { display: flex; justify-content: center; padding: 0 24px 32px; }
.t-news .back-btn { font-size: 12px; font-weight: 500; color: var(--accent); border: 0.5px solid var(--accent); border-radius: 6px; padding: 8px 24px; text-decoration: none; background: rgba(122,58,94,0.04); }

/* ---------------------------------------------------------
   ニュース記事：パイプライン生成記事の本文（Step18）
   sale記事は post_content にセクション構造を持つHTMLが入り、白カードで
   包まず背景へ直置きする（single.php が _news_type で分岐）。
   レイアウトの正は Step18_ニュース_sale_モック。
   --------------------------------------------------------- */
.t-news .news-sale .section-wrap { padding: 22px 24px 0; }
.t-news .news-sale .section-wrap:last-child { padding-bottom: 8px; }

/* セクション見出し */
.t-news .news-sale .section-title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--text-main); margin-bottom: 14px; }
.t-news .news-sale .section-title .bar { width: 4px; height: 16px; background: var(--sale-red); border-radius: 2px; }

/* キャンペーン情報カード */
.t-news .news-sale .campaign-card {
  background: linear-gradient(180deg,#fff 0%,var(--sale-bg) 100%);
  border: 1px solid rgba(192,57,43,0.25); border-radius: 14px; padding: 20px 22px; text-align: center;
}
/* キャンペーン名が主見出し（割引率の大数字ブロックは廃止し、割引はチップで見せる）。 */
.t-news .news-sale .campaign-name { font-size: 22px; font-weight: 700; color: var(--text-main); line-height: 1.45; }
.t-news .news-sale .campaign-sub { font-size: 13px; color: var(--text-sub); margin-top: 6px; line-height: 1.7; }
.t-news .news-sale .campaign-meta-row { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.t-news .news-sale .cm-chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 0.5px solid var(--border); border-radius: 8px; padding: 8px 16px; font-size: 14px; color: var(--text-sub); }
.t-news .news-sale .cm-chip b { color: var(--sale-red); font-weight: 700; }
.t-news .news-sale .cm-chip .cm-ic { color: var(--sale-red); }
.t-news .news-sale .deadline-chip { border-color: rgba(192,57,43,0.35); background: #fff; }

/* CTA（キャンペーンページへのアフィリンク）。
   文字サイズはトップの「人気ランキングをもっと見る」（.t-top .cta-main）と同じ 20px／
   600px以下 17px に揃える。 */
.t-news .news-sale .cta-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px;
  background: var(--sale-red); color: #fff; font-size: 20px; font-weight: 700; text-decoration: none;
  border-radius: 10px; padding: 13px 34px; box-shadow: 0 4px 12px rgba(192,57,43,0.25);
  min-width: 340px; max-width: 100%;
}
.t-news .news-sale .cta-btn-wide {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px;
  background: var(--sale-red); color: #fff; font-size: 20px; font-weight: 700; text-decoration: none;
  border-radius: 10px; padding: 15px; box-shadow: 0 4px 12px rgba(192,57,43,0.25);
}
.t-news .news-sale .cta-btn:hover,
.t-news .news-sale .cta-btn-wide:hover { background: #a93226; }
.t-news .news-sale .cta-btn .arr,
.t-news .news-sale .cta-btn-wide .arr { font-size: 16px; }

/* 独自テキスト（まとめ） */
.t-news .news-sale .indep-block {
  background: #fff; border: 0.5px solid var(--border); border-left: 3px solid var(--accent);
  border-radius: 10px; padding: 18px 22px; font-size: 14px; color: var(--text-sub); line-height: 2;
}

/* 対象作品グリッド（2列・600px以下は1列＝ジャンルページの rank-table と同じ挙動）。
   画像はジャンルページの rank-card（.card-img）と同じ見せ方＝縦横比のまま全体表示で切らない。 */
.t-news .news-sale .sale-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.t-news .news-sale .sale-card { background: #fff; border: 0.5px solid var(--border); border-radius: 10px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; }
.t-news .news-sale .sale-card:hover { border-color: var(--sale-red); }
.t-news .news-sale .sale-thumb { width: 100%; background: #dcc8c4; display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; }
.t-news .news-sale .sale-thumb img { width: 100%; height: auto; display: block; }
.t-news .news-sale .off-tag { position: absolute; top: 8px; left: 8px; z-index: 1; background: var(--sale-red); color: #fff; font-size: 13px; font-weight: 700; border-radius: 5px; padding: 4px 10px; }
.t-news .news-sale .sale-body { display: block; padding: 10px 12px 12px; }
/* カード内の文字サイズはジャンルページの rank-card に合わせる
   （.card-title=16px／.card-meta=15px）。2列グリッドのため題名は2行クランプのまま。
   価格はジャンルページに対応要素が無いため、拡大後のバランスで一段上げる。 */
.t-news .news-sale .sale-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 16px; font-weight: 500; color: var(--text-main); line-height: 1.45; margin-bottom: 6px; }
.t-news .news-sale .sale-actress { display: block; font-size: 15px; color: var(--accent); margin-bottom: 7px; }
.t-news .news-sale .price-row { display: flex; align-items: baseline; gap: 7px; }
.t-news .news-sale .price-now { font-size: 16px; font-weight: 700; color: var(--sale-red); }
.t-news .news-sale .price-was { font-size: 13px; color: var(--text-muted); text-decoration: line-through; }

/* 内部リンク（メインサイト内への回遊）。アイコンはTabler Icons（決定103）。 */
.t-news .news-sale .internal-links { display: flex; flex-direction: column; gap: 8px; }
.t-news .news-sale .ilink { background: #fff; border: 0.5px solid var(--border); border-radius: 9px; padding: 12px 16px; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.t-news .news-sale .ilink:hover { border-color: var(--accent); }
.t-news .news-sale .ilink .ic { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex-shrink: 0; background: var(--accent-light); border-radius: 8px; color: var(--accent); font-size: 19px; }
.t-news .news-sale .ilink .il-body { flex: 1; min-width: 0; }
.t-news .news-sale .ilink .il-title { display: block; font-size: 13px; font-weight: 500; color: var(--text-main); }
.t-news .news-sale .ilink .il-sub { display: block; font-size: 11px; color: var(--text-muted); line-height: 1.5; }
.t-news .news-sale .ilink .il-arr { color: var(--accent); font-size: 15px; }

@media (max-width: 600px) {
  .t-news .hero { padding: 28px 16px 18px; }
  .t-news .hero h1 { font-size: 18px; }
  .t-news .breadcrumb { padding: 0 16px 14px; }
  .t-news .divider { margin: 0 16px; }
  .t-news .filter-section { padding: 16px 16px 0; }
  .t-news .news-list-section { padding: 16px 16px 32px; }
  .t-news .article-hero { padding: 16px 16px 16px; }
  .t-news .article-h1 { font-size: 22px; }
  .t-news .article-body-section { padding: 20px 16px 16px; }
  .t-news .article-body-card { padding: 16px; font-size: 13px; }
  .t-news .article-nav { padding: 8px 16px 16px; grid-template-columns: 1fr; }
  .t-news .back-link { padding: 0 16px 24px; }
  .t-news .news-sale .section-wrap { padding: 18px 16px 0; }
  .t-news .news-sale .campaign-card { padding: 18px 16px; }
  .t-news .news-sale .campaign-name { font-size: 19px; }
  .t-news .news-sale .cta-btn,
  .t-news .news-sale .cta-btn-wide { font-size: 17px; }
  .t-news .news-sale .cta-btn { min-width: 0; width: 100%; padding: 13px 20px; }
  /* ジャンルページの rank-table と同じく600px以下は1列。 */
  .t-news .news-sale .sale-grid { grid-template-columns: 1fr; gap: 6px; }
  .t-news .news-sale .indep-block { padding: 16px; font-size: 13px; }
}

/* =========================================================
   .t-feature｜page-feature.php（HUB）＋ single-feature.php（記事）
   ========================================================= */
.t-feature .breadcrumb { padding: 14px 24px 0; display: flex; align-items: center; gap: 6px; font-size: 11px; flex-wrap: wrap; }
.t-feature .breadcrumb a { color: var(--accent); text-decoration: none; }
.t-feature .breadcrumb a:hover { text-decoration: underline; }
.t-feature .bc-sep { color: var(--text-muted); }
.t-feature .bc-current { color: var(--text-muted); }

.t-feature .divider { height: 0.5px; background: rgba(0,0,0,0.08); margin: 0 24px; }

/* HUB hero（一覧側） */
.t-feature .hero { padding: 36px 24px 24px; text-align: center; }
.t-feature .hero h1 { font-size: 22px; font-weight: 500; color: var(--text-main); line-height: 1.5; margin-bottom: 6px; }
.t-feature .hero-sub { font-size: 13px; color: #7A5E5A; }

/* 記事 hero（hero-article 修飾クラスで左寄せ） */
.t-feature .hero-article { text-align: left; padding: 24px 24px 20px; }
.t-feature .hero-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 500; letter-spacing: 0.06em; color: var(--accent); border: 0.5px solid var(--accent); border-radius: 20px; padding: 3px 12px; margin-bottom: 14px; }
.t-feature .hero h1 { margin-bottom: 6px; }
.t-feature .hero-article h1 { font-size: 20px; line-height: 1.55; margin-bottom: 10px; }
.t-feature .hero-meta { display: flex; align-items: center; gap: 14px; font-size: 11px; color: var(--text-muted); flex-wrap: wrap; }
.t-feature .hero-genre-chip { font-size: 10px; font-weight: 500; background: var(--accent-light); color: var(--accent); border-radius: 4px; padding: 2px 8px; }

/* HUB カード（news-item 流用） */
.t-feature .news-list-section { padding: 20px 24px 40px; }
.t-feature .news-list { display: flex; flex-direction: column; gap: 8px; }
.t-feature .news-item {
  background: var(--card-bg); border: 0.5px solid rgba(0,0,0,0.07);
  border-radius: 10px; padding: 14px 16px; text-decoration: none;
  display: flex; flex-direction: column; gap: 6px;
}
.t-feature .news-item:hover { border-color: var(--accent); }
.t-feature .news-item-top { display: flex; align-items: center; gap: 8px; }
.t-feature .feat-genre { font-size: 10px; font-weight: 500; background: var(--accent-light); color: var(--accent); border-radius: 4px; padding: 2px 8px; white-space: nowrap; }
.t-feature .news-date { font-size: 16px; color: var(--text-muted); margin-left: auto; }
.t-feature .news-item-title { font-size: 19px; font-weight: 500; color: var(--text-main); line-height: 1.5; }
.t-feature .news-item-excerpt { font-size: 17px; color: var(--text-sub); line-height: 1.6; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.t-feature .news-empty { font-size: 13px; color: var(--text-sub); padding: 24px 4px; text-align: center; }

/* INTRO */
.t-feature .intro { padding: 24px 24px 20px; }
.t-feature .intro-body { background: var(--card-bg); border-radius: 10px; border: 0.5px solid var(--border); padding: 22px 24px; }
.t-feature .intro-lead { font-size: 21px; font-weight: 500; color: var(--text-main); line-height: 1.8; margin-bottom: 16px; }
.t-feature .intro-text { font-size: 18px; color: var(--text-sub); line-height: 2; }
.t-feature .intro-text p { margin-bottom: 12px; }
.t-feature .intro-text p:last-child { margin-bottom: 0; }
.t-feature .intro-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.t-feature .intro-tag { font-size: 10px; color: var(--text-muted); border: 0.5px solid rgba(0,0,0,0.12); border-radius: 4px; padding: 2px 8px; background: rgba(0,0,0,0.02); }

/* SECTION 見出し */
.t-feature .feature-section { padding: 24px 24px 0; }
.t-feature .sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.t-feature .sec-title { font-size: 19px; font-weight: 500; color: var(--text-main); display: flex; align-items: center; gap: 8px; }
.t-feature .sec-title::before { content: ''; display: block; width: 3px; height: 16px; background: var(--accent); flex-shrink: 0; }
.t-feature .sec-badge { font-size: 10px; font-weight: 500; padding: 2px 8px; border-radius: 4px; margin-left: 8px; }
.t-feature .sb-fanza { background: var(--accent-light); color: var(--accent); }
.t-feature .sb-video { background: #E6F1FB; color: #185FA5; }
.t-feature .sb-buy { background: #E1F5EE; color: #0F6E56; }

/* fanza/ ・ video/ カード（横並び） */
.t-feature .article-list { display: flex; flex-direction: column; gap: 8px; }
.t-feature .article-card { background: var(--card-bg); border: 0.5px solid rgba(0,0,0,0.07); border-radius: 10px; overflow: hidden; text-decoration: none; display: flex; align-items: stretch; transition: border-color 0.15s; flex-wrap: wrap; }
.t-feature .article-card:hover { border-color: var(--accent); }
.t-feature .article-img { flex: 0 0 auto; max-width: 100%; background: #dcc8c4; display: flex; align-items: center; justify-content: center; }
.t-feature .article-img svg { width: 100%; height: auto; }
.t-feature .article-img img { max-width: 100%; width: auto; height: auto; display: block; }
.t-feature .article-body { flex: 1 1 auto; min-width: 200px; padding: 11px 14px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.t-feature .article-source { font-size: 14px; font-weight: 500; letter-spacing: 0.05em; padding: 1px 6px; border-radius: 3px; width: fit-content; }
.t-feature .article-title { font-size: 18px; font-weight: 500; color: var(--text-main); line-height: 1.45; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.t-feature .article-meta { font-size: 16px; color: var(--text-muted); }

/* FANZA グリッド */
.t-feature .fanza-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.t-feature .fanza-card { background: var(--card-bg); border: 0.5px solid rgba(0,0,0,0.07); border-radius: 10px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: border-color 0.15s; }
.t-feature .fanza-card:hover { border-color: var(--accent); }
.t-feature .fanza-img { width: 100%; aspect-ratio: 3/4; background: #dcc8c4; display: flex; align-items: center; justify-content: center; }
.t-feature .fanza-img svg { width: 100%; height: 100%; }
.t-feature .fanza-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.t-feature .fanza-body { padding: 8px 10px 10px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.t-feature .fanza-source { font-size: 9px; font-weight: 500; letter-spacing: 0.05em; padding: 2px 6px; border-radius: 3px; width: fit-content; background: #E1F5EE; color: #0F6E56; }
.t-feature .fanza-title { font-size: 11px; font-weight: 500; color: var(--text-main); line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; flex: 1; }
.t-feature .fanza-meta { font-size: 10px; color: var(--text-muted); }
.t-feature .fanza-score { font-size: 10px; color: var(--rank-gold); }

/* 前後ナビ・戻る */
.t-feature .article-nav { padding: 8px 24px 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.t-feature .nav-card { background: var(--card-bg); border-radius: 10px; border: 0.5px solid var(--border); text-decoration: none; padding: 14px 16px; display: flex; align-items: center; gap: 10px; transition: border-color 0.15s; }
.t-feature .nav-card:hover { border-color: var(--accent); }
.t-feature .nav-card.next { flex-direction: row-reverse; text-align: right; }
.t-feature .nav-arr { font-size: 18px; color: var(--accent); flex-shrink: 0; }
.t-feature .nav-body { flex: 1; min-width: 0; }
.t-feature .nav-label { font-size: 15px; color: var(--text-muted); margin-bottom: 3px; }
.t-feature .nav-title { font-size: 17px; font-weight: 500; color: var(--text-main); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.45; }
.t-feature .back-link { display: flex; justify-content: center; padding: 0 24px 32px; }
.t-feature .back-btn { font-size: 12px; font-weight: 500; color: var(--accent); border: 0.5px solid var(--accent); border-radius: 6px; padding: 8px 24px; text-decoration: none; background: rgba(122,58,94,0.04); }

@media (max-width: 900px) {
  .t-feature .fanza-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
}
@media (max-width: 600px) {
  .t-feature .hero,
  .t-feature .hero-article { padding: 16px 16px 16px; }
  .t-feature .hero-article h1 { font-size: 17px; }
  .t-feature .breadcrumb { padding: 12px 16px 0; }
  .t-feature .divider { margin: 0 16px; }
  .t-feature .news-list-section { padding: 16px 16px 32px; }
  .t-feature .intro { padding: 16px 16px; }
  .t-feature .intro-body { padding: 16px; }
  .t-feature .intro-lead { font-size: 19px; }
  .t-feature .intro-text { font-size: 17px; }
  .t-feature .feature-section { padding: 20px 16px 0; }
  .t-feature .article-body { padding: 10px 10px; }
  .t-feature .article-title { font-size: 17px; }
  .t-feature .fanza-grid { grid-template-columns: 1fr; gap: 6px; }
  .t-feature .article-nav { padding: 8px 16px 24px; grid-template-columns: 1fr; }
  .t-feature .back-link { padding: 0 16px 24px; }
}

/* =========================================================
   .t-page｜page-privacy-policy.php / page-contact.php
   video/方式に統一。本文HTML側が <h1 class="page-title"> や
   policy-* / contact-intro / hr.divider を持つため、見た目は
   .page-body-card 配下にスコープして定義する（video/ style.css 869〜987
   からトークン置換: --lav-accent→--accent / --lav-light→--accent-light /
   --lav-border→--border / --lav-dark→--text-main / --lav-cardborder→
   rgba(0,0,0,0.08)）。
   ========================================================= */
.t-page .breadcrumb { padding: 14px 24px 0; display: flex; align-items: center; gap: 6px; font-size: 11px; flex-wrap: wrap; }
.t-page .breadcrumb a { color: var(--accent); text-decoration: none; }
.t-page .breadcrumb a:hover { text-decoration: underline; }
.t-page .bc-sep { color: var(--text-muted); }
.t-page .bc-current { color: var(--text-muted); }

.t-page .page-body-section { padding: 24px 24px 40px; }
.t-page .page-body-card { background: var(--card-bg); border-radius: 10px; border: 0.5px solid var(--border); padding: 28px 30px; }

/* ページタイトル（本文HTML内 <h1 class="page-title">） */
.t-page .page-body-card .page-title { font-size: 20px; font-weight: 600; color: var(--text-main); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--border); display: flex; align-items: center; gap: 8px; }
.t-page .page-body-card .page-title i { color: var(--accent); font-size: 22px; }

/* セクション */
.t-page .page-body-card .policy-section { margin-bottom: 28px; }
.t-page .page-body-card .policy-section-title { font-size: 13px; font-weight: 600; color: var(--text-main); background: var(--accent-light); border-left: 3px solid var(--accent); padding: 6px 10px; border-radius: 0 4px 4px 0; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.t-page .page-body-card .policy-section-title .num { color: var(--accent); font-size: 10px; }
.t-page .page-body-card .policy-body { font-size: 13px; color: var(--text-sub); line-height: 1.85; }
.t-page .page-body-card .policy-body p { margin-bottom: 10px; }
.t-page .page-body-card .policy-body p:last-child { margin-bottom: 0; }
.t-page .page-body-card .policy-body a { color: var(--accent); }
.t-page .page-body-card .policy-body ul { padding-left: 20px; margin-bottom: 10px; }
.t-page .page-body-card .policy-body ul li { margin-bottom: 5px; }
.t-page .page-body-card .policy-date { text-align: right; font-size: 11px; color: var(--text-muted); margin-top: 24px; }

/* 目次 */
.t-page .page-body-card .policy-toc { background: var(--accent-light); border: 0.5px solid var(--border); border-radius: 8px; padding: 14px 16px; margin-bottom: 24px; }
.t-page .page-body-card .policy-toc-title { font-size: 12px; font-weight: 600; color: var(--text-main); margin-bottom: 8px; }
.t-page .page-body-card .policy-toc ol { padding-left: 18px; }
.t-page .page-body-card .policy-toc ol li { font-size: 12px; line-height: 2; }
.t-page .page-body-card .policy-toc ol li a { color: var(--accent); text-decoration: none; }
.t-page .page-body-card .policy-toc ol li a:hover { text-decoration: underline; }

/* 区切り線（本文カード内の hr.divider のみ・テーマ他箇所の div.divider に非干渉） */
.t-page .page-body-card hr.divider { border: none; border-top: 0.5px solid rgba(0,0,0,0.08); margin: 24px 0; }

/* お問い合わせ導入 */
.t-page .page-body-card .contact-intro { background: var(--accent-light); border: 0.5px solid var(--border); border-radius: 8px; padding: 14px 16px; margin-bottom: 24px; font-size: 13px; color: var(--text-sub); line-height: 1.8; }

/* CF7 フォーム */
.t-page .page-body-card .form-group { margin-bottom: 18px; }
.t-page .page-body-card .form-label { display: block; font-size: 12px; font-weight: 600; color: var(--text-main); margin-bottom: 6px; }
.t-page .page-body-card .form-label .required { display: inline-block; background: var(--accent); color: #fff; font-size: 9px; padding: 1px 5px; border-radius: 3px; margin-left: 5px; vertical-align: middle; }
.t-page .page-body-card .form-note { font-size: 11px; color: var(--text-muted); margin-top: 5px; }
.t-page .page-body-card .form-privacy { background: var(--accent-light); border: 0.5px solid var(--border); border-radius: 6px; padding: 10px 12px; margin-bottom: 20px; font-size: 12px; color: var(--text-sub); line-height: 1.75; }
.t-page .page-body-card .form-privacy a { color: var(--accent); }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form select,
.wpcf7-form textarea { width: 100%; background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 9px 12px; font-size: 13px; color: var(--text-main); font-family: inherit; outline: none; transition: border-color 0.15s; box-sizing: border-box; }
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(122,58,94,0.1); }
.wpcf7-form textarea { resize: vertical; min-height: 140px; line-height: 1.7; }
.wpcf7-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888780' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.wpcf7-form input[type="submit"] { display: flex; align-items: center; justify-content: center; gap: 6px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; padding: 13px 32px; border-radius: 6px; border: none; cursor: pointer; font-family: inherit; width: 100%; transition: background 0.15s; }
.wpcf7-form input[type="submit"]:hover { background: #6A2A4E; }
.wpcf7-response-output { margin-top: 14px; padding: 12px 14px; border-radius: 6px; font-size: 13px; line-height: 1.6; border: none; }
.wpcf7-mail-sent-ok { background: #edfaf4; color: #1a5c38; }
.wpcf7-mail-sent-ng,
.wpcf7-validation-errors { background: #fef0f0; color: #8b1c1c; }

@media (max-width: 600px) {
  .t-page .breadcrumb { padding: 12px 16px 0; }
  .t-page .page-body-section { padding: 20px 16px 32px; }
  .t-page .page-body-card { padding: 18px 18px; }
}
