@charset "utf-8";

/* 기본프로그램 사용자모듈 메뉴 - PC */
.all_m_btn {
    padding: 10px;
    background: #323337;
}

.all_m_btn img {
    position: absolute;
    top: 28%;
    left: 15px;
    width: 10%;
    max-width: 40px;
    cursor: pointer;
}

.all_m_btn .mutit {
    text-align: center;
    font-weight: 900;
    font-size: 26px;
    color: #fff;
}

.pro_m_wrap {
    display: none;
    font-family: 'Nanum Gothic', sans-serif;
    transition: all 0.3s linear;
}

.pro_m_wrap .m_menu {
    width: 200px;
}

.pro_m_wrap .bg_black {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
}


/* 기본프로그램 사용자모듈 메뉴 - MOBILE */
.pro_m_wrap .subleftmenu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pro_m_wrap .subleftmenu li {
    border-bottom: 1px solid #515155;
    background: #323337;
}

.pro_m_wrap .subleftmenu a {
    display: block;
    color: #b5b2b2;
    font-size: 14px;
    padding: 11px 5px 11px 15px;
    font-family: 'Noto Sans KR';
}

.sub_title_m {
    font-size: 28px !important;
    font-weight: bold;
    color: #fff !important;
    padding: 12px 5px 12px 15px !important;
}

.pro_m_wrap .subleftmenu a:hover {
    background: #307dd4;
    color: #fff;
}

.sub_title_m:hover {
    background: #323337 !important;
    cursor: default;
}

@media all and (max-width:999px) {
    .pro_m_wrap {
        display: block;
        position: absolute;
        left: -100%;
        top: 0;
        z-index: 999;
    }

    .pro_m_wrap.view {
        left: 0;
    }
}

/* basic */
.inner {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    position: relative;
}

@media all and (max-width:1320px) {
    .inner {
        width: 93.75%;
    }
}

/* 햄버거 메뉴 */
#header .m_btn {
    display: none;
    width: 24px;
    text-align: right;
    cursor: pointer;
}

#header .m_btn i {
    display: inline-block;
    width: 100%;
    height: 2px;
    margin: 3px 0;
    background: #4E9AE2;
    transition: all 0.5s;
}

#header .m_btn i:nth-of-type(2) {
    width: 84%;
}

#header .m_btn.on i:nth-of-type(1) {
    margin: 11px 0 -2px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
}

#header .m_btn.on i:nth-of-type(2) {
    width: 0;
    margin: 0;
}

#header .m_btn.on i:nth-of-type(3) {
    margin: 0 0 11px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
}


@media all and (max-width:1024px) {
    #header .gnb {
        display: none;
    }

    #header .m_btn {
        display: inline-block;
    }
}

/* 모바일 메뉴 */
.m_menu_bg {
    z-index: 101;
    position: fixed;
    left: 0;
    top: 0;
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .7);
    cursor: pointer;
}

#m_menu {
    z-index: 99999;
    position: fixed;
    right: -100%;
    top: 0;
    width: 500px;
    max-width: 80%;
    height: 100%;
    background-color: #fff;
    box-sizing: Border-box;
    transition: all 0.5s;
    overfloW-y: auto;
}

#m_menu.on {
    right: 0;
}

#m_menu .top_box {
    position: relative;
    padding: 20px 10px;
    box-sizing: border-box;
}

#m_menu .top_box .close_btn {
    position: absolute;
    right: 20px;
    top: calc(50% - 15px);
    width: 30px;
    height: 30px;
}

#m_menu .top_box .close_btn i {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333;
}

#m_menu .top_box .close_btn i:first-of-type {
    -webkit-transform: rotate(45deg) translate(9px, 9px);
    -moz-transform: rotate(45deg) translate(9px, 9px);
    -ms-transform: rotate(45deg) translate(9px, 9px);
    -o-transform: rotate(45deg) translate(9px, 9px);
    transform: rotate(45deg) translate(9px, 9px);
}

#m_menu .top_box .close_btn i:last-of-type {
    -webkit-transform: rotate(-45deg) translate(-7px, 8px);
    -moz-transform: rotate(-45deg) translate(-7px, 8px);
    -ms-transform: rotate(-45deg) translate(-7px, 8px);
    -o-transform: rotate(-45deg) translate(-7px, 8px);
    transform: rotate(-45deg) translate(-7px, 8px);
}

#m_menu .login_box {
    padding: 20px 0;
    background-color: #292929;
    text-align: center;
}

#m_menu .login_box a {
    position: relative;
    padding: 0 30px;
    font-size: 20px;
    color: #fff;
    letter-spacing: -0.04em;
}

#m_menu .login_box a:first-of-type:before {
    content: '';
    position: absolute;
    right: -1px;
    top: calc(50% - 7px);
    width: 2px;
    height: 15px;
    background-color: #fff;
}

