#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transition: 0.3s;
    box-sizing: border-box;
    z-index: 1000;
}

#header * {
    box-sizing: border-box;
}

#header .header_wrap * {
    box-sizing: border-box;
}

#header .header_wrap {
    position: relative;
    height: 100px;
    display: grid;
    align-items: center;
    justify-content: center;
    padding: 0 100px;
    border-bottom: 1px solid transparent;
    grid-template-columns: 134px calc(1200px - 268px) 134px;
}

#header .line {
    display: block;
    content: "";
    position: absolute;
    top: calc(100% - 1px);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
}

#header .logo {
    position: relative;
    width: 200px;
    height: 42px;
    z-index: 1010;
}

#header .logo a {
    display: inline-block;
    width: 100%;
    height: 100%;
}

body:not(.active, .menu_open) #header:not(.on, .dark) .logo a svg * {
    fill: #fff;
}

#header #nav {
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    font-family: 'Lexend', 'Noto Sans KR', sans-serif;
    justify-content: center;
}

#header .gnb {
    /* display: flex; */
    /* flex-wrap: wrap; */
    /* justify-content: center; */
}

#header .gnb.depth1>li {
    padding: 0 60px;
    display: inline-block;
    vertical-align: top;
}

#header .gnb.depth1>li>a {
    font-size: 1.6rem;
    font-weight: 500;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    height: 100px;
    text-transform: uppercase;
    font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
}

#header .gnb.depth1>li>a p {
    overflow: hidden;
    position: relative;
}

#header .gnb.depth1>li>a span {
    position: relative;
    display: block;
    letter-spacing: -0.25px;
}

#header.hover:not(.none) {
    padding-bottom: 100px;
}

#header #nav .lnb {
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
    height: 100px;
    text-align: center;
    font-size: 0;
    overflow: hidden;
    display: none;
}

#header #nav .lnb ul {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 1.8rem;
    text-align: center;
    margin: 0 auto;
    font-weight: 400;
    display: none;
    color: #555;
    text-transform: uppercase;
    z-index: 10;
}

#header #nav .lnb ul li {
    position: relative;
    display: inline-block;
    vertical-align: top;
    padding: 0 70px;
}

#header #nav .lnb ul li:after {
    display: inline-block;
    content: "";
    position: absolute;
    top: 50%;
    right: 0px;
    width: 1px;
    height: 12px;
    background: #bfbfbf;
    vertical-align: top;
    transform: translateY(-50%);
}

#header #nav .lnb ul li:last-child:after {
    display: none;
}

#header #nav .lnb ul li a {
    position: relative;
    vertical-align: top;
    display: inline-block;
    line-height: 100px;
    transition: 0.3s;
}

#header #nav .lnb ul li a:hover {
    color: #000;
}

#header #bar {
    position: absolute;
    bottom: -1px;
    width: auto;
    height: 3px;
    background: #000;
    z-index: 100;
}

/*on*/
body.active #header,
#header.on {
    background: #ffffff;
}

body.active #header .header_wrap,
#header.on .header_wrap {
    border-bottom: 1px solid #e5e5e5;
}

body.active #header #nav,
#header.on #nav,
#header.dark #nav {
    color: #000;
}

body #header.hover .line {
    background: rgba(0, 0, 0, 0.34);
}

#header.on .gnb.depth1>li>a:after,
#header.on .util_list>li+li:before,
body.active #header .gnb.depth1>li>a:after,
body.active #header .util_list>li+li:before,
body #header.dark .util_list>li+li:before {
    background: rgba(0, 0, 0, 0.24);
}

body.active #header #nav .gnb.depth1>li>a,
#header.on #nav .gnb.depth1>li>a,
#header.dark #nav .gnb.depth1>li>a {
    font-weight: 500;
}

#header.on #nav .lnb ul,
body.active header #nav .lnb ul {
    color: #666;
}

#header .gnb.depth1>li>a {
    font-size: 1.8rem;
    font-weight: 600;
}

#header .gnb.depth1>li {
    padding: 0 30px;
}

#header .header_wrap {
    /* max-width: 1200px; */
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

#header #nav .lnb ul {
    font-size: 1.4rem;
    max-width: 1200px;
}

#header #nav .lnb {
    height: auto;
    /* position: fixed; */
    background-color: #fff;
}

