/* General Styles */
*{
margin:0;
padding:0;
border:0px none #FFFFFF;
}
* html ul ul li{
margin-bottom:-1px;
}
* html ul ul li a,* html ul li a{
height:100%;
}
a{
	color:#FF0000;
	text-decoration:underline;
}
body{
	padding:0px;
	color:#555555;
	font-family: verdana,"ＭＳ Ｐゴシック",sans-serif,"ヒラギノ角ゴ Pro W6";
	line-height:140%;
	background-image: url(../img/in/bg.jpg);
	background-repeat: repeat;
	background-position: center top;
	margin: 0px;
	overflow: auto;
}

code{
	display:block;
}
table.main   {
	background-image: url(../img/in/bg_head.jpg);
	height: 264px;
	width: 879px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	background-repeat: no-repeat;
	background-position: left top;
}
table.main  td.logo {
	width: 370px;
	height: 180px;
	text-align: left;
	vertical-align: top;
}
table.main td.logo img {
	margin-top: 40px;
	margin-left: 40px;
}

table.main td.bosyu {
	text-align: left;
	vertical-align: top;
	width: 509px;
}
table.main td.bosyu img {
	margin-top: 75px;
}
table.contents   td.contents_title {
	height: 84px;
	text-align: left;
	vertical-align: top;
	width: 700px;
	margin: 0px;
}
table.contents   td.contents_title   img {
	margin-top: 3px;
	margin-left: 40px;
}
table.contents td.contents_area {
	background-image: url(../img/in/bg_pattern.jpg);
	background-repeat: repeat-y;
	background-position: -134px top;
	background-color: #F0F1E9;
	text-align: left;
	vertical-align: top;
	width: 700px;
	height: 100%;
	margin: 0px;
	padding: 0px;
}
table.contents  td.contents_area  div.genre_kokugo {
	background-image: url(../img/in/line2.gif);
	background-repeat: no-repeat;
	background-position: left 10px;
	font-size: 16px;
	color: #555555;
	padding-bottom: 8px;
	margin-right: 40px;
	margin-left: 40px;
	padding-right: 10px;
	padding-left: 10px;
	font-weight: bold;
	margin-top: 10px;
}
table.contents   td.contents_area   div.genre_sansu {
	background-image: url(../img/in/line3.gif);
	background-repeat: no-repeat;
	background-position: left 10px;
	font-size: 16px;
	color: #555555;
	padding-bottom: 8px;
	margin-right: 40px;
	margin-left: 40px;
	padding-right: 10px;
	padding-left: 10px;
	font-weight: bold;
	margin-top: 10px;
	margin-bottom: 260px;
}
table.contents    td.contents_area    div.genre_rika {
	background-image: url(../img/in/line4.gif);
	background-repeat: no-repeat;
	background-position: left 10px;
	font-size: 16px;
	color: #555555;
	padding-bottom: 8px;
	margin-right: 40px;
	margin-left: 40px;
	padding-right: 10px;
	padding-left: 10px;
	font-weight: bold;
	margin-top: 10px;
	margin-bottom: 260px;
}
table.contents     td.contents_area     div.genre_syakai {
	background-image: url(../img/in/line5.gif);
	background-repeat: no-repeat;
	background-position: left 10px;
	font-size: 16px;
	color: #555555;
	padding-bottom: 8px;
	margin-right: 40px;
	margin-left: 40px;
	padding-right: 10px;
	padding-left: 10px;
	font-weight: bold;
	margin-top: 10px;
}
table.contents       td.contents_area       div.genre_zukou {
	background-image: url(../img/in/line6.gif);
	background-repeat: no-repeat;
	background-position: left 10px;
	font-size: 16px;
	color: #555555;
	padding-bottom: 8px;
	margin-right: 40px;
	margin-left: 40px;
	padding-right: 10px;
	padding-left: 10px;
	font-weight: bold;
	margin-top: 10px;
}
table.contents        td.contents_area        div.genre_kateika {
	background-image: url(../img/in/line7.gif);
	background-repeat: no-repeat;
	background-position: left 10px;
	font-size: 16px;
	color: #555555;
	padding-bottom: 8px;
	margin-right: 40px;
	margin-left: 40px;
	padding-right: 10px;
	padding-left: 10px;
	font-weight: bold;
	margin-top: 10px;
	margin-bottom: 260px;
}
table.contents       td.contents_area       div.genre_homeroom {
	background-image: url(../img/in/line8.gif);
	background-repeat: no-repeat;
	background-position: left 10px;
	font-size: 16px;
	color: #555555;
	padding-bottom: 8px;
	margin-right: 40px;
	margin-left: 40px;
	padding-right: 10px;
	padding-left: 10px;
	font-weight: bold;
	margin-top: 10px;
}
div.genre_list {
	color: #000000;
	float: right;
	width: 160px;
	margin-right: 40px;
	margin-top: 15px;
}
*html div.genre_list {
	color: #000000;
	float: right;
	width: 160px;
	margin-right: 20px;
	margin-top: 15px;
}

