@charset "utf-8";
/**
 * @author https://www.cosmosfarm.com
 */

.faq-board{
    margin-top:40px !important;
}
.faq-board .faq-wrap{
    padding: 0;
    line-height: 1.5;
    list-style: none;
}
.faq-board .faq-wrap li{
    background: #F2F2F2;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}
.faq-board .faq-wrap li:last-child{
    margin-bottom: 0;
}
.faq-board .faq-wrap li .faq-num{
    font-size: clamp(16px, 2vw, 26px);
    font-weight: 500;
}
/* faq - q */
.faq-board .faq-wrap li .faq-q,
.faq-board .faq-wrap li .faq-a .faq-q-wrap{
    display: flex; gap: 53px;
    align-items: baseline;
    position: relative;
}
.faq-board .faq-wrap li .faq-q{
    padding: 24px 40px;
    background: #fff;
    font-size: clamp(16px, 1.6vw, 20px);
    border: 1px solid #DBDBDB;
    border-radius: 10px; overflow: hidden;
    cursor: pointer;
}
.faq-board .faq-wrap li .faq-q.active{
    color: #fff;
    background: #D9252D;
    border: none;
}
.faq-board .faq-wrap li .faq-q > span{
    color: #D9252D;
}
.faq-board .faq-wrap li .faq-q.active > span{
    color: #fff;
}
.faq-board .faq-wrap li .faq-q > p{
    width: 85%;
}
.faq-board .faq-wrap li .faq-q .faq-arrow{
    position: absolute; 
    right: 40px; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px;
    border: 1px solid #DBDBDB; 
    border-radius: 50px;
    background: #fff;
}
.faq-board .faq-wrap li .faq-q.active .faq-arrow{
    border: 1px solid #fff;
}
.faq-board .faq-wrap li .faq-q .faq-arrow img{
    width: 100%;
}

/* faq - a */
.faq-board .faq-wrap li .faq-a{
    padding: 40px;
    font-size: 16px;
    display: none;
    position: relative;
}
.faq-board .faq-wrap li .faq-a .list-control{
    position: absolute; right: 10px; bottom: 10px;
}
.faq-board .faq-wrap li .faq-a .list-control a{
    border: 1px solid #222; padding: 3px;
}

@media screen and (max-width:1024px){
    .faq-board{
        margin-top: 0 !important;
    }
    .faq-board .faq-wrap li .faq-q > p{
        width: 80%;
    }
    .faq-board .faq-wrap li .faq-q, 
    .faq-board .faq-wrap li .faq-a .faq-q-wrap{
        gap:20px
    }
}

@media screen and (max-width:768px){
    .faq-board .faq-wrap li .faq-q{
        padding: 20px 30px;
    }
    .faq-board .faq-wrap li .faq-a{
        padding: 30px;
    }
    .faq-board .faq-wrap li .faq-q .faq-arrow{
        right: 30px;
        width:30px; height: 30px;
    }
}

@media screen and (max-width:600px){
    .faq-board .faq-wrap li .faq-q, 
    .faq-board .faq-wrap li .faq-a .faq-q-wrap{
        gap:12px
    }
}