#m_menu .gnb_box {
    border-top: 1px solid #ddd;
}

#m_menu .gnb_box>ul>li {
    border-bottom: 1px solid #dddddd;
}

#m_menu .gnb_box>ul>li>a {
    position: relative;
    display: block;
    padding: 20px 20px;
    font-size: 20px;
    font-weight: bold;
    color: #222222;
    letter-spacing: -0.04em;
    box-sizing: border-box;
}

#m_menu .gnb_box .depth02 {
    display: none;
    padding: 10px 0;
    background-color: #000;
}

#m_menu .gnb_box .depth02 li a {
    position: relative;
    display: block;
    padding: 7px 20px;
    font-size: 18px;
    color: #fff;
    letter-spacing: -0.04em;
    box-sizing: border-box;
}


/* header */

ul {
    padding-left: unset !important;
}


/* 로고 토글 */
.h_logo_white {
    display: block
}

.h_logo_blue {
    display: none
}

#header.on .h_logo_white,
#header:hover .h_logo_white {
    display: none
}

#header.on .h_logo_blue,
#header:hover .h_logo_blue {
    display: block
}

#header.logo-blue-default .h_logo_white {
    display: none
}

#header.logo-blue-default .h_logo_blue {
    display: block
}




@media all and (max-width:1300px) {
    .gnb ul {
        gap: 20px;
    }
}

@media all and (max-width:1024px) {
    #header {
        padding: 10px 0;
    }
}



#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: background 0.3s ease;
}

#header.on,
#header:hover {
    background: var(--Foundation-Blue-Darker, #09243E);
}

#header .inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 20px;
}

.h_logo_box a {
    display: block;
}

.h_logo_blue {
    display: none;
}

#header:hover .h_logo_white {
    display: none;
}

#header:hover .h_logo_blue {
    display: block;
}

/* GNB 메뉴 */
.gnb {
    position: relative;
}

.gnb > ul {
    display: flex;
    align-items: center;
    gap: 50px;
    list-style: none;
}

.gnb > ul > li.depth01 {
    position: relative;
}

.gnb > ul > li.depth01 > a {
    color: var(--WH, #FCFCFC);
    font-size: clamp(17px, 2.2vw, 18px);
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    display: block;
    padding: 30px 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

#header.on .gnb > ul > li.depth01 > a,
#header:hover .gnb > ul > li.depth01 > a {
    color: #fff;
}

/* 올메뉴 배경 */
.all_menu_bg {
  position: fixed;
    top: 78px;
    left: 0;
    width: 100vw;
    height: 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, height 0.2s ease;
    z-index: 997;
    overflow: hidden;
}

.gnb:hover .all_menu_bg {
    opacity: 1;
    visibility: visible;
}

/* 2depth 메뉴 스타일 */
.depth02 {
    position: absolute;
    top: 100%;
    left: 0;
    display: none !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 30px 0;
    list-style: none;
    z-index: 998;
    width: 100%;
    height: 412px;
}

.gnb:hover .depth02 {
    display: flex !important;
}

.depth02 > li {
    /* width: 100%;*/
        width: 70%;
    margin: 0 auto; 
}

.depth02 > li > a {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 0;
    display: block;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;

    text-align: left;
}

.depth02 > li > a:hover {
    color: #007bff;
}

/* 3depth 메뉴 스타일 */
.depth03 {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0;
    /* margin: 8px 0 0 0; */
    margin: 0;
    margin-top: -3px;
    list-style: none;
}

.depth03 li a {
    color: #666;
    font-size: 15px;
    font-weight: 400;
    padding: 1px 0 3px 8px;
    display: block;
    text-decoration: none;
    transition: color 0.3s ease;

    text-align: left;

}

.depth03 li a:hover {
    color: #007bff;
}

/* 호버 시 1depth 강조 */
.gnb > ul > li.depth01:hover > a {
    color: #007bff;
}

.footer_bottom .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
        flex-wrap: wrap;

}

.f_menu ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}

.f_menu ul li a {
    color: var(--Foundation-GREY-100, #F1F1F1);
text-align: center;

/* Body-16 */
font-family: Pretendard;
font-size: 18px;
font-style: normal;
font-weight: 400;
line-height: 150%; /* 27px */
letter-spacing: 0.18px;
}



@media all and (max-width:1800px) {
    
#header {
    background: var(--Foundation-Blue-Darker, #09243E);
}
}


@media all and (max-width:1000px) {
    .footer_top,
    .footer_bottom .inner
     {
        justify-content: center !important;
    }
}


/* 20251014 추가 */
.h_logo_box {
    width: 300px;
}

.gnb {
    width: calc(100% - 300px);
}

.gnb > ul {
    flex-wrap: wrap;
    justify-content: end;
    width: 100%;
    gap: 0;
}

.gnb > ul > li.depth01 {
    flex: 1;
    text-align: center;
}