@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ（MELT NIGHTS 統合版）
Template: cocoon-master
Version: 1.1.4
*/

/************************************
** 0. レスポンシブデザイン（スマホ・タブレット設定）
************************************/
/* 834px以下：スマホ&タブレットのh1余白調整 */
@media screen and (max-width: 834px){
  .article h1{
    padding: 10px 5px;
  }
}

/* 480px以下：内部ブログカードの文字サイズ調整 */
@media screen and (max-width: 480px){
  .blogcard-title{
    font-size: 1.05em;
  }
}

/************************************
** 1. 記事・インデックス上部の余白リセット
************************************/
#main, .content { margin-top: 5px; }
.article h1 {
  margin-top: 0 !important;
  padding-top: 0;
  margin-bottom: 4px;
}
.home main, .archive main { padding-top: 1px; }
.entry-content { margin-bottom: 0em; }

/************************************
** 2. パーツ非表示・微調整設定
************************************/
.cat-label, .entry-card .cat-label, .tag-caption .fa-tag, .archive-title :before, .grecaptcha-badge { display: none; }
.internal-blogcard-footer, .internal-blogcard-snippet { display: none; }
.a-wrap .blogcard { border-color: #ddd; border-width: 2px; }
.widget_categories ul li a { border-bottom: 1px dashed #CCCCCC; }
#navi-footer li { border: none; }

/************************************
** 3. サイト固有のカラーカスタマイズ 【★ネイビー系】
************************************/
/* PC：サイトタイトルの色・太さ */
.site-name-text, .site-name-text a {
    font-size: 34px;
    font-weight: bold;
    color: #ffffff !important; /* PCロゴの色 */
    text-decoration: none;
}

/* スマホ：ヘッダー内の★サイズ・文字色・ロゴサイズ（魔法のコード） */
.mobile-header-menu-buttons :is(.navi-menu-button, .logo-menu-button > a, .search-menu-button) {
    color: #ffffff !important; /* スマホロゴを白に強制 */
    font-size: 20px !important;
    font-weight: bold;
}

/* H2見出し：★下線の色を変更 */
.article h2 {
    border-bottom: solid 3px #232f5f; 
    background: none; padding: 0.4em; color: #2d2d2d; margin-top: 0;
}

/* 記事内のh3（★背景＋文字色） */
.article h3{ 
  background: #232f5f;
  color: #FFFFFF;
  margin-top: 0;
}

/* Cocoon赤ボックス(bb-red)を★変更 */
.blank-box.bb-red { border-color: #232f5f; }
.blank-box.bb-tab.bb-red .bb-label { background-color: #d32f2f; }

/* モバイルメニュー背景★変更 ★ナビは薄くする */
.mobile-menu-buttons { background: #232f5f; color: #ffffff; }
.navi-menu-content { background: #bbe2f1; color: #ffffff; }

/************************************
** 4. テーブル・ボタン・固定ページの投稿日非表示・その他（共通）
************************************/
.page .date-tags{display:none;}
.wp-block-table table { border-width: 2px 0px; border-color: rgba(0,0,0,.5); }
.wp-block-table td, .wp-block-table th { border-color: #e0e0e0 !important; border-width: 1px 0px; background-color: white; }
.wp-block-table th { background-color: #f7f9f9; width: 90px; }
.btn-l, .ranking-item-link-buttons a { font-size: 20px; }
.btn[class*=btn-], .ranking-item-link-buttons a[class*=btn-] { box-shadow: 0 5px 5px rgba(0, 0, 0, .25); }
.breadcrumb-home, .breadcrumb-item, .breadcrumb-caption { color: #666; font-size: 14px; }
.breadcrumb-caption { font-weight: bold; }
.go-to-top-button { width: 40px; height: 40px; border-radius: 50%; opacity: 0.8; }
blockquote { background: #f7f7f7; border-radius: 5px; border-color: #f7f7f7; }
/* 記事本文エリアに出力されたFANZAクレジットロゴを非表示にする */
.entry-content p a[href="https://affiliate.dmm.com/api/"] { display: none !important; }


/************************************
** 5. トップページ：HEROセクション（看板部分）
************************************/
.mn-hero * { box-sizing: border-box; }

.mn-hero {
  background: #232f5f;
  padding: 50px 30px;
  margin: 60px auto;
  border-radius: 18px;
  text-align: center;
  overflow: hidden;
}

.mn-overlay {
  max-width: 1000px;
  margin: 0 auto;
}

.mn-sub {
  color: #cfd6ff;
  font-size: 14px;
  letter-spacing: 4px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.mn-title {
  color: #ffffff !important;
  font-size: 72px !important;
  line-height: 1.2;
  letter-spacing: 8px;
  margin: 0 0 30px !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  font-weight: 700;
}

.mn-message {
  color: #d9def5;
  font-size: 22px;
  line-height: 1.8;
  margin-bottom: 55px;
}

.mn-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.mn-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 58px;
  padding: 0 28px;
  background: rgba(255,255,255,0.08);
  color: #ffffff !important;
  text-decoration: none !important;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 16px;
  font-weight: 500;
  line-height: 1 !important;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  transition: 0.3s;
}

.mn-btn:hover {
  background: rgba(255,255,255,0.18);
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* HEROセクション：スマホ最適化 */
@media screen and (max-width: 768px){
  .mn-hero {
    padding: 20px 18px;
    margin: 25px auto 35px;
    border-radius: 14px;
  }
  .mn-sub {
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 12px;
  }
  .mn-title {
    font-size: 34px !important;
    letter-spacing: 2px;
    margin-bottom: 18px !important;
  }
  .mn-message {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 28px;
  }
  .mn-buttons {
    gap: 10px;
  }
  .mn-btn {
    width: 100%;
    max-width: 240px;
    height: 48px;
    margin: 0 auto;
    font-size: 14px;
  }
}

/************************************
** 6. トップページ：今夜のおすすめ（カード＆タブ）
************************************/
.mn-section {
  margin: 70px auto;
}

.mn-section-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 12px;
  color: #232f5f;
}

.mn-section-sub {
  text-align: center;
  color: #666;
  margin-bottom: 40px;
}

/* タブデザイン */
.mn-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 45px;
}

.mn-tab {
  padding: 12px 22px;
  border-radius: 999px;
  background: #f4f6fc;
  color: #232f5f;
  font-size: 14px;
  cursor: pointer;
}

.mn-tab.active {
  background: #232f5f;
  color: #ffffff;
}

/* カードグリッドデザイン */
.mn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.mn-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.mn-thumb img {
  width: 100%;
  display: block;
}

.mn-card-body {
  padding: 24px;
}

.mn-card-category {
  color: #7d89b8;
  font-size: 13px;
  margin-bottom: 12px;
}

.mn-card-title {
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 24px;
  color: #222;
}

.mn-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: #232f5f;
  color: #ffffff !important;
  text-decoration: none !important;
  transition: 0.3s;
}

.mn-card-btn:hover {
  opacity: 0.85;
}

/* 今夜のおすすめ：スマホ最適化 */
@media screen and (max-width: 768px){
  .mn-section {
    margin: 45px auto;
  }
  .mn-section-title {
    font-size: 28px;
  }
  .mn-section-sub {
    font-size: 14px;
    margin-bottom: 28px;
  }
  .mn-tabs {
    gap: 8px;
    margin-bottom: 30px;
  }
  .mn-tab {
    font-size: 13px;
    padding: 10px 16px;
  }
  .mn-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .mn-card-body {
    padding: 18px;
  }
  .mn-card-title {
    font-size: 17px;
  }
}