/* -------------------------------------------------------------------------- */
/* for ヘンケル (2018/11/30)																									*/
/* -------------------------------------------------------------------------- */
/* 2018/11/30 移植																														*/
/* 2018/12/08 機能改修：backto-btnに必要であった「a href」を無くしシンプルに	*/
/* 2018/12/08 機能改修：スクロール速度をスクロール量に応じるよう変更					*/
/* -------------------------------------------------------------------------- */
@charset "UTF-8";
/* CSS Document */

#backto-btn{
	position: fixed;
	z-index: 999;
	bottom: 20px;
	right: 0px;
	font-size: 80%;
	display: block;
	background-color: #e1000f;
	opacity: 0.3;
	color: #fff;
	text-align: center;
}

#backto-btn:hover{
	opacity: 0.8;
	cursor: pointer;
}

@media screen and (min-width: 980px)
{
	#backto-btn{
		width: 95px;
		padding: 22px 0;
		border-radius: 5px;
	}

	#backto-btn:before{
		content: '▲\aPAGE TOP';
		white-space: pre;
	}
}

@media screen and (min-width:320px) and (max-width:979px)
{
	#backto-btn{
		width: 40px;
		padding: 20px 0;
		border-radius: 5px 0 0 5px;
	}

	#backto-btn:before{
		content: '▲';
		white-space: pre;
	}
}
