/*-------------
popup
---------------*/
#popup {
  position: absolute;
  width: 700px;
  height: 815px;
  top: 50%;
  left: 50%;
  margin-top: -408px;
  margin-left: -350px;
  background: #f8d000;
}
#popup .popBox {
  position: relative;
}
#popup .popBox .popBox_inn {
  position: relative;
  width: 630px;
  height: 754px;
  padding-top: 35px;
  margin: 0 auto;
}
#popup .popBox .m_top {
  position: absolute;
  width: 630px;
  height: 754px;
  background: url("../images/top/fortune/top_bg.jpg") no-repeat center top;
  z-index: 1;
}
#popup .popBox .m_top .inner {
  text-align: center;
}
#popup .popBox .m_top .inner .title {
  padding-top: 34px;
}
#popup .popBox .m_top .inner .txt1 {
  margin-top: 28px;
  opacity: 0;
}
#popup .popBox .m_top .inner .txt2 {
  margin-top: 28px;
  display: none;
}
#popup .popBox .m_top .inner .bear1 {
  position: absolute;
  top: 379px;
  left: 30px;
  opacity: 0;
}
#popup .popBox .m_top .inner .bear2 {
  position: absolute;
  top: 272px;
  left: 28px;
  display: none;
}
#popup .popBox .m_top .inner .btn {
  position: absolute;
  width: 226px;
  top: 430px;
  left: 334px;
  opacity: 0;
  transform: scale(1) translateY(0px);
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  z-index: 10;
}
#popup .popBox .m_top .inner .btn a {
  display: inline-block;
  width: 100%;
  pointer-events: auto;
}
#popup .popBox .m_top .inner .btn a:hover {
  opacity: 1;
}
#popup .popBox .m_top .inner .btn a img {
  width: 100%;
  height: auto;
}
.btn-hover img {
  transition: all 0.2s ease-out;
}
.btn-hover:hover img {
  transform: scale(1.05);
}

#popup .popBox .m_top .inner .btn.run {
  width: 300px;
  top: 355px;
  left: 189px;
}
#popup .popBox .m_top .inner .btn.run2 {
  transform: scale(1.5) translateY(-60px);
}
#popup .popBox .m_top .inner .btn.run a {
  pointer-events: none;
}

#popup .popBox .m_top .inner .link_terms a {
  color: #f00;
  font-weight: bold;
  font-size: 2rem;
  line-height: 1;
  text-decoration: underline;
}
#popup .popBox .m_top .inner .link_terms a:hover {
  text-decoration: none;
}
#popup .popBox .m_top .inner ul {
  text-align: center;
  margin: 37px -40px 0;
}
#popup .popBox .m_top .inner ul li {
  display: inline-block;
  width: 292px;
  vertical-align: top;
}
#popup .popBox .m_top .inner ul li.btn1 {
  width: 270px;
  margin-right: 32px;
}
#popup .popBox .m_top .inner p.txt {
  display: inline-block;
  text-align: left;
  color: #f00;
  font-weight: bold;
  font-size: 2.2rem;
  line-height: 1.85;
}
#popup .popBox .result {
  display: none;
  position: absolute;
  width: 630px;
  height: 754px;
  background: url("../images/top/fortune/result_bg.png") no-repeat center top;
  z-index: 0;
}
#popup .popBox .result .inner {
  position: relative;
  width: 592px;
  height: 716px;
  margin: 18px auto 0;
}
#popup .popBox .result .result_s {
  position: relative;
  display: none;
}
#popup .popBox .result .res15 {
}
#popup .popBox .result .result_s .img {
  position: relative;
}
#popup .popBox .result .result_s .link_tit {
  width: 501px;
  margin: 29px auto 0;
}
#popup .popBox .result .result_s .link {
  width: 501px;
  margin: 2px auto 0;
}
#popup .popBox .result .result_s .link a {
  display: block;
  width: 100%;
  background: url("../images/top/fortune/result_btn_bg.png") no-repeat center
    top;
}
#popup .popBox .result .result_s .star_wrap {
  position: absolute;
  z-index: 1;
}
#popup .popBox .result .result_s .star_wrap .star {
  position: absolute;
  opacity: 0;
}
#popup .popBox .result .result_s .star_wrap .star.run {
  opacity: 1;
  -webkit-animation: flickerAnimation2 0.6s 3 ease;
  -moz-animation: flickerAnimation2 0.6s 3 ease;
  -o-animation: flickerAnimation2 0.6s 3 ease;
  animation: flickerAnimation2 0.6s 3 ease;
}
#popup .popBox .result .result_s .star_wrap .star1 {
  top: 82px;
  left: 307px;
}
#popup .popBox .result .result_s .star_wrap .star2 {
  top: 197px;
  left: 60px;
}
#popup .popBox .result .result_s .star_wrap .star3 {
  top: 325px;
  left: 30px;
}
#popup .popBox .result .result_s .star_wrap .star4 {
  top: 401px;
  left: 86px;
}
#popup .popBox .result .result_s .star_wrap .star5 {
  top: 234px;
  left: 505px;
}
#popup .popBox .result .result_s .star_wrap .star6 {
  top: 395px;
  left: 497px;
}

