/* faq.php */

.faq-page .box-bg {
  overflow: hidden;
  border: 1px solid #dbe6f7;
  border-radius: 16px;
  padding: 20px 20px 40px;
}

.faq-page__intro {
  margin: 0 auto 8px;
  max-width: 36rem;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.faq-list {
  max-width: 720px;
  margin: 8px auto 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  margin: 0;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(196, 181, 245, 0.45);
  box-shadow: 0 6px 18px rgba(43, 23, 140, 0.06);
  overflow: hidden;
}

.faq-item__question {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: #2a1d6e;
  text-decoration: none;
  user-select: none;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question::marker {
  content: '';
}

.faq-item__question:hover {
  color: #5b3fd4;
  background: linear-gradient(180deg, rgba(248, 246, 255, 0.95) 0%, #fff 100%);
  text-decoration: none;
}

.faq-item[open] .faq-item__question {
  color: #23155b;
  background: linear-gradient(180deg, #f8f6ff 0%, #fff 100%);
  border-bottom: 1px solid rgba(230, 221, 255, 0.95);
  text-decoration: none;
}

.faq-item__question-text {
  flex: 1 1 auto;
}

.faq-item__answer {
  padding: 4px 18px 18px;
  color: #3a3560;
  font-size: 1rem;
  line-height: 1.65;
}

.faq-item__answer p {
  margin: 0 0 12px;
}

.faq-item__answer p:last-child {
  margin-bottom: 0;
}

.faq-item__answer a {
  color: #5b3fd4;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-answer__list {
  margin: 0 0 12px 1.2rem;
  padding: 0;
}

.faq-answer__list li {
  margin-bottom: 6px;
}

.faq-glossary {
  margin: 0 0 12px;
}

.faq-glossary dt {
  margin: 14px 0 4px;
  font-weight: 700;
  color: #23155b;
}

.faq-glossary dt:first-child {
  margin-top: 4px;
}

.faq-glossary dd {
  margin: 0;
}

.faq-page__more {
  margin: 28px auto 0;
  max-width: 720px;
  text-align: center;
  font-size: 1.02rem;
  color: #3a3560;
}

.faq-page__more a {
  color: #5b3fd4;
  font-weight: 600;
}
