/*헤더 혹은 푸터*/
header {position: fixed; top: 0; left: 0; width: 100%; z-index: 9997; background: rgba(255,255,255,0.5); height: 80px; display: flex; align-items: center;}
header.mobon {background: #fff;}
header .wrap {max-width: 1610px; height: 100%;}
header .flexbox {display: flex; justify-content: space-between; align-items: center; height: 100%;}
header .flexbox .logo2{ display: flex; }
header .gnb {display: flex; height: 100%; align-items: center;}
header .gnb li {margin-right: 50px; font-size: 1.8rem; height: 100%; display: flex; align-items: center; position: relative; font-weight: bold;}
header .gnb li a {position: absolute; top: 0; left: 0; width: 100%; height: 100%;}
header .gnb li:last-child {margin-right: 0;}

header .eng_menu {display: flex;}
header .eng_menu li {display: flex; align-items: center; position: relative;}
header .eng_menu li a {display: flex; align-items: center; justify-content: center;}
header .eng_menu li img {margin-right: 5px;}
header .eng_menu li:nth-of-type(1) {font-size: 1.8rem; margin-right: 20px; font-family: 'Poppins', sans-serif;}
header .eng_menu li:last-child {font-size: 2rem;}

header .eng_menu ._allmenu {cursor: pointer;}

header .gnb_hover_menu {position: absolute; top: 0; left: 0; width: 100%; top: 100%; background: #f1f1f1; display: none;}
header .gnb_hover_menu .wrap {max-width: 1400px; height: auto;}
header .gnb_hover_menu .flexbox {justify-content:flex-start; align-items: flex-start; padding: 40px 0;}
header .gnb_hover_menu .left_banner {margin-right: 120px;}
header .gnb_hover_menu .left_banner ul li:nth-of-type(1) {margin-bottom: 20px;}
header .gnb_hover_menu .right_menu {flex: 1;}
header .gnb_hover_menu .right_menu .dpt1 {display: flex; text-align: center;}
header .gnb_hover_menu .right_menu .dpt1 > li {font-size: 1.8rem; flex: 1;  font-weight: bold; border-right: 1px solid #dbdbdb;}
header .gnb_hover_menu .right_menu .dpt1 > li:first-child {border-left: 1px solid #dbdbdb;}
header .gnb_hover_menu .right_menu .dpt1 > li > a {color: #9c0013;}

header .gnb_hover_menu .right_menu .dpt2 {margin-top: 25px;}
header .gnb_hover_menu .right_menu .dpt2 li {margin-bottom: 25px; font-weight: normal;}
header .gnb_hover_menu .right_menu .dpt2 li a:hover {font-weight: bold;}
header .gnb_hover_menu .right_menu .dpt2 li:last-child {margin-bottom: 0;}

header ._menu {width: 25px; height: 15px; position: absolute; right: 0; top: 50%; display: none; cursor: pointer; transform: translateY(-50%);}
header ._menu span {position: absolute; width: 100%; height: 3px; transform: translateY(-50%); background: #000; transition: .3s;}
header ._menu span:nth-of-type(1) {top: 0;}
header ._menu span:nth-of-type(2) {top: 50%;}
header ._menu span:nth-of-type(3) {top: 100%;}

header ._menu.on {height: auto;}
header ._menu.on span:nth-of-type(1) {transform: rotate(45deg); top: 0;}
header ._menu.on span:nth-of-type(2) {opacity: 0;}
header ._menu.on span:nth-of-type(3) {transform: rotate(-45deg); top: 0;}


header ._fxmenu {position: fixed; bottom:0; left: 300vh; width: 100%; height: calc(100% - 80px); background: #fff; display: flex; transition: .5s;}
header ._fxmenu.on {left: 0;}
header ._fxmenu .ltb {width: 30%; font-size: 2rem; background: #eee; display: flex; flex-direction: column;}
header ._fxmenu .ltb li { padding: 20px 0; text-align: center; font-weight: bold; cursor: pointer; position: relative; display: flex; align-items: center; justify-content: center;}
header ._fxmenu .ltb li a {position: absolute; left: 0; width: 100%; top: 0; height: 100%;}
header ._fxmenu .ltb li.active {background: #930011; color: #fff;}
header ._fxmenu .box {width: 70%;}
header ._fxmenu .rtb {font-size: 1.8rem; box-sizing: border-box; padding: 20px; display: none;}
header ._fxmenu ._1st {display: block;}
header ._fxmenu .rtb li:first-child a {padding-top: 0;}
header ._fxmenu .rtb li a {padding: 10px 0; display: block; border-bottom: 1px solid #666666; color: #666666;}


/*동작*/
header.slidedown {background: #fff;}


@media screen and (max-width:1570px) {
    header .flexbox {justify-content: flex-start;}
    header .logo {margin-right: 15px;}
    header .gnb {display: none;}
    header .eng_menu {display: none;}
    header ._menu {display: block;}
    
}

@media screen and (max-width:800px){
    header {height: 60px; border-bottom: 1px solid #e9e9e9;}
    header .flexbox {width: 80%;}
    header .logo,
    header .flexbox .logo2 {flex: 1;}
    header ._fxmenu {height: calc(100% - 60px);}
}



/**/
footer {background: #282828; padding-top: 70px;}

footer .ft_gnb {display: flex; color: #fff; border-bottom: 1px solid #3e3e3e; padding-bottom: 80px; margin-bottom: 40px;}
footer .ft_gnb > li {flex: 1; font-size: 2rem;}
footer .ft_gnb .dpt2 {margin-top: 40px;}
footer .ft_gnb .dpt2 li {margin-bottom: 15px; font-size: 1.8rem;}
footer .ft_gnb .dpt2 li:last-child {margin-bottom: 0;}
footer .ft_gnb .dpt2 a {color: #888;}
footer .address {padding-bottom: 35px; text-align: center; margin-top: 25px;}
footer .address .ft_logo {margin-bottom: 20px;}
footer .address .copy {font-size: 1.5rem; color: #666666;}
footer .address .copy span {display: block; color: #aaa;}

@media screen and (max-width:1168px){
    footer .ft_gnb {display: none;}
    footer .address .ft_logo {padding: 0 20%;}
}

/*전체메뉴*/

#allmenu {position: fixed; top: -200vh; left: 0; width: 100%; height: 100%; z-index: 9999;background: #fff; opacity: 0; transition-duration: .5s;}
#allmenu.on {top: 0; opacity: 1;}
#allmenu .top {display: flex; justify-content: space-between; align-items: center; height: 120px;}
#allmenu .top .logos {display: flex;}
#allmenu .top .close {font-size: 36px; cursor:pointer;}

#allmenu .flexbox {justify-content:flex-start; align-items: flex-start; padding: 40px 0; height: 80%;}
#allmenu .left_banner {margin-right: 120px;}
#allmenu .left_banner ul li:nth-of-type(1) {margin-bottom: 20px;}
#allmenu .right_menu {flex: 1; height: 100%;}
#allmenu .right_menu .dpt1 {display: flex; text-align: center; height: 80%;}
#allmenu .right_menu .dpt1 > li {font-size: 1.8rem; flex: 1;  font-weight: bold; border-right: 1px solid #dbdbdb;}
#allmenu .right_menu .dpt1 > li:first-child {border-left: 1px solid #dbdbdb;}
#allmenu .right_menu .dpt1 > li > a {color: #9c0013;}

#allmenu .right_menu .dpt2 {margin-top: 25px;}
#allmenu .right_menu .dpt2 li {margin-bottom: 25px; font-weight: normal;}
#allmenu .right_menu .dpt2 li a:hover {font-weight: bold;}
#allmenu .right_menu .dpt2 li:last-child {margin-bottom: 0;}