@charset "UTF-8";
/* ============================================================
   導入事例一覧：事例紹介資料DL CTA（v3.3.5）
   - 料金/トップFVと同じ「吹き出し＋大型ボタン」型
   - 青いタイトル領域と白い本文領域の境界に、中央で被せる
   - 絞り込みボックス(leadKaburi)の被り(-100px)は解除し、少し上げる
   - is_post_type_archive('case') 条件読込（header.php）。他ページ影響なし
   ============================================================ */

/* CTAコンテナ：中央配置・境界に被せる */
.caseDlCta {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: -46px auto 0;     /* ボタン中心が青白の境界に来るよう食い込ませる */
  padding: 0 5%;
}

/* 吹き出し（料金FV型）：ボタン上端に重なる訴求 */
.caseDlCta-bubble {
  position: relative;
  z-index: 2;
  pointer-events: none;
  display: inline-block;
  background: #fff;
  color: #08061A;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 10px 26px;
  border-radius: 999px;
  margin-bottom: -13px;
  letter-spacing: .02em;
  box-shadow: 0 4px 14px rgba(8, 6, 26, 0.16);
  transition: all 0.2s;
}
.caseDlCta-bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border: 9px solid transparent;
  border-top-color: #fff;
  border-bottom: 0;
  transition: all 0.2s;
}

/* ボタン本体：料金FV型（大型・白枠・影） */
.caseDlCta .btn-flat.is-orange {
  width: auto;
  min-width: 360px;
  height: 72px;
  font-size: 2.2rem;
  padding: 10px 40px;
  border: 2px solid #fff;
  box-shadow: 0 6px 18px rgba(245, 123, 61, 0.35);
}
/* 「無料」バッジ（料金FVと同一仕様） */
.caseDlCta .fvBadge {
  display: inline-block;
  background: #fff;
  color: #F57B3D;
  font-size: 1.3rem;
  font-weight: 800;
  padding: 3px 13px;
  border-radius: 999px;
  margin-right: 13px;
  line-height: 1.3;
  transition: all 0.2s;
}
@media (hover: hover) {
  .caseDlCta .btn-flat.is-orange:hover {
    transform: translateY(-2px);
    border-color: #F57B3D;
    box-shadow: 0 10px 24px rgba(245, 123, 61, 0.45);
  }
  /* ホバー時はボタンが白転換するためバッジを反転（料金FVと同一） */
  .caseDlCta .btn-flat:hover .fvBadge {
    background: #F57B3D;
    color: #fff;
  }
  /* ホバーで吹き出しも連動 */
  .caseDlCta:has(.btn-flat:hover) .caseDlCta-bubble {
    background: #F57B3D;
    color: #fff;
    transform: translateY(-2px);
  }
  .caseDlCta:has(.btn-flat:hover) .caseDlCta-bubble::after {
    border-top-color: #F57B3D;
  }
}

/* 絞り込みボックス：被り(-100px)解除＋補助コピー削除分つめて少し上げる */
.leadKaburi.caseSummary {
  margin-top: 8px;
}

@media (max-width: 767px) {
  .caseDlCta {
    margin: -52px auto 0;
    padding: 0 4%;
    width: 100%;
  }
  .caseDlCta-bubble {
    font-size: 1.3rem;
    padding: 8px 20px;
    margin-bottom: -12px;
  }
  .caseDlCta .btn-flat.is-orange {
    min-width: 0;
    width: 100%;
    max-width: 360px;
    height: 64px;
    font-size: 1.7rem;
    padding: 10px 16px;
  }
  .leadKaburi.caseSummary {
    margin-top: 4px;
  }
}
