@charset "UTF-8";

@media (max-width: 1024px) {
    html:has(.allmenu-open) {
        position: relative;
    }
    html:has(.allmenu-open)::after {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1;
    }
}
/* body  */
body:has(.topmenu_all.on) {
    overflow: hidden;
}
body:has(.topmenu_all.on) #header {
    border-bottom: none;
}
#wrap {
    overflow: hidden;
}

/* 기본 헤더 스타일 */
#header {
    position: relative;
    height: 10rem;
    color: #000;
    letter-spacing: -0.05em;
    background: #fff;
    border-bottom: 1px solid #ccc;
    z-index: 2;
}
.header_wrap {
    display: flex;
    position: relative;
    height: 10rem;
    justify-content: center;
    z-index: 2;
    width: 100%;
    padding: 0 7rem 0 28rem;
}

/* 로고 */
#logo {
    display: flex;
    position: absolute;
    top: 0;
    left: 4rem;
    height: 100%;
    align-items: center;
    justify-content: center;
    z-index: 3;
}
#logo a {
    flex-shrink: 0;
    display: flex;
    width: 23.7rem;
}
@media (max-width: 1440px) {
    #logo {
        left: 2rem;
    }
}

/* 메인 메뉴 (#gnb1) */
#gnb1 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}
#gnb1 .gnb1-bg {
    position: absolute;
    top: 10rem;
    left: 49.999%;
    width: 100vw;
    height: 100%;
    transform: translateX(-50%);
    content: "";
    display: block;
    background: rgba(2, 47, 80, 0.98);
    opacity: 0;
}
#gnb1 .gnb1-bg:before {
    position: absolute;
    width: 35.7rem;
    height: 23.5rem;
    bottom: 0;
    left: 4rem;
    background: url(/ubin/img/layout/bgDepth2.png) no-repeat center center/cover;
    content: "";
}
#gnb1 .gnb1-bg.on {
    opacity: 1;
    transition: all 0.3s;
}
#gnb1 .topmenu {
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
}
#gnb1 .topmenu > li {
    position: relative;
}
#gnb1 .topmenu > li > a {
    padding: 0 2.45rem;
    min-width: 16rem;
    display: flex;
    height: 10rem;
    align-items: center;
    justify-content: center;
    color: #222;
    font-weight: 500;
    font-size: 2rem;
    line-height: 120%;
    text-align: center;
}
#gnb1 .topmenu > li > a.on {
    font-weight: 600;
}
@media (max-width: 1680px) {
    #gnb1 .gnb1-bg:before {
        width: 32.7rem;
        height: 20.5rem;
    }
    #gnb1 .topmenu > li > a {
        font-size: 1.8rem;
        min-width: 14rem;
        padding: 0 2rem;
    }
}
@media (max-width: 1440px) {
    #gnb1 .topmenu > li > a {
        min-width: 12rem;
        padding: 1.5rem;
    }
    #gnb1 .gnb1-bg:before {
        width: 30.7rem;
        height: 18.5rem;
    }
}
@media (max-width: 1280px) {
    #gnb1 .gnb1-bg:before {
        width: 28.7rem;
        height: 16.5rem;
    }
}

/* 서브메뉴 */
#gnb1 .topmenu > li .submenu {
    position: absolute;
    bottom: -1px;
    left: 50%;
    width: 100%;
    padding: 3rem 1.5rem 8rem 1.5rem;
    transform: translate(-50%, 100%);
    visibility: hidden;
    opacity: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: block !important;
}
#gnb1 .topmenu > li:first-child .submenu {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}
#gnb1 .topmenu > li .submenu.on {
    visibility: visible;
    opacity: 1;
}
#gnb1 .topmenu > li > a + .submenu:before {
    display: block;
    position: absolute;
    top: -1rem;
    left: 0;
    width: 100%;
    height: 0;
    background: #00d5cb;
    content: "";
}
#gnb1 .topmenu > li > a.on + .submenu.on ul li > a {
    color: #222;
}
#gnb1 .topmenu > li > a.on + .submenu.on:before {
    height: calc(100% + 1rem);
    transition: all 0.3s;
}
#gnb1 .topmenu > li > a.on + .submenu.on ul li > a:before {
    background: #222;
}
#gnb1 .submenu ul li {
    line-height: 1;
    margin-top: 1rem;
}
#gnb1 .submenu ul li:first-of-type {
    margin-top: 0;
}
#gnb1 .submenu ul li > a {
    display: block;
    position: relative;
    padding-left: 1.25rem;
    color: #fff;
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 150%;
}
#gnb1 .submenu ul li > a + div {
    display: none;
}
#gnb1 .submenu ul li > a:before {
    display: block;
    position: absolute;
    top: 0.9rem;
    left: 0;
    width: 0.4rem;
    height: 0.4rem;
    background: #00d5cb;
    content: "";
    border-radius: 50%;
}
#gnb1 .submenu ul li > a:hover {
    font-weight: 500;
}

