/* ========================================
   1. 기본 설정
======================================== */

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;

  background: #eeeeee;
  color: #222222;

  font-family:
    Pretendard,
    "Noto Sans KR",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
}


/* ========================================
   2. 모집페이지 전체 영역
======================================== */

.page {
  width: 100%;
  max-width: 750px;

  margin: 0 auto;

  background: #ffffff;

  overflow: hidden;
}


/* ========================================
   3. 모집페이지 이미지
======================================== */

.section-image {
  display: block;

  width: 100%;
  height: auto;

  margin: 0;
  padding: 0;

  border: 0;
}


/* ========================================
   4. FAQ 전체 영역
======================================== */

.faq {
  width: 100%;

  padding: 56px 24px 48px;

  background: #fde8ef;
}


/* FAQ 상단 제목 */

.faq-title {
  margin-bottom: 40px;

  text-align: center;
}

.faq-title h2 {
  margin: 0 0 8px;

  color: #e63d76;

  font-size: 30px;
  font-weight: 900;

  letter-spacing: -0.5px;
}

.faq-title p {
  margin: 0;

  color: #777777;

  font-size: 14px;
  line-height: 1.5;
}


/* ========================================
   5. 기본 노출 FAQ 카테고리
======================================== */

.faq-category {
  margin-bottom: 34px;
}

.faq-category h3 {
  margin: 0 0 14px;

  color: #e63d76;

  font-size: 18px;
  font-weight: 800;

  letter-spacing: -0.3px;
}


/* ========================================
   6. FAQ 질문 카드
======================================== */

.faq-item {
  margin-bottom: 10px;

  overflow: hidden;

  background: #ffffff;

  border-radius: 16px;

  box-shadow:
    0 2px 10px
    rgba(0, 0, 0, 0.04);
}


/* 질문 */

.faq-question {
  width: 100%;

  margin: 0;
  padding: 18px 20px;

  border: 0;

  background: #ffffff;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 14px;

  color: #222222;

  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;

  text-align: left;

  cursor: pointer;

  appearance: none;
  -webkit-appearance: none;
}


/* + 아이콘 */

.faq-icon {
  flex: 0 0 auto;

  color: #e63d76;

  font-size: 22px;
  font-weight: 400;
  line-height: 1;

  transition: transform 0.2s ease;
}


/* 답변 */

.faq-answer {
  display: none;

  padding:
    0
    20px
    18px;

  color: #555555;

  font-size: 14px;
  line-height: 1.7;

  word-break: keep-all;
}

.faq-answer p {
  margin: 0 0 8px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}


/* 질문 열림 상태 */

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}


/* ========================================
   7. 전체 FAQ 보기
======================================== */

/* 처음에는 추가 FAQ 숨김 */

.faq-more {
  display: none;

  margin-top: 20px;
}


/* 전체보기 클릭 후 표시 */

.faq-more.active {
  display: block;
}


/* 전체보기 버튼 */

.faq-more-button {
  width: 100%;

  margin: 8px 0 0;
  padding: 17px 20px;

  border: 1px solid #e63d76;
  border-radius: 999px;

  background: transparent;

  color: #e63d76;

  font-family: inherit;
  font-size: 15px;
  font-weight: 800;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  cursor: pointer;

  appearance: none;
  -webkit-appearance: none;
}

.faq-more-icon {
  font-size: 20px;
  font-weight: 400;
  line-height: 1;

  transition: transform 0.2s ease;
}

.faq-more-button.active .faq-more-icon {
  transform: rotate(45deg);
}


/* ========================================
   8. Footer
======================================== */

.footer {
  width: 100%;

  padding:
    42px
    20px
    110px;

  background: #ffffff;

  text-align: center;
}

.footer-title {
  margin: 0 0 8px;

  color: #222222;

  font-size: 14px;
  font-weight: 700;
}

.footer-instagram {
  margin: 0;

  color: #777777;

  font-size: 13px;
}


/* ========================================
   9. 하단 고정 신청 버튼
======================================== */

.bottom-cta {
  position: fixed;

  left: 50%;

  bottom: max(
    16px,
    env(safe-area-inset-bottom)
  );

  transform: translateX(-50%);

  width: calc(100% - 32px);
  max-width: 686px;

  padding: 17px 20px;

  background: #e63d76;
  color: #ffffff;

  border-radius: 999px;

  box-shadow:
    0 6px 18px
    rgba(0, 0, 0, 0.18);

  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;

  text-align: center;
  text-decoration: none;

  z-index: 9999;
}

.bottom-cta:hover {
  opacity: 0.96;
}

.bottom-cta:active {
  transform:
    translateX(-50%)
    scale(0.98);
}


/* ========================================
   10. 모바일
======================================== */

@media (max-width: 480px) {

  body {
    background: #ffffff;
  }

  .page {
    max-width: none;
  }

  .faq {
    padding:
      48px
      18px
      44px;
  }

  .faq-title {
    margin-bottom: 36px;
  }

  .faq-title h2 {
    font-size: 27px;
  }

  .faq-title p {
    font-size: 13px;
  }

  .faq-category {
    margin-bottom: 30px;
  }

  .faq-category h3 {
    font-size: 17px;
  }

  .faq-question {
    padding:
      17px
      16px;

    font-size: 14px;
  }

  .faq-answer {
    padding:
      0
      16px
      17px;

    font-size: 13px;
  }

  .faq-more-button {
    padding:
      16px
      18px;

    font-size: 14px;
  }

  .bottom-cta {
    width: calc(100% - 24px);

    padding:
      16px
      18px;

    font-size: 15px;
  }

}