@charset "UTF-8";

/* CSS Document */

/*==================================================

container
=================================================*/

html {
	
}

body {
    position: relative;
    left: 0;
}

/* sp menu setting */

.layer{
    display: none;
    width: 100%;
    height: 100%;
	position: fixed;
    top: 0;
	left: 0;
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#DD000000,endColorstr=#DD000000); 
    background: rgba(0, 0, 0, 0.8);
	z-index: 999!important;
}
.layer:not(:target) {
	filter: none;
}
body.open{
	width: 100%;
    position: fixed;
}

#wrapper {
	width: 100%;
	/*min-width: 960px;*/
	height: 100%;
	position: relative;
	overflow: hidden;
	margin: 0 auto;
}


/*==================================================

header
=================================================*/

header {
	width: 100%;
	background-image: url(../../images/message_03.jpg);
	background-position: bottom center;
	background-repeat: no-repeat;
	background-color: rgba(255, 255, 255, 1);
	position: fixed;
	min-width: 100%;
	z-index: 6!important;
	top: 0;
	left: 0;
	right: 0;
	margin: auto;
	padding-top: 12px;
}

#header-inner {
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
}
.headerbg {
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#CCFFFFFF,endColorstr=#CCFFFFFF); 
    background-color: rgba(255, 255, 255, 0.9);
}
.headerbg #navi-inner li a {
	color: #666;
}
.headerbg #navi-inner li ul li a {
	color: #FFF;
}
.headerbg #navi-inner li a:hover {
	color: #e08112;
}

.headerbg:not(:target){
    filter: none;
}

/* cf */
#header-inner:after {
    content:" ";
    display:block;
    clear:both;
}

/* header PC */

#header-logo {
	width: 100%;
	max-width: 220px;
	line-height: 100%;
	margin: 0 auto;
}
#header-logo a {
	width: 100%;
	display: block;
	margin: 0;
}

/* header img */

#header-logo img {
	width: 100%;
	max-width: 100%;
	height: auto;
}

/* header SP */

.header-spmenu {
	width: 30px;
	display: none;
	float: right;
	text-align: center;
	cursor: pointer;
	margin-top: 10px;
	margin-right: 10px;
}
.header-spmenu img {
	width: 100%;
	max-width: 100%;
	height: auto;
}

/*==================================================

Navi
=================================================*/

nav {
	width: 100%;
	position: relative;
	z-index: 1000!important;
}

nav > ul {
	width: 100%;
	position: relative;
	display: table;
}


/* cf */
nav > ul:after {
    content:" ";
    display:block;
    clear:both;
}

nav > ul > li {
	width: 25%;
	display: table-cell;
	vertical-align: middle;
}
nav > ul > li:nth-of-type(1) {
	background-image: url(../../images/message_07.png);
	background-position: right bottom;
	background-repeat: no-repeat;
}
nav > ul > li:nth-of-type(2) {
	background-image: url(../../images/message_08.png);
	background-position: right bottom;
	background-repeat: no-repeat;
}
nav > ul > li:nth-of-type(3) {
	background-image: url(../../images/message_09.png);
	background-position: right bottom;
	background-repeat: no-repeat;
}
nav > ul > li:nth-of-type(4) {
	background-image: url(../../images/message_10.png);
	background-position: right bottom;
	background-repeat: no-repeat;
}
nav > ul > li > a {
	width: 100%;
	font-size: 100%;
	font-weight: 600;
	color: #666;
	display: block;
	text-align: center;
	background-repeat: no-repeat;
	background-position: left center;
	padding: 20px;
	
	/* animation */
	
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
	
}
nav > ul > li > a.active {
	color: #008542;
}
nav > ul > li > a:hover {
	color: #008542;
}

/* メインメニューの背景 オーバー */
.navrollover {
	
}
.navrollover a:hover {
	
}
nav > ul > li > ul {
	width: 960px;
	display: none;
	position: absolute;
	top: 63px;
	left: 0;
	/*z-index: 999!important;*/
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#DD000000,endColorstr=#DD000000); 
    background-color: rgba(0, 0, 0,0.8);
	padding: 40px 0 40px 10%;
}

/* cf */
nav > ul > li > ul:after {
	content:" ";
    display:block;
    clear:both;
}

nav > ul > li > ul li {
	width: 33.33%;
	float: left;
}
nav > ul > li > ul li.full {
	width: 100%;
}
nav > ul > li > ul li a {
	width: 100%;
	display: block;
	font-size: 12px;
	color: #FFF;
	text-align: left;
	/* サブメニューの背景 */
	padding: 4px 0;
}

