/* ===== FAQ Page ===== */

main {
  background-color: #fff;
}

/* ===== Hero ===== */
.faq-hero {
  padding-top: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  border-bottom: 1px solid #e5e5e5;
}

/* ===== Anchor Nav ===== */
.faq-anchor {
  display: flex;
  gap: 0;
  margin-top: 2.5rem;
  border: 1px solid #e5e5e5;
}

.faq-anchor a {
  display: block;
  padding: 14px 2rem;
  font-family: "Roboto", "Zen Kaku Gothic New", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #888;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-right: 1px solid #e5e5e5;
  transition: color 0.3s, background 0.3s;
}

.faq-anchor a:last-child {
  border-right: none;
}

.faq-anchor a:hover {
  color: #1a1a1a;
  background: #f8f8f8;
}

.faq-hero .faq-label {
  font-family: "Roboto", "Zen Kaku Gothic New", sans-serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: #aaa;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.faq-hero h1 {
  font-family: "Roboto", "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(32px, calc(2.5vw + 14px), 48px);
  font-weight: 500;
  color: #1a1a1a;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

.faq-hero p {
  font-size: clamp(13px, calc(0.7vw + 6px), 15px);
  color: #888;
  letter-spacing: 0.06em;
  font-weight: 400;
  line-height: 2.2;
}

/* ===== FAQ Body ===== */
.faq-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===== カテゴリセクション ===== */
.faq-section {
  padding: 80px 0 0;
  scroll-margin-top: 80px;
}

.faq-section:last-child {
  padding-bottom: 100px;
}

.faq-section__header {
  text-align: center;
  margin-bottom: 48px;
}

.faq-section__label {
  font-family: "Roboto", "Zen Kaku Gothic New", sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #aaa;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.faq-section__header h2 {
  font-size: clamp(20px, calc(1.2vw + 8px), 26px);
  font-weight: 500;
  color: #1a1a1a;
  letter-spacing: 0.08em;
}

/* ===== Q&A Items ===== */
.faq-list {
  border-top: 1px solid #e5e5e5;
}

.faq-item {
  padding: 32px 0;
  border-bottom: 1px solid #e5e5e5;
}

.faq-item__q {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 16px;
}

.faq-item__num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 2px;
  border: 1px solid #244268;
  border-radius: 50%;
  font-family: "Roboto", "Zen Kaku Gothic New", sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #244268;
  letter-spacing: 0;
  background: rgba(36, 66, 104, 0.05);
}

.faq-item__q h3 {
  font-size: clamp(15px, calc(0.9vw + 6px), 17px);
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.faq-item__a {
  padding-left: calc(32px + 1rem);
}

.faq-item__a p {
  font-size: clamp(13px, calc(0.7vw + 6px), 15px);
  font-weight: 400;
  color: #555;
  line-height: 2.4;
  letter-spacing: 0.04em;
}

/* ===== CTA ===== */
.faq-cta {
  background: #f8f8f8;
  padding: 100px 0;
  text-align: center;
  border-top: 1px solid #e5e5e5;
}

.faq-cta__label {
  font-family: "Roboto", "Zen Kaku Gothic New", sans-serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: #aaa;
  font-weight: 400;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.faq-cta h2 {
  color: #1a1a1a;
  font-weight: 500;
  font-size: clamp(22px, calc(1.8vw + 10px), 32px);
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.faq-cta p {
  color: #888;
  font-size: clamp(13px, calc(0.7vw + 6px), 15px);
  font-weight: 400;
  line-height: 2.2;
  letter-spacing: 0.04em;
  margin-bottom: 3rem;
}

.faq-cta .detail-btn-box a {
  background: none;
  border: 1px solid #1a1a1a;
  color: #1a1a1a;
  backdrop-filter: none;
  border-radius: 0;
  padding: 1rem 4rem;
  font-size: 13px;
  letter-spacing: 0.1em;
}


/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  .faq-hero {
    padding-top: 60px;
    min-height: auto;
    padding-bottom: 40px;
  }

  .faq-anchor {
    flex-wrap: wrap;
    margin-top: 1.5rem;
  }

  .faq-anchor a {
    padding: 10px 1.2rem;
    font-size: 12px;
  }

  .faq-section {
    padding: 60px 0 0;
    scroll-margin-top: 68px;
  }

  .faq-section:last-child {
    padding-bottom: 60px;
  }

  .faq-section__header {
    margin-bottom: 32px;
  }

  .faq-item {
    padding: 24px 0;
  }

  .faq-item__q {
    gap: 0.75rem;
    margin-bottom: 12px;
  }

  .faq-item__num {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }

  .faq-item__a {
    padding-left: calc(28px + 0.75rem);
  }

  .faq-cta {
    padding: 60px 0;
  }
}

/* スムーススクロール */
html {
  scroll-behavior: smooth;
}
