﻿@media screen and (max-width:799px){
img{
max-width: 100%;
height: auto;
width /***/:auto;　
}
	
body {
	text-align:center;
	line-height: 23px;
	margin: 0;
	padding: 0;
} 

P {
	text-indent: 1em;
}

A:link {
	color: #0066FF;

} 
A:active { 
	color: #FF00FF; 
} 
A:visited {
	color: #0066FF;
}
A:hover {
	color: #FF0000;
}

#main {
	text-align: left;
	margin: 0 auto;
	padding: 0;
	width: 100%;
	background-color: #FFFFFF;
	border-top: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
}
#header {
	padding: 0px;
	margin: 0px;
	height: 50px;
	width: 100%;
}
#header .subtitle{
	font-size: 10px;
	color: #333333;
	margin: 0px;
}
#header .title {
	font-size: 24px;
	margin-top: 20px;
	font-family: "Times New Roman", "Times", "serif";
	font-style: italic;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 20px;
	color: #000066;
	font-weight: bold;

}
#header a {
	color: #000066;
	text-decoration: none;
}
#navibar{
	margin: 0;
	padding: 0;
	width: 100%;
}
#navibar ul { 
	margin: 0; 
	padding :0; 
	list-style-type : none; 
}

#navibar li {
	display : inline;
	padding :0;
	margin:0;
}

#navibar li a {
	display:block;
	padding:5px;
	text-decoration:underline;
	color:#0066FF;
	margin:0px;
	border-top: 1px solid #CCCCCC;
	height: auto;
	width: auto;

}

#navibar li a:hover {
	display:block;
	padding:5px;
	text-decoration:underline;
	color:#FF0000;
	height:auto;
	margin: 0px;
	width: auto;
	border-top: 1px solid #CCCCCC;
	border-bottom: #aca;
	background-image: url(pic/menu2.png);
}
#kousin li {
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-bottom-style: dashed;
	border-top-color: #333333;
	border-right-color: #333333;
	border-bottom-color: #333333;
	border-left-color: #333333;
	list-style-image: url(pic/triangle.gif);
	list-style-type: none;
}
#fooder_menu{
	margin: 5 0 0 10;
	padding: 0;

}
#fooder_menu ul { 
	margin: 0; 
	padding :0; 
	list-style-type : none; 
}

#fooder_menu li {
	display : inline;
	padding :0 10;
	margin:0;
	float:center;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-top-color: #333333;
	border-right-color: #333333;
	border-bottom-color: #333333;
	border-left-color: #333333;
}
#maincontents {
	margin: 10px 0 0 0;
	padding: 0px;
	text-align: left;
}
#contents_left{
	padding: 0px;
	float: left;
	width: 390px;
	margin: 0px;
}
#contents_right{
	padding: 0px;
	float: right;
	margin: 0px;
	width: 100%;
}
#footer {
	clear: both;
	width: 100%;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #666666;
	border-right-color: #666666;
	border-bottom-color: #666666;
	border-left-color: #666666;
	padding: 0px;
	margin-top: 20px;
	margin-right: 0px;
	margin-bottom: 20px;
	margin-left: 0px;
}
#maincontents_right {
	margin: 5px 0px 0px 5px;
	padding: 0px;
	width: 100%;
}

#left_menu{
	margin: 5px 0px 0px 5px;
	padding: 0px;
	width: 100%;
}
#left_menu h3{
	font-weight: bold;
	color: #FFFFFF;
	margin: 0px;
	background-image: url(pic/menu_title.png);
	text-align: center;
	padding-top: 2px;
	padding-bottom: 2px;
}
.box {
	border: 1px solid #CC3366;
	padding: 5px;
	margin: 0px;

}
.box h3{
	margin: 0px;
	padding: 0px;

}
h1 {
	background-image: url(pic/menu.png);
	height: auto;
	width: auto;
	font-size: 14pt;
	color: #333333;
	padding: 5px;
	margin: 0px 0px 20px;
	text-indent: 10px;
	border: 1px solid #666666;
}
 h2 {
	font-size: 12pt;
	color: #89100a;
	border-bottom-width: 1px;
	border-left-width: 10px;
	border-bottom-style: solid;
	border-left-style: solid;
	border-bottom-color: #666666;
	border-left-color: #666666;
	text-indent: 10px;
}
 h3 {
	font-size: 11pt;
	font-weight: bold;
	color: #000066;
}

.menu_box {
	margin: 0 0 15px;
	padding: 1px;
	text-align: left;
	border: 1px solid #CCCCCC;


}
.ad_box {
	margin: 5px 0 15px;
	padding: 0px;
	text-align: center;
}
.menu_box li {
	display : inline; 
	padding :0; 
	margin:0; 
}
.menu_box a{
	display:block;
	padding:5px;
	text-decoration:underline;
	color:#0066FF;
	margin:0px;
	border-top: 1px solid #CCCCCC;
	height: auto;
	width: auto;
}
.menu_box a:hover {
	display:block;
	padding:5px;
	text-decoration:underline;
	color:#FF0000;
	height:auto;
	margin: 0px;
	width: auto;
	border-top: 1px solid #CCCCCC;
	border-bottom: #aca;
	background-image: url(pic/menu2.png);
}
.menu_box A:visited {
	color: #0066FF;
}
.menu_box h2 {
  margin: 0;
  padding: 6px 0 6px 12px;
  line-height: 110%;
  color: #333333;
  background-repeat: no-repeat;
}
table {
	line-height: 20px;
}