@charset "utf-8";

/*
************************************************************************
* 基本設定
* @copyright Revolme Inc.
*
* サイトの基本設定を行う
************************************************************************
*/

/*
************************************************************************
 基本
************************************************************************
*/
body
{
	/* 最小幅 */
	min-width:1240px;

	font-size:1.6rem;
	line-height:1.8;
	letter-spacing:0.05em;

	font-family: a-otf-ryumin-pr6n, serif;
	font-weight: 300;
	font-style: normal;
	
	color:#000000;
}
a
{
	color:#000000;
}

/*
************************************************************************
 ページラッパー
************************************************************************
*/
#wrapper
{
	z-index:0;
	/* overflow:hidden; */
}
#wrapper.hidden
{
	visibility:hidden;
}
/*
************************************************************************
 ヘッダー
************************************************************************
*/
#header
{
	z-index:0;

	position:absolute;

	top:0px;
	left:0px;
	
	width:100%;
}
#header-contents
{
	z-index:0;
}

/*
************************************************************************
 ボディ（コンテンツ部）
************************************************************************
*/
#body
{
	z-index:-1;
}
#body-contents
{
	z-index:0;
	background-image:url(../../_img/bg.svg);
	background-position:center 40px;
	background-repeat:repeat-y;
}
#main
{
}

/*
************************************************************************
 フッター
************************************************************************
*/
#footer
{
	z-index:-2;
}
#footer-contents
{
	z-index:0;
}

/*
************************************************************************
 TOPへ戻る
************************************************************************
*/
#toTop
{
	display:block;
	position:fixed;
	bottom:75px;
	right:30px;
	
	width:60px;
	height:60px;
}
#toTop.hide
{
	display:none;
	animation-name:toTopHide;
	animation-duration:0.3s;
	animation-timing-function:ease-out;
	animation-iteration-count:1;
	animation-fill-mode:forwards;
}
@keyframes toTopHide {
	0% {
		display:block;
		opacity:1.0;
	}
	99% {
		display:block;
		opacity:0.0;
	}
	100% {
		display:none;
		opacity:0.0;
	}
}
#toTop.show
{
	animation-name:toTopShow;
	animation-duration:0.3s;
	animation-timing-function:ease-out;
	animation-iteration-count:1;
	animation-fill-mode:forwards;
}
@keyframes toTopShow {
	0% {
		opacity:0;
		margin-bottom:-0.5em;
	}
	1% {
		display:block;
		opacity:0;
	}
	100% {
		display:block;
		opacity:1.0;
		margin-bottom:-0.0em;
	}
}
/*
************************************************************************
 段落
************************************************************************
*/
.section
{
	display:block;
	width:100%;
}
.section:last-child
{
}
.section.section-border
{
	border-top:1px solid #403f3d;
}
.section:before,
.section:after
{
	content: ".";
	display: block;
	clear: both;
	float: none;
	height: 0px;
	width: 100%;
	visibility: hidden;
	overflow:hidden;
}
.section > .section-charm-top
{
	position:absolute;
	top:0;
	left:0;
	right:0;
	
	width:100%;
}
.section > .section-charm-bottom
{
	position:absolute;
	bottom:0;
	left:0;
	right:0;
	
	width:100%;
}
.row
{
	max-width:1120px;
	margin-left:auto;
	margin-right:auto;
}
.row.fill
{
	max-width:none;
	width:100%;

	padding-left:0px;
	padding-right:0px;
}

hr
{
	height:0px;
	border:0px solid transparent;
	border-bottom:1px solid #8a8998;
}


/*
************************************************************************
 その他
************************************************************************
*/
.sheild
{
	display:none;

	position:fixed;

	top:0;
	bottom:0;
	left:0;
	right:0;

	width:100%;
	height:100%;

	margin:0;
	padding:0;

	background-color:rgba(255,255,255,1.0);
}
.fixed
{
	position:fixed;

	top:0;
	left:0;
	right:0;

	width:100%;
	height:100vh;

	margin:0;
	padding:0;

	background-color:rgba(0,0,0,0.0);
}

/* ################################################################################################ */
/* ## スマホサイト用スタイル ###################################################################### */
/* ################################################################################################ */
@media screen and (max-width:767px) {
	/*
	************************************************************************
	 基本
	************************************************************************
	*/
	body
	{
		min-width:300px;
		font-size:2.4rem;
	}
	#body-contents
	{
		background-position:center 5vw;
		background-repeat:repeat-y;
		background-size:300vw auto;
	}
	#header
	{
	}
	#body
	{
		z-index:-1;
	}
	#footer
	{
		z-index:-2;
	}
	#toTop
	{
		bottom:9vw;
		right:4vw;
		width:10.666vw;
		height:10.666vw;
	}
	/*
	************************************************************************
	 段落
	************************************************************************
	*/
	.row
	{
		width:100%;
		padding-left:6.6vw;
		padding-right:6.6vw;
	}
	.row.blog
	{
		padding-left:6.6vw;
		padding-right:6.6vw;
	}
	.row.fill
	{
		width:100%;
		padding-left:0vw;
		padding-right:0vw;
	}
	.row > hr {
		margin-top: 4vw;
	}
	hr.row
	{
		width:auto;
		margin-left:6.6vw;
		margin-right:6.6vw;
	}
	.sheild
	{
		background-color:rgba(255,255,255,0.7);
	}
	.fixed
	{
		position:fixed;

		top:0;
		left:0;
		right:0;

		width:100vw;
		height:100%;

		margin:0;
		padding:0;

		background-color:rgba(0,0,0,0.0);
	}
}
