@import url('https://fonts.googleapis.com/css?family=Montserrat:700');



body {
/*  background-color: #004D00;
  background-image: radial-gradient(#333, #004D00); */
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #004D00; /* #fff; */
  text-align: center;
  width: 100vw;
  font-weight: 700;
  overflow: hidden;
  font-family: 'Montserrat', sans-serif;
}

#fly-in {
  font-size: 4em;
  margin: 40vh auto;
  height: 20vh; 
  text-transform: uppercase;
}

#fly-in span {
  display: block;
  font-size: .4em;
  opacity: .8;
}

#fly-in div {
 position: fixed; <!--codepen.io/h-kod/-->
  margin: 2vh 0;
  opacity: 0;
  left: 10vw;
  width: 80vw;
  animation: switch 32s linear infinite;
}

#fly-in div:nth-child(2) { animation-delay: 4s}
#fly-in div:nth-child(3) { animation-delay: 8s}
#fly-in div:nth-child(4) { animation-delay: 12s}
#fly-in div:nth-child(5) { animation-delay: 16s}
#fly-in div:nth-child(6) { animation-delay: 20s}
#fly-in div:nth-child(7) { animation-delay: 24s}
#fly-in div:nth-child(8) { animation-delay: 28s}

@keyframes switch {
    0% { opacity: 0;filter: blur(20px); transform:scale(12)}
    3% { opacity: 1;filter: blur(0); transform:scale(1)}
    10% { opacity: 1;filter: blur(0); transform:scale(.9)}
    13% { opacity: 0;filter: blur(10px); transform:scale(.1)}
    80% { opacity: 0}
    100% { opacity: 0}
}

@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@100&display=swap');

/* 水中エフェクト */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box !important;
}

html, body {
  height: 100%;
}

body {
  display: table;
  width: 100%;
  height: 100%;
background: linear-gradient(0deg, #81b8fb 0%,#fea4a4 80%) no-repeat #fea4a4;
  color: #94ffe;
  line-height: 1.6;
  position: relative;
  font-family: sans-serif;
  overflow: hidden;
}
  color: #000;
  line-height: 1.6;
  position: relative;
  font-family: sans-serif;
  overflow: hidden;
}

.rainning {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  margin: auto;
  width: 100vw;
}

.rain {
  position: absolute;
  width: 1px;
  height: 100%;
  top: 0;
  left: 50%;
  overflow: hidden;
}
.rain::after {
  content: "";
  display: block;
  position: absolute;
  height: 20vh;
  width: 100%;
  top: -50%;
  left: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 80%, #ffffff 100%);
  animation: drop 2.8s 0s infinite;
  animation-fill-mode: forwards;
  opacity: .6;
}
.rain:nth-child(1) {
  margin-left: -40%;
}
.rain:nth-child(1)::after {
  animation-delay: 1.2s;
}
.rain:nth-child(2) {
  margin-left: -30%;
}
.rain:nth-child(2)::after {
  animation-delay: 2.5s;
}
.rain:nth-child(3) {
  margin-left: -20%;
}
.rain:nth-child(3)::after {
  animation-delay: .6s;
}
.rain:nth-child(4) {
  margin-left: -10%;
}
.rain:nth-child(4)::after {
  animation-delay: 2.3s;
}
.rain:nth-child(5) {
  margin-left: 0%;
}
.rain:nth-child(5)::after {
  animation-delay: 1s;
}
.rain:nth-child(6) {
  margin-left: 10%;
}
.rain:nth-child(6)::after {
  animation-delay: .3s;
}
.rain:nth-child(7) {
  margin-left: 20%;
}
.rain:nth-child(7)::after {
  animation-delay: 2.6s;
}
.rain:nth-child(8) {
  margin-left: 30%;
}
.rain:nth-child(8)::after {
  animation-delay: 1.9s;
}
.rain:nth-child(9) {
  margin-left: 40%;
}
.rain:nth-child(9)::after {
  animation-delay: .7s;
}

@keyframes drop {
  0% {
    top: -50%;
  }
  100% {
    top: 150%;
  }
}

/*     */
@keyframes fall {
  to {
    top: 120%;
  }
}

@keyframes sway1 {
  from {
    transform: translateX(0px) rotate(0deg);
  }
  to {
    transform: translateX(200px) rotate(-45deg);
  }
}

@keyframes sway2 {
  from {
    transform: translateX(200px) rotate(-45deg);
  }
  to {
    transform: translateX(0px) rotate(0deg);
  }
}
