@charset "UTF-8";
.game1 img, .game2 img, .game3 img, .game4 img {
  vertical-align: bottom;
}
/*-----------------------------------*/
.game1 {
  position: relative;
  display: block;
  vertical-align: bottom;
  text-align: center;
  line-height: 1;
  background-color: #d0f8ff;
}
.game1 img {
  vertical-align: bottom;
}
.game1 #count1 {
  position: absolute;
  top: 0px;
  left: 10px;
}
.game1 #buttons {
  position: absolute;
  top: -10px;
  left: 0;
  display: block;
  width: 100%;
  height: 190px;
  background-color: rgba(255,255,255,0.8);
  z-index: 998;
  padding: 20px 0;
}
.game1 #buttons p {
  font-size: 1.6rem;
  position: absolute;
  transform: translate(-50%,-50%);
  top: 34%;
  left: 50%;
  width: 100%;
}
.game1 #buttons #janBtnTxt {
  position: absolute;
  transform: translate(-50%,-50%);
  top: 80%;
  left: 50%;
  display: block;
  width: 150px;
  background-color: #fff;
  border: solid 3px #000;
  border-radius: 20px;
  padding: 10px;
  margin: 0;
}
.game1 #buttons #janBtnTxt.janBtnPos1 {
  top: 80%;
}
.game1 #buttons #janBtnTxt.janBtnPos2 {
  top: 82%;
}

.game1 .janEnemy {
  display: block;
  margin: 10px 0 0 0;
  height: 120px;
}
.game1 .janEnemyStone, .game1 .janEnemyScissors, .game1 .janEnemyPaper {
  position: absolute;
  transform: translate(-50%,-50%);
  top: 50%;
  left: 50%;
  width: 50%;
  display: none;
}
.game1 .janEnemyStone.active, .game1 .janEnemyScissors.active, .game1 .janEnemyPaper.active {
  display: block;
}

.game1 ul {
  display: flex;
  justify-content: space-around;
  margin: 0;
}
.game1 ul li {
  width: 17%;
}

.game1 .janCheck {
  position: absolute;
  transform: translate(-50%,-50%);
  top: 30%;
  left: 50%;
  width: 45%;
  z-index: 999;
  -webkit-transition-duration: 0.5s;
  -moz-transition-duration: 0.5s;
  -ms-transition-duration: 0.5s;
  -o-transition-duration: 0.5s;
  transition-duration: 0.5s;
}
.game1 .janCheck img {
  position: absolute;
  transform: translate(-50%,-50%);
  top: 50%;
  left: 50%;
  margin: 50px 0 0 0;
  -webkit-transition-duration: 0.5s;
  -moz-transition-duration: 0.5s;
  -ms-transition-duration: 0.5s;
  -o-transition-duration: 0.5s;
  transition-duration: 0.5s;
}
.game1 .janCheckWin, .game1 .janCheckLose, .game1 .janCheckAiko, .game1 .janCheckTo {
  display: none;
}
.game1 .janCheckWin.active, .game1 .janCheckLose.active, .game1 .janCheckAiko.active, .game1 .janCheckTo.active {
  display: block;
  margin: 0;
}

#janResult {
  display: none;
  position: absolute;
  transform: translate(-50%,-50%);
  top: 62%;
  left: 50%;
  text-align: center;
  z-index: 999;
  font-size: 2.4rem;
  color: #fff;
  font-weight: 600;
  text-shadow: 2px 2px 2px rgba(0,0,0,1), -1px -1px 2px rgba(0,0,0,1), -1px 1px 2px rgba(0,0,0,1), 1px -1px 2px rgba(0,0,0,1);
}
#janResult.active {
  display: block;
}

.panel01 {
  z-index: 10;
}
.panel02 {
  z-index: 9;
}
.panel03 {
  z-index: 8;
}
.panel04 {
  z-index: 7;
}
.panel05 {
  z-index: 6;
}
.panel06 {
  z-index: 5;
}
.panel07 {
  z-index: 4;
}
.panel08 {
  z-index: 3;
}
.panel09 {
  z-index: 2;
}

