/* WOOVE - faq.css */

/* ===== HERO ===== */
.faq-hero {
  padding: 160px 60px 80px;
  background: var(--bg);
  position: relative; overflow: hidden;
}
.faq-hero::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 40%; height: 100%;
  background: var(--brand-pale);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 0;
}
.faq-hero-inner { position: relative; z-index: 1; max-width: 640px; }
.hero-label {
  font-size: 10px; letter-spacing: 0.45em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 20px;
  display: flex; align-items: center; gap: 14px;
  opacity: 0; animation: fadeUp 0.9s 0.2s forwards;
}
.hero-label::before { content: ''; width: 36px; height: 2px; background: var(--brand); }
.hero-title {
  font-weight: 700; font-size: clamp(32px, 4vw, 52px); line-height: 1.35; margin-bottom: 24px;
  opacity: 0; animation: fadeUp 0.9s 0.4s forwards;
}
.hero-title em { font-style: normal; color: var(--brand); }
.hero-sub {
  font-size: 14px; line-height: 2.2; color: var(--ink-light);
  opacity: 0; animation: fadeUp 0.9s 0.6s forwards;
}

/* ===== CATEGORY NAV ===== */
.cat-nav {
  background: var(--white); border-bottom: 1px solid var(--border);
  position: sticky; z-index: 40; transition: top 0.4s;
}
.cat-nav-inner {
  display: flex; padding: 0 60px;
  overflow-x: auto; scrollbar-width: none;
}
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-nav-link {
  font-size: 14px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink-light); text-decoration: none;
  padding: 5px 20px; white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.25s; display: block;
}
.cat-nav-link:hover { color: var(--brand); }
.cat-nav-link.active { color: var(--brand); border-bottom-color: var(--brand); }

/* ===== FAQ MAIN ===== */
.faq-main { max-width: 860px; margin: 0 auto; padding: 80px 60px 120px; }

/* カテゴリブロック */
.faq-category { margin-bottom: 72px; scroll-margin-top: 140px; }

.faq-cat-header {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--brand-pale);
}
.faq-cat-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--brand-pale); border: 1.5px solid var(--brand-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.faq-cat-title {
  font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: 0.03em;
}
.faq-cat-label {
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--brand); font-weight: 500;
}

/* アコーディオン */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-of-type { border-top: 1px solid var(--border); }

.faq-question {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 20px; padding: 24px 0;
  cursor: pointer;
  user-select: none;
  list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }

.faq-q-inner { display: flex; align-items: flex-start; gap: 16px; }

.faq-q-mark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px; color: var(--brand);
  line-height: 1.3; flex-shrink: 0; width: 20px;
}
.faq-q-text {
  font-size: 15px; font-weight: 500; line-height: 1.65;
  color: var(--ink); padding-top: 2px;
}
.faq-chevron {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 4px;
  position: relative; transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.faq-chevron::before, .faq-chevron::after {
  content: ''; position: absolute;
  top: 50%; width: 8px; height: 1.5px;
  background: var(--brand); transition: transform 0.35s;
}
.faq-chevron::before { left: 2px; transform: translateY(-50%) rotate(45deg); }
.faq-chevron::after  { right: 2px; transform: translateY(-50%) rotate(-45deg); }

details[open] .faq-chevron::before { transform: translateY(-50%) rotate(-45deg); }
details[open] .faq-chevron::after  { transform: translateY(-50%) rotate(45deg); }
details[open] .faq-q-text { color: var(--brand); }

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s cubic-bezier(0.22,1,0.36,1), opacity 0.3s;
  opacity: 0;
}
details[open] .faq-answer {
  max-height: 600px;
  opacity: 1;
}
.faq-answer-inner {
  display: flex; gap: 16px; padding: 0 0 28px 36px;
}
.faq-a-mark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px; color: var(--ink-light);
  line-height: 1.3; flex-shrink: 0; width: 20px;
}
.faq-a-text {
  font-size: 14px; line-height: 2.2; color: var(--ink-light);
}
.faq-a-text strong { color: var(--ink); font-weight: 500; }
.faq-a-text a { color: var(--brand); text-decoration: underline; }

/* ===== CTA ===== */
.cta-label::before, .cta-label::after { content: ''; width: 28px; height: 2px; background: var(--brand); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(17,168,184,0.28); }
.btn-outline-brand:hover { background: var(--brand); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(17,168,184,0.28); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  nav, nav.scrolled { padding: 16px 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .faq-hero { padding: 120px 24px 60px; }
  .faq-hero::before { display: none; }
  .cat-nav-inner { padding: 0 24px; }
  .faq-main { padding: 56px 24px 80px; }
  .cta-section { padding: 72px 24px; }
  footer { grid-template-columns: 1fr; padding: 40px 24px; }
  .footer-right { text-align: left; }
}
@media (max-width: 599px) {
  .faq-q-text { font-size: 14px; }
  .faq-a-text { font-size: 13px; }
  .faq-answer-inner { padding-left: 0; }
  .cta-buttons { flex-direction: column; align-items: center; }
  footer { padding: 36px 20px; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
}

/* ===== ひらがな・句読点 縮小 ===== */