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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/


/**************************************************
**** 0. サイト全体・Cocoon基盤のダーク化（最優先）
**************************************************/
html, body, #container, .site, .content, main#main.main {
  background-color: #0b0b0b !important;
  color: #eeeeee !important;
}

/* 記事本文・基本文字色 */
.entry-content,
.entry-content p,
.entry-content li,
.entry-content dt,
.entry-content dd {
  color: #dddddd !important;
}

/* 記事タイトル・見出しの白文字化 */
.entry-title,
.article-header h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: #ffffff !important;
}

/* ヘッダー・フッターの黒化 */
#header-container, #header, #footer {
  background-color: #000000 !important;
  border-color: #222222 !important;
  box-shadow: none !important;
}

/* リンク色（通常白、ホバー時オレンジ） */
a {
  color: #ffffff;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
a:hover {
  color: #ff9900 !important;
}

img {
  box-shadow: 0px 2px 5px 0 rgba(0,0,0,.6);
}

/***********************************
**** ヘッダーロゴ
************************************/
@media screen and (max-width: 1023px){
  .container {
    margin-top: -3px;
  }
}
.logo-image {
  padding: 0;
  margin-left: 1em;
  margin-top: 1em;
  margin-bottom: 1em;
  max-height: 60px;
}
.logo {
  text-align: left;
}
.logo-header img {
  box-shadow: none !important;
}

/************************************
**** モバイル表示 ヘッダーメニュー・検索アイコン
************************************/
.mobile-menu-buttons {
  height: 50px;
  background-color: #121212 !important;
  box-shadow: none;
  border-bottom: 1px solid #222222;
}
.mobile-menu-buttons > li {
  padding-top: 0;
}
.menu-button {
  margin: auto;
  color: #ffffff !important;
}
.mobile-menu-buttons .menu-button:hover {
  background-color: #1f1f1f !important;
}
span.fas.fa-search::before {
  color: #ff9900 !important;
  margin-left: 1em;
}
span.fas.fa-bars::before {
  color: #ff9900 !important;
  margin-right: 1em;
}
.navi-menu-caption.menu-caption,
.home-menu-caption.menu-caption,
.search-menu-caption.menu-caption,
.top-menu-caption.menu-caption,
.sidebar-menu-caption.menu-caption {
  display: none;
}

/************************************
** モバイルスライドインメニュー
************************************/
span.fas.fa-times::before {
  font-family: "Font Awesome 5 Free";
  content: "\f060";
  color: #ff9900 !important;
}
ul.menu-drawer {
  background-color: #121212 !important;
}
ul.menu-drawer:before {
  font-size: 1.2em;
  background: #181818 !important;
  color: #ffffff !important;
  margin-bottom: 1em;
  border-bottom: 3px solid #ff9900 !important;
  content: "メニュー";
}
ul.menu-drawer:after {
  background: #121212 !important;
}
.menu-drawer li {
  padding: 0;
  font-weight: bold;
}
.menu-drawer a {
  font-size: 1.3em;
  background-color: #1a1a1a !important;
  color: #ffffff !important;
  border-bottom: 1px solid #282828;
  margin: .5em 0;
}
.menu-drawer a:hover {
  background-color: #252525 !important;
  color: #ff9900 !important;
}
.menu-drawer .sub-menu {
  padding: 0;
  background-color: #141414 !important;
}
.menu-drawer .sub-menu li {
  font-size: .9em;
}
.menu-drawer .sub-menu li a::before {
  font-family: "Font Awesome 5 Free";
  content : "\f105";
  color: #ff9900 !important;
  margin: 0 .5em 0 1em;
}

/**********************************************
** DMMプロダクト・新着カード
**********************************************/
.dmm-product {
  background-color: #181818 !important;
  border: 1px solid #282828;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  width: calc(50% - 20px);
  text-align: center;
  cursor: pointer;
}
.dmm-product:hover {
  transform: translateY(-5px);
  border-color: #ff9900;
  box-shadow: 0 8px 16px rgba(255,153,0,0.3);
}
.dmm-product-image-container {
  height: auto;
  width: 100%;
  overflow: hidden;
  background-color: #000;
}
.dmm-product-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.dmm-product-title {
  font-size: 14px;
  color: #ffffff !important;
  padding: 10px;
  background-color: #141414 !important;
  margin: 0;
  height: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.dmm-product-rank {
  font-weight: bold;
  color: #ff9900 !important;
  font-size: 20px;
}
@media (max-width: 1024px) {
  .dmm-product {
    width: calc(50% - 20px);
  }
}
@media (max-width: 600px) {
  .dmm-product {
    width: 100%;
  }
}

/************************************
**** 全体のバランス
************************************/
.entry-content {
  padding-bottom: 0;
  margin-bottom: 0;
}
@media (max-width: 1023px){
  article > .entry-content, article > footer.article-footer {
    padding: 0 20px;
  }
}
@media screen and (max-width: 880px){
  .page-body {
    font-size: 16px;
  }
}
@media screen and (max-width: 480px){
  .page-body {
    font-size: 15px;
  }
}
.body .article {
  background-color: #121212 !important;
  border: 1px solid #222222;
  margin-bottom: 0;
}

/************************************
**** アピールエリア
************************************/
.appeal {
  padding: 0 0 .1em;
  background-color: #000000 !important;
  box-shadow: 0px 1px 4px 0 rgba(0,0,0,.5);
}
div#appeal-in.appeal-in.wrap {
  padding: 0;
  min-height: 0px;
  max-height: 35px;
}
.appeal-content {
  background-color: #1a1a1a !important;
  border-bottom: 1px solid #333333;
  margin: auto;
  padding: 0;
  max-width: 100%;
  opacity: 1;
  line-height: 1.6;
}
a.appeal-button {
  background: #ff9900 !important;
  color: #000000 !important;
  font-weight: bold;
  font-size: .85em;
  padding: 3px 20px !important;
  margin: 0;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(255,153,0,0.4);
}
.appeal-button:hover {
  background-color: #ffa826 !important;
  transform: none;
}

/************************************
**** ヘッダーメニュー
************************************/
.navi-in {
  background-color: #0e0e0e !important;
}
.navi-in > ul {
  justify-content: flex-start;
}
.navi-in > ul li {
  line-height: 40px;
  height: 40px;
}
.navi-in a {
  font-size: 15px;
  color: #ffffff !important;
}
.navi-in a:hover {
  color: #ff9900 !important;
}
.navi-in > ul .sub-menu a {
  padding: 0;
  background-color: #181818 !important;
}
.navi-in > ul .sub-menu {
  background-color: #181818 !important;
  box-shadow: 0px 4px 10px 0 rgba(0,0,0,.7);
  border: 1px solid #282828;
}
.sub-menu .caption-wrap {
  color: #ffffff !important;
  border-top: 1px solid #282828;
  background: #181818 !important;
  padding: 0 0 0 2em;
  margin: 0;
}
div#header-container {
  box-shadow: none;
}
div.item-label {
  font-weight: bold;
}

