
html,body{
    width: 100%;
    height: 100%;
    font-family: 'Noto Sans JP', sans-serif;
}

.galleryTop {
    background-image: url("https://www.kai-group.com/fun/event/edgemuseum/assets/images/gallery/top/bg2.png");
    background-repeat: repeat;
    background-size: contain;
    width: 100%;
    height: 100%;
    /* background-color: #000000; */
}
#mainContents {
    width: 100%;
    height: 100%;
}
#webgl {
    position: fixed;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}
#flash {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 12;
}
#imageList {
    position: fixed;
    width: 100%;
    height: 100%;
}
#imageList li{
    width: 100%;
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0;
  
    /* background-image: url(../images/gallery/top/image1.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 100% 200px; */
    /* transform: scale3d(0.2, 0.2, 0.2); */
}
#imageList li img {
    /* opacity: 0; */
    position: absolute;
    top: 0;
    left: 0;
}
.onFadeIn {
    animation-name: fadeIn;
    animation-duration: 0.3s;
    animation-timing-function: linear;
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode:forwards;    
}
.onScaleDwon {
    animation-name: scaleDown;
    transform: scale3d(1.0, 1.0, 1.0);
    animation-duration: 0.4s;
    animation-timing-function: ease-in-out;
    opacity: 1.0;
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode:forwards;
}

.onScaleDwon > img:nth-child(1){
    animation-name: leftSlide;
    transform: translateX(0);
    animation-duration: 0.4s;
    animation-timing-function: ease-in-out;
    opacity: 1.0;
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode:forwards;

}

.onScaleDwon > img:nth-child(2){
    animation-name: rightSlide;
    transform: translateX(0);
    animation-duration: 0.4s;
    animation-timing-function: ease-in-out;
    opacity: 1.0;
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode:forwards;

}
/* animation */
@keyframes scaleDown {
    0% {
        opacity: 1.0;
        transform: scale3d(1.0, 1.0, 1.0);
        -webkit-transform: scale3d(1.0, 1.0, 1.0);
        -o-transform: scale3d(1.0, 1.0, 1.0);
        -moz-transform: scale3d(1.0, 1.0, 1.0);
        -ms-transform: scale3d(1.0, 1.0, 1.0);

    }
    100% {
        opacity: 1.0;
        transform: scale3d(0.8, 0.8, 0.8);
        -webkit-transform: scale3d(0.8, 0.8, 0.8);
        -o-transform: scale3d(0.8, 0.8, 0.8);
        -moz-transform: scale3d(0.8, 0.8, 0.8);
        -webkit-transform: scale3d(0.8, 0.8, 0.8);
    }
}
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1.0;
    }
}
@keyframes leftSlide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-20px);
    }
}
@keyframes rightSlide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(20px);
    }
}


#bgColor {
    opacity: 0.0;
    position: fixed;
    top: 55%;
    left: 50%;
    background-color: rgba(255, 255, 255, 1.0);
}
#mainCopy > li {
	opacity: 0;
    position: fixed;
    top: 50%;
    left: 55%;
    color: #333333;
    font-weight: bold;
    font-size: 1.4rem;
}
#leadCopy > li {
	opacity: 0;
    position: fixed;
    top: 50%;
    left: 45%;
    color: #333333;
    font-size: 0.8rem;
}
#goodBtn {
	opacity: 0;
    position: fixed;
    top: 50%;
    left: 45%;    
    display: table;
    width: 100px;
    height: 30px;
}
#goodBtn a {
    display: table-cell;
    width: 100%;
    height: 30px;
    padding: 0 5px;
    vertical-align: middle;
    text-align: left;
    background-color: #4d4d4d;
    color: #fff;
} 
#goodBtn a.none {
    opacity: 0.5;
}

#goodBtn a > span{
    float: right;
    padding-right: 5px;
}


#link {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

#clickText {
    opacity: 0;
    position: fixed;
    top: 48%;
    width: 100%;
}
#clickText p {
    width: 100%;
    text-align: center;
    color:rgb(36, 36, 36, 0.6);
    font-size: 1.4rem;
    animation: clickAnim 1.0s infinite alternate linear;
} 
@-webkit-keyframes clickAnim {
    0% {
        opacity: 1.0;
    }
    100% {
        opacity: 0.2;
    }
  }
  @keyframes clickAnim {
    0% {
        opacity: 1.0;
    }
    100% {
        opacity: 0.2;
    }
  }



#cursor {
    position: fixed;
    bottom: 5px;
    left: 50%;
    width: 50px;
    height: 50px;
    margin-left: -25px;
    text-align: center;
    color: #333;
}
#cursor > div {
    position: relative;
    width: 100%;
    height: 100%;
}
#cursor > div > p {
    font-size: 0.8rem;
    animation: cursorfuwafuwwaAnim 1.0s infinite alternate linear;
}
#cursor > div > a {
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 15px;
    margin-left: -7px;
    animation: cursorAnim 1.0s infinite alternate linear;
}

@-webkit-keyframes cursorAnim {
    0% {
        bottom: 10px;
        opacity: 1.0;
    }
    100% {
        bottom: 0;
        opacity: 0.2;
    }
  }
  @keyframes cursorAnim {
    0% {
        bottom: 10px;
        opacity: 1.0;
    }
    100% {
        bottom: 0;
        opacity: 0.2;
    }
  }

  @-webkit-keyframes cursorfuwafuwwaAnim {
    0% {
        opacity: 1.0;
    }
    100% {
        opacity: 0.2;
    }
  }
  @keyframes cursorfuwafuwwaAnim {
    0% {
        opacity: 1.0;
    }
    100% {
        opacity: 0.2;
    }
  }

#messageBox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 12;
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    overflow: visible;
}
#messageBox > div{
    display: table;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#messageBox > div > div{
    display: table-cell;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    text-align: center;
}
#messageBox > div > div > h2 {
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
    padding: 0 0 0 0;
}
#messageBox > div > div > p {
    padding: 20px 15px 0;
    font-size: 0.9rem;
    line-height: 1.6em;
}
#messageBox > div > div > a {
    margin: 20px auto 0;
    display: block;
    width: 200px;
    line-height: 50px;
    text-align: center;
    font-size: 0.9rem;
    background-color: #fff;
    color: #333;
}

#cursorList > li > a{
    display: block;
    width: 30px;
    height: 100px;
    position: absolute;
    top: 50%;
    margin-top: -50px;
    color: #333;
    font-size: 1.4rem;
    line-height: 100px;
    text-align: center;
    color: rgb(104, 104, 104);
    -webkit-tap-highlight-color:rgba(0,0,0,0);
}
#cursorList > li:nth-child(1) > a{
    right: 5px;
}#cursorList > li:nth-child(2) > a{
    left: 5px;
}