/*서브탭메뉴*/
.tabwrap {
    display: none;
    transform: rotate(-0.03deg);
    width: 90%;
    margin: 0 auto;
    margin-bottom: 0px;
    z-index: 99;
    position: relative;
    padding-top: 10vw;
}


.tabwrap ul {
    width: 100%;
    margin: 0 auto;
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    text-align: center;
    flex-wrap: wrap;
    border: 1px solid #d1d1d1;
    margin-top: -1px;

}


.tabwrap>ul>li {
    width: 33.3333%;
    display: block;
    font-size: 3vw;
    height:10vw;
    line-height: 40px;
    transform: rotate(-0.03deg);
}

.tw50 li {
    width: 50% !important;
}

.tw33 li {
    width: 33.3333% !important;
}

.tw25 li {
    width: 25% !important;
}

.tw20 li {
    width: 20% !important;
}


.tabwrap ul a {
    width:100%;
    height:100%;
    display:flex;
    justify-content: center;
    align-items: center;

    font-weight: 400;
    border-right: 1px solid #d1d1d1;
    border-left: 1px solid #d1d1d1;
    line-height: 4vw;
    width: 100%;
    height: 100%;
    color: #636363
}


/* .tabwrap>ul>li:after {
    content: "";
    width: 1px;
    height: 12px;
    background: #212121;
    display: block;
    z-index: 999;
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
} */

.tabwrap>ul>li:first-child::after {
    display: none;

}




.tabwrap ul li:first-child a {
    border-left: none;
}



.tab_on {
    background: #d7d7d7 !important;
    color: rgb(0, 0, 0) !important;
    font-size:3.1vw;
    font-weight: 500;
}




.towtap_on ul{background-color: rgb(89, 38, 89);}s

.towtap_on li>a {
    color: #636363 !important;
    background: #fff !important;
}


.towtap_on li>a.tab_on {
    color: black !important;
    background: #ececec !important;
}



/* 테두리 없는 버전 */

.tab_on2 {
    background: #e4e4e4 !important;
    color: #fff !important;
}


.towtap2_on ul {
    background-color: rgb(89, 38, 89);
}


.towtap2_on ul a{
    border-right: 0px solid #d1d1d1;
}

.towtap2_on li>a {
    height: 2vw;
    line-height: 2vw;
    margin-top: 3vw;
    margin-bottom: 5vw;
    color: #636363 !important;
    background: #fff !important;
}


.towtap2_on li>a.tab_on {
    color: black !important;
    /* background: #ececec !important; */
}