/* =========================================================
   faq.css — よくある質問ページ専用スタイル
   ========================================================= */

/* ---------- カテゴリナビ ---------- */
.faq-nav {
  position: sticky;
  top: 64px;
  z-index: 40;
  background: rgba(244, 248, 255, 0.85);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.faq-nav__list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.faq-nav__list::-webkit-scrollbar {
  display: none;
}
.faq-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 14px 20px;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.faq-nav__link:hover,
.faq-nav__link.is-active {
  color: var(--brand-1);
  border-bottom-color: var(--brand-1);
}
.faq-nav__num {
  font-family: var(--mono);
  font-size: 10px;
  opacity: 0.5;
  letter-spacing: 0.1em;
}

/* ---------- カテゴリセクション ---------- */
.faq-cat {
  border-bottom: 1px solid var(--line);
}
.faq-cat--alt {
  background: var(--bg-2);
}
.faq-cat__head {
  margin-bottom: 40px;
}
.faq-cat__title {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  color: var(--ink);
  margin: 8px 0 0;
  letter-spacing: -0.01em;
}

/* FAQリストの最大幅を広げる（カテゴリページは余裕ある幅に） */
.faq-cat .hp-faq__list {
  max-width: 860px;
}

/* アンカーリンク（回答内のリンク）*/
.hp-faq__a a {
  color: var(--brand-1);
  text-decoration: underline;
  text-decoration-color: rgba(31, 108, 255, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
.hp-faq__a a:hover {
  text-decoration-color: var(--brand-1);
}

/* ---------- 解決しない場合のCTA ---------- */
.faq-contact {
  background: var(--deep);
}
.faq-contact__inner {
  display: flex;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  max-width: 760px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: clamp(32px, 4vw, 56px);
}
.faq-contact__icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  background: rgba(31, 108, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-contact__icon svg {
  width: 44px;
  height: 44px;
}
.faq-contact__body {
  flex: 1;
}
.faq-contact__title {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
}
.faq-contact__lead {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.85;
  margin: 0 0 24px;
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 860px) {
  .faq-nav__link {
    padding: 12px 14px;
    font-size: 11px;
  }
  .faq-contact__inner {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
}
@media (max-width: 640px) {
  .faq-nav__link {
    padding: 10px 12px;
    font-size: 10px;
  }
  .faq-contact__inner {
    padding: 28px 24px;
  }
}
