@charset "utf-8";

@font-face {
    src: url("../font/Noto_Serif_KR/NotoSerifKR-Regular.otf");
    font-family: "Noto Serif KR";
}

@font-face {
    src: url("../font/Noto_Sans_KR/NotoSansKR-Light.otf");
    font-family: "Noto Sans KR";
}

@font-face {
    src: url("../font/Noto_Sans_KR/NotoSansKR-Bold.otf");
    font-family: "Noto Sans KR B";
}

@font-face {
    src: url("../font/aAutoSignature.otf");
    font-family: "a Auto Signature";
}


* { box-sizing: border-box; list-style: none; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background-color: #f7f7f7; }
::-webkit-scrollbar-thumb { background-color: #e0e0e0; border-radius: 5px; }
*::selection { background-color: #5c553b; color: #FFF; }
html { scroll-behavior: smooth; }
a { text-decoration: none; color: #5c553b; }
body { margin: 0px; font-family: 'Noto Sans KR'; color: #5c553b; background: #f4f2ef; }
main { overflow: hidden; position: relative; }
ul { margin: 0px; padding: 0px; }
li { margin: 0px; padding: 0px; }
h1, h2, h3, h4, h5, p { margin: 0px; }


/*to top start*/

.totop { position: fixed; z-index: 999; right: -100px; bottom: 40px; width: 40px; height: 40px; text-align: center; transition: .4s; background: #735e3a; }
.totop img { margin-top: 15px; }
.totop:hover { }
.totop.on { right: 30px; }

/*header start*/

.header { position: fixed; z-index: 999; padding: 0px 46px 0px; width: 100%; height: 94px; transition: .4s; border-bottom: 1px solid rgba(255,255,255,0.5); }
.header.on { background: #f4f2ef; border-bottom: 1px solid #5c553b; }

.header .header-in { position: relative; width: 100%;  }
.header.on .header-in  { border-bottom: none; }
.header .header-in a img { position: absolute; left: 0px; top: 20px; transition: .4s; }
.header.on .header-in a img:nth-of-type(1) { opacity: 0; }
.header .header-in a img:nth-of-type(2) { opacity: 0; }
.header.on .header-in a img:nth-of-type(2) { opacity: 1; }

.header .header-in a:nth-of-type(2) { position: absolute; top: 25px; right: 00px; width: 40px; height: 40px; border: 1px solid #fff; border-radius: 50%; transition: .4s; }
.header .header-in a:nth-of-type(2):hover { opacity: 0.7; }
.header.on .header-in a:nth-of-type(2) { border: 1px solid #5c553b; }
.header .header-in a:nth-of-type(2) div { position: relative; width: 40px; height: 40px;} 
.header .header-in a:nth-of-type(2) div p { position: absolute; top: 10px; right: 60px; font-family: 'Mulish'; font-size: 14px; letter-spacing: 2; color: #fff; font-weight: 600; }
.header.on .header-in a:nth-of-type(2) div p { color: #5c553b; }
.header .header-in a:nth-of-type(2) div img { position: absolute; top: 12.5px; left: calc(50% - 4px); }

.header .header-in > img { position: absolute; top: -10px; right: 0px; cursor: pointer; }
.header .header-in > div > ul { margin: 0px auto; width: 700px; }
.header .header-in > div > ul > li { margin-top: 36px; margin-bottom: 40px; padding-bottom: 39px; position: relative; overflow: hidden; overflow: visible; display: inline-block; }
.header .header-in > div > ul > li:nth-child(n+2) { margin-left: 44px; }
.header .header-in > div > ul > li > a { position: relative; font-family: 'Mulish'; font-size: 13px; font-weight: 400; color: #fff; letter-spacing: 2; z-index: 102; }
.header.on .header-in > div > ul > li > a { color: #5c553b; }
.header .header-in > div > ul > li.in::after { content: ''; position: absolute; left: 0px; bottom: 35px; width: 97%; height: 1px; background: #fff; transition: .4s; }
.header.on .header-in > div > ul > li.in::after { background: #735e3a; }
.header .header-in > div > ul > li::after { content: ''; position: absolute; left: 0px; bottom: 35px; width: 0px; height: 1px; background: #fff; transition: .4s; }
.header.on .header-in > div > ul > li::after {  background: #735e3a; }
.header .header-in > div > ul > li:hover > a { }
.header .header-in > div > ul > li:hover::after { width: 97%; }

.header .header-in > div > ul > li > ul { position: absolute; top: 58px; left: -27.5px; transition: .6s; height: 0px; overflow: hidden; cursor: pointer; border: 1px solid transparent; }
.header .header-in > div > ul > li:nth-of-type(2):hover > ul { height: 118px; border: 1px solid #fff; }
.header .header-in > div > ul > li:nth-of-type(3):hover > ul { height: 186px; border: 1px solid #fff; }
.header .header-in > div > ul > li:nth-of-type(4):hover > ul { height: 250px; border: 1px solid #fff; }

.header .header-in > div > ul > li > ul > li { background: #fff; width: 200px; padding: 0px 30px; text-align: left;}
.header .header-in > div > ul > li > ul > li:nth-child(1) { padding-top: 24px; }
.header .header-in > div > ul > li > ul > li:last-child { padding-bottom: 24px; }
.header .header-in > div > ul > li > ul > li > a { display: block; width: 100%; font-family: 'Noto Sans KR'; font-size: 12px; line-height: 34px; transition: .3s; color: #735e3a; }
.header .header-in > div > ul > li > ul > li > a:hover { color: #bab2a3; }
.header .header-in > div > ul > li > ul > li:last-child > a { border-bottom: none; }

/*header-mobile start*/

.header-mobile { display: none; position: fixed; top:0; z-index: 199; width: 100%; height: 78px; background: #f3efe7; }

.header-mobile > a:nth-of-type(1) > img { position: absolute; top: 12px; left: 40px; z-index: 100; }
.header-mobile > a:nth-of-type(2) { position: absolute; top: 24px; right: 80px; font-size: 18px; text-align: center; color: #735e3a; }
.header-mobile > a:nth-of-type(2) > p { margin: 0px; font-size: 10px; color: #735e3a; }
.header-mobile > a:nth-of-type(3) { position: absolute; top: 24px; right: 115px; font-size: 18px; text-align: center; color: #735e3a; }
.header-mobile > a:nth-of-type(3) > p { margin: 0px; font-size: 10px; color: #735e3a; }
    
.header-mobile .header-in { position: fixed; top:78px; z-index: 999; width: 100%; }
.header-mobile .header-mobile-in ul, .header-mobile .header-mobile-in li { margin: 0; padding: 0; font-size: 12px; }
.header-mobile .header-mobile-in a { color: #FFF; font-weight: 300; }

.header-mobile .header-mobile-in { margin: 0px auto; width: 100%; height: 0px; overflow: hidden; transition-timing-function: ease-in-out; transition: .4; }
.header-mobile .header-mobile-in.on { height: auto; }

.header-mobile .header-mobile-in ul { font-weight:500; background: #525252; }
.header-mobile .header-mobile-in ul li a { padding-left: 20px; }

.header-mobile .header-mobile-in ul li:nth-child(1) a,
.header-mobile .header-mobile-in ul li:nth-child(2) a,
.header-mobile .header-mobile-in ul li:nth-child(5) a,
.header-mobile .header-mobile-in ul li:nth-child(6) a,
.header-mobile .header-mobile-in ul li:nth-child(7) a,
.header-mobile .header-mobile-in ul li:nth-child(8) a { display: block; width: 100%; }
    
.header-mobile .header-mobile-in ul li a:hover { opacity: .75; }
    
.header-mobile .header-mobile-in > ul { margin-top: 78px; margin-bottom: 0px; padding: 0px 0px;  }
.header-mobile .header-mobile-in > ul > li { position: relative; line-height: 40px; cursor: pointer; }
.header-mobile .header-mobile-in > ul > li > img { position: absolute; top: 15px; right: 20px; cursor: pointer; }
.arrow_toggle {  transform: rotate(180deg); }

.header-mobile.on .header-mobile-in > ul > li > img { top: -80px; }
.header-mobile .header-mobile-in > ul > li { border-top: 1px solid #727272; }
.header-mobile .header-mobile-in > ul > li:nth-child(1) { border: none; }

.header-mobile .header-mobile-in > ul > li > ul > li { border-top: 1px solid #727272; opacity: 0.7; }
.header-mobile .header-mobile-in > ul > li > ul > li > a { display: block; padding-left: 20px; font-weight: 200; width: 100%; }
.header-mobile .header-mobile-in ul li .depth2 { overflow: hidden; transition: none; display: none; background: #525252; }

/* hamburger2 */

input[id="hamburger2"] { display: none; }
 
input[id="hamburger2"] + label { display: block; width: 22px; height: 18px; position: absolute; right: 40px; top: 27.5px; cursor: pointer; }
input[id="hamburger2"] + label span { display: block; position: absolute; width: 100%; height: 2px; border-radius: 10px; transition: all 0.35s; background: #735e3a; }
.header.on input[id="hamburger2"] + label span { background: #735e3a; }


input[id="hamburger2"] + label span:nth-child(1) {top: 1px; }
input[id="hamburger2"] + label span:nth-child(2) {top: 46.8%;}
input[id="hamburger2"] + label span:nth-child(3) {bottom: 1px;}
    
input[id="hamburger2"]:checked + label {z-index: 100;}

input[id="hamburger2"]:checked + label span:nth-child(1) {top: 50%;}
input[id="hamburger2"]:checked + label span:nth-child(3) {bottom: 50%;}
    
.hamburger2_toggle1 {top: 50%; transform: translateY(-50%) rotate(45deg);}
.hamburger2_toggle2 {opacity: 0;}
.hamburger2_toggle3 {bottom: 50%; transform: translateY(50%) rotate(-45deg);}

/*footer start*/

#footer { position: relative; overflow: hidden; background: #f4f2ef; }
#footer .footer-in { padding: 0px 0px 100px; }
#footer .footer-in .footer-wrap { display: flex; justify-content: space-around; ; width: 1580px; margin: 0px auto;  }
#footer .footer-in .footer-wrap > div:nth-of-type(2) > ul > li { font-family: 'Noto Sans KR'; font-size: 14px; line-height: 28px; color: #5c553b; }
#footer .footer-in .footer-wrap > div:nth-of-type(2) > ul > li a{ font-family: 'Noto Sans KR'; font-size: 14px; line-height: 28px; color: #5c553b; transition: all .2s ease-out;}
#footer .footer-in .footer-wrap > div:nth-of-type(2) > ul > li a span{ font-family: 'Noto Sans KR'; font-size: 14px; line-height: 28px; color: #5c553b; }
#footer .footer-in .footer-wrap > div:nth-of-type(2) > ul > li a:hover{ color: #ff5a53; }
#footer .footer-in .footer-wrap > div:nth-of-type(2) > ul > li:nth-child(3) { font-weight: 600; }
#footer .footer-in .footer-wrap > div:nth-of-type(3) > div { display: flex; }
#footer .footer-in .footer-wrap > div:nth-of-type(3) > div > ul { text-align: left; }
#footer .footer-in .footer-wrap > div:nth-of-type(3) > div > ul:nth-of-type(n+2) { margin-left: 50px; }
#footer .footer-in .footer-wrap > div:nth-of-type(3) > div > ul > li { line-height: 24px;}
#footer .footer-in .footer-wrap > div:nth-of-type(3) > div > ul > li:nth-of-type(1) { font-family: 'Cormorant'; font-size: 14px; font-weight: 600; }
#footer .footer-in .footer-wrap > div:nth-of-type(3) > div > ul > li:nth-of-type(n+2) { font-size: 12px; }

#footer .footer-in .footer-down { padding-top: 80px; text-align: center; }
#footer .footer-in .footer-down h1 { font-family: 'Noto Sans KR Bold'; font-size: 34px; }
#footer .footer-in .footer-down p { margin-top: 20px; font-family: 'Karla'; font-size: 12px; line-height: 24px; }


@media (max-width: 1580px) { 

	.header .header-in a img { left: -20px; } 
	.header .header-in a:nth-of-type(2) { right: -20px; }
	.header .header-in > div > ul { width: 620px; }
	.header .header-in > div > ul > li:nth-child(n+2) { margin-left: 30px; }
	
	#footer .footer-in .footer-wrap { width: 100%; }
	
}

@media (max-width: 1308px) {

	
	
}


@media (max-width: 1024px) {
	
    .header { display: none; }
    .header-mobile { display: block; } 
    .header-slide { display: none; } 
	
	#footer .footer-in .footer-wrap { flex-wrap: wrap; justify-content: space-between; padding: 0px 20px; }
	#footer .footer-in .footer-wrap > div:nth-of-type(1) { width: 50%; text-align: center; }
	#footer .footer-in .footer-wrap > div:nth-of-type(2) { width: 50%; }
	#footer .footer-in .footer-wrap > div:nth-of-type(3) { width: 100%; margin-top: 60px; }
	#footer .footer-in .footer-wrap > div:nth-of-type(3) > div { width: 100%; justify-content: space-around; }
	

}

@media (max-width: 768px) {
    
    .totop { bottom: 20px; }
    .totop.on { right: 20px; }
    
    .header-mobile > a:nth-of-type(1) > img { left: 20px; }
    input[id="hamburger2"] + label { right: 20px; }
    .header-mobile > a:nth-of-type(2) { right: 61px; }
    .header-mobile > a:nth-of-type(3) { right: 95px; }
	
	#footer .footer-in { padding-top: 40px; padding-bottom: 40px; }
	#footer .footer-in .footer-wrap { flex-flow: column; }
	#footer .footer-in .footer-wrap > div:nth-of-type(1) { width: 100%; text-align: center; }
	#footer .footer-in .footer-wrap > div:nth-of-type(2) { margin-top: 40px; width: 100%; text-align: center; }
	#footer .footer-in .footer-wrap > div:nth-of-type(2) > ul > li { font-size: 12px; line-height: 22px; }
	#footer .footer-in .footer-wrap > div:nth-of-type(3) > div > ul:nth-of-type(n+2) { margin-left: 0px; }
	
}

