body{

    background:linear-gradient(45deg, #3bade3,#FFFFFF,#44ea76);/*グラデーションを定義*/
	background-size: 800% 800%;/*サイズを大きくひきのばす*/
	animation: bggradient 20s ease infinite;
    margin: 0;
}

@keyframes bggradient{
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

#wrapper{
  display: block;
  color: #000000;
}

a{
  color: #fff;
}

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

html,body{
  height: 100%;/*高さを100%にして描画エリアをとる*/
}

#particles-js{ 
  position:fixed;/*描画固定*/
  z-index:-1;/*描画を一番下に*/
  width: 100%;
  height: 100%;
  
}

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


p {
    font-size:25px;
    width:70%;
}

/*========= 流れるテキスト ===============*/

/*全共通*/

.slide-in {
	overflow: hidden;
    display: inline-block;
    margin-left: 5%;
}

.slide-in_inner {
	display: inline-block;
}

/*左右のアニメーション*/
.leftAnime{
    opacity: 0;/*事前に透過0にして消しておく*/
}

.slideAnimeLeftRight {
	animation-name:slideTextX100;
	animation-duration:2s;
	animation-fill-mode:forwards;
    opacity: 0;
}

@keyframes slideTextX100 {
  from {
	transform: translateX(-100%); /*要素を左の枠外に移動*/
        opacity: 0;
  }

  to {
	transform: translateX(0);/*要素を元の位置に移動*/
    opacity: 1;
  }
}

.slideAnimeRightLeft {
	animation-name:slideTextX-100;
	animation-duration:2s;
	animation-fill-mode:forwards;
    opacity: 0;
}


@keyframes slideTextX-100 {
  from {
	transform: translateX(100%);/*要素を右の枠外に移動*/
    opacity: 0;
  }

  to {
	transform: translateX(0);/*要素を元の位置に移動*/
    opacity: 1;
  }
}


/*========= 流れるテキスト 時差===============*/

/*全共通*/

.slide-in2 {
	overflow: hidden;
    display: inline-block;
    margin-left: 9%;
}

.slide-in_inner2 {
	display: inline-block;
}

/*左右のアニメーション*/
.leftAnime2{
    opacity: 0;/*事前に透過0にして消しておく*/
}

.slideAnimeLeftRight2 {
	animation-name:slideTextX101;
	animation-duration:2s;
	animation-fill-mode:forwards;
    opacity: 0;
    animation-delay: 1.5s;
}

@keyframes slideTextX101 {
  from {
	transform: translateX(-100%); /*要素を左の枠外に移動*/
        opacity: 0;
  }

  to {
	transform: translateX(0);/*要素を元の位置に移動*/
    opacity: 1;
  }
}

.slideAnimeRightLeft2 {
	animation-name:slideTextX-101;
	animation-duration:2s;
	animation-fill-mode:forwards;
    opacity: 0;
    animation-delay: 1.5s;
}


@keyframes slideTextX-101 {
  from {
	transform: translateX(100%);/*要素を右の枠外に移動*/
    opacity: 0;
  }

  to {
	transform: translateX(0);/*要素を元の位置に移動*/
    opacity: 1;
  }
}

h1{
    display:flex;
    text-align: center;
}
h2{
    font-size:20px;
    font-family:serif;
}
h3{
    font-size:30px;
    font-family:serif;
    margin-bottom: 0;
}
h4{
    margin-top:0;
    margin-bottom: 0;
    font-family:fantasy;
}
.content_1{
    display:flex;
    flex-direction:column;
    align-items: center;
    background-color:white;
    opacity: 0.7;
}
.content_2{
    display:flex;
    flex-direction:column;
    align-items: center;
    background-color:white;
    opacity: 0.7;
    
}.content_3{
    display:flex;
    flex-direction:column;
    align-items: center;
    background-color:white;
    opacity: 0.7;
}


section {
  max-width: 300px;
  margin: 0 auto;
}
a.btn_03 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 50px;
  position: relative;
  background: linear-gradient(black,white);
  border: 1px solid #228bc8;
  border-radius: 30px;
  box-sizing: border-box;
  padding: 0 45px 0 25px;
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
  transition-duration: 0.3s;
}
a.btn_03:before {
  content: '';
  width: 8px;
  height: 8px;
  border: 0;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  right: 25px;
  margin-top: -6px;
}
a.btn_03:hover {
  background: black;
  color: skyblue;
}
a.btn_03:hover:before {
  border-top: 2px solid #228bc8;
  border-right: 2px solid #228bc8;
}

.scrolldown1{
    /*描画位置※位置は適宜調整してください*/
	position:absolute;
	left:50%;
	bottom:10px;
    /*全体の高さ*/
	height:50px;
}

/*Scrollテキストの描写*/
.scrolldown1 span{
    /*描画位置*/
	position: absolute;
	left:-15px;
	top: -15px;
    /*テキストの形状*/
	color: #000;
	font-size: 0.7rem;
	letter-spacing: 0.05em;
}

/* 線の描写 */
.scrolldown1::after{
	content: "";
    /*描画位置*/
	position: absolute;
	top: 0;
    /*線の形状*/
	width: 1px;
	height: 30px;
	background: #000;
    /*線の動き1.4秒かけて動く。永遠にループ*/
	animation: pathmove 1.4s ease-in-out infinite;
	opacity:0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove{
	0%{
		height:0;
		top:0;
		opacity: 0;
	}
	30%{
		height:30px;
		opacity: 1;
	}
	100%{
		height:0;
		top:50px;
		opacity: 0;
	}
}

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

h1{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  color:#eee;
  text-shadow: 0 0 15px #666;
	text-align: center;
}

#header{
	width:100%;
	height: 60vh;
	position: relative;
} 

#header:before{
	content: '';
	position:fixed;
	top:0;
	left:0;
	z-index:-1;
}

#container{
	position: relative;
	z-index:1;
	background:#fff;
	padding:600px 0;
	text-align: center;
}

@media screen and (max-width:768px){

    #header,
    #header:before{
	height: 60vh;    
    }
    
}
  

/*スマホOK設定*/
@media(max-width: 600px){
    h3{
        font-size:40px;
    }
    h1{
    display:flex;
    text-align: center;
}
    p {
    font-size:15px;
    width:100%;
}
    .content p{
    width:80%;
    }
}
    


