html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #231F20;
  display: flex;
  justify-content: center;
  align-items: center;
}

#unity-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: env(safe-area-inset-top) env(safe-area-inset-right)
           env(safe-area-inset-bottom) env(safe-area-inset-left);
}

#unity-canvas {
  background: #231F20;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  aspect-ratio: 1080 / 1920;
  display: block;
  position: absolute;
  top: 0; /* 上に固定 */
  left: 50%;
  transform: translateX(-50%);
}
/*
@media (min-width: 441px) {
  #unity-canvas {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: 100vh;
    max-width: 712px;
    object-fit: contain;
  }
}

@media (max-width: 440px) {
  #unity-canvas {
    width: 100%;
    height: 100%;
  }
}
  */

#unity-loading-bar {
  position: absolute;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  aspect-ratio: 1080 / 1920;
  background: url('splash/splash_bg.jpg') no-repeat center;
  background-size: cover;
  display: block;
}

#trump-attention {
  position: relative;
  width: 100%;
  top: 0;
  margin: 0 auto;
  background-color: rgba(0, 0, 0, 0.604);
  color: #FFF;
}

#trump-attention p {
  margin: 0;
  padding: 0;
}

.en-att {
  width: 80%;
  margin:0 auto;
  padding: 1% 0;
  font-size: 0.8em;
}

.jp-att {
  width: 80%;
  margin:0 auto;
  padding: 1% 0;
  font-size: 0.8em;
}

/*
@media (min-width: 441px) {
  #unity-loading-bar {
    height: 100vh;
    max-width: 712px;
    object-fit: contain;
  }
}
  */

/* ロゴ */
#trump-logo img {
  position: absolute;
  top: 5%;
  left: 5%;
  right: 5%;
  width: 90%;
  margin-bottom: 10px;
}

#unity-progress-bar-empty {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  aspect-ratio: 1024 / 120;
  background: url('splash/loadingbar9_base.png') no-repeat center;
  background-size: contain;
  overflow: hidden;
}

#unity-progress-bar-full {
  position: absolute;
  top: 0;
  left: 2%;
  height: 100%;
  width: 0%;
  background: url('splash/loadingbar9.png') no-repeat left center;
  background-size: 100% 75%;
}

#rotating-images {
  position: absolute;
  bottom: 23%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  pointer-events: none;
}

.rotating-img {
  position: absolute;
  width: 15%;
  top: 0;
  left: 0;
  animation: rotate 2s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg);}
  to { transform: rotate(360deg);}
}

@keyframes blinkEffect {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

#unity-loading {
  position: absolute;
  bottom: 5%;
  left: 5%;
  width: 50%;
  animation: blinkEffect 1s ease-in-out infinite alternate;
}

#unity-loading  img{
  width: 50%;
}
