@charset "UTF-8";
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #000;
}

* {
    padding: 0;
    margin: 0;
}

html {
    -ms-touch-action: none;
}

body, canvas, div {
    display: block;
    outline: 0;
    -webkit-tap-highlight-color: transparent;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -khtml-user-select: none;
}

canvas {
    width: 0%;
    height: 0%;
    background-color: rgba(0,0,0,0)
}

input::-webkit-inner-spin-button, input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0
}



.stripes span {
    background-size: 30px 30px;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, .15) 25%, transparent 25%,
    transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%,
    transparent 75%, transparent);
    animation: animate-stripes 1s linear infinite;
    position: relative;
}

@keyframes animate-stripes {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 60px 0;
    }
}


#Cocos2dGameContainer,
#GameCanvas {
    width: 100%;
    height: 100%;
}

#Cocos2dGameContainer {
    position: absolute;
    margin: 0;
    overflow: hidden;
    left: 0px;
    top: 0px;
    display: -webkit-box;
    -webkit-box-orient: horizontal;
    -webkit-box-align: center;
    -webkit-box-pack: center;
}

@media screen and (orientation: portrait) {
    html {
        width: 100%;
        height: 100%;
        background-color: #000;
        overflow: hidden;
        overflow-x: hidden;
        overflow-y: hidden;
    }

    body {
        width: 100%;
        height: 100%;
        background-size: 100% 100%;
        background-color: #000;
        overflow: hidden;
        overflow-x: hidden;
        overflow-y: hidden;
        font-family: Helvetica, Verdana, Arial, sans-serif;
        touch-action: none;
    }

}

@media screen and (orientation: landscape) {
    html {
        width: 100%;
        height: 100%;
        background-color: #000;
        overflow-x: hidden;
        overflow-y: hidden;
    }

    body {
        width: 100%;
        height: 100%;
        background-size: 100% 100%;
        background-color: #000;
        overflow: hidden;
        overflow-x: hidden;
        overflow-y: hidden;
        font-family: Helvetica, Verdana, Arial, sans-serif;
        touch-action: none;
    }

}
  /*---------------------Progress----------------------*/
.loadingBox{
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: absolute;
    top: 55%;
    z-index: 50;
}
.progress-bar {
    height: 0.8rem;
    padding: 2px;
    width: 70%;
    border-radius: 7px;
    margin: 28px auto;
    background-color: rgb(0,0,0,0.75);
}
.progress-bar span {
    display: block;
    height: 100%;
    border-radius: 5px;
    transition: width .4s ease-in-out;
    background-color: #029e17;
}
#splash{
    background-image: url(../imgs/imgs_bg_02.png), url(../imgs/imgs_bg_01.jpg);
    background-size: 36px 44px, 100% 100%;
    background-color: #171717;
    background-repeat: repeat, no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 8000;
    display: block;
}

.logoBox{
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 20%;
    width: 100%;
    position: relative;
    top:18%;
}

.compLogo{
    background:no-repeat center 0;
    /*background-image:url(../logo.png);*/
    width: 100%;
    height: 75px;
    background-size: auto 100%;
    margin: auto auto 0;
}

/*---------------------Progress----------------------*/
.loadingBox{
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 50%;
    width: 100%;
    position: relative;
    top:24%;/*間隔*/
}

.progress-bar {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 50%);
    /*top: 80%;*/
    height: 6px;
    padding: 2px;
    width: 45%;
    border-radius: 7px;
    box-shadow: 0 1px 5px #000000 inset, 0 1px 0 #242424;

    margin: 28px auto;/*間隔*/
}

.progress-bar span {
    display: block;
    height: 100%;
    border-radius: 3px;
    transition: width .4s ease-in-out;
    background-color: #ea8922;
}
.stripes span {
    background-size: 30px 30px;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, .15) 25%, transparent 25%,
    transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%,
    transparent 75%, transparent);
    animation: animate-stripes 1s linear infinite;
}
@media screen and (orientation: portrait) {
    .wrap_box{
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
    }
    .imgBox{
        background-size:cover;
        background-position: center;
    }
    .loadingBox{
        width: 100%;
    }
    .progress-bar {
        width: 60%;
    }
}