#header{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    transition: background-color .5s, opacity .3s;
    background-color: #fff;
}
#header.hide{
    opacity: 0;
}
#header.hover .h02{
    height: 320px;
    background-color: #ffffff;
    box-shadow: 0 0 3px rgba(0,0,0,0.2);
}
.h01{
    width: 100%;
    height: 100px;
    border-bottom: 1pt solid #f7c1a7;
    box-sizing: border-box;
}
.h01 .center{
    height: 100%;
/*    position: relative;*/
    display: flex;
    justify-content: space-between;
}
.h01 .center>a{
    display: flex;
    align-items: center;
    justify-content: center;
/*
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
*/
}
.menu_box{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0 3vw;
}
.main_menu{
    width: max-content;
    height: 100%;
/*
    position: absolute;
    top: 0;
    left: 57%;
    transform: translateX(-50%);
*/
    display: flex;
    gap: 0 2vw;
}
.main_menu>li{
    position: relative;
    height: 100%;
}
.main_menu>li>a{
    height: 100%;
    display: flex;
    align-items: center;
    transition: color .5s;
    padding: 0 20px;
}
.sub_menu{
    width: 100%;
    padding-top: 20px;
    display: none;
    position: absolute;
    top: 120px;
/*    left: 65%;*/
    left: 50%;
    text-align: center;
    transform: translateX(-50%);
}
.sub_menu li{ 
    margin-top: 25px;
    cursor: pointer;
}
.sub_menu li:first-child{
    margin-top: 0;
}
.sub_menu li a{
    color: #222222;
    font-family: 'Pretendard-Regular', sans-serif; 
}
.sub_menu li a:hover{
    color: #e56d57;
    font-family: 'Pretendard-SemiBold', sans-serif;
    text-decoration: underline;
    text-underline-position: under;
    text-underline-offset: 2px;
}
.schedule_box{
/*
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
*/
}
.schedule_box p{
/*
    width: 130px;
    height: 44px;
*/
    padding: .5vw 1vw;
    border-radius: 50px;
    background-color: #e56d57;
    cursor: pointer;
}
.st_btn{
    display: none;
}
#m_sitemap{
    display: none;
}

/* mobile */
@media screen and (max-width: 767px){ 
    .h01 {
        height: 70px;
    }
    .h01 .center>a{
        width: 150px;
    }
    .h01 .center>a img{
        width: 100%;
    }
    .main_menu{
        display: none;
    }
    .schedule_box{
        display: block;
        width: 100px;
    }

    .schedule_box img{
        width: 100%;
    }
    /* m_site_map */
    .st_btn{
        display: block;
/*
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
*/
    }
    .st_btn{
        width: 20px;
    }
    .st_btn img{
        width: 100%;
    }
    #m_sitemap{
        display: block;
        width: 100%;
        height: 100vh;
        background-color: #ffece9;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 999999;
        transform: translateX(100%);
        transition: transform .8s;
    }
    #m_sitemap.show{
        transform: translateX(0);
    }
    .close_btn{
        display: flex;
        justify-content: flex-end;
        padding-right: 16px;
        padding-top: 38px;

    }
    .close_btn img{
       width: 5%;
    }
    .st_box{
        padding: 12vh 15% 0;
        overflow: auto;
        width: 100%;
        height: 100%;
    }
    .st_menu ul{
        width: 100%;
        display: none;
    }
    .st_menu p{
        color: #454545;
        padding: 15px 0;
    }
    .st_menu li{
        padding: 10px 0;
    }
    .st_menu a{
        color: #454545;
    }
}
    
/* tablet */
@media screen and (min-width: 768px) and (max-width: 1024px){
    .h01 .center>a{
        width: 200px;
    }
    .h01 .center>a img{
        width: 100%;
    }
    .main_menu{
        display: none;
    }
     .schedule_box{
        display: block;
        width: 150px;
    }

    .schedule_box img{
        width: 100%;
    }

    /* m_site_map */
    .st_btn{
        display: block;
/*
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
*/
    }
    .st_btn i{
        color: #454545;
        font-size: 30px;
    }
    #m_sitemap{
        display: block;
        width: 100%;
        height: 100vh;
        background-color: #ffece9;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 999;
        transform: translateX(100%);
        transition: transform .8s;
    }
    #m_sitemap.show{
        transform: translateX(0);
    }
    .close_btn{
        display: flex;
        justify-content: flex-end;
        padding-right: 30px;
        padding-top: 38px;
    }
    #m_sitemap i{
        font-size: 30px;
        color: #454545;
    }
    .st_box{
        padding: 12vh 15% 0;
        overflow: auto;
        width: 100%;
        height: 100%;
    }
    .st_menu ul{
        width: 100%;
        display: none;
    }
    .st_menu p{
        color: #454545;
        padding: 20px 0;
    }
    .st_menu li{
        padding: 15px 0;
    }
    .st_menu a{
        color: #454545;
    }
}