﻿






.exservice .swiper {
    width: 100%;
    height: 100%;
    background: #F5F5F7;
    border-radius: 14px;
}
.exservice .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    align-items: center;
}





/* 선택 필터 */
.tag{
    display: flex;
    flex-wrap: wrap;
    margin-left: 1%;
}
.label_tag{
    /*width: calc(14% - 5px);*/
    /*width: 150px;*/
    height: 50px;
    line-height: 46px;
    margin-right: 8px;    
    margin-bottom: 8px;

    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #6A5E5E;
    background: #F5F5F7;
    border-radius: 14px;
    cursor: pointer;
}
.label_tag input[type="radio"] + span {
    display: inline-block;
    text-align: center;
    cursor: pointer;
    margin: auto;
    padding: 0 50px;
}
.label_tag input[type="radio"]:checked + span {
    width: 100%;
    height: 50px;
    line-height: 50px;
    border-radius: 14px;
    background: var(--normal-red);
    color: #fff;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.25);
}

.tag2 {
    margin-left: 1%;
    white-space: nowrap; 
    height: 50px;
}

.tag2 .label_tag{
    background: none;
    margin: 0;
    width: auto;
    font-size: 14px;
    line-height: 47px;
}
.tag2 .label_tag input[type="radio"] + span {
    display: inline-block;
    line-height: 40px;
    background-color: #ffffff;
    text-align: center;
    cursor: pointer;
    margin-right: 5px;
    width: auto;
    padding: 0 20px;
    height: 40px;
    border-radius: 50px;
}
.tag2 .label_tag input[type="radio"]:checked + span {
    width: auto;
    padding: 0 20px;
    height: 40px;
    border-radius: 50px;
    line-height: 40px;
    border-radius: 25px;
    background: #6A5E5E;
    color: #fff;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.25);
}








/* faq 리스트 */
.wrap .m_gnb {
    margin-top: 50px;
}
.wrap .m_gnb ul {
    margin-top: 0;
}

.wrap .m_gnb>li:first-child {
    border-top: 1px solid #D9D9D9;
}
.wrap .m_gnb>li:not(:last-child) {
    padding-bottom: 0;
}
.wrap .m_tit:not(:last-child) {
    border-bottom: 1px solid #D9D9D9;
}
.wrap .m_gnb>li {
    font-weight: 700;
    font-size: 18px;
}
.wrap .m_gnb>li {
    margin: 0;
}
.wrap .m_gnb li ul {
    padding: 0;
}
.wrap .m_gnb>div{
    display: flex;
    padding-bottom: 23px;
    border-bottom: 1px solid #D9D9D9;
    
    line-height: 33px;
}
.m_tit>div{
    display: flex;
}
.sub_tit{
    font-size: 20px;
    font-weight: 600;
    color: #111;
}
.sub_tex{
    font-size: 16px;
    font-weight: 500;
    color: #4d4d4d;
}
.wrap .m_gnb img {
    position: absolute;
    left: 90%;
    margin-top: 5px;
    transition: all 0.5s ease;
}
.wrap .m_gnb .m2{
    font-weight: 500;
    font-size: 16px;
    color: #4d4d4d;
}

.wrap .m_gnb {
    border-bottom: none;
}

.qna_tit {
    display: flex;
    width: 100%;
    padding: 2.5% 2%;
    justify-content: space-between;
}
.qna_tit>div{
    padding-right: 2%;
}
.qna_tit p:first-child{
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
}
.qna_tit p:last-child{
    font-size: 16px;
    font-weight: 500;
}
.qna_tit>div:nth-of-type(2)>p:last-child{
    
    white-space: nowrap;
}




.qna_tit>div:last-of-type{
    text-align: right;
}
.qna_tit>div:last-of-type>p:first-child{
    color: var(--strong-red);
    font-weight: 600;
}

.wrap .m_gnb .m2{
    background: #F6F6F6;
    border-top: 1px solid #D9D9D9;
    padding: 3%;
    display: flex;
    justify-content: space-between;
}
.m2>div:first-child{
    margin-right: 1%;
}
.m2 p{
    margin-bottom:5px;
}
.m2 button{
    width: 300px;
    height: 72px;
    margin-top: auto;
    font-size: 16px;
    font-weight: 600;
    background: var(--normal-red);
    color: #fff;
    border-radius: 15px;
}
.m2 button:hover{
    box-shadow: 2px 4px 10px rgba(125,125,125,0.55);
}
.wrap .m_gnb li li:not(:last-child) {
    margin-bottom: 0;
}
.wrap .m_gnb>li:last-child{
    border-bottom: 1px solid #d9d9d9;
}


/* arrow */
.wrap .m_gnb img {
    position: absolute;
    left: 98%;
    margin-top: 16px;
    transition: all 0.5s ease;
}


