@charset "utf-8";

.play_content {
  width: 1064px;
  height: 594px;
  background: url(../img/bg_book.png) 0 100% no-repeat;
  opacity: 0;
  -webkit-transition: opacity 1.2s linear;
  -o-transition: opacity 1.2s linear;
  transition: opacity 1.2s linear;
}
#top.playArea .play_content {
  opacity: 1;
}
.play_wrap {
  position: relative;
  top: 17px;
  left: 60px;
  width: 940px;
  height: 555px;
  background: #000;
  overflow: hidden;
  /*background: url(../img/gimmick/bg.jpg) 0 0 no-repeat;*/
  /*-webkit-transition: opacity 1s linear;
  -o-transition: opacity 1s linear;
  transition: opacity 1s linear;*/
  z-index: 2;
}
#playArea.clear .play_wrap {
  visibility: hidden;
}
.pa_frame {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1000;
}

.play_content #player {
  position: absolute;
  top: 244px;
  left: 206px;
  width: 139px;
  height: 176px;
  z-index: 10;
}
#player #hime {
  position: relative;
  display: block;
  width: 139px;
  height: 176px;
  background: url(../img/gimmick/hime.png) 0 0 no-repeat;
  -webkit-transform-origin: 50%;
  -ms-transform-origin: 50%;
  transform-origin: 50%;
}
#player.reverse #hime {
  -webkit-transform: scale(-1,1);
  -ms-transform: scale(-1,1);
  transform: scale(-1,1);
}
#player.reverse #hanatsumi {
  -webkit-transform: scale(-1,1) translate(8px,0);
  -ms-transform: scale(-1,1) translate(8px,0);
  transform: scale(-1,1) translate(8px,0);
}
.play_content #hanatsumi {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 153px;
  height: 184px;
  background: url(../img/gimmick/hime.png) 0 0 no-repeat;
}
#balloon {
  position: absolute;
  bottom: 74%;
  left: 44%;
  display: block;
  width: 135px;
  height: 121px;
  background: url(../img/gimmick/fukidashi.png) 0 0 no-repeat;
  z-index: 15;
}
#balloon.pop {
  -webkit-animation: gimmickBalloon 0.2s linear both;
  animation: gimmickBalloon 0.2s linear both;
}
#balloon.disappearance {
  -webkit-animation: gimmickBalloon 0.2s linear reverse both;
  animation: gimmickBalloon 0.2s linear reverse both;
}
.play_content #ouji {
  position: absolute;
  top: 251px;
  left: 150px;
  width: 91px;
  height: 170px;
  background: url(../img/gimmick/ouji.png) 0 0 no-repeat;
  z-index: 10;
}
.play_content #ouji #hanamorai {
  position: relative;
  left: -7px;
}
.play_content #hanamorai {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 113px;
  height: 174px;
  background: url(../img/gimmick/ouji.png) 0 0 no-repeat;
}
.play_content #join {
  position: absolute;
  top: 248px;
  left: 158px;
  width: 173px;
  height: 173px;
  background: url(../img/gimmick/join.png) 0 0 no-repeat;
  z-index: 12;
}
.play_content #metamor {
  position: absolute;
  top: 96px;
  left: 83px;
  width: 427px;
  height: 343px;
  background: url(../img/gimmick/hime.png) 0 100% no-repeat;
  z-index: 12;
}
.play_content #okami {
  position: absolute;
  top: 112px;
  left: 92px;
  width: 533px;
  height: 319px;
  background: url(../img/gimmick/okami.png) 0 0 no-repeat;
  z-index: 12;
}
.play_content #tanuki {
  position: absolute;
  top: 335px;
  left: 1220px;
  -webkit-transform: scale(0.8);
  -ms-transform: scale(0.8);
  transform: scale(0.8);
  width: 214px;
  height: 106px;
  background: url(../img/gimmick/tanuki.png) 0 0 no-repeat;
  z-index: 10;
}
.play_content #efMeta {
  position: absolute;
  top: -126px;
  left: -4px;
  width: 646px;
  height: 746px;
  background: url(../img/gimmick/transform.png) 0 100% no-repeat;
  z-index: 15;
  -webkit-transform-origin: 43% 70%;
  -ms-transform-origin: 43% 70%;
  transform-origin: 43% 70%;
}
.play_content #efMeta.appear {
  -webkit-animation: effectTransform 1.65s linear infinite both;
  animation: effectTransform 1.65s linear infinite both;
}
.play_content #efMeta.mini {
  -webkit-transform: scale(0.5);
  -ms-transform: scale(0.5);
  transform: scale(0.5);
}
.play_content #efATK {
  position: absolute;
  top: 185px;
  left: 445px;
  width: 519px;
  height: 287px;
  background: url(../img/gimmick/attack.png) 0 100% no-repeat;
  z-index: 15;
}
.play_content #efDeath {
  position: absolute;
  top: 38px;
  left: 570px;
  width: 329px;
  height: 398px;
  background: url(../img/gimmick/death.png) 0 100% no-repeat;
  z-index: 15;
}
.play_content #efDeath.appear {
  -webkit-animation: effectTransform 2.15s linear infinite both;
  animation: effectTransform 2.15s linear infinite both;
}
.play_content #hime.hide,
.play_content #balloon.hide,
.play_content #join.hide,
.play_content #metamor.hide,
.play_content #okami.hide,
.play_content #tanuki.hide,
.play_content #efMeta.hide,
.play_content #efATK.hide,
.play_content #efDeath.hide,
.play_content #hanatsumi.hide,
.play_content #hanamorai.hide {
  visibility: hidden;
}
.play_content #ouji.hide {
  background: none;
}
#mapBg {
  position: absolute;
  top: 0;
  left: 0;
  width: 3100px;
  height: 560px;
}
#mapBg .bg_f {
  position: absolute;
  top: 0;
  left: 0;
  width: 2456px;
  height: 732px;
  -webkit-transform: translate3D(0px,-250px,0);
  -ms-transform: translate3D(0px,-250px,0);
  transform: translate3D(0px,-250px,0);
  background: url(../img/gimmick/bg_f.jpg) -741px 0 repeat-x;
}
#mapBg .bg_d {
  position: absolute;
  top: -157px;
  left: 0;
  -webkit-transform: translate3D(0px,0,0);
  -ms-transform: translate3D(0px,0,0);
  transform: translate3D(0px,0,0);
}
#mapBg .bg_c {
  position: absolute;
  top: -144px;
  left: 0;
  -webkit-transform: translate3D(28px,0,0);
  -ms-transform: translate3D(28px,0,0);
  transform: translate3D(28px,0,0);
}
#mapBg .ground {
  position: absolute;
  top: 204px;
  left: 0;
  width: 3100px;
  height: 493px;
}
#mapBg .ground .flower {
  position: absolute;
  top: 130px;
  left: 2000px;
  width: 117px;
  height: 109px;
  -webkit-transform: scale(0.6);
  -ms-transform: scale(0.6);
  transform: scale(0.6);
}
#mapBg .ground .flower:before {
  content: url(../img/gimmick/flower_light.png);
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 117px;
  height: 109px;
  z-index: 1;
  -webkit-animation: flowerFlash 2.5s linear infinite alternate;
  animation: flowerFlash 2.5s linear infinite alternate;
}
#mapBg .ground .flower img {
  position: relative;
  top: 32px;
  left: 30px;
  z-index: 2;
}
#front {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 70;
  pointer-events: none;
}
#front .fg_b {
  position: absolute;
  top: 260px;
  left: 0;
  width: 6639px;
  height: 597px;
  background: url(../img/gimmick/fg_b.png) 0 0 repeat-x;
}
#front .fg_a {
  position: absolute;
  top: -250px;
  left: 150px;
  width: 6200px;
  height: 980px;
  background: url(../img/gimmick/fg_a.png) -84px 0 repeat-x;
}
#eventBtn {
  position: absolute;
  display: none;
  /*background: rgba(255,100,100,0.3);*/
  -webkit-border-radius: 40%;
  border-radius: 40%;
  cursor: pointer;
  z-index: 80;
}
.scene1 #eventBtn {
  display: block;
  width: 86px;
  height: 160px;
  top: 260px;
  left: 228px;
}
.scene2 #eventBtn {
  display: block;
  width: 135px;
  height: 75px;
  top: 352px;
  left: 715px;
}
.scene3 #eventBtn {
  display: block;
  width: 30px;
  height: 40px;
  top: 372px;
  left: 502px;
}
#mekuri {
  position: absolute;
  top: 123px;
  left: 0;
  display: none;
  width: 1064px;
  height: 700px;
  background: url(../img/gimmick/mekuri.png) 0 0 no-repeat;
  z-index: -1;
}
#mekuri.appear {
  display: block;
  z-index: 10;
}
#wpWrap {
  position: absolute;
  top: 237px;
  left: 7px;
  width: 1047px;
  height: 576px;
  padding: 32px 0 0;
  background: url(../img/gimmick/bg_wp.png) 0 0 no-repeat;
  text-align: center;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  opacity: 0;
  z-index: -1;
  -webkit-transition: opacity 1.2s linear;
  -o-transition: opacity 1.2s linear;
  transition: opacity 1.2s linear;
}
#playArea #wpWrap.appear {
  z-index: 100;
  opacity: 1;
}
#wpWrap h2 {
  margin: 0 0 16px;
}
#wpWrap > a {
  -webkit-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  transition: all 0.3s linear;
}
#top.package #wpWrap > a {
  display: none;
}
#wpWrap > a:hover {
  -webkit-filter: brightness(1.07);
  filter: brightness(1.07);
}
ul.wallpaler {
  margin: 9px 0 0;
}
ul.wallpaler li {
  display: inline-block;
  width: 155px;
  height: 39px;
  margin: 0 7px;
}
ul.wallpaler li a,
ul.wallpaler li a img {
  display: block;
  width: 155px;
  height: 39px;
}
ul.wallpaler li a {
  background: 0 0 no-repeat;
}
ul.wallpaler li a img {
  opacity: 0;
  background: 0 100% no-repeat;
  -webkit-transition: opacity 0.3s linear;
  -o-transition: opacity 0.3s linear;
  transition: opacity 0.3s linear;
}
ul.wallpaler li a:hover img {
  opacity: 1;
}
.wallpaler .SXGA a,
.wallpaler .SXGA a img {
  background-image: url(../img/gimmick/btn_1280x1024.png);
}
.wallpaler .UXGA a,
.wallpaler .UXGA a img {
  background-image: url(../img/gimmick/btn_1600x1200.png);
}
.wallpaler .FHD a,
.wallpaler .FHD a img {
  background-image: url(../img/gimmick/btn_1920x1080.png);
}

/* アニメーション */
@-webkit-keyframes gimmickBalloon {
  0% {
    opacity: 0;
    -webkit-transform: scale(1.2, 0.85);
    transform: scale(1.2, 0.85);
  }
  60% {
    -webkit-transform: scale(0.85, 1.15);
    transform: scale(0.85, 1.15);
  }
  80% {
    -webkit-transform: scale(1.07, 0.93);
    transform: scale(1.07, 0.93);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
  }
}
@keyframes gimmickBalloon {
  0% {
    opacity: 0;
    -webkit-transform: scale(1.2, 0.75);
    transform: scale(1.2, 0.75);
  }
  60% {
    -webkit-transform: scale(0.85, 1.15);
    transform: scale(0.85, 1.15);
  }
  80% {
    -webkit-transform: scale(1.07, 0.93);
    transform: scale(1.07, 0.93);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
  }
}
@-webkit-keyframes effectTransform {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  55% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes effectTransform {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  55% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@-webkit-keyframes flowerFlash {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes flowerFlash {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}