@charset "UTF-8";

*{
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans KR', sans-serif;
}
ol, ul, li {
    list-style: none;
}
a {
    color: inherit;
    text-decoration: none;
}
img{
    width: 100%;
    height: 100%;
}
.header_box{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    background-color: #fff;
    padding: 20px;
    box-sizing: border-box;
    z-index: 999;
    position: fixed;
    width: 100%;
}
.logo{
    color: #0052a3;
    width: 10%;
}
.logo h3{
    display:none;
}
.logo img{
    display: block;
}
.menu_all_wrap{
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}
.m_menu_tit{
    display: none;
}
/* 가운데 메뉴 시작 */
.menu_wrap {
    position: relative;
}

.menu_wrap .dep1 > li {
    float: left;
    vertical-align: top;
    text-align: center;
    font-size: 16px;
    position: relative;
    z-index: 1;
    color: #0052a3;
}
.dep2 {
    transition: all 0.5s;
    max-height: 0;
    overflow: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1;
}
.dep2.active{
    display: block;
    max-height: 1000px;
    overflow: hidden;
    z-index: 2;
}


.menu_wrap .dep1 > li > a{
    display: block;
    font-weight: bold;
}
.menu_wrap .dep1 > li a{
    height: 60px;
    line-height: 60px;
    width: 150px;
    
}
.menu_wrap .dep1 > li a:hover{
    /* color: #659192; */
    font-weight: bold;
}

.menu_wrap .dep1 > li .dep2 a{
    display: block;
    background-color: #fff;
}

.menu_wrap .dep1 >li > a:hover ~ ul{
    display: block;
}
/* 가운데 메뉴 끝 */

.menu_txt_box{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 30px;
}
.menu_txt{
    margin-right: 10px;
    padding: 10px 20px;
    background-color: #0052a3;
    border-radius: 20px;
    color: #fff;
    font-weight: bold;
}
.menu_num{
    color: #0052a3;
    font-weight: bold;
    font-size: 24px;
}
.ham_btn{
    cursor: pointer;
    display: none;
    z-index: 999;
    position: relative;
}
.ham_btn div{
    width: 25px;
    height: 2px;
    background-color: #000;
    margin: 6px 0;
    transition: background-color 0.3s ease-in-out;
}
.call_btn, .sms_btn{
    display: none;
}
.reservation_btn{
    width: 120px;
    position: fixed;
    top: 60px;
    right: 0;
    background-color: #fff;
    z-index: 900;
    transition: all 0.3s;
    box-sizing: border-box;
    border-top: 1px solid #0052a3;
    padding: 6px;
}
.reservation_btn.active{
    top: 300px;
}
.header_height_box{
    height: 60px;
}
.blur-overlay{
    display: none;
}

@media only screen and (min-width: 1024px){
    .menu_wrap .dep1 > li:hover > .dep2 {
        display: block;
        max-height: 1000px;
        overflow: hidden;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 2;
    }
    .menu_wrap .dep1 > li:hover::after {
        width: 100%; 
        left: 0;
    }
    .menu_wrap .dep1 > li::after{
        content: "";
        width: 0;
        position: absolute;
        left: 50%;
        bottom: 0;
        height: 2px;
        background-color: #0052a3;
        transition: all 0.5s;
    }

}

@media only screen and (max-width: 1170px){
    
    .menu_wrap .dep1 > li a{
        width: 120px;
    }
    }
@media only screen and (max-width: 1050px){
    /* 추가된 CSS 스타일 */
    .blur-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        display: none;
        z-index: 500;
    }
    .menu_wrap .dep1 > li {
        color: #000;
    }


    .menu_txt_box{
        display: none;
    }
    .ham_btn{
        display: block;
        transition: all 0.5s;
        right: 0;
    }
    .logo{
        width: 20%;
    }
    .ham_btn.active{
        right: 300px;
    }
    .ham_btn.active div{
        background-color: #fff;
    }
    .ham_btn.active div:first-child{
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .ham_btn.active div:nth-child(2){
        opacity: 0;
    }
    .ham_btn.active div:last-child{
        transform: rotate(45deg) translate(-5px, -6px);
    }
    .m_menu_tit{
        display: block;
        text-align: center;
        height: 60px;
        line-height: 60px;
    }
    .menu_wrap {
        position: fixed;
        top: 0;
        right: -300px;
        transition: all 0.5s;
        background-color: #fff;
        color: #000;
        width: 300px;
    }
    .m_menu_tit,
    .menu_wrap .dep1 > li a{
        width: 300px;
        border-bottom: 1px solid #000;
        box-sizing: border-box;
    }
    .menu_wrap .dep1 > li a:hover{
        color: #a7a7a7;
        font-weight: bold;
    }
    .menu_wrap .dep1 > li .dep2 a{
        display: block;
        background-color: #ddd;
        color: #000;
    }

    .menu_wrap.active {
        right: 0;
    }
    .menu_wrap .dep1 > li {
        clear: both;
    }

    .menu_wrap .dep1 > li:hover > .dep2 {
        position: relative;
    }

    .dep2 {
        position: relative;
    }
    /* 헤더 끝 */

    .reservation_btn{
        width: 80px;
    }

}

@media only screen and (max-width: 767px){
    .logo{
        width: 40%;
    }
    .sms_btn{
        display: block;
        width: 60px;
        height: 60px;
        position: fixed;
        bottom: 90px;
        right: 20px;
        z-index: 999;
    }
    .call_btn{
        display: block;
        width: 60px;
        height: 60px;
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 999;
    }
    .reservation_btn{
        display: none;
        /*background-color: rgba(67, 148, 219, 0.5);*/
        border-top: none;
    }

}
