@import "common.css";
@import "advanced.css";
@import "print.css";

body{
	margin: 0;
	background-color: #FFF;
	line-height: 1.6em;
	font-family: Avenir , "Open Sans" , "Helvetica Neue" , Helvetica , Arial , Verdana , Roboto , "游ゴシック" , "Yu Gothic" , "游ゴシック体" , "YuGothic" , "ヒラギノ角ゴ Pro W3" , "Hiragino Kaku Gothic Pro" , "Meiryo UI" , "メイリオ" , Meiryo , sans-serif;
	font-size: 16px;
	color: #251E1B;
}

a{ color: #251E1B; }
a:hover{
	text-decoration: underline;
}

img {
	max-width: 100%;
	height: auto;
}

#wrap {
	display: block;
	overflow: hidden;
}


/* ------------------------------------------------
 header
------------------------------------------------ */
header {
	z-index: 9999;
	display: table;
	table-layout: fixed;
	position: fixed;
	top: 0;
	width: 100%;
	height: 60px;
	background-color: #FFF;
	box-shadow: 0 0 3px #666;
}

header h1 {
	display: table-cell;
	padding: 10px 15px 20px 15px;
}
header h1 a {
	display: block;
	width: 225px;
	height: 30px;
	background: url(../images/header-logo.png) 0 0 no-repeat;
	text-indent: -9999px;
}

header nav {
	display: table-cell;
	padding: 8px 15px 0 15px;
	vertical-align: middle;
}
header nav ul {
	float: right;
	display: table;
	list-style: none;
}
header nav ul li {
	display: table-cell;
	padding-right: 20px;
	font-size: 16px;
}
header nav ul li.menu-close {
	display: none;
}
header nav ul li:nth-child(4) {
	padding-right: 0;
}

header .menu-btn {
	display: none;
}

/* ------------------------------------------------
 eyecatch
------------------------------------------------ */
#eyecatch {
	width: 100%;
	margin: 60px auto 0 auto;
	height: 360px;
	background: url(../images/eyecatch-bg.jpg) center -10px no-repeat fixed;
	text-align: center;
}
#eyecatch img {
	margin-top: 89px;
}


/* ------------------------------------------------
 main
------------------------------------------------ */
main {}

.content-wrap {
	padding: 100px 0;
}
.content2 {
	background-color: #F2F2F2;
}
.content-wrap section, .content-wrap .content {
	margin: 0 auto;
	margin-top: -60px;
	padding-top: 60px;
	width: 960px;
}
.content-wrap section p, .content-wrap .content p {
	margin-bottom: 20px;
}

.h2-wrap {
	margin: 0 auto 20px auto;
	text-align: center;
}
.h2-wrap h2 {
	margin-bottom: 10px;
	font-size: 36px;
	font-weight: normal;
}
.h2-wrap span {
	color: #666;
}

/* --------------------
 service
-------------------- */
#service ul {
	display: table;
	table-layout: fixed;
	width: 100%;
	list-style: none;
}
#service ul li {
	display: table-cell;
	text-align: center;
	font-size: 20px;
}
#service ul li img {
	display: block;
	margin: 0 auto 20px auto;
	border: 5px solid #008DD7;
	border-radius: 150px;
	transition: all 1s ease;
	-webkit-transition: all 1s ease;
}
#service ul li img:hover {
	transform: rotate(720deg);
	-webkit-transform: rotate(720deg);
}

/* --------------------
 company / recruit
-------------------- */
#company table, #recruit table {
	margin: 0 auto;
	width: 700px;
	background-color: #FFF;
}
#company table th, #company table td,
#recruit table th, #recruit table td {
	padding: 15px;
	vertical-align: top;
}
#company table th, #recruit table th {
	color: #008DD7;
}

