/*全般*/

body{
	margin: 0;
	background-color: #cccccc;
	background-image: url(bg.gif);
	font-size: 85%;
}

#hp{
	width: 780px;
	margin: 0 auto;
}

#header{
	margin: 0;
	background-color: #ffffff;
	height: 80px;
}

#menu{
	margin: 0;
	text-align: center;
	background-color: #ffffff;
	border-top: 1px solid #999999;
	border-bottom: 1px solid #999999;
}


#main{
	background-color: #ffffff;
	padding: 5px 10px;
}

#footer{
	color: #ffffff;
	background-color: #000000;
	padding: 10px;
	text-align: center;
}



/*文字*/

h1{
	color : #333333;
	padding: 5px 0px 3px 20px;
	border-bottom: 1px #000000 solid;
	text-align: left;
}

h2{
	margin-top: 25px;
	padding: 3px 15px;
	border-right: solid 1px #666666;
	border-bottom: solid 1px #666666;
	background-color: #d2d2e8;
	text-align: left;
}

h3{
	margin-top: 25px;
	padding: 3px 8px;
	border-bottom: solid 1px #999999;
	border-left: solid 10px #999999;
	text-align: left;
}

h4{
	margin-left: 5px;
	font-weight: bold; 
}

h5{
	margin-left: 5px;
}

h6{
	margin-left: 5px;
}



hr{
	width : 300px;
	height: 1px;
	color: #999999;
	margin: 20px auto;
}


p{
	margin-left: 20px; 
	text-align: left;
}

.red{
	color: red;
}

.bold{
	font-weight: bold; 
}

.large{
	font-size: 150%;
	font-weight: bold;
}

.s{
	text-decoration: line-through; /* --- 取り消し線 --- */
}


a{
	text-decoration: none;
	color: #0000ff;
}

a:hover { 
	text-decoration: underline; 
	color: #ff0000;
} 


ul{
}

li{
margin-bottom: 5px;
}


/* --- 文章内のタイトル --- */
p.tit{
	width: 80%;
	margin: 25px 0 6px 0;
	padding: 5px;
	border-bottom: solid 1px #999999;
	border-left: solid 5px #999999;
	font-size: 14px;
	font-weight: bold;
	text-align: left;
}



/*テーブル*/

table {
	border-collapse: collapse;
	margin-left: 20px;
}

th {
	border: 1px #999999 solid;
	padding: 5px;
}

td {
	border: 1px #999999 solid;
	padding: 5px;
	vertical-align: top;
	font-size: 95%;
}



/* --- トップメニュー --- */

.navi {
}

.navi .nl {
margin: 0;
padding: 5px 0;
list-style-type: none;
}

.navi .nl li {
margin:10px;
display: inline;
}

.navi .nl a {
color: #333333;
}

.navi .nl a:hover {
color: #ffffff;
background-color: #D2691E;
}



/* --- 横並びメニュー --- */

.yokonav {
clear: both;
margin-top: 20px;
}

.yokonav .nl {
margin: 0;
padding: 0;
list-style-type: none;
text-align: center; /* メニューのセンタリング */
}

.yokonav .nl li {
margin: 0 4px; /* 項目のパディング（上下、左右） */
display: inline;
}



/* --- ボックス --- */
.box {
margin: 10px;
background-color: #ffffff; /* ボックスの背景色 */
border-top: 0;
border-right: 1px #999999 solid; /* ボックスの枠線 */
border-bottom: 1px #999999 solid; /* ボックスの枠線 */
border-left: 1px #999999 solid; /* ボックスの枠線 */
float: left;
}

/* --- ボックスの見出し --- */
.box h2 {
margin: 0; /* 見出しのマージン */
padding: 3px 10px; /* 見出しのパディング（上下、左右） */
background-color: #c0c0c0; /* 見出しの背景色 */
background-image: url(bg2.gif);
border-top: 1px #999999 solid; /* 見出しの上枠線 */
border-right: 0; /* 見出しの右枠線 */
border-bottom: 1px #999999 solid; /* 見出しの下枠線 */
font-size: 115%; /* 見出しの文字サイズ */
}

/* --- ボックスの小見出し --- */
.box h3 {
margin: 0.3em 0; /* 段落のマージン（上下、左右） */
border: 0;
font-size: 110%; /* 見出しの文字サイズ */
}

/* --- ボックス内の段落 --- */
.box p {
margin: 0.3em 14px; /* 段落のマージン（上下、左右） */
}

.box a{
	padding: 0 3px;
	text-decoration: none;
	color: #000040;
	border: 1px solid #c0c0c0;
}

.box a:hover { 
	text-decoration: underline; 
	color: #ffffff;
	background-color: #000040;
} 



/* インラインフレーム */

iframe {
width: 520px;
height: 400px;
}



/* このページのTOPへ戻る */

p.navi{
	margin: 30px 0 0 0;
	width: 100%;
	text-align: left;
	clear: both;
}



/*フッタ部分*/

p.footer{
	color: #ffffff;
	margin-bottom: 0;
	font-size: 12px;
	text-align: center;
}

a.footer{
	text-decoration: none;
	color: #ffffff;
}

a.footer:hover { 
	text-decoration: underline; 
	color: #ffffff;
} 


