@charset "UTF-8";
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes slideOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-150%);
  }
}
@keyframes fadeInSlideUp {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}
@keyframes fadeInSlideDown {
  0% {
    opacity: 0;
    transform: translate(-50%, -100%);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}
@keyframes bgScale {
  0% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1.2);
  }
}
@keyframes rotate {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
main #key-visual {
  position: relative;
}
main #key-visual #canvas {
  position: absolute;
  top: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 1s;
}

#loader {
  /* 背景 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000000;
  transition: opacity 0.5s ease;
  /* 外側の回転する円形ライン */
  /* 中央のドットアニメーション（円の下に配置） */
  /* 追加：％表示（少し小さく） */
  /* アニメーション定義 */
}
#loader .loader-container {
  position: relative;
  width: 300px;
  height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#loader .circle-outline {
  position: relative;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(0, 91, 172, 0.1);
  border-top: 2px solid #005BAC;
  border-radius: 50%;
  animation: spin 2s linear infinite;
  display: flex;
  justify-content: center;
  align-items: center;
}
#loader .wssl-logo {
  position: absolute;
  top: 130px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 156px;
  height: auto;
  margin-bottom: 0;
}
#loader .dots-group {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  margin-bottom: 15px;
}
#loader .dot {
  width: 18px;
  height: 18px;
  background-color: #5BA4E5;
  border-radius: 50%;
  opacity: 0.3;
  animation: dot-pulse 1.5s infinite ease-in-out;
}
#loader .dot:nth-child(2) {
  animation-delay: 0.2s;
}
#loader .dot:nth-child(3) {
  animation-delay: 0.4s;
}
#loader .dot:nth-child(4) {
  animation-delay: 0.6s;
}
#loader .dot:nth-child(5) {
  animation-delay: 0.8s;
}
#loader .percentage {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  color: #333;
  letter-spacing: 0.1em;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes dot-pulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

/* 読み込み完了後のクラス */
.fade-out {
  opacity: 0;
  pointer-events: none;
}

#ityped {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8, 1);
  line-height: 1;
  text-align: center;
  color: #ffffff;
  font-size: 14vw;
  font-weight: 700;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif !important;
  white-space: pre;
}
@media screen and (min-width: 768px) {
  #ityped {
    font-size: 6em;
  }
}