@charset "utf-8";
/* layout.css는 전체적인 스타일 정의 */

/* font-family: "Cormorant Upright", serif; */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Upright:wght@300;400;500;600;700&display=swap');

#wrapper {position:relative; overflow:hidden;}

.contain {position:relative; padding-left:15px; padding-right:15px; margin:0 auto; height:inherit;}
.container {position:relative;padding: 0 15px; width: 100%; margin: 0 auto;}
#header .container {max-width:1630px !important;}
#footer .container {max-width:1630px !important;}
#main .container {max-width:1470px;}
#sub .container {max-width:1470px;}
#sub .contain {max-width:1430px;}

/* header */ 
#header {position: fixed; top: 0; left: 0; width: 100%; z-index: 100; height: 266px; transition: all .3s linear;}
#header .container .logo {position: absolute; top: 100px; left: 95px; transition: all .3s linear;}
#header .container .logo a {display: block; transition: all .5s linear;}
#header .container .logo a img {max-width: 100%; display: block; margin: 0 auto; transition: all .5s linear;}

#header .container #gnb {width: 100%; padding-left: 795px;}
#header .container #gnb > ul {font-size: 0; display: flex; width: 100%;}
#header .container #gnb > ul > li {position: relative; text-align: center; padding-top: 140px; transition: all .3s linear;}
#header .container #gnb > ul > li > a {position: relative; display: block; width: 212px; font-size: 25px; color: #835a4f; font-weight: 600; height: 126px; overflow: hidden; font-family: 'edensor'; padding-top: 60px; z-index: 2;}
#header .container #gnb > ul > li > a::after {position: absolute; content: ''; width: 0; height: 1px; bottom: 20px; left: 50%; transform: translateX(-50%); transition: all .2s linear; background-color: #fff;}
#header .container #gnb ul li:nth-of-type(2).active a {color: #fff; font-weight: 400;}
#header .container #gnb ul li:nth-of-type(2).active > a::after {width: 35px;}
#header .container #gnb ul li > .submenu {position: absolute; top: 140px; left: 50%; width: 100%; height: auto; text-align: center; visibility: hidden; transform: translateX(-50%);}
#header .container #gnb ul li > .submenu > ul {position: relative; top: -0px; opacity: 0; width: 100%; height: auto; background-color: #835a4f; transition: all .3s linear; overflow: hidden; padding: 135px 0 55px; border-radius: 20px;}
#header .container #gnb ul li > .submenu > ul > li ~ li {padding-top: 25px;}
#header .container #gnb ul li > .submenu > ul > li > a {display: inline-block; font-size: 19px; color: #fff; font-weight: 400; transition: all .2s linear; position: relative; font-family: "Cormorant Upright", serif; line-height: 1;}
#header .container #gnb ul li > .submenu > ul > li > a > i {font-style: normal; font-family: 'Pretendard', sans-serif;}
#header .container #gnb ul li > .submenu > ul > li > a::after {position: absolute; content: ''; width: 0%; height: 1px; background-color: #fff; bottom: -1px; left: 50%; transition: all .2s linear; transform: translateX(-50%);}
#header .container #gnb ul li.active > .submenu {visibility: visible;}
#header .container #gnb ul li.active > .submenu > ul {top: 0; opacity: 1;}
#header .container #gnb ul li.active .submenu > ul > li a:hover::after {width: 100%;}

#header .head-util {position: absolute; top: 190px; right: 15px; transition: all .3s linear; display: flex; gap: 48px; align-items: center;}
#header .head-util .btn-nav {width: 85px; height: 40px; display: block; transition: all .2s linear;}
#header .head-util .btn-nav > span {display: block; width: 100%; height: 6px; background-color: #835a4f; transition: all .15s linear; border-radius: 10px; margin-left: auto;}
#header .head-util .btn-nav > span ~ span {margin-top: 11px;}
#header .head-util .btn-nav > span:nth-of-type(1) {width: 72px;}
#header .head-util .btn-nav > span:nth-of-type(3) {width: 58px;}
#header .head-util .btn-nav:hover > span {width: 100%;}


