@charset "euc-kr";

/* FAQ 전체 컨테이너 */
.faq-con {
  margin-bottom: clamp(20px, 2.5vw, 30px);
}

/* FAQ 영역 안 이미지 공통 */
.faq-con img {
  width: 100%;
}

/* 각 Q&A 블럭 간 간격 */
.faq-con details {
  margin-bottom: clamp(12px, 2.5vw, 18px);
}

/* summary 기본 불릿 제거 */
.faq-con details summary {
  list-style: none;
}
.faq-con details summary::-webkit-details-marker {
  display: none;
}

/* Q&A 리스트 전체 여백 */
.faq-con .qna {
  margin-top: clamp(30px, 2.5vw, 80px);
  margin-bottom: clamp(30px, 2.5vw, 80px);
}
.faq-con .qna img {
  width: 100%;
}

/* 개별 Q&A 항목(summary) */
.faq-con .qna01 summary {
  cursor: pointer;
  list-style: none;
}
.faq-con .qna01 summary::-webkit-details-marker {
  display: none;
}

/* ---------------------------
   Q / A 보이기/숨기기 제어
   --------------------------- */

/* 기본 상태
   - Q(tit)는 보이고
   - A(answer)는 숨김 */
.faq-con .qna01 .tit {
  display: block;
}
.faq-con .qna01 .answer {
  display: none;
}

/* 열렸을 때 (details[open])
   - Q(tit)는 숨기고
   - A(answer)는 보이게 */
.faq-con .qna01[open] .tit {
  display: none;
}
.faq-con .qna01[open] .answer {
  display: block;
}
