:root{
  --main-color:#3E2E25;
  --sub-color:#82765B;
  --font-preten: "Pretendard Variable", Pretendard, sans-serif;
  --font-garam:"Cormorant Garamond", "Pretendard Variable", Pretendard, serif;
}
/* common style */
*{
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  color: #000000;
  font-family: var(--font-preten);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body{
  position: relative;
  width: 100%;
  background-color: #F1EEE6;
  overflow-x: hidden;
}

html.active{
  overflow-y: hidden;  
}

img{
  width: 100%;
  height: auto;
  vertical-align: top;
}

button{
  background: inherit; 
  border:none; 
  box-shadow:none; 
  border-radius:0; 
  padding:0; 
  overflow:visible; 
  cursor:pointer
}

.page{
  width: 100%;
  background-color: #F1EEE6;
}

.page-wrap{
  padding: 150px 0;

}

.con-width{
  width: 100%;
  margin: 0 auto;
  padding: 0 140px;
}

.contact-btn{
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-btn span{
  width: 50px;
  height: 50px;
}

.contact-btn p{
  font-size: 20px;
  font-weight: 600;
  line-height: 150%;
  font-family: var(--font-garam);
  color: #ffffff;
  margin-left: 16px;
}

.view-more-btn {
  display: flex;
  align-items: center;
  text-align: center;
  user-select: none;
}

.view-more-btn span{
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-image: url(../img/more.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.view-more-btn.white span{
   background-image: url(../img/main/contact.png);
}

.view-more-btn p{
  font-size: 20px;
  font-weight: 600;
  line-height: 150%;
  font-family: var(--font-garam);
  color: #222222;
  margin-left: 16px;
}

.view-more-btn.white p{
  color: #ffffff;
}

.view-more-btn:hover span{

}

.view-more-btn:hover span{

}



/* common style */

/* header style */
#header{
  position:absolute;
  top:0;
  left:0;
  width: 100%;
  z-index: 9999;
} 

.header-wrapper{
  width: 100%;
}

.hd-con{
  position: relative;
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 100px;
}

.hd-con::after{
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0px;
  height: 1px;
  content: '';
  background-color: #ffffff;
  opacity: 0;
  transition: width 0.2s ease-in-out, opacity 0.2s ease-in-out;
  z-index: 100;
}

.hd-con.active::after{
  width: 100%;
  height: 1px;
  opacity: 0.5;
  transition: width 0.4s ease-in-out, opacity 0.1s ease-in-out;
  transition-delay: 0.2s;
}

.header-logo{
  z-index: 103;
}

.hd-logo{
  display: block;
  width: 196px;
  height: 36px;
  background-image: url(../img/hd_logo.png);
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
}

.hd-nav{
  margin-left: 60px;
}

.gnb{
  display: flex;
}

.gnb li{
  position: relative;
  display: flex;
  flex-direction: column;
}

.gnb-link{
  display: block;
  font-size: 18px;
  font-weight: 400;
  color: #ffffff;
  opacity: 0.4;
  transition: all .5s;
  padding: 0 40px;
  line-height: 100px;
  z-index: 101;
}

.gnb-link.active{
  opacity: 1;  
  color: #fff
  
}

.lnb-wrap{
  position: absolute;
  top:100%;
  left:0;
  width: 100%;
  height: 0px;
  z-index: 101;
  opacity: 0;
  transition: height 0.2s ease-in-out, opacity 0.1s ease-in-out;
}

.lnb-wrap.active{
  opacity: 1;
  height: calc(180px - 1px);
  transition: height 0.3s ease-in-out, opacity 0.2s ease-in-out;
}

.lnb{
  display: none;
  text-align: center;
  padding-top: 30px;
}

.lnb-wrap.active .lnb{
  display: block;
}

.lnb-link{
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  opacity: 0.4;
  transition: all .5s;
  margin-bottom: 30px;
}

.lnb-link:hover{
  opacity: 1;
  transition: all .5s;
}

.hd-func{
  display: flex;
  align-items: center;
  margin-left: auto;
  z-index: 102;
}

.lang-func{
  display: flex;
  align-items: center;
}

.lang-btn{
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  opacity: 0.6;
  cursor: pointer;
  transition: all .5s;
}

.lang-btn.active, .lang-btn:hover{
  opacity: 1;
}

.bar{
  width: 1px;
  height: 8px;
  background-color: #ffffff;
  opacity: 0.6;
  margin: 0 8px;
}

.side-func{
  position: relative;
  width: 30px;
  height: 16px;
  cursor: pointer;
  z-index: 1001;
  margin-left: 20px;
}

.side-func-bar{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  transition: all 0.3s;
  background-color: #ffffff;
}

.side-func-bar:last-child{
  top: 14px;
}

.side-func.active .side-func-bar:first-of-type {
  top: 8px;
  transform: rotate(45deg);
}

.side-func.active .side-func-bar:last-of-type {
  top: 8px;
  transform: rotate(-45deg);
}

.side-nav{
  position: fixed;
  top:0;
  right:0;
  max-width: 590px;
  width: 0px;
  height: 100vh;
  background: #82765B90;
  backdrop-filter: blur(20px);
  padding-top: 170px;
  padding-bottom: 100px;
  z-index: 101;
  opacity: 0;
  overflow: hidden;
  transition: width 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

.side-nav.active{
  width: 100%;
  opacity: 1;
  transition: width 0.4s ease-in-out, opacity 0.5s ease-in-out;
}

.snb{
  display: inline-block;
  width: auto;
  padding-left: 80px;
}

.snb-list{
  margin-top: 30px;
}

.snb-list:first-of-type{
  margin-top: 0;
}

.snb-link{
  font-size: 30px;
  font-weight: 600;
  color: #ffffff;
  opacity: 0.4;
  transition:opacity 0.3s ease-in-out;
  cursor: pointer;
  user-select: none;
}

.snb-link.bl-txt{color: #fff}
.side-link.bl-txt{color: #fff}
.snb-link:hover{
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

.side-wrap{
  width: 100%;
  height: 0px;
  max-height: 100px;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
}

.side-wrap.active{
  max-height: 100vh; 
  height: auto;
  opacity: 1;
  visibility: visible;
  overflow: hidden;
  transition: all 0.4s ease-in-out;
}

.side-wrap.active .side-menu{
  display: block;
  height: auto;
  opacity: 1;
}

.side-menu{
  margin-top: 15px;
  display: none;
  opacity: 0;
  height: 0px;
}

.side-menu > li{
  padding-top: 15px;
}

.side-link{
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  opacity: 0.4;
  transition:opacity 0.3s ease-in-out;
  user-select: none;
}

.side-link:hover{
  opacity: 1;
  transition:opacity 0.3s ease-in-out;
}

.hd-bg{
  position: absolute;
  left: 0;
  top:0;
  width: 100%;
  height: 0px;
  background-color: #82765B50;
  backdrop-filter: blur(20px);
  z-index: 99;
  transition: height 0.2s ease-in-out, opacity 0.1s ease-in-out;
}

.hd-bg.active{
  height: 280px;
  transition: height 0.3s ease-in-out, opacity 0.2s ease-in-out;
}
/* header style */



/* footer style */
#footer{
  position: relative;
  width: 100%;
  background-color: #3B3B3B;
  padding: 77px 0;
}

.ft-con{
  padding: 0 40px;
}
.ft-logo{
  display: block;
  width: 196px;
  height: 36px;
  background-image: url(../img/hd_logo.png);
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
}

.ft-add{
  margin-top: 50px;
}

.ft-add ul{
  display: flex;
  align-items: center;
}

.ft-add ul li{
  font-size: 17px;
  font-weight: 400;
  line-height: 150%;
  color: #ffffff;
  margin-bottom: 8px;
}

.ft-add ul:last-of-type li{
  position: relative;
  margin-right: 6px;
  padding-right: 6px;
}

.ft-add ul:last-of-type li::after{
  position: absolute;
  right: 0;
  top:50%;
  transform: translateY(-50%);
  content:'';
  width: 1px;
  height: 50%;
  background-color: #ffffff;
  opacity: 0.5;
}

.ft-add ul:last-of-type li:last-of-type:after{
  display: none;
}

.cpright{
  margin-top: 50px;
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
  color: #ffffff;
  opacity: 0.3;
}
/* footer style */

/* subpage style */
.sub-visual{
  position: relative;
  width: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  height: 100vh;
  overflow: hidden
}

.sub-visual > .con-width{
  height: 100%;
  display: flex;
  justify-content: center;
}

.sub-visual .bg{position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: -1}
.sub-visual .bg img{width: 100%; height: 100%; object-fit: cover; animation: visual_scale 3s  ease-in-out ;}


@keyframes visual_scale{
  from{
    opacity: 0;
    transform: scale(1.1);
  }
  to{
    opacity: 1;
    transform: scale(1.0);
  }
}
.visual-con{
  height: auto;
  margin-top: auto;
  padding-top: 100px;
}

.visual-txt{
  text-align: center;
  user-select: none;
  margin-bottom: 14.2vh;
}

.visual-txt p{
  font-size: 30px;
  font-weight: 500;
  line-height: 160%;
  font-family: var(--font-garam);
  color:var(--main-color);
}

.visual-txt h2{
  font-size: 120px;
  font-weight: 700;
  font-family: var(--font-garam);
  color:var(--main-color);
}

.sub-hd{
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}

.sub-title{
  font-size: 40px;
  font-weight: 700;
}

.sub-more-btn{
  display: flex;
  align-items: center;
}

.sub-more-btn span{
  background-image: url(../img/more.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 50px;
  height: 50px;
  margin-right: 16px;
}

.sub-more-btn p{
  font-size: 20px;
  line-height: 150%;
  font-weight: 600;
  color: #222222;
  font-family: var(--font-garam);
}

.scroll-circle{
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto;
  margin-bottom: 16.5vh;
  overflow: hidden;
}

.circle-bg{
  background: #3E2E2560 url(../img/subpage/scorll_txt.png);  
  background-size: 80%;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 100%;
  animation: rotate_image 10s linear infinite;
  transform-origin: 50% 50%;
  border-radius: 50%;
  overflow: hidden;
}

.circle-arrow{
  position: absolute;
  top:50%;
  left:50%;
  width: 40px;
  height: 40px;
  background-image: url(../img/subpage/arrow.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transform: translate(-50%, -50%);
  animation: arrow_bounce 2s 1.5s cubic-bezier(0.25, 0.1, 0.25, 1.4) infinite;
}
  
@keyframes rotate_image{
	100% {
    transform: rotate(360deg);
  }
}

@keyframes arrow_bounce{
  0% {
    transform: translate(-50%, -50%);
  }
  30% {
    transform: translate(-50%, -54%);
  }
  50% {
    transform: translate(-50%, -48%);
  }
  70% {
    transform: translate(-50%, -54%);
  }
  100% {
    transform: translate(-50%, -50%);
  }
}

.visual-cover{
  position: absolute; 
  top:0;
  left:0;
  width: 100%;
  height: 100%;
  background-color: #00000020;
}
/* subpage style */
/* sub black style */
.hd-logo.bl-img{
  background-image: url(../img/sub_logo.png);
}
.bl-txt{
  color: #111111;
}
.bl-bg{
  background-color: #111111;
}
/* sub black style */


