@charset "UTF-8";
/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/* =============================================================
   DebutDB カスタムスタイル — 白基調 × オレンジアクセント
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700;900&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #fafaf8;
  --white: #ffffff;
  --surface-alt: #f5f4f0;
  --border: #e8e6e1;
  --border-light: #f0eeea;
  --text: #1a1a18;
  --text-mid: #4a4a45;
  --text-muted: #8a8a82;
  --accent: #e8652b;
  --accent-light: #fff1eb;
  --accent-hover: #d45820;
  --accent-glow: rgba(232, 101, 43, 0.12);
  --green: #2a9d6e;
  --green-bg: #eef8f3;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
}

/* --- Global --- */
body {
  font-family: 'Zen Kaku Gothic New', sans-serif !important;
  background: var(--bg) !important;
  color: var(--text) !important;
  -webkit-font-smoothing: antialiased;
  line-height: 1.75;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* --- Cocoon Layout Override --- */
.wrap { max-width: 1120px !important; margin: 0 auto !important; padding: 0 28px !important; }
#content { margin-top: 0 !important; padding-top: 0 !important; }
.content-in { display: block !important; }
#main { width: 100% !important; float: none !important; padding: 0 !important; margin: 0 !important; }
#sidebar { display: none !important; }
.breadcrumb { display: none !important; }
.article { background: none !important; border: none !important; padding: 0 !important; box-shadow: none !important; }
.entry-content { padding: 0 !important; }

/* Cocoon不要パーツ非表示 */
.sns-share, .sns-follow, .author-info, .related-entries,
.pager-post-navi, .comment-area, .under-entry-content,
.date-tags, .entry-categories-tags, .post-date, .post-update,
.eye-catch { display: none !important; }

/* =============================================================
   HEADER
   ============================================================= */
.header {
  background: rgba(255,255,255,0.92) !important;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: none !important;
  backdrop-filter: blur(20px);
}
.header-in {
  max-width: 1120px !important;
  margin: 0 auto !important;
  padding: 0 28px !important;
  height: 60px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
/* ロゴ */
.logo-header, .site-name-text, .header .site-name-text a {
  font-family: 'Outfit', sans-serif !important;
  font-weight: 800 !important;
  font-size: 22px !important;
  letter-spacing: -0.5px !important;
  color: var(--text) !important;
}
.logo-header img { display: none; }
.site-name-text a:hover { color: var(--accent) !important; }
/* キャッチフレーズ非表示 */
.tagline { display: none !important; }

/* ナビ */
#navi {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}
#navi .navi-in {
  max-width: 1120px !important;
  margin: 0 auto !important;
  padding: 0 28px !important;
}
#navi ul { display: flex !important; gap: 0 !important; justify-content: flex-start !important; }
#navi ul li { margin: 0 !important; padding: 0 !important; }
#navi ul li a {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--text-muted) !important;
  padding: 10px 18px !important;
  transition: color 0.2s !important;
  background: none !important;
  border: none !important;
}
#navi ul li a:hover,
#navi ul li.current-menu-item a {
  color: var(--accent) !important;
  background: none !important;
}

/* =============================================================
   FOOTER
   ============================================================= */
#footer {
  background: var(--white) !important;
  border-top: 1px solid var(--border) !important;
  padding: 40px 28px !important;
}
#footer .footer-in {
  max-width: 1120px !important;
  margin: 0 auto !important;
  text-align: center !important;
}
.footer-bottom-logo, #footer .copyright {
  font-size: 12px !important;
  color: var(--text-muted) !important;
}
#footer a { color: var(--text-muted) !important; }
#footer a:hover { color: var(--accent) !important; }
.navi-footer-in ul { display: flex !important; justify-content: center !important; gap: 24px !important; flex-wrap: wrap !important; margin-bottom: 12px !important; }
.navi-footer-in ul li a { font-size: 12px !important; font-weight: 500 !important; color: var(--text-muted) !important; }

/* =============================================================
   固定ページ（トップページ、概要等）
   ============================================================= */
.page .entry-title {
  font-family: 'Outfit', 'Zen Kaku Gothic New', sans-serif !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  letter-spacing: -0.5px !important;
  color: var(--text) !important;
  border: none !important;
  padding: 40px 0 16px !important;
  text-align: center !important;
}
.page .entry-content {
  max-width: 720px !important;
  margin: 0 auto !important;
  font-size: 14px !important;
  color: var(--text-mid) !important;
  line-height: 2 !important;
  padding-bottom: 60px !important;
}
.page .entry-content a {
  color: var(--accent) !important;
  font-weight: 600 !important;
  border-bottom: 1px solid var(--accent-glow);
  transition: border-color 0.2s;
}
.page .entry-content a:hover {
  border-bottom-color: var(--accent) !important;
}

/* =============================================================
   年齢確認ゲート 上書き
   ============================================================= */
#debutdb-age-gate > div {
  background: var(--white) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  border-radius: 16px !important;
}
#debutdb-age-gate h2 {
  color: var(--text) !important;
}
#debutdb-age-gate p {
  color: var(--text-muted) !important;
}