@keyframes flickerAnimation {
  0% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  75% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-o-keyframes flickerAnimation {
  0% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  75% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-moz-keyframes flickerAnimation {
  0% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  75% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes flickerAnimation {
  0% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  75% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes flickerAnimation2 {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}
@-o-keyframes flickerAnimation2 {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}
@-moz-keyframes flickerAnimation2 {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}
@-webkit-keyframes flickerAnimation2 {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

/*-- res2 --*/
#popup .popBox .result .result_s.res2 .star_wrap .star1 {
  top: 131px;
  left: 329px;
}
#popup .popBox .result .result_s.res2 .star_wrap .star2 {
  top: 166px;
  left: 118px;
}
#popup .popBox .result .result_s.res2 .star_wrap .star3 {
  top: 255px;
  left: 30px;
}
#popup .popBox .result .result_s.res2 .star_wrap .star4 {
  top: 171px;
  left: 506px;
}
#popup .popBox .result .result_s.res2 .star_wrap .star5 {
  top: 264px;
  left: 545px;
}
#popup .popBox .result .result_s.res2 .star_wrap .star6 {
  top: 97px;
  left: 244px;
}

/*-- res3 --*/
#popup .popBox .result .result_s.res3 .star_wrap .star1 {
  top: 178px;
  left: 57px;
}
#popup .popBox .result .result_s.res3 .star_wrap .star2 {
  top: 305px;
  left: 76px;
}
#popup .popBox .result .result_s.res3 .star_wrap .star3 {
  top: 292px;
  left: 514px;
}
#popup .popBox .result .result_s.res3 .star_wrap .star4 {
  top: 72px;
  left: 345px;
}
#popup .popBox .result .result_s.res3 .star_wrap .star5 {
  top: 194px;
  left: 505px;
}
#popup .popBox .result .result_s.res3 .star_wrap .star6 {
  top: 41px;
  left: 278px;
}

/*-- res4 --*/
#popup .popBox .result .result_s.res4 .star_wrap .star1 {
  top: 412px;
  left: 157px;
}
#popup .popBox .result .result_s.res4 .star_wrap .star2 {
  top: 370px;
  left: 40px;
}
#popup .popBox .result .result_s.res4 .star_wrap .star3 {
  top: 426px;
  left: 413px;
}
#popup .popBox .result .result_s.res4 .star_wrap .star4 {
  top: 276px;
  left: 494px;
}
#popup .popBox .result .result_s.res4 .star_wrap .star5 {
  top: 392px;
  left: 493px;
}
#popup .popBox .result .result_s.res4 .star_wrap .star6 {
  top: 265px;
  left: 84px;
}

/*-- res5 --*/
#popup .popBox .result .result_s.res5 .star_wrap .star1 {
  top: 231px;
  left: 33px;
}
#popup .popBox .result .result_s.res5 .star_wrap .star2 {
  top: 107px;
  left: 255px;
}
#popup .popBox .result .result_s.res5 .star_wrap .star3 {
  top: 150px;
  left: 448px;
}
#popup .popBox .result .result_s.res5 .star_wrap .star4 {
  top: 80px;
  left: 326px;
}
#popup .popBox .result .result_s.res5 .star_wrap .star5 {
  top: 215px;
  left: 514px;
}
#popup .popBox .result .result_s.res5 .star_wrap .star6 {
  top: 144px;
  left: 114px;
}

