@import url(https://fonts.googleapis.com/css?family=Pacifico);
@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url(https://fonts.googleapis.com/css?family=Josefin+Sans);

/* reset */
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td {
	margin: 0;
	padding: 0;
}
address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
	font-style: normal;
}
ul {
	list-style: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption,
th {
	text-align: left;
}
q:before,
q:after {
	content: "";
}
object,
embed {
	vertical-align: top;
}
legend {
	display: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	font-size: 100%;
}
img,
abbr,
acronym,
fieldset {
	border: 0;
}

body {
	font: 14px/1.9;
	font-family: 游ゴシック体, "Yu Gothic", YuGothic, "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", メイリオ,
		Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-weight: 300;
	-webkit-text-size-adjust: 100%;
	overflow-x: hidden;
	color: #000;
	background: #fff;
}

a {
	color: #f90206;
	text-decoration: none;
}

a:hover,
.active {
	text-decoration: underline;
}

a:active,
a:focus,
input:active,
input:focus {
	outline: 0;
}

/* ヘッダー
------------------------------------------------------------*/
#header {
	background: url(/images/mainImg.jpg) center / cover no-repeat;
	position: relative;
	display: block;
	height: 700px;
}

#slogan {
	position: absolute;
	top: 50%;
	width: 100%;
	-webkit-transform: translate(0, -50%);
	transform: translate(0, -50%);
	color: #fff;
	line-height: 1.2;
	text-align: center;
}

#slogan h1 {
	font-size: 40px;
	font-family: "Pacifico", cursive;
	margin-bottom: 20px;
	font-weight: normal;
}

#slogan h2 {
	font-size: 20px;
	font-weight: normal;
}

/* フッター
------------------------------------------------------------*/
#footer {
	clear: both;
	padding: 50px 10px 50px 0;
	text-align: center;
	font-size: 12px;
}

/* 共通
------------------------------------------------------------*/
h1,
h2 {
	font-family: 游ゴシック体, "Yu Gothic", YuGothic, "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", メイリオ,
		Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

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

section {
	clear: both;
}

section h2 {
	font-size: 22px;
	font-weight: normal;
	text-align: center;
}

.inner {
	width: 94%;
	margin: 0 auto;
	padding-bottom: 100px;
}

.col2 li {
	display: inline-block;
	width: 100%;
	margin: 20px 0 20px 0;
}

/* service common
	-----------------*/

.vMid h2 {
	font-size: 1vw;
}

.vMid .service-title {
	font-size: 2vw;
	font-weight: bold;
}

@media only screen and (max-width: 768px) {
	.vMid h2 {
		font-size: 18px;
		margin-top: 30px;
	}

	.vMid .service-title {
		font-size: 24px;
	}
}

.vMid p {
	font-size: 1.3vw;
	text-align: center;
}

@media only screen and (max-width: 768px) {
	.vMid p {
		font-size: 14px;
	}
}

/* SEC01 VISION
------------------------------------------------------------*/

#sec01 header h2 {
	font-size: 2vw;
	font-weight: bold;
}

@media only screen and (max-width: 768px) {
	#sec01 header h2 {
		font-size: 24px;
	}
}

.vision {
	width: 60%;
	margin: 0 auto;
	text-align: center;
	padding-bottom: 80px;
	font-size: 1vw;
}

@media only screen and (max-width: 768px) {
	.vision {
		font-size: 14px;
		line-height: 1.6;
		width: 90%;
	}
}

/* SEC02 MESSAGE
------------------------------------------------------------*/

@media only screen and (max-width: 768px) {
	.wrap {
		padding-top: 50px;
	}
	.wrap-last {
		padding-bottom: 50px;
	}
}

.wrap {
	background: #f6f6f6;
	display: flex;
	justify-content: center;
}

.wrap.wrap-second {
	flex-direction: row-reverse;
}

.wrap .bg {
	width: 50%;
}

.wrap .txt {
	width: 50%;
}

@media only screen and (max-width: 768px) {
	.wrap {
		display: block;
	}

	.wrap .bg {
		width: 70%;
		margin: 0 auto;
	}

	.wrap .txt {
		width: 100%;
	}
}

.vMid {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 100%;
}

.txt h2 {
	padding: 0 0 20px !important;
}

#sec02 .inner ul li h2 {
	font-size: 1.3vw;
	font-weight: bold;
}

@media only screen and (max-width: 768px) {
	#sec02 .inner ul li h2 {
		font-size: 20px;
	}
}

#sec02 .inner ul li p {
	font-size: 1vw;
}

@media only screen and (max-width: 768px) {
	#sec02 .inner ul li p {
		font-size: 14px;
	}
}

/* SEC03 SERVICE MESSAGE STORY
------------------------------------------------------------*/

/* SEC04 STORY & SUCCESS
------------------------------------------------------------*/

#sec04 {
	background: url(../images/bgSec04.jpg) no-repeat 100% 100% fixed;
	background-size: cover;
	-webkit-background-size: cover;
	color: #fff;
}

#sec04 h2 {
	font-size: 2vw;
	font-weight: bold;
}

#sec04 p {
	text-align: center;
	font-size: 1vw;
}

@media only screen and (max-width: 768px) {
	#sec04 h2 {
		font-size: 24px;
	}

	#sec04 p {
		font-size: 14px;
	}
}

/* SEC05 PROFILE
------------------------------------------------------------*/
#sec05 {
	padding-top: 50px;
}

#sec05 dl {
	line-height: 1.2;
}

#sec05 dt {
	clear: left;
	display: block;
	width: 30%;
	margin-right: 10%;
	margin-bottom: 20px;
	text-align: right;
	line-height: 1.6em;
}

#sec05 dd {
	width: 60%;

	text-align: left;
	margin-bottom: 15px;
	line-height: 1.6em;
}