/*-----------------------------------*/
.game2 {
  position: relative;
  display: block;
  background-color: #d0f8ff;
  text-align: center;
}
#carStart {
  display: block;
  position: absolute;
  transform: translate(-50%,-50%);
  top: 50%;
  left: 50%;
  background-color: #fff;
  width: 100%;
  height: 240px;
  background-color: rgba(255,255,255,0.8);
  z-index: 998;
}
#carStart.active {
  display: none;
}
#carStart #carBtnTxt {
  position: absolute;
  transform: translate(-50%,-50%);
  top: 76%;
  left: 50%;
  display: block;
  width: 150px;
  background-color: #fff;
  border: solid 3px #000;
  border-radius: 20px;
  padding:　0px 10px;
  margin: 0;
  z-index: 999;
}
#carStart #carBtnTxt.active {
  display: none;
}
#carStart p {
  font-size: 1.6rem;
  position: absolute;
  transform: translate(-50%,-50%);
  top: 42%;
  left: 50%;
  width: 100%;
}

#carResult {
  display: none;
  position: absolute;
  transform: translate(-50%,-50%);
  top: 50%;
  left: 50%;
  background-color: #fff;
  width: 100%;
  height: 240px;
  background-color: rgba(255,255,255,0.8);
  z-index: 998;
}
#carResult.active {
  display: block;
}
#carResult #carResultHeading, #carResult #carResultTxt {
  display: block;
  position: absolute;
  transform: translate(-50%,-50%);
  left: 50%;
  text-align: center;
  z-index: 999;
  font-size: 3rem;
  color: #fff;
  font-weight: 600;
  width: 100%;
}
#carResult #carResultHeading {
  top: 24%;
  font-size: 2.4rem;
  text-shadow: 2px 2px 2px rgba(0,0,0,1), 
  -1px -1px 2px rgba(0,0,0,1), 
  -1px 1px 2px rgba(0,0,0,1), 
  1px -1px 2px rgba(0,0,0,1);
}
#carResult #carResultTxt {
  top: 43%;
  font-size: 4rem;
  text-shadow: 
  2px 2px 1px rgba(255,255,255,1), 
  -2px -2px 1px rgba(255,255,255,1), 
  -2px 2px 1px rgba(255,255,255,1), 
  2px -2px 1px rgba(255,255,255,1), 
  2px 0px 1px rgba(255,255,255,1),
  0px 2px 1px rgba(255,255,255,1),
  -2px 0px 1px rgba(255,255,255,1),
  0px -2px 1px rgba(255,255,255,1), 
  3px 3px 2px rgba(0,0,0,1), 
  -2px -2px 2px rgba(0,0,0,1), 
  -2px 2px 2px rgba(0,0,0,1), 
  2px -2px 2px rgba(0,0,0,1);
}
#carResult #carResultTxt.bad {
  color: #007FFF;
}
#carResult #carResultTxt.good {
  color: #FFAC00;
}
#carResult #carResultTxt.great {
  color: #FF0000;
}
#carResult #carReset {
  position: absolute;
  transform: translate(-50%,-50%);
  top: 70%;
  left: 50%;
  display: none;
  width: 150px;
  background-color: #fff;
  border: solid 3px #000;
  border-radius: 20px;
  padding: 0 10px;
  margin: 0;
  z-index: 999;
}
#carResult #carReset.active {
  display: block;
}


.carFrame {
  display: block;
  width: 100%;
  overflow: hidden;
}
.carBack {
  width: 5500px;
  height: 190px;
  position: relative;
  left: 0;
  background: url(../img/story02/car_back1.png) repeat-x center center;
  background-size: contain;
}
.carBack2 {
  width: 1500px;
  height: 190px;
  position: absolute;
  left: 0;
  background: url(../img/story02/car_back2.jpg) repeat-x center center;
  background-size: contain;
}
#carBtn {
  position: absolute;
  transform: translate(-50%,-50%);
  top: 60%;
  left: 50%;
  width: 150px;
  height: 150px;
  z-index: 997;
  background: url(../img/story02/car.png) no-repeat center center;
  background-size: 100%;
  display: block;
}
#carBtn.active {
  background: url(../img/story02/car2.png) no-repeat center center;
  background-size: 100%;
}