#sub #header {height: 218px; box-shadow: none;}
#sub #header::after {position: absolute; content: ''; width: 100%; height: 1px; background-color: #835a4f; bottom: 0; left: 0; transition: all .2s linear; z-index: -1;}
#sub #header .container .logo {top: 70px;}
#sub #header .container .logo a {max-width: 360px; transition: all .3s linear;}
#sub #header .container .logo a img {transition: all .3s linear;}
#sub #header .container #gnb > ul > li {padding-top: 70px;}
#sub #header .container #gnb > ul > li > a {font-weight: 400; height: auto; line-height: 1; padding:34px 0;  transition: all .3s linear;}
#sub #header .container #gnb ul li > .submenu {top: 70px;}
#sub #header .container #gnb > ul > li > a::after {bottom: 0;}
#sub #header .head-util {top: 98.5px;}

#header.scrolled {transform: translateY(-100%);}
body.opened #header {height: 120px; background:url(../images/bg_.jpg) 50% 50% no-repeat; background-size: cover; box-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.15);}
body.opened #header::after {opacity: 0;}
body.opened #header .logo {top: 22.5px;}
body.opened #header .logo a {max-width: 300px;}
body.opened #header .logo a img {margin: 0;}
body.opened #header .container #gnb > ul > li {padding-top: 0;}
body.opened #header .container #gnb > ul > li > .submenu {top: 0;}
body.opened #header .head-util {top:50px}

body#sub.opened #header {height: 120px; background:url(../images/bg_.jpg) 50% 50% no-repeat; background-size: cover; box-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.15);}
body#sub.opened #header::after {opacity: 0;}
body#sub.opened #header .logo {top: 22.5px;}
body#sub.opened #header .logo a {max-width: 300px;}
body#sub.opened #header .logo a img {margin: 0;}
body#sub.opened #header .container #gnb > ul > li {padding-top: 0;}
body#sub.opened #header .container #gnb > ul > li > a {padding-top: 60px; line-height: 1; height: 126px;}
body#sub.opened #header .container #gnb > ul > li > .submenu {top: 0;}
body#sub.opened #header .container #gnb > ul > li > a::after {bottom: 20px;}
body#sub.opened #header .head-util {top:50px}



/* footer */ 
#footer {position: relative; padding: 40px 0 270px;}
#footer .inner {position: relative; display: flex; justify-content: space-between; align-items: flex-start; width: 100%; gap: 20px;}
#footer .ft_logo {max-width: 520px; width: 100%; padding-top: 85px;}
#footer .ft_logo img {display: block; margin-right: auto; max-width: 100%;}
#footer .right {position: relative; width: 100%; max-width: 405px;}
#footer .right a {display: flex; font-size: 46px; color: #835a4f; font-family: 'edensor'; align-items: center; gap: 30px; justify-content: right;}
#footer .right a ~ a {margin-top: 35px;}
#footer .right a span {position: relative; display: block; width: 128px; height: 128px; border-radius: 50%; background-color: #835a4f;}
#footer .right a span::before {position: absolute; content: ''; width: 55px; height: 1px; background-color: #fff; top: 44px; left: 50%; transform: translate(-50%, -50%) rotate(45deg); transition: all .2s linear;}
#footer .right a span::after {position: absolute; content: ''; width: 55px; height: 1px; background-color: #fff; bottom: 44px; left: 50%; transform: translate(-50%, -50%) rotate(-45deg); transition: all .2s linear;}
#footer .right a:hover span::before {top: 52px;}
#footer .right a:hover span::after {bottom: 52px;}
#footer .ft_nav {padding: 120px 36px 105px; position: absolute; background-color: #835a4f; top: -65px; left: 50%; transform: translateX(-50%);}
#footer .ft_nav ul li {color: #fff; text-align: center;}
#footer .ft_nav ul li ~ li {margin-top: 40px;}
#footer .ft_nav ul li a {font-size: 16px;  color: #fff; position: relative; display: inline-block;}
#footer .ft_nav ul li a::after {position: absolute; content: ''; width: 0%; height: 1px; background-color: #fff; bottom: 0; left: 50%; transform: translateX(-50%); transition: all .2s linear;}
#footer .ft_nav ul li a:hover::after {width: 100%;}
#footer .ft_nav ul li.eden {font-family: 'edensor';}
#footer .ft_nav ul li.eden a {font-size: 26px;}