#sec05 header {
	display: none;
}

#map {
	position: relative;
	padding-bottom: 75%;
	height: 0;
	overflow: hidden;
}

#map iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	border: 0;
}

/* RESPONSIVE 設定
------------------------------------------------------------*/

.inner {
	width: 80%;
}
section h2 {
	padding: 100px 0 20px;
}
.txt h2 {
	padding: 0 0 20px !important;
}

@media only screen and (min-width: 800px) {
	body {
		font-size: 14px;
	}

	a#menu {
		display: none;
	}

	.panel {
		display: block !important;
	}

	#mainnav {
		position: fixed;
		top: 0;
		width: 100%;
		z-index: 500;
	}

	#mainnav ul {
		text-align: right;
		padding-right: 30px;
	}

	#mainnav li {
		display: inline-block;
		padding: 45px 10px 20px;
		font-size: 18px;
		font-weight: bold;
	}

	#mainnav a {
		color: #000;
	}

	#mainnav.changeNav {
		background: rgba(255, 255, 255, 0.9);
		border-bottom: 1px solid #d1d1d1;
	}

	#mainnav.changeNav li {
		padding: 20px 10px;
	}

	/* SEC02 MESSAGE
	-----------------*/

	/* SEC03 SERVICE MESSAGE STORY
	-----------------*/

	/* SEC05 PROFILE
	-----------------*/
	#sec05 {
		padding-top: 120px;
	}

	#sec05 ul li {
		font-size: 1.5vw;
	}

	#footer {
		padding: 30px 10px 70px 0;
	}
}

@media only screen and (min-width: 641px) {
	.col2 li {
		width: 40%;
		padding: 0 3%;
		vertical-align: top;
	}
}

@media only screen and (max-width: 640px) {
	#map iframe {
		width: 96% !important;
		left: 2%;
	}
}

@media only screen and (max-width: 799px) {
	#slogan h1 {
		font-size: 31px;
	}

	#slogan h2 {
		font-size: 16px;
	}

	a#menu {
		display: inline-block;
		position: relative;
		width: 40px;
		height: 40px;
		margin: 10px;
	}

	#menuBtn {
		display: block;
		position: absolute;
		top: 50%;
		left: 50%;
		width: 18px;
		height: 2px;
		margin: -1px 0 0 -7px;
		background: #fff;
		transition: 0.2s;
	}

	#menuBtn:before,
	#menuBtn:after {
		display: block;
		content: "";
		position: absolute;
		top: 50%;
		left: 0;
		width: 18px;
		height: 2px;
		background: #fff;
		transition: 0.3s;
	}

	#menuBtn:before {
		margin-top: -7px;
	}

	#menuBtn:after {
		margin-top: 5px;
	}

	a#menu .close {
		background: transparent;
	}

	a#menu .close:before,
	a#menu .close:after {
		margin-top: 0;
	}

	a#menu .close:before {
		transform: rotate(-45deg);
		-webkit-transform: rotate(-45deg);
	}

	a#menu .close:after {
		transform: rotate(-135deg);
		-webkit-transform: rotate(-135deg);
	}

	.panel {
		width: 100%;
		display: none;
		overflow: hidden;
		position: relative;
		left: 0;
		top: 0;
		z-index: 100;
	}

	#mainnav {
		position: absolute;
		top: 0;
		right: 0;
		width: 100%;
		text-align: right;
		z-index: 500;
	}

	#mainnav ul {
		border-bottom: 1px solid #ccc;
		background: #fff;
		text-align: left;
	}

	#mainnav li a {
		position: relative;
		display: block;
		padding: 15px 25px;
		border-bottom: 1px solid #ccc;
		color: #000;
		font-weight: 400;
	}

	#mainnav li a:before {
		display: block;
		content: "";
		position: absolute;
		top: 50%;
		left: 5px;
		width: 6px;
		height: 6px;
		margin: -4px 0 0 0;
		border-top: solid 2px #000;
		border-right: solid 2px #000;
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
	}
}

@media only screen and (max-width: 1199px) {
	#sec01 h2 {
		padding: 70px 0 20px;
	}
	.vMid {
		padding: 0 20px;
	}
}

/* education
	-----------------*/

.education {
	margin: 100px auto;
}

.education-contents {
	display: flex;
	justify-content: center;
}

.education-content {
	width: 30%;
	margin: 0 3%;
	text-align: center;
}

.education .education-contents .education-content h2 {
	text-align: center;
	font-size: 1.3vw;
	margin-bottom: 30px;
}

.education .education-contents .education-content img {
	width: 80%;
}

.education .education-contents .education-content p {
	font-size: 1vw;
	margin-top: 30px;
	text-align: left;
}

@media only screen and (max-width: 768px) {
	.education-contents {
		display: block;
	}
	.education-content {
		width: 60%;
		margin: 50px auto;
	}
	.education .education-contents .education-content h2 {
		font-size: 22px;
	}
	.education .education-contents .education-content p {
		font-size: 16px;
	}
}
/* COMPANY 
	-----------------*/

#sec05 .inner .company-map li dl {
	display: flex;
}

#sec05 .inner .company-map {
	display: flex;
	align-items: center;
}

#sec05 .inner .company-map li {
	width: 50%;
}

#sec05 .inner .company-map .map {
	width: 50%;
}

#sec05 .inner .company-map li dl dt {
	margin-bottom: 0;
}
#sec05 .inner .company-map li dl dd {
	margin-bottom: 0;
}

@media only screen and (max-width: 768px) {
	#sec05 .inner .company-map {
		flex-direction: column;
	}

	#sec05 .inner .company-map .map {
		margin-top: 50px;
		width: 80%;
	}

	#sec05 .inner .company-map li {
		width: 80%;
	}
}