#header.hover:not(.none) {
    padding-bottom: 80px;
}

#header #nav .lnb ul li a {
    line-height: 80px;
}

#header #nav .lnb ul li {
    padding: 0 50px;
}

header#header.scroll {
    background-color: #fff;
}

header#header.scroll a {
    color: #333;
}

#header .header_wrap a.catalog {
    font-size: 1.6rem;
    font-weight: 500;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    height: 100px;
    text-transform: uppercase;
    font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
    color: #fff;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    height: 100vh;
    background-color: #f5f5f5;
    overflow: auto;
}
.mobile-menu h1 {height: 40px;text-align: center;color: #fff;font-size: 20px;line-height: 1.8;letter-spacing: -2px;}

.mobile-menu-title a {
    background-color: #fff;
    padding: 5px 5px 9px;
}

.mobile-menu > ul > li ul {display: none;}
.mobile-menu > ul > li > a {
    display: block;
    padding: 14px 20px 14px;
    color: #000;
    font-size: 2.3rem;
    background: transparent;
    font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
    font-weight: 600;
    border-bottom: 1px solid #e1e1e1;
}

.mobile-menu > ul > li > ul > li > ul > li a {background: #fff; }
.mobile-menu > ul > li > ul li ul {display: none;padding-bottom: 8px;}
.mobile-menu > ul > li > ul li li a {display: block;padding: 14px 25px 14px 30px; color: #000; font-size: 16px; font-weight: 400;}
.mobile-menu > ul li.noDepth a {background-image: none !important; }

.mobile-menu > ul li.userMenu a {
    padding: 8px 30px;
    font-size: 20px;
    font-weight: normal;
}

.mobile-menu > ul li.userMenu {
    margin-top: 20px;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 20px;
}

.mobile-menu-header button {
    border: 0;
    background: transparent;
    margin: 0;
    padding: 0;
}

.mobile-menu a {
    text-decoration: none;
}

#mobile_menu_btn {
    position: relative;
    flex: 0 0 auto;
    width: 28px;
    height: 23px;
}

#mobile_menu_btn .button_wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate(-50%,-50%);
    cursor: pointer;
}

#mobile_menu_btn .button_wrap span {
    position: relative;
    display: block;
    width: 100%;
    height: 2px;
    margin-bottom: 8px;
    overflow: hidden;
    transition: 0.3s;
}

#mobile_menu_btn .button_wrap span {
    margin-bottom: 6px;
}

#mobile_menu_btn .button_wrap span:nth-child(2) {
    width: 75%;
    margin-left: 13%;
}

#mobile_menu_btn .button_wrap span:last-child {
    margin: 0 !important;
}

#mobile_menu_btn.open .button_wrap span:before, #mobile_menu_btn .button_wrap span:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #fff;
}

header#header.scroll #mobile_menu_btn.open .button_wrap span:before,
header#header.scroll #mobile_menu_btn .button_wrap span:after{
    background-color: #000;
}


.mobile-menu > ul > li.parent {
    position: relative;
}

.mobile-menu .parent:after {
    display: block;
    content: "";
    position: absolute;
    top: 35px;
    right: 20px;
    width: 10px;
    height: 10px;
    border: 3px solid #000;
    transform: rotate(135deg);
    border-bottom: 0;
    border-left: 0;
}

.mobile-menu .parent.on:after {
    transform: rotate(-45deg);
}

.mobile-menu > ul > li.parent > ul > li > a {
    font-size: 1.8rem;
    display: block;
    padding: 10px 0 0 15px;
}

#mobilemenu_close_btn {
    width: 20px;
    height: 20px;
    position: relative;
}

#mobilemenu_close_btn:before, #mobilemenu_close_btn:after {
    display: block;
    content: "";
    position: absolute;
    top: -5px;
    left: 12px;
    background: #000;
    transform: rotate(-45deg);
    width: 2px;
    height: calc(100% + 9px);
    transition: 0.3s;
    z-index: 10;
}

#mobilemenu_close_btn:after {
    transform: rotate(45deg);
}

#header.scroll .header_wrap a.catalog{
    color: #000;
}


@media screen and (max-width:767px) {
    #header #nav,
    #header .header_wrap a.catalog {
        display: none;
    }
    #header .header_wrap {
        height: 55px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    #header .header_wrap {
        height: 55px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
    }
}
