@charset "UTF-8";

/*페이지 로딩*/
#loading-screen {position: fixed;width: 100%;height: 100%;background: #fff;display: flex;flex-direction: column;justify-content: center;align-items: center;z-index:99999;}
.spinner {border: 2px solid rgba(0, 0, 0, .1);border-top-color: var(--main-color);border-radius: 50%;width: 50px;height: 50px;animation: spin 0.5s linear infinite;}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes bgmove01 {
    0% {transform:translateX(-101%);}
    50% {transform:translateX(0);}
    100% {transform:translateX(101%);}
}
@keyframes bgmove02 {
    0% {opacity:0;}
    50% {opacity:0;}
    51% {opacity:1;}
    100% {opacity:1;}
}

/* =============================================
   헤더 기본
   ============================================= */
#hd {width:100vw; transition: all 0.3s ease; position:absolute; left:0; top:0; z-index:300;}
#hd:before {content:""; display:block; position:absolute; bottom:0; left:0; width:100%; height:1px; background:rgba(255,255,255,0.2);}
#hd_wrapper {position:relative; margin:0 auto; width:calc(100vw - 100px); zoom:1;}
#hd_wrapper .gnb-container {height:100px; display:flex; align-items:center; position:relative;}

#hd.mega-open {background:#fff; box-shadow:0 2px 20px rgba(0,0,0,0.08);}
#hd.mega-open:before {background:#eee;}
#hd.mega-open .gnb_1da {color:#222 !important;}
#hd.mega-open .gnb_1dli.on > a,
#hd.mega-open .gnb_1dli:hover > a {color:var(--main-color) !important;}
#hd.mega-open #menu-btn span {background:#222;}
#hd.mega-open .hd_login a {color:#222;}
#hd.mega-open .hd_login li:first-child > a {border-color:#ddd; color:#222;}
#hd.mega-open .hd_login li:last-child > a {background:#f2f2f2; border-color:#f2f2f2; color:#222;}

.logo {z-index:100; width:300px; height:40px; transition:all .3s; flex-shrink:0;}
#logo > a {position:relative;width:100%;height:100%;display:block;background: url(../img/logo-white.svg) no-repeat left center;}
#hd.mega-open #logo > a {background:url(../img/logo.svg) no-repeat left center;}
#logo > a > img {position:absolute; top:50%; left:0; transform:translateY(-50%);}

