@charset "utf-8";

/*
		base
	 1. heading
	 2. header
	 3. hNav
	 4. container
	 5. footer
	 6. fNav

———————————————————- */


/* heading */

h1 {
	position: absolute;
	width: 300px;
	height: 2em;
	top: 5px;
	left: 10px;
	text-shadow: 1px 1px 1px #000000;
	z-index: 10;
}

h1>a {
	display: block;
	width: 100%;
	height: 100%;
	color: #FFF;
}

.contentWrap>h3 {
	position: relative;
	width: 920px;
	margin-left: 80px;
	margin-bottom: 30px;
	font-size: 28px;
	border-bottom: 1px solid #000;
}

.contentWrap>h3:before {
	content: '';
	position: absolute;
	width: 80px;
	height: 80px;
	left: -80px;
	top: -20px;
	background-image: url(../img/h3mark.png);
	background-repeat: no-repeat;
	-webkit-background-size: contain;
	background-size: contain;
}


/* header */

header {
	width: 100%;
}

header>.topBar {
	background: #666;
}

header>.topBar>.inner {
	width: 100%;
	margin: 0 auto;
	color: #FFF;
	padding: .5em 0;
}

header>.wrap>.inner {
	width: 1200px;
	margin: 0 auto;
	position: relative;
}

header>.wrap {
	width: 100%;
	height: 100vh;
	margin: 0 auto;
	background: #FFF;
	position: relative;
}

.hNav {
	position: absolute;
	z-index: 10;
	width: 100%;
	height: 40px;
	top: 70px;
	left: 0;
	background: rgba(255, 255, 255, .5);
}

.hNav>ul {
	width: 1200px;
	margin: .8em auto;
	font-size: 12px;
}

.hNav>ul>li {
	height: 1em;
	text-align: center;
	padding: 0 10px;
	position: relative;
}

.hNav>ul>li:before {
	content: '';
	position: absolute;
	left: 0;
	top: 3px;
	width: 1px;
	height: 1em;
	background: #000;
}

.hNav>ul>li:first-child:before {
	background: none;
}

.hNav>ul>li>a {
	color: #000;
}

header>.wrap>.inner>.formBtn {
	width: 370px;
	height: 50px;
	position: absolute;
	right: 90px;
	z-index: 10;
	top: 145px;
}

header>.wrap>.inner>.formBtn>div>a>img {
	width: 180px;
	max-width: 100%;
	margin: 0 auto;
}


/* container */

.container {
	width: 100%;
	margin: 0 auto;
	min-height: 65vh;
}


/* footBanner */

.footBanner .ovth {
	width: 100%;
	height: 223px;
	background-image: url(../img/f_banner.png);
	background-repeat: no-repeat;
	-webkit-background-size: contain;
	background-position: 50%;
	background-size: contain;
}


/* footer */

footer {
	width: 100%;
	background: #E5E5E5;
}

footer>.inner {
	width: 1200px;
	position: relative;
	margin: 0 auto;
	padding-bottom: 10px;
}

.footLogo>img {
	margin: 0 auto;
}

.copy {
	padding-top: 10px;
	width: 100%;
	color: #333;
	text-align: center;
	font-size: 11px;
}


/* footUpNav */

.footUpNav {
	position: absolute;
	width: 900px;
	height: 15px;
	left: 50px;
	top: -60px;
}

.footUpNav>li {
	padding: 0 10px;
	font-size: 12px;
	border-right: 1px solid #000;
}

.footUpNav>li:first-child {
	border-left: 1px solid #000;
}

.footUpNav>li>a {
	color: #000;
}


/* footNav */

.footNav>ul>li>a {
	font-size: 12px;
	color: #000;
}

