/* =========================
   CTA 完全リセット版（置き換え用）
========================= */

.reform-cta {
  background: #f7f8fb !important;

  /* ★天地左右を完全統一（ここが基準） */
  padding: 60px !important;

  margin: 60px auto !important;
  border-radius: 8px;
  box-sizing: border-box;
}

/* =========================
   中央レイアウト
========================= */
.reform-cta .cta-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  gap: 50px !important;

  max-width: 980px;
  margin: 0 auto !important;
  padding: 0 !important;
  box-sizing: border-box;
}

/* =========================
   画像
========================= */
.reform-cta .cta-image {
  flex: 0 0 220px;
  margin: 0 !important;
  padding: 0 !important;
}

.reform-cta .cta-image img {
  display: block;
  width: 220px !important;
  height: 220px !important;
  object-fit: cover;
  border-radius: 6px;
}

/* =========================
   テキスト
========================= */
.reform-cta .cta-content {
  flex: 1;
  min-width: 0;
}

/* タイトル */
.reform-cta .cta-content h2 {
  font-size: 26px;
  margin: 0 0 12px 0 !important;
}

/* =========================
   p（中央寄せ完全安定版）
========================= */
.reform-cta .cta-content p {
  text-align: center !important;

  /* 横幅制御（中央ブロック化） */
  max-width: 520px;
  margin: 0 auto 20px auto !important;

  line-height: 1.9 !important;
  display: block;
}

/* =========================
   ボタン
========================= */
.reform-cta .cta-buttons {
  text-align: center;
}

.reform-cta .cta-btn {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid #8f9ebf;
  color: #8f9ebf;
  text-decoration: none;
  transition: 0.3s;
}

.reform-cta .cta-btn.main {
  background: #8f9ebf;
  color: #fff;
}

/* =========================
   サブCTA
========================= */
.reform-cta .cta-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* =========================
   スマホ
========================= */
@media (max-width: 768px) {

  .reform-cta {
    padding: 40px 20px !important;
  }

  .reform-cta .cta-inner {
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
  }

  .reform-cta .cta-image img {
    width: 100% !important;
    height: 180px !important;
  }

  .reform-cta .cta-content p {
    max-width: 100%;
  }
}