/* ============================================================
   contact.css — お問い合わせページ
   ============================================================ */


/* コンテナ */
.nd-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================
   電話案内セクション
============================ */
.ct-phone-section {
  padding: 64px 0 56px;
  background: #fff;
  text-align: center;
}

.ct-phone-lead {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 28px;
}

.ct-phone-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 680px;
  margin: 0 auto;
  background: #0095B5;
  border-radius: 12px;
  padding: 28px 40px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.ct-phone-card:hover { opacity: 0.85; }

.ct-phone-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.ct-phone-text { text-align: left; }

.ct-phone-num {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.05em;
  line-height: 1;
}

.ct-phone-hours {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.05em;
  line-height: 1;
  margin-top: 8px;
}


/* ============================
   フォームセクション
============================ */
.ct-form-section {
  padding: 0 0 88px;
  background: #fff;
}

/* フォームフィールドカード（薄青背景） */
.ct-form-card {
  background: #F1F8FC;
  border-radius: 16px;
  padding: 48px 56px;
  margin-bottom: 40px;
}

/* フォーム行 */
.ct-form-row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 28px;
}

.ct-form-row--last { margin-bottom: 0; }

/* ラベル列 */
.ct-form-label {
  width: 190px;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  padding-top: 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  line-height: 1.5;
}

/* 必須バッジ */
.ct-required {
  display: inline-block;
  background: #e53e3e;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
  line-height: 1.5;
  white-space: nowrap;
}

/* 入力エリア */
.ct-form-input-wrap {
  flex: 1;
  min-width: 0;
}

/* テキスト入力 */
.ct-input {
  width: 100%;
  border: 1px solid #b8ccd8;
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 14px;
  background: #fff;
  color: var(--navy);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
  box-sizing: border-box;
}

.ct-input::placeholder,
.ct-textarea::placeholder {
  color: #c0c8d0;
}

.ct-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(41, 171, 226, 0.15);
}

/* テキストエリア */
.ct-textarea {
  width: 100%;
  height: 180px;
  border: 1px solid #b8ccd8;
  border-radius: 4px;
  padding: 12px 14px;
  font-size: 14px;
  background: #fff;
  color: var(--navy);
  outline: none;
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
  box-sizing: border-box;
}

.ct-textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(41, 171, 226, 0.15);
}

/* チェックボックスグループ */
.ct-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 8px;
}

.ct-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--navy);
  cursor: pointer;
}

.ct-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  cursor: pointer;
  accent-color: var(--teal);
  flex-shrink: 0;
}

/* 住所 */
.ct-address-postal {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.ct-postal-mark {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  flex-shrink: 0;
}

.ct-input--postal { width: 148px; }

.ct-address-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}


/* ============================
   個人情報・同意
============================ */
.ct-privacy {
  margin-bottom: 28px;
}

.ct-privacy-heading {
  font-size: 14px;
  font-weight: 700;
  color: #0C2C5D;
  margin-bottom: 12px;
}

.ct-privacy-text {
  font-size: 13px;
  color: #444;
  line-height: 1.85;
  margin-bottom: 6px;
}

.ct-privacy-link {
  font-size: 13px;
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ct-privacy-link:hover { opacity: 0.75; }

/* 同意チェックボックス */
.ct-consent-wrap {
  margin-bottom: 44px;
}

.ct-consent-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--navy);
  cursor: pointer;
}

.ct-consent-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  cursor: pointer;
  accent-color: var(--teal);
  flex-shrink: 0;
}


/* ============================
   送信ボタン
============================ */
.ct-submit-wrap {
  display: flex;
  justify-content: center;
  padding-bottom: 8px;
}

.ct-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 680px;
  padding: 44px 40px;
  background: #0C2C5D;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 1px;
  transition: opacity 0.2s;
}

.ct-submit-btn:hover { opacity: 0.85; }

.ct-submit-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.ct-submit-arrow {
  font-size: 22px;
  position: absolute;
  right: 40px;
}


/* ============================
   RESPONSIVE — Tablet (≤ 1024px)
============================ */
@media (max-width: 1024px) {
  .ct-form-card { padding: 40px 40px; }
}


/* ============================
   RESPONSIVE — Mobile (≤ 768px)
============================ */
@media (max-width: 768px) {
  .ct-phone-section { padding: 28px 0 24px; }

  .ct-phone-lead { font-size: 13px; margin-bottom: 14px; }

  .ct-phone-card {
    padding: 16px 20px;
    gap: 12px;
    border-radius: 10px;
  }

  .ct-phone-icon { width: 32px; height: 32px; }
  .ct-phone-num { font-size: 20px; }
  .ct-phone-hours { font-size: 11px; margin-top: 4px; }

  .ct-form-section { padding: 0 0 40px; }

  .ct-form-card {
    padding: 20px 14px;
    border-radius: 10px;
    margin-bottom: 24px;
  }

  .ct-form-row {
    flex-direction: column;
    gap: 6px;
    margin-bottom: 30px;
  }

  .ct-form-input-wrap { width: 100%; }

  .ct-form-row--last { margin-bottom: 0; }

  .ct-form-label {
    width: auto;
    padding-top: 0;
    justify-content: flex-start;
    font-size: 13px;
    gap: 6px;
  }

  .ct-required { font-size: 10px; padding: 1px 5px; }

  .ct-input { padding: 8px 10px; font-size: 16px; width: 100%; }
  .ct-textarea { padding: 8px 10px; font-size: 16px; height: 120px; width: 100%; }

  .ct-checkbox-group { gap: 8px; padding-top: 4px; }
  .ct-checkbox-label { font-size: 13px; gap: 8px; }
  .ct-checkbox-label input[type="checkbox"] { width: 16px; height: 16px; }

  .ct-address-postal { margin-bottom: 6px; }
  .ct-address-group { gap: 6px; }
  .ct-input--postal { width: 130px; }

  .ct-privacy { margin-bottom: 16px; }
  .ct-privacy-heading { font-size: 13px; margin-bottom: 8px; }
  .ct-privacy-text { font-size: 11px; line-height: 1.7; margin-bottom: 4px; }
  .ct-privacy-link { font-size: 11px; }

  .ct-consent-wrap { margin-bottom: 24px; }
  .ct-consent-label { font-size: 13px; }

  .ct-submit-btn {
    font-size: 16px;
    padding: 20px 20px;
    border-radius: 10px;
  }

  .ct-submit-arrow { font-size: 16px; right: 20px; }
}
