@charset "utf-8";

/* to-page-top */
/* 8-1-6.css */

/*リンクの形状*/
#page-top a{
	display:flex;
	justify-content:center;
	align-items:center;
	background:#888888aa;
	/* border-radius: 50%; */
	width: 50px;
	height: 50px;
	color: #fff;
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	padding: 5px;
	font-size:0.6rem;
	transition:all 0.3s;
}

#page-top a:hover{
	background: #001F5B;
}

/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 10px;
	z-index: 2;
    /*はじめは非表示*/
	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);
  }
}

small{
	color:#fff;
	display: block;
	text-align: center;
	/* font-size: 100px; */
}

section{
	padding:0px 0px;
}

section:nth-child(2n){
	background:#f3f3f3;	
}

#footer{
	background:#bbbbbb;
	position: relative;
	z-index: 2;
	padding:10px 10px;
	font-size: calc(0.5rem + 0.7vw);
}