.gameWrapper {
  min-width: 1024px;
  height: 900px;
  background-color: #ffc800;
  overflow: auto;
}
@media screen and (max-width:768px) {
  .gameWrapper {
    min-width: 100%;
    height: 100vh;
  }
}

#standByView {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #ffe100;
  z-index: 101;

  background-image: url('../img/game_pizza_01.png');
  background-repeat: repeat-x;
  background-position: center calc(100% + 70px);
  background-size: 130px;
}

#standByView:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  display: block;

  width: 100%;
  height: 100%;
  background-image: url('../img/game_bg_01.svg');
  background-size: 1200px auto;
  background-position: center -980px;
  background-repeat: repeat-x;
  z-index: -1;
  transition-duration: 3s;
}
@media screen and (max-width:768px) {
  #standByView:before {
    background-size: 700px auto;
    background-position: center -70vh;
  }
}

#standByView.active:before {
  background-position: center -200px;
}

#standByViewContent {
  /* display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column; */

  padding-top: 15%;

  width: 100%;
  height: 100%;
}

#gameView {
  position: relative;

  /* display: none; */
  justify-content: center;
  align-items: center;

  width: 100%;
  height: 100%;
  background-color: #ffc800;
  z-index: 50;
}

#gameView:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
  background-image: url('../img/game_bg_02.svg');
  background-size: 1200px auto;
  background-position: center -1600px;
  background-repeat: repeat-x;
  z-index: 1;
  transition-duration: 3s;
}

@media screen and (min-width: 769px) and (max-width: 1025px) { 
  #gameWindow {
    max-width: 90vw;
    margin: 0 auto;
  }

}

@media screen and (max-width:768px) {
  #gameView:before {
    background-size: 700px auto;
  }
}

#gameView.active:before {
  background-position: center -200px;
  z-index: 100;
}

#gameWindow {
  position: relative;
  width: 1024px;
  height: 560px;
  border: 2px solid #000;
  border-radius: 5px;
  background-color: #FFB700;
  overflow: visible;
}
@media screen and (max-width:768px) {
  #gameWindow {
    width: 90vw;
    height: 75vh;
  }
}

.infiniteslide_wrap {
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
}

#game-comment p {
  font-size: 24px;
  font-family: YakuHanJP, "新ゴ B", "Shin Go Bold", sans-serif;
}

#game-time {
  position: absolute;
  left: -20px;
  bottom: -20px;
  z-index: 10;
  border: 2px solid #000;
  background-color: #fff;
  border-radius: 3px;
  font-size: 18px;
  font-weight: bold;
  padding: 0 5px;
}
@media screen and (max-width:768px) {
  #game-time {
    left: -15px;
    font-size: 15px;
  }
}

#game-time-count {
  margin-left: 10px;
  font-size: 40px;
  line-height: 1.2;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-style: italic;
}
@media screen and (max-width:768px) {
  #game-time-count {
    font-size: 20px;
  }
}

#game-score {
  position: absolute;
  right: -20px;
  bottom: -20px;
  z-index: 10;
  height: 52px;
}
@media screen and (max-width:768px) {
  #game-score {
    right: -15px;
    height: 40px;
  }
}

#game-score img {
  width: auto;
  height: 100%;
}

#game-timestart {
  display: block;
  position: absolute;
  top: calc(50% - 35px);
  left: 0;
  width: 100%;

  font-size: 70px;
  line-height: 1;
  font-weight: bold;
  text-align: center;
  color: red;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-style: italic;


  z-index: 80;
}

#game-timeup {
  display: none;
  position: absolute;
  top: calc(50% - 35px);
  left: 0;
  width: 100%;

  font-size: 70px;
  line-height: 1;
  font-weight: bold;
  text-align: center;
  color: red;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-style: italic;

  z-index: 80;
}

#gameWindowBG-Wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: url(../img/cursor.png) 24 24, pointer;
}

#gameWindowBG {
  position: absolute;
  left: -15%;
  bottom: -30px;
  width: calc(130% + 120px);
  background-image: url('../img/game_pizza_01.png');
  background-repeat: repeat-x;
  height: 90px;
  background-position: left top;
  background-size: 120px auto;
  transition-timing-function: ease-in-out;
  animation-duration: 1.5s;
  animation-name: marchBG;
  animation-iteration-count: infinite;
  z-index: 1;
}

@keyframes marchBG {
  0% {
    margin-bottom: 0;
    left: -15%;
  }
  20% {
    margin-bottom: 0;
    left: -15%;
  }
  50% {
    margin-bottom: 30px;
  }
  80% {
    margin-bottom: 0;
    left: calc(-15% - 120px);
  }
  99.9% {
    left: calc(-15% - 120px);
  }
  100% {
    margin-bottom: 0;
    left: -15%;
  }
}