/* 3depth 메뉴 */
#gnb1 .submenu ul li div {
    margin-top: 2.5rem;
}
#gnb1 .submenu ul li div ul li {
    margin-top: 1rem;
}
#gnb1 .submenu ul li div ul li:first-of-type {
    margin-top: 0;
}
#gnb1 .submenu ul li div ul li > a {
    position: relative;
    padding-left: 1.25rem;
}
#gnb1 .submenu ul li div ul li > a:before {
    position: absolute;
    top: 0.9rem;
    left: 0;
    width: 0.4rem;
    height: 0.4rem;
    background: #ddd;
    content: "";
    border-radius: 50%;
    opacity: 0.5;
}
#gnb1 .submenu ul li div ul li > a {
    color: #616161;
    font-size: 1.8rem;
}
@media (max-width: 1440px) {
    #gnb1 .submenu ul li > a {
        /* font-size: 1.4rem; */
        padding-left: 1rem;
    }
    #gnb1 .submenu ul li > a:before {
        top: 0.75rem;
    }
}

/* 헤더 배경 */
.header-bg {
    position: absolute;
    top: 10rem;
    left: 50%;
    width: 100vw;
    height: 0;
    background: #f3f5f8;
    overflow: hidden;
    z-index: -1;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    border-bottom: 1px solid #ddd;
}
.header-bg.on {
    visibility: visible;
    opacity: 1;
}

/* 기타메뉴 */
#hnb {
    display: none;
}

/* 검색 */
.search .control {
    color: #fff;
    font-size: 2.8rem;
}
.search .group {
    display: none;
    position: fixed;
    top: 10rem;
    left: 0;
    width: 100%;
    padding: 4rem 2rem;
    justify-content: center;
    z-index: -1;
    border-bottom: 1px solid #ddd;
}
.search .group.on {
    display: flex;
}
.search .group:before {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    content: "";
    backdrop-filter: blur(10px);
}
.search .form {
    display: flex;
    position: relative;
    width: 100%;
    margin: 0 auto;
    max-width: 48.6rem;
    gap: 1.1rem;
}
.search .form input {
    width: calc(100% - 6.5rem);
    height: 6.5rem;
    padding: 0 3rem;
    background: #fff;
    border-radius: 1rem;
}
.search .form button {
    display: flex;
    width: 6.5rem;
    height: 6.5rem;
    background: #0556ba;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    color: #fff;
    font-size: 2.4rem;
}

/* 전체메뉴 - 실제 HTML 구조에 맞게 수정 */
#gnb2 {
    position: absolute;
    right: 0;
    height: 100%;
}
#gnb2 .control {
    color: #222;
    font-size: 2.8rem;
    top: 50%;
    transform: translateY(-50%);
    right: 4rem;
    position: absolute;
}
#gnb2 .control:before {
    content: "";
    display: block;
    color: #222;
    font-family: "xeicon";
}
#gnb2 .control.open:before {
    content: "\e91c";
}
#gnb2 .control.close:before {
    content: "\e921";
}
#gnb2 .close {
    display: none;
}
#gnb2:has(.topmenu_all.on) .control.close {
    display: block;
    z-index: 1;
}
#gnb2:has(.topmenu_all.on) .control.open {
    display: none;
}
#gnb2:has(.topmenu_all.on) .control.close:before {
    color: #fff;
}

