@charset "utf-8";

/* 모든 컨텐츠 넘치지 않도록 ///////////////// */
#wrap {
    overflow: hidden;
}

/* info ///////////////////////////////// */
#info {
    display: flex;
    justify-content: end;
}
#home {
    width: 5%;
    text-align: center;
    margin: 40px 5px;
    padding-left: 10px;
}
#home img {
    margin-left: 20px;
    vertical-align: center;
}
#site, #site2, #site3 {
    
    position: relative;
    text-align: center;
    background: url(../img/sub_01/Shape_right.png) no-repeat 5px 6px;
    margin: 40px 5px;
    /* padding-left: 10px; */
}
.text_site, .text_site2, .text_site3 {
    height: 20px;
    line-height: 20px;
    position: relative;
    cursor: pointer;
}
.ch_text, .ch_text2, .ch_text3 {
    display: block;
    text-indent: 5px;
    padding-right: 25px;
    margin-left: 25px;
}
.arrow, .arrow2, .arrow3 {
    position: absolute;
    top: 0px;
    right: 0px;
    color: #474747;
}
#site ul, #site2 ul, #site3 ul {
    position: absolute;
    background: #fff;
    border: 1px solid #efefef;
    top: 20px;
    left: calc(50% - 47px);
    width: 120px;
    box-sizing: border-box;
    display: none;
    z-index: 1;
}
#site ul li a, #site2 ul li a, #site3 ul li a {
    display: block;
    height: 30px;
    line-height: 30px;
    color: #333;
}
#site ul li a:hover, #site2 ul li a:hover, #site3 ul li a:hover {
    background: #D0E7F6;
}


/* tab_menu //////////////////////////////// */
.s_title {
    text-align: center;
    overflow: hidden;
}
.s_title h2 {
    font-size: 28px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}
.s_title h2::before {
    content: '';
    position: absolute;
    width: 600px;
    top: 50%;
    left: -630px;
    transform: translateY(50%);
    border: 1px solid #636363;
    transform: scaleY(0.5);
}
.s_title h2::after {
    content: '';
    position: absolute;
    width: 600px;
    top: 50%;
    right: -630px;
    transform: translateY(50%);
    border: 1px solid #636363;
    transform: scaleY(0.5);
}
.s_tab ul {
    display: flex;
    justify-content: center;
}
.s_tab ul li {
    margin: 30px 0;
}
.s_tab ul li a {
    display: block;
    color: #474747;
    font-size: 18px;
    font-weight: 500;
    height: 50px;
    text-align: center;
    line-height: 50px;
    padding: 0 30px;
}
.s_tab ul li:hover a {
    display: block;
    border-bottom: 3px solid #051766;
    color: #051766;
    font-weight: 700;
    box-sizing: border-box;
}

@media screen and (max-width:768px) {
    #info {
        display: none;
    }
    .s_title {
        margin-top: 40px;
    }
    .s_tab ul li a {
        font-size: 16px;
        padding: 0 10px;
    }
} /* 모바일: 0부터 768까지 */