/************************************
**** おすすめカード
************************************/
div#recommended-in.recommended-in.wrap.cf {
  margin-top: 20px;
  max-height: 220px;
}
@media screen and (min-width: 1024px){
  div#recommended-in.recommended-in.wrap.cf {
    padding: 0 2em;
  }
}
.widget-entry-cards .a-wrap {
  background-color: #1a1a1a !important;
  border: 1px solid #2a2a2a;
  transition: all .2s;
}
.widget-entry-cards .a-wrap:hover {
  transform: translateY(-2px);
  border-color: #ff9900;
  box-shadow: 0 4px 12px rgba(255,153,0,0.3);
}
figure.navi-entry-card-thumb.widget-entry-card-thumb.card-thumb {
  opacity: .9;
}
a.navi-entry-card-link.widget-entry-card-link.a-wrap {
  border-radius: 8px !important;
  margin: 1em .5em;
  background-color: #1a1a1a !important;
}
div.navi-entry-card-title.widget-entry-card-title.card-title {
  color: #ffffff !important;
  font-weight: bold;
  font-size: .8em;
  background-color: rgba(0, 0, 0, 0.75) !important;
  padding: .6em .5em;
  border-radius: 4px;
}

/************************************
**** サイドバー
************************************/
#sidebar > .widget {
  background-color: #141414 !important;
  border: 1px solid #242424;
  border-radius: 8px;
  padding: 16px;
  color: #dddddd;
}
.sidebar h3 {
  color: #ffffff !important;
  border-radius: 0%;
  border-bottom: 2px solid #ff9900 !important;
  padding-bottom: 0.3em;
  margin-top: -0.2em;
  margin-bottom: 1em;
  font-weight: bold;
}
.widget_recent_entries ul li a,
.widget_categories ul li a,
.widget_archive ul li a,
.widget_pages ul li a,
.widget_meta ul li a,
.widget_rss ul li a,
.widget_nav_menu ul li a {
  background-color: #1c1c1c !important;
  color: #cccccc !important;
  margin: 6px 0;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #2a2a2a;
  display: block;
  transition: 0.2s;
}
.widget_recent_entries ul li a:hover,
.widget_categories ul li a:hover,
.widget_archive ul li a:hover,
.widget_pages ul li a:hover,
.widget_meta ul li a:hover,
.widget_rss ul li a:hover,
.widget_nav_menu ul li a:hover {
  background-color: #252525 !important;
  color: #ff9900 !important;
  border-color: #ff9900;
}
.tagcloud a,
.xili-tidy-tags a,
.xili-tidy-tags ul li a {
  background-color: #1c1c1c !important;
  color: #bbbbbb !important;
  border: 1px solid #2a2a2a !important;
  border-radius: 4px;
  padding: 4px 8px;
}
.tagcloud a:hover,
.xili-tidy-tags a:hover,
.xili-tidy-tags ul li a:hover {
  background-color: #ff9900 !important;
  color: #000000 !important;
  border-color: #ff9900 !important;
}

