/* ===========================
   FAQ PAGE
=========================== */

/* ページヒーロー */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(160deg, #0f0f0f 0%, #1a1a1a 60%, #0a0a0a 100%);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(201, 168, 76, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero__label {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.page-hero__title {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 24px;
}

.page-hero__desc {
  font-size: clamp(14px, 1.8vw, 16px);
  color: var(--color-text-muted);
  line-height: 1.9;
}

/* 現在ページハイライト */
.header__nav-list a.is-current {
  color: var(--color-primary);
}

/* ===========================
   FAQ SECTION
=========================== */
.faq-section {
  background-color: var(--color-bg);
}

.faq-section .container {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

/* カテゴリグループ */
.faq-group__title {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--color-primary);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  font-family: var(--font-ja);
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  line-height: 1.5;
  transition: color var(--transition);
}

.faq-item__q:hover {
  color: var(--color-primary);
}

/* + / × アイコン */
.faq-item__icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-primary);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

.faq-item__icon::before {
  width: 2px;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.faq-item__icon::after {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

/* 開いた状態: × になる */
.faq-item__q[aria-expanded="true"] .faq-item__icon::before {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

/* アンサーパネル */
.faq-item__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 0 0 0;
}

.faq-item__a.open {
  max-height: 400px;
  padding-bottom: 24px;
}

.faq-item__a p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.9;
  padding-left: 1px;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
  .page-hero {
    padding: 120px 0 60px;
  }

  .faq-item__q {
    font-size: 14px;
    padding: 18px 0;
  }
}
