/*----------------------------------------------------------------------------
******************************************************************************
Layout
******************************************************************************
----------------------------------------------------------------------------*/
/* ==== Base === */
body {
	background: #A9CF89;
}
.layout {
	width: 960px;
	margin: 0 auto;
	zoom: 1;
}
.layout:before, .layout:after {
	content: "";
	display: table;
}
.layout:after {
	clear: both;
}
/* ==== Backgraund === */
#wrap {
	background: url(../images/wrap_bg.jpg) top center no-repeat;
	padding-bottom: 20px;
}
#wrap02 {
	background: url(../images/wrap02_bg.jpg) top repeat-x #FFFFFF;
}
/* ==== Header === */
#hd {
	height: 90px;
	position: relative;
}
#hd_bg {
	background: #FFF;
}
#hd_contact {
	right: 0;
	top: 26px;
	position: absolute;
}
#hd_nav {
	right: 110px;
	top: 26px;
	position: absolute;
}
/* ==== Navigation === */
#nav {
	width: 961px;
	height: 56px;
	margin: 0 auto 20px auto;
	/* background: url(../images/nav_bg.jpg) no-repeat; */
	position: relative;
	z-index: 10;
}
#nav ul {
	display: flex;
}
#nav>nav>ul>li {
	display: grid;
	place-items: center;
	height: 56px;
	width: calc(100% / 6);
	color: #fff;
	font-size: 1.1em;
	font-weight: bold;
	text-align: center;
	letter-spacing: 0.1em;
	text-shadow: 0 0 2px black;
	background: linear-gradient(to bottom, #8EC363 60%, #aae775 100%);
	box-shadow: inset 0px 0px 1px 0px #000;
	transition: 0.3s;
}
nav>ul>li:first-child {
	border-bottom-left-radius: 5px;
}
nav>ul>li:first-child::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 20%;
	background: url(../images/home_icon.png);
	background-repeat: no-repeat;
	width: 16px;
	height: 16px;
	transform: translateY(-50%);
}
nav>ul>li:last-child {
	border-bottom-right-radius: 5px;
}
#nav>nav>ul>li:nth-child(3) {
	font-size: 0.85em;
}
#nav>nav>ul>li>a {
	display: grid;
	place-items: center;
	height: 56px;
	color: #fff;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
	letter-spacing: 0.05em;
	text-shadow: 0 0 2px black;
}
#nav>nav>ul>li:hover {
	filter: contrast(1.2);
}
#nav>nav>ul>li.current {
	filter: contrast(1.2);
}
/* ==== Content === */
#con {
}
#sidenav {
	width: 200px;
	float: left;
	padding-top: 40px;
	padding-bottom: 5px;
	overflow: hidden;
	background: url(../images/sidenav_bg.jpg) no-repeat left top;
}
#sidenav ul {
	padding: 0px;
}
#sidenav li {
	padding: 0 10px;
}
#sidenav li:hover, #sidenav li.current {
	background: rgba(255,255,255,1.00);
}
#sidenav li a {
	width: 160px;
	height: auto;
	padding: 12px 10px 5px 10px;
	display: block;
	text-decoration: none;
	border-bottom: 1px dotted #CCC;
	font-size: 0.9em;
	color: #333333;
}
#main {
	width: 690px;
	float: right;
	padding: 20px;
	/*	overflow: hidden;*/
	background: #FFF;
}
/* ol,ul */
#main ol, #main ul {
	padding: 5px 0px 5px 25px;
}
#main ul {
	list-style-type: disc;
}
#main ol li, #main ul li {
	padding: 5px 0px;
}
/* table */
#main table {
	margin: 10px 0px;
}
#main table th, #main table td {
	padding: 5px;
}
/* img */
#main a img:hover {
	opacity: 0.5;
	filter: alpha(Opacity=50);
}
/* ==== Footer === */
#ft {
	padding-top: 30px;
	padding-bottom: 30px;
	text-align: center;
	background: url(../images/ft_bg.jpg) repeat-x left top;
	color: #FFF;
}
/*----------------------------------------------------------------------------
******************************************************************************
Head
******************************************************************************
----------------------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
}
h1 {
	width: 418px;
	position: absolute;
	top: 20px;
}
h2 {
	font-size: 2em;
	padding: 0.5em;
	margin: 0em 0 1.0em 0;
	background: #F5FAF1;
	border-bottom: 3px solid #A0D178;
	color: #000;
}
h3 {
	position: relative;
	color: #fff;
	background: #A0D178;
	font-size: 1.5em;
	line-height: 1;
	text-shadow: 1px 1px 1px #000;
	border : 1px solid #A0D178;
	margin: 30px -10px 10px -10px;
	padding: 15px 5px 12px 10px;
	border-radius: 3px;
}
h3:after {
	content: "";
	position: absolute;
	top: 100%;
	left: 30px;
	height: 0;
	width: 0;
	border: 10px solid transparent;
	border-top: 10px solid #A0D178;
}
h4 {
	font-size: 1.2em;
	padding: 0.3em 0px 0.3em 22px;
	margin: 1em 0 0.7em 0;
	background: url(../images/h3_bg.jpg) left center no-repeat;
	border-bottom: 1px dotted #CCC;
	color: #222;
}
h5:before {
	content: "● ";
	color: #A0D178;
}
h5 {
	font-size: 1em;
	margin: 0.3em 0;
}
h1.img, h2.img, h3.img, h4.img, h5.img, h6.img {
	margin: 0;
	padding: 0;
	background: none;
	border: none;
}
/*----------------------------------------------------------------------------
******************************************************************************
Original
******************************************************************************
----------------------------------------------------------------------------*/
/* ==== Index === */
#i_img {
	margin-bottom: 20px;
}
#i_main {
	width: 648px;
	float: left;
	padding: 10px;
	border: 1px solid #CCC;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}
