@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(3, 1fr) !important; /* スマホも1行3列 */
    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;
}

/**************************************************
**** 投稿内ボックス・テーブルの白背景＆薄グレー完全消滅CSS
**************************************************/

/* 1. 投稿本文内のすべての薄色・白背景ブロックを強制ダーク化 */
.entry-content .w-block div[style*="background-color"],
.entry-content .w-block div[style*="background:"] {
  background-color: #161616 !important;
  border-color: #282828 !important;
  color: #dddddd !important;
}

/* 2. 枠内のすべてのテキスト・リスト・段落の白文字化 */
.entry-content .w-block div[style*="background-color"] p,
.entry-content .w-block div[style*="background-color"] span,
.entry-content .w-block div[style*="background-color"] li,
.entry-content .w-block div[style*="background-color"] div,
.entry-content .w-block div[style*="background:"] p,
.entry-content .w-block div[style*="background:"] span,
.entry-content .w-block div[style*="background:"] li {
  color: #dddddd !important;
}

/* 3. 目次・あらすじ・スペック表・評価枠のアクセント境界線をオレンジ化 */
.entry-content .w-block div[style*="border-left"] {
  border-left-color: #ff9900 !important;
}
.entry-content .w-block div[style*="border-bottom: 2px solid"] {
  border-bottom-color: #ff9900 !important;
}

/* 4. 目次リンク・内部リンクの色をオレンジに統一 */
.entry-content .w-block div[style*="background-color"] a {
  color: #ff9900 !important;
}

/* 5. テーブル（スペック表）の完全黒化 */
.entry-content .w-block table,
.entry-content .w-block table tr,
.entry-content .w-block table td {
  background-color: #161616 !important;
  border-color: #282828 !important;
  color: #eeeeee !important;
}
.entry-content .w-block table th {
  background-color: #1f1f1f !important;
  border-color: #282828 !important;
  color: #ff9900 !important;
}

/* 6. 特殊ボックス（メリット・デメリット・寸止め・吹き出し）の個別調色 */
/* メリット枠（控えめなダークグリーン） */
.entry-content .w-block div[style*="#f0fbf5"] {
  background-color: #111e16 !important;
  border: 1px solid #1c3826 !important;
  border-left: 5px solid #2e7d32 !important;
}
.entry-content .w-block div[style*="#f0fbf5"] p { color: #81c784 !important; }

/* デメリット枠（控えめなダークレッド） */
.entry-content .w-block div[style*="#fff8f6"],
.entry-content .w-block div[style*="#fff5f5"] {
  background-color: #211211 !important;
  border: 1px solid #3d1c1a !important;
  border-left: 5px solid #d84315 !important;
}
.entry-content .w-block div[style*="#fff8f6"] p,
.entry-content .w-block div[style*="#fff5f5"] p { color: #ff8a65 !important; }

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

/* 寸止め注意枠 */
.entry-content .w-block div[style*="#fff9e6"] {
  background-color: #221a10 !important;
  border: 1px solid #3d2b15 !important;
  border-left: 4px solid #ff9900 !important;
}
.entry-content .w-block div[style*="#fff9e6"] p { color: #ffb74d !important; }

/* 7. CTAボタン（黒背景×オレンジ発光ボタンを保持） */
.entry-content .w-block a.cta-btn {
  background: #ff9900 !important;
  color: #000000 !important;
  box-shadow: 0 4px 15px rgba(255, 153, 0, 0.4) !important;
}
.entry-content .w-block a.cta-btn span {
  color: #000000 !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;
}