@charset "UTF-8";
/*========= ローディング画面のためのCSS ===============*/
#splash {
  position: fixed;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(90deg, rgb(238, 238, 238), rgba(252, 239, 232, 0.8) 50%, rgba(229, 231, 231, 0.8));
  z-index: 9999999;
  text-align: center;
  color: #021039;
  font-size: 80px;
  font-family: "Montserrat", serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
}
@media screen and (max-width: 768px) {
  #splash {
    font-size: 10.667vw;
  }
}

#splash-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*========= 画面遷移のためのCSS ===============*/
/*画面遷移アニメーション*/
.splashbg {
  display: none;
}

/*bodyにappearクラスがついたら出現*/
body.appear .splashbg {
  display: block;
  content: "";
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  transform: scaleX(0);
  background-image: linear-gradient(90deg, rgb(238, 238, 238), rgba(252, 239, 232, 0.8) 50%, rgba(229, 231, 231, 0.8));
  background-color: #00479d;
  animation-name: PageAnime;
  animation-duration: 1.2s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

@keyframes PageAnime {
  0% {
    transform-origin: left;
    transform: scaleX(0);
  }
  50% {
    transform-origin: left;
    transform: scaleX(1);
  }
  50.001% {
    transform-origin: right;
  }
  100% {
    transform-origin: right;
    transform: scaleX(0);
  }
}
/*画面遷移の後現れるコンテンツ設定*/
#container {
  opacity: 0; /*はじめは透過0に*/
}

/*bodyにappearクラスがついたら出現*/
body.appear #container {
  animation-name: PageAnimeAppear;
  animation-duration: 1s;
  animation-delay: 0.8s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes PageAnimeAppear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/*text animetions*/
@keyframes showTextFromBottom {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(0px);
  }
}
.anime-up.displayed span {
  animation: showText 1s backwards;
  display: inline-block;
}

.anime-up.displayed > span {
  overflow: hidden;
}

.anime-up.displayed > span > span {
  animation: showTextFromBottom 0.5s backwards;
}

@media screen and (max-width: 768px) {
  /*bodyにappearクラスがついたら出現*/
  body.appear .splashbg {
    width: 100%;
    height: 100vh;
    animation-duration: 0.8s;
  }
  /*bodyにappearクラスがついたら出現*/
  body.appear #container {
    animation-name: PageAnimeAppear;
    animation-duration: 1s;
    animation-delay: 0.2s;
    animation-fill-mode: forwards;
    opacity: 0;
  }
  .anime-up.displayed > span > span {
    animation: showTextFromBottom 0.3s backwards;
  }
}/*# sourceMappingURL=top.css.map */