/* 새롭게 커스텀 */

/* reset */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; /*vertical-align: baselin0e;*/ font: inherit; font-family: "Noto Sans KR",dotum,sans-serif ; }

.inner {width: 1400px; margin: 0 auto;}
.inner.long {width: 1772px;}

img {max-width: 100%;}
textarea {resize: none;}

@media screen and (max-width:1772px){
    .inner.long {width: 1400px;}
}
@media screen and (max-width:1430px){
    .inner,
    .inner.long {width: 100%; padding: 0 60px; box-sizing: border-box;}
}
@media screen and (max-width:1120px){
    .inner,
    .inner.long {padding: 0 30px;}
}
@media screen and (max-width: 768px) {
    .inner,
    .inner.long {padding: 0 15px;}
}

/* header */
header {font-size: 0; position: relative; width: 100%; background-color: #fff; border-bottom: 1px solid #e8e8e8; z-index: 110; transition: 0.3s ease-in-out;}
.header-wrap {display: flex; align-items: center; position: relative; width: calc(100% - 90px); height: 90px; padding: 0 40px; box-sizing: border-box; z-index: 2;}
.header-wrap h1 a {display: inline-block;}
.header-wrap .type1 {display: inline-block;}
.header-wrap .type2 {display: none;}
.header-wrap .menu-wrap {width: calc(100% - 445px); text-align: center; box-sizing: border-box;}
header .sns-list {display: flex; align-items: center; gap: 35px; margin: 0 40px 0 auto;}
.header-wrap .all_menu-open {display: none; position: absolute; top: 0; right: -90px;}
.header-wrap .mobile__menu-wrap {display: none;}

.header__menu-list {position: relative;}
.header__menu-list > li {display: inline-block;}
.header__menu-list > li > a {display: inline-block; position: relative; margin-left: 62px; padding: 37px 0; font-weight: 600; font-size: 20px; color: #fff;}
.header__menu-list > li > a:after {content: ''; display: inline-block; position: absolute; top: 50%; left: -35px; transform: translateY(-50%) rotate(126deg); width: 10px; height: 1px; background: #fff;}
.header__menu-list > li > a:hover,
.header__menu-list > li > a:focus,
.header__menu-list > li.on > a {color: #17469d;}
.header__menu-list > li > a:focus-visible:after {outline: none;}
.header__menu-list > li:first-child > a {margin-left: 0;}
.header__menu-list > li:first-child > a:after {display: none;}
.header__menu-list > li .lnb_sub {display: none; position: absolute; top: 93px; left: -242px; width: calc(100% + 486px); text-align: left;}
.header__menu-list > li .lnb_sub > div {display: inline-block; width: 20%; border-right: 1px solid #bbc7d3; padding: 50px 15px; vertical-align: top; box-sizing: border-box;}
.header__menu-list > li .lnb_sub > div p {font-weight: 600; font-size: 36px; color: #222;}
.header__menu-list > li .lnb_sub > div span {display: block; margin-top: 25px; font-weight: 600; font-size: 16px; line-height: 22px; color: #888;}
.header__menu-list > li .lnb_sub > ul {display: inline-flex; flex-wrap: wrap; gap: 30px 0; width: 80%; padding: 40px 0 40px 28px; box-sizing: border-box; vertical-align: top;}
.header__menu-list > li .lnb_sub > ul > li {display: inline-block; position: relative; width: calc(100% / 4); padding: 0 20px; box-sizing: border-box; vertical-align: top;}
.header__menu-list > li .lnb_sub > ul > li:nth-child(4n+1) {padding-left: 0;}
.header__menu-list > li .lnb_sub > ul > li:after {content: ''; display: inline-block; position: absolute; top: 0; left: 0; width: 1px; height: 100%; background: #eeeeee;}
.header__menu-list > li .lnb_sub > ul > li:nth-child(4n+1):after {display: none;}
.header__menu-list > li .lnb_sub > ul > li > a {display: block; padding: 16px 46px 16px 23px; border: 1px solid #c9c9c9; border-radius: 10px; background: url("/images/header/gnb_arrow.png") no-repeat center right 23px; font-weight: 600; font-size: 18px; color: #444; box-sizing: border-box; transition: 0.3s ease-in-out;}
.header__menu-list > li .lnb_sub > ul > li > a:hover {border-color: #313131; background-color: #444; color: #fff;}
.header__menu-list > li .lnb_sub > ul > li:hover > a {border-color: #313131; background-color: #444; color: #fff;}
.header__menu-list > li .lnb_sub > ul > li > ul {margin: 20px 0 0 10px;}
.header__menu-list > li .lnb_sub > ul > li > ul > li {position: relative; padding-left: 15px; font-weight: 600; font-size: 16px; line-height: 20px; color: #888;}
.header__menu-list > li .lnb_sub > ul > li > ul > li a {transition: 0.3s ease-in-out;}
.header__menu-list > li .lnb_sub > ul > li > ul > li a:hover {color: #17469d;}
.header__menu-list > li .lnb_sub > ul > li > ul > li:after {content: ''; display: inline-block; position: absolute; top: 7px; left: 0; width: 4px; height: 4px; border-radius: 100%; background: #888;}
.header__menu-list > li .lnb_sub > ul > li > ul > li:hover:after {background-color: #17469d;}
.header__menu-list > li .lnb_sub > ul > li > ul > li + li {margin-top: 10px;}
.header__menu-list > li .lnb_sub > ul > li > ul > li > ul {display: none;}

header .search-open {margin-left: auto;}

/* 여기서부터 기존 검색창 스타일 제거 */
.header__search-wrap {display: none;}

/* 새로운 검색 스타일 */
/* 검색 아이콘 스타일 */
.search-open {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: #666;
}

.search-open:hover {
    background: rgba(23, 70, 157, 0.1);
    color: #17469d;
}

.search-open i {
    font-size: 20px;
}

/* 검색 모달 스타일 */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(11, 28, 57, 0.95);
    z-index: 99999;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.search-modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    padding: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-modal .header__search-wrap {
    display: block !important;
    position: relative;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border: none;
}

.search-modal .header__search-wrap input[type="text"] {
    width: 100%;
    padding: 30px 80px 30px 40px;
    font-size: 24px;
    color: #fff;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    transition: all 0.4s ease;
    font-weight: 300;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.search-modal .header__search-wrap input[type="text"]:focus {
    border-color: #17469d;
    box-shadow: 0 15px 40px rgba(23, 70, 157, 0.15);
    outline: none;
}

.search-modal .header__search-wrap input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
    font-size: 22px;
}

.search-modal .header__search-wrap button {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: #17469d;
    border: none;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 15px rgba(23, 70, 157, 0.2);
}

.search-modal .header__search-wrap button:hover {
    background: #0d2d6a;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 8px 20px rgba(23, 70, 157, 0.3);
}

.search-modal .header__search-wrap button i {
    font-size: 22px;
    color: #fff;
}

.search-modal-close {
    position: fixed;
    right: 40px;
    top: 40px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    color: #fff;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.search-modal-close i {
    font-size: 26px;
    transition: all 0.4s ease;
}

.search-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.search-modal.active .search-modal-content {
    animation: searchModalIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes searchModalIn {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@media screen and (max-width: 768px) {
    .search-modal-content {
        width: 92%;
    }
    
    .search-modal .header__search-wrap input[type="text"] {
        font-size: 20px;
        padding: 25px 70px 25px 30px;
    }
    
    .search-modal .header__search-wrap input[type="text"]::placeholder {
        font-size: 18px;
    }
    
    .search-modal .header__search-wrap button {
        width: 45px;
        height: 45px;
        right: 15px;
    }
    
    .search-modal .header__search-wrap button i {
        font-size: 20px;
    }
    
    .search-modal-close {
        right: 20px;
        top: 20px;
        width: 50px;
        height: 50px;
    }
    
    .search-modal-close i {
        font-size: 22px;
    }
}

body.scrolling header {position: fixed; top: 0; left: 0; width: 100%; background-color: #fff; box-shadow: 0 0 20px rgba(0,0,0,.1); border-bottom: 1px solid #bbc7d3; z-index: 10000;}
body.scrolling header.active {box-shadow: none;}
body.scrolling header.whell {top: -92px; box-shadow: none;}
.lnb_bg {display: block; position: fixed; top: 91px; left: 0; width: 100%; border-bottom: 1px solid #bbc7d3; background: #fff; box-shadow: 0 20px 20px rgba(0,0,0,.1);}
body.scrolling .header-wrap .type1 {display: none;}
body.scrolling .header-wrap .type2 {display: inline-block;}

body.scrolling .header__menu-list > li > a {color: #222;}
body.scrolling .header__menu-list > li > a:after {background: #222;}
body.scrolling .header__menu-list > li > a:hover,
body.scrolling .header__menu-list > li > a:focus,
body.scrolling .header__menu-list > li.on > a {color: #17469d;}
body.scrolling .search-open {display: inline-block;}
body.scrolling .all_menu-open {display: inline-flex; background: none;}
body.scrolling .all_menu-open:after {content: ''; display: inline-block; position: absolute; top: 33px; left: -2px; width: 1px; height: 27px; background: #cfcfcf;}
@media screen and (max-width:1700px){
    .header-wrap .menu-wrap { padding-left: 0px; text-align: center; box-sizing: border-box; }
}
@media screen and (max-width:1600px){
    .header__search-wrap {width: 350px;}
    
}
@media screen and (max-width:1500px){
    .header__menu-list {position: static;}
    .header__menu-list > li .lnb_sub {left: 0; width: 100vw; padding: 0 40px; box-sizing: border-box;}

    .header-wrap .menu-wrap {width: calc(100% - 200px); padding-left: 0;}
    header .sns-list {display: none;}
    body.scrolling .search-open {margin-left: auto;}

    .header__search-wrap {width: 290px;}
    .header__search-wrap input {font-size: 16px;}
    .header__search-wrap input::placeholder {font-size: 16px;}
}

@media screen and (max-width:1260px){
    .header-wrap .menu-wrap {
        display: none;
    }
}

@media screen and (max-width:1120px){
    .header-wrap {width: 100%;}
    .header-wrap {flex-wrap : wrap; height: auto; padding: 25px 30px 0;}
    .header-wrap .search-open {margin-left: auto;}
    .header-wrap .all_menu-open {display: inline-flex; position: relative; top: auto; right: auto; width: auto; height: auto; margin-left: 50px; background: none;}
    .header-wrap .all_menu-open:after {content: ''; display: inline-block; position: absolute; top: 50%; transform: translateY(-50%); left: -25px; width: 1px; height: 25px; background: #fff; opacity: 0.5;}
    body.scrolling .all_menu-open {}
    body.scrolling .all_menu-open:after {top: 50%; transform: translateY(-50%); left: -25px; height: 25px;}

    .header-wrap .menu-wrap {display: none;}
    .header-wrap .mobile__menu-wrap {display: block; width: 100%;}

    .header__menu-list {margin-top: 35px;}
    .header__menu-list > li > a {padding: 0 0 25px;}
    .header__menu-list > li > a:after {top: 9px; transform: rotate(126deg);}
    .header__menu-list > li .lnb_sub > div {width: 15%;}
    .header__menu-list > li .lnb_sub > div p {font-size: 32px;}
    .header__menu-list > li .lnb_sub > ul {width: 85%;}
    body.scrolling header.whell {top: 0;}

    .header__search-wrap {top: 18px; right: 30px; transform: translateY(0);}
}
@media screen and (max-width: 1024px) {
    .header-wrap {padding: 20px 30px;}
}
@media screen and (max-width: 768px) {
    .header-wrap {padding: 20px 15px;}
    .header-wrap h1 img,
    body.scrolling .header-wrap h1 img {width: 100px; height: auto;}
    body.scrolling .header-wrap h1 .type2 {width: 100px; height: auto;}
    .search-open i {font-size: 18px;}
    .header-wrap .all_menu-open {margin-left: 30px;}
    .header-wrap .all_menu-open:after,
    body.scrolling .all_menu-open:after {left: -15px; height: 20px;}
    .all_menu-open i {font-size: 18px;}
}

body.all_menu_open {}
body.all_menu_open .wrap {position: relative; padding: 0 17px 0 0;}

.lnb_sub img { background: url(../img/main/head_exp_wrap_bg.png) center bottom no-repeat; width: 287px; height: 221px; box-sizing: border-box; }

/* 애니메이션 */
@keyframes ico_ani {
    0%,100% {transform:rotateZ(0deg);-webkit-transform:rotateZ(0deg)}
    10%, 30%, 50%, 70%, 90% {transform:rotateZ(-5deg);-webkit-transform:rotateZ(-5deg)}
    20%, 40%, 60%, 80% {transform:rotateZ(5deg);-webkit-transform:rotateZ(5deg)}
}
@-webkit-keyframes ico_ani {
    0%,100% {transform:rotateZ(0deg);-webkit-transform:rotateZ(0deg)}
    10%, 30%, 50%, 70%, 90% {transform:rotateZ(-5deg);-webkit-transform:rotateZ(-5deg)}
    20%, 40%, 60%, 80% {transform:rotateZ(5deg);-webkit-transform:rotateZ(5deg)}
}
@keyframes ico_ani2 {
    0%,50%,100% {transform:translateY(0);-ms-transform:translateY(0)}
    25%,75% {transform:translateY(-7%);-ms-transform:translateY(-7%)}
}
@-webkit-keyframes ico_ani2 {
    0%,50%,100% {transform:translateY(0);-ms-transform:translateY(0)}
    25%,75% {transform:translateY(-7%);-ms-transform:translateY(-7%)}
}
@keyframes ico_ani3 {
    0%,50%,100% {transform:translateY(0);-ms-transform:translateY(0)}
    25%,75% {transform:translateY(-15%);-ms-transform:translateY(-15%)}
}
@-webkit-keyframes ico_ani3 {
    0%,50%,100% {transform:translateY(0);-ms-transform:translateY(0)}
    25%,75% {transform:translateY(-15%);-ms-transform:translateY(-15%)}
}
@keyframes ico_ani4 {
    0% {transform:rotate(0deg);-webkit-transform:rotate(0deg)}
    100% {transform:rotate(180deg);-webkit-transform:rotate(180deg)}
}
@-webkit-keyframes ico_ani4 {
    0% {transform:rotate(0deg);-webkit-transform:rotate(0deg)}
    100% {transform:rotate(180deg);-webkit-transform:rotate(180deg)}
}

/* 전체 메뉴 관련 스크립트 시작 */
.bg-bc3, 
a.bg-bc3, 
.bg-hover-bc3:hover, 
.bg-on-bc3.on, 
.bg-before-bc3:before, 
.bg-after-bc3:after, 
.bg-hover-div-bc3:hover > div { background-color: #0b1c39 !important; color: white !important; }

/* 스크롤바 */
* { scrollbar-color:rgba(0,0,0,.3); scrollbar-face-color: rgba(0,0,0,.3); }
*::-webkit-scrollbar { width: 6px; background:none; }
*::-webkit-scrollbar-thumb { outline: none; background: rgba(0,0,0,.3); border-radius:10px; }

/* 전체 메뉴 */
body.allmenu-on { overflow:hidden; }
body.allmenu-on #allmenu { opacity:1; visibility:visible; z-index: 999999; }
body.allmenu-on .is-subpage { height:100vh; overflow:hidden; }

#allmenu { position: fixed; top:0; left:0; right:0; bottom:0; max-width:100%; z-index: 1; overflow:hidden; opacity:0; visibility:hidden; transition-duration:400ms; --bg-w:30%; --btns-h:100px; }
#allmenu .allmenu-btns { position:absolute; left:5vw; bottom:30px; right:5vw; display:flex; justify-content:space-between; align-items:center; z-index:9; }
#allmenu .allmenu-container { /*position:relative; left:var(--bg-w); right:0;*/ height:100%; /*width:calc(100% - var(--bg-w));*/ padding:var(--btns-h) 5%; /*z-index:2; display:flex; align-items:center;*/ }
#allmenu .allmenu-container:before { content:""; position:absolute; left:-30vw; top:0; right:0; bottom:0; z-index:-1; transition:left 1000ms ease-in-out 0ms; }
body.allmenu-on #allmenu .allmenu-container:before { left:0; transition:left 1.2s ease-in-out 300ms; }

#allmenu .btns { position:absolute; left:0; top:0; right:0; height:var(--btns-h); display:flex; align-items:center; justify-content:flex-end; }
#allmenu .btns a { display:inline-block; padding:7px 25px; border:1px solid rgba(255,255,255,.6); color:#fff; margin:0 5px; font-size:.875rem; transition-duration:400ms; }
#allmenu .btns a:hover { background:#fff; color:#000; }
#allmenu .btn-close { position:relative; width:var(--btns-h); height:100%; background:#222; color:#eee; margin-left:20px; }
#allmenu .btn-close:before,
#allmenu .btn-close:after { content:""; position:absolute; top:50%; left:50%; height:40px; width:4px; background:#fff; border-radius:4px; margin:-20px 0 0 -2px; }
#allmenu .btn-close:before { transform: rotate(45deg); }
#allmenu .btn-close:after { transform: rotate(-45deg); }
#allmenu .btn-close:hover { background-color: var(--main-color1, #444) !important; color:#fff; }

#allmenu .items { width:100%; height:100%; padding:0 35px; overflow-y:auto; overflow-x:hidden; }
#allmenu .item { position:relative; display:flex; align-items:center; padding:35px 0px; border-bottom:1px solid rgba(255,255,255,.3); }
#allmenu .item:before { content:""; position:absolute; left:0; bottom:0; right:0; width:0; height:1px; background:#fff; transition-duration:400ms; }
#allmenu .item:hover:before { width:100%; }
#allmenu .item .is_sub { border: 0; text-indent: inherit; background: 0; }
#allmenu .item .is_sub { position:relative; width:200px; color: #fff; display: block; font-size:1.875rem; font-weight:700; }

#allmenu .item .sub { width:calc(100% - 200px); display:flex; align-items:center; flex-wrap:wrap; }
#allmenu .item .sub li { padding:0 20px; }
#allmenu .item .sub .depth2-a { color: rgba(255,255,255,.5); text-align:center; font-size:1.125rem; max-width:242px; }
#allmenu .item .sub .depth2-a:hover,
#allmenu .item .sub .depth2-a.on { color:#fff; }

@media (max-width: 1400px) {
    #allmenu .item { display:block; padding:25px 0; }
    #allmenu .item .is_sub { font-size:1.325rem; margin-bottom:10px; width:100%; }
    #allmenu .item .sub li { padding:5px 0; margin-right:30px; font-size:1rem; }
}

@media (max-width: 1200px) {
    #allmenu { --bg-w:0; }
	#allmenu .bg { position:static; }
	#allmenu .allmenu-btns { left:65px; right:65px; bottom:20px; }
    #allmenu .allmenu-container { padding:var(--btns-h) 30px; }
}
/* 전체 메뉴 관련 스크립트 끝 */

/* SNS 아이콘 스타일 */
.sns-list {
    display: flex;
    align-items: center;
    gap: 35px;
    margin: 0 40px 0 auto;
}

.sns-list li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: #666;
    font-size: 20px;
}

.sns-list li a:hover {
    background: rgba(23, 70, 157, 0.1);
    color: #17469d;
    transform: translateY(-2px);
}

/* 전체메뉴 아이콘 */
.all_menu-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: #666;
}

.all_menu-open i {
    font-size: 20px;
}

.all_menu-open:hover {
    background: rgba(23, 70, 157, 0.1);
    color: #17469d;
}

/* 다크모드 대응 */
body.scrolling .sns-list li a,
body.scrolling .search-open,
body.scrolling .all_menu-open {
    color: #222;
}

@media screen and (max-width: 768px) {
    .sns-list {
        gap: 20px;
    }
    
    .sns-list li a,
    .search-open,
    .all_menu-open {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .search-modal-close {
        width: 40px;
        height: 40px;
    }
    
    .search-modal-close i {
        font-size: 20px;
    }
}

/* 유틸리티 영역 스타일 */
.header-util {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
    margin-right: 20px;
}

.header-util a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #222;
    font-size: 18px;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
}

.header-util a:hover {
    color: #17469d;
    background: rgba(23, 70, 157, 0.1);
}

.header-util .all_menu-open {
    width: 90px;
    height: 90px;
    background: #17469d;
    color: #fff;
    border-radius: 0;
    font-size: 24px;
}

.header-util .all_menu-open:hover {
    background: #0d2d6a;
}

.header-util .all_menu-open:before {
    content: '';
    display: inline-block;
    position: absolute;
    top: 33px;
    left: -2px;
    width: 1px;
    height: 27px;
    background: #cfcfcf;
}

@media screen and (max-width: 768px) {
    .header-util {
        gap: 10px;
        margin-right: 10px;
    }

    .header-util a:not(.all_menu-open) {
        display: none;
    }
    
    .header-util .all_menu-open {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }

    .header-util .all_menu-open:before {
        display: none;
    }
}











