﻿@charset "utf-8";

#header {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    background-color: #FFFFFF;
    border-bottom: 1px solid #D8D8D8;
    z-index: 99;
}
#header .inner {
    max-width: 1440px;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
}

#header .util-area {
    padding: 12px 0;
}
#header .util-area .inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0 20px;
}

#header .util-area .header-link ul {
    display: flex;
    gap: 0 25px;
}

#header .util-area .header-link ul li {
    position: relative;
}
#header .util-area .header-link ul li + li::before {
    content: "";
    width: 1px;
    height: 16px;
    background-color: #CDD1D5;
    position: absolute;
    left: -13px;
    top: 50%;
    transform: translateY(-50%);
}
#header .util-area .header-link ul li a {
    color: #1D1D1D;
    display: block;
    font-size: 17px;
    line-height: 1.5;
    padding-right: 20px;
    background: url('../img/icon_open_window_d.svg') no-repeat right 2px center/16px;
}

#header .organ-link ul {
    display: flex;
    overflow: hidden;
    background-color: #DDDDDD;
    border-radius: 100px;
}
#header .organ-link ul li {
    border-radius: 100px;
    overflow: hidden;
}
#header .organ-link ul li a {
    display: block;
    padding: 4px 12px;
    font-size: 17px;
    line-height: 1.5;
    font-weight: 700;
}
#header .organ-link ul li.is-active {
    background-color: #7C69C3;
}
#header .organ-link ul li.is-active a {
    color: #FFFFFF;
}

#header .brand-area {
    position: relative;
}
#header .brand-area .inner {
    display: flex;
    align-items: center;
    gap: 0 60px;
}

#header .brand-area .logo {
    flex: none;
    width: 230px;
    height: 44px;
    background: url('../img/logo.svg') no-repeat center/100%;
    margin-bottom: 5px;
}
#header .brand-area .logo a {
    display: block;
    width: 100%;
    height: 100%;
}
#header .brand-area .organ-select {
    flex: 1 0;
    display: none;
}
#header .brand-area .organ-select select {
    display: block;
    width: 130px;
    height: 32px;
    border: 0;
    appearance: none;
    font-size: 14px;
    background: #7C69C3 url('../img/icon_header_organ_arr.svg') no-repeat right 12px center/20px;
    border-radius: 32px;
    color: #FFFFFF;
    padding: 0 12px;
}
#header .brand-area .gnb {
    flex: 1 0;
    min-width: 0;
    display: flex;
    justify-content: flex-end;
}
#header .brand-area .gnb .depth01 > ul {
    display: flex;
    align-items: flex-start;
    gap: 0 0px;
}
#header .brand-area .gnb .depth01 > ul > li {
    padding: 15px 20px;
    width: 140px;
    box-sizing: border-box;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#header .brand-area .gnb .depth01 > ul > li > a {
    display: block;
    width: fit-content;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    position: relative;
    border-bottom: 2px solid transparent;
    box-sizing: border-box;
    margin: 0 auto;
}
#header .brand-area .gnb .depth02 {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #EAECFF;
    padding: 6px 0;
    display: none;
}
#header .brand-area .gnb .depth02 > ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 40px;
}
#header .brand-area .gnb .depth02 > ul > li > a {
    display: block;
    font-size: 17px;
    font-weight: 500;
    padding: 8px 0;
    color: #555555;
}
#header .brand-area .gnb .depth01 > ul > li.active > a,
#header .brand-area .gnb .depth01 > ul > li:hover > a {
    color: #7C69C3;
    border-color: #7C69C3;
}
#header .brand-area .gnb .depth01 > ul > li.active > .depth02,
#header .brand-area .gnb .depth01 > ul > li:hover > .depth02 {
    display: block;
}
#header .brand-area .gnb .depth02 > ul > li.active > a,
#header .brand-area .gnb .depth02 > ul > li:hover > a {
    font-weight: 700;
    color: #2D2E58;
}

