@charset "utf-8";
/* CSS Document */

/* 親要素をFlexboxにして完全な上下左右中央揃えにする */
#logo-splash { 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%; 
  height: 100vh; 
  z-index: 9999; 
  background: rgba(255,255,255,1.0); 
  display: flex; 
  justify-content: center; 
  align-items: center; 
}

/* 位置調整（position:absolute等）は親のFlexboxに任せるため削除 */
#logo-splash-img { 
  text-align: center;
}

#logo-splash-img img {
  width: 200px; /* 元の記述を整理（基本サイズ） */
  height: auto;
}

#logo-splash .splash-fadeUp { 
  animation-name: spFadeUpAnime; 
  animation-duration: 0.5s; 
  animation-fill-mode: forwards; 
  opacity: 0;
}

@keyframes spFadeUpAnime {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- メディアクエリ部分はそのまま --- */
@media screen and (max-width: 599px) {
  #logo-splash-img img { width: 150px; }
  /* スマホ時に少し上寄り（40%）にしたい場合は margin-top で調整します */
  #logo-splash-img { margin-top: -20vh; } 
}
@media screen and (min-width: 600px) and (max-width: 899px)  {
  #logo-splash-img img { width: 160px; }
}
@media screen and (min-width: 900px) and (max-width: 1079px)  {
  #logo-splash-img img { width: 170px; }
}
@media screen and (min-width: 1080px) and (max-width: 1199px)  {
  #logo-splash-img img { width: 180px; }
}
@media screen and (min-width: 1200px) and (max-width: 1479px)  {
  #logo-splash-img img { width: 190px; }
}
