@charset "Shift_JIS";

/*全体のフォントサイズなど
----------------------------------------------------------------------------------------------------*/

body {
        font-size: 80%;
        text-align: center;
        font-family: "MS UI Gothic",sans-serif;
        padding: 0px;
        margin: 0px;
}

h1,h2,h3,p,ul,li {
        padding: 0px;
        margin: 0px;
}

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

/* リンク指定
----------------------------------------------------------------------------------------------------*/
/*a:link {
        color: #0000ff;
        text-decoration: underline;
}
*/
a:visited {
        color: #0000ff;
        text-decoration: underline;
}

a:hover {
        color: #ff0000;
        text-decoration: underline;
}

/*コンテナー
----------------------------------------------------------------------------------------------------*/

#container {
        width: 804px;
        margin-right: auto;
        margin-left: auto;
        text-align: left;
        border: 1px solid silver;
}

/*ヘッダー部分
----------------------------------------------------------------------------------------------------*/

h1 { /*-- サイトタイトル --*/
        padding: 0 0 0 0;
}

#header{
        /*height: 150px;*/
        /*border-bottom: 1px solid silver;*/
        float: right;
}

#header p{ /*-- その他ヘッダー内の文字 --*/
        padding-left: 20px;
}

/*コンテンツ
----------------------------------------------------------------------------------------------------*/

#contents {
        clear: left;
        margin-right: auto;
        margin-left: auto;
        padding-top: 10px;
        width: 800px;

        /*border-right: 1px solid silver;*/
        /*border-top: 1px solid silver;*/
}

#contents h2{
        font-size: 120%;
        margin-left: 10px;
        margin-bottom: 1.5em;
        padding: 5px 0px 5px 5px;
        border-left: 10px solid #000000;
}

#contents p { /*-- 文字 ---*/
        line-height: 1.5;
        margin-bottom: 1em;
}

/*メインコンテンツ
----------------------------------------------------------------------------------------------------*/

#main {
        float: right;
        width: 620px;
        padding-top: 10px;
        padding-bottom: 10px;
}

/*-- 見出し --*/
#main h1 {
	font-size: 100%;
	background: url(img/s18-1.gif) no-repeat;
	line-height: 30px;
	height: 30px;
	overflow: hidden;
	padding-left: 10px;
	padding-right: 50px;
}

#main h2{
        font-size: 120%;
        margin-left: 10px;
        margin-bottom: 1.5em;
        padding: 5px 0px 5px 5px;
        border-left: 10px solid #000000;
}

h3 { /*-- 見出し2 --*/
        margin-top: 2em;
}

/*#main p {
	padding: 0.5em 10px 1em;
}*/

/*シングル・メインコンテンツ
----------------------------------------------------------------------------------------------------*/

#s-main {
        padding-top: 10px;
        padding-bottom: 10px;
        margin-right: 10px;
        margin-left: 10px;
}

/*-- 見出し --*/
#s-main h2{
        font-size: 120%;
        margin-left: 10px;
        margin-bottom: 1.5em;
        padding: 5px 0px 5px 5px;
        border-left: 10px solid #000000;
}

h3 { /*-- 見出し3 --*/
        margin-top: 2em;
}

/*#main p {
	padding: 0.5em 10px 1em;
}*/
/*サイドコンテンツ
----------------------------------------------------------------------------------------------------*/

#sidebar {
        width: 170px;
        float: left;
        padding-top: 10px;
        padding-bottom: 10px;
        border-right: 1px solid silver;
}

#sidebar h1 {
	font-size: 100%;
	background: url(img/s16-1.gif) no-repeat;
	line-height: 30px;
	height: 30px;
	overflow: hidden;
	padding-left: 10px;
	padding-right: 10px;
        margin-left: 8px;
}
#sidebar p { /*-- 文字 ---*/
        line-height: 1;
        margin-bottom: 1em;
}

/*-- 動くメニューのテーブル ---*/
.tc{
 font-size:12px;
 border-style:solid;
 color:#7799ff;
 border-color:#7799ff;
 border-width:1px;
 text-align:center;
 padding:2px;
}

/*メニュー
----------------------------------------------------------------------------------------------------*/

ul.menu a {
	color: #666666;	/*文字色*/
	text-decoration: none;
	text-align: center;	/*テキストを中央よせにする設定。左よせがいいなら１行削除する。*/
	border-bottom: 1px solid #aeaeae;	/*各メニュー下に1pxの直線を引く設定*/
	display: block;
	width: 170px;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
        font-weight: bold;
}
ul.menu a:link {
        color: #666666;
	text-decoration: none;
}
ul.menu a:visited {
        color: #666666;
	text-decoration: none;
}
ul.menu a:hover {
	background: #99ffff;/*#f7f7f7;	/*カーソルオーバー時の背景色*/
	color: #000000;			/*カーソルオーバー時の文字色*/
	text-decoration: none;
}

/*フッター部分
----------------------------------------------------------------------------------------------------*/

#footer {
        clear: both;
        width: 100%;
        /*border-top: 1px solid silver;*/
        color: #666666;	/*文字色*/
}

#footer p { /*-- コピーライト --*/
        text-align: center;
        /*background-color: #0099ff;*/
}