/* =============================================================
   ページネーション
   ============================================================= */
.pagination { text-align: center; margin: 40px 0 60px; }
.pagination .page-numbers {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  margin: 0 3px;
  border-radius: var(--radius-sm) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--text-mid) !important;
  background: var(--white) !important;
  border: 1px solid var(--border) !important;
  transition: all 0.2s;
}
.pagination .page-numbers:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}
.pagination .page-numbers.current {
  background: var(--accent) !important;
  color: white !important;
  border-color: var(--accent) !important;
}

/* =============================================================
   検索結果
   ============================================================= */
.search .entry-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  padding: 40px 0 20px !important;
  text-align: center !important;
  border: none !important;
}

/* =============================================================
   レスポンシブ
   ============================================================= */
@media screen and (max-width: 1023px) {
  .header-in { padding: 0 16px !important; }
  .wrap { padding: 0 16px !important; }
}
@media screen and (max-width: 834px) {
  #navi { display: none !important; }
  .page .entry-title { font-size: 22px !important; padding: 28px 0 12px !important; }
}
@media screen and (max-width: 480px) {
  .header-in { height: 52px !important; }
  .logo-header, .site-name-text, .header .site-name-text a { font-size: 18px !important; }
}

/* フッターのデフォルトウィジェット非表示 */
#footer .widget,
.footer-widget-area,
aside.widget {
    display: none !important;
}

/* ===== モバイル対応 ===== */
@media (max-width: 767px) {

  /* 検索フォームを縦並びに */
  .search-box-form,
  form[action*="/"] {
    flex-direction: column !important;
  }
  .search-box-form input[type="search"],
  form[action*="/"] input[type="search"] {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .search-box-form button,
  form[action*="/"] button[type="submit"] {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 統計セクション 2×2グリッド */
  div[style*="gap:56px"] {
    gap: 24px 40px !important;
    justify-content: center !important;
  }

  /* 女優カードグリッドを2列に */
  div[style*="grid-template-columns:repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  /* ヒーローの文字サイズ縮小 */
  h1[style*="font-size:42px"] {
    font-size: 28px !important;
    letter-spacing: -0.5px !important;
  }

  /* デビュー年ドロップダウンを幅いっぱいに */
  select#debut-year-select {
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  select#debut-year-select + button,
  div[style*="align-items:center; gap:16px"] {
    flex-wrap: wrap !important;
  }

  /* 全体のはみ出し防止 */
  body, html {
    overflow-x: hidden !important;
  }
  div[style*="max-width:1120px"] {
    padding: 0 16px !important;
  }
}

@media (max-width: 767px) {
    .actress-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    
    /* ヒーローの文字サイズ縮小 */
h1[style*="font-size:42px"] {
    font-size: 24px !important;
}

/* 統計セクション 2×2グリッド */
div[style*="gap:56px"] {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
}
}

/* コンテンツ幅を広げる */
.wrap {
    max-width: 1280px !important;
    width: 95% !important;
    margin: 0 auto !important;
}
#main, .main {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}
#content, .content {
    max-width: 100% !important;
}

array(
    'label' => 'デビューシリーズ',
    'id'    => 'debut_series',
    'type'  => 'text',
),
array(
    'label' => '最新作1タイトル',
    'id'    => 'latest_1_title',
    'type'  => 'text',
),
array(
    'label' => '最新作1品番',
    'id'    => 'latest_1_product_id',
    'type'  => 'text',
),
array(
    'label' => '最新作1日付',
    'id'    => 'latest_1_date',
    'type'  => 'text',
),
array(
    'label' => '最新作1画像URL',
    'id'    => 'latest_1_image_url',
    'type'  => 'text',
),
array(
    'label' => '最新作1アフィリURL',
    'id'    => 'latest_1_affiliate_url',
    'type'  => 'text',
),
array(
    'label' => '最新作2タイトル',
    'id'    => 'latest_2_title',
    'type'  => 'text',
),
array(
    'label' => '最新作2品番',
    'id'    => 'latest_2_product_id',
    'type'  => 'text',
),
array(
    'label' => '最新作2日付',
    'id'    => 'latest_2_date',
    'type'  => 'text',
),
array(
    'label' => '最新作2画像URL',
    'id'    => 'latest_2_image_url',
    'type'  => 'text',
),
array(
    'label' => '最新作2アフィリURL',
    'id'    => 'latest_2_affiliate_url',
    'type'  => 'text',
),
array(
    'label' => '最新作3タイトル',
    'id'    => 'latest_3_title',
    'type'  => 'text',
),
array(
    'label' => '最新作3品番',
    'id'    => 'latest_3_product_id',
    'type'  => 'text',
),
array(
    'label' => '最新作3日付',
    'id'    => 'latest_3_date',
    'type'  => 'text',
),
array(
    'label' => '最新作3画像URL',
    'id'    => 'latest_3_image_url',
    'type'  => 'text',
),
array(
    'label' => '最新作3アフィリURL',
    'id'    => 'latest_3_affiliate_url',
    'type'  => 'text',
),