@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
*/

/************************************
** レイアウト基本調整
************************************/
.wrap {
  width: 95% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  box-sizing: border-box;
  padding: 0 10px;
}

.container {
  width: 100% !important;
  box-sizing: border-box;
  position: relative;
}
.container::after {
  content: "";
  display: table;
  clear: both;
}

.main {
  float: left;
  width: 90% !important;
}
.sidebar {
  float: right;
  width: 10% !important;
}

/************************************
** カードレイアウト
************************************/
.entry-card-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.entry-card {
  text-align: center;
  padding: 10px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/************************************
** 本日のおすすめ・女優セクション
************************************/
.today-recommend > div,
.today-actress-cards {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 20px !important;
  margin-bottom: 20px;
}
.today-recommend .entry-card,
.today-actress-cards .entry-card {
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.today-recommend img,
.today-actress-cards img {
  width: 100% !important;
  height: auto !important;
  border-radius: 4px;
}

/************************************
** モバイル対応
************************************/
@media screen and (max-width: 768px) {
  .main,
  .sidebar {
    float: none !important;
    width: 100% !important;
  }
  .entry-card-wrap,
  .today-recommend > div,
  .today-actress-cards {
    display: block !important;
  }
  .entry-card {
    margin-bottom: 20px;
  }
}

/************************************
** 投稿一覧のスタイル（アーカイブ）
************************************/
.archive .entry,
.category .entry,
.tag .entry,
.search .entry,
.date .entry {
  width: 19% !important;
  float: left !important;
  margin: 0 0.5% 20px !important;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  text-align: center;
}

.archive .entry-thumb img,
.category .entry-thumb img,
.tag .entry-thumb img,
.search .entry-thumb img {
  width: 100% !important;
  height: auto !important;
  object-fit: cover;
  display: block;
}

.archive .entry-title,
.category .entry-title,
.tag .entry-title,
.search .entry-title {
  font-size: 14px;
  line-height: 1.4;
  margin: 10px 0;
  text-align: center;
}

/************************************
** レスポンシブ対応
************************************/
@media (max-width: 1024px) {
  .archive .entry,
  .category .entry,
  .tag .entry,
  .search .entry {
    width: 31% !important;
  }
}
@media (max-width: 768px) {
  .archive .entry,
  .category .entry,
  .tag .entry,
  .search .entry {
    width: 48% !important;
  }
}
@media (max-width: 480px) {
  .archive .entry,
  .category .entry,
  .tag .entry,
  .search .entry {
    width: 96% !important;
    float: none !important;
    margin: 0 auto 20px !important;
  }
}

/************************************
** 投稿カードのサムネイルサイズ調整
************************************/
.entry-card img {
  height: 260px !important;
  width: 100% !important;
  object-fit: contain !important;
  background-color: #fff;
  border-radius: 6px;
  display: block;
}

/************************************
** 投稿一覧サムネイル縦固定（300px）
************************************/
.archive .entry-card-thumb,
.category .entry-card-thumb,
.tag .entry-card-thumb,
.search .entry-card-thumb {
  height: 300px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}
.archive .entry-card-thumb img,
.category .entry-card-thumb img,
.tag .entry-card-thumb img,
.search .entry-card-thumb img {
  height: 100% !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
}

/************************************
** リンク文字色固定
************************************/
.entry-card a,
.entry-card a:visited,
.entry-card a:hover,
.entry-card a:active {
  color: #000 !important;
  text-decoration: none !important;
}


/* 🟥 全体（ロゴ、ナビ、メイン、フッター含む）を横幅いっぱいに */
body,
html,
.site,
#container,
#body-in,
.wrap,
.container,
.container-in,
#header-container,
#header,
#navi,
#navi-in,
#header-in,
#header-in .logo-header,
#header-in .logo,
#header-in .tagline,
#navi-in .navi-menu,
.navi,
.logo-menu,
.logo-menu-in,
#main,
.main,
.main .main-in,
.sidebar,
.footer,
#footer,
.footer-in {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

/* 🌐 サイト全体の最大横幅を95%にする（中央寄せ） */
.wrap {
  max-width: 97% !important;  /* ← 90% にすればもっと狭く */
  margin: 0 auto !important;
  padding: 0 10px !important;
  box-sizing: border-box;
}

/* ヘッダー上部の幅も合わせる */
#header,
#header-in,
#navi,
#navi-in,
#header-container,
.header-container-in {
  max-width: 100% !important;
  margin: 0 auto !important;
  box-sizing: border-box;
}




/* 投稿ページの本文内にあるラッパーを中央寄せ&狭く */
body.single .main .main-inner {
  width: 60% !important;
  margin: 0 auto !important;
  padding: 20px !important;
  box-sizing: border-box !important;
}


/* 投稿ページ：タイトルとアイキャッチを本文と揃えて中央800pxに */
body.single .entry-title,
body.single .eye-catch {
  max-width: 60% !important;
  margin: 0 auto !important;
  padding: 0 15px !important;
  box-sizing: border-box !important;
}


@media screen and (max-width: 768px) {
  html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    overflow-x: hidden !important;
  }

  /* 投稿本文のラップ幅を全幅に */
  body.single .main .main-inner {
    width: 100% !important;
    padding: 10px !important;
  }

  /* タイトルとアイキャッチも全幅に */
  body.single .entry-title,
  body.single .eye-catch {
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 10px !important;
  }

  /* Gutenberg画像ブロック */
  .wp-block-image.aligncenter,
  .wp-block-image,
  figure.aligncenter,
  .entry-content figure.aligncenter {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: block !important;
    text-align: center !important;
    box-sizing: border-box;
  }

  /* 画像自体 */
  .wp-block-image img,
  figure.aligncenter img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
  }

  /* キャプション */
  .wp-block-image figcaption,
  figure figcaption {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 14px;
    line-height: 1.4;
    white-space: normal !important;
    word-break: break-word !important;
    padding: 6px 12px;
    box-sizing: border-box;
  }
}



.new-label {
  display: inline-block;
  background-color: red;
  color: white;
  font-size: 14px;         /* フォントサイズを大きく */
  padding: 4px 10px;       /* 上下左右の余白 */
  margin-left: 8px;        /* メニュー項目との間隔 */
  border-radius: 6px;      /* 角丸で柔らかく */
  font-weight: bold;
  line-height: 1;
  vertical-align: middle;
}


.entry-content > p:first-of-type:has(a[href*="女優ランキング"]) {
  display: none !important;
}

.mobile-top-search-menu {
  display: none;
  background: #fff;
  border-bottom: 1px solid #ddd;
  margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
  .mobile-top-search-menu {
    display: block;
    padding: 15px 0;
  }
}

.mobile-top-search-menu .menu-label {
  font-size: 15px;
  font-weight: bold;
  color: #e91e63;
  margin-left: 15px;
  margin-bottom: 10px;
}

.search-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.search-link-list li {
  border-top: 1px solid #eee;
  background: #fafafa;
}

.search-link-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: #333;
  font-size: 15px;
  padding: 12px 15px;
}

