/* =========================================================
   Project : はじめのいちだま
   File    : 09-final-cta.css
   Version : 1.9.7
   Updated : 2026-08-05

   Responsibility:
   - Final CTA layout and dedicated presentation
   - CTA typography remains independent from shared section headings
========================================================= */

.ht-cta {
  padding: clamp(40px, 4vw, 56px) 0;
  border-top: 0;
  background: var(--ht-color-primary);
}

.ht-cta__inner {
  width: min(calc(100% - 48px), 960px);
  margin-inline: auto;
  padding: clamp(40px, 5vw, 56px);
  border: 0;
  background: var(--ht-color-surface);
  text-align: center;
}

.ht-cta__title {
  width: 100%;
  max-width: 820px;
  margin-inline: auto !important;
  color: var(--ht-color-text);
  font-size: clamp(2.25rem, 3.5vw, 3rem);
  font-weight: var(--ht-font-weight-extra-bold);
  line-height: 1.4;
  letter-spacing: -0.035em;
  text-align: center !important;
  text-wrap: balance;
}

.ht-cta__title::after {
  display: block;
  width: 48px;
  height: 3px;
  margin: 18px auto 0;
  background: var(--ht-color-primary);
  content: "";
}

.ht-cta__text {
  max-width: 680px;
  margin: 20px auto 0;
  color: var(--ht-color-text-sub);
  line-height: 1.85;
  text-align: center;
}

.ht-cta__microcopy {
  display: inline-flex;
  margin: 28px 0 12px;
  color: var(--ht-color-primary);
  font-size: clamp(0.9375rem, 0.9rem + 0.18vw, 1.0625rem);
  font-weight: var(--ht-font-weight-extra-bold);
  line-height: 1.6;
  letter-spacing: var(--ht-letter-spacing-label);
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.ht-cta__microcopy::before,
.ht-cta__microcopy::after {
  display: block;
  flex: 0 0 auto;
  width: 9px;
  height: 22px;
  background: currentColor;
  clip-path: polygon(0 0, 55% 0, 100% 100%);
  content: "" !important;
}

.ht-cta__microcopy::after {
  transform: scaleX(-1);
}

.ht-cta__actions {
  display: flex;
  margin-top: 0;
  justify-content: center;
}

.ht-cta__button {
  width: min(100%, 430px);
  min-height: 66px;
  padding-inline: 30px;
  font-size: 1.0625rem;
}

.ht-cta__note {
  margin: 14px 0 0;
  color: var(--ht-color-text-muted);
  font-size: var(--ht-font-size-note);
  line-height: 1.7;
  text-align: center;
}

@media (max-width: 767px) {
  .ht-cta {
    padding: 32px 0;
  }

  .ht-cta__inner {
    width: min(calc(100% - 24px), 960px);
    padding: 32px 18px;
    text-align: center;
  }

  .ht-cta__title {
    max-width: 12em;
    font-size: clamp(1.9rem, 8.2vw, 2.35rem);
    line-height: 1.42;
    text-align: center !important;
  }

  .ht-cta__title::after {
    width: 42px;
    margin: 16px auto 0;
  }

  .ht-cta__text {
    max-width: 31em;
    margin-top: 16px;
    text-align: center;
  }

  .ht-cta__microcopy {
    margin: 24px 0 10px;
    font-size: 0.9375rem;
    gap: 10px;
  }

  .ht-cta__microcopy::before,
  .ht-cta__microcopy::after {
    width: 8px;
    height: 19px;
  }

  .ht-cta__actions {
    width: 100%;
    margin-top: 0;
  }

  .ht-cta__button {
    width: 100%;
    max-width: 430px;
    min-height: 60px;
    padding: 14px 16px;
  }

  .ht-cta__note {
    max-width: 32em;
    margin-inline: auto;
  }
}

/* =========================================================
   File Information
   Updated : 2026-08-05 JST
   Status  : Latest
========================================================= */