/* ico_gacha_crane
---------- ---------- ---------- ---------- ---------- */
.ico_gacha_crane {
  display: inline-block;
  overflow: hidden;
  position: relative;
  padding: 0;
  font-size: 0;
  line-height: 0;
  background-image: url(../../images/gacha/crane/ico_gacha_crane.png);
  background-repeat: no-repeat;
  background-size: 590px 330px;
  text-indent: -9999px;
  vertical-align: top;
}

.ico_finger_joint {
  width: 70px;
  height: 28px;
  background-position: -420px 0;
}

.ico_finger_left {
  width: 59px;
  height: 66px;
  background-position: -250px 0;
}

.ico_finger_center {
  width: 22px;
  height: 78px;
  background-position: -320px 0;
}

.ico_finger_right {
  width: 59px;
  height: 72px;
  background-position: -350px 0;
}

.ico_gacha_crane_left {
  width: 86px;
  height: 84px;
  background-position: 0 -80px;
}

.ico_gacha_crane_right {
  width: 86px;
  height: 84px;
  background-position: -90px -80px;
}

.ico_gacha_crane_top {
  width: 86px;
  height: 84px;
  background-position: -270px -80px;
}

.ico_gacha_crane_bottom {
  width: 86px;
  height: 84px;
  background-position: -180px -80px;
}

.ico_gacha_crane_start {
  width: 102px;
  height: 97px;
  background-position: -360px -80px;
}

.ico_gacha_crane_start.small {
  width: 43px;
  height: 42px;
  background-position: 0 -60px;
}

.ico_gacha_crane_challenge {
  width: 102px;
  height: 97px;
  background-position: -470px -80px;
}

/* tit_crane
---------- ---------- ---------- ---------- ---------- */
.tit_crane_panel {
  width: 242px;
  height: 57px;
  background-position: 0 0;
}

/* btn_crane
---------- ---------- ---------- ---------- ---------- */
.btn_crane {
  border: 0 none;
  background-color: transparent;
  vertical-align: middle;
  cursor: pointer;
}

.btn_crane:active .ico_gacha_crane {
  background-position-y: -190px;
}

/* grp_crane_panel
---------- ---------- ---------- ---------- ---------- */
.grp_crane_panel {
  position: relative;
  z-index: 1;
  padding: 0 32px 26px 27px;
  border: 2px solid #3b7cbb;
  border-radius: 10px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background-color: #5498d9;
}

.grp_crane_panel:after {
  display: block;
  clear: both;
  content: '';
}

.grp_crane_panel .tit_crane_panel {
  float: left;
  margin-top: 31px;
}

.grp_crane_panel .grp_crane_tokens {
  float: right;
  margin-top: 31px;
}

.grp_crane_panel + .grp_crane_machine {
  border-top: 0 none;
  border-bottom: 0 none;
}

/* grp_crane_machine
---------- ---------- ---------- ---------- ---------- */
.grp_crane_machine {
  margin: 0 9px;
  border: 2px solid #bcbcbc;
  background-color: #fff;
}

