@charset "utf-8";

/* layout.css는 전체적인 레이아웃 스타일을 정의합니다. */

#wrapper {position:relative; overflow:hidden; background:#f2f2f2;}

#skipToContent a {z-index:100000;position:absolute;top:0;left:0;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
#skipToContent a:focus, 
#skipToContent a:active {width:200px;height:50px;background:#21272e;color:#fff;font-size:14px;font-weight:bold;text-align:center;text-decoration:none;line-height:50px}

/* header */
#header {position:relative; top:0; left:0; width:100%; z-index:90; letter-spacing:-.04em;}
#header:after {content:''; width:100%; height:100%; position:absolute; top:0; left:0; box-shadow:0 5px 7px rgba(107,107,107,0.2); z-index:-1;}
#header .contain {max-width:1750px !important;}
#header .sitelogo a {display:block; position:absolute; top:50%; margin-top:-34px; left:15px; z-index:10;}

.header-top {background:#313842; height:40px;}
.header-top p {font-size:16px; color:#fff; line-height:40px; letter-spacing:-.03em;}
.header-bg {background:#f2f2f2; position:relative; z-index:1;}

#gnb {position:relative;}
#gnb>ul {display:flex; justify-content:center;} 
#gnb>ul>li {position:relative; text-align:center; padding:0 30px;}
#gnb>ul>li>a {position:relative; display:inline-block; color:#242424; font-size:20px; line-height:100px; font-weight:700; padding:0 20px;}

#gnb>ul>li.active>a:before {content:""; width:100%; height:40px; border-radius:20px; background-color:#313842; position:absolute; left:0; top:50%; margin-top:-20px; z-index:-1; display:none;}
#gnb>ul>li.active>a:after {content:''; width:26px; height:13px; background:url('../images/common/gnb-arrow.png') 0 0 no-repeat; background-size:cover; position:absolute; left:50%; margin-left:-13px; bottom:0; display:none;}

#gnb>ul>li:nth-child(2).active>a {color:#fff;}
#gnb>ul>li:last-child.active>a {color:#fff;}

#gnb>ul>li:nth-child(2).active>a:before {display:block;}
#gnb>ul>li:last-child.active>a:before {display:block;}

#gnb>ul>li:nth-child(2).active>a:after {display:block;}
#gnb>ul>li:last-child.active>a:after {display:block;}


#gnb .submenu {position:absolute; top:100px; left:0; width:100%; display:none; z-index:20;}
#gnb .submenu ul {display:flex; margin:0; position:absolute; top:0; left:42px;}
#gnb .submenu ul li {padding:0 22px;}
#gnb .submenu ul li a {display:inline-block; color:#ffffff; font-size:16px; line-height:50px; position:relative; white-space:nowrap;}
#gnb .submenu ul li a:hover:after {content:''; width:100%; height:1px; background:#fff; position:absolute; bottom:12px; left:0;}

.submenu-bg {background-color:#313842; position:absolute; width:100%;}

.head-search {position:absolute; top:50%; transform:translateY(-50%); right:15px; width:350px;}
.head-search input {width:100%; line-height:49px; border:1px solid #8b8f94; border-radius:26px; padding:0 22px; background:#f8f8f8;}
.head-search button {position:absolute; top:50%; margin-top:-12px; right:22px; border:0; font-size:0; background:transparent url('../images/common/search.png') 0 0 no-repeat; background-size:cover; width:23px; height:23px; z-index:11;}

.contain {position:relative; max-width:1230px; padding-left:15px; padding-right:15px; margin:0 auto; height:inherit; letter-spacing:-.03em;}
.container {padding:100px 0;}
/* main */ 
.main-list {position:relative; overflow:hidden;}
.main-list ul {display:flex; flex-wrap:wrap; align-items:flex-end; margin:0 -20px;}
.main-list ul li {padding:0 20px; width:20%; border-bottom:2px solid #313842; margin-bottom:100px;}
.main-list ul li a {display:block; padding-top:30px;}
.main-list ul li a:hover {padding-top:0; padding-bottom:30px;}
.main-list ul li a:hover .img-box {box-shadow:0 10px 7px rgba(0,0,0,0.2); transition:all 0.4s;}
.main-list .btn a {display:block; margin:0 auto; width:62px; height:62px; border-radius:50%; background-repeat:no-repeat; background-size:cover; background-image:url('../images/main/main-more-off.png'); transition:all 0.4s;}
.main-list .btn a:hover {background-image:url('../images/main/main-more-on.png');}
/* quick */
.quick {position:fixed; right:26px; bottom:270px; z-index:100;}
.quick ul li {margin-bottom:10px;}
.quick ul li:last-child {margin-bottom:0;}
.quick ul li a {display:block; width:54px; height:54px; border-radius:50%;}

/* footer */
#footer {padding:36px 0;}
#footer .contain {max-width:1750px !important;}
#footer address {font-style:normal;}
.foot-group {display:flex; justify-content:space-between;}
.foot-logo {margin-bottom:30px;}
.foot-info .tit ul {display:flex; justify-content:space-between;}
.foot-info p {font-size:15px; line-height:1.8em; color:#313842;}
.foot-info p.copy a {font-size:13px; line-height:2em; color:#b8b8b8; display:inline-block; margin-left:5px;}
.foot-pop h4 {font-size:18px; line-height:1.4em; color:#313842; margin-bottom:46px; text-align:right;}
.foot-pop ul {display:flex; margin:0 -16px;}
.foot-pop ul li {padding:0 16px; position:relative;}
.foot-pop ul li:after {content:''; width:1px; height:16px; background:#ddd; position:absolute; top:50%; margin-top:-8px; right:0;}
.foot-pop ul li:last-child:after {display:none;}
.foot-pop ul li a {display:block; font-size:14px; line-height:1.8em; color:#313842;}
/* search.php */
.result-box {background:#dcdddf; padding:30px; margin-bottom:36px; border-radius:10px;}
.result-box .wrap {max-width:700px; display:flex; margin:0 auto;}
.result-box .wrap input {width:1%; flex:1 1 auto; margin-right:10px; background:#fff; padding:0 10px; border-radius:5px; height:44px; border:0;}
.result-box .wrap button {width:120px; line-height:44px; color:#fff; border:0; font-size:16px; font-weight:500; text-align:center; background:#313842; border-radius:5px;}

.result-cnt {padding:25px 0 0 0; border-top:1px solid #b7b7b7; position:relative; overflow:hidden;}
.result-cnt ul {display:flex; flex-wrap:wrap; align-items:flex-end; margin:0 -20px;}
.result-cnt ul li {padding:0 20px; width:20%; border-bottom:2px solid #313842; margin-bottom:100px;}
.result-cnt ul li a {display:block;}

/* for mobile */
.only-mobile {display:none;}
.btn-m-menu {display:none; position:absolute; top:29px; right:15px; width:30px; height:22px;  text-align:center; text-indent:-9999em; z-index:220; transition:all 0.5s ease-in-out;}
.btn-m-menu span {position:absolute; right:0; top:50%; margin-top:-1px; height:2px; width:23px;background:#242424;}
.btn-m-menu span:before,
.btn-m-menu span:after {content:" "; position:absolute; right:0; width:30px; height:2px; background:#242424; transition-duration:0.3s, 0.3s; transition-delay:0.3s, 0s;}
.btn-m-menu span:before {top:-10px; transition-property:top, transform;}
.btn-m-menu span:after {bottom:-10px; transition-property:bottom, transform;}


.mobile-navigation {position:fixed; top:0; right:0; padding:150px 0 0; width:400px; height:100%; overflow:auto; transition:.3s ease-in-out; -ms-transform:translateX(100%); transform:translateX(100%); background:#313842; z-index:202;}

.mobile-navigation .logo {margin-bottom:20px; padding-left:15px;}
.mobile-navigation .logo img {height:23px;}

.mobile-navigation .nav-menu>ul>li>a {position:relative; padding:14px 40px; display:block; color:#fff; font-size:20px; font-weight:500; line-height:1.3em;}
.mobile-navigation .nav-menu>ul>li>a:after {content:""; position:absolute; top:50%; right:40px; transform:translateY(-75%) rotate(45deg); width:10px; height:10px; border-right:2px solid #fff; border-bottom:2px solid #fff; display:none;}
.mobile-navigation .nav-menu>ul>li:nth-child(2)>a:after {display:block;}
.mobile-navigation .nav-menu>ul>li:nth-child(5)>a:after {display:block;}

.mobile-navigation .nav-menu>ul>li.active>a {color:#fff}
.mobile-navigation .nav-menu>ul>li.active>a:after {transform:translateY(-35%) rotate(-135deg); border-color:#fff;}
.mobile-navigation .nav-menu .submenu {display:none; margin:-1px 0 0 0; padding:0 15px 15px;}
.mobile-navigation .nav-menu .submenu>ul:after {content:"";display:block;clear:both;}
.mobile-navigation .nav-menu .submenu>ul>li>a {display:block; position:relative; padding:10px 40px; color:#fff; font-size:18px; font-weight:400; line-height:1.3em;}
.mobile-navigation .nav-menu .submenu>ul>li>a:after {display:block; content:"";position:absolute; top:20px; left:30px; width:4px; height:4px; background:#fff; border-radius:50%; transition:.3s ease-in-out;}
.mobile-navigation .nav-menu .submenu>ul>li>a:hover{color:#fff}
.mobile-overlay {display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:#000; opacity:0.6; z-index:201;}

html.menu-opened {overflow:hidden;}
html.menu-opened .mobile-navigation {-ms-transform:translateX(0); transform:translateX(0); }
html.menu-opened .mobile-overlay {display:block;}
html.menu-opened .btn-m-menu {top:20px; right:15px;}
html.menu-opened .btn-m-menu span {width:83px; height:92px; background-color:transparent; background-repeat:no-repeat; background-size:cover; background-image:url('../images/common/close-btn.png'); cursor:pointer; position:absolute; top:15px; right:15px;}
html.menu-opened .btn-m-menu span:before,
html.menu-opened .btn-m-menu span:after {display:none;}



/* site map */
.all-btn-menu {display:block; position:absolute; top:50%; margin-top:-14px; right:-40px; width:27px; height:26px;  text-align:center; text-indent:-9999em; z-index:120; transition:all 0.5s ease-in-out;}
.all-btn-menu span {position:absolute; left:0; top:50%; margin-top:0; height:2px; width:17px;background:#313842;}
.all-btn-menu span:before {content:" "; position:absolute; left:0; width:27px; height:2px; background:#313842; transition-duration:0.3s, 0.3s; transition-delay:0.3s, 0s;}
.all-btn-menu span:after {content:" "; position:absolute; left:0; width:27px; height:2px; background:#313842; transition-duration:0.3s, 0.3s; transition-delay:0.3s, 0s;}
.all-btn-menu span:before {top:-11px; transition-property:top, transform;}
.all-btn-menu span:after {bottom:-11px; transition-property:bottom, transform;}

.allmenu-wrap {position:absolute; top:0; right:-380px; z-index:110; width:380px; height:100vh; padding-top:100px; transition: all 0.3s ease-in-out; background:#fff; background-repeat:no-repeat; background-size:cover;}
.allmenu-wrap .all-btn-menu {top:50px; right:36px;}
.allmenu-wrap .menu>ul {display:flex; flex-direction:column;}
.allmenu-wrap .menu>ul>li {width:100%; padding-left:80px; margin-bottom:30px;}
.allmenu-wrap .menu>ul>li>a {font-size:26px; line-height:1.5em; font-weight:500; color:#242424; display:block; position:relative;}
.allmenu-wrap .menu>ul>li:last-child>a:before {content:""; width:2px; height:16px; background:#dfdfdf; position:absolute; top:50%; transform:translateY(-50%); right:87px; position:absolute;}
.allmenu-wrap .menu>ul>li:last-child>a:after {content:""; width:16px; height:2px; background:#dfdfdf; position:absolute; top:50%; transform:translateY(-50%); right:80px; position:absolute;}

.allmenu-wrap .menu>ul>li.active>a {color:#313842}
.allmenu-wrap .menu>ul>li.active>a:before {background:#313842;}
.allmenu-wrap .menu>ul>li.active>a:after {background:#313842;}

.allmenu-wrap .submenu {display:none; margin-top:20px;}
.allmenu-wrap .submenu>ul>li>a {display:block; position:relative; color:#878787; font-size:18px; font-weight:500; line-height:1.8em;}
.allmenu-wrap .submenu>ul>li>a:hover {color:#313842; padding-left:10px;}
.allmenu-wrap .submenu>ul>li>a:hover:before {content:''; width:6px; height:1px; background:#313842; position:absolute; top:50%; left:0;}


html.allmenu-opened .allmenu-wrap {position:fixed; top:0; right:0;}
html.allmenu-opened #gnb>ul>li:hover>a {color:#454545}
html.allmenu-opened #gnb .submenu {display:none !important;}
html.allmenu-opened #gnb .submenu ul li:hover a:after {display:none;}
html.allmenu-opened .all-btn-menu span {background:none !important;}
html.allmenu-opened .all-btn-menu span:before {transition-delay:0s, 0.3s; background:#313842; height:2px;}
html.allmenu-opened .all-btn-menu span:after {transition-delay:0s, 0.3s; background:#313842; height:2px;}
html.allmenu-opened .all-btn-menu span:before {top:-1px; transform:rotate(45deg);}
html.allmenu-opened .all-btn-menu span:after {bottom:0; transform:rotate(-45deg);}
html.allmenu-opened #header .sitelogo a {background-image:url('../images/common/logo-w.png');}
html.allmenu-opened .submenu-bg {display:none !important;}
html.allmenu-opened .overlay {display:block;}
.overlay {display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.32); z-index:101;}