@charset "UTF-8";
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

button {
  background-color: transparent;
}

button:hover {
  cursor: pointer;
}

button {
  appearance: none;
  outline: none;
}

@keyframes bounce {
  from,
  20%,
  40%,
  60%,
  80%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
  }
  20% {
    transform: scale3d(0.9, 0.9, 0.9);
  }
  40% {
    transform: scale3d(1.1, 1.1, 1.1);
  }
  60% {
    opacity: 1;
    transform: scale3d(1.03, 1.03, 1.03);
  }
  80% {
    transform: scale3d(0.97, 0.97, 0.97);
  }
  to {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}

@keyframes wobble {
  from {
    transform: translate3d(0, 0, 0);
  }
  15% {
    transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
  }
  30% {
    transform: translate3d(5%, 0, 0) rotate3d(0, 0, 1, 3deg);
  }
  45% {
    transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
  }
  60% {
    transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
  }
  75% {
    transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

.bounce {
  animation: bounce 1s 3 both;
  transform-origin: center bottom;
}

.wobble {
  animation: wobble 1s infinite both;
  transform-origin: center bottom;
}

.audience {
  position: absolute;
  z-index: 60;
  bottom: 0;
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
  pointer-events: none;
}

.audience .audience__item {
  position: absolute;
  bottom: 0;
  width: 100%;
  margin: auto;
}

.audience .audience__item img {
  box-shadow: none;
}

.audience .audience__item img::selection {
  background-color: transparent;
}

.audience .audience__item:nth-child(1) {
  bottom: -30px;
  left: 0;
  animation: audience_move01 0.3s ease infinite alternate;
}

.audience .audience__item:nth-child(2) {
  right: 0;
  bottom: -70px;
  left: 0;
  animation: audience_move02 0.2s ease infinite alternate-reverse;
}

.audience .audience__item:nth-child(3) {
  bottom: -70px;
  left: 0;
  animation: audience_move02 0.3s ease infinite alternate-reverse;
  transform: scale(-1, 1);
}

.audience .audience__item:nth-child(4) {
  right: 0;
  bottom: -20px;
  animation: audience_move01 0.2s ease infinite alternate-reverse;
  transform: scale(-1, 1);
}

@keyframes audience_move01 {
  0% {
    bottom: -30px;
  }
  100% {
    bottom: 0;
  }
}

@keyframes audience_move02 {
  0% {
    bottom: -70px;
  }
  100% {
    bottom: -10px;
  }
}

button {
  padding: 0;
  border: 0;
  margin: 0;
  font-size: inherit;
}

button {
  background-color: transparent;
}

button:hover {
  cursor: pointer;
}

button {
  appearance: none;
  outline: none;
}

@keyframes parapara01 {
  0% {
    background-position: 50% 0;
  }
  100% {
    background-position: 50% -1320px;
  }
}

@keyframes parapara02 {
  0% {
    background-position: 50% 0;
  }
  100% {
    background-position: 50% -1320px;
  }
}

.btn {
  position: relative;
  z-index: 10;
  touch-action: manipulation;
}

.btnArea {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  width: 100%;
  justify-content: center;
  margin: auto;
}

.btnArea .attentionText {
  position: absolute;
  z-index: 999;
  top: 0;
  bottom: 0;
  display: none;
  width: 100%;
  height: 1em;
  margin: auto;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  text-align: center;
}

.btnArea.is-disable .attentionText {
  display: block;
}

.btnArea.is-disable::before {
  position: absolute;
  z-index: 998;
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  content: "";
}

.btnArea > .btn:first-child {
  margin-right: 2px;
}

.btnArea > .btn:last-child {
  margin-left: 2px;
}

.btn-backing {
  position: absolute;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  border-radius: 0;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

.btn-backing::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 5.2%;
  display: block;
  width: 100%;
  max-width: 534px;
  height: 100%;
  max-height: 612px;
  margin: auto;
  background: url(../img/bg_light.png) 50% 0 no-repeat;
  background-size: contain;
  content: "";
}

.btn-backing[disabled] {
  pointer-events: none;
}

.btn-backing > span {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 760px;
  height: 660px;
  align-items: center;
  justify-content: center;
  margin: auto auto 15vh;
  background-image: url(../img/character.png), url(../img/character_ov.png);
  background-position: 50% 0;
  background-repeat: no-repeat;
  background-size: 760px 1320px, 0 0;
  line-height: 1;
  transition: background-image 0.3s ease;
}

.btn-backing[data-backing="false"] > span {
  animation: parapara01 0.01s steps(2) 0s 10;
}

.btn-backing[data-backing="true"] > span {
  animation: parapara02 0.01s steps(2) 0s 10;
}

.btn-backing.is-excite > span {
  background-image: url(../img/character_ov.png);
}

.btn-timeup {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  background-color: #009;
  border-radius: 0;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
}

.extraBold {
  font-family: "Heebo", sans-serif;
  font-weight: 800;
}

.loading {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.1s cubic-bezier(0, 0.9, 0.4, 1);
}

.loading__image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 55px;
  height: 80px;
  margin: auto;
}

.loading__time {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  font-size: 0;
  line-height: 1;
  text-align: center;
}

.loading__time[class*="is-count"] {
  width: 100%;
  padding: 15px;
  background-image: url(../img/loading/bg_rule.png);
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: calc(100% - 30px) auto;
  transition: background 0.3s cubic-bezier(0, 0.9, 0.4, 1);
}

.loading__time.is-count {
  background-color: rgba(255, 255, 255, 0.5);
}

.loading__time.is-count00, .loading__time.is-count01, .loading__time.is-count02, .loading__time.is-count03 {
  background-size: calc(100% - 30px);
}

.loading__time.is-count00 {
  background-image: url(../img/loading/txt_start.png);
  background-size: auto 262px;
}

.loading__time.is-count01 {
  background-image: url(../img/loading/txt_count01.png);
}

.loading__time.is-count02 {
  background-image: url(../img/loading/txt_count02.png);
}

.loading__time.is-count03 {
  background-image: url(../img/loading/txt_count03.png);
}

.loading[data-loading*="show"] {
  z-index: 10000;
  opacity: 1;
}

.loading[data-loading*="hide"] {
  z-index: -1;
  opacity: 0;
}

/* 進捗バー */
.progress {
  margin-bottom: 15px;
}

.progress__inner {
  display: flex;
  box-sizing: border-box;
  padding-right: 5px;
  padding-left: 5px;
}

.progress__bar, .progress__times {
  margin-right: 5px;
  margin-left: 5px;
}

.progress__bar {
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #000;
  border-radius: 15px;
}

.progress__barInner {
  max-width: 100%;
  height: 100%;
  background-image: linear-gradient(to right, #071d5b, #071d5b);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border-radius: 14px;
  transform: scaleX(0);
  transform-origin: left;
}

.progress__times {
  flex: 1;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
}

.progress__timesNum {
  font-size: 24px;
}

.secStage {
  height: 100vh;
  background-color: transparent;
  opacity: 0;
  transition-delay: 0s;
  transition-duration: 0.7s;
  transition-property: opacity, background-color;
  transition-timing-function: ease-in;
}

.secStage__inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  background-color: #ccc;
}

.secStage__inner > *:first-child {
  margin-top: 0;
}

.secStage__bgLevel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.secStage__bgItem {
  position: absolute;
  top: 5px;
  left: 5px;
  width: calc(100% - 10px);
  height: calc(100vh - 10px);
  margin: 0;
  background: 50% 50% no-repeat;
  background-size: cover;
}

.secStage__bgItem--01 {
  background-image: url(../img/bg_stage01.jpg);
}

.secStage__bgItem--02 {
  background-image: url(../img/bg_stage02.jpg);
}

.secStage__bgItem--03 {
  background-image: url(../img/bg_stage03.jpg);
}

.secStage__bgItem--04 {
  background-image: url(../img/bg_stage04.jpg);
}

.secStage__bgItem--05 {
  background-image: url(../img/bg_stage05.jpg);
}

.secStage__bgItem--06 {
  background-image: url(../img/bg_stage06.jpg);
}

.secStage__bgItem--07 {
  background-image: url(../img/bg_stage07.jpg);
}

.secStage[data-state*="top"] {
  opacity: 1;
}

.secStage[data-state*="loading"] {
  opacity: 1;
}

.secStage[data-state*="loading"] .view--play {
  display: block;
}

.secStage[data-state*="play"] {
  opacity: 1;
}

.secStage[data-state*="result"] {
  opacity: 1;
}

[data-rank*="rankC"] .secStage__bgLevel--01 {
  opacity: 1;
}

[data-rank*="rankB"] .secStage__bgLevel--02 {
  opacity: 1;
}

[data-rank*="rankB"] .secStage__bgLevel--02 .secStage__bgItem:nth-child(1) {
  animation: crossfadeB01 0.4s linear 0s infinite alternate;
}

[data-rank*="rankB"] .secStage__bgLevel--02 .secStage__bgItem:nth-child(2) {
  animation: crossfadeB02 0.4s linear 0s infinite alternate;
}

[data-rank*="rankA"] .secStage__bgLevel--03 {
  opacity: 1;
}

[data-rank*="rankA"] .secStage__bgLevel--03 .secStage__bgItem:nth-child(1) {
  animation: crossfadeA01 0.8s linear 0s infinite alternate;
}

[data-rank*="rankA"] .secStage__bgLevel--03 .secStage__bgItem:nth-child(2) {
  animation: crossfadeA02 0.8s linear 0s infinite alternate;
}

[data-rank*="rankA"] .secStage__bgLevel--03 .secStage__bgItem:nth-child(3) {
  animation: crossfadeA03 0.8s linear 0s infinite alternate;
}

[data-rank*="rankA"] .secStage__bgLevel--03 .secStage__bgItem:nth-child(4) {
  animation: crossfadeA04 0.8s linear 0s infinite alternate;
}

@keyframes crossfadeB01 {
  0%,
  50% {
    opacity: 1;
  }
  50.1%,
  100% {
    opacity: 0;
  }
}

@keyframes crossfadeB02 {
  0%,
  35% {
    opacity: 0;
  }
  50.1%,
  100% {
    opacity: 1;
  }
}

@keyframes crossfadeA01 {
  0%,
  25% {
    opacity: 1;
  }
  25.1%,
  100% {
    opacity: 0;
  }
}

@keyframes crossfadeA02 {
  0%,
  10% {
    opacity: 0;
  }
  25%,
  50% {
    opacity: 1;
  }
  50.1%,
  100% {
    opacity: 0;
  }
}

@keyframes crossfadeA03 {
  0%,
  35% {
    opacity: 0;
  }
  50.1%,
  75% {
    opacity: 1;
  }
  75.1%,
  100% {
    opacity: 0;
  }
}

@keyframes crossfadeA04 {
  0%,
  60% {
    opacity: 0;
  }
  75.1%,
  100% {
    opacity: 1;
  }
}

.status {
  position: relative;
  z-index: 50;
}

.status__times, .status__taps {
  position: absolute;
  top: 0;
  height: 106px;
  padding-top: 25px;
  margin: 0;
  background: 0 0 no-repeat;
  color: #fff;
  font-family: "Century Gothic", sans-serif;
  font-size: 30px;
  line-height: 1;
  pointer-events: none;
}

.status__times::before, .status__times::after, .status__taps::before, .status__taps::after {
  position: absolute;
  top: 0;
  display: block;
  background: 0 0 no-repeat;
  background-size: 100% 112px;
  content: "";
}

.status .extraBold {
  font-size: 48px;
  vertical-align: -0.2em;
}

.status__times {
  margin-right: 56px;
  margin-left: 44px;
  background: url(../img/img_time_status02.png) 0 0 repeat-x;
  background-size: 100% 112px;
}

.status__times::before {
  left: -44px;
  width: 44px;
  height: 112px;
  background-image: url(../img/img_time_status01.png);
}

.status__times::after {
  right: -56px;
  width: 56px;
  height: 112px;
  background-image: url(../img/img_time_status03.png);
}

.status__times .extraBold {
  margin-left: 10px;
}

.status__taps {
  right: 0;
  margin-right: 44px;
  margin-left: 56px;
  background: url(../img/img_tap_status02.png) 0 0 repeat-x;
  background-size: 100% 112px;
}

.status__taps::before {
  left: -56px;
  width: 56px;
  height: 112px;
  background-image: url(../img/img_tap_status03.png);
}

.status__taps::after {
  right: -44px;
  width: 44px;
  height: 112px;
  background-image: url(../img/img_tap_status01.png);
}

.timeup {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: auto;
  background: url(../img/loading/txt_finish.png) 50% 50% no-repeat;
  background-size: contain;
  transition: opacity 0.2s;
}

.timeup[data-time*="hide"] {
  z-index: -1;
  opacity: 0;
}

.timeup[data-time*="show"] {
  z-index: 100;
  opacity: 1;
}

.mainvisual {
  height: 100%;
  background: url(../img/bg_mainvisual.png) 50% 50% no-repeat;
  background-size: cover;
}

.mainvisual__inner {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  height: calc(100vh - 2px);
  min-height: 460px;
  max-height: 920px;
  margin: auto;
}

.mainvisual__image {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 460px;
  margin: auto;
  background: url(../img/ttl_game.png) 50% 0 no-repeat;
  background-size: contain;
}

.resultArea {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.resultArea img::selection {
  background-color: transparent;
}

.resultArea__text, .resultArea__image {
  margin: 0;
}

.resultArea__textNum {
  position: absolute;
  top: calc(20% + 20px);
  right: 0;
  left: 0;
  width: 100%;
  margin: 0;
  color: #ff0ebc;
  font-size: 45px;
  line-height: 1;
  text-align: center;
  text-shadow: 0 0 5px #fff, 0 0 15px #fff, 0 0 15px #fff;
}

.resultArea__textNum::selection {
  background-color: transparent;
}

.resultArea__image {
  position: relative;
  padding: 20px 0;
  text-align: center;
}

.resultArea__image img {
  height: calc(100vh - 68px - 40px);
  min-height: 345px;
  max-height: 520.5px;
}

.resultArea .btnArea {
  position: static;
  margin-top: calc(-20px - 13.832853%);
}

.resultArea .btnArea .btn img {
  max-height: 171px;
}

.view {
  position: relative;
  height: 100vh;
  box-sizing: border-box;
  border: 5px solid #fa44db;
}

.view__title {
  overflow: hidden;
  margin: 0;
  text-indent: 100%;
  white-space: nowrap;
}

.view--top, .view--play, .view--result {
  display: none;
}

.view > *:first-child {
  margin-top: 0;
}

.view__header {
  position: relative;
  z-index: 20;
}

.view__content {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.view__content > .audience {
  margin-bottom: 0;
}

.view__content > .audience .audience__item {
  padding: 0;
}

.view .explanation {
  z-index: 70;
  opacity: 0;
  pointer-events: none;
}

[data-state*="top"] .view--top {
  display: block;
}

[data-state*="play"] .view--play {
  position: relative;
  display: block;
}

[data-state*="play"] .explanation {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding-right: 10px;
  padding-left: 10px;
  margin: 0;
  opacity: 1;
  text-align: center;
}

[data-state*="result"] .view--result {
  display: block;
}

[data-state*="result"] .view__header {
  z-index: 10;
}

[data-state*="result"] .view__content::before {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  content: "";
}

[data-state*="result"] .view__content .audience {
  z-index: -1;
}

@media screen and (max-width: 768px) {
  .status__times, .status__taps {
    height: 56px;
    padding-top: 12px;
    padding-bottom: 24px;
    background-size: contain;
    font-size: 15px;
  }
  .status__times::before, .status__times::after, .status__taps::before, .status__taps::after {
    background-size: 100% 56px;
  }
  .status .extraBold {
    font-size: 24px;
  }
  .status__times {
    margin-right: 28px;
    margin-left: 22px;
    background-size: 100% 56px;
  }
  .status__times::before {
    left: -22px;
    width: 22px;
    height: 56px;
  }
  .status__times::after {
    right: -28px;
    width: 28px;
    height: 56px;
  }
  .status__times .extraBold {
    margin-left: 5px;
  }
  .status__taps {
    right: 0;
    margin-right: 22px;
    margin-left: 28px;
    background-size: 100% 56px;
  }
  .status__taps::before {
    left: -28px;
    width: 28px;
    height: 56px;
  }
  .status__taps::after {
    right: -22px;
    width: 22px;
    height: 56px;
  }
}

@media screen and (max-width: 640px) {
  @keyframes parapara01{
    0% {
      background-position: 50% 0;
    }
    100% {
      background-position: 50% -660px;
    }
  }
  @keyframes parapara02{
    0% {
      background-position: 50% 0;
    }
    100% {
      background-position: 50% -660px;
    }
  }
  .btnArea .btn img {
    max-height: 114px;
  }
  .btn-backing::before {
    max-width: 267px;
    max-height: 306px;
  }
  .btn-backing > span {
    width: 100%;
    max-width: 380px;
    height: 330px;
    margin-bottom: 1vh;
    background-size: 380px 660px, 0 0;
  }
  .loading__time[class*="is-count"] {
    background-size: calc(100% - 30px) auto;
  }
  .loading__time.is-count00 {
    background-size: auto 131px;
  }
  .loading__time.is-count01, .loading__time.is-count02, .loading__time.is-count03 {
    background-size: auto 161px;
  }
  .mainvisual__inner {
    max-height: 458px;
  }
  .resultArea__image img {
    height: auto;
  }
  }

@media screen and (max-height: 640px) {
  .btnArea .btn img {
    max-height: 114px;
  }
}

@media screen and (max-width: 320px) {
  .btn-backing > span {
    margin-bottom: 10vh;
  }
}
