@charset "utf-8";

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

/*
************************************************************************
 基本
************************************************************************
*/
body
{
	/* 最小幅 */
	min-width:1200px;
	
	font-size:1.4rem;
	font-weight:normal;
	line-height:1.7;
	letter-spacing:0.10em;
}

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

/*
************************************************************************
 ボディ（コンテンツ部）
************************************************************************
*/
#body
{
	z-index:1;
}
#body-title
{
	z-index:1;
}
#body-contents
{
	z-index:0;
}


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

/*
************************************************************************
 段落
************************************************************************
*/
section
{
	display:block;
	width:100%;
}
section:before,
section:after
{
	content: ".";
	display: block;
	clear: both;
	float: none;
	height: 0px;
	width: 100%;
	visibility: hidden;
	overflow:hidden;
}
section:before
{
	margin-bottom:8rem;
}
section:after
{
	margin-top:8rem;
}
section.no-margin:before,
section.no-margin:after
{
	margin-bottom:0px;
	margin-top:0px;
}
section.has-bg
{
	background-position:center center;
	background-repeat:no-repeat;
	background-size:cover;
	background-color:rgba(0,0,0,0.3) !important;
	background-blend-mode:color;
}
.row
{
	max-width:1000px;
	width:100%;
	margin:4rem auto;
	
	animation-name:fncRow;
	animation-duration:0.3s;
	animation-timing-function:ease;
	animation-iteration-count:1;
	animation-fill-mode:forwards;
}
.row.no-margin
{
	margin:0px auto;
}
.row.fill
{
	max-width:100%;
}
@keyframes fncRow
{
	0% {
		opacity:0;
	}
	100% {
		opacity:1;
	}
}

/* ################################################################################################ */
/* ## 中型                       ################################################################## */
/* ################################################################################################ */
@media screen and (max-width:1100px) {
	body
	{
		/* 最小幅 */
		min-width:100vw;
		
		font-size:1.6rem;
		font-weight:normal;
		line-height:1.7;
		letter-spacing:0.10em;
	}
	/*
	************************************************************************
	 段落
	************************************************************************
	*/
	section:before
	{
		margin-bottom:8rem;
	}
	section:after
	{
		margin-top:8rem;
	}
	.row
	{
		max-width:calc(95%);
	}
	.row.fill
	{
		width:100%;
		padding-left:0vw;
		padding-right:0vw;
	}
}

/* ################################################################################################ */
/* ## スマホサイト用スタイル ###################################################################### */
/* ################################################################################################ */
@media screen and (max-width:640px) {
	/*
	************************************************************************
	 基本
	************************************************************************
	*/
	body
	{
		min-width:300px;
		font-size:2.0rem;
	}
	/*
	************************************************************************
	 段落
	************************************************************************
	*/
	section:before
	{
		margin-bottom:10.0vw;
	}
	section:after
	{
		margin-top:10.0vw;
	}
	.row
	{
		width:88vw;
		margin:8vw auto;
	}
	.row.fill
	{
		width:100%;
	}
}
