/* faq.css — Figma FAQ block (section 872 tall) + collage (1920 × 1280) */

.faqSection {
  position: relative;
  background: var(--white);
}

.faqSection__glow {
  position: absolute;
  max-width: none;
  pointer-events: none;
}

.faqSection__glow--large {
  left: calc(50% + 5 * var(--s));
  top: calc(-198 * var(--s));
  width: calc(1225 * var(--s));
  height: calc(1225 * var(--s));
}

.faqSection__glow--small {
  left: calc(50% - 1080 * var(--s));
  top: calc(221 * var(--s));
  width: calc(819 * var(--s));
  height: calc(819 * var(--s));
}

.faqSection__stage {
  min-height: calc(872 * var(--s));
  height: auto;
  padding-top: calc(36 * var(--s));
  padding-bottom: calc(80 * var(--s));
}

.faqSection__title {
  width: calc(1396 * var(--s));
  margin-left: calc(262 * var(--s));
  font-size: calc(44 * var(--s));
  font-weight: 500;
  line-height: normal;
  letter-spacing: calc(-1.76 * var(--s));
  text-align: center;
}

.faqSection__panel {
  display: flex;
  flex-direction: column;
  gap: calc(16 * var(--s));
  width: calc(1396 * var(--s));
  margin: calc(20 * var(--s)) 0 0 calc(262 * var(--s));
  padding: calc(80 * var(--s));
  border-radius: calc(40 * var(--s));
  background: var(--white);
}

.faqItem {
  display: flex;
  flex-direction: column;
  padding: calc(32 * var(--s));
  border: var(--line) solid rgba(0, 0, 0, 0.5);
  border-radius: calc(20 * var(--s));
  transition: background-color 0.2s ease;
}

.faqItem.is-open {
  gap: calc(16 * var(--s));
  background: #fef7f7;
}

.faqItem__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
}

.faqItem__question {
  flex: 1 0 0;
  min-width: 1px;
  font-size: calc(24 * var(--s));
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink-faq);
}

.faqItem__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: calc(48 * var(--s));
  height: calc(48 * var(--s));
  border-radius: 50%;
  background: var(--red-faq);
}

.faqItem__icon img {
  width: calc(24 * var(--s));
  height: calc(24 * var(--s));
}

.faqItem__iconMinus,
.faqItem.is-open .faqItem__iconPlus {
  display: none;
}

.faqItem.is-open .faqItem__iconMinus {
  display: block;
}

.faqItem__answer {
  font-size: calc(18 * var(--s));
  line-height: 1.45;
  color: rgba(23, 23, 23, 0.8);
}

.faqItem__answer a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.faqItem__ages {
  display: flex;
  flex-direction: column;
  gap: calc(10 * var(--s));
}

.faqItem__ages li {
  position: relative;
  padding-left: calc(28 * var(--s));
}

.faqItem__ages li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: calc(14 * var(--s));
  height: calc(8 * var(--s));
  border-left: 2px solid #1f9d55;
  border-bottom: 2px solid #1f9d55;
  transform: rotate(-45deg);
}

/* Collage */
.collageSection {
  position: relative;
  z-index: 1;
}

.collageSection img {
  width: 100%;
  height: calc(1280 * var(--s));
  object-fit: cover;
}

/* ---------- Tablet & mobile ---------- */
@media (max-width: 1023px) {
  .faqSection {
    overflow: hidden;
  }

  .faqSection__glow--large {
    left: 40%;
    top: -120px;
    width: 720px;
    height: 720px;
  }

  .faqSection__glow--small {
    left: -260px;
    top: 200px;
    width: 520px;
    height: 520px;
  }

  .faqSection__stage {
    height: auto;
    min-height: 0;
    padding-block: 24px;
  }

  .faqSection__title,
  .faqSection__panel {
    width: 100%;
    margin-left: 0;
  }

  .faqSection__title {
    font-size: clamp(26px, 4.6vw, 40px);
    letter-spacing: -0.04em;
  }

  .faqSection__panel {
    margin-top: 20px;
    padding: clamp(14px, 4vw, 40px);
    gap: 12px;
    border-radius: 24px;
  }

  .faqItem {
    padding: clamp(16px, 3vw, 24px);
    border-radius: 16px;
  }

  .faqItem.is-open {
    gap: 12px;
  }

  .faqItem__trigger {
    gap: 14px;
  }

  .faqItem__question {
    font-size: clamp(16px, 2.4vw, 22px);
  }

  .faqItem__icon {
    width: 40px;
    height: 40px;
  }

  .faqItem__icon img {
    width: 20px;
    height: 20px;
  }

  .faqItem__answer {
    font-size: clamp(14px, 2vw, 17px);
    line-height: 1.4;
  }

  .collageSection img {
    height: auto;
    aspect-ratio: 1920 / 1280;
  }
}