#header .brand-area .etc-area {
    flex: none;
    display: flex;
    align-items: center;
    gap: 0 16px;
}
#header .brand-area .etc-area button {
    display: block;
    border: 0;
    padding: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    background-color: transparent;
    width: 32px;
    height: 32px;
    cursor: pointer;
}
#header .brand-area .etc-area .btn-sitemap-open {
    background-image: url('../img/icon_sitemap_open.svg');
}
#header .brand-area .etc-area .btn-search-open {
    background-image: url('../img/icon_search_open.svg');
}
#header .brand-area .etc-area .btn-search-close {
    display: none;
    background-image: url('../img/icon_search_close.svg');
}
#header .total-search {
    position: absolute;
    top: 100%;
    width: 100%;
    justify-content: flex-end;
    max-width: 1440px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
}
#header .total-search.is-active {
    display: flex;
}
#header .total-search .inner {
    position: absolute;
    max-width: 480px;
    right: 20px;
    border: 1px solid #DDDDDD;
    background-color: #F2F4F5;
    padding: 36px 20px;
    display: flex;
}
#header .total-search .word-area {
    border-radius: 100px;
    border: 1px solid #7C69C3;
    width: 100%;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
}
#header .total-search .word-area input {
    flex: 1 0;
    background: none;
    border: 0;
    height: 46px;
    padding: 0 20px;
    min-width: 0;
    font-size: 17px;
    letter-spacing: -0.03em;
}
#header .total-search .word-area input::placeholder {
    color: #7C69C3;
}
#header .total-search .word-area .btn-total-search {
    width: 46px;
    height: 46px;
    flex: none;
    border: 0;
    background: #7C69C3 url('../img/icon_search_w.svg') no-repeat center/24px;
    border-radius: 50%;
    cursor: pointer;
}

#header .sitemap {
    width: 100vw;
    height: 100vh;
    position: fixed;
    right: 0;
    top: 0;
    background: url('../img/bg_sitemap.png') no-repeat center;
    background-size: cover;
    z-index: 9;
    transition: all 0.5s;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%)
}
#header .sitemap.is-active {
    transform: translateX(0);
}
#header .sitemap .inner {
    position: relative;
}
#header .sitemap .btn-sitemap-close {
    margin-left: auto;
    width: 40px;
    height: 40px;
    background: url('../img/icon_sitemap_close.svg') no-repeat center/100%;
    border: 0;
    display: block;
    cursor: pointer;
}
#header .sitemap .logo {
    width: 256px;
    height: 44px;
    background: url('../img/logo_w.svg') no-repeat center/100%;
    margin-top: 20px;
}
#header .sitemap .logo a {
    display: block;
    width: 100%;
    height: 100%;
}
#header .sitemap .lang {
    position: absolute;
    right: 20px;
    top: 64px;
    display: flex;
    align-items: center;
    gap: 0 16px;
}
#header .sitemap .lang a {
    font-size: 24px;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1.5;
}
#header .sitemap .lang a.is-active {
    border-bottom: 1px solid #FFFFFF;
    font-weight: 700;
}
#header .sitemap .gnb {
    margin-top: 80px;
}
#header .sitemap .gnb .depth01 > ul {
    display: flex;
}
#header .sitemap .gnb .depth01 > ul > li {
    flex: 1 0;
    min-width: 0;
}
#header .sitemap .gnb .depth01 > ul > li > p {
    color: #FFFFFF;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.1875;
}
#header .sitemap .gnb .depth02 {
    margin-top: 40px;
}
#header .sitemap .gnb .depth02 > ul > li + li {
    margin-top: 16px;
}
#header .sitemap .gnb .depth02 > ul > li > a {
    display: block;
    width: fit-content;
    border-bottom: 1px solid transparent;
    color: #FFFFFF;
    font-size: 24px;
    line-height: 1.209;
}
#header .sitemap .gnb .depth02 > ul > li:hover > a {
    border-color: #FFFFFF;
    font-weight: 700;
}

#header .sitemap .gnb .depth02 > ul > li.active > a {
    border-color: #FFFFFF;
    font-weight: 700;
}

