#header{
    width: 100%;
    border-bottom: 1px solid #ebebeb;
}

.d_day_sec{
    width: 100%;
    background-color: #ebebeb;
}

.d_day_sec .center01{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.d_day{
    display: inline-flex;
    align-items: center;
    background-color: #fff;
    padding: 5px 30px;
}

.d_day p{
    font-size: 16px;
    font-family: 'Pretendard-Medium', sans-serif;
    margin-left: 8px;
    display: flex;
    align-items: center;
}

.d_day p span{
    color: #006fba;
    font-family: 'Pretendard-Bold', sans-serif;
    display: block;
    margin-left: 13px;
}

.d_day_sec ul{
    display: flex;
}

.d_day_sec ul li{
    font-size: 14px;
    margin-right: 25px;
    font-family: 'Pretendard-Regular', sans-serif;
    cursor: pointer;
}

.d_day_sec ul li:last-child{
    margin-right: 0;
}

.header_sec{
    width: 100%;
    height: 120px;
    background-color: #fff;
}

.header_sec>.center01{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header_sec>.center01>a{
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header_sec>.center01>a img{
    width: 100%;
}

ul.main_menu{
    width: 80%;
    height: 100%;
    display: flex;
    justify-content: space-between;
}

ul.main_menu>li{
    margin: 0 20px;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 4px solid #fff;
    box-sizing: border-box;
}

ul.main_menu>li:hover{
    border-bottom: 4px solid #006fba;
    transition-duration: 1s;
}

ul.main_menu>li>a{
    font-size: 20px;
    font-family: 'Pretendard-SemiBold', sans-serif;
    color: #333;
    box-sizing: border-box;
}

ul.sub_menu{
    width: 170px;
    background-color: #fff;
    position: absolute;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    border: 1px solid #ebebeb;
    box-sizing: border-box;
    padding: 0 30px 30px;
    display: none;
}

ul.sub_menu li{
    width: 100%;
    margin-top: 20px;
}

ul.sub_menu li a{
    display: block;
    font-size: 14px;
    color: #333;
    font-family: 'Pretendard-Medium', sans-serif;
}





























/* mobile */
@media screen and (max-width: 767px){

    #header{
        height: 13vh;
        box-sizing: border-box;
        position: fixed;
        z-index: 999;
        top: 0;
        left: 0;
    }

    .d_day_sec{
        border-bottom: 1px solid #ebebeb;
        height: 25%;
        box-sizing: border-box;
    }

    .d_day_sec .center01{
        width: 100%;
        height: 100%;
    }

    .d_day{
        width: 50%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #fff;
        padding: 0;
    }

    .d_day img{
        width: 10px;
    }

    .d_day p{
        font-size: 10px;
        margin-left: 5px;
    }

    .d_day p span{
        margin-left: 10px;
    }

    .d_day_sec ul{
        padding-right: 4%;
    }

    .d_day_sec ul li{
        font-size: 10px;
        margin-right: 20px;
    }

    .header_sec{
        height: 75%;
    }

    .header_sec .center01{
        height: 100%;
    }

    .header_sec .center01>a{
        width: 30%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 1%;
        box-sizing: border-box;
    }

    .header_sec .center01>a img{
        width: 100%;
    }

    ul.main_menu{
        display: none;
    }

}























/* tablet */
@media screen and (min-width: 768px) and (max-width: 1024px){

    #header{
        height: 13vh;
        box-sizing: border-box;
        position: fixed;
        z-index: 999;
        top: 0;
        left: 0;
    }

    .d_day_sec{
        border-bottom: 1px solid #ebebeb;
        height: 25%;
        box-sizing: border-box;
    }

    .d_day_sec .center01{
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .d_day{
        width: 60%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #fff;
        padding: 0;
    }

    .d_day img{
        width: 10px;
    }

    .d_day p{
        font-size: 10px;
        margin-left: 5px;
    }

    .d_day p span{
        margin-left: 10px;
    }

    .d_day_sec ul{
        padding-right: 4%;
    }

    .d_day_sec ul li{
        font-size: 12px;
    }

    .header_sec{
        height: 75%;
    }

    .header_sec .center01{
        height: 100%;
    }

    .header_sec .center01>a{
        width: 18%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header_sec .center01>a img{
        width: 100%;
    }

    ul.main_menu{
        display: none;
    }

}
