@charset "utf-8";
/*---------------------------------------------
Reset
---------------------------------------------*/

html {
	color: #333;
	overflow-y: scroll;
	font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN W3", Meiryo, sans-serif;
	font-size: 62.5%;
	line-height:1.5;
}

h1, h2, h3, h4, h5, h6 { font-weight: normal; margin: 0; padding: 0; }
img { border: none; vertical-align: bottom; max-width: 100%; height: auto; margin: 0; padding: 0; }
div, dl, dt, dd, form, input, ul, ol, li, p, select, textarea, span, th, td { margin: 0; padding: 0;}
*, *:before, *:after { box-sizing: border-box;}

/*---------------------------------------------
Style
---------------------------------------------*/
body {
	text-align: center;
	margin: 0 auto;
	padding: 0;
	font-size:1.8rem;
	max-width: 800px;
	margin: auto;
}


.for_pc{
	display:block;
	margin:0 auto;
}

.for_sp{
	display:none;
	margin:0 auto;
}

/* sp */
@media screen and (max-width: 750px){

	body {
		font-size:1.5rem;
	}
	.for_pc{
		display:none;
		margin:0 auto;
	}
	.for_sp{
		display:block;
		margin:0 auto;
	}

}

/* =========================================================
ヘッダー
========================================================= */
header{
	
}

/* =========================================================
ページトップ リンク
========================================================= */

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

#page-top a:hover{
	background: #777;
}

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

/*　上に上がる動き　*/

#page-top.UpMove{
	animation: UpAnime 0.5s forwards;
    bottom: 10px;
}
@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);
  }
}

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

#page-top.UpMove {
    animation: UpAnime 0.5s forwards;
    bottom: 10px;
}
}

/*---------------------------------------------
フッター
---------------------------------------------*/

footer{
	width: 100%;
	padding: 20px 0;
	font: Arial, Helvetica, sans-serif;
	background: #2b2b2b;
	font-size: 90%;
}

footer a{
	color: #fff;
	text-decoration: none;
}

footer address{
	color: #fff;
}

/* sp */
@media screen and (max-width: 520px){
	footer{
		padding:10px 0;
	}

	footer a{
	font-size: 0.5em;
	}
	
	#page-top a{
	margin: 0 -10px 0 0;
	}
}



