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

/* カスタマイズする場合にはこれより下に追記してください  */
/* 同人LAB：CTAボタン共通 */
.doujin-cta-buttons {
  justify-content: center;
  margin: 28px 0 42px;
}

/* 同人LAB：ボタン共通 */
.doujin-btn .wp-block-button__link {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none !important;
  transition:
    opacity 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

/* 同人LAB：ボタンhover共通 */
.doujin-btn .wp-block-button__link:hover {
  opacity: 0.92;
}

/* 同人LAB：作品詳細ボタン 外枠 */
.doujin-btn-detail {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

/* 同人LAB：作品詳細ボタン */
.doujin-btn-detail .wp-block-button__link {
  display: block;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  box-sizing: border-box;

  background: #e98f9a;
  color: #ffffff !important;
  border: 2px solid #e58f8f;

  box-shadow: 0 4px 12px rgba(229, 143, 143, 0.35);
  transform-origin: center center;
  animation: doujinCtaPulseEffect 1.2s ease-in-out infinite;
  will-change: transform;
}

/* 同人LAB：作品詳細ボタン hover */
.doujin-btn-detail .wp-block-button__link:hover,
.doujin-btn-detail .wp-block-button__link:focus {
  background: #df7f8c;
  color: #ffffff !important;
  border-color: #df7f8c;
  box-shadow: 0 6px 16px rgba(223, 127, 140, 0.42);
  text-decoration: none !important;
}

/* 同人LAB：作品詳細ボタン active */
.doujin-btn-detail .wp-block-button__link:active {
  animation: none;
  transform: scale(1);
  box-shadow: 0 3px 8px rgba(223, 127, 140, 0.3);
}

/* 同人LAB：作品詳細CTA pulse */
@keyframes doujinCtaPulseEffect {
  0%, 100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.04);
  }
}

/* スマホ：はみ出し防止優先 */
@media screen and (max-width: 600px) {
  .doujin-cta-buttons {
    margin: 24px 0 38px;
    padding: 0 12px;
    box-sizing: border-box;
  }

  .doujin-btn-detail .wp-block-button__link {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 14px 14px;
    font-size: 15px;
    animation: none;
  }
}
/* 同人LAB：Xボタン */
.doujin-btn-x .wp-block-button__link {
  background: #111;
  color: #fff !important;
  border: 1px solid #333;
}

/* 同人LAB：Xボタン hover */
.doujin-btn-x .wp-block-button__link:hover {
  border-color: #f0a0a0;
}

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

/* アーカイブ女優ページ */
.circle-archive-title {
    margin: 0 0 24px;
    font-size: 28px;
    line-height: 1.45;
    font-weight: 700;
}

@media screen and (max-width: 600px) {
    .circle-archive-title {
        font-size: 22px;
        line-height: 1.5;
        margin-bottom: 20px;
    }
}

/* 同人LAB：FANZA広告用 H2直前ウィジェット */
.doujin-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: #fffafa;
  border: 1px solid rgba(233, 143, 154, 0.24);
  border-radius: 8px;
  overflow: hidden;
}

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

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

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

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

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

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