#head_menu_all {
    position: fixed;
    top: -50rem;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 8rem 0;
    /* background: url(/public/images/layout/sitemap-list-bg.jpg) no-repeat center
        center/cover; */
    background-color: #022f50;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: row;
    overflow-y: auto;
}
#head_menu_all::-webkit-scrollbar {
    width: 8px;
}
#head_menu_all::-webkit-scrollbar-thumb {
    height: 30%;
    background: #4c5964;
}
#head_menu_all::-webkit-scrollbar-track {
    background: #fff;
    border-radius: 50px;
}
#head_menu_all li {
    position: relative;
}
#head_menu_all li a {
    display: flex;
    position: relative;
}
#head_menu_all > li {
    display: block;
    width: 100%;
}
#head_menu_all > li > a {
    display: block;
    color: #fff;
    font-weight: 500;
    font-size: 3.8rem;
    line-height: 1;
}
#head_menu_all > li > a.on {
    font-weight: 700;
}
#head_menu_all > li .submenu ul li > a {
    color: #fff;
    font-size: 2rem;
}
#head_menu_all > li .submenu ul li div {
    margin-top: 2.5rem;
}
#head_menu_all > li .submenu ul li div ul li {
    margin-top: 1rem;
}
#head_menu_all > li .submenu ul li div ul li:first-of-type {
    margin-top: 0;
}
#head_menu_all > li .submenu ul li div ul li > a {
    position: relative;
    padding-left: 1.25rem;
}
#head_menu_all > li .submenu ul li div ul li > a:before {
    position: absolute;
    top: 0.9rem;
    left: 0;
    width: 0.4rem;
    height: 0.4rem;
    background: #fff;
    content: "";
    border-radius: 50%;
    opacity: 0.5;
}
#head_menu_all > li .submenu ul li div ul li > a {
    color: #fff;
    font-size: 1.8rem;
}
#head_menu_all.on {
    top: 10rem;
    opacity: 1;
    visibility: visible;
    height: calc(100% - 10rem);
}
#head_menu_all > li .submenu ul li > a.on {
    text-decoration: underline;
    font-weight: 500;
}
#head_menu_all > li .submenu ul li div ul li > a.on {
    text-decoration: underline;
}
@media (min-width: 1024px) {
    #header:has(.topmenu_all.on) {
        background: #022f50;
    }
    #header:has(.topmenu_all.on) #gnb1 {
        display: none;
    }
    #header:has(.topmenu_all.on) .search {
        display: none;
    }
    #head_menu_all {
        flex-direction: column;
        align-items: center;
        gap: 8rem 0;
    }
    #head_menu_all > li:hover > a {
        font-weight: 700;
        color: #00d5cb;
    }
    #head_menu_all > li .submenu {
        margin-top: 2rem;
    }
    #head_menu_all > li:nth-child(odd) {
        transform: translateX(-5rem);
    }
    #head_menu_all > li:nth-child(even) {
        transform: translateX(5rem);
    }
    #head_menu_all.on > li {
        transform: translateX(0) !important;
        opacity: 1 !important;
        transition: all 0.5s 0.6s;
    }
    #head_menu_all > li {
        max-width: calc(1400px + 8rem);
        padding: 0 4rem;
    }
    #head_menu_all > li .submenu > ul {
        display: flex;
        flex-wrap: wrap;
    }
    #head_menu_all > li .submenu > ul > li {
        width: 20%;
    }
    #head_menu_all > li .submenu > ul > li > a {
        padding: 2rem;
        border: 1px solid rgba(255, 255, 255, 0.4);
        justify-content: center;
    }
    #head_menu_all > li .submenu > ul > li:hover > a {
        background: #00d5cb;
    }
    #head_menu_all > li .submenu ul li div ul li > a:hover {
        text-decoration: underline;
    }
}

