/* ==========================================
   CONTACT PAGE STYLES
   デザイントークン:
   - Navy: #0F1629 (Hero背景)
   - Gold: #C9A84C (アクセント・数値)
   - Deep Blue: #1E3A5F (ボタン)
   ========================================== */

/* --- Section 1: Hero --- */
.ct-hero {
  background: #0F1629;
  padding: 140px 24px 80px;
  text-align: center;
  color: #fff;
}
.ct-hero__eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 16px;
}
.ct-hero__title {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.45;
  margin-bottom: 20px;
}
.ct-hero__lead {
  font-size: clamp(.9rem, 2vw, 1.05rem);
  color: rgba(255,255,255,.7);
  line-height: 1.9;
  max-width: 600px;
  margin: 0 auto 40px;
}

/* 数値ファクト */
.ct-hero__facts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
}
.ct-hero__fact {
  text-align: center;
}
.ct-hero__fact-num {
  font-family: 'Inter', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #C9A84C;
  display: block;
  line-height: 1.2;
}
.ct-hero__fact-num small {
  font-size: .9rem;
  font-weight: 600;
}
.ct-hero__fact-label {
  font-size: .7rem;
  color: rgba(255,255,255,.5);
  margin-top: 4px;
  display: block;
  letter-spacing: .05em;
}
.ct-hero__fact-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.15);
}

/* チェックリスト */
.ct-hero__checks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}
.ct-hero__checks li {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  letter-spacing: .03em;
}

/* Hero レスポンシブ */
@media (max-width: 768px) {
  .ct-hero {
    padding: 110px 20px 56px;
  }
  .ct-hero__facts {
    gap: 20px;
  }
  .ct-hero__fact-num {
    font-size: 1.6rem;
  }
  .ct-hero__checks {
    flex-direction: column;
    gap: 8px;
  }
}

/* --- Section 2: ロゴストリップ --- */
.ct-logos {
  background: #fff;
  padding: 48px 0;
  overflow: hidden;
  border-bottom: 1px solid #E5E7EB;
}
.ct-logos__title {
  text-align: center;
  font-size: .85rem;
  font-weight: 600;
  color: #9CA3AF;
  letter-spacing: .1em;
  margin-bottom: 28px;
}
/* ロゴバンドの共通CSSは style.css の .logo-band__* を流用 */

/* --- Section 3: 相談カテゴリ選択 --- */
.ct-category__sub {
  text-align: center;
  font-size: .95rem;
  color: #6B7280;
  margin: -32px auto 40px;
  line-height: 1.7;
}
.ct-category__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}
.ct-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 16px 24px;
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: all .25s;
  text-align: center;
  font-family: inherit;
}
.ct-cat-card:hover {
  border-color: #C9A84C;
  box-shadow: 0 4px 16px rgba(201,168,76,.12);
}
.ct-cat-card--active {
  border-color: #C9A84C;
  background: #FDFBF5;
  box-shadow: 0 4px 20px rgba(201,168,76,.18);
}
.ct-cat-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #FDFBF5;
  border-radius: 10px;
}
.ct-cat-card__label {
  font-size: .85rem;
  font-weight: 700;
  color: #1A1A1A;
}
.ct-cat-card__desc {
  font-size: .7rem;
  color: #9CA3AF;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .ct-category__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .ct-category__sub {
    margin-top: -12px;
    margin-bottom: 24px;
  }
  .ct-category__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ct-cat-card {
    padding: 20px 12px 18px;
  }
}

/* --- Section 4: フォーム本体 --- */
.ct-form__layout {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 48px;
  align-items: start;
}

/* チームメンバー紹介（横並び写真スタイル） */
.ct-team-intro {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
}
.ct-team-intro__photos {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.ct-team-intro__photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
}
.ct-team-intro__photo + .ct-team-intro__photo {
  margin-left: -28px;
}
.ct-team-intro__heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1A1A1A;
  line-height: 1.6;
  margin-bottom: 10px;
}
.ct-team-intro__note {
  font-size: .9rem;
  color: #6B7280;
  line-height: 1.6;
}

