@font-face {
    font-family: "Pretendard-Regular";
    src: url("https://contents-em.infovine.co.kr/CareServiceFiles/homepage/fonts/Pretendard-Regular.woff2") format("woff2");
  /*src: url("./Pretendard-Regular.woff2") format("woff2");*/
    font-weight: 700;
    font-style: normal;
    font-display: block;
}
@font-face {
    font-family: "Pretendard-Bold";
    src: url("https://contents-em.infovine.co.kr/CareServiceFiles/homepage/fonts/Pretendard-Bold.woff2") format("woff2");
    /*src: url("./Pretendard-Bold.woff2") format("woff2");*/
    font-weight: 700;
    font-style: normal;
    font-display: block;
}
* {
    box-sizing: border-box;
}
.faq-section-wrap{
padding:20px 35px;
}

#faqListArea{
width:100%;
}
.faq-section {
    background-color: white;
    padding: 31px 110px;
    border: 0px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    max-width: 1200px;
    margin: 60px auto;
    min-height: 980px;
}
.faq-title {
    font-family: Pretendard-Bold;
    font-size: 42px;
    font-weight: bold;
    line-height: 1.33;
    letter-spacing: -2.1px;
    text-align: center;
    color: #17191d;
    margin-bottom: 69px;
    width: 100%;
}
.faq-item {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.faq-item_mainWrap {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    cursor: pointer;
}
.faq-item_Subwrap {
    display: flex;
    gap: 24px;
    align-items: center;
}

.faq-question {
    font-family: Pretendard-Bold;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.4;
    letter-spacing: -1px;
    color: #17191d;
}
.faq-answer {
    background-color: #f8f8f8;
    padding: 20px;
    border: 0px;
    width: calc(100% - 80px);
    border-radius: 0px 16px 16px 16px;
    font-family: Pretendard-Regular;
    font-size: 18px;
    line-height: 1.44;
    letter-spacing: -0.9px;
    color: #17191d;
}
.faq-divider {
    border-bottom: 1px solid #d8d8d8;
    width: 100%;
    margin: 24px 0px;
}
.faq-icon {
    width: 56px;
    height: 56px;
}
.faq-toggle-button > img {
    width: 6px;
    transform: rotate(90deg); /* 시계 방향으로 90도 회전 */
    height: 12px;
}
.faq-toggle-button.active > img {

    transform: rotate(-90deg); /* 시계 방향으로 90도 회전 */
}
.faq-toggle-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 18px;
    border: solid 0.5px #e2e2e2;
    background-color: #fff;
    box-sizing: border-box;
    cursor:pointer;
        flex-shrink: 0;
        margin-left: 8px;
}
.faq-answer_wrap {
    display: none;
    align-items: center;
    gap: 24px;
}
.faq-answer_wrap.open{
    display:flex;
}

.faq_btnArea{

    display: flex;
    justify-content: center;

}

.faq_btn{

    margin-top: 16px;
    width: 152px;
    height: 60px;
    border-radius: 8px;
    border: solid 1px #d8d8d8;
    background-color: #fff;
    font-family: 'Pretendard-Bold';
    font-size: 20px;
    color: #171717;
    /* display: flex; */
    font-weight: bold;

}




@media (max-width: 1200px) {

}

@media (max-width: 765px) {

}

@media (max-width: 430px) {
    .faq-title{
        font-size:28px;
        margin-bottom:27px;
    }
    .faq-section{
        padding:20px 15px;
        margin-top:0px;
        margin-bottom:60px;
    }
    .faq-icon{
        width:32px;
        height:32px;
    }
    .faq-question{
    font-size:14px;
    }
    .faq-answer p span{
    font-size:14px;
    }
    .faq-answer_wrap{
        align-items: flex-start;
        margin-top: 22px;
        gap:8px;
    }
    .faq-answer_wrap img{
        margin-top:15%;
    }
    .faq-answer{
        padding:10px;
    }
    .faq-toggle-button{
        width: 24px;
        height: 24px;
    }
    .faq-item_Subwrap{
        gap:8px;
    }
    .faq-divider{
        margin:18px 0px;
    }

    .faq_btn{

        margin-top: 0px;
        width: 120px;
        height: 38px;
        background-color: #fff;
        font-size: 14px;
        color: #171717;
        font-weight: bold;
        cursor:pointer;

    }
}


/* ≤1200px */
@media (max-width: 1200px) {
  .faq-section {
    padding: 28px 72px;
    min-height: 860px;
  }
  .faq-title {
    font-size: 38px;
    margin-bottom: 56px;
  }
  .faq-item_Subwrap { gap: 20px; }
  .faq-icon { width: 48px; height: 48px; }
  .faq-question { font-size: 18px; }
  .faq-answer {
    font-size: 17px;
    padding: 18px;
    /* 좌측 아이콘 여백 고려 축소 */
    width: calc(100% - 72px);
  }
  .faq-toggle-button { width: 32px; height: 32px; }
}

/* ≤1080px */
@media (max-width: 1080px) {
.faq-section-wrap {
    padding: 20px 12px;
}
  .faq-section {
    padding: 24px 56px;
    min-height: 780px;
  }
  .faq-title {
    font-size: 34px;
    margin-bottom: 48px;
  }
  .faq-item_Subwrap { gap: 16px; }
  .faq-icon { width: 42px; height: 42px; }
  .faq-question { font-size: 17px; line-height: 1.45; }
  .faq-answer_wrap { gap: 16px; }
  .faq-answer {
    font-size: 16px;
    padding: 16px;
    /* 더 촘촘한 레이아웃 */
    width: calc(100% - 58px);
    border-radius: 0 14px 14px 14px;
  }
  .faq-toggle-button { width: 30px; height: 30px; }
  .faq-divider { margin: 20px 0; }
  .faq_btn { width: 140px; height: 48px; font-size: 16px; }
}

/* ≤765px (태블릿/스몰 랩탑) */
@media (max-width: 765px) {
  .faq-section {
    padding: 22px 20px;
    margin: 40px auto 56px;
    min-height: 680px;
  }
  .faq-title {
    font-size: 30px;
    margin-bottom: 32px;
  }
  .faq-item_Subwrap { gap: 12px; }
  .faq-item_mainWrap { gap: 8px; }
  .faq-icon { width: 36px; height: 36px; }
  .faq-question { font-size: 16px; }
  .faq-toggle-button { width: 26px; height: 26px; }

  /* 답변 레이아웃은 세로 정렬 + 전체폭 사용 */
  .faq-answer_wrap {
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
  }
  .faq-answer {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    border-radius: 12px;
  }

  .faq-divider { margin: 16px 0; }
  .faq_btn { width: 126px; height: 42px; font-size: 15px; }
}
