@charset "shift_jis";
body {
	font-family: "メイリオ","ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
	font-size: 90%;
	line-height: 1.8;
	color: #000000;
	margin: 10px;
	padding: 0px;
	background: #6F7070 url(images/bg.gif) repeat-x;
	text-align: center;
}
h1,h2,h3,p,ul{
	margin: 0px;
	padding: 0px;
}
li{
	list-style-type: none;
}
img {
	border: none;
}
.toplink { 
        text-align: left;
        margin-top: 10px;
        font-size: 12px;
	color: #FFFFFF;
}

/*ＨＰ枠の設定
------------------------------------------------------------------*/
#container {
	background-color: #FFFFFF;
	width: 800px;
	margin-top: 0px;
	margin-right: auto;
	margin-left: auto;
	border-top: 4px solid #000000;
        border-right: 4px solid #000000;
	border-bottom: 4px solid #000000;
	border-left: 4px solid #000000;
	text-align: left;
}

/*ヘッダー設定（ＨＰタイトルとかＨ１タグとかある所）
------------------------------------------------------------------*/
#header0 h1 {
	font-size: 18px;
	color: #FFFFFF;
	
}
#header1 h2 {
	text-align: center;
        font-size: 17px;
	color: #cccccc;
	margin-bottom: 5px;
}
#logo {
	text-align: center;
}

/*メインメニューの設定
------------------------------------------------------------------*/
#menu {
	color: #FFFFFF;
	background-color: #000000;
}
#menu li {
	float: left;
}
#menu li a {
	color: #FFFFFF;
        font-family:"HGSｺﾞｼｯｸE",sans-serif;
	text-decoration: none;
	background: url(images/menu_bg.gif) no-repeat left top;
	display: block;
	padding-top: 5px;
	padding-bottom: 5px;
	text-align: center;
	border-right: 1px solid #666666;
	width: 113px;
       
}
#menu a:hover {
	background: url(images/menu_bg.gif) no-repeat right bottom;
}

/*メイン写真（下にある黒いラインとフロート解除）
------------------------------------------------------------------*/
#mainimg1 {
	clear: both;
       
	border-bottom: 5px solid #000000;
}

#mainimg3 {
	float: right;
        margin-top: 10px;	
}

/*メインコンテンツ（文章がある部分）
------------------------------------------------------------------*/
#main {
	
        float: left;
	width: 520px;
	display: inline;
	margin-left: 15px;
	margin-bottom: 30px;
}
#main h3 {
	clear: both;
        font-size: 100%;
        
	color: #FFFFFF;
	background-color: #000000;
	border-left: 10px solid #990000;
	margin-top: 20px;
	padding-left: 10px;
	padding-top: 8px;
	padding-bottom: 5px;
}
#main h4 {
        font-size: 100%;
	color: #FF0000;
        margin-left: 10px;
}
#main p {
	margin: 3px 10px 8px 10px;
}



.maintable {
	border: 2px solid green;
	margin-top: 20px;
        margin-bottom: 20px;
}
.maintable p {
	padding: 5px;
	color: #999999;
	font-size: 120%;
}

/*サブコンテンツ（右側のスペース）
------------------------------------------------------------------*/
#sub {
	float: right;
	width: 180px;
	display: inline;
	margin-right: 15px;
	margin-bottom: 30px;
	margin-top: 20px;
}
.subtable {
	border: 1px solid #999999;
	margin-bottom: 20px;
}
.subtable h3 {
	background: #999999 url(images/sub_midashi_bg.gif) repeat-x bottom;
	margin: 1px;
	text-align: center;
	font-size: 100%;
	color: #000000;
	padding-bottom: 20px;
	padding-top: 5px;
}
.subtable h4 {
        text-align: center;
	font-size: 100%;
	color: #000000;
}
.subtable p {
	padding: 5px;
	color: #666666;
	font-size: 110%;
        text-align: center;
}

/*補足コンテンツ（下側のスペース）content
------------------------------------------------------------------*/
#content {
	color: #000000;
	text-align: left;
	clear: both;
      	width: 714px;
	margin-left: 8px;
	margin-bottom: 30px;
}
#content h3 {
        clear: both;
        font-size: 100%;
	color: #000000;
	background-color: #99ccff;
	border-left: 10px solid #ffccff;
	margin-top: 20px;
	padding-left: 8px;
	padding-top: 8px;
	padding-bottom: 5px;
}
#content h4 {
        font-size: 100%;
	color: #FF0000;
        margin-left: 10px;
}
#content p {
	margin: 0px 10px 8px 20px;
}
.style1{
        text-align: center;
        font-size: 110%;
}
.style2{
        text-align: left;
        font-size: 130%;
}
.contenttable1 {
	margin-left: 12px;
	margin-bottom: 30px;
	font-size: 100%;
        border: 2px solid green;
        border-collapse: collapse;
       
}

.contenttable1 th{
        text-align: center;
        border: 2px solid green;
        width: 119px;
        padding: 1px;
}
.contenttable1 td{
        text-align: right;
        border: 2px solid green;
        width: 119px;
        padding: 1px;
}
.contenttable2 {
	margin-left: 12px;
	margin-bottom: 30px;
	font-size: 100%;
             
}
.contenttable2 th{
        border: 3px solid #cccccc;
        padding: 2px;
}
.contenttable2 td{
        border: 3px solid #cccccc;
        padding: 2px;
}
.contenttable3 {
        text-align: center;
	margin-left: 12px;
	margin-bottom: 30px;
	font-size: 100%;            
}
.contenttable3 td{
        text-align: left;
        border: 3px solid #cccccc;
        padding: 2px;
}

/*文字サイズ変更ボタン（ここは変更しないように）
------------------------------------------------------------------*/
#fsize {
	height: 44px;
	width: 173px;
	margin-right: auto;
	margin-left: auto;
	padding-bottom: 10px;
}
#fsize li {
	float: right;
}
#fsize a{
	overflow:hidden; /*firefox用*/
	display: block;
	text-indent: -9999px;
}
#sm a {
	background-image: url(images/fsize_btn_01.gif);
	height: 44px;
	width: 58px;
}
#sm a:hover {
	background-image: url(images/fsizen_btn_01.gif);
}
#me a {
	background-image: url(images/fsizen_btn_02.gif);
	height: 44px;
	width: 55px;
}
#me a:hover {
	background-image: url(images/fsizen_btn_02.gif);
}
#la a {
	background-image: url(images/fsize_btn_03.gif);
	height: 44px;
	width: 60px;
}
#la a:hover {
	background-image: url(images/fsizen_btn_03.gif);
}

/*フッター（コピーライト部分）
------------------------------------------------------------------*/
#footer {
	color: #FFFFFF;
	background-color: #3300FF;
	text-align: center;
	clear: both;
	font-size: 15px;
	
}
#footer a {
	color: #990000;
	text-decoration: none;
	font-size: 90%;
}

/*clearfix（ここは変更しないように）
------------------------------------------------------------------*/
#menu:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
#menu { display: inline-block; }

/* Hides from IE-mac \*/
*html #menu { height: 1%; }
#menu { display: block; }
/* End hide from IE-mac */
