/* =============================================================
 * Shared: contact CTA section + button (pill with arrow icon)
 * Used at page bottoms on solution / cc1 / mt1.
 * Mobile first (~ 767px) / PC layout from 768px
 *
 * Depends on the host page CSS providing:
 *   .contact-icon, .contact-icon__bg, .contact-icon__arrow
 * (defined in cc1.css / mt1.css / solution.css).
 * ============================================================= */

/* -----------------------------------------------------------
 * Contact button (pill with arrow icon)
 * ----------------------------------------------------------- */
.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 61px;
  margin: 0 auto;
  padding: 0 20px;
  border: 1px solid var(--color-gray-200);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-foreground);
  background-color: var(--color-white);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.contact-btn:hover {
  background-color: var(--color-foreground);
  color: var(--color-white);
  --contact-icon-bg: var(--color-white);
  --contact-icon-arrow: var(--color-foreground);
}

/* -----------------------------------------------------------
 * Contact CTA section
 * ----------------------------------------------------------- */
.contact-cta {
  background-color: var(--color-background);
  padding: 40px 20px;
}

.contact-cta__inner {
  max-width: 1040px;
  margin: 0 auto;
  background-color: var(--color-white);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.contact-cta__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.contact-cta__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.contact-cta__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}

.contact-cta__title {
  font-size: 20px;
  font-weight: 600;
}

.contact-cta__text {
  font-size: 14px;
  font-weight: 300;
  line-height: 160%;
  text-align: left;
}

.contact-cta .br-pc {
  display: none;
}

/* =============================================================
 * PC (>= 768px)
 * ============================================================= */
@media (min-width: 768px) {
  .contact-btn {
    height: 64px;
    font-size: 16px;
    max-width: 328px;
  }

  .contact-cta {
    padding: 60px 0;
  }

  .contact-cta__inner {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    text-align: left;
    padding: 60px;
  }

  .contact-cta__body {
    align-items: flex-start;
    gap: 32px;
    flex: 1 1 auto;
  }

  .contact-cta__head {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }

  .contact-cta__title {
    font-size: 32px;
  }

  .contact-cta__text {
    font-size: 20px;
  }

  .contact-cta__inner .contact-btn {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    min-width: 328px;
    margin: 0;
  }

  .contact-cta .br-pc {
    display: inline;
  }
}
