/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 10px;
	bottom:30px;
	z-index: 2;
	  /*はじめは非表示*/
	opacity: 0;
	transform: translateY(150px);
  }
  
  /*　上に上がる動き　*/
  #page-top.UpMove{
	animation: UpAnime 0.5s forwards;
  }
  
  @keyframes UpAnime{
	from {
	  opacity: 0;
	transform: translateY(150px);
	}
	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(150px);
	}
  }
  
  /*画像の切り替えと動き*/
  #page-top a {
	  /*aタグの形状*/
	display: block;
	width: 60px;
	height: 60px;
	color: #333;
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	font-size:0.6rem;
	  /*背景画像の指定*/
	background: url("page_up01.png") no-repeat center;
	background-size: contain;
	opacity: 0.8;
  }
  
  #page-top.floatAnime a{
	width: 60px;
	height: 60px;
	  /*背景画像の指定*/
	background: url("page_up02.png") no-repeat center;
	background-size: contain;
opacity: 0.6;
  }
  
  @keyframes floatAnime {
	0% { transform: translateX(0); opacity: 0; }
	25% { transform: translateX(-6px);opacity: 1; }
	50% { transform: translateX(0) }
	100% { transform: translateX(6px);opacity: 1; }
  }
  
  /*Page Topと書かれたテキストの位置*/
  #page-top span{
	  position: absolute;
	  bottom: -20px;
	  right: 20px;
	color: #666;
  }

  a:focus{
	outline:none;
   }