@charset "utf-8";

body {
	font-family: "メイリオ", "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
	font-size: 80%;
	line-height: 1.8;
	color: #333333;
	margin: 0px;
	padding: 0px;
	text-align: center;
	background: #FFFFFF url(../images/bg.gif) repeat-y center;
}
h1,h2,h3,p,ul,li{
	margin: 0px;
	padding: 0px;
}

h3{
	background: #000000 url(../../images/midashi_topics.gif) repeat-n;
}

p {
	padding-bottom: 10px;
}
ul{
	list-style-type: none;
}
img {
	border:none ;
	vertical-align: beseline;
}


/*HP本体の枠。ここは基本的に変更しないように。
------------------------------------------------------------------*/
#container {
	text-align: left;
	width: 835px;
	margin-right: auto;
	margin-left: auto;
	border: 1px solid #a0a0a0;
	background: #FFFFFF;
}


/*ヘッダー。メイン画像が入っている所。
------------------------------------------------------------------*/
#header {
	background: url(../images/header.gif) no-repeat left top;
	height: 80px;
	position: relative;
}


/*ヘッダー内のh1タグの設定。
------------------------------------------------------------------*/
#header h1 {
	font-size: 12px;
	color: #FFFFFF;
	position: absolute;
	left: 440px;
	top: 5px;
	width: 800px;
	font-weight: normal;
}


/*メインメニューの設定。
------------------------------------------------------------------*/
#menu li {
	display: inline;
	text-align: right;
	margin: 0 15px;
}

/*生徒メニューの設定。
------------------------------------------------------------------*/
#stu_menu li {
	display: inline;
	text-align: left;
	margin: 0 20px 0 0;

}

div#stu_group {
	position: absolute;
	left: 550px;
	top: 40px;
}


/*コンテンツ。文章が入る２列部分の背景をここで設定。
------------------------------------------------------------------*/
#contents {
	background: url(../images/contents_bg.gif) repeat-y left;
	padding-top: 20px;
}


/*メインコンテンツ。（左側）
------------------------------------------------------------------*/
#main {
	float: left;
	width: 570px;
	display: inline;
	margin-right: 5px;
	margin-left: 5px;
}

#main p {
	padding-right: 5px;
	padding-left: 5px;
}

#main h2 {
	border-left: 0px solid #F21B00;	/*左に5pxの直線を入れる設定*/
	font-size: 100%;
	background: url(../images/h2_bg.gif) no-repeat left bottom;	/*背景のグラデーション画像指定箇所*/
	padding-left: 10px;
	line-height: 29px;
	margin-bottom: 0.5em;
	color: #FFFFFF;
}

/*サブコンテンツ。（右側）
------------------------------------------------------------------*/
#sub {
	float: right;
	width: 219px;
	padding-right: 10px;
	padding-left: 10px;
	margin-right: 10px;
	background: #999999;
}

#sub h3 {
	border: 3px double #ffffff;
	background: #f9ad5c;
	font-size: 100%;
	text-align: center;
	margin-bottom: 5px;
	margin-top: 10px;
	color: #FFFFFF;
}

#sub_menu li {
	display: list-item;
	text-align: left;
	margin: 20px;
}

#sub_sites a:hover * {
	filter: alpha(style=0; opacity=85);
	-moz-opacity: 0.85;
	opacity: 0.85;
}

/*TOPICS部分。
------------------------------------------------------------------*/
ul#topics {
	padding: 0px;
}

#topics li {
	border-bottom: 1px dotted #CCCCCC;
	text-indent: 10em;
	padding-left: 1em;
}

div.topics {
	height: 300px;
	margin: 0px 10px 20px 0px;
	padding: 0px;
	border: 1px solid #CCCCCC;
}

.under_line {
	border-bottom:dotted 1px;
}

div.tokucho {
	height: 420px;
	margin: 0px 10px 20px 0px;
	padding: 0px;
	border: 1px solid #CCCCCC;
}

div.column {
	height: 320px;
	margin: 0px 0px 20px 0px;
	padding: 0px;
	border: 1px solid #CCCCCC;
}

/*フッター。コピーライトや著作部分。
------------------------------------------------------------------*/
#footer {
	clear: both;
	width: 835px;
	text-align: center;
	background: #FFFFFF url(../images/footer.gif) no-repeat bottom;
	height: 50px;
	padding-top: 5px;
	color: #FFFFFF;
}
#footer a {
	color: #FFFFFF;
}

/********* ナビゲーション *******************************************/

div#navi h2 {
	display: none;
}
div#navi ul {
	margin: 5px 0;
	text-align: right;
}
div#navi ul li {
	display: inline;
	margin-left: 5px;
}

/*clearfix（※ここは変更しない）
------------------------------------------------------------------*/
#contents:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
#contents { display: inline-block; }

/* Hides from IE-mac \*/
*html #contents { height: 1%; }
#contents { display: block; }
/* End hide from IE-mac */