#game-start {
  display: block;
  width: 90vw;
  max-width: 340px;
  margin: 0 auto;
  cursor: pointer;
}
@media screen and (max-width:768px) {
  #game-start {
    max-width: 300px;
  }
}

#game-start:hover {
  opacity: .7;
}

.game_txt_01 {
  display: block;
}

.game_txt_01 img {
  width: 90vw;
  height: auto;
  max-width: 500px;
  margin: 0 auto;
}

.game_txt_02 {
  display: block;
  margin: 30px 0 80px;
}

.game_txt_02 img {
  width: 90vw;
  height: auto;
  max-width: 625px;
  margin: 0 auto;
}

#resultView {
  position: relative;

  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;

  width: 100%;
  height: 100%;
  background-color: #ffe100;
  z-index: 30;
}

.result-title-box{
  max-width: 860px;
  width: 100%;
}

.result-title {
    text-align: left;
    width: 100%;
    font-size: 52px;
  margin-bottom: 30px;

  font-weight: bold;
  font-family: YakuHanJP, "新ゴ B", "Shin Go Bold", sans-serif;
}
@media screen and (max-width:768px) {
  .result-title-box{
    max-width: 90vw;
  }

  .result-title {
    margin-bottom: 15px;

    font-size: 24px;
  }
}

.result-box {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
@media screen and (max-width:768px) {
  .result-box {
    display: block;
    width: 90vw;
  }
}

.result-list {
  display: flex;
  flex-wrap: wrap;
  width: 500px;
}
@media screen and (max-width:768px) {
  .result-list {
    width: 100%;
  }
}

.result-list-item {
  width: 40px;
  float: left;
  margin-right: 10px;
  margin-bottom: 5px;
}
@media screen and (max-width:768px) {
  .result-list-item {
    width: 25px;
  }
}

@media screen and (min-width:769px) {
  .result-list-item:nth-of-type(10n) {
    margin-right: 0;
  }
}

.result-score img {
  width: 360px;
}

@media screen and (max-width:768px) {
  .result-footer {
    width: 90vw;
  }
}

.result-footer img {
  width: 260px;
}
@media screen and (max-width:768px) {
  .result-footer img {
    width: 100%;
    max-width: 260px;
  }
}

#result-retry {
  display: inline-block;
  margin: 0 10px;
  cursor: pointer;
}
@media screen and (max-width:768px) {
  #result-retry {
    display: block;
    margin: 0 0 20px;
  }
  #result-retry img {
    margin: 0 auto;
  }
}

#result-retry:hover {
  opacity: .7;
}

#result-share {
  display: inline-block;
  background-color: transparent;
}
@media screen and (max-width:768px) {
  #result-share {
    display: block;
    margin: 0 auto;
  }
  #result-share img {
    margin: 0 auto;
  }
}

.game-target {
  position: absolute;
  right: -80px;
  padding: 5px;
  margin: 0 10px;
  cursor: pointer;
  transition-timing-function: linear;
  animation-name: shake1;
  animation-duration: 3s;
  z-index: 9;
  cursor: url(../img/cursor.png) 24 24, pointer;
  transform: rotateZ(0);
}

.game-target.large {
  width: 120px;
}
.game-target.small {
  width: 70px;
}

.game-target.low {
  transition-duration: 3s;
}
.game-target.high {
  transition-duration: 2s;
}

.game-target.active {
  right: 100%;
}

.game-target.done:after {
  content: '';
  position: absolute;
  top: 0;
  right: -20px;
  display: block;
  width: 60px;
  height: 60px;
  background-image: url(../img/game_target_01.svg);
  background-size: cover;
}
.game-target.yeah:after {
  content: '';
  position: absolute;
  top: 0;
  right: -20px;
  display: block;
  width: 60px;
  height: 60px;
  background-image: url(../img/yeah.png);
  background-size: cover;
}
.result-score{
  position: relative;
}
#result-wallaby-count{
  align-items: center;
  background: #fff;
  border-radius: 50%;
  bottom: 100%;
  display: flex;
  flex-flow: column;
  font-size: 18px;
  font-weight: bold;
  height: 100px;
  justify-content: center;
  line-height: 1.2;
  padding: 0 0 4px;
  position: absolute;
  right: 0;
  width: 100px;
}
@media screen and (max-width:768px)  {
  #result-wallaby-count {
    bottom: auto;
    right: 5%;
  }
}
#result-wallaby-count > span {
  font-size: 2em;
}

@keyframes shake1 {
  0% {
    margin-top: 0;
  }
  25% {
    margin-top: 50px;
  }
  50% {
    margin-top: -10px;
  }
  75% {
    margin-top: 80px;
  }
  100% {
    margin-top: 0;
  }
}