@charset "UTF-8";

/* index.html用のcss */
/* 設定は最小限に */
/* 基本の設定 */
body {
  background-color: #0b1644;
  /* 横スクロールバーを非表示 */
  overflow-x: hidden;
}

.mobile {
  height: calc(66vh - 56.25vw);
}

/* wave */
#back {
  position : absolute;
  top: 0px;
}
#dv_wave {
  position: absolute;
  top: 0px;
  right: 0px;
}

#img_wave {
  animation: wave 2s;
}

/* girl */
#dv_girl {
  position: absolute;
  top: 0px;
  left: 0px;
}

#img_girl {
  animation: girl 3s;
}

/* boy */
#dv_boy {
  position: absolute;
  top: 0px;
  right: 0px;
}

#img_boy {
  animation: boy 3s;
}

/* logo */
#dv_logo {
  position: absolute;
  top: 0px;
  right: 0px;
}

#img_logo {
  animation: logo 4s;
}

/* left leaf */
#dv_leaf1 {
  position: absolute;
  top: 0px;
  right: 0px;
}

#img_leaf1 {
  animation: leaf 6s;
}

/* right leaf */
#dv_leaf2 {
  position: absolute;
  top: 0px;
  right: 0px;
}

#img_leaf2 {
  animation: leaf 6s;
}

/* presented */
#dv_presented {
  position: relative;
}

#img_presented {
  animation: presented 5s;
}

/* start button */
#btn_start {
  position: absolute;
  animation: start 5s;
  left: 38vw;
  top: 75%;
  color: white;
  font-family: 'Geo', sans-serif;
  font-size: 6vw;
  z-index: 99;
}
@media screen and (max-width: 676px){
  #dv_wave {
    position: absolute;
    top: calc(66vh - 56.25vw);
    right: 0px;
  }

  #img_wave {
    animation: wave 2s;
  }

  /* girl */
  #dv_girl {
    position: absolute;
    top: calc(66vh - 56.25vw);
    left: 0px;
  }

  #img_girl {
    animation: girl 3s;
  }

  /* boy */
  #dv_boy {
    position: absolute;
    top: calc(66vh - 56.25vw);
    right: 0px;
  }

  #img_boy {
    animation: boy 3s;
  }

  /* logo */
  #dv_logo {
    position: absolute;
    top: calc(66vh - 56.25vw);
    right: 0px;
  }

  #img_logo {
    animation: logo 4s;
  }

  /* left leaf */
  #dv_leaf1 {
    position: absolute;
    top: calc(66vh - 56.25vw);
    right: 0px;
  }

  #img_leaf1 {
    animation: leaf 6s;
  }

  /* right leaf */
  #dv_leaf2 {
    position: absolute;
    top: calc(66vh - 56.25vw);
    right: 0px;
  }
}

/* animation */
/*
===|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |(s)
wav|** **
gir|-- ** **
boy|-- ** **
log|-- -- ** **
pre|-- -- -- -- **
sta|-- -- -- -- **
lea|-- -- -- -- ** **
*/
@keyframes wave {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(0%);
  }
}

@keyframes girl {
  0% {
    transform: translateX(-100%);
  }

  35% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(0%);
  }
}

@keyframes boy {
  0% {
    transform: translateX(100%);
  }

  35% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(0%);
  }
}

@keyframes logo {
  0% {
    transform: translateY(-200%);
  }

  50% {
    transform: translateY(-200%);
  }

  100% {
    transform: translateY(0%);
  }
}

@keyframes presented {
  0% {
    /* 透明度 */
    opacity: 0;
  }

  80% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes leaf {
  0% {
    transform: translateY(-200%);
  }

  33% {
    transform: translateY(-200%);
  }

  90% {
    transform: translateY(0%);
  }
}

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

  80% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
