/* ========== CTAセクション ========== */
.cta-section {
  background-color: var(--color-bg-alt); /* 淡いグレーに変更 */
  padding: 80px 20px;
}

.cta-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-text {
  flex: 1 1 500px;
}

.cta-heading {
  font-size: 2rem;
  color: var(--color-text);
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.cta-description {
  font-size: 1.125rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* === ボタン部分：コーラルレッドに変更 === */
.cta-button {
  display: inline-block;
  background-color: var(--color-danger); /* コーラルレッド */
  color: var(--color-white);
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 9999px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: var(--color-danger-hover); /* 濃い赤 */
}

.cta-image {
  flex: 1 1 400px;
  text-align: center;
}

.cta-image img {
  max-width: 100%;
  height: auto;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .cta-container {
    flex-direction: column;
    text-align: center;
  }

  .cta-text,
  .cta-image {
    flex: 1 1 100%;
  }

  .cta-button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}

/* スマホ詳細調整 */
@media (max-width: 768px) {
  .cta-container {
    flex-direction: column;
    text-align: left;
  }

  .cta-text {
    text-align: left;
    font-size: 0.95rem;
  }

  .cta-heading {
    font-size: 1.5rem;
  }

  .cta-description {
    font-size: 1rem;
  }

  .cta-button {
    width: 100%;
    max-width: 280px;
    font-size: 1rem;
  }
}
