/*---------------------------------
	IMPORTS
-----------------------------------*/
@import url(//fonts.googleapis.com/css?family=Orienta&subset=latin-ext,latin);

/*---------------------------------
	OVERRIDES
-----------------------------------*/
a {text-decoration: none;}
a:hover {text-decoration: underline;}
a img{border:0;}
table {width: 100%;}

@media all and (max-width: 480px) {
	table {width:auto;}
	table th,
	table td {
		/* display: block; */
		white-space: inherit;
		width: auto !important;
		text-align: left !important;
	}
}
center {
	padding:0px !important;
	text-align: left;
}

/*---------------------------------
	UTILITY
-----------------------------------*/
center {padding: 10px;}
.center{text-align:center;}
.left{text-align:left;}
.right{text-align:right;}
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
* html .clearfix {height: 1%;}/* IE6 */ 
*:first-child+html .clearfix {min-height: 1px;}/* IE7 */

@media all and (max-width: 480px) {
	center {text-align: left !important;}
}

/*---------------------------------
	HR
-----------------------------------*/
hr{clear:both;border-bottom:0;border-top:1px dotted #ccc;border-right:0;border-left:0;margin:30px 0;min-height: 0;height:1px;}
hr.alt1{border-style: solid;}
hr.alt2{border-style: dashed;}

/*---------------------------------
	HTML5 ELEMENTS (shim)
-----------------------------------*/
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
display:block;
}

/*---------------------------------
	HEADINGS
-----------------------------------*/
h1 {
	padding: 0 10px;
	color: #fff;
	text-shadow: 0 -1px 3px #666, -1px 0 3px #666, 1px 0 3px #666, -1px -1px 3px #666, 0px 1px 3px #666, 1px 1px 3px #666; 

}
h2 {
	margin: 5px 0 0;
}
h2.title {
	margin: 20px 20px 10px 0px;
	padding: 15px 20px 10px 20px;
	color: #666;
	font-size: 18px;
	border: 1px solid #EEE;
	border-left: 10px solid #efcf02;
	background: #FFF;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}
h2.title-message {
	padding: 20px 20px 10px 70px;
	background: url("../img/ico_emergency.png") no-repeat;
	color: #666;
	font-size: 18px;
}
h2.title-aisatu {
	padding: 15px 20px 10px 70px;
	background: url("../img/ico_aisatu.png") no-repeat;
	color: #666;
	font-size: 18px;
}
h2.title-news1 {
	padding: 25px 20px 10px 70px;
	background: url("../img/ico_news1.png") no-repeat;
	color: #666;
	font-size: 18px;
}
h2.title-news2 {
	padding: 25px 20px 10px 70px;
	background: url("../img/ico_news2.png") no-repeat;
	color: #666;
	font-size: 18px;
}
h3 {}
@media all and (max-width: 480px) {
	h2.title-aisatu {background: #efefef url("../img/ico_aisatu.png") no-repeat;}
	h2.title-news1 {padding: 15px 20px 10px 70px;background: #efefef url("../img/ico_news1.png") 0 -10px no-repeat;}
	h2.title-news2 {padding: 15px 20px 10px 70px;background: #efefef url("../img/ico_news2.png") 0 -10px no-repeat;}
	h2.title {margin-right: 0px;}
}


/*---------------------------------
	BASE LAYOUT
-----------------------------------*/
body {
	font-size: 14px;
	/*font-family: 'Lucida Grande','Hiragino Kaku Gothic ProN', Meiryo, sans-serif;*/
	min-width: 900px;
	-webkit-text-size-adjust: 100%;
}

#wrap {
	width: auto;
	margin: 0px;
	padding: 0px;
	position: relative;
}
#header {
	position: relative;
	width: 900px;
	margin: 0 auto;
	border-top: solid 4px #008a45;
	/*background: url("../img/bg_header.jpg") top center no-repeat;*/
}



#header .logo {
	padding: 20px 0px;
}

#header .tel {
	position: absolute;
	top: 20px;
	right: 0px;
	padding-left: 25px;
	background: url("../img/ico_tel.jpg") left center no-repeat;
	font-size: 140%;
	font-family: 'Orienta', sans-serif;
	color: #888;
}

@media all and (max-width: 480px) {
	body {
		min-width: 320px;
	}
	#header {
		width: auto;
	}
	#header .logo img {
		width: 70%;
	}
	#header .tel {
		display: none;
	}
}