@media screen and (min-width: 980px) {
	.footUpNav {
		display: none;
	}
	/* footBanner */
	.footBanner {
		width: 1200px;
		margin: 0 auto;
	}
	/* footNav */
	.footNav {
		width: 517px;
		padding-top: 20px;
		margin-left: 483px;
		margin-bottom: 45px;
	}
	.footNav>ul {
		position: relative;
		border-left: 1px dotted #666;
		padding: 0 20px;
	}
	.footNav>ul:first-child {
		border-left: none;
		width: 148px;
	}
	.footNav>ul>li {
		padding: .2em 0px;
	}
	.footNav>ul>li>a {
		font-size: 12px;
	}
	.footLogo {
		position: absolute;
		width: 370px;
		height: 80px;
		left: 0;
		top: 30px;
	}
	.footLogo a {
		font-size: 12px;
		color: #000;
	}
}

@media screen and (max-width: 980px) {
	/* header */
	header>.wrap>.inner {
		width: 100%;
		padding: 0;
	}
	h1 {
		width: 100%;
		height: 50px;
		font-size: 10px;
	}
	.hNav {
		display: none;
	}
	header>.wrap>.inner>.formBtn {
		width: 100%;
		right: 0;
	}
	/* container */
	.container {
		width: 100%;
	}
	/* footBanner */
	.footBanner {
		width: 100%;
	}
	.footBanner .ovth {
		background-image: url(../img/sp_f_banner.png);
		background-position: 0 100%;
	}
	/* footer */
	footer>.inner {
		width: 100%;
	}
	.mNav {
		position: fixed;
		top: 0;
		left: 0;
		height: 100vh;
		background: #E4E4E4;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		z-index: 9999;
		padding: 40px 0;
		display: none;
	}
	footer {
		margin-top: 0px;
	}
	/* footUpNav */
	.footUpNav {
		position: relative;
		width: 100%;
		height: auto;
		left: 0;
		top: 0;
		border-bottom: 1px dashed #CCC;
	}
	.footUpNav>li {
		width: 100%;
		font-size: 16px;
		border-right: none;
		padding: 5px 10px;
	}
	.footUpNav>li:first-child {
		border-left: none;
	}
	.footUpNav>li:last-child {
		padding-bottom: 1em;
	}
	/* footNav */
	.footNav {
		width: 100%;
		height: auto;
	}
	.footNav>ul {
		position: relative;
	}
	.footNav>ul:first-child {
		width: 100%;
		padding-top: 1em;
	}
	.footNav>ul:nth-child(2):before,
	.footNav>ul:nth-child(3):before {
		content: '';
		position: absolute;
		width: 1px;
		height: 80px;
		background: #656565;
		top: 0;
		left: -15px;
	}
	.footNav>ul:nth-child(2) {
		width: 100%;
		height: auto;
	}
	.footNav>ul:nth-child(3) {
		width: 100%;
	}
	.footNav>ul>li {
		font-size: 16px;
		padding: 5px 10px;
	}
	.footNav>ul>li>a {
		font-size: 16px;
	}
	.footLogo {
		width: 50%;
		margin: 0 auto;
		padding: 5px 0;
	}
	.footLogo a {
		color: #000;
	}
}


/* 縦長の場合 */

@media only screen and (max-width: 980px) and (orientation: portrait) {
	/* header */
	header>.wrap {
		height: 45vh;
	}
	header>.inner {
		height: 45vh;
	}
	header>.wrap>.inner>.formBtn {
		top: 35vh;
	}
	header>.wrap>.inner>.formBtn>div {
		width: 50%;
	}
	header>.wrap>.inner>.formBtn>div>a>img {
		width: 100%;
	}
	.mNav {
		width: 80vw;
	}
	/* footBanner */
	.footBanner .ovth {
		height: 12vh;
	}
}


/* 横長の場合 */

@media only screen and (max-width: 980px) and (orientation: landscape) {
	/* header */
	header>.wrap {
		height: 125vh;
	}
	header>.wrap>.inner>.formBtn {
		top: 100vh;
	}
	header>.wrap>.inner>.formBtn>div {
		width: 40%;
	}
	header>.wrap>.inner>.formBtn>div>a>img {
		width: 100%;
	}
	.mNav {
		width: 50vw;
	}
	/* footBanner */
	.footBanner {
		width: 100%;
	}
	.footBanner .ovth {
		height: 34vh;
	}
}