@charset "shift_jis";



body{
	font-family: "メイリオ", "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
	font-size: 75%;
	line-height: 2;
	color : black;
	margin: 0px;
	padding: 0px;
	text-align: center;
	background : url(bg.gif) 0% 0% / auto auto repeat scroll padding-box border-box #efefef;	/*背景色と壁紙設定*/
}
h1,h2,h3,p,ul,li,dl,dt,dd{
	margin: 0px;
	padding: 0px;
}
ul{
	list-style-type: none;
}
img{
	border: none;
}
a{
	color: #333333;	/*全般のリンク色*/
}
a:hover{
	color: #999999;	/*全般のカーソルオーバー時のリンク色*/
}
.color1{
	border-bottom: 1px dashed #000000;
}



/*コンテナー（HP全体を包む枠）
---------------------------------------------------------------------------*/

/*bodyでカラー指定しない場合のコンテンツ背景画像指定*/
#container{
	background-color: transparent;
	background-image : url(container_no.GIF);
	background-repeat: repeat-y;
	background-attachment: scroll;
	background-position: 0% 0%;
	text-align: left;
	width: 900px;
	margin-right: auto;
	margin-left: auto;
	padding-right: 5px;
	padding-left: 5px;
}

/*bodyでpinkを指定した場合のコンテンツ背景画像指定*/
#pink #container{
	background : url(container_bg_pink.gif) 0% 0% / auto auto repeat-y scroll padding-box border-box transparent;
}

/*bodyでblueを指定した場合のコンテンツ背景画像指定*/
#blue #container{
	background : url(container_bg_blue.gif) 0% 0% / auto auto repeat-y scroll padding-box border-box transparent;
}

/*bodyでgreenを指定した場合のコンテンツ背景画像指定*/
#green #container{
	background : url(container_bg_green.gif) 0% 0% / auto auto repeat-y scroll padding-box border-box transparent;
}

/*bodyでorangeを指定した場合のコンテンツ背景画像指定*/
#orange #container{
	background : url(container_bg_orange.gif) 0% 0% / auto auto repeat-y scroll padding-box border-box transparent;
}

/*bodyでpurpleを指定した場合のコンテンツ背景画像指定*/
#purple #container{
	background : url(container_bg_purple.gif) 0% 0% / auto auto repeat-y scroll padding-box border-box transparent;
}

/*bodyでredを指定した場合のコンテンツ背景画像指定*/
#red #container{
	background : url(container_bg_red.gif) 0% 0% / auto auto repeat-y scroll padding-box border-box transparent;
}



/*ヘッダー（メイン画像が入っているブロック）
---------------------------------------------------------------------------*/
#header{
	height: 200px;
	background : url(../each_grade_folder/main_img.jpg) 0% 0% / auto auto no-repeat scroll padding-box border-box transparent;	/*ヘッダー背景画像の指定箇所*/
}

/*ヘッダー内のh1タグ指定
---------------------------------------------------------------------------*/
#header h1{
	font-family: "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
	font-size: 10px;	/*文字サイズ*/
	color: #FFFFFF;		/*文字色*/
	height: 40px;
	line-height: 40px;
	overflow: hidden;
	padding-top: 7px;
	padding-left: 10px;
	font-weight: normal;
}



/*メインメニュー
---------------------------------------------------------------------------*/
ul#menu li{
	float: left;
}



/*コンテンツ
---------------------------------------------------------------------------*/
#contents{
	clear: left;
	width: 100%;
}



/*メインコンテンツ（左側ブロック）
---------------------------------------------------------------------------*/
#main{
	float: left;
	width: 576px;
	display: inline;
	margin-left: 9px;
	z-index:0
;
}

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

/*bodyでカラー指定しない場合のh2見出し背景画像指定*/
#main h2{
	background : url(h2_bg.gif) 0% 0% / auto auto no-repeat scroll padding-box border-box transparent;
	color: #000000;
	font-size: 100%;
	padding-right: 20px;
	padding-left: 5px;
	line-height: 40px;
	height: 40px;
	overflow: hidden;
}

/*bodyでpinkを指定した場合のh2見出し背景画像指定*/
#pink #main h2{
	background : url(h2_bg_pink.gif) 0% 0% / auto auto no-repeat scroll padding-box border-box transparent;
	color: #FF5F94;
}

/*bodyでpinkを指定した場合のh2見出し背景画像指定*/
#blue #main h2{
	background : url(h2_bg_blue.gif) 0% 0% / auto auto no-repeat scroll padding-box border-box transparent;
	color: #40baff;
}

/*bodyでgreenを指定した場合のh2見出し背景画像指定*/
#green #main h2{
	background : url(h2_bg_green.gif) 0% 0% / auto auto no-repeat scroll padding-box border-box transparent;
	color: #7ACE4D;
}

