img {
  display: block;
  width: 100%;
}

.btn_y .hat,
.btn_g .hat {
  width: auto;
}

.wrapper {
  padding-top: 80px;
  min-height: calc(90vh - 80px);
  background: #ffd522;
}

.wrapper .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2vh 0 0;
  position: relative;
}

.wrapper .container .title1 {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
}

.wrapper .container .pos {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.wrapper .btn_box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding-top: 3vh;
  margin-bottom: 5vh;
}

.wrapper .btn_box li {
  margin: 0 20px;
}

.wrapper .btn_box .btn_y {
  margin: 0;
}

.wrapper .deco1 {
  position: fixed;
  bottom: 48vh;
  left: 5%;
  width: 20vw;
}

.wrapper .deco2 {
  position: fixed;
  bottom: 48vh;
  right: 5%;
  width: 20vw;
}

.wrapper .bottom_bg {
  position: fixed;
  bottom: 9.9vh;
  left: 0;
  width: 100%;
  height: 38vh;
  background: #ffffd4;
}

.wrapper .bottom_bg .wave {
  position: absolute;
  top: -23px;
  right: 0;
  width: 100%;
  height: 24px;
  background: url(../images/entrance/wave.png) center repeat-x;
  background-size: contain;
}

.wrapper .bottom_bg .img {
  position: absolute;
  top: -15vh;
  width: 550px;
  left: calc(50% - 275px);
  -webkit-animation: limit_ani infinite;
          animation: limit_ani infinite;
  -webkit-animation-duration: 0.6s;
          animation-duration: 0.6s;
  animation-direction: alternate-reverse;
}

.wrapper .bottom_bg .img2 {
  position: absolute;
  width: 280px;
  left: calc(50% - 140px);
  -webkit-animation: limit_ani2 infinite;
          animation: limit_ani2 infinite;
  -webkit-animation-duration: 0.6s;
          animation-duration: 0.6s;
  animation-direction: alternate-reverse;
}

@-webkit-keyframes limit_ani {
  from {
    top: -14vh;
  }
  to {
    top: -13vh;
  }
}

@keyframes limit_ani {
  from {
    top: -14vh;
  }
  to {
    top: -13vh;
  }
}

@-webkit-keyframes limit_ani2 {
  from {
    top: -18vh;
  }
  to {
    top: -17vh;
  }
}

@keyframes limit_ani2 {
  from {
    top: -18vh;
  }
  to {
    top: -17vh;
  }
}

@media screen and (max-width: 1600px) {
  .wrapper .bottom_bg .img {
    width: 450px;
    left: calc(50% - 225px);
  }
  .wrapper .bottom_bg .img2 {
    width: 220px;
    left: calc(50% - 110px);
  }
}

@media screen and (max-width: 820px) {
  .wrapper {
    background-position: center bottom;
  }
  .wrapper .container {
    position: fixed;
    top: 20vh;
    left: 0;
    right: 0;
    padding: 0;
  }
  .wrapper .deco_box {
    width: 68vw;
    margin: 10vh auto 0;
    -webkit-animation: none;
            animation: none;
  }
}

@media screen and (max-width: 768px) {
  .wrapper {
    padding-top: 50px;
    min-height: calc(90vh - 50px);
  }
  .wrapper .deco1, .wrapper .deco2 {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .wrapper .container {
    top: 15vh;
  }
  .wrapper .container .title1 {
    font-size: 24px;
  }
  .wrapper .btn_box {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-bottom: 0;
  }
  .wrapper .btn_box li {
    margin-bottom: 40px;
  }
  .wrapper .bottom_bg {
    height: 13vh;
  }
  .wrapper .bottom_bg .img {
    width: 240px;
    left: calc(50% - 120px);
  }
  .wrapper .bottom_bg .img2 {
    width: 150px;
    left: calc(50% - 75px);
  }
  @-webkit-keyframes limit_ani {
    from {
      top: -15vh;
    }
    to {
      top: -15.5vh;
    }
  }
  @keyframes limit_ani {
    from {
      top: -15vh;
    }
    to {
      top: -15.5vh;
    }
  }
  @-webkit-keyframes limit_ani2 {
    from {
      top: -22vh;
    }
    to {
      top: -21vh;
    }
  }
  @keyframes limit_ani2 {
    from {
      top: -22vh;
    }
    to {
      top: -21vh;
    }
  }
}

@media screen and (max-width: 375px) {
  .wrapper .container {
    top: 10vh;
  }
  .wrapper .deco_box {
    width: 80vw;
    margin: 2.5vh auto 0;
  }
  .wrapper.limit18no_page .deco_box {
    margin: 12.5vh auto 0;
  }
}