#footer {background: url(../images/bg.png) 50% 50% no-repeat; background-size: cover;}
#footer .copyright {font-family: 'edensor'; font-size: 18px; color: #835a4f; font-weight: 400; margin-top: 20px;}
#footer .copyright > a {color: #835a4f; display: inline-block;}

#sub #footer {padding-top: 305px; margin-top: 290px;}
#sub #footer::before {position: absolute; content:''; width: 100%; height: 265px; top: 0px; left: 0; background: url(../images/sub/bottom_bg.jpg) 50% 50% no-repeat; background-size: cover;}
#sub #footer .ft_nav {top: 165px;}

#footer .terms {display: none;}


/* siteMap : S */
.sitemap {position:fixed; max-width:100vw; max-height:100vh; width:0; height:0; z-index:1111;  display:block; top:0; right:0; overflow:hidden; letter-spacing:0;}
html.sitemap-opened .sitemap {width:100%; height:100%; visibility:visible;}
.sitemap:before {content:''; position:fixed; z-index:-1; top:0; left:0; width:100vw; height:100vh; background:url('../img/layout/sitemap-black.jpg') center center no-repeat; background-size:cover; transition:all 0.6s ease 0.2s; display:none;}
html.sitemap-opened .sitemap:before {display:block;}

.site-wrap {max-width:1830px; width:100%; padding:0 15px; margin:0 auto; height:100vh; position:relative;}
.site-wrap .head {position:absolute; top:0; left:0; width:100%; height:120px; display:flex; align-items:center; z-index:11; padding:0 15px;}
.site-wrap .head .logo {max-width: 250px;}
.site-wrap .head ul {margin-left:50px; margin-top:10px; display:flex;}
.site-wrap .head ul li {padding-right:15px; margin-right:15px; position:relative;}
.site-wrap .head ul li:after {content:''; width:1px; height:12px; background:#fff; position:absolute; top:50%; margin-top:-6px; right:0;}
.site-wrap .head ul li:last-child:after {display:none;}
.site-wrap .head ul li a {font-size:14px; color:#888; letter-spacing:0; line-height:1.6em; transition:all 0.6s; font-weight:700; font-family:'Montserrat';}
.site-wrap .head ul li.active a {color:#fff;}

.sitemap .sitemap-close {position:absolute; top:50%; margin-top:-18px; right:15px; width:36px; height:36px; z-index:12; transition:all 0.6s;}
.sitemap .sitemap-close:hover {opacity:0.6;}
.sitemap .sitemap-close:before,
.sitemap .sitemap-close:after {content:''; width:36px; height:2px; background:#fff; position:absolute; left:0; transition:all 0.6s;}
.sitemap .sitemap-close:before {top:10px;}
.sitemap .sitemap-close:after {bottom:10px;}
html.sitemap-opened .sitemap .sitemap-close:before {transform:rotate(45deg); top:50%; margin-top:-1px;}
html.sitemap-opened .sitemap .sitemap-close:after {transform:rotate(-45deg); bottom:50%; margin-bottom:-1px;}

.site-wrap .wrap {padding:160px 0 60px;  height:100vh;display:flex; position:relative;}
.site-wrap .wrap:after {content:''; width:1px; height:100vh; background:rgba(255,255,255,0.2); position:absolute; top:0; left:700px;}
.site-wrap .wrap .info-wrap {width:100%; max-width:700px; display:flex; flex-direction:column; justify-content:space-between; padding-right:60px;}
.site-wrap .info .box {margin-bottom:50px; position:relative; left:100px; opacity:0; transition:all 0.6s;}
html.sitemap-opened .site-wrap .info .box {transition-delay:0.1s; left:0; opacity:1;}
html.sitemap-opened .site-wrap .info .box:nth-child(2) {transition-delay:0.2s;}

.site-wrap .info .box:last-child {margin-bottom:0;}
.site-wrap .info .box h4 {font-size:24px; font-weight:700; color:#fff; line-height:1.6em; font-family: 'edensor';  margin-bottom:16px;}
.site-wrap .info .box dl {display:flex; font-size:18px; line-height:1.6em; margin-bottom:8px;}
.site-wrap .info .box dt {width:50px; font-weight:500; color:#bbb;}
.site-wrap .info .box dd {width:1%; flex:1 1 auto; color:#888;}
.site-wrap .info .box dd a.mail {text-decoration:underline;}
.site-wrap .btn-wrap .more {display:inline-block; width:230px; line-height:62px; border:1px solid #fff; color:#fff; font-size:18px; padding:0 30px; position:relative; margin-bottom:50px;}
.site-wrap .btn-wrap .more:after {content:''; width:12px; height:12px; background:url('../img/layout/sitemap-btn-w.png') no-repeat; position:absolute; top:50%; margin-top:-6px; right:30px;}
.site-wrap .btn-wrap .more:hover:after {animation: btn-move 1s both .1s;}
@keyframes btn-move {
    0% {right:30px;}
    25% {right:20px;}
    50% {right:30px;}
    75% {right:25px;}
    100 {right:30px;}
}
.site-wrap .btn-wrap ul {display:flex;}
.site-wrap .btn-wrap ul li {margin-right:12px;}
.site-wrap .btn-wrap ul li a {display:block; transition:all 0.3s;}
.site-wrap .btn-wrap ul li a:hover {opacity:0.6;}
.site-wrap .wrap .nav-menu {width:1%; flex:1 1 auto; padding-left:100px;}
.nav-menu > ul > li {margin-bottom:20px;}
.nav-menu > ul > li > span {display:block; position:relative; transition:all 0.6s; overflow:hidden;}
.nav-menu > ul > li > span a {display:inline-block; font-size:70px; line-height:1.2em; transition:all 0.6s ease 0s; position:relative; transform:translateY(110%); font-weight:600; padding:0 5px; color:#835a4f; font-family: 'edensor'; }
html.sitemap-opened .nav-menu > ul > li > span a {transform:translateY(0); transition-delay:0.5s; transition-property:transform;}
.nav-menu > ul > li > span a:after {content:''; background:#fff; width:0; height:20px; position:absolute; bottom:5px; left:0; z-index:-1; opacity:0.2; transition:all 0.6s;}
.nav-menu > ul > li.active > span a:after {width:100%;}
.nav-menu > ul > li > span a:hover:after {width:100%;}

.nav-menu .submenu {display:none;}
.nav-menu .submenu ul {display:flex; flex-wrap:wrap; padding-top:20px; padding-left:15px;}
.nav-menu .submenu ul li {padding-right:40px; margin-bottom:20px;}
.nav-menu .submenu ul li a {display:inline-block; font-size:24px; line-height:1.5em; position:relative; color:#888;}
.nav-menu .submenu ul li a:hover {color:#fff; font-weight:700;}

/* sitemap-white */
.sitemap-white:before {background:url('../img/layout/sitemap-white.jpg') center center no-repeat; background-size: cover;}
.sitemap-white .sitemap-close:before,
.sitemap-white .sitemap-close:after {background:#835a4f;}
.sitemap-white {color:#835a4f;}
.sitemap-white .head ul li:after {background:#ddd;}
.sitemap-white .head ul li a {font-size:14px; color:#CAAEA6;}
.sitemap-white .head ul li.active a {color:#9b7970;}
.sitemap-white .wrap:after {background:#ddd;}
.sitemap-white .info .box h4 {color:#9b7970;}
.sitemap-white .info .box dt {color:#835a4f;}
.sitemap-white .info .box dd {color:#9b7970;}
.sitemap-white .btn-wrap .more {border:1px solid #835a4f; color:#fff; background:#835a4f;}
.sitemap-white .nav-menu > ul > li > span a {color:#835a4f;}
.sitemap-white .nav-menu > ul > li > span a:after {background:#835a4f; opacity:0.1;}
.sitemap-white .nav-menu .submenu ul li a {color:#CAAEA6;}
.sitemap-white .nav-menu .submenu ul li a:hover {color:#835a4f;}

.sitemap-white .btn-wrap ul li a img {filter:invert(1);}

.sm-bt {position:absolute; bottom:60px; right:60px; background:#fff; width:30px; height:30px; border-radius:50%; cursor:pointer; transition:all 0.6s; z-index:111;}
.sitemap-white .sm-bt {background:#000;}



/* siteMap : E */
/* siteMap : responsive */
@media (max-width:1400px){
	.site-wrap .wrap:after {left:500px;}
	.site-wrap .wrap .info-wrap {max-width:500px; padding-right:40px;}
	.site-wrap .info .box dl {font-size:16px;}	
	.site-wrap .wrap .nav-menu {padding-left:60px;}
	.nav-menu > ul > li > span a {font-size:40px;}
	.nav-menu .submenu ul {padding-top:20px; padding-left:0;}
	.nav-menu .submenu ul li {padding-right:20px;}
	.nav-menu .submenu ul li a {font-size:20px;}
}
@media (max-width:1024px){
	.site-wrap .wrap:after {display:none;}
	.site-wrap .head {position:relative; left:0; height:100px;}
	.sitemap .sitemap-close {right:0;}
	
	.site-wrap .wrap {padding:40px 0; height:calc(100vh - 100px); flex-direction:column-reverse;}
	.site-wrap .wrap .nav-menu {width:100%; padding-left:0;}
	
	.nav-menu > ul > li {margin-bottom:20px;}
	.nav-menu > ul > li > span a {font-size:24px; padding:0 5px;}
	.nav-menu .submenu ul {padding-top:10px;}
	.nav-menu .submenu ul li {padding-right:15px; margin-bottom:10px;}
	.nav-menu .submenu ul li a {font-size:16px;}
	
	.site-wrap .wrap .info-wrap {max-width:none;}
	.site-wrap .info .box {margin-bottom:20px;}
	.site-wrap .info .box h4 {font-size:16px; margin-bottom:10px;}
	.site-wrap .info .box:last-child {margin-bottom:20px;}
	.site-wrap .btn-wrap .more {width:200px; line-height:50px; font-size:16px; padding:0 20px; margin-bottom:20px;}
	.site-wrap .btn-wrap .more:after {right:20px;}
}
@media (max-width:640px){
	.site-wrap .head {height:100px; padding: 0; top: 2px;}
	.site-wrap .head .logo {max-width: 180px;}
	.site-wrap .wrap {padding:30px 0; height:calc(100vh -100px);}
	.site-wrap .head ul {margin-left: 30px;}
	.nav-menu > ul > li > span a {font-size:30px;}
	.nav-menu > ul > li > span a:after {height:10px; bottom:0;}
	.nav-menu .submenu ul li {padding-right:15px; margin-bottom:8px; width: 100%;}
	.nav-menu .submenu ul li a {font-size:16px;}
	.site-wrap .wrap .info-wrap {display:none;}
	
}
