html {
    overflow-x: hidden;
    font-family: "Noto Sans JP", sans-serif;;
}

body {
    height: auto;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #f5f5f5; 
    text-align: center;
    padding: 10px;
}

.pic {
    position: fixed;
    width: 100%;
    top: 430px;
    right: -20px;
    z-index: -1; /* 画像を最背面に置く */
}

.pic_finish {
    position: fixed;
    width: 50%;
    top: 650px;
    transform: rotate( -40deg );
    right: -160px;
    z-index: -1; /* 画像を最背面に置く */
}

.pic_rule {
    position: fixed;
    width: 35%;
    top: 700px;
    /* transform: rotate( 40deg ); */
    left: 0px;
    z-index: -1; /* 画像を最背面に置く */
}

.center {
    width: 33%;
    margin: 0 auto;
}

.select_game {
    top: 500px;
    text-align: center;
    font-size: 30px;
    color: #0000BB ;
    margin-top: 20px;
}

.select_game_text {
    text-align: center;
    font-size: 50px;
    font-family: "Noto Sans JP", sans-serif;
    color: #0000BB ;
    margin-bottom: 20px;
}

.select_level {
    text-align: center;
}

.select_game_button {
    display: inline-block;
    /* width: 230px; */
    min-width: 220px;
    max-height: 150px;
    border: 2px solid #3cb371;
    background-color: #0000BB ;
    border-radius: 10px;
    color: #fff;
    text-align: center;
    font-size: 30px;
    margin: 5px;
    cursor: pointer;
    text-decoration: none;
    padding: 80px 5px;
    font-weight: bold;
    font-family: "Noto Sans JP", sans-serif;
}

/* 試験管 */
.wrapper-loading06 {
    margin-top: 50px;
    /* text-align: center; */
    float: left;
}
.wrapper-loading07 {
    margin-top: 50px;
    /* text-align: center; */
    float: right;
}
.bubbles {
    position: absolute;
    text-align: center;
    top: 100px;
    width: 44px;
    height: 44px;
    margin: auto;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    border-radius: 100%;
    -webkit-animation-name: up-to-1;
            animation-name: up-to-1;
    -webkit-animation-duration: 3s;
            animation-duration: 3s;
    -webkit-animation-timing-function: cubic-bezier(0.905, 0.130, 0.945, 0.360);
            animation-timing-function: cubic-bezier(0.905, 0.130, 0.945, 0.360);
    -webkit-animation-iteration-count: infinite;
            animation-iteration-count: infinite;
}
.tube {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 150px;
    background-color: rgba(185, 185, 185, .5);
    border-radius: 0 0 22px 22px;
    transform: scaleX(-1) skew(20deg, -30deg);
}
.tube2 {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 150px;
    background-color: rgba(185, 185, 185, .5);
    border-radius: 0 0 22px 22px;
    transform: skew(20deg, -30deg);
}
.line1 {
    position: absolute;
    top: 50%;
    left: 20px;
    margin: auto;
    width: 75px;
    height: 8px;
    background-color: grey;
    border-radius: 10px;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    z-index: 3;
}
.line2 {
    position: absolute;
    top: 200px;
    left: 75px;
    margin: auto;
    width: 8px;
    height: 210px;
    background-color: grey;
    border-radius: 10px;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
}
.line3 {
    display: hidden;
    position: absolute;
    top: 305px;
    left: 0px;
    margin: auto;
    width: 100px;
    height: 8px;
    background-color: grey;
    border-radius: 10px;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
}
.tube-cover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 0 0 22px 22px;
    z-index: 2;
}
.solution-ck {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0 0 22px 22px;
    overflow: hidden;
    z-index: 1;
}
.ck1, .ck2, .ck3, .ck4, .ck5 {
    position: absolute;
    width: 100%;
    height: 15px;
    margin-bottom: -1px;
}
.ck1 {
    bottom: 0;
    background-color: #8861A4;
}
.ck2 {
    bottom: 15px;
    background-color: #2495C1;
}
.ck3 {
    bottom: 30px;
    background-color: #48BB6D;
}
.ck4 {
    bottom: 45px;
    background-color: #F1C500;
}
.ck5 {
    bottom: 60px;
    background-color: #F35957;
}
#b1 {
    background-color: #8861A4;
    -webkit-animation-delay: 800ms;
            animation-delay: 800ms;
}
#b2 {
    background-color: #2495C1;
    -webkit-animation-delay: 600ms;
            animation-delay: 600ms;
}
#b3 {
    background-color: #48BB6D;
    -webkit-animation-delay: 400ms;
            animation-delay: 400ms;
}
#b4 {
    background-color: #F1C500;
    -webkit-animation-delay: 200ms;
            animation-delay: 200ms;
}
#b5 {
    background-color: #F35957;
}
#c1 {
    background-color: #8861A4;
    -webkit-animation-delay: 800ms;
            animation-delay: 800ms;
}
#c2 {
    background-color: #2495C1;
    -webkit-animation-delay: 600ms;
            animation-delay: 600ms;
}
#c3 {
    background-color: #48BB6D;
    -webkit-animation-delay: 400ms;
            animation-delay: 400ms;
}
#c4 {
    background-color: #F1C500;
    -webkit-animation-delay: 200ms;
            animation-delay: 200ms;
}
#c5 {
    background-color: #F35957;
}
@-webkit-keyframes up-to-1 {
    0% {}
    50% {
        -webkit-transform: scale(.5);
                transform: scale(.5);
    }
    100% {
        top: -2000px;
    }
}
@keyframes up-to-1 {
    0% {}
    50% {
        -webkit-transform: scale(.5);
                transform: scale(.5);
    }
    100% {
        top: -2000px;
    }
}
.wobble {
    -webkit-animation: wobble 5s infinite;
            animation: wobble 5s infinite;
}
@-webkit-keyframes wobble {
    0% {
        -webkit-transform: rotate(0deg);
                transform: rotate(0deg);
    }
    20% {
        -webkit-transform: rotate(2deg);
                transform: rotate(2deg);
    }
    50% {
        -webkit-transform: rotate(-2deg);
                transform: rotate(-2deg);
    }
    100% {
        -webkit-transform: rotate(0deg);
                transform: rotate(0deg);
    }
}
@keyframes wobble {
    0% {
        -webkit-transform: rotate(0deg);
                transform: rotate(0deg);
    }
    20% {
        -webkit-transform: rotate(2deg);
                transform: rotate(2deg);
    }
    50% {
        -webkit-transform: rotate(-2deg);
                transform: rotate(-2deg);
    }
    100% {
        -webkit-transform: rotate(0deg);
                transform: rotate(0deg);
    }
}