/************************************
**** 記事一覧グリッド（トップ・アーカイブ）
************************************/
@media screen and (min-width: 1024px) {
  #main .entry-cards {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
  }
  #main .entry-cards > .a-wrap {
    width: 100% !important;
    margin: 0 !important;
    background-color: #161616 !important;
    border: 1px solid #262626 !important;
  }
}

/* 一覧カードのタイトルとスニペット色 */
.entry-card-title {
  color: #ffffff !important;
}
.entry-card-snippet, .post-date, .post-update {
  color: #888888 !important;
}

/**************************************************
**** トップ一覧タブ切り替え ＆ ボタン（PH風）
**************************************************/
.ph-portal-top .tab-label {
  background-color: #1a1a1a !important;
  color: #aaaaaa !important;
  border: 1px solid #2a2a2a !important;
  border-bottom: none !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 10px 16px !important;
  border-radius: 6px 6px 0 0 !important;
  transition: all 0.2s ease !important;
}
.ph-portal-top .tab-radio:checked + .tab-label {
  background-color: #ff9900 !important;
  color: #000000 !important;
  border-color: #ff9900 !important;
}
.ph-portal-top .tab-content {
  background-color: #141414 !important;
  border: 1px solid #2a2a2a !important;
  border-radius: 0 6px 6px 6px !important;
  padding: 16px !important;
}
.ph-more-btn {
  display: inline-block !important;
  background-color: #ff9900 !important;
  color: #000000 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  padding: 10px 24px !important;
  border-radius: 25px !important;
  text-decoration: none !important;
  box-shadow: 0 3px 10px rgba(255, 153, 0, 0.4) !important;
  transition: transform 0.2s, background-color 0.2s !important;
}
.ph-more-btn:hover {
  background-color: #ffa826 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 14px rgba(255, 153, 0, 0.6) !important;
}
@media screen and (max-width: 600px) {
  .ph-portal-top .tab-label {
    font-size: 12px !important;
    padding: 8px 10px !important;
  }
  .ph-portal-top .tab-content {
    padding: 10px 6px !important;
  }
  .ph-more-btn {
    font-size: 12px !important;
    padding: 8px 18px !important;
  }
}

/**************************************************
**** 投稿内ボックス群の白浮き・グレー文字 一括ダーク化
**************************************************/
.entry-content .w-block {
  color: #dddddd !important;
}
.entry-content .w-block p,
.entry-content .w-block li,
.entry-content .w-block div {
  color: #dddddd;
}

/* 導入部・おすすめ枠・まとめ枠 */
.entry-content .w-block div[style*="background-color: #fef6f8"],
.entry-content .w-block div[style*="background-color:#fef6f8"] {
  background-color: #181818 !important;
  border-color: #2b2b2b !important;
  border-left-color: #ff9900 !important;
  color: #dddddd !important;
}
.entry-content .w-block div[style*="background-color: #fef6f8"] p[style*="color: #d81b60"],
.entry-content .w-block div[style*="background-color:#fef6f8"] p[style*="color:#d81b60"] {
  color: #ff9900 !important;
}

/* 目次・内部リンク枠 */
.entry-content .w-block div[style*="background-color: #f9f9f9"],
.entry-content .w-block div[style*="background-color:#f9f9f9"] {
  background-color: #161616 !important;
  border: 1px solid #282828 !important;
  color: #dddddd !important;
}
.entry-content .w-block div[style*="background-color: #f9f9f9"] div,
.entry-content .w-block div[style*="background-color: #f9f9f9"] p {
  color: #ffffff !important;
}
.entry-content .w-block div[style*="border-bottom: 2px solid #ff7eb3"] {
  border-bottom: 2px solid #ff9900 !important;
}
.entry-content .w-block div[style*="background-color: #f9f9f9"] a {
  color: #ff9900 !important;
}

/* スペックテーブルとレーティング */
.entry-content .w-block table[style*="background-color: #fff"],
.entry-content .w-block table[style*="background-color:#fff"] {
  background-color: #161616 !important;
  border: 1px solid #282828 !important;
}
.entry-content .w-block table tr {
  border-bottom: 1px solid #242424 !important;
}
.entry-content .w-block table th {
  background-color: #1f1f1f !important;
  color: #ff9900 !important;
  border-right: 1px solid #242424 !important;
}
.entry-content .w-block table td {
  background-color: #161616 !important;
  color: #eeeeee !important;
}
.entry-content .w-block div[style*="background-color: #fff0f5"],
.entry-content .w-block div[style*="background-color:#fff0f5"] {
  background-color: #181818 !important;
  border: 1px solid #2a2a2a !important;
  border-left: 4px solid #ff9900 !important;
}
.entry-content .w-block div[style*="background-color: #fff0f5"] p {
  color: #ff9900 !important;
}

