@charset "UTF-8";




body {
	font-family: "メイリオ", "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
	line-height: 2;
	color: #000000;
	margin: 0px;
	padding: 0px;
	text-align: center;
	background-position:center;
	background-image:url(./images/bg.gif);
	background-repeat:repeat-y;
}

h1,h2,h3,p,ul,li,dl,dt,dd{
	margin: 0px;
	padding: 0px;
}
ul{
	list-style-type: none;
}

input,textarea,select {
	font-size: 1em;
}


/*リンクカラー*/
a {
	color: #000000;
}

/*カーソルオーバー時のリンクカラー*/
a:hover {
	color: #abc2cd;
	text-decoration: none;	/*下線を消す設定。残したままがいいならこの１行を削除。*/
}



/*コンテナー
---------------------------------------------------------------------------*/
#container {
	text-align: left;
	width: 950px;
	margin-right: auto;
	margin-left: auto;
	background-color: #FFFFFF;
}



/*ヘッダー
---------------------------------------------------------------------------*/
#header {
	position: relative;
	width: 100%;
	background-repeat: no-repeat;
	background-position: top;
}

#header #logo {
	padding-top: 0px;
}

#header h1 {
	font-size: 10px;	/*h1タグの文字の大きさ*/
	font-weight: normal;
	position: absolute;
	top: 0px;	/*ヘッダーのボックスに対して上から0pxに位置に配置*/
	right: 0px;	/*ヘッダーのボックスに対して右から0pxに位置に配置*/
}



/*メインメニュー
---------------------------------------------------------------------------*/
ul#menu li {
	float: left;
	line-height: 50px;
	height: 50px;
	margin-right: 4px;
	font-size: 12px;
	margin-top:20px;
}

ul#menu a {
	color: #000000;		/*メニューの文字色*/
	text-decoration: none;
	display: block;
	width: 155px;
	text-align: center;
	background-image: url(images/menu_bg.gif);	/*メニューの背景画像*/
	background-repeat: no-repeat;
	background-position: top;	/*メニューの背景画像の上半分を表示させる設定*/
	overflow: hidden;	/*オーバーした文字を非表示にする設定*/
}

ul#menu a:hover {
	background-image: url(images/menu_bg.gif);	/*メニューの背景画像*/
	background-repeat: no-repeat;
	background-position: left bottom;	/*メニューの背景画像の下半分を表示させる設定*/
	color: #0000ff;	/*カーソルオーバー時の文字色*/
	font-weight:700;
}

ul#menu a.on {
	background-image: url(images/menu_bg.gif);	/*メニューの背景画像*/
	background-repeat: no-repeat;
	background-position: left bottom;	/*メニューの背景画像の下半分を表示させる設定*/
	color: #0000ff;	/*カーソルオーバー時の文字色*/
	font-weight:700;
}

ul#menu li.last {
	margin-right: 0;
}



/*３カラム
---------------------------------------------------------------------------*/
#contents {
	clear: left;
	width: 100%;
margin:0px;
padding:0px;
}
#contents img {
margin:0px;
padding:0px;
}




/*左・中央
---------------------------------------------------------------------------*/
#wrap {
	width: 897px;
	float: left;
	padding-bottom: 50px;
	margin-top: 20px;
}



/*両サイド
---------------------------------------------------------------------------*/
#sub,#side {
	background-color: #f7f7f7;	/*両サイドのボックス背景色*/
	width: 178px;
	border: 1px solid #bfbfbf;	/*両サイドのボックスフチのボーダー*/
	padding: 1px;		/*余白を1px*/
	line-height: 1.6;	/*行間。通常より少し狭めている。*/
	color: #666666;		/*文字色*/
}

/*左右ボックスのp(段落タグ)の余白設定*/
#sub p,#side p {
	padding: 0.5em 5px 1em;
}

/*左右ボックスのh3見出し設定*/
#sub h3,#side h3 {
	font-size: 100%;
	background-color: #7ecef4;	/*背景色*/
	text-align: center;	/*文字のセンタリング*/
	font-weight: normal;
	padding-top: 5px;
	padding-bottom: 5px;
	color: #0000FF;	/*文字色*/
	margin-top:30px;
}