div.genre_list li {
	background-image: url(../img/in/icon.gif);
	background-repeat: no-repeat;
	background-position: 0px 6px;
	list-style-type: none;
	padding-left: 20px;
	font-size: 12px;
	color: #000000;
	list-style-position: outside;
}
div.genre_list  li a {
	list-style-type: none;
	font-size: 10px;
	color: #000000;
}
div.contents_main {
	float: left;
	width: 440px;
	margin-left: 40px;
	margin-top: 15px;
	margin-bottom: 20px;
}
*html div.contents_main {
	float: left;
	width: 440px;
	margin-left: 20px;
	margin-top: 15px;
	margin-bottom: 20px;
}
div.contents_main  div.header {
	background-image: url(../img/in/frame_head.gif);
	background-repeat: no-repeat;
	background-position: left top;
	text-align: left;
	vertical-align: top;
	height: 45px;
}
div.contents_main  div.header_q {
	background-image: url(../img/in/frame_q.gif);
	background-repeat: no-repeat;
	background-position: left top;
	text-align: left;
	vertical-align: top;
	height: 45px;
}
div.contents_main   div.title {
	text-align: left;
	vertical-align: top;
	font-size: 14px;
	font-weight: bold;
	color: #FF0000;
	padding-top: 20px;
	padding-left: 50px;
	line-height: normal;
}
div.contents_main   div.main_txt {
	background-image: url(../img/in/frame_pattern.gif);
	background-repeat: repeat-y;
	background-position: left -5px;
	padding-top: 5px;
	padding-right: 25px;
	padding-left: 20px;
	font-size: 12px;
	line-height: 180%;
}

div.contents_main   hr.qaline {
	background-image: url(../img/in/hr_line.gif);
	background-repeat: repeat-x;
	background-position: left -5px;
	height:15px;
	margin-right:5px;
	margin-top:5px;
	margin-bottom:5px;
}

div.teacher   {
	text-align: right;
	vertical-align: top;
	margin-top: 10px;
	margin-right: 10px;
}

div.contents_main div.bottom {
	background-image: url(../img/in/frame_foot.gif);
	text-align: left;
	vertical-align: top;
	height: 42px;
	margin-top: 0px;
	background-repeat: no-repeat;
	background-position: left top;
}

/* 投稿者 */

table.contents td.contents_area .q_txt {
	background-image: url(../img/in/frame_pattern.gif);
	background-repeat: repeat-y;
	background-position: left -5px;
	padding: 5px 35px 3px 20px;
	font-size: 12px;
}
	
table.contents td.contents_area .studentname {
	background-image: url(../img/in/frame_pattern.gif);
	background-repeat: repeat-y;
	background-position: left -5px;
	padding: 0 35px 8px 40px;
	text-align: right;
	font-size: 12px;
}




div.footer {
	background-image: url(../img/in/bg_foot.jpg);
	height: 140px;
	width: 879px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
}
table.contents td.menu {
	text-align: left;
	vertical-align: top;
	width: 134px;
}







/* Styles for AccordionMenu */

#accordionMenu{
	padding:0;
	width:134px;
	list-style-type:none;
	line-height:120%;
	font-size: 10px;
	margin-top: 20px;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;
}
#accordionMenu a{
display:block;
font-weight:bold;
text-decoration:none;
}
#accordionMenu a.hover{

}
#accordionMenu ul{
	overflow: hidden;
	margin: 0;
	padding: 0;
}
#accordionMenu li{
	margin:0;
	padding:0;
	list-style-type:none;
	color:#FFFFFF;
}
#accordionMenu  li.menu1  {
	padding: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}
#accordionMenu li.menu1 a {
	margin: 0px;
	padding: 0px;
}
#accordionMenu   li.menu2  {
	padding:2px 0px 2px 10px;
	color:#555555;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}
#accordionMenu  li.menu2 a {
	padding:2px 0px 5px 10px;
	color:#555555;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}
#accordionMenu   li.menu2  a:hover {
	padding:2px 0px 5px 15px;
	color:#555555;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}
