/* layout */
main {
  position: relative;
  background-image: url("../images/main/main_bg.png");
  background-size: cover;
  background-position-x: 50%;
  background-position-y: 70%;
  background-repeat: no-repeat;
}

/* Page 1 */
.main_banner {
  width: 700px;
  position: relative;
  text-align: center;
  margin: 0 auto;
  height: 200px;
  color: white;
  top: 38.3%;
}

@media screen and (max-width: 1500px) {
  .main_banner {
    top: 37%;
  }
}

.main_top_text {
  font-family: "nanum_light";
  margin-left: 7px;
  display: block;
  font-size: 23px;
  letter-spacing: 9px;
  color: rgb(227, 227, 227);
}

.main_line {
  display: inline-block;
  background-color: #c8a119;
  width: 355px;
  height: 2px;
}

.main_middle_text {
  display: block;
  font-size: 96px;
  font-weight: bold;
  color: white;
  margin-top: 8px;
}

.main_bottom_text {
  margin-top: 8px;
  font-family: "nanum_light";
  display: inline-block;
  font-size: 41px;
  letter-spacing: 1px;
  line-height: 0.75;
  color: rgb(227, 227, 227);
}

.main_bottom_text span {
  font-family: "nanum_light";
  font-weight: 900;
  font-size: 22px;
  margin-left: 152px;
  color: white;
}

/* Page 2 */
.second_margin {
  height: 33%;
}

.section_second {
  background-image: url(../images/main/second_bg.png);
  background-size: 90%;
  background-position-x: 40%;
}

@media screen and (max-width: 1500px) {
  .section_second {
    background-image: url(../images/main/second_bg.png);
    background-size: 93%;
    background-position-x: 30%;
    background-position-y: 50%;
  }
}

figure {
  position: relative;
}

.second_top {
  opacity: 0;
  text-align: center;
  min-width: 290px;
  margin: 0 auto;
  transform: translateY(40%);
  transition: all ease-out 0.8s;
}

.second_top_opacity {
  opacity: 1;
  transform: translateY(0);
}

.second_top p:first-child {
  width: 336.7px;
  margin: 0 auto;
  margin-bottom: 3px;
  font-family: "nanum_light";
  font-weight: bold;
  text-align: right;
  font-size: 18px;
}

.second_top p:nth-child(2) {
  font-size: 37px;
}

.second_text {
  min-width: 290px;
  font-family: "nanum_eb";
  font-weight: 1400;
  font-size: 49px;
  margin-top: 8px;
}

.second_bottom {
  opacity: 0;
  position: relative;
  left: 5px;
  text-align: center;
  margin-top: 100px;
  font-size: 21px;
  line-height: 1.5;
  color: #838383;
  transform: translateY(40%);
  transition: all ease-out 0.8s;
  transition-delay: 0.6s;
}

.second_bottom_opacity {
  opacity: 1;
  transform: translateY(0);
}

@media screen and (max-width: 1500px) {
  .second_bottom {
    position: relative;
    left: 7px;
  }
}

.second_bottom span {
  position: relative;
  left: 3px;
  display: block;
  font-size: 21px;
  color: #838383;
}

/* Page 3 */
.third_margin {
  height: 25%;
}

@media screen and (max-width: 1500px) {
  .third_margin {
    height: 22%;
  }
}
.section_third {
  background-image: url(../images/main/third_bg.png);
  background-size: 100% 100%;
}

.third_wrap {
  width: 1000px;
  margin: 0 auto;
}

.third_top {
  text-align: right;
}

.third_top p:first-child {
  font-size: 45px;
}

.third_top p span {
  font-family: "nanum_eb";
  font-size: 45px;
}

.third_top p:last-child {
  margin-top: 10px;
  font-family: "nanum_eb";
  font-size: 45px;
  color: white;
}

.third_middle {
  line-height: 1.3;
  text-align: right;
  margin-top: 19px;
}

.third_middle p {
  font-size: 19px;
}

.third_middle p span {
  margin-left: 2px;
  padding-left: 1.5px;
  font-size: 19px;
  background-color: white;
}

.third_images {
  position: relative;
  width: 1200px;
  margin-top: -6%;
}

