#header:not(.transparent) .dimmed {
    background-color: rgba(0, 0, 0, 0.5);
}

#header:not(.transparent) {
    filter: none;
    --webkt-filter: none;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
    transition: background 500ms linear, border 500ms linear, transform 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: background, border, transform;
}

#header.hide {
    transform: translateY(-100%);
}

#header.hide .header-inner {
    transform: none;
}

#header .header-inner {
    height: auto;
    line-height: normal;
}

#header .header-inner .header-left {
    height: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-top: 36.09px;
}

#header .header-inner .header-right {
    padding-right: 0;
    height: 100%;
}

#header .brand {
    height: auto;
}

#header .brand a {
    margin-top: 0;
    height: auto;
}

#header .search {
    margin-right: 0;
}

#header .search .btn-search {
    display: block;
    height: 60px;
    line-height: 100%;
}

#header .header-content {
    display: flex;
    align-items: center;
    margin: auto;
    padding-left: 20px;
    padding-right: 20px;
    justify-content: space-between;
}

@media (min-width: 750px) {
    #header .header-content {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
        width: 100%;
    }
}

@media (min-width: 1000px) {
    #header .header-content {
        margin-left: auto;
        margin-right: auto;
        max-width: 95%;
        padding-left: 0;
        padding-right: 0;
        width: 95%;
    }
}
@media (min-width: 1200px) {
    #header .header-content {
        margin-left: auto;
        margin-right: auto;
        max-width: 95%;
        width: 1370px;
    }
}
/** gnb style **/
#header .header-sub-bg {
    position: absolute;
    z-index: 1;
    top: 100%;
    right: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    z-index: -1;
    transition: opacity 400ms, visibility 400ms, z-index 400ms;
    will-change: opacity, visibility, z-index;
    transition-delay: 125ms;
}

@media (min-width: 1200px) {
    #header .active-submenu .header-sub-bg {
        height: 165px;
        visibility: visible;
        border-top: 1px solid #eee;
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: 0 4px 4px rgba(0, 0, 0, 0.06);
        opacity: 1;
        z-index: 0;
    }
}

#nav {
    display: flex;
    align-items: center;
    flex-direction: column-reverse;
}

#nav .gnb {
    display: flex;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

#nav .gnb > ul {
    width: 100%;
}

#nav .gnb > ul > li:hover > a {
    color: #eb912a;
}

#nav .gnb > ul > li > a {
    display: block;
    width: 100%;
    line-height: 1.6;
    line-height: 1em;
    padding: 1.8rem 0;
    text-align: center;
}

#nav .gnb > ul > li.submenu-item {
    position: relative;
    width: 100%;
    margin-right: 0;
    line-height: 1.5;
    transform: none;
}

.gnb .submenu-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 300ms ease;
}

.gnb .submenu-list > li > a {
    position: relative;
    display: block;
    padding: 0.15rem 0;
    font-size: 0.95em;
}

.gnb .submenu-list > li > a:after {
    content: "";
    display: inline-block;
    position: absolute;
    left: 0;
    bottom: 1px;
    width: 0px;
    height: 1px;
    background-color: #eb912a;
    visibility: hidden;
    transition: width 0.15s, visibility 400ms;
    will-change: width, visibility;
    transition-delay: 125ms;
}

.gnb .submenu-list > li > a:hover {
    color: #eb912a;
}

.gnb .submenu-list > li > a:hover:after {
    width: 100%;
    visibility: visible;
}

@media (min-width: 1200px) {
    #nav {
        flex-direction: column-reverse;
    }

    .gnb .submenu-list {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translate(-50%, 0px);
        opacity: 0;
        visibility: hidden;
        transition-delay: 125ms;
    }

    .active-submenu .gnb .submenu-list {
        padding: 20px 40px 10px;
        opacity: 1;
        visibility: visible;
        z-index: 1;
    }

    .gnb .submenu-list > li {
        display: none;
    }

    .active-submenu .gnb .submenu-list > li {
        display: block;
    }

    #nav .util-menu {
        padding: 5px 10px 8px;
        transform: translateX(-20%);
        border: 1px solid #999999;
        border-top: 0;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
        /* box-shadow: 0 2px 5px -3px #222; */
        z-index: 100000;
    }

    #nav .util-menu ul>li {
        line-height: 1em;
    }
}

@media screen and (max-width: 1023px) {
    #header:not(.transparent) {
        box-shadow: 0 0 0 0;
    }

    #header .header-content {
        width: 100vw;
    }

    #header .header-inner .header-left {
        margin-top: 0;
    }

    #nav {
        flex-direction: column;
    }

    #nav .gnb {
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 20px;
        box-sizing: border-box;
    }

    #nav .gnb > ul > li > a {
        text-align: left;
        /* line-height: 1.6; */
        line-height: 1;
        padding : 0;
    }

    #nav .gnb > ul > li > a > span {
        color: #aaa;
        font-size: 16px;
    }

    .gnb .submenu-item {
        padding: 8px 0;
    }

    .gnb .submenu-list {
        padding-left: 30px;
        margin-top: 10px;
        justify-content: space-between;
        flex-direction: row;
        flex-wrap: wrap;
        /* display: none; */
    }

    .gnb .submenu-list > li {
        width: calc(50% - 15px);
        font-size: 1.2em;
        box-sizing: border-box;
    }

    #nav .util-menu {
        width: 100%;
        margin-top: 0;
        margin-bottom: 30px;
        transform: translateX(0%);
        box-shadow: 0 0 0 0 transparent;
    }

    #nav .util-menu ul {
        flex-wrap: wrap;
    }

    #nav .util-menu ul > li {
        width: calc(50% - 11px);
        margin-left: 0;
    }

    #nav .util-menu ul li a span {
        font-size: 14px;
    }

    #nav .util-menu .cs .pop-pulldown {
        width: calc(100vw - 20px);
        position: absolute;
        left: -50vw;
    }

    #nav .util-menu .cs:hover .pop-pulldown {
        transform: translateY(calc(-100% - 8px));
    }

    #nav .util-menu .cs .pop-pulldown ul.cs-list {
        display: flex;
        padding: 10px;
        flex-wrap: wrap;
    }

    #nav .util-menu ul.cs-list>li {
        width: calc(50% - 20px);
        margin: 0;
    }

    #nav .util-menu ul.cs-list>li.sns-link {
        width: 100%;
        margin: 0;
        /* text-indent: 10px; */
    }

    #nav * {
        box-sizing: border-box;
    }
}
