/*
|---------------------------------------------------------------
| qinc2026-cta-newsletter.css - ニュースレターCTA
|---------------------------------------------------------------
*/

/* ==========================================================================
   Section
   ========================================================================== */
.cta-newsletter {
  background-color: #1e2c63;
  padding: 100px 0;
}

.cta-newsletter__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ==========================================================================
   Title & Lead
   ========================================================================== */
.cta-newsletter__title {
  margin: 0 0 24px;
  font-family: var(--font-family-ja);
  font-weight: 700;
  font-size: 34px;
  line-height: 1;
  color: var(--color-white);
}

.cta-newsletter__lead {
  margin: 0 0 48px;
  font-family: var(--font-family-ja);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.25;
  color: var(--color-blue-light);
}

/* ==========================================================================
   Form
   ========================================================================== */
.cta-newsletter__form {
  display: flex;
  gap: 0;
  width: 100%;
  max-width: 448px;
}

.cta-newsletter__input {
  flex: 1;
  height: 48px;
  padding: 0 16px;
  border: none;
  border-radius: 4px 0 0 4px;
  background-color: var(--color-white);
  font-family: var(--font-family-ja);
  font-weight: 350;
  font-size: 16px;
  line-height: 48px;
  color: var(--color-blue01);
  outline: none;
}

.cta-newsletter__input::placeholder {
  color: #9ca3af;
}

.cta-newsletter__btn {
  flex: 0 0 80px;
  height: 48px;
  border: none;
  border-radius: 0 4px 4px 0;
  background-color: var(--color-gold);
  font-family: var(--font-family-ja);
  font-weight: 700;
  font-size: 16px;
  line-height: 48px;
  color: var(--color-white);
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.cta-newsletter__btn:hover {
  opacity: 0.85;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media screen and (max-width: 1024px) {
  .cta-newsletter {
    padding: 80px 0;
  }

  .cta-newsletter__title {
    font-size: 28px;
  }
}

@media screen and (max-width: 768px) {
  .cta-newsletter {
    padding: 60px 0;
  }

  .cta-newsletter__title {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .cta-newsletter__lead {
    font-size: 14px;
    margin-bottom: 32px;
  }

  .cta-newsletter__form {
    max-width: 100%;
  }

  .cta-newsletter__input {
    font-size: 14px;
  }

  .cta-newsletter__btn {
    font-size: 14px;
  }
}
