@charset "utf-8";
@import url("https://fonts.googleapis.com/css?family=Noto+Sans+KR:100,400,700&display=swap");

/*ad*/
#ad_wrap {
  background: url("../img/main.jpg") fixed;
  background-repeat: no-repeat;
  height: 850px;
  background-size: cover;
  position: relative;
  font-size: 0;
  line-height: 0;
  background-position: center;
}
#ad_wrap:before {
  background: #000;
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  opacity: 0.4;
}
#ad {
  color: #fff;
  position: relative;
  top: 350px;
}
#ad p {
  font-size: 40px;
  line-height: 50px;
  margin-left: 120px;
  font-weight: 350;
}
#ad span {
  margin-left: 120px;
  display: block;
  line-height: 120px;
}
#ad span.t1 {
  font-size: 62px;
}
#ad span.t2 {
  font-size: 90px;
}

/*ad*/

/*con_1*/
#con_1 {
  width: 1240px;
  margin-top: 70px;
}
#con_1 li {
  width: 49.5%;
  height: 320px;
  margin-left: 1%;
  margin-top: 1%;
  background-size: 100%;
  background-position: center;
  transition: 1s;
}

#con_1 li:hover {
  background-size: 110%;
  transition: 2 s;
}
#con_1 li:nth-child(2n + 1) {
  margin-left: 0;
}
#con_1 li:nth-child(1) {
  background-image: url("../img/content/2/1.jpg");
}
#con_1 li:nth-child(2) {
  background-image: url("../img/content/2/2.jpg");
}
#con_1 li:nth-child(3) {
  background-image: url("../img/content/2/3.jpg");
}
#con_1 li:nth-child(4) {
  background-image: url("../img/content/2/4.jpg");
}
#con_1 li:nth-child(5) {
  background-image: url("../img/content/2/5.jpg");
}
#con_1 li:nth-child(6) {
  background-image: url("../img/content/2/6.jpg");
}

#con_1 .text_back {
  background: rgba(0, 0, 0, 0.2);
}
#con_1 li:nth-child(5) .text_back {
  background: rgba(13, 12, 0, 0.8);
}
#con_1 li:nth-child(4) .text_back {
  background: rgba(64, 1, 1, 0.8);
}
#con_1 li:nth-child(3) .text_back {
  background: rgba(217, 192, 163, 0.8);
}
#con_1 li:nth-child(2) .text_back {
  background: rgba(140, 120, 81, 0.8);
}
#con_1 li:nth-child(1) .text_back {
  background: rgba(34, 38, 1, 0.8);
}
#con_1 .text_back {
  background: rgba(0, 0, 0, 0.5);
}
#con_1 .text_box {
  height: 320px;
  color: #fff;
  transition: 0.3s all;
}

#con_1 .text_box p {
  font-size: 40px;
  line-height: 60px;
  position: relative;
  top: 110px;
}

#con_1 .text_box span {
  font-size: 15px;
  line-height: 40px;
  position: relative;
  top: 110px;
}

footer div {
  height: 100px;
  line-height: 100px;
  color: #fff;
  background-color: #333;
  display: block;
  margin-top: 100px;
}

/*-------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* @media only screen and (max-width: 1279px) and (min-width: 768px) {
  #margin_wrap {
    width: 100%;
  }

  #ad_wrap {
    background: url("../img/main.jpg");
    background-repeat: no-repeat;
    height: 900px;
    background-size: 100%;
  }
  #ad {
    background-size: 100%;
    color: #fff;
    position: relative;
    top: 350px;
  }
  #ad p {
    font-size: 40px;
    line-height: 50px;
    margin-left: 120px;
  }
  #ad span {
    font-size: 90px;
    line-height: 120px;
    margin-left: 120px;
    display: block;
  }
} */
