@keyframes shadowMove {
  0% {
    -webkit-filter: drop-shadow(40px 0 14px rgba(0, 0, 0, 0.6));
    filter: drop-shadow(40px 0 14px rgba(0, 0, 0, 0.6));
  }
  100% {
    -webkit-filter: drop-shadow(-60px 0 14px rgba(0, 0, 0, 0.4));
    filter: drop-shadow(-60px 0 14px rgba(0, 0, 0, 0.4));
  }
}
.groundShadow {
  position: absolute;
  bottom: 18%;
  width: 58%;
  height: 10%;
  background: radial-gradient(50% 60% at 50% 50%, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 70%);
  filter: blur(16px);
  transform: translateX(18%);
  animation: groundMove 2.0s ease-in-out infinite alternate;
}
@keyframes groundMove {
  0% {
    transform: translateX(22%) scaleX(1.06);
  }
  100% {
    transform: translateX(-22%) scaleX(0.94);
  }
}
.loadwrap {
  width: 100vw;
  height: 100vh;
  background: #fff;
  position: fixed;
  z-index: 9999;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.loader {
  width: 100%;
  height: clamp(420px, 62vw, 96svh);
}
body:not(.on) .loadwrap {
	display: none;
}
.loader .main-img {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 60%;
}
.fv0 {
  z-index: 10000;
  -webkit-filter: drop-shadow(40px 0 14px rgba(0, 0, 0, 0.6));
  filter: drop-shadow(40px 0 14px rgba(0, 0, 0, 0.6));
  animation: shadowMove 2s linear infinite;
  will-change: filter;
}
.loader .caption {
  position: absolute; /* ← 相対先は一番近い position 指定の親 */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* 中央にズラす */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #555;
  letter-spacing: .04em;
  z-index: 10;
  height: auto;
}
.loader .bar {
  width: 130px;
  height: 3px;
  border-radius: 999px;
  background: #eee;
  overflow: hidden;
}
.loader .bar > i {
  display: block;
  width: 40%;
  height: 100%;
  background: #999;
  border-radius: 999px;
  animation: flow 1.2s ease-in-out infinite;
}
@keyframes flow {
  0% {
    transform: translateX(-120%);
    opacity: .2;
  }
  50% {
    opacity: .55;
  }
  100% {
    transform: translateX(320%);
    opacity: .2;
  }
}
/* フェードアウト用（使いたい時だけ .fadeout クラスを付与） */
.loadwrap.fadeout {
  animation: hide .6s ease forwards;
}
@keyframes hide {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
/* 省エネ設定対応 */
@media (prefers-reduced-motion: reduce) {
  .skySweep, .fv0, .groundShadow, .bar > i {
    animation: none !important;
  }
}
/* ---------- IEのみ ---------- */
@media all and (-ms-high-contrast: none) {}
/* ---------- 1280px ~ ---------- */
@media screen and (max-width: 1280px) {
  .loader .main-img {
    top: -90px;
    right: -90px;
  }
}
/* ---------- 1080px ~ ---------- */
@media screen and (max-width: 1080px) {
  .loader .main-img {
    top: -60px;
    right: -70px;
  }
}
/* ---------- 768px ~ ---------- */
@media screen and (max-width: 768px) {
  .loader .main-img {
    top: -20px;
    right: -50px;
  }
}
/* ---------- 576px ~ ---------- */
@media screen and (max-width: 576px) {
  .loader .main-img {
    top: 20px;
    right: -10px;
  }
}