/* menu */
.menu {
	width: 900px;
	height: 56px;
	margin: 0 auto;
	z-index: 1;
}
.sp-head-menu {display: none;}
ul#main-nav {
	width: 900px;
	margin: 0px;
	padding: 0px;
	position: absolute;
	z-index: 1;
}
ul#main-nav li {
	float: left;
	width: 204px;
	margin: 0px;
	padding: 0px;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
}
ul#main-nav li#menu-home {width:84px;}

ul#main-nav li li {
	float: none;

}
ul#main-nav li a {
	width: 204px;
	height: 56px;
	display: block;
}

ul#main-nav li#menu-home {background: url("../img/globalmenu.png") 0px 0px no-repeat;}
ul#main-nav li#menu-02 {background: url("../img/globalmenu.png") -84px 0px no-repeat;}
ul#main-nav li#menu-03 {background: url("../img/globalmenu.png") -288px 0px no-repeat;}
ul#main-nav li#menu-04 {background: url("../img/globalmenu.png") -492px 0px no-repeat;}
ul#main-nav li#menu-05 {background: url("../img/globalmenu.png") -697px 0px no-repeat;}

ul#main-nav li#menu-home a {width:84px; background: url("../img/globalmenu.png") 0px 0px no-repeat;}
ul#main-nav li#menu-02 a {background: url("../img/globalmenu.png") -84px 0px no-repeat;}
ul#main-nav li#menu-03 a {background: url("../img/globalmenu.png") -288px 0px no-repeat;}
ul#main-nav li#menu-04 a {background: url("../img/globalmenu.png") -492px 0px no-repeat;}
ul#main-nav li#menu-05 a {background: url("../img/globalmenu.png") -697px 0px no-repeat;}

ul#main-nav li#menu-home a:hover {width:84px; background: url("../img/globalmenu.png") 0px -56px no-repeat;}
ul#main-nav li#menu-02 a:hover {background: url("../img/globalmenu.png") -84px -56px no-repeat;}
ul#main-nav li#menu-03 a:hover {background: url("../img/globalmenu.png") -288px -56px no-repeat;}
ul#main-nav li#menu-04 a:hover {background: url("../img/globalmenu.png") -492px -56px no-repeat;}
ul#main-nav li#menu-05 a:hover {background: url("../img/globalmenu.png") -697px -56px no-repeat;}

ul#main-nav li#menu-home a.current {width:84px; background: url("../img/globalmenu.png") 0px -56px no-repeat;}
ul#main-nav li#menu-02 a.current {background: url("../img/globalmenu.png") -84px -56px no-repeat;}
ul#main-nav li#menu-03 a.current {background: url("../img/globalmenu.png") -288px -56px no-repeat;}
ul#main-nav li#menu-04 a.current {background: url("../img/globalmenu.png") -492px -56px no-repeat;}
ul#main-nav li#menu-05 a.current {background: url("../img/globalmenu.png") -697px -56px no-repeat;}


ul.sub-menu {
	padding: 0;
	position: absolute;
	background: url("../img/bg_submenu.png") bottom no-repeat;
}
ul#main-nav ul.sub-menu li a {
	width: 195px;
	height: auto;
	padding: 10px 0 10px 10px;
	background: none !important;
	text-indent: 0%;
	white-space: inherit;
	overflow: inherit;
	text-decoration: none;
	color: #333;
}
ul#main-nav ul.sub-menu li a:hover {
	color: #000;
	font-weight: bold;
}
ul.sub-menu li {
	border-bottom: 1px solid #ccc;
}
ul.sub-menu li.last {
	border: none;
}

@media all and (max-width: 480px) {
	.menu {
		display: none;
	}
	.sp-head-menu {
		display: block;
		position: absolute;
		top: 10px;
		right: 10px;
		background: #00a753;
		border-radius: 8px;
		padding: 3px 0 0 3px;
	}
	.sp-head-menu img {
		width: 90%;
		height: auto;
	}
}


/* contents */
#wrap-content {
	background: url("../img/bg_maincontents.jpg");
	margin: 0px;
	padding: 0px;
}
#wrap-content:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
/* IE6 */ 
* html #wrap-content{height: 1%;}
/* IE7 */
*:first-child+html #wrap-content {min-height: 1px;}

#contents-box {
	width: 900px;
	margin: 0 auto;
}
#contents-box:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
/* IE6 */ 
* html #contents-box {height: 1%;}
/* IE7 */
*:first-child+html #contents-box {min-height: 1px;}


.maincontents {
	float: left;
	width: 700px;
	width: 680px\9;
}

.maincontents .contents table td[align="center"] {text-align: left;}

