/*
Theme Name:  プレステージAVレビュー
Theme URI:   https://prestige-av-review.com
Description: プレステージ専属女優AV紹介専用テーマ
Version:     1.0.0
Author:      Your Name
Text Domain: prestige
*/

/* ===========================
   CSS変数（カラー設定）
=========================== */
:root {
  --gold:       #c9a84c;
  --gold-light: #e8c97a;
  --gold-dark:  #8b6914;
  --dark:       #0d0d0d;
  --dark2:      #141414;
  --card:       #1a1a1a;
  --card2:      #222222;
  --text:       #f0f0f0;
  --muted:      #999999;
  --border:     #2a2a2a;
  --red:        #e03c3c;
  --radius:     8px;
}

/* ===========================
   リセット・ベース
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  background: var(--dark);
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}

a { color: var(--gold); text-decoration: none; }
a:hover { opacity: 0.8; }
img { max-width: 100%; height: auto; display: block; }

/* ===========================
   レイアウト
=========================== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

.main-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  padding: 28px 0;
}
@media (max-width: 768px) {
  .main-wrap { grid-template-columns: 1fr; }
}

/* ===========================
   ヘッダー
=========================== */
.site-header {
  background: #080808;
  border-bottom: 2px solid var(--gold-dark);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  display: flex; align-items: center; height: 60px; gap: 16px;
}
.site-logo {
  font-size: 20px; font-weight: 700; white-space: nowrap;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-sub { font-size: 10px; color: var(--muted); display: block; -webkit-text-fill-color: var(--muted); font-weight: 400; margin-top: -2px; }

.global-nav { margin-left: auto; display: flex; gap: 4px; }
.global-nav a {
  color: #ccc; font-size: 12px; padding: 6px 12px;
  border-radius: 4px; border: 1px solid transparent; transition: all 0.2s;
}
.global-nav a:hover, .global-nav a.current {
  color: var(--gold); border-color: var(--gold-dark); opacity: 1;
}
.nav-toggle {
  display: none; background: none; border: none;
  color: #fff; font-size: 24px; cursor: pointer; margin-left: auto;
}
@media (max-width: 768px) {
  .global-nav {
    display: none; position: absolute; top: 60px; left: 0; right: 0;
    background: #080808; flex-direction: column; padding: 8px; border-bottom: 1px solid var(--border);
  }
  .global-nav.open { display: flex; }
  .nav-toggle { display: block; }
}

/* ===========================
   ヒーロー
=========================== */
.hero {
  background: linear-gradient(135deg, #080808 0%, #1a1200 50%, #080808 100%);
  padding: 52px 16px; text-align: center;
  border-bottom: 1px solid var(--gold-dark);
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.08) 0%, transparent 70%);
}
.hero-badge {
  display: inline-block; background: var(--gold-dark);
  color: var(--gold-light); font-size: 10px; padding: 3px 14px;
  border-radius: 20px; margin-bottom: 14px; letter-spacing: 2px;
}
.hero h1 { font-size: clamp(20px, 4vw, 30px); margin-bottom: 10px; line-height: 1.4; }
.hero h1 em { color: var(--gold-light); font-style: normal; }
.hero p { color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.hero-btns { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* ===========================
   ボタン
=========================== */
.btn-gold {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #000; font-weight: 700; border: none;
  padding: 10px 24px; border-radius: 6px; font-size: 13px; cursor: pointer;
  transition: opacity 0.2s;
}
.btn-gold:hover { opacity: 0.85; }
.btn-outline {
  background: transparent; color: var(--gold);
  border: 1px solid var(--gold-dark);
  padding: 10px 24px; border-radius: 6px; font-size: 13px; cursor: pointer;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--gold-dark); color: #000; }
.btn-mgs {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #000; font-weight: 700;
  padding: 11px 26px; border-radius: 6px; font-size: 13px;
  transition: opacity 0.2s;
}
.btn-mgs:hover { opacity: 0.85; }
.btn-unext {
  display: inline-block; background: #1a1a2e; color: var(--gold);
  border: 1px solid var(--gold-dark);
  padding: 11px 18px; border-radius: 6px; font-size: 13px;
}

/* ===========================
   セクションタイトル
=========================== */
.section-title {
  font-size: 15px; font-weight: 700;
  border-left: 4px solid var(--gold);
  padding-left: 10px; margin: 28px 0 16px;
  color: #fff;
}
.section-title small { font-size: 11px; font-weight: 400; color: var(--muted); margin-left: 8px; }

/* ===========================
   関連リンクチップ（女優ページのジャンル・ジャンルページの女優）
=========================== */
.cat-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.cat-chip {
  background: var(--card);
  border: 1px solid var(--border);
  color: #ccc;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 20px;
  transition: all 0.2s;
}
.cat-chip:hover { border-color: var(--gold); color: var(--gold); }

/* ===========================
   MGS独占バッジ
=========================== */
.badge-exclusive {
  display: inline-block; background: var(--gold);
  color: #000; font-size: 9px; font-weight: 700;
  padding: 2px 7px; border-radius: 3px; letter-spacing: 0.5px;
}
.badge-new { background: var(--red); color: #fff; }
.badge-vr  { background: #4a90e2; color: #fff; }
.badge-rank { background: var(--gold); color: #000; }

/* ===========================
   作品カードグリッド
=========================== */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px; margin-bottom: 32px;
}
.review-card {
  background: var(--card); border-radius: 10px;
  overflow: hidden; border: 1px solid var(--border);
  transition: transform 0.2s, border-color 0.2s;
}
.review-card:hover { transform: translateY(-3px); border-color: var(--gold-dark); }

.card-thumb {
  position: relative; width: 100%; aspect-ratio: 3/2;
  overflow: hidden; background: var(--card2);
}
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-badge-wrap {
  position: absolute; top: 7px; left: 7px;
  display: flex; gap: 4px; flex-wrap: wrap;
}

.card-body { padding: 10px; }
.card-title {
  font-size: 12px; color: #ddd; margin-bottom: 5px;
  line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-actress { font-size: 11px; color: var(--gold); margin-bottom: 4px; }
.card-stars { color: var(--gold-light); font-size: 11px; margin-bottom: 6px; }
.card-meta { font-size: 10px; color: var(--muted); margin-bottom: 6px; }
.card-cta {
  display: block; text-align: center; font-size: 11px; padding: 6px;
  border-radius: 4px; font-weight: 700;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #000; transition: opacity 0.2s;
}
.card-cta:hover { opacity: 0.85; }

/* ===========================
   女優カードグリッド
=========================== */
.actress-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px; margin-bottom: 28px;
}
.actress-card {
  background: var(--card); border-radius: 10px;
  overflow: hidden; border: 1px solid var(--border);
  text-align: center; transition: border-color 0.2s;
}
.actress-card:hover { border-color: var(--gold-dark); }
.actress-thumb {
  width: 100%; aspect-ratio: 1/1; background: var(--card2);
  display: flex; align-items: center; justify-content: center; font-size: 36px;
  overflow: hidden;
}
.actress-thumb img { width: 100%; height: 100%; object-fit: cover; }
.actress-name { font-size: 12px; color: #ddd; padding: 8px 6px 4px; font-weight: 500; }
.actress-count { font-size: 10px; color: var(--muted); padding-bottom: 8px; }

/* ===========================
   ランキングリスト
=========================== */
.ranking-list { display: flex; flex-direction: column; gap: 10px; }
.rank-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 16px;
  display: flex; align-items: center; gap: 14px;
  transition: border-color 0.2s;
}
.rank-item:hover { border-color: var(--gold-dark); }
.rank-num { font-size: 22px; font-weight: 700; width: 32px; text-align: center; flex-shrink: 0; }
.rank-gold   { color: var(--gold-light); }
.rank-silver { color: #aaa; }
.rank-bronze { color: #cd7f32; }
.rank-img { width: 60px; height: 60px; border-radius: 6px; object-fit: cover; flex-shrink: 0; background: var(--card2); }
.rank-info { flex: 1; min-width: 0; }
.rank-title { font-size: 13px; color: #ddd; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-meta  { font-size: 11px; color: var(--muted); }
.rank-btn {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #000; border: none; padding: 7px 14px;
  border-radius: 5px; font-size: 11px; font-weight: 700; cursor: pointer; flex-shrink: 0;
}

/* ===========================
   個別レビューページ
=========================== */
.review-hero { background: var(--dark2); padding: 28px 0; border-bottom: 1px solid var(--border); }
.review-hero-inner { display: flex; gap: 24px; align-items: flex-start; }
.review-cover {
  width: 190px; flex-shrink: 0; border-radius: 8px;
  overflow: hidden; border: 1px solid var(--border);
}
@media (max-width: 600px) {
  .review-hero-inner { flex-direction: column; }
  .review-cover { width: 100%; max-width: 260px; }
}
.review-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.review-title { font-size: clamp(16px, 3vw, 22px); font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.review-actress { color: var(--gold); font-size: 14px; margin-bottom: 8px; font-weight: 500; }
.review-actress a { color: var(--gold); }
.review-meta { font-size: 12px; color: var(--muted); line-height: 2.0; margin-bottom: 12px; }
.review-stars { font-size: 20px; color: var(--gold-light); margin-bottom: 14px; }
.review-stars span { font-size: 13px; color: var(--muted); }

.buy-wrap { display: flex; gap: 10px; flex-wrap: wrap; }

/* 評価バー */
.rating-box { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 20px; margin: 24px 0; }
.rating-box h3 { font-size: 14px; margin-bottom: 14px; }
.rating-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.rating-label { font-size: 12px; color: var(--muted); width: 90px; flex-shrink: 0; }
.rating-bar-wrap { flex: 1; background: #333; border-radius: 4px; height: 8px; }
.rating-bar { background: linear-gradient(90deg, var(--gold-dark), var(--gold-light)); height: 8px; border-radius: 4px; }
.rating-val { font-size: 12px; color: var(--gold-light); width: 28px; text-align: right; }

/* 本文 */
.review-content { padding: 28px 0; line-height: 1.9; }
.review-content h2 { font-size: 17px; border-left: 4px solid var(--gold); padding-left: 10px; margin: 28px 0 12px; }
.review-content h3 { font-size: 15px; color: var(--gold-light); margin: 20px 0 8px; }
.review-content p  { margin-bottom: 14px; }
.review-content ul { padding-left: 20px; margin-bottom: 14px; }

/* タグクラウド */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
.tag-item {
  background: var(--card); border: 1px solid var(--border);
  color: var(--muted); font-size: 11px; padding: 4px 12px; border-radius: 20px;
}
.tag-item:hover { border-color: var(--gold-dark); color: var(--gold); }

/* 購入ボックス */
.buy-box {
  background: var(--card); border: 1px solid var(--gold-dark);
  border-radius: 10px; padding: 22px; margin: 28px 0; text-align: center;
}
.buy-box p { font-size: 13px; margin-bottom: 14px; }

/* ===========================
   パンくず
=========================== */
.breadcrumb { padding: 10px 0; font-size: 12px; color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.breadcrumb li + li::before { content: "›"; margin-right: 4px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold); }

/* ===========================
   サイドバー
=========================== */
.sidebar-widget {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 10px; padding: 16px; margin-bottom: 20px;
}
.widget-title {
  font-size: 13px; font-weight: 700; color: var(--gold-light);
  border-bottom: 1px solid var(--border); padding-bottom: 8px; margin-bottom: 12px;
}
.sidebar-rank-item { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.sidebar-rank-item:last-child { border-bottom: none; }
.sidebar-rank-num { font-size: 13px; font-weight: 700; color: var(--gold); width: 22px; flex-shrink: 0; }
.sidebar-rank-title { font-size: 12px; color: #ddd; line-height: 1.4; }
.sidebar-actress-item {
  display: flex; gap: 10px; padding: 8px 0;
  border-bottom: 1px solid var(--border); align-items: center;
}
.sidebar-actress-item:last-child { border-bottom: none; }
.sidebar-actress-img {
  width: 38px; height: 38px; border-radius: 50%; background: var(--card2);
  display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0;
  overflow: hidden;
}
.sidebar-actress-img img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-actress-name { font-size: 12px; color: #ddd; }
.sidebar-actress-count { font-size: 10px; color: var(--muted); }

/* ===========================
   年齢確認モーダル
=========================== */
#age-gate {
  display: flex; position: fixed; inset: 0;
  background: rgba(0,0,0,0.95); z-index: 9999;
  align-items: center; justify-content: center;
}
.age-gate-box {
  background: var(--card); border: 1px solid var(--gold-dark);
  border-radius: 12px; padding: 40px 32px; max-width: 440px; width: 90%; text-align: center;
}
.age-gate-logo {
  font-size: 22px; font-weight: 700; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.age-gate-box h2 { font-size: 18px; margin-bottom: 10px; }
.age-gate-box p { font-size: 13px; color: var(--muted); margin-bottom: 26px; line-height: 1.7; }
.age-gate-btns { display: flex; gap: 12px; justify-content: center; }
.btn-deny {
  background: #222; color: #aaa; border: 1px solid #444;
  padding: 10px 24px; border-radius: 6px; font-size: 14px; cursor: pointer;
}

/* ===========================
   フッター
=========================== */
.site-footer {
  background: #060606; border-top: 1px solid var(--gold-dark);
  padding: 36px 0; margin-top: 48px;
}
.footer-inner { display: flex; gap: 36px; flex-wrap: wrap; justify-content: space-between; }
.footer-logo {
  font-size: 18px; font-weight: 700; margin-bottom: 8px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.footer-desc { font-size: 12px; color: #555; line-height: 1.6; }
.footer-nav { display: flex; flex-direction: column; gap: 6px; }
.footer-nav a { color: #555; font-size: 12px; }
.footer-nav a:hover { color: var(--gold); }
.footer-bottom { text-align: center; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: 11px; color: #444; line-height: 1.8; }

/* ===========================
   読了時間バッジ
=========================== */
.reading-time-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--card2); border: 1px solid var(--border);
  color: var(--muted); font-size: 12px; padding: 5px 12px;
  border-radius: 20px; margin-bottom: 20px;
}

/* ===========================
   ページネーション
=========================== */
.pagination { display: flex; justify-content: center; gap: 6px; padding: 28px 0; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border: 1px solid var(--border);
  border-radius: 6px; font-size: 13px; color: #ccc; background: var(--card);
}
.pagination .current { background: var(--gold-dark); border-color: var(--gold); color: #000; font-weight: 700; }