.hd_login {position:absolute; top:50%; right:100px; transform:translateY(-50%); text-transform:uppercase; font-size:14px; transition:all .3s;}
.hd_login li {float:left; margin:0 5px; line-height:13px;}
.hd_login li > a {display:block; padding:10px 20px; border-radius:30px;}
.hd_login li:first-child > a {color:#fff; border:1px solid rgba(255,255,255,0.2);}
.hd_login li:last-child > a {background:rgba(255,255,255,0.2); border:1px solid rgba(255,255,255,0.2);}
.hd_login a {color:#fff;}

/* =============================================
   1depth GNB
   ============================================= */
#gnb {position:relative; display:flex; align-items:center; place-content:center; height:100%; flex:1;}
#gnb .gnb_wrap {height:100%;}
#gnb .gnb_wrap > ul {position:relative; display:flex; height:100%; z-index:200;}
.gnb_1da {padding:0 !important; color:#fff !important; font-family:"Noto Sans KR", sans-serif; font-weight:500; font-size:18px; white-space:nowrap;}
#gnb .gnb_1dli {position:relative; padding:0 30px; display:flex; place-content:center; align-items:center; flex:1; text-align:center; word-break:keep-all; cursor:pointer; height:100%;}
/*#gnb .gnb_1dli:after {content:""; display:block; position:absolute; bottom:0; left:50%; transform:translateX(-50%); width:0; height:3px; background:var(--main-color); transition:width 0.3s ease;}
#gnb .gnb_1dli.on:after,
#gnb .gnb_1dli:hover:after {width:100%;}*/
#gnb .gnb_1dli:hover > a,
#gnb .gnb_1dli.on > a {color:#fff !important;}

/* =============================================
   메가메뉴 드롭다운
   ============================================= */
#mega-menu-wrap {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
    z-index: 299;
}
#mega-menu-wrap.open {
    max-height: 600px;
    opacity: 1;
}

#mega-menu-inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* 패널 */
.mega-panel {
    display: none;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    min-height: 300px;
}
.mega-panel.active {
    display: flex;
}

/* 좌측 타이틀 */
.mega-title {
    flex-shrink: 0;
    width: 320px;
    padding: 40px 50px;
    text-align: right;
    background: linear-gradient(135deg, #1a3a6e 0%, #1346d4 100%);
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.mega-title a {
    display: block;
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    font-family: "Noto Sans KR", sans-serif;
    line-height: 1.3;
    letter-spacing: -0.5px;
    transition: color 0.2s;
}
.mega-title a:hover {
    color: rgba(255,255,255,0.7);
}

/* 우측 2depth 목록 — 그리드 박스 */
.mega-2dul {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    flex: 1;
    padding: 30px 40px;
    gap: 16px;
    background: #fff;
}

/* 2depth 아이템 — 박스 형태 */
.mega-2dli {
    background: #fff;
    border: 1px solid #e2e6ee;
    border-radius: 6px;
    padding: 0;
    min-width: 180px;
    max-width: 220px;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.mega-2dli:hover {
    border-color: #c0cbe0;
}
.mega-2dli:hover .mega-2da {
    color:#2d5aa0 !important;
}

/* 2depth 링크 — 박스 상단 */
.mega-2da {
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: #222 !important;
    font-family: "Noto Sans KR", sans-serif;
    padding: 14px 18px 12px;
    border-bottom: 1px solid transparent;
    transition: color 0.2s;
    white-space: nowrap;
    border-radius: 6px 6px 0 0;
}
.mega-2dli.has3depth .mega-2da {
    border-bottom: 1px solid #e2e6ee;
    border-radius: 6px 6px 0 0;
}
.mega-2da:hover {
    color: var(--main-color) !important;
}

/* 3depth 목록 — 박스 하단 bullet */
.mega-3dul {
    padding: 10px 18px 14px;
    margin: 0;
    border: none;
}
.mega-3dli {
    padding: 3px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.mega-3dli:before {
    content: "•";
    color: #aab4c8;
    font-size: 12px;
    flex-shrink: 0;
}
.mega-3da {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #666 !important;
    font-family: "Noto Sans KR", sans-serif;
    padding: 0;
    transition: color 0.2s;
    white-space: nowrap;
}
.mega-3da:hover {
    color: var(--main-color) !important;
    padding-left: 0;
}

/* =============================================
   모바일 햄버거
   ============================================= */
#menu-btn {display:block; width:40px; height:16px; position:absolute; top:50%; right:0; transform:translateY(-50%); z-index:1000; cursor:pointer; transition:all .3s;}
#menu-btn span {display:block; width:100%; height:2px; background:#fff; position:absolute; transition:all 0.3s ease-in-out;}
#menu-btn span:nth-child(1) {top:10%;}
#menu-btn span:nth-child(2) {top:50%;}
#menu-btn span:nth-child(3) {top:90%;}
#menu-btn.active {right:20px; z-index:99999;}
#menu-btn.active span {height:5px; background:#fff !important;}
#menu-btn.active span:nth-child(1) {top:50%; transform:translateY(-50%) rotate(45deg) scale(0.5);}
#menu-btn.active span:nth-child(2) {top:50%; transform:translateY(-50%) rotate(-45deg) scale(0.5);}
#menu-btn.active span:nth-child(3) {opacity:0; transform:translateX(-50px);}

/* =============================================
   모바일 메뉴
   ============================================= */
#mob-gnb {position:fixed; top:0; left:-100%; z-index:100; max-width:100vw; width:100%; height:100vh; background:var(--main-color);}
#mob-gnb .menu-bg {position:relative; overflow:hidden; opacity:0; width:30%; height:100vh; background:url(../img/gw-theme05-mene-bg.jpg) center no-repeat; background-size:cover; transition:all 0.5s ease-in-out;}
#mob-gnb .menu-bg:after {content:""; position:absolute; left:0; top:0; width:100%; height:100%; background:var(--main-color); display:block; transform:translateX(-101%);}
#mob-gnb.on .menu-bg {animation:bgmove02 both 1s 0.2s;}
#mob-gnb.on .menu-bg:after {animation:bgmove01 both 1s 0.2s;}
#mob-gnb .menu-list {padding:0 60px; width:70%; height:100%; overflow-y:auto;}
#mob-gnb .menu-list > ul > li {position:relative; padding:20px 0; display:flex; flex-wrap:wrap; border-bottom:1px solid rgba(255,255,255,0.1); transform:translateY(100%); opacity:0; transition:all 0.8s ease-in-out;}
#mob-gnb .menu-list > ul > li:before {content:""; display:block; position:absolute; left:0; bottom:0; width:0; height:1px; background:#fff; transition:all 0.5s ease-in-out;}
#mob-gnb .menu-list > ul > li:hover:before {width:100%;}
#mob-gnb .menu-list > ul > li > a {width:200px; color:#fff; font-size:var(--main-title03); font-family:"Noto Sans KR", sans-serif; font-weight:800;}

/* 모바일 2depth */
#mob-gnb .dep02 {display:none; flex-wrap:wrap; gap:10px 20px; width:100%; padding:10px 0 0 0;}
#mob-gnb .dep02 > li > a.dep02a {font-size:16px; color:rgba(255,255,255,0.7) !important; transition:all 0.3s; display:block; padding:4px 0;}
#mob-gnb .dep02 > li > a.dep02a:hover {color:rgba(255,255,255,1) !important;}

/* 모바일 3depth */
#mob-gnb .dep03 {display:none; padding:6px 0 0 12px; width:100%;}
#mob-gnb .dep03 > li {line-height:1.84;}
#mob-gnb .dep03 > li > a.dep03a {font-size:13px; color:rgba(255,255,255,0.5) !important; display:block; padding:3px 0; transition:color 0.2s;}
#mob-gnb .dep03 > li > a.dep03a:hover {color:rgba(255,255,255,0.9) !important;}

/* 메뉴 검정색 */
#hd.black:before {background:#ddd;}
#hd.black .gnb_1da {color:#000 !important;}
#hd.black #menu-btn span {background:#000;}
#hd.black .hd_login a {color:#222;}
.hd_login li:first-child > a {border:1px solid #ddd;}
#hd.black .hd_login li:last-child > a {background:#f2f2f2; border:1px solid #f2f2f2;}

/* 메뉴 활성화 */
html.on, body.on {overflow:hidden;}
#hd.on {border-bottom:1px solid #e8e8e8;}
#hd:hover::before {display:none;}
#logo.on {display:none;}
#mob-gnb.on {left:0; display:block; z-index:9999;}
#mob-gnb.on .menu-list > ul > li {transform:translateY(0); opacity:1;}

/* 스크롤에 따른 메뉴 */
#hd.off {transform:translateY(-100%);}

.gw-side-menu-container01 > [class*="gw-side-menu-depth"] > button {border-radius:50px;}

/* 3depth 사이드메뉴 */
.gw-side-menu-depth03-list {
    display: none;
    padding-left: 15px;
}
.gw-side-menu-depth03-list.open {
    display: block;
}
.gw-side-menu-depth03-list li a {
    font-size: 13px;
    color: #666;
    padding: 6px 10px;
    display: block;
}
.gw-side-menu-depth03-list li a.active,
.gw-side-menu-depth03-list li a:hover {
    color: #3A43AC;
    font-weight: 600;
}
/* 3depth 탭 */
/* 3depth 탭 */
.gw-depth03-tab-wrap {
    margin:70px auto 0px;
    max-width:calc(100% - 30px);
    display: flex;
}
.gw-depth03-tab-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 1200px;
    width: 95%;
    justify-content: center;
}
.gw-depth03-tab-list li {
    flex: 1;
    max-width: 300px;
}
.gw-depth03-tab-list li a {
    display: flex;
    text-align: center;
    padding: 18px 10px;
    font-size: 15px;
    color: #555;
    text-decoration: none;
    background: #fff;
    border: 1px solid #ddd;
    border-left: none;
    transition: all 0.2s;
    justify-content: center;
    word-break: keep-all;
    align-items: center;
}
.gw-depth03-tab-list li:first-child a {
    border-left: 1px solid #ddd;
}
.gw-depth03-tab-list li a:hover {
    color: #1346d4;
}
.gw-depth03-tab-list li a.active {
    background: #fff;
    color: #1346d4;
    border-bottom: solid 3px #1346d4;
    font-weight: 600;
}
/* 3depth 탭 반응형 */
@media all and (max-width:960px) {
    .gw-depth03-tab-list li a {
        font-size:14px;
        padding:18px 5px;
        height: 100%;
    }
}
@media (max-width: 639px) {
    .gw-depth03-tab-wrap {
        margin-top:-20px;
        padding-top: 80px;
    }
    .gw-depth03-tab-list {
        display: none;
    }
    .gw-depth03-tab-select {
        width: 100%;
        padding: 12px 15px;
        font-size: 15px;
        color: #333;
        border: 1px solid #ddd;
        border-radius: 0px;
        background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23555' d='M6 8L0 0h12z'/%3E%3C/svg%3E") no-repeat right 15px center;
        appearance: none;
        -webkit-appearance: none;
        cursor: pointer;
        width: 100%;
        display: block;
    }
    .gw-depth03-tab-select:focus {
        outline: none;
        border-color: #3A43AC;
    }
}
@media (min-width: 639px) {
    .gw-depth03-tab-select {
        display: none;
    }
}