#carIcon {
  position: absolute;
  transform: translate(-50%,-50%);
  top: 28%;
  left: 50%;
  width: 60px;
  height: 194px;
  z-index: 996;
  display: block;
}
#carIcon.face1 {
  background: url(../img/story02/car_icon01.png) no-repeat center center;
  background-size: 100%;
}
#carIcon.face2 {
  background: url(../img/story02/car_icon02.png) no-repeat center center;
  background-size: 100%;
}
#carIcon.face3 {
  background: url(../img/story02/car_icon03.png) no-repeat center center;
  background-size: 100%;
}

.carBackActive {
  position: absolute;
  background: url(../img/story02/car_back3.jpg) repeat-x center center;
  background-size: contain;
}
.carBackActive.pos01 {
  left: 10%;
  width: 16%;
  height: 190px;
}
.carBackActive.pos02 {
  left: 40%;
  width: 12%;
  height: 190px;
}
.carBackActive.pos03 {
  left: 60%;
  width: 6%;
  height: 190px;
}
.carBackActive.pos04 {
  left: 80%;
  width: 8%;
  height: 190px;
}

/*-----------------------------------*/
.game3 {
  position: relative;
  display: block;
  text-align: center;
  background-color: #d0f8ff;
}

.game3 .catFrame {
  background: url(../img/story03/cat_back1.jpg) no-repeat center center;
  background-size: 100%;
}
.game3 #catPoint {
  position: absolute;
  transform: translate(-50%,-50%);
  top: 10%;
  left: 50%;
  color: #fff;
  text-shadow: 0 0 2px rgba(0,0,0,0.5);
  font-size: 3rem;
  font-weight: 800;
}
.game3 #buttons {
  position: absolute;
  top: 0px;
  left: 0;
  display: block;
  width: 100%;
  height: 190px;
  background-color: rgba(255,255,255,0.8);
  z-index: 999;
}
.game3 #buttons.active {
  display: none;
}
.game3 #buttons #catStartBtn {
  position: absolute;
  transform: translate(-50%,-50%);
  top: 80%;
  left: 50%;
  display: block;
  width: 150px;
  background-color: #fff;
  border: solid 3px #000;
  border-radius: 20px;
  padding: 0 10px;
  margin: 0;
}
.game3 #buttons #catStartBtn.active {
  top: 60%;
}
#catResultTxt {
  margin: 15px 0 0 0;
  font-size: 3rem;
  text-shadow: 
  2px 2px 1px rgba(255,255,255,1), 
  -2px -2px 1px rgba(255,255,255,1), 
  -2px 2px 1px rgba(255,255,255,1), 
  2px -2px 1px rgba(255,255,255,1), 
  2px 0px 1px rgba(255,255,255,1),
  0px 2px 1px rgba(255,255,255,1),
  -2px 0px 1px rgba(255,255,255,1),
  0px -2px 1px rgba(255,255,255,1), 
  3px 3px 2px rgba(0,0,0,1), 
  -2px -2px 2px rgba(0,0,0,1), 
  -2px 2px 2px rgba(0,0,0,1), 
  2px -2px 2px rgba(0,0,0,1);
}
.game3 .catCheckSet {
  display: block;
  border: solid 15px #ff0000;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 60%;
  opacity: 0.0;
  box-shadow: 0 0 10px rgba(255,255,255,1.0);
}
.game3 .catCheck0, .game3 .catCheck1, .game3 .catCheck2, .game3 .catCheck3, .game3 .catCheck4 {
  display: none;
}
.game3 .catCheck0.view, .game3 .catCheck1.view, .game3 .catCheck2.view, .game3 .catCheck3.view, .game3 .catCheck4.view {
  display: block;
}
.game3 .catCheck0 {
  left: 48px;
}
.game3 .catCheck1 {
  left: 88px;
}
.game3 .catCheck2 {
  left: 160px;
}
.game3 .catCheck3 {
  left: 248px;
}
.game3 .catCheck4 {
  left: 254px;
}
.game3 .catCheckSet.active {
  top: 50%;
  opacity: 1.0;
  animation: cat-check-animation 0.5s linear forwards;
}
@keyframes cat-check-animation {
  0%{
    top: 60%;
    opacity: 0.0;
  }
  30%{
    top: 50%;
    opacity: 1.0;
  }
  70%{
    top: 50%;
    opacity: 1.0;
  }
  100%{
    top: 50%;
    opacity: 0.0;
  }
}

