/* header */

header {
	width: 1200px;
	height: 345px;
	margin: 0 auto;
	position: relative;
	background-image: url(../img/header_bar.png);
	background-repeat: repeat-x;
	background-position: 0 0;
}

header:before {
	position: absolute;
	content: '';
	background-image: url(../img/headerBgi.png);
	background-repeat: no-repeat;
	background-position: 0 0;
	top: 0;
	left: 0;
	width: 437px;
	height: 345px;
	z-index: 3;
}

header:after {
	position: absolute;
	content: '';
	background-image: url(../img/bg_mark.png);
	background-repeat: no-repeat;
	background-position: 0 0;
	top: 30px;
	right: 0;
	width: 242px;
	height: 213px;
	z-index: 1;
}

header .wrap {
	width: 100%;
	position: relative;
}

header .hNav {
	width: 1040px;
	height: 33px;
	position: absolute;
	top: 75px;
	left: 160px;
	border-bottom: 1px solid #000;
	z-index: 5;
}

header .fxwc {
	width: 100%;
}

header li {
	height: 1em;
	padding: 0 1em;
	position: relative;
}

header li:before {
	position: absolute;
	content: '';
	width: 1px;
	height: 1em;
	top: .2em;
	left: 0;
	background: #42210B;
}

header li:first-child:before {
	background: none;
}

header li a {
	font-size: 12px;
	color: #42210B;
}

header h1 {
	position: absolute;
	font-size: 38px;
	height: 1em;
	width: 60%;
	left: 155px;
	top: 295px;
	color: #42210B;
	font-weight: bold;
}

header h1:before {
	content: '';
	position: absolute;
	left: 0;
	top: -140px;
	background-image: url(../img/logo.png);
	background-repeat: no-repeat;
	width: 230px;
	height: 115px;
}

header .formBtn {
	width: 360px;
	height: 60px;
	top: 150px;
	right: 75px;
	position: absolute;
	z-index: 3;
}

header .formBtn>div {
	width: 50%;
}

header .formBtn>div img {
	max-width: 100%;
}


/* container */

.container {
	width: 1200px;
	padding-top: 20px;
	margin: 0 auto;
	background-image: url(../img/header_bar.png);
	background-repeat: repeat-y;
	background-position: 0 0;
	min-height: 65vh;
}


/* footBanner */

.footBanner {
	padding-left: 2%;
	width: 1200px;
	margin: 0 auto;
}

.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) {
	/* header */
	header .inner {
		display: none;
	}
	/* footUpNav */
	.footUpNav {
		display: none;
	}
	/* 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 {
		width: 100%;
		background-image: none;
		height: auto;
	}
	header:before {
		display: none;
	}
	header:after {
		top: 30px;
		right: 0;
		background-position: 100% 0;
		-webkit-background-size: contain;
		background-size: contain;
	}
	header .inner {
		width: 100%;
		background: #D1C1B4;
	}
	header .inner p a {
		padding: .5em;
		color: #FFF;
	}
	header h1 {
		position: relative;
		height: 1em;
		left: 0;
		top: 0;
		padding-left: 1em;
		margin-bottom: 5px;
	}
	header h1:before {
		left: 1em;
		-webkit-background-size: contain;
		background-size: contain;
	}
	header .hNav {
		display: none;
	}
	header .formBtn {
		top: 0;
		right: 0;
		position: relative;
	}
	/* container */
	.container {
		width: 100%;
		background-image: none;
	}
	/* footBanner */
	.footBanner {
		width: 100%;
	}
	.footBanner .ovth {
		padding-left: 0;
		background-image: url(../img/sp_f_banner.png);
		-webkit-background-size: contain;
		background-size: contain;
		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;
	}
	.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;
	}
	.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 .inner p a {
		font-size: 10px;
	}
	header:after {
		width: 50%;
		height: 19vh;
	}
	header h1 {
		font-size: 19px;
		width: 60%;
		margin-top: 15vh;
	}
	header h1:before {
		top: -13vh;
		width: 70%;
		height: 15vh;
	}
	header .formBtn {
		width: 100%;
		height: 50px;
	}
	header .formBtn>div {
		width: 50%;
	}
	/* footBanner */
	.footBanner .ovth {
		height: 12vh;
	}
	.mNav {
		width: 80vw;
	}
}


/* 横長の場合 */

@media only screen and (max-width: 980px) and (orientation: landscape) {
	/* header */
	header .inner p a {
		font-size: 14px;
	}
	header:after {
		width: 30%;
		height: 20vh;
	}
	header h1 {
		font-size: 22px;
		width: 60%;
		margin-top: 20vh;
	}
	header h1:before {
		top: -18vh;
		width: 70%;
		height: 15vh;
	}
	header .formBtn {
		width: 60%;
		height: 50px;
		margin: 0 auto 20px;
	}
	header .formBtn>div {
		width: 50%;
	}
	/* footBanner */
	.footBanner {
		width: 100%;
	}
	.footBanner .ovth {
		height: 34vh;
	}
	.mNav {
		width: 50vw;
	}
}