@charset "UTF-8";

/* -----------------------------
    loding | ローディング
-------------------------------- */
#loading {
  position: fixed;
  inset: 0;
  z-index: 999;
  background-color: #fff;
}

#loading.trigger {
  animation-name: PageAnime;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  animation-delay: 100ms;
  content: "";
}

#loading__first {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background-color: var(--point-color);
}

#loading__first__logo {
  animation-name: PageAnime;
  animation-duration: 1s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
  animation-delay: 500ms;
  content: "";
  width: 150px;
}

#loading__top.trigger {
  animation-name: PageAnime-top;
  animation-duration: 800ms;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  content: "";
  position: fixed;
  top: 0;
  z-index: 999;
  width: 100vw;
  height: 50vh;
  background-color: var(--point-color);
  transform: scaleY(1);
}

#loading__bottom.trigger {
  animation-name: PageAnime-bottom;
  animation-duration: 800ms;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  content: "";
  position: fixed;
  bottom: 0;
  z-index: 999;
  width: 100vw;
  height: 50vh;
  background-color: var(--point-color);
  transform: scaleY(1);
}

@keyframes PageAnime {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    display: none;
  }
}

@keyframes PageAnime-top {
  0% {
    transform-origin: top;
    transform: scaleY(1);
  }

  100% {
    transform-origin: top;
    transform: scaleY(0);
    display: none;
  }
}

@keyframes PageAnime-bottom {
  0% {
    transform-origin: bottom;
    transform: scaleY(1);
  }

  100% {
    transform-origin: bottom;
    transform: scaleY(0);
    display: none;
  }
}

/* -----------------------------
    fadeIn | フェードインアニメーション
-------------------------------- */
.--fade-in {
  opacity: 0;
  transition: all 600ms 0s ease;
}

.--scroll-in {
  opacity: 1;
}

/* -----------------------------
    first-view | ファーストビュー
-------------------------------- */
#first-view {
  position: relative;
  width: 100vw;
  height: 90vh;
  overflow: hidden;
  background-image: url(../img/first-view/bg.webp);
  background-size: cover;
  background-position: center top;
}

.first-view__copy {
  position: absolute;
  bottom: 10%;
  left: 10%;
  color: #fff;
}

.first-view__copy__heading {
  margin-bottom: 10px;
  font-family: "Roboto", sans-serif;
  font-size: 30px;
  font-weight: bold;
  line-height: 1.4em;
}

.first-view__copy__text {
  font-size: 13px;
  line-height: 1.7em;
}

.first-view__copy__text span {
  font-family: "Roboto", sans-serif;
  ;
}

#first-view--deco {
  position: absolute;
  top: -30px;
  opacity: 0;
  height: 100vh;
  z-index: 10;
}

#first-view--deco.trigger {
  animation-name: FirstViewAnime;
  animation-duration: 800ms;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
  animation-delay: 150ms;
  content: "";
}

@keyframes FirstViewAnime {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 0.9;
    transform: translate(70vw, 0);
  }
}

/* ---- particles.js container ---- */
canvas {
  display: block;
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(64, 86, 94, 0.5);
  background-image: url("");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}