@charset "utf-8";

/************전체설정****************/
* {
  margin: 0;
  padding: 0;
font-family: 'Noto Sans KR', sans-serif;

}

/***서체****/
#eg {
  font-family: 'Noto Serif KR', serif;
}

li {
  list-style: none;
  float: left;
}

a {
  text-decoration: none;

}

img {
  vertical-align: top;
}

h3, h2 {
    color: #0d6e4a
}
#wrap {
  width: 100%;
}

.hidden {
  visibility: hidden;
  height: 0;
  width: 0;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}

.behind {
  width: 1px;
  height: 1px;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: -10px;
  z-index: -1000;
}


*******헤더설정****************/ header {
  width: 100%;
  height: 100px;

}

#gnb {
  width: 1024px;
  height: 100px;
  margin: 0 auto;


}

#logo {
  width: 894px;
  height: 100px;
  float: left;


}

#logo a {
  display: block;
  width: 220px;
  height: 80px;
  padding-top: 10px;
}



#gnb1 {
  width: 130px;
  float: left;


}

#gnb1 > ul > li {
  font-size: 12px;
  padding: 0 10px;
  line-height: 10px;
  margin-top: 20px;
  border-right: 1px solid #d31145;

}

#gnb1 > ul > li:nth-child(2) {
  border: none;
}

/************nav설정****************/

#lnb {
  width: 100%;
  height: 40px;
  background-color: #ffff;
  position: relative;
  border-top: 1px solid #ddd;
}



#lnb > ul {
  width: 1024px;
  height: 40px;
  margin: 0 auto;
}

#lnb > ul > li {
  width: 204px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  position: relative;
}

#lnb a {
  height: 100%;
  width: 100%;
  font-weight: bold;
  color: #000;
  display: block;

}

#lnb a:hover {
  background-color: #c51a43;
  color: #fff;
  border-radius: 9999px;
}

.sub {
  width: 100%;
  position: absolute;
  text-align: center;
  height: 0;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
  z-index: 1;
}

.sub li {
  width: 204px;
}

#lnb .sub a {
  font-size: 14px;
}

#lnb:hover .sub {
  height: 200px;
}

.sub_bgbox {
  width: 100%;
  background-color: rgba(252, 249, 242, 1);
  position: absolute;
  top: 40px;
}


/************본문설정*****************/
section {
  width: 100%;
  overflow: hidden;
}

#main_banner {
  min-width: 1024px;
  height: 530px;
  margin: 0 auto;

}

#line {
  position: relative;

}

#line > img {
  display: block;
  width: 1920px;
  height: 530px;
  position: relative;
  left: 50%;
  transform: translateX(-50%)
}

.slide_img {
  position: absolute;
  top: 0px;
  z-index: -2;
  height: 530px;
  width: 300%;
  left: 0;
  animation: imgslide 15s infinite;


}

.slide_img > li:nth-child(1) {
  background-image: url(../img/index/main_slide3.png);
}

.slide_img > li:nth-child(2) {
  background-image: url(../img/index/main_slide2.png);
}

.slide_img > li:nth-child(3) {
  background-image: url(../img/index/main_slide1.png);

}

#line .slide_img > li {
  height: 350px;
  background-position: center;
  height: 100%;
}

.slide_img > li > a {
  display: block;

}



@keyframes imgslide {
  0% {
    left: 0
  }

  25% {
    left: 0
  }

  33% {
    left: -100%
  }

  58% {
    left: -100%
  }

  66% {
    left: -200%
  }

  91% {
    left: -200%
  }
}

.slide_img > li {
  width: 33.333333%;
  float: left;
  list-style: none;
}



/********슬라이드하단부분*******/
#dn_service {
  margin-top: 100px
}

#dn_service > ul {
  width: 1024px;
  height: 300px;
  margin: 0 auto;



}

#dn_service > ul:nth-child(3) {
  width: 1024px;
  height: 30px;
  margin: 0 auto;



}

#dn_service > ul > li {
  width: 512px;
  text-align: center;


}