/*bodyでorangeを指定した場合のh2見出し背景画像指定*/
#orange #main h2{
	background : url(h2_bg_orange.gif) 0% 0% / auto auto no-repeat scroll padding-box border-box transparent;
	color: #ffa200;
}

/*bodyでpurpleを指定した場合のh2見出し背景画像指定*/
#purple #main h2{
	background : url(h2_bg_purple.gif) 0% 0% / auto auto no-repeat scroll padding-box border-box transparent;
	color: #b635ff;
}

/*bodyでredを指定した場合のh2見出し背景画像指定*/
#red #main h2{
	background : url(h2_bg_red.gif) 0% 0% / auto auto no-repeat scroll padding-box border-box transparent;
	color: #FF2020;
}



/*サイドコンテンツ（右側ブロック）
---------------------------------------------------------------------------*/
#side{
	float: right;
	width: 276px;
	display: inline;
	margin-right: 10px;
	padding-top: 10px;
	color: #FFFFFF;		/*サイドコンテンツの文字色*/
}

#side p{
	padding-top: 0.5em;
	padding-bottom: 1em;
}

#side a{
	color: #FFFFFF;	/*サイドコンテンツのリンク色*/
}

#side a:hover{
	color: #000000;	/*サイドコンテンツのカーソルオーバー時のリンク色*/
}

/*bodyでカラー指定しない場合のh3見出し背景画像指定*/
#side h3{
	font-size: 100%;
	text-align: center;
	background: #FFFFFF;
	color: #000000;
	border: 3px double #A0A0A0;
}

/*bodyでpinkを指定した場合のh2見出し背景画像指定*/
#pink #side h3{
	font-size: 100%;
	text-align: center;
	background: #FFFFFF;
	color: #ff5f94;
	border: 3px double #ff5f94;
}

/*bodyでblueを指定した場合のh2見出し背景画像指定*/
#blue #side h3{
	font-size: 100%;
	text-align: center;
	background: #FFFFFF;
	color: #40baff;
	border: 3px double #40baff;
}

/*bodyでgreenを指定した場合のh2見出し背景画像指定*/
#green #side h3{
	font-size: 100%;
	text-align: center;
	background: #FFFFFF;
	color: #7ace4d;
	border: 3px double #7ace4d;
}

/*bodyでorangeを指定した場合のh2見出し背景画像指定*/
#orange #side h3{
	font-size: 100%;
	text-align: center;
	background: #FFFFFF;
	color: #ffa200;
	border: 3px double #ffa200;
}

/*bodyでpurpleを指定した場合のh2見出し背景画像指定*/
#purple #side h3{
	font-size: 100%;
	text-align: center;
	background: #FFFFFF;
	color: #b635ff;
	border: 3px double #c55fff;
}

/*bodyでredを指定した場合のh2見出し背景画像指定*/
#red #side h3{
	font-size: 100%;
	text-align: center;
	background: #FFFFFF;
	color: #ff2020;
	border: 3px double #ff2020;
}



/*フッター（最下部のコピーライト部分）
---------------------------------------------------------------------------*/
#footer{
	clear: both;
	/*width: 100%;*/
	width: 99.2%;
	color: #FFFFFF;			/*文字色*/
	background: #000000;	/*背景色*/
	text-align: center;		/*文字をcenter（中央よせ）する設定*/
	line-height: 1.4;
	padding-top: 10px;
	padding-bottom: 10px;
}
#footer a{
	color: #FFFFFF;
}



/*メインコンテンツ内の「What's New」部分
---------------------------------------------------------------------------*/
#main dl.new{
	height: 100px;		/*What's Newボックスの高さ*/
	overflow: auto;		/*この設定でiframe風に見える*/
	margin-right: auto;
	margin-left: auto;
	padding: 10px;
	border-right: 1px solid #999999;	/*What's Newのフチの右ライン*/
	border-bottom: 1px solid #999999;	/*What's Newのフチの下ライン*/
	border-left: 1px solid #999999;		/*What's Newのフチの左ライン*/
	background: #f5f5f5;	/*What's Newボックスの背景色*/
}

#main dt{
	font-weight: bold;	/*日付を太字に。通常の太さがいいなら、この1行を丸ごと削除。*/
	color: #000000;		/*日付の文字色を黒（#000000）に*/
}

#main dd{
	border-bottom: 1px solid #999999;	/*説明文の下に1pxの直線(solid)を#999999の色で入れる。*/
}


/* マウスオーバー */
a.thumbnail{
	display: block; 
	float: left; 
	margin:0px; 
}
a.thumbnail img{
	position: absolute; 
	z-index: 0
;
}

a.thumbnail,
a:visited.thumbnail{
	width:150px;
	height:113px;
}
a.thumbnail img{
	width: 150px; 
	height: 113px;
}
a:hover.thumbnail{
	border:none;
	cursor: default;
}
a:hover.thumbnail img{
	position: absolute;
	width: auto;
	height: auto;
	z-index: 1000
;
}

