#header{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    transition: background-color .5s;
}

#header.hover,
#header.scroll{
    background-color: #fff;
    box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.1);
}

#header.hover .h01{
    border-bottom: 1px solid #d7d7d7;
}

#header.hover ul.mainmenu>li>a,
#header.scroll ul.mainmenu>li>a{
    color: #333;
    font-family: 'Pretendard-SemiBold', sans-serif;
}

#header.hover .h02{
    height: 280px;
}

.h01{
    width: 100%;
    height: 90px;
    box-sizing: border-box;
    position: relative;
}

.header_center{
    width: 94%;
    min-width: 1200px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.h01 .header_center>a{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

ul.mainmenu{
    width: 830px;
    height: 100%;
    display: flex;
    justify-content: space-between;
}

ul.mainmenu>li{
    height: 100%;
    text-align: center;
}

ul.mainmenu>li>a{
    font-size: 22px;
    color: #fff;
    font-family: 'Pretendard-SemiBold', sans-serif;
    padding: 0 25px;
    height: 100%;
    display: inline-flex;
    align-items: center;
    position: relative;
}

ul.mainmenu>li>a span{
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: #ed1c24;
    display: block;
    transition: all 0.3s ease-out;
}

ul.mainmenu>li.motion>a{
    color: #ed1c24 !important;
    font-family: 'Pretendard-SemiBold', sans-serif;
}

ul.mainmenu>li.motion>a span{
    width: 100%;
    left: 0;
}

ul.submenu{
    width: 100%;
    display: none;
    padding: 30px 0;
}

ul.submenu li{
    width: 100%;
    text-align: center;
    font-size: 16px;
    color: #111;
    font-family: 'Pretendard-Medium', sans-serif;
    margin-bottom: 20px;
    cursor: pointer;
}

ul.submenu li:last-child{
    margin-bottom: 0;
}

ul.submenu li:hover{
    color: #ed1c24;
    font-family: 'Pretendard-SemiBold', sans-serif;
}

.h02{
    width: 100%;
    height: 0;
}
