/* header */
#header {position: absolute; left: 0; top: 0; width: 100%; background: #fff; z-index: 10; transition: .3s;}
#header .header-inner {max-width: 1700px; height: 100px; margin:0 auto; display: flex; justify-content: space-between; position: relative; z-index: 10; align-items: center;}
#header h1 a {display: block;}
#header h1 a::before {content: ''; display: inline-block; width: 191px; height: 72px; background: url("../img/logo.png") no-repeat center; vertical-align: top;}
#nav {position: relative; display: flex; align-items: center; height: 100%;}
#nav .gnb {display: flex; height: 100%;}
#nav .gnb > li {position: relative; text-align: center; margin-right: 63px;}
#nav .gnb > li > a {font-size: 20px; color: #494e66; height: 100%; display: flex; align-items: center; transition: color .3s;}
#nav .gnb > li > a::after {content: ''; position: absolute; bottom: -1px; left: 50%; transform: translateX(-50%); width: 0; height: 3px; background-color: #4a65f6; transition: .3s;}
/* #nav .gnb > li > a.active::after {width: 120px; background-color: #4a65f6;} */

/*child_menu*/
#nav .gnb .lnb {position: absolute; left: 0; top: 100%; width: 100%; justify-content: center; display: none;}
#nav .gnb .lnb li a {display: flex; align-items: center; white-space: nowrap; font-size: 16px; font-weight: 300; line-height: 70px; color: #000; transition: .3s;}
#nav .gnb .lnb li + li a {padding-left: 68px;}
#nav .gnb .lnb li:hover a {color: #4a65f6;}
/* #nav .gnb .lnb li a.active {color: #4a65f6;} */

.lnb-bg {position: absolute; left: 0; top: 100%; width:100%; height: 70px; background: #fff; border-top: 1px solid #ddd; z-index: -1; display: none;}

/* hidden-nav */
.toggle-btn {display: block; cursor: pointer; position: relative;}
.toggle-btn span {display: block; background: #000; width: 23px; height: 2px; transition: 250ms;}
.toggle-btn span:nth-child(2) {margin: 5px 0;}
.close-btn {position: absolute; right: 50px; top: 60px; cursor: pointer;}
.close-btn span {display: block; background: #4a65f6; width: 32px; height: 2px; border-radius: 3px; transition: 250ms;}
.close-btn span:nth-child(1) {margin-top: 0; margin-bottom: -0; transform: rotate(45deg);}
.close-btn span:nth-child(2) {transform: rotate(45deg); display: none;}
.close-btn span:nth-child(3) {margin-top: -2px; transform: rotate(135deg);}

.hidden-nav-box {position: fixed; left: 0; top: 0; width :100%; height: 100%; background: rgba(0, 0, 0, .7); z-index: 20; display: none;}
.hidden-nav {position: fixed; right: -640px; top: 0; width: 520px; height: 100vh; background: #fbfbfb; text-align: left; padding: 160px 70px 70px 70px; z-index: 30;}
.hidden-nav .hidden_gnb {width: 100%;}
.hidden-gnb > li {position: relative; margin-bottom:50px;}
.hidden-gnb > li > a {position: relative; display: block; max-width:240px; font-family: 'NanumSquareBold'; font-size: 26px; color: rgba(0, 0, 0, .5) !important; transition: .3s;}
.hidden-gnb > li > a:hover, .hidden-gnb > li > a.active {color: rgba(0, 0, 0, 1) !important;}
.h-lnb {position: absolute; left: 230px; top: 4px; z-index: 2; display: none;}
.h-lnb li {margin-bottom: 25px;}
.h-lnb li a {font-family: 'NanumSquare',sans-serif; font-size: 18px; font-weight: 400; color: #707070; border-bottom: 2px solid transparent; padding: 2px 0; white-space: nowrap; transition: .3s;}
.h-lnb li a:hover {padding: 2px 15px; color: #4a65f6; border-bottom: 2px solid #4a65f6;}

/* hover */
#nav .gnb > li > a:hover {color: #4a65f6;}
#nav .gnb > li > a:hover::after {width: 120px;}
