/* img */
.logo img {
  display: block;
  width: 100%;
}
.webbox {
  width: 100%;
  position: relative;
  overflow: hidden;
}
/* head */
.tbbtbox {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 380px;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
}
.tbtl {
  width: 20%;
  margin: 0 2%;
  color: #ffffff;
  height: 30px;
  background-color: rgba(149, 149, 183, 0.5);
  text-align: center;
  line-height: 2em;
  border-radius: 0.5em;
}
.tbt1,
.tbt2 {
  width: 10%;
  margin: 0 2%;
}
.head {
  position: relative;
  background: url("../images/index_01.jpg") no-repeat;
  background-size: 100% auto;
  padding-bottom: 54%;
}
.yaya {
  position: absolute;
  top: 25%;
  width: 8%;
  left: 50%;
  margin-left: -25%;
  z-index: 5;
  animation: moveUpDown 3s infinite ease-in-out;
}
.myk {
  position: absolute;
  bottom: 25%;
  width: 8%;
  left: 50%;
  margin-left: 15%;
  z-index: 5;
  transform-origin: 50% 100%;
  animation: sway 2s infinite ease-in-out;
}
.ttbox {
  position: absolute;
  width: 100%;
  z-index: 5;
}
.tpbx {
  position: relative;
  top: 0;
  width: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 255, 0) 0%,
    rgb(27, 187, 255) 100%
  );

  height: 10vw;
}
.blk {
  padding: 5px;
  background-color: rgba(44, 33, 28, 0.5);
  border-radius: 0.5em;
  color: #faffa4;
  text-align: center;
}

.slobx {
  width: 46%;
  position: absolute;
  top: 3%;
  left: 50%;
  margin-left: -25%;
  z-index: 9;
}
.slo2 {
  width: 80%;
  margin: 0 auto;
}
.logo {
  width: 10%;
  position: absolute;
  margin: 10px 0 0 10px;
  cursor: pointer;
}

/* if */
#bubox {
  position: relative;
  width: 100%;
  margin: 20px 0 0 0px;
  text-align: center;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
}
#bubox a {
  width: 25%;
  background-position: 0 0;
  cursor: pointer;
  margin: 0px;
}
.bu01 {
  width: 100%;
  background-image: url(../images/but_01.png);
  background-size: 100% auto;
}
.bu02 {
  width: 100%;
  background-image: url(../images/but_02.png);
  background-size: 100% auto;
}
.bu03 {
  width: 100%;
  background-image: url(../images/but_03.png);
  background-size: 100% auto;
}
.bu04 {
  width: 100%;
  background-image: url(../images/but_04.png);
  background-size: 100% auto;
}
.bu05 {
    width: 100%;
    background-image: url(../images/but_05.png);
    background-size: 100% auto;
}

#bubox a:hover {
  background-position: 0 12.75vw;
}
#lottery1 {
  width: 100%;
  text-align: center;
  /* margin: -15px 0 20px 0; */
  position: relative;
}
iframe {
  width: 100%;
}
/* content */

.conbox {
  width: 60%;
  margin: 0 auto;
}
.content {
  position: relative;
  width: 100%;
  background: url("../images/index_02.jpg");
  background-size: 100% auto;
  font-size: 1.1em;
}
.contimt {
  position: relative;
  background: url("../images/contu.png");
  background-size: 100% auto;
}
/* topbt */
.dtt {
  position: fixed;
  width: 100%;
  max-width: 2000px;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 11;
}
.topbt {
  position: absolute;
  width: 70px;
  padding-bottom: 69px;
  display: none;
  cursor: pointer;
  background-attachment: scroll;
  background-image: url(../images/top.png);
  background-repeat: no-repeat, no-repeat;
  background-position: 50% 50%, 50% 50%;
  background-size: 100% auto, 100% auto;
  bottom: 10px;
  right: 10px;
  z-index: 11;
  transition: all 0.3s;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
}
video {
  width: 100%;
  height: 100%;
}
.particle {
  position: absolute;
  width: 110%;
  height: 110%;
  left: 50%;
  margin-left: -55%;
  mix-blend-mode: screen;
  pointer-events: none;
  margin-top: -18%;
  z-index: 3;
  -webkit-filter: brightness(2);
}
.topbbg {
  width: 100%;
  position: absolute;
  z-index: 3;
}
@media only screen and (max-width: 1200px) {
  .conbox {
    width: 90%;
    margin: 0 auto;
  }
}
@media only screen and (max-width: 780px) {
  .webbox {
    width: 780px;
    position: relative;
    overflow: hidden;
  }
  .slo2 {
    width: 98%;
    margin: 0 auto;
  }
  .yaya {
    position: absolute;
    top: 38%;
    width: 13%;
    left: 50%;
    margin-left: -37%;
    z-index: 5;
    animation: moveUpDown 3s infinite ease-in-out;
  }
  .myk {
    position: absolute;
    bottom: 30%;
    width: 18%;
    left: 50%;
    margin-left: 27%;
    z-index: 5;
    transform-origin: 50% 100%;
    animation: sway 2s infinite ease-in-out;
  }
  .topbbg,
  .particle {
    display: none;
  }
  .logo {
    width: 25%;
    position: absolute;
    margin: 10px 0 0 10px;
  }
  .slobx {
    width: 98%;
    position: absolute;
    top: 7%;
    left: 50%;
    margin-left: -49%;
  }
  .head {
    position: relative;
    background: url("../images/indexmb.jpg") no-repeat;
    background-size: 100% auto;
    padding-bottom: 135%;
  }
  .conbox {
    width: 98%;
    margin: 0 auto;
  }
  .contimt {
    position: relative;
    background: url("../images/contu.png");
    background-size: 137% auto;
    background-position: center 0;
  }
}
/* anima */
@keyframes moveUpDown {
  0% {
    transform: translate(-50%, -50%) translateY(-15px);
  }
  50% {
    transform: translate(-50%, -50%) translateY(15px);
  }
  100% {
    transform: translate(-50%, -50%) translateY(-15px);
  }
}
@keyframes sway {
  0% {
    transform: translate(-50%, -50%) rotate(-10deg);
  }
  50% {
    transform: translate(-50%, -50%) rotate(10deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(-10deg);
  }
}