.third_book {
  width: 702px;
  opacity: 0;
  margin-left: -100.5px;
  transition: all ease-out 1s;
}

.third_book_opacity {
  opacity: 1;
}

.third_phone {
  width: 370px;
  opacity: 0;
  margin-bottom: 118px;
  margin-left: 45px;
  transition: all ease-out 1s;
  transition-delay: 0.5s;
}

@media screen and (max-height: 750px) {
  .third_images {
    left: 120px;
    margin-top: -6%;
  }
  .third_book {
    width: 550px;
    position: relative;
    top: -50px;
    right: 50px;
  }
  .third_phone {
    width: 280px;
    margin-bottom: 100px !important;
    margin-left: 130px;
  }
  .third_bottom {
    text-align: right;
    margin-top: -99px !important;
    margin-right: 347px !important;
  }
}

.third_phone_opacity {
  opacity: 1;
}

.third_bottom {
  text-align: right;
  opacity: 0;
  font-size: 20px;
  color: white;
  margin-top: -111px;
  margin-right: 200px;
  transition: all ease-out 1s;
  transition-delay: 0.5s;
}

.third_bottom_opacity {
  opacity: 1;
}

@media screen and (max-width: 450px) {
  /* Page 1 */
  .section_margin {
    height: 43%;
  }

  .main_banner {
    width: 100%;
    top: 42%;
  }

  .main_top_text {
    width: 100%;
    font-size: 18px;
    margin-left: 0;
    letter-spacing: 7px;
    text-align: center;
  }

  .main_line {
    width: 72%;
  }

  .main_middle_text {
    font-size: 70px;
    margin-top: 8px;
  }

  .main_bottom_text {
    margin-top: 5px;
    font-size: 33px;
  }

  .main_bottom_text span {
    margin-left: 110px;
    font-size: 18px;
  }

  /* Page 2 */
  .second_margin {
    height: 40%;
  }

  .section_second {
    background-image: url(../images/main/mobile/second_bg.png);
    background-size: 105%;
    background-position-x: 87%;
  }
  figure {
    margin: 0;
  }

  .second_top {
    width: 300px;
    min-width: 0;
    margin: 0 auto;
    text-align: center;
  }

  .second_top p:first-child {
    position: relative;
    font-size: 14px;
    width: 217px;
    min-width: 0;
  }

  .second_top p {
    margin: 0 auto;
  }

  .second_top p:nth-child(2) {
    font-size: 24px;
    width: 280px;
    min-width: 0;
  }

  .second_text {
    width: 250px;
    min-width: 0;
    font-size: 36px;
  }

  .second_bottom {
    width: 100%;
    margin: 0 auto;
    margin-top: 90px;
    left: 0;
    font-size: 15px;
  }

  .second_bottom span {
    font-size: 15px;
  }

  /* Page 3 */
  .third_margin {
    height: 18%;
  }
  .section_third {
    background-image: url(../images/main/mobile/third_bg.png);
    background-size: cover;
  }

  .third_wrap {
    width: 100%;
  }

  .third_top {
    text-align: left;
  }

  .third_top p:first-child {
    width: 300px;
    font-size: 25px;
    margin-left: 9%;
  }

  .third_top p span {
    font-size: 25px;
  }

  .third_top p:last-child {
    width: 320px;
    margin-top: 2px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    font-size: 25px;
  }

  .third_middle {
    margin: 20px 0;
    text-align: center;
  }

  .third_middle p {
    font-size: 13px;
  }

  .third_middle p span {
    font-size: 13px;
    background-color: transparent;
  }

  .third_images {
    width: 100%;
    margin-top: -25px;
    left: 0 !important;
    text-align: center;
  }

  .third_book {
    position: relative;
    margin: 0 auto;
    right: 0 !important;
    top: 0 !important;
    width: 100%;
  }

  .third_phone {
    position: relative;
    margin: 0 auto;
    width: 60%;
    top: -10px;
  }

  .third_bottom {
    width: 100%;
    text-align: center;
    margin-top: 10px;
    font-size: 18px;
    font-weight: 900;
    position: relative;
    top: -20px;
  }
}
