@charset "utf-8";

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

 */


/* heading */

h1 {
	white-space: nowrap;
	overflow: hidden;
	text-indent: 100%;
	width: 378px;
	height: 60px;
	background-image: url(../img/logo.png);
	background-repeat: no-repeat;
	background-position: 50%;
	-webkit-background-size: contain;
	background-size: contain;
}

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

.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%;
	border-bottom: 2px solid #333;
}

header>.topBar {
	background: #666;
}

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

header>.inner {
	width: 1000px;
	margin: 0 auto;
	background: #FFF;
	position: relative;
	padding: 20px 0 10px;
}

.hNav {
	display: none;
}


/* container */

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

.contentWrap {
	width: 1000px;
	margin: 0 auto;
}


/* topImgWrap */

.topImgWrap {
	width: 100%;
	height: 345px;
	margin-bottom: 40px;
	background-repeat: no-repeat;
	background-position: 50% 0;
	-webkit-background-size: cover;
	background-size: cover;
}

.topImgWrap>.topimgBox {
	width: 1000px;
	margin: 0 auto;
	position: relative;
}

.topImgWrap>.topimgBox>h2 {
	position: absolute;
	width: 330px;
	height: 40px;
	padding-left: 20px;
	top: 45px;
	left: 0;
	color: #333;
	font-size: 30px;
	border-bottom: 1px solid #333;
	text-shadow: 2px 2px 0px rgba(255, 255, 255, 1);
}

.topImgWrap>.topimgBox>.formBtn {
	width: 350px;
	height: 50px;
	position: absolute;
	right: 0;
	top: 45px;
}

.topImgWrap>.topimgBox>.formBtn>div>a>img {
	max-width: 100%;
	margin: 0 auto;
}


/* bannerWrap */

.bannerWrap {
	width: 1000px;
	margin-bottom: 50px;
}

.bannerWrap>div {
	position: relative;
	width: 312px;
}

.bannerWrap>div>a>img {
	max-width: 100%;
	margin: 0 auto;
}

.bannerWrap>div>p {
	position: absolute;
	font-size: 18px;
	font-weight: bold;
	width: 312px;
	height: 20px;
	bottom: 7px;
	left: 0;
	right: 0;
	margin: auto;
	color: #FFF;
	text-align: right;
	padding-right: 1em;
	text-shadow: 2px 2px 2px rgba(0, 0, 0, .5);
}


/* telBanner */

.telBanner {
	width: 1000px;
}

.telBanner>.ovth {
	width: 1000px;
	height: 90px;
	margin-bottom: 20px;
	background-image: url(../img/tel.jpg);
}

.telBanner>.ovth>a {
	display: block;
	width: 100%;
	height: 100%;
}


/* footer */

footer {
	width: 100%;
	background: #E5E5E5;
	margin-top: 100px;
}

footer>.inner {
	width: 1000px;
	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: 14px;
	position: relative;
}

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

.footUpNav>li:last-child:after {
	content: '';
	position: absolute;
	right: 0;
	top: 3px;
	width: 1px;
	height: 1em;
	background: #999;
}

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


/* footNav */

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

@media screen and (min-width: 980px) {
	/* 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>.inner {
		width: 100%;
		padding: 0;
	}
	h1 {
		width: 100%;
		height: 50px;
		margin-right: 50px;
		background-position: left bottom;
	}
	.contentWrap>h3 {
		width: 80%;
		margin-left: 20%;
		margin-bottom: 30px;
		font-size: 14px;
	}
	.contentWrap>h3:before {
		width: 20%;
		height: 60px;
		left: -24%;
		top: -20px;
	}
	header>.topBar {
		display: none;
	}
	.contentWrap,
	.container {
		width: 100%;
	}
	/* topImgWrap */
	.topImgWrap {
		width: 100%;
		margin-bottom: 10px;
		background-position: 50% 0;
		-webkit-background-size: contain;
		background-size: contain;
	}
	.topImgWrap>.topimgBox {
		width: 100%;
	}
	.topImgWrap>.topimgBox>h2 {
		position: relative;
		padding-left: 1em;
		height: 1.5em;
		top: 10px;
		left: 5px;
		font-size: 15px;
	}
	.topImgWrap>.topimgBox>.formBtn {
		width: 95%;
		position: relative;
		left: 0;
		right: 0;
		margin: auto;
	}
	.topImgWrap>.topimgBox>.formBtn>div {
		width: 50%;
	}
	/* bannerWrap */
	.bannerWrap {
		width: 100%;
	}
	.bannerWrap>div {
		position: relative;
		width: 100%;
		margin-bottom: 10px;
	}
	.bannerWrap>div>p {
		width: 100%;
		max-width: 640px;
		height: 1.5em;
		bottom: .5em;
	}
	/* telBanner */
	.telBanner {
		width: 100%;
	}
	.telBanner>.ovth {
		width: 100%;
		margin-bottom: 20px;
		background-image: url(../img/sp_tel.png);
		background-repeat: no-repeat;
		background-position: 50% 0%;
		-webkit-background-size: contain;
		background-size: contain;
	}
	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%;
		border-right: none;
		padding: 5px 10px;
	}
	.footUpNav>li:first-child {
		border-left: none;
	}
	.footUpNav>li:last-child {
		padding-bottom: 1em;
	}
	.footUpNav>li>a {
		font-size: 16px;
	}
	/* 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 {
		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) {
	.mNav {
		width: 80vw;
	}
	/* topImgWrap */
	.topImgWrap {
		height: 30vh;
	}
	.topImgWrap>.topimgBox>h2 {
		width: 70%;
	}
	.topImgWrap>.topimgBox>.formBtn {
		height: 50px;
		top: 12vh;
	}
	.telBanner>.ovth {
		height: 11vh;
	}
}


/* 横長の場合 */

@media only screen and (max-width: 980px) and (orientation: landscape) {
	.mNav {
		width: 50vw;
	}
	.contentWrap>h3 {
		width: 90%;
		margin-left: 10%;
	}
	.contentWrap>h3:before {
		width: 10%;
		height: 60px;
		left: -10%;
		top: -20px;
	}
	.topImgWrap {
		height: 60vh;
	}
	.topImgWrap>.topimgBox>h2 {
		font-size: 20px;
		width: 45%;
	}
	.topImgWrap>.topimgBox>.formBtn {
		width: 60%;
		height: 50px;
		top: 40vh;
	}
	/* bannerWrap */
	.bannerWrap {
		width: 85%;
	}
	.bannerWrap>div {
		width: 100%;
	}
	.bannerWrap>div>p {
		width: 100%;
		max-width: 640px;
	}
	.telBanner>.ovth {
		height: 28vh;
	}
}