/* 最終CTAセクション */
.final-cta {
  background: #f9f3eb;
}

.final-cta__container {
  width: 100%;
  height: 100%;
  background: #ffd04d;
  border-radius: 0 300px 0 0;
  position: relative;
  padding: 100px 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.final-cta__title-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
}

/* ヘッダー */
.final-cta__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.final-cta__lines {
  width: 30px;
  height: 49px;
  object-fit: contain;
  flex-shrink: 0;
}

.final-cta__lines__lines {
  transform: rotate(180deg);
}

.final-cta__title {
  text-align: center;
}

.final-cta__title-main {
  font-weight: bold;
  font-size: 54px;
  line-height: 1.5;
  color: #ffffff;
}

.final-cta__title-highlight {
  font-weight: bold;
  font-size: 54px;
  line-height: 1.5;
  color: #ff6666;
}

.final-cta__subtitle {
  font-weight: bold;
  font-size: 23.625px;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
}

/* スマートフォン画面 */
.final-cta__phone {
  width: 380px;
  height: 387px;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.final-cta__phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 説明文 */
.final-cta__description {
  text-align: center;
  margin-bottom: 40px;
}

.final-cta__description p {
  font-weight: bold;
  font-size: 24px;
  line-height: 1.5;

  margin: 0;
}

/* CTAボタン */
.final-cta__button-wrapper {
  display: flex;
  justify-content: center;
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
  .final-cta__container {
    padding: 80px 40px;
  }
}

@media (max-width: 768px) {
  .final-cta {
    min-height: 812px;
  }

  .final-cta::before {
    border-radius: 0 100px 0 0;
    height: 812px;
  }

  .final-cta__container {
    border-radius: 0 100px 0 0;
    padding: 44px 24px 40px;
    height: 812px;
  }

  .final-cta__header {
    gap: 15px;
    height: 62px;
    margin-bottom: 31px;
  }

  .final-cta__lines {
    width: 15.364px;
    height: 29px;
  }

  .final-cta__title-main,
  .final-cta__title-highlight {
    font-size: 32px;
  }

  .final-cta__subtitle {
    font-size: 14px;
    white-space: normal;
  }

  .final-cta__phone {
    width: 342px;
    height: 349px;
    margin-bottom: 40px;
    border-radius: 40px;
    overflow: hidden;
  }

  .final-cta__description {
    margin-bottom: 54px;
    max-width: 342px;
  }

  .final-cta__description p {
    font-size: 16px;
  }

  .final-cta__button-wrapper {
    max-width: 342px;
    width: 100%;
  }

  /* CTAボタンのレスポンシブスタイルはcta-button.cssに移行しました */
}
