#header {position: fixed; top:0;left:0;width: 100%;border-bottom: 0;z-index: 9998; background-color: #fff;}
 
#header .container{display:flex;align-items: center; max-width: 1720px; padding: 0 1rem; margin: auto;}
#header .logo {width:15%}
#header .logo .logoImg {width:170px;}
#header .logo a{display: inline-block;}
#header #menu{width:70%;/* margin:0 20px; */}
#header #menu .menu{width: calc(100% / 6);position: relative;top:0;display: block!important;}
#header #menu .depth01{padding:25px 0;display:block;color:#222;text-align: center;}
#header #menu .depth02{display:none;position:absolute;top:100%;left:-40%;width:100%;}

#header .depth02 span {position: relative; padding: .9375rem 0; display: inline-block;}
#header .depth02 span:hover:after {content:''; width: 4px; height: 4px; border-radius: 50%; background-color: var(--pointcolor); position: absolute; left: -1rem; top:0; bottom:0; margin: auto;}



/* .nav_btn{display: none; width: 30px;height: 20px;position: fixed;top: 0; right: 2%;transition: .1s;cursor: pointer;z-index:10000;} */
.M_login.login {display: none;}
.login{width:auto; display: flex; gap:.5rem; margin-left: auto;}

.nav_btn {position: fixed; transition: .3s ease-in-out; width: 2.5rem; height: 1.5rem; display: none; top: 1.5rem; right: 2.5rem; z-index: 10000;}

