/*Content CSS*/
#header_wrap { position:absolute; left:0; top:0; width:100%; z-index:57; background: #fff; -webkit-transition:all .3s ease;-moz-transition: all .3s ease;-ms-transition: all .3s ease;-o-transition: all .3s ease; transition: all .3s ease; border-bottom: 1px solid rgba(255,255,255,0); }
#header_wrap .header-inner { position: relative; display: flex; justify-content: space-between; align-items: center; max-width:1840px; width: 100%;
height:100%; margin:0 auto; z-index: 10; padding:0 50px; }

#header { position: relative; height:100px; width: 100%; max-width: 100%;  z-index:6; -webkit-transition:all .3s ease; -moz-transition: all .3s ease; -ms-transition: all .3s ease; -o-transition: all .3s ease;transition: all .3s ease;  }
#header h1 {display: flex; align-items: center; height: 100%;}
/* logo */
#logo {flex-shrink: 0;}
#logo a {display: flex; align-items: center; justify-content: center; position: relative;}


#top_nav { display: flex; height: 100%; align-items: center; margin-right: 50px ;}
#top_nav .gnb { list-style:none; display: flex; justify-content: flex-end; padding:0; height: 100%; }
#top_nav .gnb > li { position: relative; display:block; width:auto; text-align:center; margin-right:100px; height: 100%; -webkit-transition: all .4s ease; -moz-transition: all .3s ease; -ms-transition: all .3s ease; -o-transition: all .3s ease; transition: all .3s ease;}
/* #top_nav .gnb > li:last-child {margin-right: 0;} */
#top_nav .gnb > li > a { display: flex; align-items: center; font-size:21px; height: 100%; color:#000; font-weight:500; word-break: keep-all; transition: color .3s; }
#top_nav .gnb > li > a::after { content: ""; position: absolute; bottom: -6px; left:50%; transform:translateX(-50%); width: 0; height:11px;  width:11px;  opacity: 0;
background-color:#5855ff; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; -o-transition: all 0.4s; -ms-transition: all 0.3s; transition: all 0.3s; border-radius: 50%;}
#top_nav .gnb > li > a:hover::after,
#top_nav .gnb > li.active > a::after {opacity: 1;}
#top_nav .gnb > li > a:hover,
#top_nav .gnb > li.active > a {color:#5855ff;}
/* #top_nav .gnb > li > a.active::after { width:80px; background-color: #e60013; } */

/*child_menu*/
#top_nav .gnb .snb { display: none; position: absolute; left:0; top:100px; height:80px; z-index:2; text-align: center; flex-wrap:nowrap; list-style:none; }
/* #top_nav .gnb > li:nth-child(n+4) .snb {left: auto; right: 0;} */
/* #top_nav .gnb > li:nth-child(n+4) .snb {transform: translateX(-85%); } */
#top_nav .gnb > li:nth-child(3) .snb {transform: translateX(3%);}
#top_nav .gnb .snb li a { display: flex; align-items: center; text-align: left; font-weight: 400; padding:0 67px 0 0;
white-space: nowrap; font-size:17px; height:80px; color: #666; }
#top_nav .gnb .snb li a:hover { font-weight: 700;}
#top_nav .gnb .snb li a.active { font-weight: 700;}

