/*
	Theme Name: diver_child
	Template: diver
	Description:  Diverの子テーマです。
	Theme URI: http://tan-taka.com/diver/
	Author: Takato Takagi
 */

/* カスタマイズする場合にはこれより下に追記してください  */
/* 妄想中：作品詳細CTA */
.mousouchu-cta-wrap {
  width: 100%;
  margin: 24px auto;
  padding: 6px 14px;
  box-sizing: border-box;
  text-align: center;
  overflow: visible;
}

.mousouchu-cta {
  display: block;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  padding: 15px 22px;
  box-sizing: border-box;

  background-color: #c4476d;
  color: #ffffff !important;
  border: 2px solid #c4476d;
  border-radius: 8px;

  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none !important;

  box-shadow: 0 4px 12px rgba(196, 71, 109, 0.28);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;

  --mousouchu-cta-y: 0;
  animation: mousouchuPulseEffect 1.2s ease-in-out infinite;
  transform-origin: center center;
  will-change: transform;
}

.mousouchu-cta:hover,
.mousouchu-cta:focus {
  background-color: #a93659;
  border-color: #a93659;
  color: #ffffff !important;
  text-decoration: none !important;
  --mousouchu-cta-y: -1px;
  box-shadow: 0 6px 16px rgba(169, 54, 89, 0.35);
}

.mousouchu-cta:active {
  animation: none;
  transform: translateY(0) scale(1);
  box-shadow: 0 3px 8px rgba(169, 54, 89, 0.3);
}

@keyframes mousouchuPulseEffect {
  0%, 100% {
    transform: translateY(var(--mousouchu-cta-y)) scale(1);
  }

  50% {
    transform: translateY(var(--mousouchu-cta-y)) scale(1.04);
  }
}

@media screen and (max-width: 600px) {
  .mousouchu-cta-wrap {
    margin: 20px auto;
    padding: 6px 14px;
  }

  .mousouchu-cta {
    max-width: 100%;
    padding: 14px 12px;
    font-size: 15px;
    border-radius: 7px;
  }
}
/* 妄想中：Xボタン共通 */
.mousouchu-cta-buttons {
  justify-content: center;
  margin: 25px 0 40px;
}

/* 妄想中：ボタン共通 */
.mousouchu-btn .wp-block-button__link {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

/* 妄想中：ボタンhover共通 */
.mousouchu-btn .wp-block-button__link:hover {
  opacity: 0.86;
  transform: translateY(-1px);
}

/* 妄想中：Xボタン */
.mousouchu-btn-x .wp-block-button__link {
  background: #111;
  color: #fff !important;
  border: 1px solid #333;
}

/* 妄想中：Xボタン hover */
.mousouchu-btn-x .wp-block-button__link:hover {
  border-color: #b99762;
}

/* チャット用のCSS*/

.dmm-banner-box {
  text-align: center;
  margin: 24px auto;
}

.dmm-banner-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #444;
}

.dmm-banner-box iframe {
  display: block;
  border: 0;
  margin: 0 auto;
}

.dmm-banner-wide {
  width: 640px;
  max-width: 100%;
  overflow: hidden;
}

.dmm-banner-wide iframe {
  width: 640px !important;
  height: 200px !important;
  max-width: 100%;
}

.dmm-banner-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 24px auto;
}

.dmm-banner-square {
  width: 300px;
  max-width: 100%;
  overflow: hidden;
}

.dmm-banner-square iframe {
  width: 300px !important;
  height: 250px !important;
}

/* 投稿ページのアイキャッチ画像キャプションを非表示 */
.single-post figure.single_thumbnail figcaption {
  display: none !important;
}

/* オトナの深夜LAB：女優名ページの「記事一覧」をH1に置き換え用のCSS */
.actress-archive-title {
    margin: 0 0 24px;
    font-size: 28px;
    line-height: 1.45;
    font-weight: 700;
}

@media screen and (max-width: 600px) {
    .actress-archive-title {
        font-size: 22px;
        line-height: 1.5;
        margin-bottom: 20px;
    }
}
/* 妄想中：FANZA広告用 H2直前ウィジェット */
.mousouchu-fanza-widget-wrap {
  clear: both;
  width: 100%;
  max-width: 100%;
  margin: 30px auto;
  padding: 14px 12px;
  box-sizing: border-box;
  text-align: center;
  background: #fafafa;
  border: 1px solid rgba(196, 71, 109, 0.12);
  border-radius: 8px;
  overflow: hidden;
}

.mousouchu-fanza-widget-label {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.3;
  color: #777;
  text-align: center;
  letter-spacing: 0.04em;
}

.mousouchu-fanza-widget-inner {
  margin: 0 auto;
  padding: 0;
}

.mousouchu-fanza-widget-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: #444;
  text-align: center;
}

.mousouchu-fanza-widget-wrap iframe,
.mousouchu-fanza-widget-wrap img {
  max-width: 100%;
}

.mousouchu-fanza-widget-wrap iframe {
  display: block;
  margin: 0 auto;
  border: 0;
}

@media screen and (max-width: 600px) {
  .mousouchu-fanza-widget-wrap {
    margin: 24px auto;
    padding: 12px 8px;
    border-radius: 7px;
  }
}

/* サイドバーアダルトランキング */
.adultblog-ranking-box {
  margin: 0;
  padding: 16px 16px 20px;
  text-align: center;
  font-size: 13px;
  background: #fff;
}

.adultblog-ranking-box a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 11px 20px;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  background: #fff;
  color: #555;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
}

.adultblog-ranking-box a:hover {
  border-color: #bfc7dc;
  color: #2f3f70;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.10);
  transform: translateY(-1px);
}

/* ランキング記事一覧：ビュー数を小さく表示 */
.sc_article .sc_article_views {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.3;
  color: #333355;
  font-weight: normal;
}

/* リスト型ランキング用 */
.sc_article.list .meta .sc_article_views {
  font-size: 12px;
  margin-top: 2px;
}

/* スマホではさらに少し小さく */
@media screen and (max-width: 599px) {
  .sc_article .sc_article_views {
    font-size: 11px;
  }
}