.nav_btn span {position: absolute; height: .25rem; width: 100%; background-color: #222; top: 0; transition: transform .2s ease-in-out, opacity .2s ease-in-out;}

.nav_btn span:nth-child(1) {top: 5px;}
.nav_btn span:nth-child(2),.nav_btn span:nth-child(3) {top: 13px;}
.nav_btn span:nth-child(4) {top: 21px;}

.nav_btn.active span {background-color: #222;}

.nav_btn.active span:nth-child(1), .nav_btn.active span:nth-child(4) {opacity: 0;}
.nav_btn.active span:nth-child(2) {transform: rotate(45deg);}
.nav_btn.active span:nth-child(3) {transform: rotate(-45deg);}



#header{transition: .3s all ease;}

/* board */
#header.board {position: fixed;top: -1px;left: 0;width: 100%;z-index: 9998;background: rgba(255,255,255,0.95);box-shadow: 0 0 7px rgb(0 0 0 / 10%);}
#header.board .logo .logoImg {filter: invert(0) brightness(1);}
#header.board #menu .depth01, #header.board .login li a {color:#3f3f3e;}
#header.board .login li:first-child:after {background-color: #747474;}


/* sticky */
#header.sticky {position: fixed;top: -1px;left: 0;width: 100%;z-index: 9998;background: rgba(255,255,255,0.95);box-shadow: 0 0 7px rgb(0 0 0 / 10%);}


#header #menu .depth01.on {color:var(--pointcolor); font-weight: 700;}
#header #menu .depth01.on {position: relative;}
#header #menu .depth01:after {content:''; width:0; height: 2px; background-color: var(--pointcolor); position: absolute; left: 50%; transform: translateX(-50%); bottom:0; transition: width .3s; }
#header #menu .depth01.on:after {width: 100%;}


@media (min-width:1100px){
    .dropdown-menu {position: absolute;width:100%}
    .dropdown{position:relative;top:0;left:0}

    #header .container{position: relative;top:0;left:0;}
    #header .dropdown-menu {visibility: hidden;opacity: 0;display: block!important;transition: all .3s ease}
    #header #menu .depth01{transition: all .5s ease; font-size: 1.25rem;}
    #header .dropdown-menu.visible{visibility: visible;opacity: 1;} 

    #header .header .navi-bg {transition: All .5s ease; width: 100%; position: absolute; top: 100%; left: 0; right: 0; background-color: #fff; opacity: 0;visibility: hidden;height:0;display: block;border-top: 1px solid rgba(0,0,0,0.1);border-bottom: 1px solid rgba(0,0,0,0.1);width: 100%!important;z-index: 1;}
    #header .header .navi-bg.visible{opacity: 1; visibility: visible; height: 30rem;}
    
    #header .logo{/* width: 210px; */display:flex;align-items: center;}
    #header #menu{width: calc(100% - 540px); margin-left: auto;}
    #header #menu #lnb .depth02 {position: absolute; z-index: 999; top: 100%; width: 100%; left: 0; padding: 1em 0; height: 30rem;}
    #header #menu #lnb li:last-child ul {border-right: none;}
    /* #header #menu #lnb .depth02:after {content:''; width: 100%; height: 3px; background-color: var(--subcolor); position: absolute; top:0; left:0; right:0; margin: auto;} */
    #header #menu .depth02{width: 15.625rem;}
    #header .depth02 a {display:inline-block;position:relative;top:0;left:0; color:#110e12; font-size: 1.125rem; width: 100%; text-align: center; font-weight: 300;}
    #header .depth02 a:hover {font-weight: 700; color:var(--pointcolor)}
    /* #header .depth02 span {position: relative; padding: .9375rem 0; display: inline-block;}
    #header .depth02 span:hover:after {content:''; width: .25rem; height: .25rem; border-radius: 50%; background-color: var(--pointcolor); position: absolute; left: -1rem; top:0; bottom:0; margin: auto;}
 */


    /* #header .login li{padding: 0 20px; position: relative; border-radius: 18px; border:1px solid var(--pointcolor)} */

    #header .login li a{padding:5px 20px;text-align: center; display: block;color: var(--pointcolor); letter-spacing: 0;border-radius: 18px; border:1px solid var(--pointcolor)}
    #header .login li:last-child a {background-color: var(--pointcolor); color:#fff;}



    /* #header .header .nav_line {width: 37px;left: 22.5px;}
    #header .header .nav_line {height: 2px; background: var(--subcolor); position: absolute; bottom: 0; left: 37px; opacity: 0;transition: transform 0.6s cubic-bezier(0.36, 0, 0.66, -0.56), width 0.3s ease, height 0.5s ease, top 0.5s ease;} */
    

    #header .nav-menu .login {display: none;}


}

@media (max-width:1580px){
    #header .container{width: 100%;padding: 0 15px}
    #header #menu{width: calc(100% - 300px);margin: 0;}
}
@media (max-width: 1100px) {
    /* #header.sticky {height: 75px;} */
    #sitemap{display: none!important;}
    #header .container{width: 86%;padding: 0;}
    html.open-menu {overflow: hidden;}
    .nav_btn{display: inline-block;}
    .dropdown-menu{height:auto;width:100%!important}
    #header .nav-menu{padding:0;width: 100%;height:100%;overflow: scroll;position: fixed;right: 0;top:-100%;bottom: 0;background-color: var(--pointcolor);z-index: 9997;letter-spacing: 0px;transition-timing-function: ease-in-out;
        -ms-transition-timing-function: ease-in-out;
        -moz-transition-timing-function: ease-in-out;
        -webkit-transition-timing-function: ease-in-out;
        -o-transition-timing-function: ease-in-out;
        transition-duration: .2s;
        -ms-transition-duration: .2s;
        -moz-transition-duration: .2s;
        -webkit-transition-duration: .2s;
        -o-transition-duration: .2s;padding: 50px 0 0 0; 
    }
    #header .nav-menu.on::before {display: block;content: ''; width: 90%; height: 70px; z-index: 3; position: fixed;top: 0;left: 0; right:0; margin: auto; border-bottom:1px solid rgba(255,255,255,.25);}
    #header .nav-menu.on::after {display: block;content: ''; width: 100%; height: 70px; background: #fff; position: fixed;top: 0;left: 0; right:0; margin: auto;}
    #header .nav-menu.on {top: 0;} 
    #header #menu #lnb .menu {width: 100%!important;text-align: left; position: relative;}

    #header #menu #lnb .menu.active .depth01 span {position: relative;}
    #header #menu #lnb .menu.active .depth01 span:after {content:''; width: 5px; height: 5px; border-radius: 50%; background-color: var(--pointcolor); position: absolute; left: -5px; top:-5px; }

    #header #menu #lnb .depth01 {padding: 20px 7%;font-size: 2.5rem; text-align: left; color: #fff;}


    #header #menu #lnb .menu.active .depth01{font-weight: 700; position: relative;}
    #header #menu #lnb .menu .depth01:after {content:''; width: 1.375rem; height: 1.375rem; border-right: 2px solid #fff; border-bottom: 2px solid #fff; position: absolute; top:0; bottom:0; margin: auto; right: 5%; left: auto; transform: rotate(45deg); transition: .3s;}
    #header #menu #lnb .menu.active .depth01:after {transform: rotate(225deg); transition: .3s;}

    #header #menu #lnb .menu.active .depth02 a:hover {color:#fff; font-weight: 700;}
    #header #menu #lnb .depth02 {left: 0;transform: translateX(0);position: relative;top: 0;padding: 0 0 20px 30px;}
    #header #menu #lnb .depth02 a{padding: 0 7%;color: rgba(255,255,255,.5);display: block; font-size: 2rem;}
    #header .depth02 span:hover:after {background-color: #fff;}
    #header #menu #lnb .depth02 a.void_link span {transform: rotate(90deg);transition: .5s all ease;}
    #header #menu #lnb .depth02 a.void_link {display: flex;justify-content: space-between;}

    #header #menu #lnb .depth02 > li.active a span{transform: rotate(270deg);}

    #header #menu #lnb {position: relative; padding-top: 3rem;}
    /* #header #menu #lnb:after {display: block;content: '';clear: both;width: 90%; position: absolute; bottom: 0;left: 0; right:0; margin: auto; border-bottom:1px solid rgba(255,255,255,.25);} */

 
    #header .menu-btn {display: block;width: 25px;height: 15px;top:0; bottom:0; margin:auto; right: 5%;position: absolute; z-index: 9999;cursor: pointer;-webkit-transition: top 300ms;transition: top 300ms;}
    #header .menu-btn span {opacity: 1;-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";right: 0;display: block;width: 100%;height: 1px;border-radius: 10px;background-color: #000;position: absolute;-webkit-transform: rotate(0deg);transform: rotate(0deg);-webkit-transition: .4s ease-in-out;transition: .4s ease-in-out;}
    #header .menu-btn .btn_line01 {top: 0;}
    #header .menu-btn .btn_line02 {top: 7px;}
    #header .menu-btn .btn_line03 {bottom: 0;}

    #header .menu-btn.on {position: fixed;top: 20px;right: 5%;bottom: auto;height:35px;width:35px}
    #header .menu-btn.on span:nth-child(1) {top: 17px;-webkit-transform: rotate(135deg);transform: rotate(135deg);}
    #header .menu-btn.on span:nth-child(2) {opacity: 0;-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";right: -60px;}
    #header .menu-btn.on span:nth-child(3) {top: 17px;-webkit-transform: rotate(-135deg);transform: rotate(-135deg);}


    #header .logo{padding: 15px 0 10px;width: auto; width: fit-content; height: fit-content; z-index: 9999; width: 140px;}
    #header.mOpen .logo{position: fixed;top: 0;/* left:5%; */z-index: 9999;} 

    .M_login.login.on {display:block; position: fixed; z-index: 10000; right: 7rem; top:2rem;}
    .M_login.login a {font-size: 1.5rem; color:#fff; background-color: var(--pointcolor); padding: .5rem 1.7rem; border-radius: 1.5rem;}

    #header .login{display: none;}
    #header #menu .login {display: flex;width: 100%;padding: 0 7%; margin: 2rem 0;}
    #header .login li{padding-right: 10px;width: auto; position: relative;}
    #header .login li a{padding:8px 25px 8px 0; font-size: 1.8rem; font-family: var(--pointfont); display: block;color: var(--pointcolor);}
}



/* quick */
#quickRight {position:fixed; width: 5.625rem; bottom:9.5rem;right:2rem;margin:auto;z-index:90; background-image: linear-gradient(0deg, #6374ac, #3a4c8d); padding: 2.2rem 1rem; border-radius: 45px; transition: all 0.2s ease-in-out;-webkit-transition: all 0.2s ease-in-out;}
#quickRight .link_wrap {display: flex; flex-direction: column; gap:.3rem; text-align: center; font-size: .9375em;}
#quickRight .link_wrap a {color:#fff; padding: 7px 0;}
#quickRight .link_wrap a img {width: 1.75rem;}


.topBtn {position: fixed; z-index:90; bottom:3rem; right:2rem; width: 5.625rem; height: 5.625rem; border-radius: 50%; background-image: linear-gradient(0deg, #1e2b54, #27386f);}
.topBtn img {width: 1.5rem;}

@media(max-width: 990px) {
    #quickRight {bottom:0; left: 0; width: 100%; border-radius: 0; padding: 0;}
    #quickRight .link_wrap {flex-direction: row; justify-content: space-between; gap: 0; font-size: 14.5px;}
    #quickRight .link_wrap a {flex: 1; align-self: center; padding:10px 0 5px;}
    #quickRight .link_wrap a img {width: 1.8rem;}
    .topBtn {bottom:9rem; right: 1rem;}
}