/*-- res6 --*/
#popup .popBox .result .result_s.res6 .star_wrap .star1 {
  top: 395px;
  left: 33px;
}
#popup .popBox .result .result_s.res6 .star_wrap .star2 {
  top: 270px;
  left: 545px;
}
#popup .popBox .result .result_s.res6 .star_wrap .star3 {
  top: 250px;
  left: 64px;
}
#popup .popBox .result .result_s.res6 .star_wrap .star4 {
  top: 402px;
  left: 533px;
}
#popup .popBox .result .result_s.res6 .star_wrap .star5 {
  top: 305px;
  left: 7px;
}
#popup .popBox .result .result_s.res6 .star_wrap .star6 {
  top: 217px;
  left: 483px;
}

/*-- res7 --*/
#popup .popBox .result .result_s.res7 .star_wrap .star1 {
  top: 406px;
  left: 124px;
}
#popup .popBox .result .result_s.res7 .star_wrap .star2 {
  top: 414px;
  left: 386px;
}
#popup .popBox .result .result_s.res7 .star_wrap .star3 {
  top: 277px;
  left: 164px;
}
#popup .popBox .result .result_s.res7 .star_wrap .star4 {
  top: 372px;
  left: 43px;
}
#popup .popBox .result .result_s.res7 .star_wrap .star5 {
  top: 300px;
  left: 90px;
}
#popup .popBox .result .result_s.res7 .star_wrap .star6 {
  top: 307px;
  left: 473px;
}

/*-- res8 --*/
#popup .popBox .result .result_s.res8 .star_wrap .star1 {
  top: 290px;
  left: 467px;
}
#popup .popBox .result .result_s.res8 .star_wrap .star2 {
  top: 70px;
  left: 456px;
}
#popup .popBox .result .result_s.res8 .star_wrap .star3 {
  top: 159px;
  left: 540px;
}
#popup .popBox .result .result_s.res8 .star_wrap .star4 {
  top: 125px;
  left: 15px;
}
#popup .popBox .result .result_s.res8 .star_wrap .star5 {
  top: 216px;
  left: 76px;
}
#popup .popBox .result .result_s.res8 .star_wrap .star6 {
  top: 30px;
  left: 176px;
}

/*-- res9 --*/
#popup .popBox .result .result_s.res9 .star_wrap .star1 {
  top: 414px;
  left: 452px;
}
#popup .popBox .result .result_s.res9 .star_wrap .star2 {
  top: 411px;
  left: 141px;
}
#popup .popBox .result .result_s.res9 .star_wrap .star3 {
  top: 151px;
  left: 543px;
}
#popup .popBox .result .result_s.res9 .star_wrap .star4 {
  top: 255px;
  left: 16px;
}
#popup .popBox .result .result_s.res9 .star_wrap .star5 {
  top: 164px;
  left: 40px;
}
#popup .popBox .result .result_s.res9 .star_wrap .star6 {
  top: 60px;
  left: 466px;
}

/*-- res10 --*/
#popup .popBox .result .result_s.res10 .star_wrap .star1 {
  top: 292px;
  left: 471px;
}
#popup .popBox .result .result_s.res10 .star_wrap .star2 {
  top: 191px;
  left: 81px;
}
#popup .popBox .result .result_s.res10 .star_wrap .star3 {
  top: 178px;
  left: 550px;
}
#popup .popBox .result .result_s.res10 .star_wrap .star4 {
  top: 283px;
  left: 48px;
}
#popup .popBox .result .result_s.res10 .star_wrap .star5 {
  top: 164px;
  left: 194px;
}
#popup .popBox .result .result_s.res10 .star_wrap .star6 {
  top: 110px;
  left: 482px;
}