#header .sitemap .family-dropdown {
    position: relative;
    margin-top: 20px;
    display: none;
}
#header .sitemap .family-dropdown .btn-dropdown {
    display: block;
    width: 100%;
    height: 48px;
    border-radius: 48px;
    padding: 0 20px;
    text-align: left;
    position: relative;
    background: #2D2E58;
    border: 0;
    color: #FFFFFF;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.03em;
    z-index: 1;
}
#header .sitemap .family-dropdown .btn-dropdown::after {
    content: "";
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #FFFFFF url('../img/icon_family_site_arr.svg') no-repeat center/24px;
    position: absolute;
    right: 10px;
    top: 10px;
    transition: all 0.3s;
}
#header .sitemap .family-dropdown .dropdown-list {
    display: none;
    position: absolute;
    bottom: 24px;
    padding: 10px 20px 24px;
    left: 0;
    right: 0;
    z-index: 0;
    overflow: hidden;
    background: #2D2E58;
    border-radius: 24px 24px 0 0;
}
#header .sitemap .family-dropdown .dropdown-list ul li + li {
    margin-top: 10px;
}
#header .sitemap .family-dropdown .dropdown-list ul li a {
    display: block;
    font-size: 17px;
    line-height: 1.5;
    color: #FFFFFF;
    font-weight: 700;
    letter-spacing: -0.03em;
}
#header .sitemap .family-dropdown.is-active .btn-dropdown::after {
    transform: rotate(-180deg);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: 0.4;
}

@media all and (max-width:1239px){
    #header .brand-area .inner {
        gap: 0 20px;
    }
}
@media all and (max-width:1139px){
    #header .util-area {
        display: none;
    }
    #header .brand-area .inner {
        justify-content: space-between;
        height: 84px;
        gap: 0 12px;
    }
    #header .brand-area .logo {
        width: 256px;
        height: 44px;
        margin-bottom: 0;
    }
    #header .brand-area .organ-select {
        display: block;
    }
    #header .brand-area .gnb {
        display: none;
    }
    #header .sitemap {
        width: calc(100% - 120px);
        max-width: 520px;
        align-items: flex-start;
    }
    #header .sitemap .inner {
        padding: 40px 40px;
        height: 100%;
        overflow: auto;
        display: flex;
        flex-direction: column;
    }
    #header .sitemap .btn-sitemap-close {
        position: absolute;
        right: 40px;
        top: 40px;
    }
    #header .sitemap .logo {
        margin-top: 0;
    }
    #header .sitemap .lang {
        position: static;
        margin-top: 40px;
    }
    #header .sitemap .gnb {
        margin-top: 40px;
        flex: 1 0;
        min-height: 0;
        overflow-y: auto;
    }
    #header .sitemap .gnb .depth01 > ul {
        flex-direction: column;
        gap: 40px;
    }
    #header .sitemap .gnb .depth02 {
        display: none;
    }
    #header .sitemap .gnb .depth02 > ul > li > a {
        color: #EAECFF;
    }
    #header .sitemap .family-dropdown {
        display: block;
    }
}
@media all and (max-width:639px){
    #header .brand-area .inner {
        height: 72px;
    }
    #header .brand-area .logo {
        width: 180px;
        height: 31px;
    }
    #header .brand-area .organ-select select {
        width: 120px;
        height: 28px;
    }
    #header .brand-area .etc-area {
        gap: 0 8px;
    }
    #header .brand-area .etc-area button {
        width: 24px;
        height: 24px;
    }
    
    #header .total-search .inner {
        width: 100%;
        right: 0;
        max-width: 100%;
        padding: 25px 20px;
    }
    #header .total-search .word-area input {
        height: 40px;
        padding: 0 16px;
        font-size: 14px;
    }
    #header .total-search .word-area .btn-total-search {
        width: 40px;
        height: 40px;
        background-size: 20px !important;
    }

    #header .sitemap .inner {
        padding: 20px 20px;
    }
    #header .sitemap .btn-sitemap-close {
        right: 20px;
        top: 20px;
        width: 24px;
        height: 24px;
    }
    #header .sitemap .logo {
        width: 210px;
        height: 34px;
    }
    /* #header .sitemap .lang {
        margin-top: 20px;
    } */
    #header .sitemap .lang a {
        font-size: 20px;
    }
    /* #header .sitemap .gnb {
        margin-top: 20px;
    }
    #header .sitemap .gnb .depth01 > ul {
        gap: 20px;
    } */
    #header .sitemap .gnb .depth01 > ul > li > p {
        font-size: 27px;
    }
    #header .sitemap .gnb .depth02 {
        margin-top: 20px;
    }
    /* #header .sitemap .gnb .depth02 > ul > li + li {
        margin-top: 12px;
    } */
    #header .sitemap .gnb .depth02 > ul > li > a {
        font-size: 20px;
    }
}


