@charset "utf-8";

/* animation **************************/

/* fadeUp ****************************/

.fadeUp{
    animation-name:fadeUpAnime;
    animation-duration:0.9s;
    animation-fill-mode:forwards;
    opacity:0;
    }

.delay-time-01{
    animation-delay: 0.2s;/*この数字を指定したい遅延時間に変更*/
}
.delay-time-02{
    animation-delay: 0.4s;
}
.delay-time-03{
    animation-delay: 0.6s;
}
.delay-time-04{
  animation-delay: 0.8s;
}
.delay-time-05{
  animation-delay: 1.0s;
}
.delay-time-06{
  animation-delay: 1.2s;
}
.delay-time-07{
  animation-delay: 1.4s;
}
.delay-time-08{
  animation-delay: 1.6s;
}
.delay-time-09{
  animation-delay: 1.8s;
}
.delay-time-10{
  animation-delay: 2.0s;
}

    

    @keyframes fadeUpAnime{
      from {
        opacity: 0;
      transform: translateY(100px);
      }
    
      to {
        opacity: 1;
      transform: translateY(0);
      }
    }
     
    /* スクロールをしたら出現する要素にはじめに透過0を指定　*/
    .fadeUpTrigger{
        opacity: 0;
    }




/*=============== 矢印が動いてスクロールを促す ===============*/

/*スクロールダウン全体の場所*/
.scrolldown4{
  /*描画位置※位置は適宜調整してください*/
  position:absolute;
  bottom:1%;
  right:50%;
    /*矢印の動き1秒かけて永遠にループ*/
  animation: arrowmove 1s ease-in-out infinite;
  z-index: 9999;
}

/*下からの距離が変化して全体が下→上→下に動く*/
@keyframes arrowmove{
    0%{bottom:1%;}
    50%{bottom:3%;}
   100%{bottom:1%;}
}

/*Scrollテキストの描写*/
.scrolldown4 span{
  /*描画位置*/
position: absolute;
left:-20px;
bottom:10px;
  /*テキストの形状*/
color: #eee;
font-size: 0.7rem;
letter-spacing: 0.05em;
/*縦書き設定*/
-ms-writing-mode: tb-rl;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
}

/* 矢印の描写 */
.scrolldown4:before {
  content: "";
  /*描画位置*/
  position: absolute;
  bottom: 0;
  right: -6px;
  /*矢印の形状*/
  width: 1px;
  height: 20px;
  background: #eee;
  transform: skewX(-31deg);
}

.scrolldown4:after{
content:"";
  /*描画位置*/
position: absolute;
bottom:0;
right:0;
  /*矢印の形状*/
width:1px;
height: 50px;
background:#eee;
}


/*========= ページトップのためのCSS ===============*/
/*リンクの形状*/
#page-top a{
	display: flex;
	justify-content:center;
	align-items:center;
	background:#ffffff;
  border: 1px solid #666666;
	border-radius: 30px;
	width: 60px;
	height: 60px;
	color: #666666;
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	font-size:0.6rem;
	transition:all 0.3s;
}
#page-top a i{
  margin: 0;
}

#page-top a:hover{
  opacity: .6;
}

/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 4%;
	z-index: 9999;
    /*はじめは非表示*/
	opacity: 0;
	transform: translateY(100px);
}

/*　上に上がる動き　*/

#page-top.UpMove{
	animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}

/*　下に下がる動き　*/

#page-top.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 1;
	transform: translateY(100px);
  }
}

