/* =========================
   AntQuiz CTA
========================= */

.antquiz-cta {
  width: 100%;
}

.antquiz-cta__inner {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  background-image: var(--antquiz-bg);
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);

  /* ★ 追加：中身を中央寄せ */
  display: flex;
  align-items: center;      /* 縦方向センター */
  justify-content: center;  /* 横方向センター */
}

.antquiz-cta__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.35) 45%,
    rgba(0,0,0,0.55) 100%
  );
}

/* ★ 追加：中身を1つの塊として中央寄せするためのラッパー想定 */
.antquiz-cta__inner > * {
  position: relative;
  z-index: 1;
}

/* 見出し */
.antquiz-cta__headline {
  padding: 0 22px 14px;
  color: #fff;

  /* ★ 追加：テキスト中央寄せ */
  text-align: center;
}

.antquiz-cta__q {
  font-size: 22px;
  letter-spacing: 0.06em;
  opacity: 0.95;
  margin-bottom: 6px;
}

.antquiz-cta__title {
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-wrap: balance;
}

/* 4択 */
.antquiz-cta__choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;

  /* ★ 変更：センター寄せ */
  margin: 0 auto;
  padding: 22px 10px;
  width: min(720px, calc(100% - 44px));
}

/* ★ 変更：白枠線のみ（塗りつぶしなし） */
.antquiz-cta__choice {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  border-radius: 12px;
  text-decoration: none;

  color: #fff;
  background: transparent;
  border: 1.3px solid rgba(255,255,255,0.92);

  letter-spacing: 0.06em;

  transition: transform 140ms ease, background 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
  box-shadow: 0 10px 26px rgba(0,0,0,0.22);
}

.antquiz-cta__choice:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,1);
}

.antquiz-cta__choice:active {
  transform: translateY(0px);
  background: rgba(255,255,255,0.08);
}

/* SP最適化 */
@media (max-width: 600px) {
  .antquiz-cta__inner {
    min-height: 240px;
  }

  .antquiz-cta__headline {
    padding: 0 16px 10px;
  }

  .antquiz-cta__title {
    font-size: 12px;
  }

  .antquiz-cta__choices {
    padding: 10px;
    gap: 14px;
    width: min(720px, calc(100% - 32px));
  }

  .antquiz-cta__choice {
    height: 38px;
    border-radius: 12px;
    font-size: 12px;
  }
}

