/* ============================================================
   contact.css — お問い合わせページ固有スタイル
============================================================ */

/* ----------------------------------------------------------
   Page Hero
---------------------------------------------------------- */
.cnt-hero {
  margin-top: var(--header-height);
  background: var(--color-bg-gray);
  min-height: 288px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}

.cnt-hero__inner {
  text-align: center;
}

.cnt-hero__en {
  font-family: 'Manrope', sans-serif;
  font-size: 48px;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 2.4px;
  line-height: 1;
  margin-bottom: 20px;
}

.cnt-hero__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 3.6px;
  line-height: 1;
  margin-bottom: 20px;
}

.cnt-hero__triangles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--color-primary);
  font-size: 12px;
}

/* ----------------------------------------------------------
   Inner / Sections
---------------------------------------------------------- */
.cnt-inner {
  max-width: 848px;
  margin: 0 auto;
  padding: 0 24px;
}

.cnt-section--tel {
  padding: 120px 0 80px;
}

.cnt-section--form {
  padding: 120px 0 120px;
}

/* ----------------------------------------------------------
   Section Head (label + heading)
---------------------------------------------------------- */
.cnt-section-head {
  text-align: center;
  margin-bottom: 64px;
}

.cnt-label-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}

.cnt-label-icon {
  width: 8px;
  height: 6px;
  transform: rotate(90deg);
  display: block;
  flex-shrink: 0;
}

.cnt-label {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.8px;
  line-height: 1;
}

.cnt-section-heading {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 4.8px;
  line-height: 1;
}

/* ----------------------------------------------------------
   Body Text
---------------------------------------------------------- */
.cnt-body {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text);
  line-height: 2;
}

.cnt-body--note {
  margin-top: 32px;
}

/* ----------------------------------------------------------
   Phone Card
---------------------------------------------------------- */
.cnt-tel-card {
  max-width: 610px;
  margin: 32px auto 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.cnt-tel-card__icon {
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cnt-tel-card__number {
  font-family: 'Manrope', sans-serif;
  font-size: 40px;
  font-weight: 500;
  color: #3b320f;
  line-height: 1;
  letter-spacing: 1px;
}

/* ----------------------------------------------------------
   Section Head (form) — reduced margin
---------------------------------------------------------- */
.cnt-section--form .cnt-section-head {
  margin-bottom: 80px;
}

/* ----------------------------------------------------------
   Intro Text
---------------------------------------------------------- */
.cnt-intro {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text);
  line-height: 2;
  margin-bottom: 32px;
}

.cnt-intro__link {
  color: #2172e3;
  text-decoration: underline;
}

/* ----------------------------------------------------------
   Form Layout
---------------------------------------------------------- */
.cnt-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cnt-field {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ----------------------------------------------------------
   Field Label Row
---------------------------------------------------------- */
.cnt-field__label-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cnt-field__name {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1;
}

/* ----------------------------------------------------------
   Badges
---------------------------------------------------------- */
.cnt-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 3px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  line-height: 1;
  flex-shrink: 0;
}

.cnt-badge--required {
  background: #ed6a02;
}

.cnt-badge--optional {
  background: #888;
}

/* ----------------------------------------------------------
   Text Inputs
---------------------------------------------------------- */
.cnt-input {
  width: 100%;
  height: 48px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text);
  padding: 0 16px;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s;
}

.cnt-input:focus {
  border-color: var(--color-primary);
}

.cnt-input::placeholder {
  color: #888;
}

.cnt-input--zip {
  width: 160px;
}

/* ----------------------------------------------------------
   Textarea
---------------------------------------------------------- */
.cnt-textarea {
  width: 100%;
  height: 160px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text);
  padding: 12px 16px;
  box-sizing: border-box;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s;
}

.cnt-textarea:focus {
  border-color: var(--color-primary);
}

.cnt-textarea::placeholder {
  color: #888;
}

/* ----------------------------------------------------------
   Submit Button
---------------------------------------------------------- */
.cnt-submit-wrap {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.cnt-btn {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  background: var(--color-primary);
  color: #fff;
  height: 48px;
  padding: 0 16px 0 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  transition: background 0.2s;
}

.cnt-btn:hover {
  background: var(--color-primary-dark);
}

.cnt-btn__icon {
  display: block;
  width: 20px;
  height: 15px;
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   Header — Active link
---------------------------------------------------------- */
.header__nav-link--active {
  color: var(--color-primary);
}

/* ----------------------------------------------------------
   Mobile (≤768px)
---------------------------------------------------------- */
@media (max-width: 768px) {
  .cnt-hero {
    padding: 56px 0 48px;
  }

  .cnt-hero__en {
    font-size: 40px;
  }

  .cnt-hero__title {
    font-size: 16px;
  }

  .cnt-section--tel {
    padding: 48px 0 40px;
  }

  .cnt-section--form {
    padding: 48px 0 60px;
  }

  .cnt-section-head {
    margin-bottom: 32px;
  }

  .cnt-label {
    font-size: 13px;
  }

  .cnt-section-heading {
    font-size: 24px;
  }

  .cnt-body,
  .cnt-intro {
    font-size: 16px;
  }

  .cnt-tel-card {
    max-width: 100%;
    height: auto;
    padding: 24px 20px;
    flex-direction: column;
    gap: 12px;
  }

  .cnt-tel-card__number {
    font-size: 28px;
  }

  .cnt-field__name {
    font-size: 16px;
  }

  .cnt-input,
  .cnt-textarea {
    font-size: 16px;
  }

  .cnt-input--zip {
    width: 140px;
  }
}
