/**
 * sh_faq.css
 * FAQ 아코디언 스타일 (customer5.php)
 */

/* FAQ 제목 */
.faq_title {
    text-align: center;
    margin-bottom: 50px;
}

.faq_title h2 {
    font-size: 36px;
    font-weight: 800;
    color: #3EC890;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.faq_title p {
    font-size: 16px;
    color: #000;
}

/* FAQ 리스트 */
.faq_list {
    max-width: var(--mainsize);
    margin: 0 auto;
}

.faq_item {
    border-bottom: 1px solid #e5e5e5;
}

.faq_item:first-child {
    border-top: 2px solid #333;
}

/* 질문 영역 */
.faq_question {
    display: flex;
    align-items: center;
    padding: 20px 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.faq_question:hover {
    background: #f9f9f9;
}

.faq_question .q_icon {
    width: 30px;
    height: 30px;
    background: #3EC890;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    margin-right: 15px;
    flex-shrink: 0;
}

.faq_question .q_text {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.5;
}

.faq_question .q_arrow {
    width: 24px;
    height: 24px;
    transition: transform 0.3s;
}

/* 활성화 상태의 화살표 회전 */
.faq_item.active .faq_question .q_arrow {
    transform: rotate(180deg);
}

/* 답변 영역 */
.faq_answer {
    display: none;
    padding: 0 15px 25px 60px;
}

.faq_answer .a_icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: #f0f0f0;
    color: #666;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-weight: 700;
    font-size: 14px;
    margin-right: 15px;
    vertical-align: top;
}

.faq_answer .a_text {
    display: inline-block;
    width: calc(100% - 50px);
    font-size: 15px;
    color: #666;
    line-height: 1.8;
}

/* 활성화 상태의 답변 표시 */
.faq_item.active .faq_answer {
    display: block;
}

/* FAQ 없음 메시지 */
.no_faq {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 16px;
}

/* 반응형 - 모바일 */
@media (max-width: 768px) {
    .faq_title h2 {
        font-size: 28px;
    }

    .faq_question .q_text {
        font-size: 14px;
    }

    .faq_answer {
        padding-left: 15px;
    }

    .faq_answer .a_icon {
        display: none;
    }

    .faq_answer .a_text {
        width: 100%;
        font-size: 14px;
    }
}
