html,body {
    height:100%;
}
body > #wrapper >  #contents{
	height: auto;
}
#wrapper{
	width: 100%;
	position: relative;
	height: auto !important;
	height: 100%;
	min-height: 100%;
	background: url(../img/main_bg.gif) no-repeat center bottom;
}
#contents{
	width: 880px;
	padding: 10px 20px 30px;
	margin-right: auto;
	margin-left: auto;
	min-height: 100%;
	height: 100%;
}
#footer{
	position:absolute;
	bottom:0px;
	height:30px;
	background: url(../img/f_bg.gif) repeat-x;
	clear: both;
	width: 100%;
	text-align: center;
	border-top: 1px solid #339900;
	left: 0px;
}
body,td {
	line-height: 1.8em;
	color: #987F5B;
	font-size: 16px;
	font-family: "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
}
#h_b {
	background: url(../img/h_b_bg.gif) repeat-x;
	height: 10px;
	width: 100%;
	border-bottom: 1px solid #339900;
	font-size: 0px;
}
#header{
	background: url(../img/h_bg.gif) repeat-x;
	width: 100%;
	height: 100px;
	position: relative;
	border-bottom: 1px solid #999999;
}


#main_contents{
	float: right;
	width: 640px;
	margin-bottom: 50px;
	height: 100%;
	
}
#sub_contents{
	float: left;
	width: 198px;
	margin-bottom: 50px;
	height: 100%;
	padding: 10px;
	background: #FFFFFF;
	border: 1px solid #999999;
}

#navi {
	text-align: center;
	width: 100%;
	border-bottom: 1px solid #999999;
	background: url(../img/navi_bg.gif) repeat-x;
	border-top: 1px solid #999999;
	font-size: 15px;
	line-height: 1em;
	letter-spacing: 0.3em;
	margin-top: 10px;
	padding-top: 10px;
	height: 30px;
}
#navi ul li {
	list-style: none;
	overflow: hidden;
	display: inline;
}
#navi li {
	margin-right: 30px;
	margin-left: 30px;
}
.jyuusyo {
	height: auto;
	width: 178px;
	background: #F2F2F2;
	padding: 10px;
	margin-bottom: 10px;
	text-align: left;
}
#moji {
	text-align: center;
	line-height: 1em;
	width: 178px;
	height: 29px;
	padding: 10px;
	background: #F2F2F2;
	margin-bottom: 10px;
}
#moji ul li {
	list-style: none;
	overflow: hidden;
	display: inline;
}
#moji li {
	margin-right: 5px;
	margin-left: 5px;
	height: 40px;
}
#tomodachi {
	text-align: center;
	width: 178px;
	height: auto;
	background: #F2F2F2;
	padding: 10px;
	margin-bottom: 10px;
}
#qr_bg {
	background: #F2F2F2;
	padding: 10px;
	width: 178px;
}
.qr_text{
	text-align: left;
	margin-top: 10px;

}
#footer_navi{
	font-size: 15px;
	clear: both;
	line-height: 1em;
	width: 100%;
	text-align: center;
	padding-bottom: 45px;
	border-top: 1px dotted #999999;
	padding-top: 15px;
	
}
#footer_navi ul{
	list-style:none;
	display: inline;
}
#footer_navi li{
	padding-left:20px;
	background:url(../img/list_img.gif) no-repeat left center;
	display: inline;
	margin-right: 30px;
}
.m_b {
	background: url(../img/m_b.gif) no-repeat;
	height: 22px;
	width: 605px;
	font-size: 15px;
	letter-spacing: 0.3em;
	font-weight: bold;
	color: #FFFFFF;
	line-height: 1em;
	margin-top: 10px;
	margin-bottom: 10px;
	border: 1px solid #339900;
	text-align: left;
	padding-top: 8px;
	padding-left: 35px;
}
.s_b {
	background: url(../img/s_b.gif) no-repeat center;
	height: 21px;
	width: 198px;
	font-weight: bold;
	font-size: 15px;
	letter-spacing: 0.3em;
	color: #987F5B;
	line-height: 1em;
	text-align: center;
	margin-bottom: 10px;
	padding-top: 7px;
}

address {
	font-size: 14px;
	color: #FFFFFF;
	height: 30px;
	width: 100%;
	line-height: 2em;
	letter-spacing: 0.1em;
}

/*------ link ------*/

a:link     {
	color: #339900;
	text-decoration: none;
	overflow:hidden;
	outline:none;
	font-weight: bold;
}
a:visited  {
	color: #339900;
	text-decoration: none;
	overflow:hidden;
	outline:none;
	font-weight: bold;
}
a:hover    {
	color: #987F5B;
	text-decoration: none;
	overflow:hidden;
	outline:none;
	font-weight: bold;
}
a:active   {
	color: #339900;
	text-decoration: none;
	overflow:hidden;
	outline:none;
	font-weight: bold;
}