/* 리스트 내역 없을 때 */
.wrap .m_gnb .list_none>p{
    text-align: center;
    border: 0;
    margin: 5%;
    font-size: 16px;
    font-weight: 600;
}


/* 반응형 */
@media screen and (max-width: 1200px) {

    .wrap .m_gnb .m2 {
        margin-top: 0;
    }
}
@media (max-width:984px) {
    .qna_tit>div {
        padding-right: 6%;
    }
    .m2 button {
        width: 220px;
    }
}

@media (max-width:768px) {

    /* 선택 필터*/
    .label_tag {
        height: 43px;
        line-height: 40px;
        font-size: 13px;
        font-weight: 700;
        margin-right: 6px;
    }
    .label_tag input[type="radio"]:checked + span {
        height: 43px;
        line-height: 43px;
    }

    /* faq list */
    .wrap .m_gnb {
        margin-top: 20px;
    }

    .wrap .m_gnb div p {
        font-size: 14px;
    }
    .wrap .m_gnb div {
        font-size: 17px;
    }
    .wrap .m_gnb .m2 {
        font-size: 15px;
    }
    .wrap .m_gnb>li:not(:last-child) {
         padding-bottom: 0; 
    }
    .qna_tit p:first-child {
        font-size: 16px;
    }
    .qna_tit p:last-child {
        font-size: 14px;
    }
    .m2 button {
        width: 160px;
        height: 50px;
        font-size: 14px;
        border-radius: 10px;
    }

}

@media (max-width:580px) {
    .label_tag input[type="radio"]:checked + span {
        height: 44px;
        line-height: 44px;
    }
    .wrap .m_gnb {
        margin-top: 15px;
    }
    /* 선택 필터*/
    .tag {
        display: flex;
        margin-left: 1%;
        flex-wrap: wrap;
    }
    .label_tag {
        height: 44px;
        width: calc(20% - 2px);
        line-height: 40px;
        margin-right: 5px;
        margin-top: 1%;
        text-align: center;
        font-size: 14px;
    }
    .label_tag input[type="radio"] + span {
        padding: 0 10px;
    }

    .tag2 .label_tag input[type="radio"] + span, .tag2 .label_tag input[type="radio"]:checked + span {
        font-size: 12px;
    }
    .tag2 .label_tag input[type="radio"] + span {
        line-height: 30px;
        height: 30px;
    }
    .tag2{
        height: 44px;
    }
    .tag2 .label_tag {
        line-height: 40px;
    }
    .tag2 .label_tag input[type="radio"]:checked + span {
        height: 30px;
        line-height: 30px;
    }

    /* 하단 */
    .qna_tit p:first-child {
        font-size: 14px;
    }
    .qna_tit p:last-child {
        font-size: 12px;
    }
    .wrap .m_gnb div p {
        font-size: 12px;
        margin-bottom: 3px;
    }
    .m2 button {
        width: 100px;
        height: 35px;
        font-size: 12px;
        border-radius: 6px;
        font-weight: 400;
    }

/* 리스트 내역 없을 때 */
    .wrap .m_gnb .list_none>p{
    margin: 7%;
    font-size: 12px;
}

}

@media (max-width:480px) {
    /* 선택 필터*/
    .label_tag {
        width: calc(24% - 5px);
        margin-top: 1%;
        font-size: 12px;
    }


    .wrap .m_gnb {
        width: 100%;
        margin: 15px auto 0 auto;
    }

    .wrap .m_gnb img {
        margin-top: 13px;
        width: 10px;
    }
    .qna_tit p:first-child {
        font-size: 13px;
    }
    .qna_tit p:last-child {
        font-size: 11px;
        line-height: 30px;
        margin-left: 5px;
    }
    .wrap .m_gnb div p {
        font-size: 11px;
        margin-bottom: 1px;
    }
    .m2 button {
        width: 80px;
        height: 33px;
        font-size: 11px;
    }

    .qna_tit {
        display: flex;
        width: 100%;
        justify-content: space-between;
    }

    .sub_tex {
        display: none;
    }
    .qna_tit>div:last-of-type{
        display: flex;
    }

    .wrap .m_gnb .m2 {
        display: block;
    }
    .m2 button {
        width: 100%;
        height: 44px;
        margin-top: 15px;
    }

}

@media (max-width:360px) {

    .tag {
        display: flex;
        margin-left: 3%;
        flex-wrap: wrap;
    }

    .tag2 .label_tag {
    line-height: 35px;
}
    .tag2 {
    height: 38px;
}

    .wrap .m_gnb div {
        font-size: 14px;
    }
    .wrap .m_gnb img {
        margin-top: 13px;
        width: 10px;
    }
}