.search-link-list li a .icon {
  margin-right: 10px;
}

.search-link-list li a .arrow {
  color: #888;
  font-size: 18px;
  font-weight: bold;
}

/* モーダルの基本スタイル */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  overflow-y: auto;
}

/* モーダル内部のボックス */
.modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 10px;
  max-width: 90%;
  box-sizing: border-box;
}

/* グリッドレイアウト */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

/* 各グリッド項目 */
.grid-item {
  background: #f9f9f9;
  border-radius: 6px;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  border: 1px solid #ccc;
  transition: background 0.2s;
}
.grid-item:hover {
  background: #f0f0f0;
}

/* ✕ボタン（モーダル閉じる） */
.close-modal {
  float: right;
  background: #e91e63;
  border: none;
  color: #fff;
  font-size: 18px;
  width: 30px; height: 30px;
  border-radius: 50%;
  cursor: pointer;
}

/* 📱 モバイルメニューのボタンスタイルを整える */
.search-link-list li button {
  width: 100%;
  background: #fafafa;
  border: 1px solid #ccc;
  padding: 12px 15px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: #333;
  box-sizing: border-box;
}

/* 📁 モーダルの表示切り替えに必要なスタイル */
.modal {
  display: none !important; /* JavaScriptで切り替える前提 */
}

.modal.active {
  display: block !important;
}


.toggle-content {
  display: none;
  padding: 15px 0;
}
.toggle-content.active {
  display: block;
}
.toggle-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: #fafafa;
  padding: 12px 15px;
  border-top: 1px solid #ddd;
}
.toggle-header.open .toggle-arrow {
  transform: rotate(180deg);
}
.toggle-arrow {
  font-size: 18px;
  transition: transform 0.3s ease;
}




.recommend-link {
  color: #000;
  text-decoration: underline;
  transition: color 0.2s ease;
}
.recommend-link:hover {
  color: red;
}


