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

/* ヘッダーを常に白固定 */
/* ヘッダー：初期は透明、スクロールで白（TOPページと同様） */
.contact-page .header.is-scrolled {
  background: rgba(255,255,255,.97) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--color-border);
}
.contact-page .header.is-scrolled .header__logo-img { filter: none !important; }
.contact-page .header.is-scrolled .header__nav-link { color: #1a2e4a !important; }
.contact-page .header.is-scrolled .header__hamburger-line { background: #1a2e4a !important; }

/* ===== ヒーロー ===== */
.contact-hero {
  background: #1a2e4a;
  padding: calc(64px + 56px) 0 52px;
  position: relative;
  overflow: hidden;
}
.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(29,158,117,.12) 0%, transparent 60%);
  pointer-events: none;
}
.contact-hero .section-label { color: #1D9E75; }
.contact-hero__title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  color: white;
  margin: 8px 0 16px;
  letter-spacing: -.01em;
}
.contact-hero__sub {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  line-height: 1.85;
}

/* ===== 連絡方法の選択肢 ===== */
.contact-options {
  padding: 40px 0 0;
  background: #f4f5f9;
}
.contact-options__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}
.contact-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 16px;
  border: 2px solid transparent;
  background: white;
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s;
}
.contact-option--line:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(6,199,85,.18);
  border-color: #06C755;
}
.contact-option--active {
  border-color: #1a2e4a;
  background: #f0f3f8;
}
.contact-option__icon { flex-shrink: 0; }
.contact-option__body { flex: 1; }
.contact-option__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #1D9E75;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.contact-option--active .contact-option__label { color: #1a2e4a; }
.contact-option__title {
  font-size: 15px;
  font-weight: 700;
  color: #1a2e4a;
  margin-bottom: 3px;
}
.contact-option__desc {
  font-size: 12px;
  color: #8492a6;
}
.contact-option__arrow {
  color: #8492a6;
  flex-shrink: 0;
}

/* ===== フォームセクション ===== */
.contact-form-section {
  background: #f4f5f9;
  padding: 40px 0 80px;
}
.contact-form-wrap {
  max-width: 760px;
  margin: 0 auto;
}

/* 注意書き */
.contact-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 18px;
  background: #e8f7f1;
  border-radius: 10px;
  margin-bottom: 24px;
  border: 1px solid rgba(29,158,117,.2);
}
.contact-notice svg { flex-shrink: 0; margin-top: 1px; }
.contact-notice p { font-size: 13px; color: #2d6a4f; line-height: 1.7; }

/* iframeラッパー */
.contact-iframe-wrap {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(26,46,74,.08);
  border: 1px solid #e2e8f0;
}
.contact-iframe-wrap iframe {
  display: block;
  width: 100%;
  height: 1820px;
  border: none;
  overflow: hidden;
}

/* 代替リンク */
.contact-fallback {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: #8492a6;
}
.contact-fallback a {
  color: #1D9E75;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  .contact-hero { padding: calc(56px + 40px) 0 40px; }
  .contact-options { padding: 28px 0 0; }
  .contact-options__grid { grid-template-columns: 1fr; gap: 12px; }
  .contact-form-section { padding: 28px 0 56px; }
  .contact-iframe-wrap iframe { height: 1980px; }
}
