@charset "utf-8";

/* Header: Default */
.header {z-index: 9999; top: 0; left: 0; width: 100%;}
.header__container {display: flex; width: 100%; max-width: calc(100% - 90px); align-items: center; justify-content: center; z-index: 10; position: relative;}
.header__logo {margin-right: 40px;}
.header__logo > a {display: block; background: no-repeat center / cover;}
.header__gnb {margin: 0 auto;}
.header__etc {margin-left: 20px;}
.header__dim {position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; transition: 0.3s;}
.header__lang {width: 80px; height: 30px; border: 1px solid #333; border-radius: 0; display: flex; align-items: center; justify-content: center; color: #333; font-weight: 600; text-align: center; margin: 0 5px;}
.header__lang.active {background: #004480; color: #fff; border-color: #004480;}

.gnb {display: flex; align-items: center;}
.gnb__menu {margin: 0 25px;}

body.totalmenu_open {overflow: hidden;}
.header__total_menu_toggle {cursor: pointer;}
.header__total_menu {position: fixed; width: 100%; left: 0; z-index: 9998; display: none; border-top: 1px solid #dfdfdf;}
.header__total_menu.active {display: block;}
.total_menu__inner {display: flex; flex-direction: column; height: calc(100% - 40px); padding: 40px 20px; background: #fff;}
.total_menu__lang {display: flex; justify-content: center; width: calc(100% + 10px); margin-left: -5px; margin-bottom: 40px;}
.total_menu__lang a {color: #999; font-size: 16px; width: 100%; max-width: 120px; height: 30px; margin: 0 5px; border: 1px solid #dfdfdf; display: flex; justify-content: center; align-items: center;}
.total_menu__lang a.active {color: #0168b6; border-color: #0168b7;}
.total_menu__menu {height: 100%; overflow-y: auto;}
.total_menu__menu .depth1 {border-bottom: 1px solid #dfdfdf; padding: 5px 0;}
.total_menu__menu .depth1 > a {display: block; padding: 10px 0; font-size: 18px;}
.total_menu__menu .depth2 {display: none; padding: 5px 0 5px 10px;}
.total_menu__menu .depth1.active .depth2 {display: block;}
.total_menu__menu .depth2 > li {}
.total_menu__menu .depth2 > li > a {display: block; padding: 5px 0; font-size: 16px;}

/* == Custom == */
.header {
    font-family: "Montserrat";
}

.header__container {
    height: 110px; 
}

.header__logo > a {
    width: 194px;
    height: 45px;
    background-image: url(../images/common/logo.png);
}

.gnb {
    margin: 0 0 0 auto;
}
.gnb__menu > a {
    font-size: 18px; 
    font-weight: 400; 
    text-transform: uppercase;
}

.header__total_menu_toggle {
    width: 54px;
    height: 32px;
}
.header__total_menu_toggle .bar {
    width: 81%;
    height: 4px; 
    background: #000;
    left: auto; 
    right: 0;
}
.header__total_menu_toggle .bar:nth-child(1) {
    transform: none;
}
.header__total_menu_toggle .bar:nth-child(2) {
    width: 100%;
    transform: translateY(-50%);
}
.header__total_menu_toggle .bar:nth-child(3) {
    transform: translateY(-100%);
}

.header__total_menu {
    top: 0!important;
    font-family: "Montserrat";
    height: 100vh;
    z-index: 10000;
    border-top: none;
    background: #004480;
    transform: translateY(-100%);
    opacity: 0;
    transition: 0s;
    transition-timing-function: cubic-bezier(.85,.14,.29,.99);
    display: block;
    pointer-events: none;
}
.header__total_menu.active {
    transition: transform 0.4s, opacity 0.4s;
    transform: translateY(0);
    opacity: 1;
    pointer-events: initial;
}
.total_menu__inner {
    width: 100%;
    max-width: 1600px;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
    background: none;
}

.total_menu__menu {
    display: flex;
}
.total_menu__menu .depth1 {
    color: #fff;
    width: 100%;
    border: none;
    border-right: 1px solid rgba(255,255,255,0.35);
    padding: 320px 20px 40px 20px;
}
.total_menu__menu .depth1:last-child {
    border: none;
}
.total_menu__menu .depth1 > a {
    font-size: 52px;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
}
.total_menu__menu .depth2 {
    display: block;
    padding-top: 25px;
    padding-left: 5px;
}
.total_menu__menu .depth2 > li {
    margin-bottom: 20px;
}
.total_menu__menu .depth2 > li:last-child {
    margin-bottom: 0;
}
.total_menu__menu .depth2 > li > a {
    color: rgba(255,255,255,0.5);
    font-size: 25px;
    font-weight: 500;
    text-transform: uppercase;
}
.total_menu__menu .depth2 > li:hover > a {
    color: #fff;
}
.total_menu__menu .depth3 {
    padding: 10px 0 10px 25px;
}
.total_menu__menu .depth3 > li > a {
    display: block;
    color: rgba(255,255,255,0.5);
    font-size: 20px;
    font-weight: 300;
    padding-bottom: 7px;
}
.total_menu__menu .depth3 > li > a:hover {
    color: #fff;
}
.total_menu__logo {
    position: absolute;
    top: 35px; 
    left: 28px;
}
.total_menu__logo > a {
    display: block;
    width: 194px;
    height: 45px;
    background: no-repeat center / cover;
    background-image: url(../images/common/logo_white.png);
}
.total_menu__close {
    position: absolute;
    top: 35px; 
    right: 44px;
    cursor: pointer;
}
.total_menu__close img {
    width: 41px;
}

/* Set header scrolled Visual */
.header--scrolled * {
    color: #333;
}
.header--scrolled .header__dim {
    background: rgba(255,255,255,1);
}
.header--scrolled .header__container {
    height: 110px; 
}

/* White header */
.header.theme--white .header__logo a {background-image: url(../images/common/logo_white.png);}
.header.theme--white .gnb__menu > a {color: #fff;}
.header.theme--white .header__lang {color: #fff; border-color: #fff;}
.header.theme--white .header__lang.active {border-color: #fff; color: #004480; background: #fff;}
.header.theme--white .header__total_menu_toggle .bar {background: #fff;}

@media screen and (min-width: 1200px) {
    .total_menu__lang {
        position: absolute;
        top: 37px; 
        right: 120px;
        width: auto;
    }
    .total_menu__lang a {
        width: 100px;
        color: #fff;
    }
    .total_menu__lang a.active {
        background: #fff;
        color: #004480;
    }
}
@media screen and (max-width: 1650px) {
    .total_menu__logo > a,
    .header__logo > a {width: 143px; height: 33px;}
    .gnb__menu {margin: 0 18px;}
    .gnb__menu > a {font-size: 16px;}
    .header__total_menu_toggle {width: 40px; height: 28px;}
    .total_menu__close img {width: 32px;}
    .total_menu__menu .depth1 {padding-top: 250px;}
    .total_menu__menu .depth1 > a {font-size: 36px;}
    .total_menu__menu .depth2 {padding-top: 10px;}
    .total_menu__menu .depth2 > li {margin-bottom: 0;}
    .total_menu__menu .depth2 > li > a {font-size: 18px;}
    .total_menu__menu .depth3 {padding: 5px 0 5px 10px;}
    .total_menu__menu .depth3 > li > a {font-size: 16px; padding-bottom: 3px; line-height: 1.5;}
}

@media screen and (max-width: 1200px) {
    .header--scrolled .header__dim {background: #fff;}
    .header--scrolled .header__logo > a {background-image: url(../images/common/logo.png)!important;}
    .header--scrolled .header__total_menu_toggle .bar {background: #333!important;}
    .header__container {max-width: calc(100% - 40px); height: 55px!important;}
    .gnb__menu {margin: 0 9px;}
    .total_menu__logo > a, .header__logo > a,
    .header__logo > a {width: 100px; height: 22.5px;}
    .header__total_menu.active {display: flex; flex-direction: column;}
    .header__total_menu_toggle {width: 36px; height: 20px;}
    .header__total_menu_toggle .bar {height: 2px;}
    .total_menu__head {display: flex; justify-content: space-between; align-items: center; height: 55px; width: 100%; max-width: calc(100% - 40px); margin: 0 auto 20px auto; flex-shrink: 0;}
    .total_menu__head .total_menu__logo,
    .total_menu__head .total_menu__close {position: static;}
    .total_menu__close img {width: 20px;}
    .total_menu__inner {height: calc(100% - 40px); padding-bottom: 40px;}
    .total_menu__menu {display: block; height: 100%;}
    .total_menu__menu .depth1 {padding: 0; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.35); padding: 10px 0;}
    .total_menu__menu .depth1 > a {font-size: 24px; padding: 5px 0;}
    .total_menu__menu .depth2 {display: none; padding-left: 0; padding-top: 5px;}
    .total_menu__menu .depth1.active .depth2 {display: block;}
    .total_menu__menu .depth2 > li > a {font-size: 16px; padding: 2px 0;}
    .total_menu__menu .depth3 {padding-top: 0;}
    .total_menu__menu .depth3 > li > a {font-size: 14px;}
    .header__lang {width: 60px; font-size: 14px;}

    .total_menu__lang {display: flex; justify-content: flex-end;}
    .total_menu__lang a {color: #fff;}
    .total_menu__lang a.active {border-color: #fff; background: #fff; color: #004480}
}

@media screen and (max-width: 768px) {
    .header__gnb {display: none;}
    .header__logo {margin-right: auto;}
    .total_menu__menu .depth1 > a {font-size: 20px;}
    .header__lang {display: none;}
}