body {
	margin:auto;
	width:798px;
	padding:0;
	font-size:85%;
	line-height:1.4;
	color:#000000;
	font-family: "Arial","MS Pゴシック";

}
/*コンテンツ全体を包む*/
#zentai {
	margin:0;
	width:798px;
	border-right:1px solid #cccccc;
	border-left:1px solid #cccccc;
	border-bottom:1px solid #cccccc;
}

/*ヘッダー画像とリンク*/
#pagetop {
	width:798px;
	height:120px;
	background-color:#e6e6e6;
}
ul.link {
	width:798px;
	list-style:none;
	margin:0 0 20px 0;
	padding: 0;
	height: 20px;
}
ul.link li {
	font-size:12px;
	float:right;
	width:140px;
	margin:5px 0 0 0;
	padding:0; 
	border-right:1px solid #336699;
	border-bottom:2px solid #336699;
	background-color:#ffffff;
}
ul.link li a {
	display:block;
	width:140px;
	padding: 3px 0 3px 0;
	text-decoration: none;
	text-align:center;
}
/*ヘッダー画像とリンクここまで*/
/*ナビゲーションバー*/
ul.navi {
	width:798px;
	list-style:none;
	margin:0;
	padding:0;
	background-color:#336699;
}
ul.navi li {
	float:left;
	width:114px;
	text-align:center;
}
ul.navi li a {
	display:block;
	width:114px;
	padding: 7px 0 5px 0;
	text-decoration: none;
	background-color:#336699;
	color: #ffffff;
}

ul.navi li a:visited {
	color: #ffffff;
	text-decoration: none;
}

ul.navi li a:hover {
	color: #ff9999;
	background-color:#002266;
}
/*ナビゲーションバーここまで*/

/*コンテンツとメニューを包む*/
#wrap {
	float:left;
	position:relative;
	margin: 10px 0;
	width:798px;
}
/*コンテンツエリア*/
#con {
	float:left;
	width:530px;
	top:20px;
	margin: 0;
	padding: 10px 0px 10px 20px;
}

/*コンテンツ内のメニュー表示*/
#menu {
	float:right;
	top: 0px;
	right: 0px;
	width: 240px;
	padding: 0;
	margin: 0;
/*	background-color:#ffffcc;*/
}
/*base-link*/
a {
	color: #0000FF;
	text-decoration: none;
}

a:visited {
	color: #0000FF;
	text-decoration: none;
}

a:hover {
	color: #CC0000;
	text-decoration: underline;
}

/*footer-Copyright*/

#foot {
	clear:both;
	bottom:0;
	margin: 0;
	width:788px;
	height:50px;
	background-color:#e6e6e6;
	color: #999999;
	text-align: center;
	padding: 2px 5px 2px 5px;
}
#foot p {
	margin:0;
	padding:0;
}

/*footer-link*/
.footer_right {
	font-size: 12px;
	padding-top: 0.3em;
	padding-bottom: 0.3em;
	text-align: right;
}

.footer_right a {
	text-decoration: none;
	color: #6484CE;
}

.footer_right a:visited {
	color: #6484CE;
	text-decoration: none;
}

.footer_right a:hover {
	color: #0000FF;
	text-decoration: none;
}
h1 {
	background-color:#f0f8ff;
	border-top:1px solid #336699;
	border-bottom:1px solid #336699;
	border-right:1px solid #336699;
	border-left:30px solid #336699;
	font-size: 120%;
	color: #000080;
	margin: 0.2em 0 0.2em 0;	/* マージン*/
	padding: 5px 20px 3px 20px;
}
h2 {
	background-color:#ffffff;
	border-top : 1px solid #336699;
	border-left : 8px solid #336699;
	font-size: 110%;
	color: #336699;
	margin: 15px 0 0.5em 0;	/* マージン*/
	padding: 5px 15px 2px 15px;
}
h3 {
	background-color:#336699;
	border-left : 30px solid #e6e6e6;
	font-size: 100%;
	color: #ffffff;
	margin: 15px 0 3px 0;	/* マージン*/
	padding: 2px 20px 2px 20px;	
}
p {
	margin-bottom: 1em;			/* 下マージン*/
	margin-top: 1em			/* 上マージン */
}

p.def{
	margin-bottom: 1em;	/* この段落だけ空きを入れる大きさも戻る*/
	margin-top: 1em	
}
table.soft {
	border-collapse: collapse;
	margin: 5px 8px 5px 8px;
}
table.soft td,th {
	border: solid 1px #333366;
	padding : 5px 8px 5px 8px;
	vertical-align:top;
}
table.sup {
	border-collapse: collapse;
	margin: 5px 8px 5px 8px;
}
table.sup td,th {
	border: dotted 1px #666666;
	padding : 5px 8px 5px 8px;
	vertical-align:top;
}

img.left {
	float:left;
	margin:0.5em 1em 0.5em 0;
}
.box {
	width:500px;
	border: solid 1px #336699;
}

.news {
	color: #800000;  /*文字茶色*/
}
ul.menus {
	float:right;
	margin-right:5px;
	text-align:left;
	background-color: #ffffff;
}
ul.menus li {
	width:160px;
	border: solid 1px #000080;
	list-style:none;
	margin-bottom: 0em;		/* 下マージン*/
	margin-top: 0.5em;	/* 上マージン */
	padding:2px 2px 2px 10px;
	background-color: #ccffff;
}
.menus li a {
	display:block;			/* 表示形式 */
	width:160px;			/* 表示の横幅 */
	font-weight: bold;
	padding:2px 0px 2px 2px;
}
.menus li a:link {
	color: #000080;
}
.menus li a:visited {
	color: #000080;
}
.menus li a:hover {
	color: #ff3478; text-decoration: underline;
}
.menus li a:active {
	color: #ff3366;
}

#pan {
	font-size:small;
	margin:0;
	padding:2px;
}