@charset "UTF-8";
/* ==================
    common for SP
================== */
/* SukuSukuBox */
#sukusukubox {
  margin: 0 auto;
  padding: 0;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: url(../images/top_box/topbox_border_sp2.png) center center
    no-repeat;
  background-size: auto 250px;
}
#ssb-inner {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: #ccc;
}
#ssb-inner.loaded {
  background: none;
}
#ssb-inner.loaded img {
  opacity: 0;
}
#loading {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #f0f0f0 url(../images/loading.svg) center center no-repeat;
  background-size: 32px 32px;
  z-index: 100;
}
.loaded #loading {
  background: none;
}
#Sakura,
#Cloud,
#Splashe,
#Snow1,
#Snow2,
#Snow3,
#Leaf1,
#Leaf2,
#Leaf3 {
  display: none;
}
.loaded #StarBgBase {
  position: absolute;
  width: 100vw;
  height: 100vw;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  text-align: center;
  z-index: -10;
  animation: StarBase-ani 6s ease 0s 1 normal forwards running;
}
.loaded #StarBgPink {
  position: absolute;
  width: 150%;
  height: 100%;
  left: -25%;
  margin: auto;
  text-align: center;
  z-index: 2;
  animation: StarPink-ani 6s ease 0.4s 1 normal forwards running;
}
.loaded #StarBgBlue {
  position: absolute;
  width: 150%;
  height: 100%;
  left: -25%;
  margin: auto;
  text-align: center;
  z-index: 3;
  animation: StarBlue-ani 6s ease 0.6s 1 normal forwards running;
}
.loaded #StarBgOrange {
  position: absolute;
  width: 150%;
  height: 100%;
  left: -25%;
  margin: auto;
  text-align: center;
  z-index: 4;
  animation: StarOrange-ani 6s ease 1s 1 normal forwards running;
}
.loaded #Kotoshimo {
  position: absolute;
  top: 0;
  left: -60px;
  width: 60px;
  height: 70px;
  z-index: 10;
  animation: Kotoshimo-ani 0.5s ease 12s 1 normal forwards running;
}
.loaded #Catchcopy {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 100%;
  height: auto;
  text-align: center;
  z-index: 98;
  animation: Copy-ani 6s ease 5s 1 normal forwards running;
}

.loaded #Rabbit-big {
  position: absolute;
  width: 160px;
  height: 420px;
  z-index: 10;
  animation: Rabbit-big-ani 4s ease-in-out 6s infinite alternate forwards
    running;
}
.loaded #Rabbit-min {
  position: absolute;
  width: 120px;
  height: 420px;
  z-index: 11;
  animation: Rabbit-min-ani 4s ease-in-out 6s infinite alternate forwards
    running;
}
.loaded #Whale-big {
  position: absolute;
  width: 400px;
  height: 240px;
  z-index: 10;
  animation: Whale-big-ani 6s ease-in-out 8s infinite normal forwards running;
}
.loaded #Whale-min {
  position: absolute;
  width: 280px;
  height: 240px;
  z-index: 11;
  animation: Whale-min-ani 6s ease-in-out 8s infinite normal forwards running;
}
.loaded #Bear-big {
  position: absolute;
  width: 300px;
  height: 420px;
  z-index: 10;
  animation: Bear-big-ani 4s ease-in-out 10s infinite normal forwards running;
}
.loaded #Bear-min {
  position: absolute;
  width: 160px;
  height: 420px;
  z-index: 11;
  animation: Bear-min-ani 4s ease-in-out 10s infinite normal forwards running;
}
.loaded #Snowman-big {
  position: absolute;
  width: 200px;
  height: 420px;
  z-index: 10;
  animation: Snowman-big-ani 4s ease-in-out 12s infinite normal forwards running;
}
.loaded #Snowman-min {
  position: absolute;
  width: 160px;
  height: 420px;
  z-index: 11;
  animation: Snowman-min-ani 4s ease-in-out 12s infinite normal forwards running;
}

.loaded #Sun {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 120px;
  height: 120px;
  z-index: 1;
  animation: Sun-ani 4s ease 5s 1 normal forwards running;
}

.loaded #Logo {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 100%;
  height: auto;
  z-index: 99;
  animation: Logo-ani 6s ease 5s 1 normal forwards running;
}

