@charset "utf-8";
/*
初回のloading
*/
#splash {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background:url(../images/common/bg_loading.webp);
}
#splash_logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#splash_logo img {
  width:459px;
}

/*
２回目以降、トップ以外
*/
.loading_wrap {
  position: fixed;
  z-index: 9999;
  background: url(../images/common/bg_texcure.webp);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* loadin */
.ring {
  --uib-size: 40px;
  --uib-speed: 2s;
  --uib-color: #fff;
  
  height: var(--uib-size);
  width: var(--uib-size);
  vertical-align: middle;
  transform-origin: center;
  animation: rotate var(--uib-speed) linear infinite;
}

.ring circle {
  fill: none;
  stroke: var(--uib-color);
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  animation: stretch calc(var(--uib-speed) * 0.75) ease-in-out infinite;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes stretch {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 200;
    stroke-dashoffset: -35px;
  }
  100% {
    stroke-dashoffset: -124px;
  }
}