/* 安心訴求カード */
.ct-form__assurance {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 88px;
}
.ct-assure-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.ct-assure-card__icon {
  flex-shrink: 0;
  margin-top: 2px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ct-assure-card__title {
  font-size: .9rem;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 4px;
}
.ct-assure-card__text {
  font-size: .8rem;
  color: #6B7280;
  line-height: 1.7;
}
.ct-assure-card__text a {
  color: #1E3A5F;
  text-decoration: underline;
}

/* フォームプレースホルダー */
.ct-form__placeholder {
  border: 2px dashed #D1D5DB;
  border-radius: 12px;
  padding: 60px 24px;
  text-align: center;
}
.ct-form__placeholder-text {
  font-size: 1rem;
  color: #9CA3AF;
  font-weight: 500;
}

/* フォーム本体 */
.ct-form__body {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 32px 28px;
}

/* フォームフィールド */
.ct-field {
  margin-bottom: 20px;
}
.ct-field__label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}
.ct-field__req {
  color: #DC2626;
  font-size: .75rem;
}
.ct-field__input,
.ct-field__select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  font-size: .9rem;
  font-family: inherit;
  color: #333;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
.ct-field__input:focus,
.ct-field__select:focus {
  outline: none;
  border-color: #C9A84C;
  box-shadow: 0 0 0 3px rgba(201,168,76,.12);
}
.ct-field__input::placeholder {
  color: #9CA3AF;
}
.ct-field__select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.ct-field__textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.7;
}

/* バリデーションエラー */
.ct-field__input--error,
.ct-field__select--error {
  border-color: #DC2626;
}
.ct-field__error {
  font-size: .75rem;
  color: #DC2626;
  margin-top: 4px;
}

/* 動的質問ブロック */
.ct-dynamic {
  border-top: 1px solid #E5E7EB;
  padding-top: 20px;
  margin-top: 4px;
  margin-bottom: 4px;
}

/* プライバシー同意 */
.ct-field--agree {
  margin-top: 24px;
  margin-bottom: 24px;
}
.ct-field__checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: #333;
  cursor: pointer;
}
.ct-field__checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #C9A84C;
  flex-shrink: 0;
}
.ct-field__checkbox-label a {
  color: #1E3A5F;
  text-decoration: underline;
}

/* 送信ボタン */
.ct-form__submit {
  display: block;
  width: 100%;
  padding: 16px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: inherit;
  color: #0F1629;
  background: #C9A84C;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all .25s;
}
.ct-form__submit:hover {
  background: #D4B65E;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201,168,76,.3);
}
.ct-form__submit:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* 送信エラーバナー */
.ct-form__error-banner {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: .85rem;
  color: #DC2626;
  line-height: 1.6;
}

/* フォーム レスポンシブ */
@media (max-width: 1024px) {
  .ct-form__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ct-form__assurance {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
  .ct-assure-card {
    flex: 1 1 calc(50% - 8px);
    min-width: 240px;
  }
}
@media (max-width: 768px) {
  .ct-form__assurance {
    flex-direction: column;
  }
  .ct-assure-card {
    flex: 1 1 100%;
  }
  .ct-form__body {
    padding: 24px 20px;
  }
}

/* --- Section 5: FAQ抜粋 --- */
.ct-faq__list {
  max-width: 800px;
  margin: 0 auto;
}
.ct-faq__more {
  text-align: center;
  margin-top: 32px;
}
.ct-faq__more a {
  font-size: .9rem;
  font-weight: 600;
  color: #1E3A5F;
  transition: opacity .2s;
}
.ct-faq__more a:hover {
  opacity: .7;
}

/* --- Section 6: 会社情報 --- */
.ct-company__list {
  max-width: 720px;
  margin: 0 auto;
}
.ct-company__row {
  display: flex;
  border-bottom: 1px solid #E5E7EB;
  padding: 16px 0;
}
.ct-company__row:first-child {
  border-top: 1px solid #E5E7EB;
}
.ct-company__row dt {
  width: 140px;
  flex-shrink: 0;
  font-size: .85rem;
  font-weight: 600;
  color: #6B7280;
}
.ct-company__row dd {
  font-size: .9rem;
  color: #333;
  line-height: 1.7;
}
.ct-company__row dd a {
  color: #1E3A5F;
  text-decoration: underline;
  transition: opacity .2s;
}
.ct-company__row dd a:hover {
  opacity: .7;
}

/* 会社情報 レスポンシブ */
@media (max-width: 768px) {
  .ct-company__row {
    flex-direction: column;
    gap: 4px;
  }
  .ct-company__row dt {
    width: auto;
  }
}
