#header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    transition: background-color .5s;
}

#header.scroll {
    background-color: rgba(0, 0, 0, 0.8);
}

#header.show {
    background-color: rgba(0, 0, 0, 0.8);
}

#header.show .h1 .center>a {
    opacity: 0.2;
}

/*
#header.show .lang {
    opacity: 0.2;
}
*/

.h1 {
    width: 100%;
    height: 100px;
}

.h1 .center {
    width: 85%;
    height: 100%;
    min-width: 1400px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.h1 .center a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .3s;
}

.menu_lang {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 0 95px;
}

.menu {
    height: 100%;
}

.menu ul {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 0 100px;
}

.menu ul li {
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 18px;
    color: #fff;
    font-family: 'Pretendard-Regular', sans-serif;
    cursor: pointer;
}

.menu ul li.on {
    background: linear-gradient(to left, #003973, #00aeea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Pretendard-Black', sans-serif;
}

.lang {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity .3s;
    position: relative;
}

.langs {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    background-color: #00aeea;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 5px 0;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}

.lang:hover .langs,
.langs.show{
    opacity: 1;
    visibility: visible;
}

.langs:after {
    content: "▲";
    color: #00aeea;
    position: absolute;
    font-size: 16px;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.langs a {
    width: 100%;
    text-align: center;
    font-size: 14px;
    color: #fff;
    font-family: 'Pretendard-Medium', sans-serif;
}

.h2 {
    width: 100%;
    height: 490px;
    border-top: 1px solid #363636;
    padding-top: 70px;
    box-sizing: border-box;
    display: none;
}

.h2 .center {
    height: 100%;
    position: relative;
}

.sub_menu {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s, visibility .5s;
}

.sub_menu.show {
    opacity: 1;
    visibility: visible;
}

.sub_menu ul {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 35px 0;
}

.sub_menu ul li {
    display: flex;
    align-items: center;
    gap: 0 15px;
}

.sub_menu1 ul {
    gap: 35px 5.33%;
}

.sub_menu1 ul li {
    width: 21%;
}

.sub_menu2 ul li {
    width: 50%;
    justify-content: center;
}

.sub_menu3 ul li {
    width: 33.33%;
    justify-content: center;
}

.sub_menu4 ul {
    justify-content: space-between;
}

.sub_menu4 ul li {
    width: 15%;
}

.menu_icon {
    width: 60px;
    height: 60px;
    background-color: #363636;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu_icon img {
    filter: brightness(10%) invert(1) opacity(0.5);
    transition: filter .3s;
}

.sub_menu ul li p {
    height: 100%;
    font-size: 20px;
    color: #a1a1a1;
    font-family: 'Pretendard-Bold', sans-serif;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: color .3s;
}

.sub_menu ul li:hover .menu_icon img {
    filter: none;
}

.sub_menu ul li:hover p {
    color: #fff;
}

#m_header {
    display: none;
}




































/* mobile */
@media screen and (max-width: 767px) {

    #header {
        display: none;
    }

    #m_header {
        display: block;
        height: 60px;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 999;
        transition: background-color .5s;
    }

    #m_header.scroll,
    #m_header.show {
        background-color: rgba(0, 0, 0, 0.8);
    }

    #m_header .center {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    #m_header .center > a {
        width: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #m_header .center > a img {
        width: 100%;
    }

    .icons {
        display: flex;
        align-items: center;
        gap: 0 15px;
    }

    .m_lang {
        width: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .m_lang img {
        width: 100%;
    }

    .langs {
        width: 50px;
    }

    .langs a {
        font-size: 12px;
    }

    .m_menu_icon {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .m_menu_icon i {
        font-size: 26px;
        color: #fff;
    }

    .m_menu_contain {
        width: 100%;
        height: calc(100vh - 60px);
        position: fixed;
        left: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.8);
        padding: 10%;
        box-sizing: border-box;
        transform: translateX(-100%);
        transition: transform 1s;
    }

    .m_menu_contain.show {
        transform: translateX(0);
    }

    ul.m_main_menu {
        width: 100%;
        max-height: 100%;
        overflow: auto;
        display: flex;
        flex-direction: column;
        gap: 40px 0;
    }

    ul.m_main_menu > li {
        width: 100%;
    }

    ul.m_main_menu > li > p {
        width: 100%;
        font-size: 20px;
        color: #fff;
        font-family: 'Pretendard-Regular', sans-serif;
    }

    ul.m_main_menu > li.on > p {
        background: linear-gradient(to left, #003973, #00aeea);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-family: 'Pretendard-Black', sans-serif;
    }

    ul.m_sub_menu {
        width: 100%;
        margin-top: 20px;
        display: none;
    }

    ul.m_sub_menu li {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 0 10px;
        margin-bottom: 20px;
    }

    ul.m_sub_menu li:last-child {
        margin-bottom: 0;
    }

    ul.m_sub_menu li .menu_icon {
        width: 35px;
        height: 35px;
    }

    ul.m_sub_menu li .menu_icon img {
        width: 50%;
        filter: none;
        transition: none;
    }

    ul.m_sub_menu li p {
        font-size: 14px;
        color: #fff;
        font-family: 'Pretendard-Regular', sans-serif;
    }

    .m_close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .m_close i {
        font-size: 24px;
        color: #fff;
    }

}























/* tablet */
@media screen and (min-width: 768px) and (max-width: 1024px) {

    #header {
        display: none;
    }

    #m_header {
        display: block;
        height: 60px;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 999;
        transition: background-color .5s;
    }

    #m_header.scroll,
    #m_header.show {
        background-color: rgba(0, 0, 0, 0.8);
    }

    #m_header .center {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    #m_header .center > a {
        width: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #m_header .center > a img {
        width: 100%;
    }

    .icons {
        display: flex;
        align-items: center;
        gap: 0 15px;
    }

    .m_lang {
        width: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .m_lang img {
        width: 100%;
    }

    .langs {
        width: 50px;
    }

    .langs a {
        font-size: 12px;
    }

    .m_menu_icon {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .m_menu_icon i {
        font-size: 26px;
        color: #fff;
    }

    .m_menu_contain {
        width: 350px;
        height: calc(100vh - 60px);
        position: fixed;
        left: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.8);
        padding: 10% 8%;
        box-sizing: border-box;
        transform: translateX(-100%);
        transition: transform 1s;
    }

    .m_menu_contain.show {
        transform: translateX(0);
    }

    ul.m_main_menu {
        width: 100%;
        max-height: 100%;
        overflow: auto;
        display: flex;
        flex-direction: column;
        gap: 40px 0;
    }

    ul.m_main_menu > li {
        width: 100%;
    }

    ul.m_main_menu > li > p {
        width: 100%;
        font-size: 20px;
        color: #fff;
        font-family: 'Pretendard-Regular', sans-serif;
    }

    ul.m_main_menu > li.on > p {
        background: linear-gradient(to left, #003973, #00aeea);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-family: 'Pretendard-Black', sans-serif;
    }

    ul.m_sub_menu {
        width: 100%;
        margin-top: 20px;
        display: none;
    }

    ul.m_sub_menu li {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 0 10px;
        margin-bottom: 20px;
    }

    ul.m_sub_menu li:last-child {
        margin-bottom: 0;
    }

    ul.m_sub_menu li .menu_icon {
        width: 35px;
        height: 35px;
    }

    ul.m_sub_menu li .menu_icon img {
        width: 50%;
        filter: none;
        transition: none;
    }

    ul.m_sub_menu li p {
        font-size: 14px;
        color: #fff;
        font-family: 'Pretendard-Regular', sans-serif;
    }

    .m_close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .m_close i {
        font-size: 24px;
        color: #fff;
    }

}





















/* pc */
@media screen and (min-width: 1025px) and (max-width: 1400px) {

    .h1 .center {
        width: 1150px;
        min-width: auto;
    }

    .menu_lang {
        gap: 0 75px;
    }

    .menu ul {
        gap: 0 80px;
    }

    .h2 {
        height: 400px;
    }

    .sub_menu ul {
        gap: 25px 0;
    }

    .sub_menu1 ul {
        gap: 25px 4%;
    }

    .sub_menu1 ul li {
        width: 22%;
    }

    .menu_icon {
        width: 50px;
        height: 50px;
    }

    .menu_icon img {
        width: 50%;
    }

    .sub_menu ul li p {
        font-size: 18px;
    }

}