/* --------------------
 contact
-------------------- */
#contact table {
	margin: 0 auto;
	width: 700px;
	background-color: #FFF;
}
#contact table th, #contact table td {
	padding: 20px 30px;
	vertical-align: top;
}
#contact table th span {
	margin-left: 5px;
	padding: 2px 5px;
	border-radius: 5px;
	font-size: 10px;
	color: #FFF;
}
#contact table th .any {
	background-color: #008DD7;
}
#contact table th .required {
	background-color: #F8162D;
}
#contact input, #contact textarea {
	font-family: Avenir , "Open Sans" , "Helvetica Neue" , Helvetica , Arial , Verdana , Roboto , "游ゴシック" , "Yu Gothic" , "游ゴシック体" , "YuGothic" , "ヒラギノ角ゴ Pro W3" , "Hiragino Kaku Gothic Pro" , "Meiryo UI" , "メイリオ" , Meiryo , sans-serif;
}
#contact input[type=text] {
	padding: 5px;
	width: 400px!important;
	border: 1px solid #CCC;
}
#contact textarea {
	padding: 5px;
	width: 400px!important;
	height: 200px!important;
	border: 1px solid #CCC;
}
#contact input#button_mfp_goconfirm {
	cursor: pointer;
	display: block;
	margin: 30px auto 0 auto;
	width: 500px;
	height: 70px;
	background-color: #008DD7;
	border: none;
	border-radius: 5px;
	box-shadow: 0 4px 0 #07247A;
	text-align: center;
	font-size: 20px;
	color: #FFF;
	-webkit-appearance: none;
}
#contact input#button_mfp_goconfirm:focus {
	outline: none;
}
#contact input#button_mfp_goconfirm:active {
	position: relative;
	top: 4px;
	box-shadow: none;
}

.thanks {
	text-align: center;
	font-size: 48px;
}

/* ------------------------------------------------
 footer
------------------------------------------------ */
footer {
	padding:15px 0;
	background-color: #07247A;
	color: #FFF;
}
footer .copyright {
	margin: 0 auto;
	text-align: center;
	font-size: 12px;
}


/* ------------------------------------------------
 max-width: 959px;
------------------------------------------------ */
@media screen and (max-width: 959px) {
	.content-wrap section, .content-wrap .content {
		width: 100%;
	}
}


/* ------------------------------------------------
 max-width: 640px;
------------------------------------------------ */
@media screen and (max-width: 640px) {
	body {
		position: relative;
		right: 0;
		overflow-x: hidden;
	}
	header {
		display: block;
	}
	header h1 {
		display: inline-block;
		padding: 10px;
		vertical-align: middle;
	}
	header h1 a {
		background-size: contain;
	}
	
	header nav {
		display: block;
		position: fixed;
		top: 0;
		right: -240px;
		padding: 0;
		width: 240px;
		height: 100%;
		background-color: #333;
		text-align: left;
	}
	header nav ul {
		display: block;
		float: none;
	}
	header nav ul li {
		display: block;
		padding: 0;
		width: 100%;
		border-bottom: 1px solid #666;
	}
	header nav ul li a, header nav ul li.menu-close {
		display: block;
		padding: 15px 10px;
		box-sizing: border-box;
		color: #008DD7;
	}
	
	header .menu-btn {
		display: block;
		float: right;
		position: relative;
		margin: 12px 10px 10px 10px;
		width: 40px;
		height: 34px;
	}
	header .menu-btn span {
		display: inline-block;
		transition: all .4s;
		box-sizing: border-box;
		position: absolute;
		left: 0;
		width: 100%;
		height: 4px;
		background-color: #333;
		border-radius: 4px;
	}
	header .menu-btn span:nth-child(1) {
		top: 0;
	}
	header .menu-btn span:nth-child(2) {
		top: 15px;
	}
	header .menu-btn span:nth-child(3) {
		bottom: 0;
	}
	header .menu-btn.active span {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
	header .menu-btn.active span:nth-child(1) {
		-webkit-transform: translateY(15px) rotate(-45deg);
		transform: translateY(15px) rotate(-45deg);
	}
	header .menu-btn.active span:nth-child(2) {
		-webkit-transform: translateY(0) rotate(45deg);
		transform: traslateY(0) rotate(45deg);
	}
	header .menu-btn.active span:nth-child(3) {
		opacity: 0;
	}
	
	.content-wrap {
		padding: 100px 10px;
	}
	
	.h2-wrap {
		margin-bottom: 50px;
	}
	
	#service ul {
		display: block;
	}
	#service ul li {
		display: block;
		margin-bottom: 50px;
	}
	
	#company table, #recruit table, #contact table {
		width: 100%;
	}
	#contact table th, #contact table td {
		display: block;
		padding: 15px 15px 0 15px;
	}
	#contact input[type=text], #contact textarea {
		width: 100%!important;
		box-sizing: border-box;
	}
	#contact input#button_mfp_goconfirm {
		width: 80%;
		height: auto;
		padding: 20px 15px;
		box-sizing: border-box;
	}
}