/* 🌐 ロゴの表示切り替え（PCとモバイル） */
/* PC用ロゴをデフォルト表示、モバイル用は非表示 */
.site-logo-image {
  display: inline !important;
}
.site-fixed-logo-image {
  display: none !important;
}

/* モバイル画面幅（768px以下）では逆にする */
@media screen and (max-width: 768px) {
  .site-logo-image {
    display: none !important;
  }
  .site-fixed-logo-image {
    display: inline !important;
  }
}

.site-fixed-logo-image {
  width: 100% !important;
  height: auto !important;
  max-width: 500px;
}

/************************************
** 💰 アフィリエイト爆上げカラーセット
************************************/

/* 🔶 ナビゲーションバー（黒＋金） */
#navi,
#navi-in {
  background-color: #1a1a1a !important;  /* 濃い黒 */
  border-top: 3px solid #ffd700 !important; /* ゴールドライン */
}
#navi-in a {
  color: #fff !important;
}
#navi-in a:hover {
  color: #ffd700 !important;  /* ゴールドホバー */
}

/* 🔴 見出し帯（人気作品など） */
.section-title {
  background: #fff1f1;
  color: #d32f2f;
  font-weight: bold;
  font-size: 18px;
  padding: 10px 16px;
  border-left: 6px solid #f44336;
  border-radius: 4px;
}

/* 🟠 ボタン（クリック率UP） */
.button,
input[type="submit"],
input[type="button"],
.wp-block-button__link {
  background: #ff9800 !important;  /* オレンジ */
  color: #fff !important;
  font-weight: bold;
  border: none !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  transition: all 0.3s ease;
}
.button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
  background: #e64a19 !important;  /* 濃いオレンジ */
  color: #fff !important;
}

/* 🧱 カード背景（白） */
.entry-card,
.today-recommend .entry-card,
.today-actress-cards .entry-card {
  background: #ffffff !important;
  border: 1px solid #eee !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important;
}

/* 💡 サイト背景（控えめホワイト） */
body {
  background-color: #fff !important;
}

