@charset "utf-8";

/* header
------------------------------------------------------------------------------------ */
header {
	padding: 20px 50px;
	background-color: #FFF;
}
header div#headerInner {
}
header div#headerInner h1 {
	width:172px;
}
header div#headerInner h1 a {
	transition: all 0.2s ease;
}
header div#headerInner h1 a:hover {
	opacity:0.7;
}


/* contents
------------------------------------------------------------------------------------ */
div#wrapper {
}
div#contents {
}
section div.sectionInner {
	width:90%;
	margin:0 auto;
}


/* footer
------------------------------------------------------------------------------------ */
footer {
	padding: 30px 0;
	background-color:#000;
}
footer div#footerInner {
}
footer div#footerInner p#copyright {
	color:#FFF;
	font-size: 14px;
	line-height: 100%;
	text-align: center;
}


/* 共通パーツ
------------------------------------------------------------------------------------ */


/* banner
------------------------------------------------------------------------------------ */
section#banner {
	padding: 0 0 0 0;
	background: url("../images/mainimage.jpg") 50% 50% no-repeat;
	background-size: cover;
	box-sizing: border-box;
}
section#banner div.sectionInner {
	position: relative;
	height: calc(calc(100vh - 72px) - 74px);
}
section#banner div.sectionInner a {
	display: block;
	position: absolute;
	bottom: 80px;
	left: 50%;
	width: 640px;
	text-align: center;
	text-decoration:none;
	margin: 0 auto;
	padding: 30px calc(50px + 34px) 30px 50px;
	background-color:#FFF;
	border-radius: 7px;
	box-sizing: border-box;
	transform: translate(-50%,0);
	transition: 0.3s ease-in-out;
}
section#banner div.sectionInner a:hover {
	opacity:0.85;
}
section#banner div.sectionInner a:before {
	position: absolute;
	top: 0;
	right: 0;
	content: '';
	width : 34px;
	height: 100%;
	background-color:#C00;
	border-radius: 0 7px 7px 0;
}
section#banner div.sectionInner a:after {
	position: absolute;
	top: 50%;
	right: 9px;
	content: '\f054';
	font-family: fontAwesome;
	font-style: normal;
	color: #FFF;
	font-size: 20px;
	line-height: 100%;
	transform: translate(0,-50%);
}
section#banner div.sectionInner a h3 {
	color:#333;
	line-height: 100%;
	font-weight:bold;
	margin-bottom: 15px;
}
section#banner div.sectionInner a h2 {
	width: 100%;
	margin: 0 auto;
}





/* タブレット用
------------------------------------------------------------------------------------ */
@media screen and (min-width:768px) and (max-width:1279px) {
	body {
		font-size:16px;
		line-height:175%;
	}

	section#banner div.sectionInner {
		position: relative;
		height: calc(calc(100vh - 70px) - 74px);
	}
}



/* スマホ用
------------------------------------------------------------------------------------ */
@media screen and (max-width:767px) {
	body {
		font-size:14px;
		line-height:175%;
		background-color: #000;
	}

	header {
		padding: 15px 20px;
	}
	header div#headerInner h1 {
		width:130px;
	}

	section#banner div.sectionInner {
		position: relative;
		height: calc(calc(100vh - 55px) - 54px);
	}
	section#banner div.sectionInner a {
		bottom: 30px;
		width: 100%;
		padding: 20px calc(20px + 26px) 20px 20px;
		border-radius: 5px;
	}
	section#banner div.sectionInner a:before {
		width : 26px;
		border-radius: 0 5px 5px 0;
	}
	section#banner div.sectionInner a:after {
		right: 7px;
		font-size: 16px;
		line-height: 100%;
	}
	section#banner div.sectionInner a h3 {
		margin-bottom: 10px;
	}

	footer {
		padding: 20px 0;
	}
}
