@charset "utf-8";
/* CSS Document */
@media screen and (max-width:640px){

body{
padding:0px;
margin-top:0px;
background-color:#ffffff;
color: #333333;
text-align:center;
font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
font-size:16px;
}

p,h1, h2, h3, h4{
margin: 0px;
padding:0px;
}
img{
max-width: 100%;
height: auto;
width /***/:auto;　
}
table {
max-width:100%;
width:100%;
font-size:50%;
}

img { vertical-align:bottom }

h1 {
	font-weight: bold;
	font-size: 10px;
	color: #330000;
	background-repeat: no-repeat;
	padding-right: 1px;
	padding-left: 1px;
	font-family: sans-serif;
	width: 300px;
	height: 31px;
}
h2 a, h2 a:visited{
color:#330000;
text-decoration:none;
}
h1,h2,h3,h4{
	clear:both;
}

h2 {
font-size: 20px;
line-height: 22px;
background-repeat: no-repeat;
background-position: left top;
margin-bottom: 5px;
margin-top: 5px;
color: #330000;
padding-left: 35px;
overflow: hidden;
padding-top: 7px;
padding-bottom: 7px;
background-image: url(./img/h3.jpg);
}
h3{
color:#330000;
margin: 19px 0px;
padding:0px;
}
h4{
margin: 15px 0px;
padding:0px;
}


#container {
width:100%;
background:url(img/line_bg.png) repeat-y;
padding:0px 5px 0px 5px;
margin:0 auto 0 auto;
text-align:left;
}

#header {
height:111px;
width:auto;
background: url(img/header_sm.jpg) no-repeat; 
background-position: left top;
margin-bottom:20px;
}

#contents {
	padding-right: 5px;
	padding-left: 5px;
	padding-bottom: 0px;
}

#main {
	width: auto;
}
.text1 {
	margin-bottom: 25px;
	padding: 10px 14px;
	line-height:30px;
}

#footer {
	text-align: center;
	color: #FFFFFF;
	line-height: 68px;
	height: 68px;
	background-color:#330000;
	background-position: left top;
}
#footer_sub {
	text-align: center;
	color: #FFFFFF;
	line-height: 30px;
	height: 30px;
	background-color:#330000;
}
#footer_sub a, #footer_sub a:visited, #footer a, #footer a:visited{
color:#ffffff;
text-decoration:none;
}

#news {
	border: 1px solid #CCCCCC;
	background:url(img/news.jpg);
	background-position:left top;
	padding-top: 45px;
	padding-bottom: 10px;
	padding-right: 10px;
	padding-left: 10px;
	margin-bottom:20px;
}
#news li {
	line-height: 25px;
	margin-right: 10px;
	margin-left: 10px;
}
.menu{
margin-bottom:10px;
}
ul#menu{
margin:0px;
padding:0px;
	list-style-type: none;
	list-style-image: none;
}
ul#menu li{
	background-image: url(img/list.jpg);
	background-repeat: no-repeat;
	background-position: left center;
	padding-top: 0px;
	padding-right: 10px;
	padding-bottom: 0px;
	padding-left: 6px;
    float:left;
}

.navi{
margin-bottom:10px;
font-size:9px;
color:#996600;
}
.navi a, .navi a:visited{
color:#996600;
}

#menu li a:hover{
	color: #FF0000;
}

.cl{
clear:both;
}
.cbg{
padding:2px 5px;
background-color:#FFE3C8;
margin-bottom:40px;
}

.styleS{
font-size:18px;
font-weight:bold;
color:#CC3300;
}


}