/* 🔗 サイドバー強調（薄ベージュ） */
.sidebar {
  background: #f9f9f9 !important; /* 統一感ある明るいグレー系 */
  border: 1px solid #e0e0e0 !important;
  padding: 16px !important;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

/* 🔺 モバイルメニュー・検索エリア */
.mobile-top-search-menu {
  background: #fffaf0 !important;
  border-bottom: 2px solid #ff9800 !important;
}

/************************************
** 🔴 ヘッダー：上下グラデ（赤→深赤）
************************************/
#header-container,
#header,
#header-in,
.logo-header {
  background: linear-gradient(to bottom, #ff3b3b, #a60000) !important;
  background-color: #ff3b3b !important; /* fallback */
  color: #fff !important;
}

/* 🔧 ヘッダー内リンクやテキストの白色化 */
#header a,
#header-in a,
#header-in .site-name-text {
  color: #fff !important;
}

/************************************
** 🚀 アフィリエイト爆上げ 左メニュー最適化セット（統合版）
************************************/

/* 🔳 サイドバー全体 */
.sidebar {
  background: #fafafa !important;
  border: 1px solid #e0e0e0 !important;
  padding: 20px !important;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

/* 📛 サイドバー見出し */
.sidebar h3,
.sidebar .widgettitle {
  background: #fff5f5 !important;
  color: #d32f2f !important;
  font-weight: bold;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

/* 📋 カテゴリ項目（通常状態） */
.category-item a {
  display: block;
  padding: 6px 10px;
  margin-bottom: 4px;
  border-radius: 6px;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* 🖱️ ホバー演出 */
.category-item a:hover {
  background-color: #fff0f0;
  color: #c62828;
  font-weight: bold;
}

/* 🏷️ カテゴリバッジ共通スタイル（1回だけに統合） */
.category-item[data-category] a::after {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 12px;
  margin-left: 6px;
  display: inline-block;
  opacity: 0.95;
  background: #fff5f5;
  color: #c62828;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* 🎯 カテゴリ別バッジの個別内容 */
.category-item[data-category="中出し"] a::after {
  content: " 💥濃厚直撃";
  background: #ffebee;
  color: #c62828;
}
.category-item[data-category="巨乳"] a::after {
  content: " 🍒爆乳注意";
  background: #ffebee;
  color: #c62828;
}
.category-item[data-category="人妻"] a::after {
  content: " 💘背徳の快楽";
  background: #fce4ec;
  color: #ad1457;
}
.category-item[data-category="素人"] a::after {
  content: " 📸ガチ初撮り";
  background: #f1f8e9;
  color: #558b2f;
}
.category-item[data-category="制服"] a::after {
  content: " 👗青春暴発";
  background: #e3f2fd;
  color: #1976d2;
}
.category-item[data-category="美少女"] a::after {
  content: " 🌸ピュア絶頂";
  background: #fce4ec;
  color: #c2185b;
}
.category-item[data-category="VR専用"] a::after {
  content: " 🥽没入体験";
  background: #fff3e0;
  color: #ef6c00;
}
.category-item[data-category="ぶっかけ"] a::after {
  content: " 🍶どろっどろ";
  background: #f5f5f5;
  color: #424242;
}
.category-item[data-category="アナル"] a::after {
  content: " 🍑禁断解放";
  background: #f3e5f5;
  color: #6a1b9a;
}
.category-item[data-category="潮吹き"] a::after {
  content: " 💦大噴射";
  background: #e3f2fd;
  color: #0288d1;
}

/* 🔝 トップページの女優ランキング5人を横5列に */
.top5-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin: 40px auto;
  max-width: 1200px;
  padding: 0 10px;
}

/* カードスタイル（再利用可能） */
.top5-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  padding: 20px 15px 15px;
  text-align: center;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.top5-card:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.25);
}

.top5-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 70px;
}

.top5-rank {
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  font-weight: bold;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: gold;
  z-index: 5;
  box-shadow: 0 3px 6px rgba(0,0,0,0.25);
}

.top5-name {
  font-size: 22px;
  font-weight: bold;
  margin: 14px 0 6px;
  color: #222;
}

.top5-profile {
  font-size: 14px;
  color: #444;
  margin: 3px 0;
}

.top5-btn {
  display: block;
  margin: 12px auto 0;
  padding: 12px 14px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: background 0.3s;
  line-height: 1.4;
}

.top5-btn.orange {
  background: #ff6600;
  color: white;
}

.top5-btn.orange:hover {
  background: #e65c00;
}

.top5-btn.black {
  background: #333;
  color: white;
  margin-top: 10px;
  border: 2px solid #222;
  font-size: 15px;
  padding: 12px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 6px;
}

.top5-btn.black:hover {
  background: #222;
  border-color: #000;
}

/* 🛠 トップ5女優カードを画面いっぱいに広げる */
.top5-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 40px 0;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 20px;
  box-sizing: border-box;
}