/* メリット・デメリット枠 */
.entry-content .w-block div[style*="background-color: #f0f7ff"],
.entry-content .w-block div[style*="background-color:#f0f7ff"] {
  background-color: #141c24 !important;
  border: 1px solid #1f3347 !important;
  border-left: 5px solid #2196f3 !important;
}
.entry-content .w-block div[style*="background-color: #fff5f5"],
.entry-content .w-block div[style*="background-color:#fff5f5"] {
  background-color: #241514 !important;
  border: 1px solid #4a2420 !important;
  border-left: 5px solid #f44336 !important;
}
.entry-content .w-block p[style*="color: #1565c0"] { color: #64b5f6 !important; }
.entry-content .w-block p[style*="color: #c62828"] { color: #ff5252 !important; }

/* チャプター吹き出し枠 */
.entry-content .w-block div[style*="background-color: #f0f3f8"],
.entry-content .w-block div[style*="background-color:#f0f3f8"] {
  background-color: #1a1a1a !important;
  border: 1px solid #2a2a2a !important;
  border-left: 4px solid #ff9900 !important;
}
.entry-content .w-block div[style*="background-color: #f0f3f8"] p {
  color: #ffffff !important;
}

/* 寸止め枠 */
.entry-content .w-block div[style*="background-color: #fff9e6"],
.entry-content .w-block div[style*="background-color:#fff9e6"] {
  background-color: #221c14 !important;
  border: 1px solid #3d2f1d !important;
  border-left: 4px solid #ff9900 !important;
}
.entry-content .w-block div[style*="background-color: #fff9e6"] p[style*="color: #d84315"] {
  color: #ffaa33 !important;
}

/* 各見出し（H2・H3）と点線 */
.entry-content .w-block h2[style*="linear-gradient"] {
  background: #1a1a1a !important;
  border-left: 5px solid #ff9900 !important;
  color: #ffffff !important;
}
.entry-content .w-block h3[style*="color: #d81b60"] {
  color: #ffffff !important;
  border-left: 4px solid #ff9900 !important;
}
.entry-content .w-block hr[style*="dashed"] {
  border-top: 1px dashed #333333 !important;
}

/* CTAボタン（PHオレンジ×黒文字） */
.entry-content .w-block a.cta-btn,
.fanza-cta a {
  background: #ff9900 !important;
  color: #000000 !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 15px rgba(255, 153, 0, 0.4) !important;
}
.entry-content .w-block a.cta-btn span {
  color: #000000 !important;
}

/* 共通非表示設定 */
.home.page .entry-title,
.home.page .date-tags,
.home.page .author-info {
  display: none !important;
}
.dmm-campaign-banner,
.dmm-campaign-dates,
.dmm-campaign-dates .lab {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

/**************************************************
**** 新着リスト・カード一覧を1行3カラム（3列）で固定
**************************************************/

/* PC・タブレット（769px以上）：確実に1行3列で並べる */
@media screen and (min-width: 769px) {
  .ph-portal-top .ph-video-grid .widget-entry-cards,
  .ph-portal-top .ph-video-grid.widget-entry-cards,
  #main .ph-video-grid .widget-entry-cards {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important; /* 1行に3つ均等配置 */
    gap: 15px !important;                             /* カード同士の間隔 */
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 各カードの幅を100%にして枠内に収める */
  .ph-portal-top .ph-video-grid .widget-entry-cards .a-wrap,
  .ph-portal-top .ph-video-grid .a-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
}

/* スマホ（768px以下）：画面幅に応じた最適化 */
@media screen and (max-width: 768px) {
  /* スマホでも無理やり1行3列にする場合 */
  .ph-portal-top .ph-video-grid .widget-entry-cards,
  .ph-portal-top .ph-video-grid.widget-entry-cards {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr)) !important; /* スマホは2列、狭い画面では下で1列 */
    gap: 6px !important;
  }

  .ph-portal-top .ph-video-grid .card-content {
    padding: 6px 4px !important;
  }

  .ph-portal-top .ph-video-grid .card-title {
    font-size: 11px !important;
    height: 2.6em !important;
  }
}

/**************************************************
**** 木下凛々子等のスペック表・独自評価枠 一括ダーク化
**************************************************/

/* 1. レーティング枠（#fafafa や #eee の薄白枠） */
.entry-content div[style*="background-color: #fafafa"],
.entry-content div[style*="background-color:#fafafa"] {
  background-color: #181818 !important;
  border: 1px solid #282828 !important;
  border-left: 4px solid #ff9900 !important;
  border-radius: 6px !important;
  color: #dddddd !important;
}

.entry-content div[style*="background-color: #fafafa"] p,
.entry-content div[style*="background-color:#fafafa"] p {
  color: #ff9900 !important;
}

.entry-content div[style*="background-color: #fafafa"] li,
.entry-content div[style*="background-color:#fafafa"] li {
  color: #e0e0e0 !important;
}

/* 2. 基本スペック表（#fff背景、#fff0f5見出し、#ffd1dc枠線） */
.entry-content table[style*="background-color: #fff"],
.entry-content table[style*="background-color:#fff"] {
  background-color: #161616 !important;
  border: 1px solid #282828 !important;
}

.entry-content table tr[style*="border-bottom: 1px solid #ffd1dc"],
.entry-content table tr[style*="border-bottom:1px solid #ffd1dc"] {
  border-bottom: 1px solid #242424 !important;
}

.entry-content table th[style*="background-color: #fff0f5"],
.entry-content table th[style*="background-color:#fff0f5"] {
  background-color: #1f1f1f !important;
  color: #ff9900 !important;
  border-right: 1px solid #242424 !important;
}

.entry-content table td {
  background-color: #161616 !important;
  color: #eeeeee !important;
}

/* 削除：インライン背景色をすべて黒化する包括指定。記事の個別配色を破壊するため。 */

/**************************************************
**** 「おすすめな人・合わない人」フレックス2カラム枠のダーク化
**************************************************/

/* 左側：おすすめ枠（薄緑・薄青・白背景など） */
.entry-content div[style*="flex: 1 1 280px"],
.entry-content div[style*="flex:1 1 280px"] {
  background-color: #161616 !important;
  border: 1px solid #282828 !important;
  border-left: 4px solid #ff9900 !important;
  color: #dddddd !important;
}

.entry-content div[style*="flex: 1 1 280px"] p,
.entry-content div[style*="flex:1 1 280px"] p {
  color: #ff9900 !important;
}

.entry-content div[style*="flex: 1 1 280px"] li,
.entry-content div[style*="flex:1 1 280px"] li {
  color: #e0e0e0 !important;
}

/* 右側：合わないかも枠（薄赤背景 #ffebee / 枠線 #ffcdd2） */
.entry-content div[style*="#ffebee"] {
  background-color: #211211 !important;
  border: 1px solid #3d1c1a !important;
  border-left: 4px solid #e53935 !important;
  color: #dddddd !important;
}

.entry-content div[style*="#ffebee"] p,
.entry-content div[style*="#ffebee"] p[style*="color: #c62828"],
.entry-content div[style*="#ffebee"] p[style*="color:#c62828"] {
  color: #ff6e6e !important; /* 読みやすい明るいレッド */
}

.entry-content div[style*="#ffebee"] li {
  color: #d0d0d0 !important;
}

/**************************************************
**** サイドバー外枠の白背景・白いフチ完全消去
**************************************************/

/* サイドバー全体およびウィジェット枠の白背景を黒化 */
#sidebar,
.sidebar,
aside.sidebar,
.sidebar-wrapper,
#sidebar .widget,
.sidebar .widget,
.sidebar-widget-area,
.widget-sidebar {
  background-color: #0b0b0b !important; /* サイト全体の背景色に合わせる */
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* ウィジェット（各ブロック）ごとの背景と枠線 */
#sidebar > .widget,
.sidebar > .widget {
  background-color: #121212 !important; /* 各ボックスの黒背景 */
  border: 1px solid #242424 !important;  /* 控えめなグレー境界線 */
  border-radius: 8px !important;
  padding: 16px !important;
  margin-bottom: 24px !important;
  box-shadow: none !important;
}

/* サイドバー内のカード一覧・リンク背景リセット */
.sidebar .widget-entry-cards .a-wrap,
.sidebar .entry-card-wrap {
  background-color: #161616 !important;
  border-color: #262626 !important;
}


/* ============================================
   JUKUKORE / Cocoon Mobile UI patch v3
   子テーマ style.css の一番下に追加
   ショートコード設定は変更しない
   ============================================ */
:root {--jk-bg:#0b0b0b;--jk-surface:#181818;--jk-line:#383838;--jk-text:#f3f3f3;--jk-muted:#d0d0d0;--jk-accent:#ff9900;}
/* 共通の可読性 */
body .entry-content {font-size:17px;line-height:1.85;overflow-wrap:anywhere;}
body .entry-content p,body .entry-content li {line-height:1.85;}
body .entry-content a:focus-visible,body .navi-in a:focus-visible {outline:3px solid var(--jk-accent);outline-offset:3px;}
body .entry-content img {max-width:100%;height:auto;}
/* ヘッダーナビ：文字が黒くなる問題を防止 */
#navi .navi-in > ul > li > a,
#navi .navi-in .caption-wrap,
#navi .navi-in .item-label,
#navi .navi-in .item-description,
#navi .navi-in .fa,
#navi .navi-in .fas {color:#f5f5f5!important;}
#navi .navi-in > ul > li.current-menu-item > a,
#navi .navi-in > ul > li.current_page_item > a {background:#ff9900!important;color:#161616!important;}
#navi .navi-in > ul > li.current-menu-item > a *,
#navi .navi-in > ul > li.current_page_item > a * {color:#161616!important;}
#navi .navi-in > ul > li:not(.current-menu-item):not(.current_page_item) > a:hover {background:#292929!important;color:#ffb84e!important;}
#navi .navi-in .sub-menu a {color:#f5f5f5!important;background:#1b1b1b!important;}
#navi .navi-in .sub-menu a:hover {background:#2b2b2b!important;color:#ffb84e!important;}
/* ランキング固定ページ（既存ショートコード class=jk-rank-list-v2 を利用） */
.entry-content .jk-ranking-page {color:var(--jk-text)!important;}
.entry-content .jk-rank-hero {background:#181818!important;border:1px solid #363636!important;border-left:5px solid #ff9900!important;box-shadow:none!important;border-radius:12px!important;padding:22px 18px!important;margin-bottom:16px!important;}
.entry-content .jk-rank-hero h2 {background:none!important;border:0!important;padding:0!important;color:#fff!important;font-size:clamp(23px,4.4vw,32px)!important;line-height:1.42!important;margin:8px 0 12px!important;}
.entry-content .jk-rank-hero p {color:#e0e0e0!important;font-size:16px!important;line-height:1.8!important;}
.entry-content .jk-rank-eyebrow {color:#ffb84f!important;font-size:12px!important;letter-spacing:.04em;}
.entry-content .jk-rank-nav {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin:0 0 32px!important;}
.entry-content .jk-rank-nav a {display:flex!important;align-items:center!important;justify-content:center!important;min-height:48px!important;padding:10px 8px!important;border-radius:9px!important;border:1px solid #ff9900!important;background:#24201b!important;color:#fff!important;text-align:center!important;text-decoration:none!important;font-size:15px!important;font-weight:750!important;line-height:1.4!important;}
.entry-content .jk-rank-nav a:hover,.entry-content .jk-rank-nav a:focus-visible {background:#ff9900!important;color:#141414!important;}
.entry-content .jk-rank-section {scroll-margin-top:72px;}
.entry-content .jk-rank-head {margin:34px 0 16px!important;background:#222!important;border-left:5px solid #ff9900!important;border-radius:0 9px 9px 0!important;padding:16px!important;}
.entry-content .jk-rank-head h2 {color:#fff!important;background:none!important;border:0!important;padding:0!important;margin:0 0 5px!important;font-size:clamp(21px,3vw,26px)!important;}
.entry-content .jk-rank-head p {color:#d7d7d7!important;margin:0!important;font-size:15px!important;line-height:1.7!important;}
.entry-content .jk-rank-footnote {background:#191919!important;color:#d0d0d0!important;border-left:3px solid #ff9900!important;font-size:14px!important;}
/* 画像が大きいカード / 横方向スクロール禁止 */
.entry-content .jk-rank-list-v2 {width:100%!important;max-width:100%!important;overflow:visible!important;}
.entry-content .jk-rank-list-v2 .new-entry-cards,
.entry-content .jk-rank-list-v2 .widget-entry-cards,
.entry-content .jk-rank-list-v2 .entry-cards,
.entry-content .jk-rank-list-v2.new-entry-cards,
.entry-content .jk-rank-list-v2.widget-entry-cards,
.entry-content .jk-rank-list-v2.entry-cards {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px!important;overflow:visible!important;min-width:0!important;max-width:100%!important;}
.entry-content .jk-rank-list-v2 .a-wrap {width:100%!important;max-width:100%!important;min-width:0!important;display:block!important;float:none!important;margin:0!important;background:#1d1d1d!important;border:1px solid #393939!important;border-radius:12px!important;color:#fff!important;box-shadow:none!important;overflow:hidden!important;}
.entry-content .jk-rank-list-v2 .card-content,.entry-content .jk-rank-list-v2 .new-entry-card-content,.entry-content .jk-rank-list-v2 .widget-entry-card-content {background:#1d1d1d!important;padding:14px 15px 17px!important;}
.entry-content .jk-rank-list-v2 .card-title,.entry-content .jk-rank-list-v2 .new-entry-card-title,.entry-content .jk-rank-list-v2 .widget-entry-card-title {color:#fff!important;background:none!important;position:static!important;font-size:17px!important;font-weight:800!important;line-height:1.65!important;height:auto!important;max-height:none!important;overflow:visible!important;white-space:normal!important;display:block!important;}
.entry-content .jk-rank-list-v2 figure,.entry-content .jk-rank-list-v2 .card-thumb,.entry-content .jk-rank-list-v2 .new-entry-card-thumb {width:100%!important;max-width:100%!important;margin:0!important;aspect-ratio:16/9!important;overflow:hidden!important;}
.entry-content .jk-rank-list-v2 figure img,.entry-content .jk-rank-list-v2 .card-thumb img,.entry-content .jk-rank-list-v2 .new-entry-card-thumb img {display:block!important;width:100%!important;height:100%!important;aspect-ratio:16/9!important;object-fit:cover!important;box-shadow:none!important;}
.entry-content .jk-rank-list-v2 .post-date,.entry-content .jk-rank-list-v2 .post-update {color:#c7c7c7!important;font-size:13px!important;}
/* 投稿：提供HTMLの最外周ダークdivに限定。元のリンク・動画URLは変更しない */
.entry-content > div[style*="background-color: #161616"] {color:#eee!important;max-width:100%;overflow-wrap:anywhere;}
.entry-content > div[style*="background-color: #161616"] h2 {font-size:clamp(20px,4.8vw,25px)!important;line-height:1.5!important;padding:13px 14px!important;border-left:5px solid #ff9900!important;color:#ffb343!important;}
.entry-content > div[style*="background-color: #161616"] h3 {font-size:19px!important;line-height:1.6!important;color:#ffb343!important;}
.entry-content > div[style*="background-color: #161616"] h4 {font-size:17px!important;line-height:1.5!important;}
.entry-content > div[style*="background-color: #161616"] table {width:100%!important;max-width:100%!important;table-layout:fixed!important;border-collapse:collapse!important;font-size:15px!important;overflow-wrap:anywhere!important;word-break:normal!important;}
.entry-content > div[style*="background-color: #161616"] table th {width:34%!important;background:#242424!important;color:#ffb343!important;padding:12px 10px!important;vertical-align:top!important;text-align:left!important;}
.entry-content > div[style*="background-color: #161616"] table td {width:66%!important;background:#161616!important;color:#f2f2f2!important;padding:12px 10px!important;vertical-align:top!important;}
.entry-content > div[style*="background-color: #161616"] table th,.entry-content > div[style*="background-color: #161616"] table td {border-bottom:1px solid #383838!important;}
.entry-content > div[style*="background-color: #161616"] iframe {display:block;max-width:100%;border:0!important;}
.entry-content > div[style*="background-color: #161616"] a[rel~="sponsored"] {text-decoration:none;}
.entry-content > div[style*="background-color: #161616"] a[rel~="sponsored"][style*="background-color: #ff9900"] {display:inline-flex!important;justify-content:center!important;align-items:center!important;min-height:52px!important;max-width:400px!important;width:90%!important;font-size:16px!important;line-height:1.5!important;color:#141414!important;background:#ff9900!important;}
.entry-content > div[style*="background-color: #161616"] ul li {margin-bottom:7px;}
@media(max-width:767px){
  body .entry-content {font-size:16px!important;line-height:1.85!important;}
  article > .entry-content,article > footer.article-footer {padding-left:12px!important;padding-right:12px!important;}
  .entry-content .jk-rank-list-v2 .new-entry-cards,.entry-content .jk-rank-list-v2 .widget-entry-cards,.entry-content .jk-rank-list-v2 .entry-cards,.entry-content .jk-rank-list-v2.new-entry-cards,.entry-content .jk-rank-list-v2.widget-entry-cards,.entry-content .jk-rank-list-v2.entry-cards {grid-template-columns:minmax(0,1fr)!important;gap:17px!important;}
  .entry-content .jk-rank-nav {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .entry-content .jk-rank-list-v2 .card-title,.entry-content .jk-rank-list-v2 .new-entry-card-title,.entry-content .jk-rank-list-v2 .widget-entry-card-title {font-size:17px!important;}
  .entry-content > div[style*="background-color: #161616"] {padding:12px!important;font-size:16px!important;}
  .entry-content > div[style*="background-color: #161616"] table {font-size:14.5px!important;}
  .entry-content > div[style*="background-color: #161616"] table th {width:35%!important;padding:11px 8px!important;}
  .entry-content > div[style*="background-color: #161616"] table td {width:65%!important;padding:11px 8px!important;}
}
@media(max-width:360px){.entry-content .jk-rank-nav {grid-template-columns:minmax(0,1fr)!important;}}


/* JUKUKORE / FANZA iframe動画専用：追加CSSの末尾に設置 */
/* 動画枠は720:480=3:2。記事の他のiframeは変更しない。 */
.entry-content .jk-fanza-video {
  position: relative !important;
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 720px !important;
  aspect-ratio: 3 / 2 !important;
  height: auto !important;
  padding: 0 !important;
  margin: 16px auto 26px !important;
  overflow: hidden !important;
  border-radius: 8px;
  background: #000;
}
.entry-content .jk-fanza-video iframe {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}
@supports not (aspect-ratio: 3 / 2) {
  .entry-content .jk-fanza-video {height: 0 !important;padding-top: 66.6667% !important;}
}

/* Cocoon子テーマ style.css の末尾に追加。固定ページのクラス内のみ適用 */
.jk-category-portal {max-width:1080px;margin:0 auto;color:#20354b;}
.jk-category-portal *, .jk-category-portal *::before, .jk-category-portal *::after {box-sizing:border-box;}
.jk-category-portal .jk-rank-hero {padding:clamp(24px,5vw,46px);background:#17324c!important;border-radius:16px;color:#fff!important;margin:0 0 18px;}
.jk-category-portal .jk-rank-hero h1 {font-size:clamp(24px,3vw,34px);line-height:1.4;color:#fff!important;margin:12px 0!important;}
.jk-category-portal .jk-rank-hero p {color:#eef2f6!important;line-height:1.8;margin:0!important;}
.jk-category-portal .jk-rank-eyebrow {color:#ffca7f!important;font-size:12px;letter-spacing:.08em;font-weight:700;}
.jk-category-portal .jk-rank-nav {display:flex;flex-wrap:wrap;gap:9px;margin:0 0 26px;}
.jk-category-portal .jk-rank-nav a {display:inline-block;text-decoration:none!important;background:#fff0d6!important;color:#17324c!important;border:1px solid #eacb98;border-radius:999px;padding:10px 15px;font-size:14px;font-weight:700;}
.jk-category-portal .jk-rank-nav a:hover {background:#ff9900!important;color:#151515!important;}
.jk-category-portal .jk-portal-section {scroll-margin-top:80px;margin:30px 0 18px;}
.jk-category-portal .jk-rank-head {padding:16px 20px;border-left:5px solid #ea8e16;background:#fff2dc!important;border-radius:9px;}
.jk-category-portal .jk-rank-head.is-blue {background:#eaf5fb!important;border-color:#237a9d;}
.jk-category-portal .jk-rank-head.is-teal {background:#e8f7f1!important;border-color:#25816b;}
.jk-category-portal .jk-rank-head.is-purple {background:#f2edfb!important;border-color:#7960a5;}
.jk-category-portal .jk-rank-head.is-amber {background:#fff2dc!important;border-color:#ea8e16;}
.jk-category-portal .jk-rank-head h2 {color:#17324c!important;background:none!important;padding:0!important;margin:0 0 6px!important;border:0!important;font-size:clamp(19px,2.5vw,24px);}
.jk-category-portal .jk-rank-head p {color:#30465a!important;margin:0!important;line-height:1.75;}
.jk-category-portal .jk-theme-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0;}
.jk-category-portal .jk-theme-card {padding:18px;background:#fff!important;border:1px solid #e4d7c4;border-radius:12px;color:#17324c!important;text-decoration:none!important;display:flex;flex-direction:column;gap:6px;}
.jk-category-portal .jk-theme-card strong {font-size:16px;color:#17324c!important;}
.jk-category-portal .jk-theme-card span {font-size:13px;color:#485c6c!important;}
.jk-category-portal .jk-portal-setup {padding:12px;background:#fff9e8!important;color:#654d25!important;border-radius:8px;font-size:13px;}
.jk-category-portal .jk-rank-footnote {color:#45596b!important;font-size:13px;line-height:1.7;}
/* Cocoon new_listの生成箇所はclass付与位置が環境により異なるため両方に対応 */
.jk-rank-list-v2.widget-entry-cards, .jk-rank-list-v2 .widget-entry-cards {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px!important;overflow:visible!important;}
.jk-rank-list-v2 .a-wrap, .jk-rank-list-v2.widget-entry-cards>.a-wrap {width:100%!important;min-width:0!important;margin:0!important;display:block!important;}
.jk-rank-list-v2 .card-thumb, .jk-rank-list-v2 .card-thumb img {width:100%!important;}
.jk-rank-list-v2 .card-thumb img {height:auto!important;aspect-ratio:16/9;object-fit:cover;}
@media(max-width:767px){.jk-category-portal .jk-theme-grid,.jk-rank-list-v2.widget-entry-cards,.jk-rank-list-v2 .widget-entry-cards{grid-template-columns:1fr!important}.jk-category-portal .jk-rank-nav a{font-size:13px;padding:9px 12px}}
