main{
    padding-top: 180px;
}
.faq-search{
    margin-top: var(--space-3x-large);
    margin-bottom: var(--space-x-large);
}
.faq-search-box{
    width: 648px;
    border-bottom: 1px solid #000;
    display: flex;
    gap: .6rem;
    justify-self: center;
}
.faq-search-box img {
    height: 2rem;
    max-width: 100%;
}
input[id="faq-search-keyword"]::placeholder{
    font-weight: var(--fw-med);
    color: rgba(0, 0, 0, 0.5);
}
.cate-box{
    margin-bottom: var(--space-foot);
}
.cate-box .common-frame {
    width: 919px;
    margin: 0 auto;
}
.cate-box .swiper-slide img{
    height: 3.2rem;
}
/* .swiper-wrapper{
    border-bottom: 1px solid #000;
} */
.faq-cate-list{
    display: flex;
    justify-content: center;
    padding-bottom: var(--space-x-large);
    margin-bottom: var(--space-x-large);;
}
.faq-cate-list li{
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-normal);
    justify-content: center;
    border: 1px solid #9F9F9F;
    cursor: pointer;
    box-sizing: border-box;
}
.btn-filter.clicked{
    color: var(--main-color);
    font-weight: var(--fw-med);
    border: 1px solid var(--main-color);
    border-bottom: 3px solid var(--main-color);
    box-sizing: border-box;
}
.faq-list>li {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #000;
    border-radius: 0.5rem;
    padding: 0 1rem;
    margin-bottom: var(--space-normal);
    max-height: 90px;
    overflow: hidden;
    transition: all 0.3s ease 0s;
}
.faq-list>li.on{
    max-height: 200px;
}
.faq-list>li>div {
    display: flex;
    gap: var(--space-normal);
    padding: var(--space-normal) 1.5rem;
    justify-content: space-between;
}
.f-title{
    width: 769px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.f-title img{
    cursor: pointer;
}
.que{
    width: 100%;
    background-color: #fff;
    border-radius: 1.5rem 1.5rem 0 0;
}
.que img{
    height: 2.5rem;
}
.ans{
    width: 100%;
    background-color: var(--cb-color-0);
    border-radius: 0 0 1.5rem 1.5rem;
}
.ans img{
    height: 2.5rem;
}
.btn-down{
    transition: all .3s ease 0s;
}
.faq-foot {
    background-color: #eee;
}
.faq-foot .common-frame{
    width: 100%;
    height: 400px;
    text-align: center;
}
.faq-foot .common-frame h3{
    padding-top: var(--space-large);
    margin-bottom: var(--space-normal);
}
.faq-foot .common-frame h3+p{
    margin-bottom: var(--space-normal);
}
.faq-foot .common-frame dl{
    padding: var(--space-small);
    width: 600px;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--space-small);
    margin: 0 auto;
    text-align: left;
}
.faq-foot .common-frame dl dd:last-of-type{
    font-size: var(--fs-det);
}
.faq-foot .common-frame dl dt:first-child{
    display: flex;
    align-items: center;
    gap: var(--space-x-small);
}

.faq-foot a .btn-per-que{
    background-color: var(--main-color);
    color: #fff;
    width: 332px;
    height: 62px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: .25rem;
    margin: 0 auto;
    margin-top: var(--space-large);
    font-size: var(--fs-h2);
}







/* ---------------- */
/* 반응형 대응 코드 */
@media (max-width: 1440px){
    main{
        padding-top: 90px;
    }
    .faq-foot .common-frame {
        width: auto;
    }
    .faq-list>li {
        max-height: 80px;
    }
}


@media (max-width: 1000px){
    .cate-box .common-frame {
        width: auto;
        margin: 0 1rem;
    }
    
}


@media (max-width: 768px){
    main{
        padding-top: 65px;
    }
    .faq-search-box {
        width: 100%;
    }
    .faq-cate-list {
        justify-content: flex-start;
    }    
    .faq-cate-list li {
        width: 120px;
        height: 120px;
        gap: 0;
    }
    .faq-list>li {
        max-height: 63px;
    }
    .faq-foot a .btn-per-que {
        width: 100%;
        height: 42px;
    }
    .faq-foot .common-frame {
        height: 300px;
    }
        
    .faq-foot .common-frame dl {
        width: auto;
    }

}   


@media (max-width: 500px){
    .faq-foot .common-frame dl {
        width: auto;
        grid-template-columns: repeat(2,auto);
    }
    
}


@media (max-width: 300px){
    
}