@charset "UTF-8";
/* ==========================================================================
   CBC お問い合わせ インデックスページ
   - 英字タイトル: Akshar / 本文: Zen Kaku Gothic New（ともにGoogle Fonts）
   - 既存 common.css との衝突を避けるため、原則 #pageContact 配下にスコープ
   - ヘッダー／フッター／モバイルドロワーは FAQ／特商法ページと共通の設計
   - 各フォームページは従来の contact.css を使用（本ファイルはインデックス専用）
   ========================================================================== */

#pageContact {
  --cbc-ink: #333333;
  --cbc-ink-2: #4a4a4a;
  --cbc-muted: #9a9a9a;
  --cbc-line: #e2e2e2;
  --cbc-bg: #ffffff;
  --cbc-bg-soft: #f4f3f1;
  --cbc-yellow: #f5cf3d;
  --cbc-yellow-soft: #fbe79f;
  --cbc-teal: #56b0ac;
  --cbc-teal-soft: #cfe9e7;
  --cbc-pink: #e88b8b;
  --cbc-accent: #d23b2f;
  --cbc-card-border: #cfcfcf;
  --cbc-footer: #3d3b39;

  margin: 0;
  padding: 0;
  color: var(--cbc-ink);
  background: var(--cbc-bg);
  font-family: 'Zen Kaku Gothic New', -apple-system, 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
  font-size: 1.6rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

#pageContact *,
#pageContact *::before,
#pageContact *::after {
  box-sizing: border-box;
}

#pageContact a {
  text-decoration: none;
}

/* ============ HERO ============ */
.contactHero {
  background: linear-gradient(100deg, #ffffff 0%, #ffffff 24%, var(--cbc-teal-soft) 62%, var(--cbc-teal) 100%);
}
.contactHeroInner {
  max-width: var(--cbc-hero-max);
  margin: 0 auto;
  /* グラデ帯の高さ・タイトルサイズを FAQ／特商法ページと揃える */
  padding: 40px 32px;
  padding-left: var(--cbc-hero-pad-l);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 173px;
  gap: 6px;
}
/* HERO英字見出しの左端はヘッダーのCBCロゴ左端に追従する。
   帯幅・内寄せは :root の --cbc-hero-max / --cbc-hero-pad-l（1280px→1100px で線形に縮む）に統合済み。
   ≥1280px では従来と同じ max-width:1280px / padding-left:134px になる。 */
.contactHeroTitle {
  font-family: 'Akshar', sans-serif;
  font-weight: 600;
  /* ヒーロー英字見出し（CONTACT）をENTRY（6.4rem/1.05）に統一。フォーム各ページの和文見出しは .contactHero--form 側で上書き */
  font-size: 6.4rem;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--cbc-ink);
  margin: 0;
}
.contactHeroSub {
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--cbc-ink-2);
  margin: 0;
}

/* ============ BODY ============ */
.contactBody {
  background: var(--cbc-bg-soft);
  padding: 64px 32px 80px;
}
.contactBodyInner {
  max-width: 940px;
  margin: 0 auto;
}
.contactLead {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--cbc-ink);
  margin: 0 0 44px;
}

/* ============ 窓口カード ============ */
.contactCards {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contactCard {
  display: flex;
  align-items: center;
  gap: 28px;
  background: #ffffff;
  border: 2px solid var(--cbc-card-border);
  border-radius: 0;
  padding: 30px 34px;
  transition: border-color .2s;
}
.contactCard:hover {
  border-color: var(--cbc-muted);
}
.contactCardIcon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
}
.contactCardIcon img {
  display: block;
  width: 100%;
  height: 100%;
}
.contactCardBody {
  flex: 1 1 auto;
  min-width: 0;
}
.contactCardTitle {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--cbc-ink);
}
.contactCardTitle em {
  font-style: normal;
  color: var(--cbc-accent);
}
.contactCardDesc {
  display: block;
  margin-top: 6px;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--cbc-ink-2);
}
.contactCardArrow {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--cbc-ink-2);
  font-size: 2rem;
  transition: transform .2s, color .2s;
}
.contactCard:hover .contactCardArrow {
  color: var(--cbc-ink);
  transform: translateX(3px);
}

/* ============ 注意書き ============ */
.contactNotes {
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}
.contactNotes li {
  font-size: 1.4rem;
  line-height: 1.9;
  color: var(--cbc-ink-2);
  padding-left: 1.4em;
  text-indent: -1.4em;
}
.contactNotes li + li {
  margin-top: 4px;
}
.contactNoteLink {
  color: #3f9c98;
  border-bottom: 1px solid #9dd0cd;
  transition: opacity .2s;
}
.contactNoteLink:hover {
  opacity: .75;
}

/* ============ フォームページ（各問い合わせフォーム） ============ */
/* ヒーローは和文タイトル＋英字サブ（indexの英字大タイトルと差し替え） */
.contactHero--form .contactHeroTitle {
  font-family: 'Zen Kaku Gothic New', -apple-system, 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 3.2rem;
  line-height: 1.35;
  /* 和文タイトルと英字サブの光学的な左端を揃える。各フォントの左サイドベアリング分だけ
     text-indent(em)で引き戻し、両者の字面をpadding端に合わせる。emはフォントサイズに
     比例するため desktop/SP どちらでも成立する。既定はかな・カナ始まり（ご/プ 等）用。 */
  text-indent: -0.165em;
}
/* 漢字始まり（出 等）は和文ベアリングが小さいため引き戻し量を小さく */
.contactHero--form .contactHeroTitle--kanjiLead {
  text-indent: -0.088em;
}
.contactHero--form .contactHeroSub {
  font-family: 'Akshar', sans-serif;
  font-weight: 500;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  color: var(--cbc-ink-2);
  /* 英字サブ(Akshar "C")の左サイドベアリング分だけ引き戻し、字面をpadding端に合わせる
     （タイトル側と同じ基準に揃えることで両者の左端が一致する） */
  text-indent: -0.05em;
}
/* フォーム埋め込みエリア */
.contactFormBody {
  background: var(--cbc-bg-soft);
  padding: 48px 20px 72px;
}
.contactFormInner {
  max-width: 940px;
  margin: 0 auto;
}
.contactFormInner .formmailer-embed,
.contactFormInner iframe {
  width: 100%;
}

/* ============ レスポンシブ（〜767px） ============ */
@media screen and (max-width: 767px) {
  #pageContact {
    font-size: 1.4rem;
  }
  .contactHeroInner {
    padding: 12px 18px;
    min-height: 134px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .contactHeroTitle {
    font-size: 4.8rem;
  }
  .contactHeroSub {
    font-size: 1.6rem;
  }
  .contactHero--form .contactHeroTitle {
    font-size: 2rem;
  }

  .contactBody {
    padding: 36px 16px 48px;
  }
  .contactFormBody {
    padding: 28px 14px 48px;
  }
  .contactLead {
    font-size: 1.6rem;
    margin-bottom: 28px;
  }

  .contactCards {
    gap: 16px;
  }
  .contactCard {
    gap: 16px;
    padding: 20px 18px;
  }
  .contactCardIcon {
    width: 58px;
    height: 58px;
  }
  .contactCardTitle {
    font-size: 1.6rem;
    line-height: 1.45;
  }
  .contactCardDesc {
    margin-top: 5px;
    font-size: 1.4rem;
  }
  .contactCardArrow {
    width: 24px;
    height: 24px;
    font-size: 1.6rem;
  }

  .contactNotes {
    margin-top: 32px;
  }
  .contactNotes li {
    font-size: 1.4rem;
  }
}