/*-- res11 --*/
#popup .popBox .result .result_s.res11 .star_wrap .star1 {
  top: 416px;
  left: 418px;
}
#popup .popBox .result .result_s.res11 .star_wrap .star2 {
  top: 312px;
  left: 92px;
}
#popup .popBox .result .result_s.res11 .star_wrap .star3 {
  top: 381px;
  left: 498px;
}
#popup .popBox .result .result_s.res11 .star_wrap .star4 {
  top: 412px;
  left: 76px;
}
#popup .popBox .result .result_s.res11 .star_wrap .star5 {
  top: 356px;
  left: 154px;
}
#popup .popBox .result .result_s.res11 .star_wrap .star6 {
  top: 298px;
  left: 401px;
}

/*-- res12 --*/
#popup .popBox .result .result_s.res12 .star_wrap .star1 {
  top: 415px;
  left: 127px;
}
#popup .popBox .result .result_s.res12 .star_wrap .star2 {
  top: 300px;
  left: 46px;
}
#popup .popBox .result .result_s.res12 .star_wrap .star3 {
  top: 426px;
  left: 343px;
}
#popup .popBox .result .result_s.res12 .star_wrap .star4 {
  top: 390px;
  left: 49px;
}
#popup .popBox .result .result_s.res12 .star_wrap .star5 {
  top: 332px;
  left: 483px;
}
#popup .popBox .result .result_s.res12 .star_wrap .star6 {
  top: 409px;
  left: 461px;
}

/*-- res13 --*/
#popup .popBox .result .result_s.res13 .star_wrap .star1 {
  top: 12px;
  left: 397px;
}
#popup .popBox .result .result_s.res13 .star_wrap .star2 {
  top: 70px;
  left: 348px;
}
#popup .popBox .result .result_s.res13 .star_wrap .star3 {
  top: 173px;
  left: 538px;
}
#popup .popBox .result .result_s.res13 .star_wrap .star4 {
  top: 100px;
  left: 544px;
}
#popup .popBox .result .result_s.res13 .star_wrap .star5 {
  top: 120px;
  left: 489px;
}
#popup .popBox .result .result_s.res13 .star_wrap .star6 {
  top: 19px;
  left: 275px;
}

/*-- res14 --*/
#popup .popBox .result .result_s.res14 .star_wrap .star1 {
  top: 240px;
  left: 168px;
}
#popup .popBox .result .result_s.res14 .star_wrap .star2 {
  top: 215px;
  left: 86px;
}
#popup .popBox .result .result_s.res14 .star_wrap .star3 {
  top: 173px;
  left: 541px;
}
#popup .popBox .result .result_s.res14 .star_wrap .star4 {
  top: 425px;
  left: 44px;
}
#popup .popBox .result .result_s.res14 .star_wrap .star5 {
  top: 242px;
  left: 526px;
}
#popup .popBox .result .result_s.res14 .star_wrap .star6 {
  top: 80px;
  left: 475px;
}

/*-- res15 --*/
#popup .popBox .result .result_s.res15 .star_wrap .star1 {
  top: 60px;
  left: 154px;
}
#popup .popBox .result .result_s.res15 .star_wrap .star2 {
  top: 147px;
  left: 234px;
}
#popup .popBox .result .result_s.res15 .star_wrap .star3 {
  top: 77px;
  left: 250px;
}
#popup .popBox .result .result_s.res15 .star_wrap .star4 {
  top: 357px;
  left: 22px;
}
#popup .popBox .result .result_s.res15 .star_wrap .star5 {
  top: 68px;
  left: 25px;
}
#popup .popBox .result .result_s.res15 .star_wrap .star6 {
  top: 299px;
  left: 68px;
}

#popup .popBox .mfp-close {
  border: 2px solid #ffdc33;
  background: linear-gradient(to bottom, #ffe94e 0, #ffdb30 100%);
  color: #6b3b3e;
  font-size: 40px;
  font-weight: normal;
  border-radius: 5px;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 1.2;
  position: absolute;
  top: -65px;
  right: 0px;
  cursor: pointer;
}
#popup .popBox .mfp-close span {
  display: inline-block;
  position: relative;
  top: -3px;
}
#popup .popBox .mfp-close * {
  pointer-events: none;
}