/* 👑 女優ランキング TOP5 見出し */
.top5-title {
  background: linear-gradient(90deg, #ff512f, #dd2476) !important;
  color: #fff !important;
  font-size: 24px !important;
  font-weight: bold !important;
  padding: 14px 25px !important;
  border-radius: 12px !important;
  text-align: center !important;
  box-shadow: 0 4px 12px rgba(255, 82, 82, 0.4) !important;
  letter-spacing: 0.05em !important;
  margin-bottom: 25px !important;
}

/* 👑 女優ランキングを見る ボタン */
.actress-ranking-button-top {
  display: inline-block !important;
  background: linear-gradient(to right, #ff6600, #ff2a68) !important;
  color: #fff !important;
  font-size: 20px !important;
  font-weight: bold !important;
  padding: 18px 40px !important;
  border-radius: 50px !important;
  text-align: center !important;
  text-decoration: none !important;
  width: 500px !important;
  max-width: 90% !important;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25) !important;
  transition: all 0.3s ease !important;
}

.actress-ranking-button-top:hover {
  background: linear-gradient(to right, #ff2a68, #ff6600) !important;
  transform: scale(1.05) !important;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3) !important;
}

.actress-ranking-link {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px auto;
  width: 100%;
  text-align: center;
}


/* ✅ レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .top5-title {
    font-size: 18px !important;
    padding: 10px 15px !important;
  }

  .actress-ranking-button-top {
    font-size: 16px !important;
    padding: 12px 20px !important;
    width: 100% !important;
  }
}

  #fixed-affiliate-btn {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: 100%;
    max-width: 500px;
    padding: 0 10px;
    box-sizing: border-box;
  }

  #fixed-affiliate-btn a {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(90deg, #FFD700, #FF4500);
    color: #000;
    font-weight: bold;
    font-size: 18px;
    padding: 16px 30px;
    border: 3px solid #fff;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(255, 80, 0, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  #fixed-affiliate-btn a:hover {
    background: linear-gradient(90deg, #FFB800, #FF3300);
    box-shadow: 0 8px 20px rgba(255, 80, 0, 0.8);
  }


@charset "UTF-8";

/* --- 以下省略（元のCSS内容）--- */

@media screen and (max-width: 768px) {
  html, body {
    margin: 0 auto !important;
    padding: 0 10px !important;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  *, *::before, *::after {
    box-sizing: border-box !important;
  }

  .wrap,
  .container,
  .main-content,
  .main-content-inner,
  .top5-grid {
    margin: 0 auto !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .top5-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(160px, 1fr)) !important;
    gap: 12px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .top5-card {
    width: 100% !important;
    margin: 0 auto !important;
    padding: 12px !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }

  .top5-card img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    border-radius: 10px !important;
    object-fit: cover !important;
  }

  .top5-name {
    font-size: 16px !important;
    margin: 10px 0 5px !important;
    text-align: center !important;
  }

  .top5-profile {
    font-size: 13px !important;
    line-height: 1.3 !important;
    text-align: center !important;
  }

  .top5-btn {
    font-size: 14px !important;
    padding: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    word-break: break-word !important;
    margin-top: 10px !important;
  }

  .top5-section-title,
  .top5-header,
  .top5-toplink {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 10px !important;
    margin: 0 0 10px 0 !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }

  body {
    padding: 0 10px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }
}

/* 🔽 モバイル専用カテゴリ・女優ボタン */
.mobile-selector {
  display: none;
}

@media screen and (max-width: 768px) {
  .mobile-selector {
    display: block;
    padding: 20px 10px;
    margin: 20px auto;
    background: #fff5f0;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }

  .mobile-selector h3 {
    font-size: 16px;
    margin: 20px 10px 10px;
    color: #333;
  }

  .responsive-button-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .responsive-button-list li a {
    display: block;
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    color: #fff;
    text-align: center;
    padding: 10px 5px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
  }

  .responsive-button-list li a:hover {
    opacity: 0.85;
  }
}




/* 🎯 Cocoonに勝つため、ラッパークラスで囲む */
.fanza-top100-wrapper .ranking-card .rank {
  font-size: 13px !important;
  font-weight: normal !important;
  color: #111 !important;
  margin-bottom: 5px !important;
}

.fanza-top100-wrapper .ranking-card .name {
  font-size: 13px !important;
  font-weight: normal !important;
  color: #111 !important;
  margin-top: 6px !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
}

.fanza-top100-wrapper .ranking-card a,
.fanza-top100-wrapper .ranking-card .name a {
  text-decoration: none !important;
  color: inherit !important;
}

/* 🔁 ページボタン */
.page-btn {
  display: inline-block;
  padding: 8px 16px;
  margin: 0 4px;
  border-radius: 8px;
  background: #eee;
  color: #444;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.page-btn:hover {
  background: #ff5722;
  color: #fff;
}
.page-btn.active {
  background: #ff5722;
  color: #fff;
}


/* 🔶 アフィリエイト強調メニュー */
.aff-nav-box {
  background: #fff8f2;
  border: 2px solid #ff9800;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  margin-bottom: 25px;
  overflow: hidden;
}
.aff-nav-box .widgettitle {
  margin: 0;
  padding: 12px 15px;
  background: linear-gradient(90deg, #ff5722, #ff9800);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}
.aff-nav-box ul {
  list-style: none;
  padding: 15px;
  margin: 0;
}
.aff-nav-box li {
  margin-bottom: 10px;
}
.aff-nav-box a {
  color: #d84315;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}
.aff-nav-box a:hover {
  color: #ff5722;
  text-decoration: underline;
}


/* ✅ 固定アフィリエイトボタン（中央寄せ・PC + モバイル両対応） */
#fixed-affiliate-btn {
  position: fixed !important;
  bottom: 30px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 9999 !important;
  width: 90% !important;
  max-width: 500px !important;
  padding: 0 10px !important;
  box-sizing: border-box !important;
  display: block !important;
  background: transparent !important;
}

#fixed-affiliate-btn a {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  background: linear-gradient(90deg, #FFD700, #FF4500) !important;
  color: #000 !important;
  font-weight: bold !important;
  font-size: 18px !important;
  padding: 16px 30px !important;
  border: 3px solid #fff !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  box-shadow: 0 6px 15px rgba(255, 80, 0, 0.6) !important;
  width: 100% !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}