nav > ul > li > ul:not(:target) {
	filter: none;
}

.pc-only {
	display: block;
}
.sp-only {
	display: none;
}



/*==================================================

contents
=================================================*/

#contents {
	width: 100%;
	position: relative;
	margin: 125px auto 0;
}

/* cf */
#contents:before,
#contents:after {
    content: " ";
    display: table;
}
#contents:after {
    clear: both;
}
#contents {
     *zoom: 1;
}
#contents h1 {
	width: 100%;
	max-width: 450px;
	text-align: center;
	margin: 5% auto 4%;
}
#contents h1 img {
	width: 100%;
	max-width: 100%;
	height: auto;
}
.contents-inner {
	width: 90%;
	max-width: 960px;
	position: relative;
	margin: 0 auto;
}

/* cf */
.contents-inner:before,
.contents-inner:after {
    content: " ";
    display: table;
}
.contents-inner:after {
    clear: both;
}
.contents-inner {
     *zoom: 1;
}


/*==================================================

footer
=================================================*/

.pagetop {
	width: 120px;
	height: 63px;
	margin: 80px auto 80px;
}

footer {
	width: 100%;
	
	position: relative;
	background: #008542;
	margin: 0 auto;
}
div#footer-inner {
	width: 90%;
	max-width: 960px;
	position: relative;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	margin: 0 auto;
	padding: 30px 0 0;
}
div#footer-inner a {
	color: #FFF;
}
div#footer-inner a:hover {
	color: #999;
}
div#footer-section {
	width: 100%;
}

/* cf */
div#footer-section:after {
    content:" ";
    display:block;
    clear:both;
}
div#footer-section .logo-section {
	width: 30%;
	max-width: 220px;
	float: left;
}
div#footer-section .logo-section p {
	font-size: 11px;
	color: #FFF;
	text-align: left;
	padding: 10px 0 30px;
}
div#footer-section .link-section {
	width: 70%;
	max-width: 720px;
	float: right;
}
div#footer-section .link-section ul {
	width: 25%;
	float: left;
}
div#footer-section .link-section ul li {
	
}
div#footer-section .link-section ul li a {
	width: 100%;
	display: block;
	font-size: 12px;
	text-align: left;
	padding: 4px 0;
}
div#footer-section .link-section ul li:nth-of-type(1) a {
	font-size: 12px;
	text-align: center;
	color: #008542;
	background: #FFF;
	border-right: 1px solid #008542;
	margin-bottom: 5px;
}
div#footer-section .link-section ul li:nth-of-type(1) a:hover {
	color: #FFF;
	background: #006633;
}
footer .copyright {
	width: 100%;
	position: absolute;
	background: url(../../images/message_36.jpg) no-repeat left bottom;
	right: 0;
	bottom: 0;
}
footer .copyright p {
	width: 100%;
	font-size: 10px;
	color: #FFF;
	text-align: right;
	margin: 0 auto;
	padding: 8px 0;
}

/*==================================================

size m
=================================================*/

