@charset "utf-8";

/*========= レイアウトのためのCSS ===============*/

#wrapper{
  /* display: flex;
  justify-content: center;
  align-items: center; */
  text-align:center;
  color: #fff;
}

a{
  color: #fff;
}

/*========= particle js を描画するエリア設定 ===============*/

html{
  height: 100%;
  background-color: #00071b;
  /*高さを100%にして描画エリアをとる*/
}

#particles-js{ 
  position:fixed;/*描画固定*/
  z-index:-1;/*描画を一番下に*/
  width: 100%;
  height: 100%;
  top: 0;
  background-color:#00071b;/*背景色*/
}

#wrapper{
  position: relative;/*描画を#particles-jsよりも上にするためposition:relative;を指定*/
  z-index: 1;/*z-indexの数字を大きくすることで描画を#particles-jsよりも上に*/
  width:100%;
  /* height: 100%; */
}
.particles-js-canvas-el{
  height: 85% !important;
}


html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
}


#particles {
  background: url('http://arnaudel.perso.neuf.fr/Payekhali/Fonds/1280/AS11-40-5873.jpg') top center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#intro {
  position: absolute;
  left: 0;
  top: 50%;
  padding: 0 20px;
  width: 100%;
  text-align: center;
}
.overlay {
  position: fixed;
  background: rgba(0,0,0,0.5);
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}
h1 {
  text-transform: uppercase;
  font-size: 85px;
  font-weight: 700;
  letter-spacing: 0.015em;
}
h1::after {
  content: '';
  width: 80px;
  display: block;
  background: #fff;
  height: 10px;
  margin: 30px auto;
  line-height: 1.1;
}
p {
  margin: 0 0 10px 0;
  font-size: 24px;
}
/* .btn {
  display: inline-block;
  padding: 15px 30px;
  border: 2px solid #fff;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  -webkit-transition: all 0.4s;
     -moz-transition: all 0.4s;
       -o-transition: all 0.4s;
          transition: all 0.4s;
}
.btn:hover {
  color: #005544;
  border-color: #005544;
} */

@media only screen and (max-width: 1000px) {
  h1 {
    font-size: 70px;
  }
}

@media only screen and (max-width: 800px) {
  h1 {
    font-size: 48px;
  }
  h1::after {
    height: 8px;
  }
}

@media only screen and (max-width: 568px) {
  #intro {
    padding: 0 10px;
  }
  h1 {
    font-size: 30px;
  }
  h1::after {
    height: 6px;
  }
  p {
    font-size: 18px;
  }
  .btn {
    font-size: 16px;
  }
}

@media only screen and (max-width: 320px) {
  h1 {
    font-size: 28px;
  }
  h1::after {
    height: 4px;
  }
}



/* Wの背景アニメーション */
/* 回転して上昇するアニメーション */
@media (max-width: 480px) {
  .area {
    height: 100vh;
  }
}

.area .circles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  font-family: 'Noto Serif';
}

.area .circles li {
  position: absolute;
  display: block;
  list-style: none;
  /* width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.2); */
  -webkit-animation: animate 25s linear infinite;
          animation: animate 25s linear infinite;
  bottom: -150px;
}

.area .circles li.pink{
    /* text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #ff00de, 0 0 70px #ff00de, 0 0 80px #ff00de, 0 0 100px #ff00de, 0 0 150px #ff00de; */
    color: #ff00de;
    text-shadow: 0 0 10px #ff00de, 0 0 20px #ff00de, 0 0 30px #ff00de, 0 0 40px #ff00de, 0 0 70px #ff00de;
}
.area .circles li.green{
    color: lightgreen;
    text-shadow: 0 0 10px lightgreen, 0 0 20px lightgreen, 0 0 30px lightgreen, 0 0 40px lightgreen, 0 0 70px lightgreen;
}
.area .circles li.blue{
    color: lightblue;
    text-shadow: 0 0 10px lightskyblue, 0 0 20px lightskyblue, 0 0 30px lightskyblue, 0 0 40px lightskyblue, 0 0 70px lightskyblue;
}
.area .circles li.font-1{
  font-size: 100px;
}
.area .circles li.font-2{
  font-size: 80px;
}
.area .circles li.font-3{
  font-size: 60px;
}
.area .circles li.font-4{
  font-size: 40px;
}
.area .circles li.font-5{
  font-size: 25px;
}
.area .circles li.font-6{
  font-size: 12px;
}



.area .circles li:nth-child(1) {
  left: 25%;
  /* width: 80px;
  height: 80px; */
  -webkit-animation-delay: 10s;
          animation-delay: 10s;
}

.area .circles li:nth-child(2) {
  left: 10%;
  /* width: 20px;
  height: 20px; */
  -webkit-animation-delay: 20s;
          animation-delay: 20s;
  -webkit-animation-duration: 30s;
          animation-duration: 30s;
}

.area .circles li:nth-child(3) {
  left: 80%;
  /* width: 20px;
  height: 20px; */
  -webkit-animation-delay: 6s;
          animation-delay: 6s;
  -webkit-animation-duration: 24s;
          animation-duration: 24s;
}

.area .circles li:nth-child(4) {
  left: 40%;
  /* width: 60px;
  height: 60px; */
  -webkit-animation-delay: 0s;
          animation-delay: 0s;
  -webkit-animation-duration: 18s;
          animation-duration: 18s;
}