.sidecontents {
	float: right;
	width: 200px;
}

#wrap-foot-menu {
	clear: both;
	width: 900px;
	margin: 50px auto 0px;
}

.foot-menu {
	margin: 0px;
	padding: 0px;
}
ul.foot-menu li {
	float: left;
	padding: 0 20px;
	list-style-type: none;
	border-right: 1px solid #ccc;
}
ul.gototop {
	float: right;
	margin: 0px;
	padding: 0px;
}
ul.gototop li {
	list-style-type: none;
}
ul.gototop a {
	display: block;
	width: 139px;
	height: 30px;
	background: url("../img/btn_gototop.png") no-repeat;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
}

@media all and (max-width: 480px) {
	.maincontents {
		float: none;
	}
	#contents-box,
	.maincontents,
	.sidecontents,
	#wrap-foot-menu {
		width: auto;
		float: none;
	}
	ul.foot-menu {
		margin: 20px 0;
		border-top: 1px solid #ccc;
	}
	ul.foot-menu li {
		float: none;
		padding: 10px 20px;
		border-bottom: 1px solid #CCC;
		border-right: none;
		background: #fff;
	}
	ul.foot-menu li a {
		display: block;
		padding: 5px 0px;
		position: relative;
	}
	ul.foot-menu li a:before {
	  display: block;
	  content: "";
	  position: absolute;
	  -webkit-transform: rotate(45deg);
	  transform: rotate(45deg);
	  top: 50%;
	  right: -5px;
	  width: 10px;
	  height: 10px;
	  margin-top: -5px;
	  background: #1e7236;
	}
	ul.foot-menu li a:after {
	  display: block;
	  content: "";
	  position: absolute;
	  -webkit-transform: rotate(45deg);
	  transform: rotate(45deg);
	  top: 50%;
	  right: 0px;
	  width: 10px;
	  height: 10px;
	  margin-top: -5px;
	  background: #fff;
	}

	ul.gototop li {
		margin-top: 20px;
		list-style-type: none;
	}
}

/* footer */
#wrap-footer {
	background: #fff090;
}
#wrap-footer:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
/* IE6 */ 
* html #wrap-footer {height: 1%;}
/* IE7 */
*:first-child+html #wrap-footer {min-height: 1px;}
#footer {
	clear: both;
	width: 900px;
	margin: 0 auto;

}
.footerMobile {
	float: left;
	padding: 20px 0px;
}
.qr {
	position: relative;
}
.qr img {
	position: absolute;
	top: -70px;
	left: 10px;
}
.address {
	float: right;
	padding-top: 40px;
	color: #333;
	text-align: right;
}

.copyright {
	width: 900px;
	margin: 10px auto;
	text-align: center;
	color: #888;
}
.sp-main-nav {display: none;}


@media all and (max-width: 480px) {
	#footer,
	.copyright {
		width: auto;
	}
	.footerMobile {
		display: none;
	}
	.address {
		text-align: center;
		padding: 5px 0;
		float: none;
	}
	.sp-main-nav {
		display: block;
		margin: 0px;
		padding: 0px;
	
	}
	.sp-main-nav li {
		padding: 10px;
		background: #00a753;
		border-bottom: 1px solid #fff;
	}
	.sp-main-nav li a {
		display: block;
		padding: 10px;
		color: #fff;
		border-left: 5px solid #fff;
		position: relative;
	}
	.sp-main-nav li a:before {
	  display: block;
	  content: "";
	  position: absolute;
	  -webkit-transform: rotate(45deg);
	  transform: rotate(45deg);
	  top: 50%;
	  right: 5px;
	  width: 10px;
	  height: 10px;
	  margin-top: -5px;
	  background: #fff;
	}
	.sp-main-nav li a:after {
	  display: block;
	  content: "";
	  position: absolute;
	  -webkit-transform: rotate(45deg);
	  transform: rotate(45deg);
	  top: 50%;
	  right: 10px;
	  width: 10px;
	  height: 10px;
	  margin-top: -5px;
	  background: #00a753;
	}
	.sp-main-nav li a.selected:after {
	  top: 40%;
	  right: 5px;
	}
	.sp-foot-submenu {
		margin: 0px;
		padding: 10px 0 0 10px;
	}
	.sp-foot-submenu li {
		margin: 0px;
		list-style-type: none;
		padding: 0px;
		border-bottom: 1px dotted #fff;
	}
	.sp-foot-submenu li:last-child {
		border-bottom: none;
	}
	.sp-foot-submenu li a {
		border-left: none;
	}
}