@media only screen and (max-width: 768px) {
	
	#wrapper {
		width: 100%;
		min-width: 100%;
	}
	
	/*==================================================
	
	header
	=================================================*/
	
	header {
		width: 100%;
		min-width: 100%;
		position: fixed;
		background-color: rgba(255, 255, 255, 1);
		padding-top: 0;
	}
	#header-inner {
		width: 100%;
		margin: 0 auto;
		padding: 10px 0 15px;
	}
	
	/* header SP*/
	.header-spmenu {
		display: block;
	}
	#header-logo {
		width: 100%;
		max-width: 220px;
		float: left;
		margin-left: 10px;
	}
	#header-logo a {
		width: 100%;
		margin: 0;
	}
	
	/*==================================================
	
	Navi
	=================================================*/
	
	nav {
		/* モバイルメニュー幅 */
		width: 240px;
		height: 100%;
		position: fixed;
		background-color: #999;
		background-image: url(../../images/sp_menu_bg.jpg);
		background-position: center center;
		background-repeat: no-repeat;
		background-size: cover;
		top: 0;
		right: -240px;
		margin-top: 0;
	}
	
	nav > ul {
		width: 100%;
		height: 100%;
		position: relative;
		display: block;
		padding: 0;
		overflow: hidden;
	}
	
	nav > ul > li {
		width: 100%;
		position: relative;
		float: none;
		display: block;
		border-bottom: 1px solid #666;
	}
	
	nav > ul > li,
	nav > ul > li:nth-of-type(1),
	nav > ul > li:nth-of-type(2),
	nav > ul > li:nth-of-type(3),
	nav > ul > li:nth-of-type(4){
		/* bg image reset */
		background-image: none;
	}
	
	nav > ul > li:nth-last-of-type(1) {
		border-bottom: none;
	}
	
	nav > ul > li:nth-last-of-type(2),nav > ul > li:nth-last-of-type(4) {
		width: 100%;
	}
	nav > ul > li:nth-last-of-type(2) a {
		background: url(../images/index_35_2.png) no-repeat 20px center;
	}
	nav > ul > li:nth-last-of-type(2) li a {
		background: #EEE;
	}
	
	nav > ul > li > a {
		width: 100%;
		display: block;
		color: #FFF;
		font-size: 11px;
		text-align: left;
		background: url(../images/index_35_2.png) no-repeat 20px center;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		-o-box-sizing: border-box;
		-ms-box-sizing: border-box;
		box-sizing: border-box;
		padding: 10px 0 10px 40px;
	}
	nav > ul > li > a br {
		display: none;	
	}
	nav > ul > li > a span {
		padding-left: 1em;
	}
	nav > ul > li > ul {
		width: 100%;
		display: block;
		position: relative;
		top: 0;
		left: 0;
		background: none;
		padding: 0;
	}
	nav > ul > li > ul.bg1 {
		background: none;
	}
	nav > ul > li > ul.bg2 {
		background: none;
	}
	nav > ul > li > ul.bg3 {
		background: none;
	}
	
	nav > ul > li > ul li {
		width: 100%;
	}
	nav > ul > li > ul li a {
		width: 100%;
		display: block;
		font-size: 11px;
		color: #666;
		text-align: left;
		background: #EEE;
		border-top: 1px solid #CCC;
		padding: 6px 0 6px 20px;
	}
	nav > ul > li > ul li.cl {
		width: 100%;
		display: block;
		font-size: 11px;
		color: #AAA;
		text-align: left;
		background: #C00;
		padding: 6px 0 6px 41px;
	}
	.close-button {
		width: 30%;
		cursor: pointer;
		text-align: center;
		color: #FFF;
		margin: 20px auto;
		padding: 8px;
	}
	.sp-only {
		display: block;
	}
	.pc-only {
		display: none;
	}
	
	/*==================================================

	contents
	=================================================*/

	#contents {
		width: 100%;
		position: relative;
		margin: 75px auto 0;
	}

	#contents h1 {
		margin: 5% auto;
	}
	.contents-inner {
		width: 90%;
		margin: 0 auto;
	}
	
	/*==================================================

	footer
	=================================================*/

	.pagetop {
		width: 120px;
		height: 63px;
		margin: 8% auto;
	}

	footer {
		width: 100%;
		min-width: 100%;
		position: relative;
		background: #008542;
	}
	div#footer-inner {
		width: 100%;
		max-width: 960px;
		position: relative;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		-o-box-sizing: border-box;
		-ms-box-sizing: border-box;
		box-sizing: border-box;
		margin: 0 auto;
		padding: 30px 0 0;
	}
	div#footer-section {
		width: 100%;
	}

	div#footer-section .logo-section {
		width: 220px;
		float: none;
		margin: 0 auto;
	}
	div#footer-section .logo-section p {
		font-size: 11px;
		color: #FFF;
		text-align: left;
		padding: 10px 0 30px;
	}
	div#footer-section .link-section {
		width: 90%;
		float: none;
		margin: 0 auto;
	}
	div#footer-section .link-section ul {
		width: 100%;
		float: none;
		margin: 10px auto 0;
	}
	div#footer-section .link-section ul li {

	}
	div#footer-section .link-section ul li a {
		width: 100%;
		display: block;
		font-size: 12px;
		text-align: left;
		padding: 4px 0;
	}
	div#footer-section .link-section ul li:nth-of-type(1) a {
		font-size: 14px;
		text-align: center;
		color: #008542;
		background: #FFF;
		border-right: 1px solid #008542;
		margin-bottom: 5px;
	}
	div#footer-section .link-section ul li:nth-of-type(1) a:hover {
		color: #FFF;
		background: #006633;
	}
	footer .copyright {
		width: 90%;
		position: relative;
		background: url(../../images/message_36.jpg) no-repeat center bottom;
		right: 0;
		bottom: 0;
		margin: 0 auto;
		padding: 20px 0 40px;
	}
	footer .copyright p {
		width: 100%;
		font-size: 10px;
		color: #FFF;
		text-align: center;
		margin: 0 auto;
		padding: 8px 0;
	}
}