/* ふわ�?�わ浮かせ�? */
.circle {
    position: absolute;
    width: 30px;
    height: 30px;
    margin: 25px;
    border-radius: 100px;
    background: #95dade;
    padding: 60px;
    font-size: 30px;
    color: #fff;
    font-weight: bold;
    animation: fuwafuwa 2s infinite;
}
 
@keyframes fuwafuwa {
   0% {
     transform: translateY(0px);
   }
   50% {
     transform: translateY(-30px);
   }
   100% {
     transform: translateY(0px);
   }
}

/* ピコピコ動く*/
.box {
    position: absolute;
    margin: 25px;
    width: 30px;
    height: 30px;
    background: #ab93ed;
    border-radius: 5px;
    padding: 60px;
    font-size: 30px;
    color: #fff;
    font-weight: bold;
    animation: pikopiko 1s steps(2, start) infinite;
}
  
@keyframes pikopiko {
    0% {
      transform: rotate(20deg);
    }
    to {
      transform: rotate(-10deg);
    }
}

/* もちもち動く */
.mochi_right {
    width: 45px;
    height: 25px;
    margin: 25px 25px 25px auto;
    border-radius: 50px;
    background: #ed93b0;
    padding: 60px;
    font-size: 30px;
    color: #fff;
    font-weight: bold;
    animation: mochimochi 1s infinite;
}
 
@keyframes mochimochi {
   0% {
     transform: scale(1, 0.8);
   }
   20% {
     transform: scale(0.8, 1.1);
   }
   90% {
     transform: scale(1, 1);
   }
   100% {
     transform: scale(1, 0.8);
   }
}

/* ポヨンと動く */
.poyon {
    position: absolute;
    margin: 25px;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: #c2ed93;
    padding: 60px;
    font-size: 30px;
    color: #fff;
    font-weight: bold;
    animation: poyon 1.2s infinite;
}
  
@keyframes poyon {
    0%   { transform: scale(1.0, 1.0) translate(0%, 0%); }
    15%  { transform: scale(0.9, 0.9) translate(0%, 5%); }
    30%  { transform: scale(1.3, 0.8) translate(0%, 10%); }
    50%  { transform: scale(0.8, 1.3) translate(0%, -10%); }
    70%  { transform: scale(1.1, 0.9) translate(0%, 5%); }
    100% { transform: scale(1.0, 1.0) translate(0%, 0%); }
}

/* マルチ色 */
.animation-multi{
    width: 100%;
    height: 20px;
    background: #000;
    animation: width-animation 2s infinite,color-animation 2s infinite;
}
@keyframes width-animation {
    0%{
        width: 0;
    }
    100%{
        width: 100%;
    }
}
@keyframes color-animation {
    0%{
        background: #eb8282;
    }
    25%{
        background: #ebe271;
    }
  50%{
        background: #73d9e9;
    }
  100%{
        background: #74e37d;
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape){
    .loading {
        max-width: 768px; 
        margin: auto;
    }
}