html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}
html, body {
    height: 100%;
}
canvas {
    display: block;
}
body {
    margin: 0;
}
#unity-container {
    width: 100%;
    height: 100%;
    //background: #ffffff; /*ここで背景指定*/
}
/*縦長*/
@media (max-aspect-ratio: 9/16) {
    #unity-canvas {
        width: 100%;
        /*height: 100%;*/
        aspect-ratio: 9 / 16; /*追記*/
      //  background: #60e1ff;
        margin: 0 auto; /*追記*/
    }
}
/*横長*/
@media (min-aspect-ratio: 9/16) {
    #unity-canvas {
        /*width: 100%; /*削除*/
        height: 100%;
        aspect-ratio: 9 / 16; /*追記*/
        //background: #60e1ff;
        margin: 0 auto; /*追記*/
    }
}
#loading-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
#unity-loading-bar {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#unity-logo {
    text-align: center;
}
#unity-logo img {
    max-width: 80%;
}
#unity-progress-bar-empty {
    width: 80%;
    height: 30px;
    margin: 0px 20px 20px 0px;
    text-align: left;
    border: 2px solid #ffffff;
    padding: 0px;
    background-color:#565656;
    border-radius: 6px 6px 6px 6px;
    Background: url('progress-bar-empty.png') repeat-x center
}
#unity-progress-bar-full {
    width: 0%;
    height: 100%;
    background: white;
    padding: 0px;
    margin: 0px 0px 0px 0px;
    border-radius: 6px 6px 6px 6px;
    Background: url('progress-bar-full.png') repeat-x center;
}
.light #unity-progress-bar-empty {
    border-color: black;
}
.light #unity-progress-bar-full {
    background: black;
}

#unity-fullscreen-button {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 38px;
    height: 38px;
    background: url('fullscreen-button.png') no-repeat center;
    background-size: contain;
}

.spinner,
.spinner:after {
  border-radius: 50%;
  width: 5em;
  height: 5em;
}
.spinner {
  margin: 10px;
  font-size: 10px;
  position: relative;
  text-indent: -9999em;
  border-top: 1.1em solid rgba(255, 255, 255, 0.2);
  border-right: 1.1em solid rgba(255, 255, 255, 0.2);
  border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
  border-left: 1.1em solid #ffffff;
  transform: translateZ(0);
  animation: spinner-spin 1.1s infinite linear;
}
@keyframes spinner-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