.loaded #Rainbow {
  position: absolute;
  width: 360px;
  height: 240px;
  z-index: 5;
  animation: Rainbow-ani 2s ease-in-out 5s 1 normal forwards running;
}
.loaded #Cherrytree {
  position: absolute;
  width: 360px;
  height: 480px;
  z-index: 6;
  animation: Cherry-ani 2s ease-in-out 5s 1 normal forwards running;
}
.loaded #Apple {
  position: absolute;
  width: 300px;
  height: 480px;
  z-index: 7;
  animation: Apple-ani 2s ease-in-out 5s 1 normal forwards running;
}
.loaded #Tree {
  position: absolute;
  width: 250px;
  height: 480px;
  z-index: 8;
  animation: Tree-ani 2s ease-in-out 5s 1 normal forwards running;
}

/* メインオブジェクト */
@keyframes StarBase-ani {
  0% {
    opacity: 0;
    transform: scale(1.4) rotate(0deg);
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: scale(1.6) rotate(90deg);
    opacity: 0;
  }
}
@keyframes StarPink-ani {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: scale(1.8) rotate(0deg);
    opacity: 0;
  }
}
@keyframes StarBlue-ani {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: scale(2) rotate(0deg);
    opacity: 0;
  }
}
@keyframes StarOrange-ani {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: scale(2.2) rotate(0deg);
    opacity: 0;
  }
}
@keyframes Sun-ani {
  0% {
    bottom: -100%;
    opacity: 0;
    transform: rotate(0deg);
  }
  40% {
    bottom: 20%;
    opacity: 1;
    transform: rotate(360deg);
  }
  60% {
    bottom: 20%;
    opacity: 1;
    transform: rotate(360deg);
  }
  100% {
    bottom: -100%;
    opacity: 0;
    transform: rotate(720deg);
  }
}
@keyframes Kotoshimo-ani {
  0% {
    top: 30%;
    left: 10%;
    opacity: 0;
    transform: scale(0.5) rotate(0deg);
  }
  50% {
    top: 30%;
    left: 10%;
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  100% {
    top: 30%;
    left: 10%;
    opacity: 1;
    transform: scale(1) rotate(-15deg);
  }
}
@keyframes Copy-ani {
  0%,
  75% {
    top: 0;
    opacity: 0;
  }
  100% {
    top: -25%;
    opacity: 1;
  }
}

@keyframes Logo-ani {
  0%,
  60% {
    opacity: 0;
    top: 0;
  }
  100% {
    opacity: 1;
    top: 5%;
  }
}

/* キャラクター */
@keyframes Rabbit-min-ani {
  0% {
    opacity: 1;
    right: 20px;
    bottom: -300px;
    transform: scale(0.4);
  }
  10%,
  20%,
  30% {
    opacity: 1;
    right: 20px;
    bottom: -140px;
    transform: scale(0.4);
  }
  15%,
  25% {
    opacity: 1;
    right: 20px;
    bottom: -130px;
    transform: scale(0.4);
  }
  40% {
    opacity: 1;
    right: 20px;
    bottom: -140px;
    transform: scale(0.4);
  }
  50%,
  100% {
    opacity: 1;
    right: 20px;
    bottom: -300px;
    transform: scale(0.4);
  }
}
@keyframes Rabbit-big-ani {
  0% {
    opacity: 1;
    right: -40px;
    bottom: -300px;
    transform: scale(0.4) rotate(-20deg);
  }
  10%,
  40% {
    opacity: 1;
    right: -40px;
    bottom: -140px;
    transform: scale(0.4) rotate(-20deg);
  }
  50%,
  100% {
    opacity: 1;
    right: -40px;
    bottom: -300px;
    transform: scale(0.4) rotate(-20deg);
  }
}

@keyframes Whale-min-ani {
  0% {
    opacity: 1;
    left: 30px;
    bottom: -200px;
    transform: scale(0.4) rotate(45deg);
  }
  30% {
    opacity: 1;
    left: -80px;
    bottom: -70px;
    transform: scale(0.4) rotate(0deg);
  }
  32% {
    opacity: 1;
    left: -80px;
    bottom: -70px;
    transform: scale(0.4) rotate(10deg);
  }
  35% {
    opacity: 1;
    left: -80px;
    bottom: -70px;
    transform: scale(0.4) rotate(0deg);
  }
  50%,
  100% {
    opacity: 1;
    left: -180px;
    bottom: -200px;
    transform: scale(0.4) rotate(-30deg);
  }
}
@keyframes Whale-big-ani {
  0% {
    opacity: 1;
    left: 70px;
    bottom: -200px;
    transform: scale(0.4) rotate(45deg);
  }
  30% {
    opacity: 1;
    left: -30px;
    bottom: -70px;
    transform: scale(0.4) rotate(0deg);
  }
  35% {
    opacity: 1;
    left: -30px;
    bottom: -70px;
    transform: scale(0.4) rotate(0deg);
  }
  50%,
  100% {
    opacity: 1;
    left: -130px;
    bottom: -200px;
    transform: scale(0.4) rotate(-30deg);
  }
}

@keyframes Bear-min-ani {
  0% {
    opacity: 0;
    left: -20px;
    top: -300px;
    transform: scale(0.4) rotate(170deg);
  }
  10%,
  20%,
  30% {
    opacity: 1;
    left: 35px;
    top: -140px;
    transform: scale(0.4) rotate(170deg);
  }
  15%,
  25% {
    opacity: 1;
    left: 40px;
    top: -130px;
    transform: scale(0.4) rotate(170deg);
  }
  50%,
  100% {
    opacity: 0;
    left: -20px;
    top: -300px;
    transform: scale(0.4) rotate(170deg);
  }
}
@keyframes Bear-big-ani {
  0% {
    opacity: 0;
    left: -150px;
    top: -300px;
    transform: scale(0.4) rotate(150deg);
  }
  10%,
  40% {
    opacity: 1;
    left: -120px;
    top: -160px;
    transform: scale(0.4) rotate(150deg);
  }
  50%,
  100% {
    opacity: 0;
    left: -150px;
    top: -300px;
    transform: scale(0.4) rotate(150deg);
  }
}

@keyframes Snowman-min-ani {
  0% {
    opacity: 0;
    right: 0px;
    top: -300px;
    transform: scale(0.35) rotate(220deg);
  }
  10% {
    opacity: 1;
    right: 50px;
    top: -160px;
    transform: scale(0.35) rotate(220deg);
  }
  40% {
    opacity: 1;
    right: 30px;
    top: -150px;
    transform: scale(0.35) rotate(200deg);
  }
  50%,
  100% {
    opacity: 1;
    right: 0;
    top: -300px;
    transform: scale(0.35) rotate(220deg);
  }
}
@keyframes Snowman-big-ani {
  0% {
    opacity: 1;
    right: -200px;
    top: -280px;
    transform: scale(0.35) rotate(230deg);
  }
  10% {
    opacity: 1;
    right: -90px;
    top: -180px;
    transform: scale(0.35) rotate(230deg);
  }
  40% {
    opacity: 1;
    right: -60px;
    top: -160px;
    transform: scale(0.35) rotate(230deg);
  }
  50%,
  100% {
    opacity: 1;
    right: -200px;
    top: -280px;
    transform: scale(0.35) rotate(230deg);
  }
}

/* 季節オブジェクト */
@keyframes Rainbow-ani {
  0% {
    left: -80px;
    bottom: -100px;
    opacity: 0;
    transform: scale(0.25);
  }
  50% {
    left: -80px;
    bottom: -100px;
    opacity: 0;
    transform: scale(0.25);
  }
  100% {
    left: -80px;
    bottom: -60px;
    opacity: 1;
    transform: scale(0.25);
  }
}

@keyframes Apple-ani {
  0% {
    opacity: 0;
    left: 0px;
    top: -180px;
    transform: scale(0.4) rotate(180deg);
  }
  100% {
    opacity: 1;
    left: 0px;
    top: -210px;
    transform: scale(0.2) rotate(180deg);
  }
}
@keyframes Cherry-ani {
  0% {
    opacity: 0;
    right: -10px;
    bottom: -230px;
    transform: scale(0.4) rotate(-15deg);
  }
  100% {
    opacity: 1;
    right: -16px;
    bottom: -200px;
    transform: scale(0.2) rotate(-15deg);
  }
}
@keyframes Tree-ani {
  0% {
    opacity: 0;
    right: 30px;
    top: -180px;
    transform: scale(0.4) rotate(190deg);
  }
  100% {
    opacity: 1;
    right: 40px;
    top: -210px;
    transform: scale(0.2) rotate(190deg);
  }
}

#start {
  display: block;
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 200;
  width: 16px;
  height: 0px;
  padding-top: 16px;
  background: url(../images/btn_stop.png) center center no-repeat;
  background-size: 16px 16px;
  overflow: hidden;
}
#start.pause {
  background-image: url(../images/btn_run.png);
}
