body {
	margin: auto;
	background-color: #FFFAE3;
	
}

#all {
	margin: auto;
	width: 800px;
	height: auto;
	/*height: 7900px;*/
	background-image: url(../images/top_bgimg.jpg);
	background-repeat: repeat;
}

#top_img {
	margin: 20px 0px 0px 30px;
}

#menu {
	width: 800px;
	height: 40px;
	background-image: url(../images/y_bgimg.jpg);
	margin-top: 20px;
}
#menu ul {
	list-style: none;
	margin:0 auto;
	width:600px;
}
ul {
	/*list-style: none;
	width: 510x;
	margin-left: 90px;*/
}
#top {
	width: 40px;
	height: 20px;
	background-image: url(../images/top_p.jpg);
	background-repeat: no-repeat;
	float: left;
	margin: 10px 0px 0px 0;
}

#top a {
	display: block;
	width: 40px;
	height: 20px;
	background-image: url(../images/top.jpg);
	background-repeat: no-repeat;
}
	
#event {
	width: 60px;
	height: 20px;
	background-image: url(../images/event_p.jpg);
	background-repeat: no-repeat;
	float: left;
	margin: 10px 0px 0px 50px;
}

#event a {
	display: block;
	width: 60px;
	height: 20px;
	background-image: url(../images/event.jpg);
	background-repeat: no-repeat;
}


#contest {
	width: 72px;
	background-image: url(../images/contest_p.jpg);
	background-repeat: no-repeat;
	float: left;
	margin: 10px 0px 0px 50px;
}

#contest a {
	display: block;
	width: 72px;
	height: 20px;
	background-image: url(../images/contest.jpg);
	background-repeat: no-repeat;
}

#blog {
	width: 45px;
	background-image: url(../images/blog_p.jpg);
	background-repeat: no-repeat;
	float: left;
	margin: 10px 0px 0px 50px;
}

#blog a {
	display: block;
	width: 45px;
	height: 20px;
	background-image: url(../images/blog.jpg);
	background-repeat: no-repeat;
}

#staff {
	width: 40px;
	background-image: url(../images/staff_p.jpg);
	background-repeat: no-repeat;
	float: left;
	margin: 10px 0px 0px 50px;
}

#staff a {
	display: block;
	width: 40px;
	height: 20px;
	background-image: url(../images/staff.jpg);
	background-repeat: no-repeat;
}
#access {
	width: 64px;
	background-image: url(../images/access_p.gif);
	background-repeat: no-repeat;
	float: left;
	margin: 10px 0px 0px 50px;
}

#access a {
	display: block;
	width: 64px;
	height: 20px;
	background-image: url(../images/access.gif);
	background-repeat: no-repeat;
}

#menu a:hover {
	background-image: none;
} 

#main {
	width: 700px;
	height: auto;
	/*height: 7750px;*/
	height: 7500px;
	_height: 7000px;
	float: left;
	margin: 20px 50px 0px 50px;
	display:inline;
}
/* Then overwrite for Firefox 3 specifically */  
#main, x:-moz-any-link, x:default {  
	height: 7050px;
}


#iframe {
	width: 700px;
	height: 7500px;
	_height: 7200px;
}
/* Then overwrite for Firefox 3 specifically */  
#iframe, x:-moz-any-link, x:default {  
	height: 7050px;
}



#footer {
	width: 800px;
	height: 40px;
	background-color: #333333;
	float:  left;
	margin-top:25px;
}

#footer p {
	color:#ffffff;
	font-size:11px;
	font-family:"ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
	margin-top: 15px;
	text-align: center;
	
}


/*
===== 1: CLEARFIX ==========================================
*/
.clearfix {
    zoom:1;/*for IE 5.5-7*/
}
.clearfix:after {             /*for modern browser*/
    content:".";
    display: block;
    height:0px;
    clear:both;
    visibility:hidden;
}
* html .clearfix {
	display:inline-table;
	/*\*/display:block;/**/
}