@media all and (min-width: 1024px) and (max-width: 1440px) {
    #head_menu_all {
        gap: 6rem;
    }
    #head_menu_all > li > a {
        font-size: 3.2rem;
    }
    #head_menu_all > li .submenu > ul > li > a {
        padding: 1.8rem;
        font-size: 1.8rem;
    }
    #gnb2 .control {
        right: 2rem;
    }
}
@media (max-width: 1024px) {
    #gnb2 .control {
        right: 2rem;
    }
    #gnb1 .topmenu {
        display: none;
    }
    #gnb1 .topmenu > li .submenu {
        height: auto !important;
    }
    #gnb2:has(.topmenu_all.on):before {
        display: none;
    }
    #gnb2:has(.topmenu_all.on) .control.close:before {
        color: #222;
    }
    #head_menu_all {
        top: 10rem;
        right: -100%;
        left: auto;
        width: 50rem;
        height: calc(100% - 10rem);
        padding: 0;
        background: #fff;
        flex-direction: column;
        margin: 0;
        justify-content: flex-start;
    }
    #head_menu_all.on {
        top: 10rem;
        right: 0;
    }
    #head_menu_all > li {
        padding: 0;
        border-bottom: 1px solid #e0e0e0;
    }
    #head_menu_all > li > a {
        padding: 20px 24px;
        background: #f5f5f5;
        color: #222;
        font-size: 18px;
    }
    #head_menu_all > li > a.on {
        background: #022f50;
        color: #fff;
    }
    #head_menu_all > li > a.is:before {
        display: block;
        position: absolute;
        top: 50%;
        right: 24px;
        color: #bdbdbd;
        font-size: 24px;
        font-family: "remixicon";
        content: "\ea12";
        transform: translateY(-50%);
    }
    #head_menu_all > li > a.is.on:before {
        color: #fff;
        content: "\f1af";
    }
    #head_menu_all > li .submenu {
        display: none;
        padding: 15px 24px;
        margin-top: 0;
    }
    #head_menu_all > li .submenu ul li:first-of-type {
        margin-top: 0;
    }
    #head_menu_all > li .submenu ul li {
        margin-top: 15px;
    }
    #head_menu_all > li .submenu ul li > a {
        color: #222;
    }
    #head_menu_all > li .submenu ul li > a.is:before {
        display: block;
        position: absolute;
        top: 50%;
        right: 0;
        color: #bdbdbd;
        font-size: 20px;
        font-family: "remixicon";
        content: "\ea4e";
        transform: translateY(-50%);
    }
    #head_menu_all > li .submenu ul li > a.is.on:before {
        transform: translateY(-50%) rotate(180deg);
    }
    #head_menu_all > li .submenu.on {
        display: block;
    }
    #head_menu_all > li .submenu ul li div {
        display: none;
        margin-top: 1rem;
    }
    #head_menu_all > li .submenu ul li div.on {
        display: block;
    }
    #head_menu_all > li .submenu ul li div ul li > a {
        color: #222;
    }
    #head_menu_all > li .submenu ul li div ul li > a:before {
        background: #0556ba;
    }
}
@media (max-width: 640px) {
    #head_menu_all {
        width: 100%;
    }
}

/* container */
.container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* footer */
#footer {
    padding-bottom: 4rem;
    font-size: 1.5rem;
    letter-spacing: 0;
}
#footer .protectionLink {
    color: #000;
    border-bottom: 1px solid #ccc;
    /* display: flex;
    justify-content: space-between;
    align-items: center; */
}
#footer .protectionLink a {
    display: inline-block;
    line-height: 10rem;
}
#footer .protectionLink .fl a {
    max-width: 16rem;
} /* 201203추가 */
#footer .protectionLink .fl a img {
    max-width: 100%;
    display: inline-block;
} /* 201203추가 */
#footer .protectionLink a img {
    vertical-align: middle;
}
/* #footer .protectionLink .fl a + a {margin-left: 4rem;} 201214 수정 */
#footer .protectionLink .fr a {
    position: relative;
    padding: 0 3rem;
    font-size: 1.6rem;
}
#footer .protectionLink .fr a + a:after {
    position: absolute;
    top: 4.4rem;
    left: 0;
    width: 1px;
    height: 1.2rem;
    background: #ccc;
    content: "";
}
#footer .footerInfo {
    margin-top: 3rem;
    color: #333;
}
#footer address p + p {
    margin-top: 1rem;
}
#footer address span {
    position: relative;
    display: inline-block;
    margin-right: 3rem;
    padding-right: 3rem;
    font-size: 15px;
    line-height: 3rem;
}
#footer address span:after {
    position: absolute;
    top: 0.9rem;
    right: 0;
    width: 1px;
    height: 1.2rem;
    background: #ccc;
    content: "";
}
#footer address span:last-of-type:after {
    display: none;
}
#footer address em {
    font-weight: 400;
}
#footer .copyright {
    margin-top: 3rem;
    font-size: 1.5rem;
    color: #666;
}
/*220303*/
.foot_mark {
    position: relative;
}
.foot_mark .mark_list {
    position: absolute;
    top: -10rem;
    right: 0;
}
.foot_mark .mark_list li {
    float: left;
    margin-left: 1rem;
}
.foot_mark .mark_list li a {
    display: block;
}
.foot_mark .mark_list li a img {
    width: 10rem;
}