/*左ブロック
---------------------------------------------------------------------------*/
#sub {
	float: left;
}



/*右ブロック
---------------------------------------------------------------------------*/
#side {
	float: right;
	margin-top: 20px;
}



/*左右
---------------------------------------------------------------------------*/
.submenu {
	margin-bottom: 1px;
}

.submenu a {
	background-image: url(images/submenu_bg.gif);	/*背景画像*/
	background-repeat: no-repeat;
	background-position: top;	/*メニューの背景画像の上半分を表示させる設定*/
	display: block;
	padding-right: 5px;
	padding-left: 10px;
	color: #000000;		/*文字色*/
	text-decoration: none;
	line-height: 40px;
	height: 40px;
font-size:12px;
}

.submenu a:hover {
	background-image: url(images/submenu_bg.gif);	/*背景画像*/
	background-repeat: no-repeat;
	background-position: bottom;	/*メニューの背景画像の下半分を表示させる設定*/
	color: #0000FF;		/*カーソルオーバー時の文字色*/
}


.submenu a.on {
	background-image: url(images/submenu_bg.gif);	/*背景画像*/
	background-repeat: no-repeat;
	background-position: bottom;	/*メニューの背景画像の下半分を表示させる設定*/
	color: #0000FF;		/*カーソルオーバー時の文字色*/
}




/*中央
---------------------------------------------------------------------------*/
#main {
	float: right;
	width: 703px;
}

#main h2 {
	font-size: 100%;
	background-image: url(images/h2bg.gif);	/*h2背景画像*/
	background-repeat: no-repeat;
	background-position: bottom;
	padding-left: 10px;
	clear: both;
}

#main p {
	padding: 0px;	/*中央ブロックの段落タグの余白*/
}





/*フッター
---------------------------------------------------------------------------*/
#footer {
	clear: both;
	width: 100%;
	text-align: center;
	border-top: 1px solid #bfbfbf;
	padding-top: 1em;
	padding-bottom: 1em;
}





/*aboutページ
---------------------------------------------------------------------------*/
#main .itemlist {
	border: 1px solid #CCCCCC;	/*１個あたりのボックスのボーダー設定*/
	padding: 5px;
	overflow: hidden;
	margin-bottom: 0.5em;
	width: 673px;	/*段落タグ（p）の横幅とサイズを合わせる設定です。この下二つのmarginも。*/
	margin-right: auto;
	margin-left: auto;
}

#main .itemlist h3 {
	color: #000000;
	border-bottom: 1px solid #cccccc;
	border-left: 4px solid #CCCCCC;
	padding: 0px 0px 0px 5px;
	margin-bottom: 0.5em;
	font-size: 100%;
}

#main .itemlist p {
	padding: 0px;
}

#main .itemlist p, #main .itemlist h3 {
	margin-left: 120px;	/*画像の幅に合わせてここは変更する*/
}



/*その他
---------------------------------------------------------------------------*/
.color1 {
	color: #7ecef4;
}
.look {
	background-color: #f5f5f5;
}




#chat
{margin:0px;
padding:0px;
font-size:10px;
background:#cccccc;
}

img{border:none;}

#chat img{margin:0px;padding:0px;}
#chat table{margin:0px;padding:0px;}
#chat tr{margin:0px;padding:0px;}
#chat td{margin:0px;padding:0px;}







/*
テーブル
-------------------------------------------------------------------*/

table {
	margin: 0px;
	padding: 0px;
}
table td {
	margin: 0px;
	padding: 0px;
}
table th {
	margin: 0px;
	padding: 0px;
}
table th {
	margin: 0px;
	padding: 0px;
}

.kao {float:left; margin:10px; }

.qqq{border:double 5px #ff0000;padding:5px;margin:10px;background:#ffeeee;}
.aaa{border:double 5px #ff0000;padding:5px;margin:10px;background:#ffffee;}

.clear {clear:both;}
