/* ============================================
   FAQ.CSS - faq.html専用BEMスタイル
   Block prefix: fq- (Faq)
   ============================================ */

/* ---------- Section ---------- */
.fq-section {
  padding: 120px 0 100px 0;
  backdrop-filter: blur(20px);
  background: #f4f6f6aa;
  border-radius: 0 clamp(80px, calc(80px + (100vw - 320px) / 10), 400px) 0 0;
}

/* ---------- Category ---------- */
.fq__category {
  margin-bottom: 50px;
}

.fq__category-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin: 40px 0 16px 0
}

/* ---------- Item ---------- */
.fq__item {
  background: #f8fafb;
  border-radius: 10px;
  margin-bottom: 24px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.fq__item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.fq__item--active .fq__toggle {
  color: var(--color-primary);
}

/* ---------- Question ---------- */
.fq__question {
  display: flex;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  gap: 16px;
  user-select: none;
}

.fq__mark {
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.fq__mark--q {
  color: var(--color-primary);
  transform: translateY(0); /* PC: 数値で位置調整可能 */
}

.fq__mark--a {
  color: #e74c3c;
  transform: translateY(-4.5px); /* PC: 数値で位置調整可能 */
}


.fq__text {
  flex: 1;
  font-size: clamp(0.85rem, calc(0.23vw + 0.80rem), 1.00rem);
  letter-spacing: 0.1em;
  line-height: 1.3;
  font-weight: 700;
  color: var(--color-text-dark);
}

.fq__toggle {
  font-size: 1.2rem;
  color: #aaa;
  flex-shrink: 0;
  transition: color 0.3s ease;
}

/* ---------- Answer ---------- */
.fq__answer {
  max-height: 0;
  opacity: 0;
  filter: blur(10px);
  padding: 0 24px;
  transition: opacity 0.5s ease, filter 0.5s ease;
  display: flex;
  gap: 16px;
}

.fq__answer--open {
  max-height: 300px;
  padding: 0 24px 20px 24px;
  opacity: 1;
  filter: blur(0);
}

.fq__answer p {
  font-size: clamp(0.8rem, calc(0.23vw + 0.80rem), 1.00rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.5;
  color: var(--color-text-dark);
  flex: 1;
  margin: 0;
}

/* ---------- Link in Answer ---------- */
.fq__link {
  color: var(--color-primary);
  transition: color 0.3s ease;
}

.fq__link:hover {
  color: #15a8b8;
}

/* ---------- Spacer ---------- */
.fq__spacer {
  flex-shrink: 0;
  width: 1.2rem;
  visibility: hidden;
}

/* ============================================
   RESPONSIVE: 768px以下でセクション余白調整
   ============================================ */
@media (max-width: 768px) {
  .fq-section {
    padding: 120px 0;
  }
}
