@charset "utf-8";

.site-header { position: absolute; left: 0; top: 0; width: 100%; z-index: 40; }
.site-header__inner { width: 96%; max-width: 1320px; margin: 0 auto; height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 9.6rem; }
.site-header__logo { display: inline-flex; align-items: center; width: 19.6rem; }
.site-header__logo-svg { display: block; width: 100%; }
.site-header__logo-svg svg { display: block; width: 100%; height: auto; }
.site-header__util { display: flex; align-items: center; gap: 2rem; color: #fff; }
.site-header__lang { position: relative; padding: 5px 0; font-size: 14px; color:white; font-weight: 500; }
.site-header__lang--active { color: #fff; font-weight: 700; }
.site-header__lang--active::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: #fff; transform: translateY(100%); }
.site-header__menu { display: flex; justify-content: right; margin-left: 1rem; width: 35px; height: 35px; align-items: center; color: #fff; }
.site-header__menu-ico { width: 24px; height: 22px; position: relative; display: block; }
.site-header__menu-ico > span { position: absolute; left: 0; width: 100%; height: 2px; background: white; }
.site-header__menu-ico > span:nth-child(1) { top: 0; }
.site-header__menu-ico > span:nth-child(2) { top: 50%; transform: translateY(-50%); width: 60%; }
.site-header__menu-ico > span:nth-child(3) { bottom: 0; }

@media (max-width: 1200px) {
    .site-header__inner { gap:5rem; }
}

@media (max-width: 1024px) {
    .site-header__inner { height: 80px; }
}

@media (max-width: 768px) {
    .site-header__inner { width: 100%; padding: 0 24px; gap:0; }
    .site-header__logo { width: 150px; }
    .site-header__util { gap:1rem; }
    .site-header__menu { margin-left: 0; }
}

#gnb-wrap { height: 120px; flex:1; display: flex; align-items: center; z-index: 50; }
#gnb-wrap .gnb { display: flex; align-items: center; }
#gnb-wrap .gnb a { color: white; font-weight: 700; font-size: var(--fs-18); }
#gnb-wrap .gnb a[target="_blank"] { display: flex; gap: 5px; align-items: center; }
#gnb-wrap .gnb a[target="_blank"]::after { content: ''; display: block; width: 16px; height: 16px; background: url('/resources/img/common/ico_blank.svg') no-repeat center center / contain; opacity: 0.4; }
#gnb-wrap .gnb > ul { display: flex; gap: 5.6rem; align-items: center; }
#gnb-wrap .gnb > ul > li { position: relative; }

#mobile-gnb-wrap .gnb > ul > li > a[target="_blank"] { display: flex; gap: 5px; align-items: center; }
#mobile-gnb-wrap .gnb > ul > li > a[target="_blank"]::after { content: ''; display: block; width: 16px; height: 16px; background: url('/resources/img/common/ico_blank.svg') no-repeat center center / contain; opacity: 0.4; }

#gnb-wrap .menu-two-depth-wrap { display: none; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: 18px; padding: 1.2rem 1.2rem 1rem; border-radius: 1rem; background: rgba(23, 28, 34, 0.92);    border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px); z-index: 50; }
#gnb-wrap .menu-two-depth-wrap::before { content: ""; position: absolute; left: 0; top: -18px;    width: 100%; height: 18px; }
#gnb-wrap .gnb > ul > li:hover .menu-two-depth-wrap,
#gnb-wrap .gnb > ul > li:focus-within .menu-two-depth-wrap { display: block; }
#gnb-wrap .menu-img-wrap { display: flex; gap: 14px; align-items: flex-start; }
#gnb-wrap .menu-two-depth { display: grid; grid-template-columns: 1fr; gap: 4px; }
#gnb-wrap .menu-two-depth a { display: block; padding: .8rem 1.2rem; border-radius: .8rem; color: rgba(255,255,255,.88); font-size: 15px; line-height: 1.2; white-space: nowrap; font-weight: 400; }
#gnb-wrap .menu-two-depth a:hover,
#gnb-wrap .menu-two-depth a:focus { background: rgba(255,255,255,.10); color: #fff; }
#gnb-wrap .dp_more { display: none; }

@media (max-width: 1024px) {
    #gnb-wrap { display: none; }
}



/* Mobile menu overlay (공용) */
.mobile-menu-wrap { position: fixed;    inset: 0;    z-index: 1200;    background: rgba(0, 0, 0, 0.56);    overflow: hidden; opacity: 0;    visibility: hidden;    transition: opacity .2s ease, visibility .2s ease;}
.mobile-menu-wrap.is-open {    opacity: 1;    visibility: visible;}
.mobile-menu-wrap .mobile-menu { position: absolute; top: 0; right: 0; width: min(560px, 100%);    height: 100%;    background: var(--main-black);    color: #fff;    transform: translateX(100%);    transition: transform .2s ease;    will-change: transform; padding: 3.6rem 4rem;}
.mobile-menu-wrap .mobile-menu::before { content: ''; pointer-events: none; position: absolute; right: -10%; bottom: 5%; background: url('/resources/img/common/logo_s.svg') no-repeat center center / cover; aspect-ratio: 1/1; width: 80%; }
.mobile-menu-wrap.is-open .mobile-menu { transform: translateX(0);}
.mobile-top-box { display: flex; align-items: center; justify-content: space-between; }
.mobile-logo { display: block; width: 23rem; }

.ham-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; }
.ham-btn p { position: relative; width: 24px; height: 24px; margin: 0 auto; }
.ham-btn span { position: absolute;    left: 0;    width: 140%;    height: 2px;    background: #fff;    }
.ham-btn span:nth-child(1) { top: 50%; left:50%; transform: translate(-50%,-50%) rotate(45deg); }
.ham-btn span:nth-child(2) { display: none; }
.ham-btn span:nth-child(3) { bottom: 50%; left:50%; transform: translate(-50%,50%) rotate(-45deg); }

#mobile-gnb-wrap { padding: 4.5rem 0 0; height: calc(100vh - 86px); overflow: auto; }

#mobile-gnb-wrap .gnb > ul { display: flex; flex-direction: column; gap: 6.6rem; }
#mobile-gnb-wrap .gnb > ul > li { position: relative; padding-left: 2.4rem; }
#mobile-gnb-wrap .gnb > ul > li::before { content: ''; position: absolute; left: 0; top: 6px; width: 12px; height: 2px; background: var(--key-color); transition: .3s; transform: rotate(45deg); }
#mobile-gnb-wrap .gnb > ul > li > a { font-size: var(--fs-20); font-weight: 600; color: #fff; }

#mobile-gnb-wrap .menu-img-wrap { display: none; }
#mobile-gnb-wrap .menu-two-depth { display: none; flex-direction: column; gap:2.6rem; padding: 1.5rem 3.2rem 0; }
#mobile-gnb-wrap .gnb > ul > li.is-open::before { transform: rotate(-45deg); }
#mobile-gnb-wrap .menu-two-depth a { display: block; font-size: var(--fs-18); font-weight: 500; color:white; padding: 1.3rem 0; }
