/* ============================================================
   FANZA VR Plugin - カスタムCSS
   WordPressの「外観 > カスタマイズ > 追加CSS」に貼り付けるか
   子テーマの style.css に追記してください
   ============================================================ */

/* ----------------------------------------------------------
   価格ボックス
   ---------------------------------------------------------- */
.fdap-price-box {
  position: relative;
  overflow: hidden;
}

/* セール中バッジ */
.fdap-price-box::before {
  content: "SALE";
  position: absolute;
  top: 10px;
  right: -22px;
  background: #e00;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 1px;
  padding: 3px 28px;
  transform: rotate(45deg);
}

/* 定価（取り消し線） */
.fdap-price-box p:first-child {
  font-size: 13px !important;
  color: #aaa !important;
  letter-spacing: 0.5px;
}

/* セール価格 */
.fdap-price-box p:nth-child(2) {
  font-size: 32px !important;
  background: linear-gradient(135deg, #e00, #c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 2px rgba(200,0,0,0.2));
}

/* レビュー星 */
.fdap-price-box p:last-child {
  color: #f5a623 !important;
  font-size: 16px !important;
  letter-spacing: 2px;
}

/* ----------------------------------------------------------
   アフィリエイトボタン（[aff-button] / .content1）
   ---------------------------------------------------------- */
.content1 .wp-block-button__link {
  background: linear-gradient(180deg, #ff4444 0%, #cc0000 50%, #aa0000 100%) !important;
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  letter-spacing: 2px !important;
  padding: 18px 32px !important;
  border-radius: 8px !important;
  border-bottom: 5px solid #770000 !important;
  box-shadow: 0 4px 16px rgba(200, 0, 0, 0.4), 0 2px 6px rgba(0,0,0,0.2) !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3) !important;
  transition: transform 0.1s, box-shadow 0.1s !important;
  position: relative;
}

.content1 .wp-block-button__link:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(200, 0, 0, 0.5), 0 4px 8px rgba(0,0,0,0.3) !important;
}

.content1 .wp-block-button__link:active {
  transform: translateY(2px) !important;
  border-bottom-width: 2px !important;
  box-shadow: 0 2px 8px rgba(200, 0, 0, 0.3) !important;
}

/* ボタンのアイコン（FANZAを強調） */
.content1 .wp-block-button__link::before {
  content: "▶ ";
  font-size: 14px;
}

/* ----------------------------------------------------------
   人物情報カード内のボタン
   ---------------------------------------------------------- */
.fdap-actress-card-wrap .content1 .wp-block-button__link {
  font-size: 15px !important;
  padding: 12px 24px !important;
}

/* ----------------------------------------------------------
   スマホ対応
   ---------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .fdap-price-box p:nth-child(2) {
    font-size: 26px !important;
  }

  .content1 .wp-block-button__link {
    font-size: 16px !important;
    padding: 16px 20px !important;
    letter-spacing: 1px !important;
  }
}