#menu {
  width: 100%;
  background-image: url(../img/index/main_syrup.png);
  background-repeat: repeat-x;
  margin-top: 40px;
}

#menu > div {
  width: 1024px;
  height: 600px;
  margin: 0 auto;
  text-align: center;


}

#menu > div:nth-child(3) {
  height: 410px;
}

#menu > div h3 {
  padding-top: 100px;
  margin-bottom: 30px;
}

#menu > div > h2 {
  margin: 100px auto 30px;
}

#main_menu1 {
  width: 135px;
  margin: 0 auto;
  height: 290px;

}

#main_menu1 > li:nth-child(2) {
  margin: 30px 0 20px 65px;
}


#main_menu2 {
  width: 800px;
  margin: 0 auto;
}

#main_menu2 > li {
  padding-right: 23px;
  height: 253px;
  overflow: hidden;


}

#main_menu2 > li:nth-child(3) {
  padding-right: 0;
}

/*이미지 오퍼시티로 주고싶음은 글자도 흐려지넹*/
.button {
  position: relative;
  width: 100%;
  height: 100%;
  top: 0;
  transition: all 0.7s ease-in-out;

  /*    background-color: rgba(252, 249, 242, 0.5);*/
  background-image: url(../img/index/main_menu_11hover.png);


}


article > div > ul > li:hover .button {
  top: -100%;
}

.text {
  overflow: hidden;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.text li {
  clear: both;
  width: 100%;
  text-align: center;
}

.text li a {
  color: #e30000;
    font-size: 18px;
  font-weight: bold;
  display: block;

    height: 40px;
    line-height: 2
}


#main_menu3 {
  width: 1024px;

}

#main_menu3 > li {
  width: 341px;
  height: 300px;

}

#main_menu3 > li > h4 {
  margin: 10px;
}

#dn_img {
  width: 1024px;
  height: 515px;
  margin: 0 auto 50px;
}

#sns {
  width: 1024px;
  margin: 0 auto;
}

#sns div:nth-child(2) {
  width: 440px;
  float: left;
  padding: 50px 0 0 160px;

}

#sns1 {
  width: 424px;
  float: left;

}

#sns2 {
  width: 600px;
}

#sns2 > li {
  margin-top: 40px;
  width: 90px;


}

#snsbg {
  min-width: 1024px;
  position: relative;

}

.snsbg1 {
  width: 100%;
  height: 100vh;
  position: absolute;
  background: url(../img/index/footer_pt.png) no-repeat center;
  z-index: -1;
  top: -200px
}




/************하단설정****************/

#footer {
  min-width: 1024px;
  height: 150px;
  background-color: #0d6e4a;
  font-size: 12px;
  position: relative;
}

.bg_du {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(200px);
  z-index: -1;
  overflow: hidden;
  width: 416px;
  height: 429px;
}

.bg_du > img {
  width: 100%;
}

#footer_box {
  width: 1024px;
  height: 100%;
  margin: 0 auto;
  text-align: center;

}

#fnb {
  padding-left: 50px;
}

#fnb > ul > li > a {
  display: block;
  width: 90px;
  line-height: 10px;
  color: #fff;
  font-weight: bold;
  margin: 20px auto;
  border-right: 2px solid #ffff;


}

#fnb > ul > li:nth-child(4) > a {
  width: 110px;
}

#fnb > ul > li:nth-child(5) > a {
  width: 210px;
}

#fnb > ul > li:nth-child(6) > a {
  width: 120px;
}

#fnb > ul > li:nth-child(7) > a {
  width: 100px;
}

#fnb > ul > li:nth-child(8) > a {
  border-right: none;

}

#fnb a:hover {
  color: yellow;

}

address {
  font-style: normal;
  line-height: 30px;
  width: 1024px;
  margin: 50px auto;
  height: 65px;
  color: #ffff;



}

small {
  font-size: 0.8;
  width: 100%;
  height: 50px;
  line-height: 50px;
}