.area .circles li:nth-child(5) {
  left: 65%;
  /* width: 20px;
  height: 20px; */
  -webkit-animation-delay: 0s;
          animation-delay: 0s;
}

.area .circles li:nth-child(6) {
  left: 75%;
  /* width: 110px;
  height: 110px; */
  -webkit-animation-delay: 8s;
          animation-delay: 8s;
  -webkit-animation-duration: 18s;
          animation-duration: 18s;
}

.area .circles li:nth-child(7) {
  left: 35%;
  /* width: 150px;
  height: 150px; */
  -webkit-animation-delay: 7s;
          animation-delay: 7s;
}

.area .circles li:nth-child(8) {
  left: 50%;
  /* width: 25px;
  height: 25px; */
  -webkit-animation-delay: 15s;
          animation-delay: 15s;
  -webkit-animation-duration: 45s;
          animation-duration: 45s;
}

.area .circles li:nth-child(9) {
  left: 20%;
  /* width: 15px;
  height: 15px; */
  -webkit-animation-delay: 2s;
          animation-delay: 2s;
  -webkit-animation-duration: 35s;
          animation-duration: 35s;
}

.area .circles li:nth-child(10) {
  left: 85%;
  /* width: 150px;
  height: 150px; */
  -webkit-animation-delay: 0s;
          animation-delay: 0s;
  -webkit-animation-duration: 11s;
          animation-duration: 11s;
}

.area .circles li:nth-child(11) {
  left: 25%;
  /* width: 80px;
  height: 80px; */
  -webkit-animation-delay: 3s;
          animation-delay: 3s;
  -webkit-animation-duration: 14s;
          animation-duration: 14s;
}

.area .circles li:nth-child(12) {
  left: 90%;
  /* width: 20px;
  height: 20px; */
  -webkit-animation-delay: 2s;
          animation-delay: 2s;
  -webkit-animation-duration: 12s;
          animation-duration: 12s;
}

.area .circles li:nth-child(13) {
  left: 60%;
  /* width: 20px;
  height: 20px; */
  -webkit-animation-delay: 4s;
          animation-delay: 4s;
}

.area .circles li:nth-child(14) {
  left: 10%;
  /* width: 60px;
  height: 60px; */
  -webkit-animation-delay: 0s;
          animation-delay: 0s;
  -webkit-animation-duration: 18s;
          animation-duration: 18s;
}

.area .circles li:nth-child(15) {
  left: 85%;
  /* width: 20px;
  height: 20px; */
  -webkit-animation-delay: 0s;
          animation-delay: 0s;
}

.area .circles li:nth-child(16) {
  left: 45%;
  /* width: 110px;
  height: 110px; */
  -webkit-animation-delay: 3s;
          animation-delay: 3s;
}

.area .circles li:nth-child(17) {
  left: 60%;
  /* width: 110px;
  height: 110px; */
  -webkit-animation-delay: 5s;
          animation-delay: 5s;
  -webkit-animation-duration: 20s;
          animation-duration: 20s;
}

@-webkit-keyframes animate {
  0% {
    -webkit-transform: translateY(0) rotate(60deg);
            transform: translateY(0) rotate(60deg);
    opacity: 1;
    border-radius: 0;
  }
  100% {
    -webkit-transform: translateY(-1000px) rotate(-60deg);
            transform: translateY(-1000px) rotate(-60deg);
    opacity: 0;
    border-radius: 50%;
  }
}

@keyframes animate {
  0% {
    -webkit-transform: translateY(0) rotate(60deg);
            transform: translateY(0) rotate(60deg);
    opacity: 1;
    border-radius: 0;
  }
  100% {
    -webkit-transform: translateY(-1000px) rotate(-60deg);
            transform: translateY(-1000px) rotate(-60deg);
    opacity: 0;
    border-radius: 50%;
  }
}

/* AAの背景 */
body#aa{
  background-image: url(../img/bg-race.jpg);
}


/* Kの背景 */
body#k{
    background: url(../img/bg-tech.png);
    background-size: contain;
    background-position: bottom;
    background-repeat: no-repeat;
}


/* Eの背景アニメーション */
/* 流線のアニメーション */
.lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  margin: auto;
  width: 90vw;
  z-index: -1;
}

.line {
  position: absolute;
  width: 1px;
  height: 100%;
  top: 0;
  left: 50%;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.line::after {
  content: "";
  display: block;
  position: absolute;
  height: 15vh;
  width: 100%;
  top: -50%;
  left: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 75%, #ffffff 100%);
  -webkit-animation: drop 7s 0s infinite;
          animation: drop 7s 0s infinite;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
  -webkit-animation-timing-function: cubic-bezier(0.4, 0.26, 0, 0.97);
          animation-timing-function: cubic-bezier(0.4, 0.26, 0, 0.97);
}
.line:nth-child(1) {
  margin-left: -45%;
}
.line:nth-child(1)::after {
  -webkit-animation-delay: 2s;
          animation-delay: 2s;
}
.line:nth-child(3) {
  margin-left: 45%;
}
.line:nth-child(3)::after {
  -webkit-animation-delay: 2.5s;
          animation-delay: 2.5s;
}

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

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