/* contact.css */
body { background: #ffffff; color: var(--navy); }

/* ステップウィザード */
.cs-step { display: none; }
.cs-step--visible {
  display: block;
  animation: cs-fade-up 0.38s ease forwards;
}
@keyframes cs-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.contact { min-height: calc(100vh - 65px); }
.contact__container {
  max-width: 700px; margin: 0 auto; padding: 52px 24px 80px;
}

.contact__hero { margin-bottom: 40px; }
.contact__title {
  font-family: var(--font-sans);
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 700;
  color: var(--navy); line-height: 1.35; margin-bottom: 12px;
}
.contact__sub { font-size: 15px; color: var(--gray-500); line-height: 1.8; }

.contact__section-head {
  font-size: 11px; letter-spacing: 3px; font-weight: 700;
  color: var(--gold); text-transform: uppercase;
  border-top: 1px solid var(--gray-100);
  padding-top: 24px; margin: 30px 0 16px;
}
.contact__section-head:first-of-type { border-top: none; padding-top: 0; }

/* お問い合わせ種別 */
.inquiry-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: 4px;
}
.inquiry-type {
  display: flex; align-items: flex-start;
  gap: 11px; padding: 14px 15px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 4px; cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.inquiry-type:hover { border-color: var(--navy); }
.inquiry-type--selected {
  border-color: var(--navy);
  background: rgba(30,46,83,.04);
}
.inquiry-type__icon { font-size: 20px; line-height: 1; }
.inquiry-type__label {
  font-size: 13px; font-weight: 700;
  color: var(--navy); display: block; margin-bottom: 2px;
}
.inquiry-type__desc { font-size: 11px; color: var(--gray-500); }

/* 送信ボタン */
.contact__privacy-note {
  font-size: 12px; color: var(--gray-500);
  line-height: 1.8; margin-bottom: 22px;
  padding: 14px 16px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 4px;
}

.contact__privacy-text {
  margin-bottom: 14px;
}

.contact__policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact__policy-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: #fff;
  border: 1px solid rgba(30,46,83,.14);
  border-radius: 999px;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.contact__policy-links a::after {
  content: "↗";
  font-size: 11px;
  color: var(--gold);
}

.contact__consent {
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(30,46,83,.12);
  border-radius: 8px;
  background: #fff;
}

.contact__consent--error {
  border-color: rgba(192,57,43,.35);
  background: rgba(192,57,43,.04);
}

.contact__consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--navy);
  line-height: 1.7;
}

.contact__consent-label input {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-submit {
  width: 100%; padding: 16px;
  background: var(--navy);
  color: var(--white); border: none;
  border-radius: 4px; font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(30,46,83,.2);
  letter-spacing: .5px;
}
.btn-submit:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30,46,83,.3);
}

.contact__submit-area { margin-top: 38px; }

/* 完了ページ */
.thanks {
  background: #ffffff; min-height: calc(100vh - 65px);
  display: flex; align-items: center; justify-content: center;
}
.thanks__content {
  text-align: center; padding: 48px 24px; max-width: 540px;
}
.thanks__mark {
  width: 78px; height: 78px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px; font-size: 30px; color: var(--white);
}
.thanks__title {
  font-family: var(--font-sans);
  font-size: 28px; font-weight: 700;
  color: var(--navy); margin-bottom: 14px;
}
.thanks__sub {
  font-size: 15px; color: var(--gray-500);
  line-height: 1.85; margin-bottom: 36px;
}
.thanks__info {
  background: rgba(30,46,83,.04);
  border: 1px solid rgba(30,46,83,.1);
  border-radius: 6px; padding: 22px; margin-bottom: 28px;
  text-align: left;
}
.thanks__info-title {
  font-size: 11px; letter-spacing: 2px; font-weight: 700;
  color: var(--gold); margin-bottom: 14px;
}
.thanks__detail {
  display: flex; justify-content: space-between;
  font-size: 13px; padding: 8px 0;
  border-bottom: 1px solid rgba(30,46,83,.07);
  color: var(--gray-500);
}
.thanks__detail:last-child { border-bottom: none; }
.thanks__detail strong { color: var(--navy); font-weight: 700; }

@media (max-width: 640px) {
  .inquiry-types { grid-template-columns: 1fr; }

  .contact__policy-links {
    flex-direction: column;
  }

  .contact__policy-links a {
    width: 100%;
    justify-content: center;
  }
}