.snb_bg { display: none; position: absolute; left:0; right:0; top:101px; height: 80px; background-color:#f7f7f7; z-index: -1;}

/* hidden_nav */
#hd_right {display: flex; align-items: center; height: 100%; justify-content: center; }
#header_wrap .menu_slider_btn { position: relative; width:23px; height: 16px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; cursor: pointer;}
#header_wrap .menu_slider_btn span { display: block;  width: 100%; height: 2px; background: #000; transition: all .3s ease; }
#header_wrap .menu_slider_btn span:nth-child(2) {width: 17px; }
#header_wrap:hover .menu_slider_btn span {background:#5855ff;}
#header_wrap:hover .menu_slider_btn span:last-child {background: #00e8c9;}

/* hidden_nav */
#menu_close_btn {position: absolute; right: 0; top:0; width: 60px; height: 60px; transition: all .3s; display: flex; align-items: center; justify-content: center; cursor: pointer; color:#fff; background: #5956ff; font-size: 30px; z-index: 1000;  }
#menu_close_btn:hover {background: #000; color:#fff;}


.hidden_nav { width:0; top:0; height:100vh; z-index: 999; position: fixed; text-align: left; transition: all .8s cubic-bezier(0.215, 0.610, 0.355, 1.000);   overflow: hidden; background: #fff;  }
/* .hidden_nav::before {content: ''; display: block; height: 100%; width: 100%; z-index: -1; pointer-events: none; position: absolute; right: 0; bottom: 0; opacity: .5;
background:url("../img/hidden_bg.png") 100% 100% no-repeat; background-size: auto 100%; } */
.hidden_nav.active { left:0; width: 100%; }
.hidden_nav > div { position: absolute; width: 100%; left:50%; transform:translateX(-50%); top:0; height:100%; display: none; padding: 100px;   overflow-y: auto;}

.hidden_nav .hidden_gnb { width: 100%; }
.h_gnb { display: flex; height: 100%; width: 100%; }
.h_lm { position: relative; }
.h_gnb .h_lm:last-child {margin-right: 0;}

.h_lm {flex:1; }
.h_lm > a { display: block; width: 100%; font-size:30px; font-weight: bold; color:#000 !important; white-space: nowrap; flex-shrink: 0; margin-bottom: 50px;
padding-bottom: 50px; border-bottom: 1px solid #ddd; position: relative; line-height: 1.1; font-family: "Poppins",'Pretendard', sans-serif;}
.h_lm > a::before {content: ''; display: block; width: 45px; height:5px; background-color: #5956ff; margin: 0 0 20px; border-radius: 2.5px;}
/* .h_lm > a span { white-space: pre-wrap;word-break: break-all; overflow-wrap: break-word; width:10ch; display: block; min-height:66px;} */

.h_snb { position:relative; z-index: 1; }
.h_snb > li { margin-bottom:40px; padding-right: 30px;  }
.h_snb > li:last-child { margin-bottom: 0; }
.h_snb > li > a { font-size:18px; font-weight: 500; position: relative; color:#000; transition: color .3s ease; max-width: 300px; line-height: 1.5;
display: inline; font-family: "Poppins",'Pretendard', sans-serif;}
.h_snb > li > a::after {position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%); content: ''; width: 0px; height: 1px; background-color: #000; -webkit-transition: all 0.4s; -moz-transition: all 0.4s; -o-transition: all 0.4s; -ms-transition: all 0.4s; transition: all 0.4s;}
.h_snb > li > a:hover::after {width:100%;}

.h_snb_3depth {display: none;}
/* .h_snb_3depth > li + li {margin-top:10px; }
.h_snb_3depth > li > a {font-size: 15px; color:rgba(255,255,255,.7); position: relative; padding-left: 10px; }
.h_snb_3depth > li > a::before {content: '-'; display: block; position: absolute; left: 0; top:0; } */

/* hover */
/* @media screen and (min-width: 1025px) {
#header_wrap:hover {background-color: #fff; }
#header_wrap:hover #logo a img  {opacity: 0;}
#header_wrap:hover #logo a img + img {opacity: 1; }

#header_wrap:hover #top_nav .gnb > li > a {color:#000; }
#header_wrap:hover #hd_right {border-left-color: #ddd;}
#header_wrap:hover .menu_slider_btn span {background-color: #000; }

} */



/* @media screen and (max-width: 1600px) {
    #header_wrap .header-inner {padding: 0 30px; }

    #top_nav .gnb > li { margin-right: 50px; }
    #top_nav .gnb > li > a { font-size: 17px; }
    #top_nav .gnb .snb li a {padding:0 10px; font-size: 14px;}
}

@media screen and (max-width: 1300px) {
    #top_nav .gnb > li { margin-right: 30px; }
    #top_nav .gnb > li > a { font-size: 16px; }
    #top_nav .gnb .snb li a {padding:0 10px; font-size: 14px;}
    #top_nav .gnb > li > a:hover::after,
    #top_nav .gnb > li.active > a::after { width:100px; }

    #logo a img {max-height:40px; }
}

@media screen and (max-width: 1024px) {
    #top_nav .gnb { display: none; }
    #hd_right { display: none; }

    #header .header-inner { justify-content: center; padding: 0 20px; }

    #header_wrap,
    #header_wrap.sub { height: 60px; position:fixed; }
    #header {height: 60px;border-bottom-color: #ddd;}

    #logo a img {width: auto; max-height:35px; }

    .scrolled #header_wrap {background-color: #fff; border-bottom-color: #ddd;}
    .scrolled #logo a img {opacity: 0;}
    .scrolled #logo a img + img {opacity: 1;}


} */
