/* ============================================
   お問い合わせページ専用スタイル
   contact.css
   モバイルファースト / ブレークポイント: 768px
   ============================================ */

.header_nav_item.is_current {
  color: var(--color_main);
  border-bottom: 2px solid var(--color_main);
  padding-bottom: 2px;
}

/* ============================================
   ページヒーロー（SP）
   ============================================ */
.ct_hero {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.ct_hero_bg {
  position: absolute;
  inset: 0;
}

.ct_hero_bg picture,
.ct_hero_bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.9);
}

.ct_hero_inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  height: 100%;
  padding: 0 6vw;
}

.ct_hero_title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  border-left: 4px solid var(--color_main);
  padding-left: 16px;
}

.ct_hero_sub {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.85);
  padding-left: 20px;
}

/* ============================================
   連絡先情報（SP）
   ============================================ */
.ct_info {
  background: var(--color_main);
  padding: 36px 0;
}

.ct_info_inner {
  padding: 0 6vw;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.ct_info_tel,
.ct_info_mail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.ct_info_tel_label,
.ct_info_mail_label {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.04em;
}

.ct_info_tel_row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.ct_info_tel_pre {
  font-size: 1.25rem;
  font-weight: 400;
  color: #fff;
}

.ct_info_tel_num {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.ct_info_tel_hours {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

.ct_info_mail_addr {
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}

.ct_info_mail_note {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

.ct_info_divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  font-weight: 600;
  width: 100%;
  max-width: 300px;
}

.ct_info_divider::before,
.ct_info_divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.3);
}

/* ============================================
   フォームセクション（SP）
   ============================================ */
.ct_form_section {
  background: #f7f9fc;
  padding: 60px 0 80px;
}

.ct_form_inner {
  padding: 0 6vw;
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.ct_form_wrap {
  background: var(--color_white);
  border-radius: 12px;
  padding: 32px 20px 40px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ct_form_note {
  font-size: 0.875rem;
  color: var(--color_gray);
  margin-bottom: 28px;
  line-height: 1.6;
}

.ct_required_mark {
  color: #c0392b;
  margin-right: 2px;
}

/* フォームグループ */
.ct_form_group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.ct_form_group:last-of-type {
  margin-bottom: 0;
}

/* ラベル */
.ct_form_label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color_black);
  line-height: 1.4;
}

/* バッジ */
.ct_badge_required {
  display: inline-block;
  background: #c0392b;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  line-height: 1.5;
  flex-shrink: 0;
}

.ct_badge_any {
  display: inline-block;
  background: var(--color_gray);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  line-height: 1.5;
  flex-shrink: 0;
}

/* インプット共通 */
.ct_form_input,
.ct_form_textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: var(--font_family);
  color: var(--color_black);
  background: #f9fafb;
  border: 1.5px solid #d0d8e4;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.ct_form_input:focus,
.ct_form_textarea:focus {
  border-color: var(--color_main);
  background: #fff;
}

.ct_form_input::placeholder,
.ct_form_textarea::placeholder {
  color: #b0b8c4;
  font-size: 0.9375rem;
}

.ct_form_input_half {
  max-width: 280px;
}

.ct_form_textarea {
  resize: vertical;
  min-height: 160px;
  line-height: 1.8;
}

/* ラジオボタン */
.ct_form_radios {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ct_radio_label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--color_black);
  cursor: pointer;
  line-height: 1.4;
}

.ct_radio_label input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color_main);
  cursor: pointer;
  flex-shrink: 0;
}

/* プライバシー */
.ct_form_group_privacy {
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid #eee;
}

.ct_checkbox_label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--color_black);
  cursor: pointer;
  line-height: 1.4;
}

.ct_checkbox_label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color_main);
  cursor: pointer;
  flex-shrink: 0;
}

/* 送信ボタン */
.ct_form_submit {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

.ct_submit_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 400px;
  height: 64px;
  background: var(--color_main);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
  font-family: var(--font_family);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity 0.2s;
  box-shadow: 0 4px 12px rgba(26,60,128,0.25);
}

.ct_submit_btn:hover {
  opacity: 0.85;
}

/* ============================================
   PC レイアウト（768px 以上）
   ============================================ */
@media (min-width: 768px) {

  /* ヒーロー */
  .ct_hero {
    height: 240px;
  }

  .ct_hero_title {
    font-size: 2.5rem;
    padding-left: 24px;
  }

  .ct_hero_sub {
    font-size: 1.0625rem;
    padding-left: 28px;
  }

  /* 連絡先情報 */
  .ct_info_inner {
    flex-direction: row;
    justify-content: center;
    gap: 60px;
    padding: 0 60px;
  }

  .ct_info_divider {
    flex-direction: column;
    width: auto;
    height: 80px;
    max-width: none;
  }

  .ct_info_divider::before,
  .ct_info_divider::after {
    width: 1px;
    height: 100%;
    flex: 1;
  }

  .ct_info_tel_num {
    font-size: 2.25rem;
  }

  /* フォーム */
  .ct_form_inner {
    padding: 0 60px;
  }

  .ct_form_wrap {
    padding: 48px 56px 56px;
  }

  .ct_form_radios {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 32px;
  }

  .ct_submit_btn {
    max-width: 480px;
    height: 70px;
    font-size: 1.25rem;
  }
}