#i_sidenuv {
	width: 270px;
	float: right;
}
#i_sidenuv2 {
	background: url(../images/bg_link.png);
	margin-top:10px;
	width: 270px;
	height:252px;
	float:right;
}
#i_sidenuv2 p {
	margin:10px 0 5px 55px;
}
#i_sidenuv2 li {
	margin:0 0 10px 70px;
}
#i_sidenuv li {
	margin-bottom: 5px;
}
.i_news_h {
	margin: -10px -10px 10px -10px!important;
}
#i_news {
}
#i_news table {
}
#i_news table td {
	vertical-align: top;
	font-size: 0.8em;
	padding: 10px;
	border-bottom: 1px dotted #CCC;
}
#i_news table td.date {
	width: 100px;
}
#i_news div.icon {
	background: url(../images/common/news_icon.gif) left center no-repeat;
	padding-left: 8px;
}
/*----Other----*/
.eyecatch {
	margin: -20px -20px 10px -20px!important;
}
.ans {
	text-indent: -1.5em;
	margin-left: 1.5em;
}
#slideshow {
	position: relative;
	margin: 0;
	height: 340px;
	width: 960px;
	z-index: 0;
}
#slideshow IMG {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 8;
}
#slideshow IMG.active {
	z-index: 10;
}
#slideshow IMG.last-active {
	z-index: 9;
}
.renrakusaki {
	line-height: 1px;
}
/*----Other----*/

#photo {
	overflow: hidden;
}
#photo ul {
	width: 100%;
}
#photo li {
	width: 25%;
	padding: 0;
	margin: 0;
	float: left;
	list-style-type: none;
	text-align: center;
}
#photo img {
	box-sizing: border-box;
	border: #FFFFFF 5px solid;
	width: 100%;
	display: inline-block;
}
.photo_box {
	width: 100%;
	border: 0;
	font-size: 0;
}
/*----pagetop----*/
#page-top {
	position: fixed;
	bottom: 20px;
	right: 20px;
	font-size: 77%;
}
#page-top a {
	background: #56872E;
	text-decoration: none;
	color: #fff;
	width: 100px;
	padding: 30px 0;
	text-align: center;
	display: block;
	border-radius: 5px;
	box-shadow: 0 0 2px rgba(0,0,0,0.2);
}
#page-top a:hover {
	text-decoration: none;
}