.grp_crane_machine .inner_crane_machine {
  overflow: hidden;
  position: relative;
  height: 414px;
  margin: 0 19px;
  border: 2px solid #bcbcbc;
  border-top: 0 none;
  border-bottom: 0 none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.grp_crane_machine .grp_crane_arm {
  position: absolute;
  top: -198px;
  left: 50%;
  z-index: 1;
  margin-left: -11px;
}

.grp_crane_machine .grp_crane_prize {
  position: absolute;
  right: 0;
  bottom: -40px;
  left: 50%;
  z-index: 1;
  margin-left: -345px;
}

.grp_crane_machine .grp_crane_glass {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.grp_crane_machine .grp_crane_loading {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
}

/* grp_crane_tokens
---------- ---------- ---------- ---------- ---------- */
.grp_crane_tokens {
  display: inline-block;
  padding: 12px 24px 11px 18px;
  border: 2px solid #cd3399;
  border-radius: 53px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 0;
  background-color: #ff55a9;
}

.grp_crane_tokens .emph_crane_tokens,
.grp_crane_tokens .txt_crane_tokens {
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
}

.grp_crane_tokens .emph_crane_tokens {
  overflow: hidden;
  max-width: 490px;
  font-style: normal;
  font-family: 'barlow-bold';
  font-size: 26px;
  color: #fff;
  text-overflow: ellipsis;
}

.grp_crane_tokens .txt_crane_tokens {
  margin-left: 26px;
  font-family: 'barlow-semibold';
  font-size: 16px;
  color: #101010;
  text-transform: uppercase;
}

/* grp_crane_arm
---------- ---------- ---------- ---------- ---------- */
.grp_crane_arm {
  width: 22px;
  height: 336px;
  border-right: 2px solid #929292;
  border-left: 2px solid #929292;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background-color: #dadada;
  -webkit-animation-play-state: paused;
  -moz-animation-play-state: paused;
  -o-animation-play-state: paused;
  animation-play-state: paused;
}

.grp_crane_arm .grp_crane_finger {
  position: absolute;
  left: 50%;
  bottom: -50px;
  z-index: 1;
  margin-left: -74px;
}

.grp_crane_arm .grp_crane_lucky {
  display: none;
  position: absolute;
  bottom: -154px;
  left: 50%;
  margin-left: -77px;
}

.grp_crane_arm.shake {
  -webkit-animation: shake 0.04s linear infinite alternate;
  -moz-animation: shake 0.04s linear infinite alternate;
  -o-animation: shake 0.04s linear infinite alternate;
  animation: shake 0.04s linear infinite alternate;

  -webkit-animation-play-state: running;
  -moz-animation-play-state: running;
  -o-animation-play-state: running;
  animation-play-state: running;
}

/* grp_crane_finger
---------- ---------- ---------- ---------- ---------- */
.grp_crane_finger {
  width: 148px;
  height: 78px;
  transform-origin: 50% 0%;
}

.grp_crane_finger .ico_finger_joint {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  margin-left: -35px;
}

.grp_crane_finger .ico_finger_left {
  position: absolute;
  top: 6px;
  left: 0;
}

.grp_crane_finger .ico_finger_center {
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -11px;
}

.grp_crane_finger .ico_finger_right {
  position: absolute;
  top: 6px;
  right: 0;
}

/* challenge */
/* .grp_crane_finger.challenge .ico_finger_left {
  -webkit-transform: rotate(30deg);
  -ms-transform: rotate(30deg);
  -moz-transform: rotate(30deg);
  -o-transform: rotate(30deg);
  transform: rotate(30deg);

  -webkit-transition: transform 0.4s;
  -moz-transition: transform 0.4s;
  -o-transition: transform 0.4s;
  transition: transform 0.4s;

  -webkit-transform-origin: 100% 0%;
  -ms-transform-origin: 100% 0%;
  -moz-transform-origin: 100% 0%;
  -o-transform-origin: 100% 0%;
  transform-origin: 100% 0%;
}

.grp_crane_finger.challenge .ico_finger_center {
  top: -15px;
}

.grp_crane_finger.challenge .ico_finger_right {
  -webkit-transform: rotate(-30deg);
  -ms-transform: rotate(-30deg);
  -moz-transform: rotate(-30deg);
  -o-transform: rotate(-30deg);
  transform: rotate(-30deg);

  -webkit-transition: transform 0.4s;
  -moz-transition: transform 0.4s;
  -o-transition: transform 0.4s;
  transition: transform 0.4s;

  -webkit-transform-origin: 0% 0%;
  -ms-transform-origin: 0% 0%;
  -moz-transform-origin: 0% 0%;
  -o-transform-origin: 0% 0%;
  transform-origin: 0% 0%;
} */

/* squeeze */
.grp_crane_finger.squeeze .ico_finger_left {
  -webkit-transform: rotate(-30deg);
  -ms-transform: rotate(-30deg);
  -moz-transform: rotate(-30deg);
  -o-transform: rotate(-30deg);
  transform: rotate(-30deg);

  -webkit-transition: transform 0.4s;
  -moz-transition: transform 0.4s;
  -o-transition: transform 0.4s;
  transition: transform 0.4s;

  -webkit-transform-origin: 100% 0%;
  -ms-transform-origin: 100% 0%;
  -moz-transform-origin: 100% 0%;
  -o-transform-origin: 100% 0%;
  transform-origin: 100% 0%;
}

.grp_crane_finger.squeeze .ico_finger_center {
  top: 15px;

  -webkit-transition: top 0.4s;
  -moz-transition: top 0.4s;
  -o-transition: top 0.4s;
  transition: top 0.4s;
}

.grp_crane_finger.squeeze .ico_finger_right {
  -webkit-transform: rotate(30deg);
  -ms-transform: rotate(30deg);
  -moz-transform: rotate(30deg);
  -o-transform: rotate(30deg);
  transform: rotate(30deg);

  -webkit-transition: transform 0.4s;
  -moz-transition: transform 0.4s;
  -o-transition: transform 0.4s;
  transition: transform 0.4s;

  -webkit-transform-origin: 0% 0%;
  -ms-transform-origin: 0% 0%;
  -moz-transform-origin: 0% 0%;
  -o-transform-origin: 0% 0%;
  transform-origin: 0% 0%;
}

.grp_crane_finger.squeeze + .grp_crane_lucky {
  display: block;
}

/* swing */
.grp_crane_finger.swing {
  -webkit-animation: swing 1.8s linear infinite reverse;
  -moz-animation: swing 1.8s linear infinite reverse;
  -o-animation: swing 1.8s linear infinite reverse;
  animation: swing 1.8s linear infinite reverse;
}

/* grp_crane_lucky
---------- ---------- ---------- ---------- ---------- */
.grp_crane_lucky {
  width: 154px;
  height: 154px;
  background: url(../../images/gacha/crane/img_gacha_crane_grabbit.png) 0 0 no-repeat;
}

/* grp_crane_prize
---------- ---------- ---------- ---------- ---------- */
.grp_crane_prize {
  width: 708px;
  height: 253px;
  background: url(../../images/gacha/crane/img_gacha_crane_prize.png) 0 0 no-repeat;
}

/* grp_crane_switch
---------- ---------- ---------- ---------- ---------- */
.grp_crane_switch {
  position: relative;
  z-index: 1;
  height: 118px;
  padding: 12px 30px;
  border: 2px solid #848484;
  border-radius: 10px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 0;
  background-color: #a0a0a0;
}

.grp_crane_switch .inner_switch {
  margin-left: -14px;
}

.grp_crane_switch .inner_switch .btn_crane {
  margin-left: 14px;
}

.grp_crane_switch .grp_crane_challenge {
  position: absolute;
  top: 6px;
  right: 30px;
}

.grp_crane_switch + .grp_gacha_guide {
  margin: -8px 2px 0;
  padding-top: 35px;
}

.grp_crane_switch + .grp_gacha_guide:before {
  top: 2px;
  height: 10px;
}

/* crane_challenge
---------- ---------- ---------- ---------- ---------- */
.grp_crane_challenge .btn_crane {
  display: none;
}

.grp_crane_challenge .btn_crane.active {
  display: block;
}

/* grp_crane_glass
---------- ---------- ---------- ---------- ---------- */
.grp_crane_glass {
  width: 629px;
  height: 413px;
  background: url(../../images/gacha/crane/img_gacha_crane_glass.png) 0 0 no-repeat;
}

/* grp_crane_loading
---------- ---------- ---------- ---------- ---------- */
.grp_crane_loading {
  width: 629px;
  height: 413px;
}

/* @keyframes
---------- ---------- ---------- ---------- ---------- */
/* swing */
@-webkit-keyframes swing {
  0% {
    -webkit-transform: rotate(0deg);
  }
  25% {
    -webkit-transform: rotate(8deg);
  }
  75% {
    -webkit-transform: rotate(-8deg);
  }
}

@-moz-keyframes swing {
  0% {
    -moz-transform: rotate(0deg);
  }
  25% {
    -moz-transform: rotate(8deg);
  }
  75% {
    -moz-transform: rotate(-8deg);
  }
}

@-o-keyframes swing {
  0% {
    -o-transform: rotate(0deg);
  }
  25% {
    -o-transform: rotate(8deg);
  }
  75% {
    -o-transform: rotate(-8deg);
  }
}

@keyframes swing {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(8deg);
  }
  75% {
    transform: rotate(-8deg);
  }
}

/* shake */
@-webkit-keyframes shake {
  0% {
    -webkit-transform: translateX(-2px);
  }
  100% {
    -webkit-transform: translateX(2px);
  }
}

@-moz-keyframes shake {
  0% {
    -moz-transform: translateX(-2px);
  }
  100% {
    -moz-transform: translateX(2px);
  }
}

@-o-keyframes shake {
  0% {
    -o-transform: translateX(-2px);
  }
  100% {
    -o-transform: translateX(2px);
  }
}

@keyframes shake {
  0% {
    transform: translateX(-2px);
  }
  100% {
    transform: translateX(2px);
  }
}
