@charset "UTF-8";

.fzfangsong {
    font-family: Roboto, "FZFangSong-Z02S", sans-serif;
}

.m_img_m {
    width: 187px;
    display: block;
}

.m_img_m img {
    width: 100%;
}

.banner-faq {
    text-align: center;
    display: block;
}

.banner-faq a {
    display: inline-block;
    width: 210px;
}

.banner-faq img {
    display: inline-block;
    width: 100%;
}


.title_m {
    top: 40px;
    font-size: 32px;
    line-height: normal;
    color: #fff;
}

.areaFaq .faqWrap .faqListCat {
    font-size: 24px;
    margin-bottom: 15px;
}

.areaFaq .faqWrap .faqCatitem {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    width: 100%;
    max-width: 1000px;
    background: transparent;
    border: none;
}

.areaFaq .faqWrap .faqCatitem li {
    width: 100%;
    border: none;
    box-sizing: border-box;
}

.areaFaq .faqWrap .faqCatitem li a {
    display: block;
    position: relative;
    padding: 14px 40px 14px 20px;
    background-color: #ffffff;
    border: 1px solid #d9d9d9;
    border-radius: 50px;
    color: #333333;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    text-align: center;
    line-height: 1.4;
}

/* Arrow element */
.areaFaq .faqWrap .faqCatitem li a::after {
    content: "›";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #878787;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    padding-left: 2px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

/* Hover state */
.areaFaq .faqWrap .faqCatitem li a:hover {
    background-color: #878787;
    color: #ffffff;
    border-color: #878787;
    box-shadow: 0 4px 12px rgba(30, 74, 132, 0.2);
}

.areaFaq .faqWrap .faqCatitem li a:hover::after {
    background-color: #ffffff;
    color: #878787;
}

/* Active / Current state */
.areaFaq .faqWrap .faqCatitem li.active a,
.areaFaq .faqWrap .faqCatitem li.current a {
    background-color: #789da5;
    color: #ffffff;
    border-color: #878787;
    box-shadow: 0 4px 12px rgba(30, 74, 132, 0.25);
}

.areaFaq .faqWrap .faqCatitem li.active a::after,
.areaFaq .faqWrap .faqCatitem li.current a::after {
    display: none;
    /* Hide the arrow on the active item */
}

.areaFaq .faqItemWrap {
    margin-bottom: 40px;
}

.areaFaq .faqItemWrap .faqItemCat {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
    /* border-left: 10px solid #c3c3c3; */
    color: #fff;
    /* padding-left: 15px; */
    line-height: 1.4;
    background: url(../faq/images/icon-question.svg) #a72139 no-repeat left 8px center;
    padding: 4px 10px 4px 32px;
    background-size: 18px;
    border-radius: 10px;
}

.areaFaq .faqItemWrap .faqListItem {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.areaFaq .faqItemWrap .faqItem {
    background: #ffffff;
    /* border: 1px solid #e0e0e0; */
    /* border-radius: 12px; */
    /* padding: 25px 30px; */
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.3s ease, border-color 0.3s ease; */
}

.areaFaq .faqItemWrap .faqItem:hover {
    /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08); */
    /* border-color: #c3c3c3; */
}

.areaFaq .faqItemWrap .faqQuestion {
    cursor: pointer;
    user-select: none;
    position: relative;
}

.areaFaq .faqItemWrap .faqQuestion h3 {
    font-size: 17px;
    font-weight: bold;
    color: #333;
    line-height: 1.5;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-right: 35px;
}

.areaFaq .faqItemWrap .faqQuestion::after {
    content: '';
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    width: 10px;
    height: 10px;
    border-right: 2px solid #999;
    border-bottom: 2px solid #999;
    transform-origin: center;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.areaFaq .faqItemWrap .faqItem.is-open .faqQuestion::after {
    border-color: #333;
    transform: translateY(-30%) rotate(-135deg);
}

.areaFaq .faqItemWrap .faqQuestion h3 span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: #a72139;
    color: #fff;
    width: 70px;
    height: 30px;
    font-size: 17px;
    font-weight: normal;
    border-radius: 50%;
    flex-shrink: 0;
}

.areaFaq .faqItemWrap .faqAnswer {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border-top: 1px dashed #e0e0e0;
    overflow: hidden;
    height: 0;
    padding-top: 0;
    margin-top: 0;
    opacity: 0;
    box-sizing: border-box;
    will-change: height, opacity;
    transform: translateZ(0);
    transition: height 0.35s ease, opacity 0.35s ease, padding-top 0.35s ease, margin-top 0.35s ease;
}

.areaFaq .faqItemWrap .faqItem.is-open .faqAnswer {
    background: #F3F3ED;
    padding: 14px 25px 14px 14px;
    margin-top: 15px;
    opacity: 1;
    transition: height 0.35s ease, opacity 0.35s ease;
}

.areaFaq .faqItemWrap .faqAnswer>span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    /* background: #f0f0f0; */
    color: #789da5;
    width: 40px;
    height: 40px;
    font-size: 17px;
    font-weight: bold;
    border-radius: 8px;
    flex-shrink: 0;
}

.areaFaq .faqItemWrap .faqAnswer p {
    font-size: 17px;
    line-height: 1.7;
    color: #555;
    margin: 0;
    padding-top: 6px;
    transform: translateZ(0);
}

@media screen and (max-width: 768px) {
    .areaFaq .faqItem {
        padding: 20px;
    }

    .areaFaq .faqWrap .faqCatitem {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .areaFaq .faqCatitem li {
        width: 100%;
    }
}