.game3 ul {
  display: block;
  position: relative;
  width: 100%;
  height: 190px;
  z-index: 997;
}
.game3 ul li {
  display: none;
  /* display: block; */
  position: absolute;
}
.game3 ul li.active{
  display: block;
}
.game3 ul li.catObj0 {
  width: 30px;
  top: 100px;
  left: 35px;
}
.game3 ul li.catObj1 {
  width: 80px;
  top: 80px;
  left: 50px;
}
.game3 ul li.catObj2 {
  width: 80px;
  top: 70px;
  left: 118px;
}
.game3 ul li.catObj3 {
  width: 54px;
  top: 100px;
  left: 213px;
}
.game3 ul li.catObj4 {
  width: 30px;
  top: 105px;
  left: 240px;
}
.catBackGrass {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 998;
}
.game3 ul#targetCheck {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 190px;
  z-index: 996;
}

/*-----------------------------------*/
.game4 {
  position: relative;
  display: block;
  background-color: #d0f8ff;
  text-align: center;
}
.game4 p {
  position: absolute;
  transform: translate(-50%,-50%);
  top: -30%;
  left: 50%;
  line-height: 0.5;
  width: 100%;
}

.game4 #time {
  font-size: 5.4rem;
  font-family: 'DotGothic16', sans-serif;
  margin: 65px auto 0 auto;
  background: #000;
  color: #fff;
  text-shadow: 0 0 15px rgba(0,255,0,1.0);
  display: block;
  width: 80%;
  height: 7.5rem;
  padding: 0;
  line-height: 1.2;
  border: solid 2px #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  border-radius: 10px;
}
.game4 #buttons input {
  width: 150px;
  background-color: #fff;
  border: solid 3px #000;
  border-radius: 20px;
  padding: 0px 5px;
  margin: 10px auto;
}
.game4 #buttons #start {
  display: none;
}
.game4 #buttons #stop {
  display: none;
}
.game4 #buttons #reset {
  display: none;
}
.game4 #buttons #start.active {
  display: block;
}
.game4 #buttons #stop.active {
  display: block;
}
.game4 #buttons #reset.active {
  display: block;
}

.game4 #result {
  position: absolute;
  transform: translate(-50%,-50%);
  font-size: 3rem;
  top: -21%;
  left: 50%;
  width: 100%;
  z-index: 999;
  text-shadow: 
  2px 2px 1px rgba(255,255,255,1), 
  -2px -2px 1px rgba(255,255,255,1), 
  -2px 2px 1px rgba(255,255,255,1), 
  2px -2px 1px rgba(255,255,255,1), 
  2px 0px 1px rgba(255,255,255,1),
  0px 2px 1px rgba(255,255,255,1),
  -2px 0px 1px rgba(255,255,255,1),
  0px -2px 1px rgba(255,255,255,1), 
  3px 3px 2px rgba(0,0,0,1), 
  -2px -2px 2px rgba(0,0,0,1), 
  -2px 2px 2px rgba(0,0,0,1), 
  2px -2px 2px rgba(0,0,0,1);
  display: none;
}
.game4 #result.active {
  display: block;
}


/*-----------------------------------*/
