/**
 * FAQ ページ専用（/faq のみ includes/head.php 経由で $pageStyles から読み込む）。
 * views/_extracted/faq.php の .faq-item / .faq-btn 等のマークアップと対になる。
 */

/* アコーディオン（grid で 0fr ↔ 1fr） */
.faq-content-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq-item.is-open .faq-content-wrapper {
  grid-template-rows: 1fr;
}
.faq-content {
  overflow: hidden;
}
.faq-icon {
  transition: transform 0.3s ease;
}
.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

/* カテゴリアンカー: 固定ヘッダー分のオフセット */
.faq-category-anchor {
  scroll-margin-top: 120px;
}
