/* FAQ Page */
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.faq-question {
  position: relative;
  font-weight: 700;
  padding: 24px 40px 24px 20px;
  cursor: pointer;
  list-style: none; /* デフォルトのマーカー（▶）を非表示 */
}

.faq-question::-webkit-details-marker {
  display: none; /* Safari用のマーカー非表示 */
}

.faq-question::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.3s var(--ease-out-cubic);
}

/* details要素が開いている時にアイコンを回転させる */
.faq-item[open] > .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  max-height: 0; /* 初期状態ではコンテンツを隠す */
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out-cubic);
}

.faq-answer-content {
  padding-bottom: 24px;
  color: var(--muted);
  line-height: 1.8;
  padding-left: 20px;
  padding-right: 20px;
}

.faq-answer-content .prose {
    margin: 0;
    max-width: 100%;
}
