@charset "utf-8";
/* CSS Document */

*{
	margin:0;
	padding:0;
}
body{
	background-image:url(mimages/moyou.jpg);
		font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;

}

img{
	border:0;
	border:hidden;
	
}
ul{
	list-style:none;
}

#wrap{
	margin:0 auto;
	text-align:left;
	width:900px;
	background-color:#FFF;
	position:relative;
}

 
#wrap #header {
	width:900px;
	height:253px;
	background-image:url(mimages/john_header.png);
	
}
#header a{
	text-indent:-5000px;
}
#header dt{
	background:url(mimages/moji.gif);
	width:88px;
	height:30px;
	text-indent:-5000px;
	overflow:hidden;
	position:absolute;
	top:60px;
	left:600px;
}
#header dd{
	float:left;
	width:30px;
	height:30px;
	margin-top:-1.2em;
}

#header dd#large a{
	background:url(mimages/large.gif);
	width:30px;
	height:30px;
	position:absolute;
	top:60px;
	left:750px;
}

#header dd#middle a{
	background:url(mimages/middle.gif);
	width:29px;
	height:30px;
	position:absolute;
	top:60px;
	left:721px;

}
#header dd#small a{
	background:url(mimages/small.gif);
	width:30px;
	height:30px;
	position:absolute;
	top:60px;
	left:691px;

}

	
#wrap #header ul#navi1 {
	width: 614px;
	height: 30px;
	position: absolute;
	top:102px;
	margin-left:172px;
	z-index:20;
}

#header ul#navi1 li {
	float: left;
	height:30px;
}

#header ul#navi1 li a {
	display: block;
	background:url(mimages/pagenavi.jpg) no-repeat;
	height:30px;
	text-indent:-5000px;
	overflow:hidden;
	z-index:10;
}
#header ul#navi1 li a#books {
	width: 161px;
	background-position: 0 0 ;
}
#header ul#navi1 li a#books:hover {
	background-position: 0 -30px;
} 

#header ul#navi1 li a#information {
	width: 133px;
	background-position: -161px 0;
}
#header ul#navi1 li a#information:hover {
	background-position: -161px -30px;
}

#header ul#navi1 li a#record {
	width: 179px;
	background-position: -294px 0;
}
#header ul#navi1 li a#record:hover {
	background-position: -294px -30px;
}

#header ul#navi1 li a#author {
	width: 141px;
	background-position: -473px -30px;
}
#header ul#navi1 li a#author:hover {
	background-position: -473px -30px;
}

/*ナビバー*/
	
#header ul#navi2{
	width: 300px;
	height: 20px;
	position: absolute;
	top:140px;
	margin-left:450px;
}

ul#navi2 li {
	float: left;
	height:20px;
}

ul#navi2 li a {
	display: block;
	background:url(mimages/mininavi.jpg) no-repeat;
	height:20px;
	text-indent:-5000px;
	overflow:hidden;
	z-index:10;
}
ul#navi2 li a#home {
	width: 97px;
	background-position: 0 0;
}
ul#navi2 li a#home:hover {
	background-position: 0 -20px;
} 

ul#navi2 li a#form {
	width: 108px;
	background-position: -97px 0;
}
ul#navi2 li a#form:hover {
	background-position: -97px -20px;
} 

ul#navi2 li a#sitemap {
	width: 95px;
	background-position: -205px  0;
}
ul#navi2 li a#sitemap:hover {
	background-position: -205px -20px;
}

#header h1, h2{
	text-indent:-5000px;
}
#header p{
	width:125px;
	height:77px;
	background-image:url(mimages/mondai3.gif);
	position:absolute;
	top:140px;
	left:37px;
	z-index:10;
}


/*サイドコンテンツ*/


#content {
	width:900px;
	position:relative;
	overflow:hidden;
	background:#FFF;
}

#content #side{
	width:172px;
	height:560px;
	background:url(mimages/side.jpg) no-repeat;
	float:left;
}

#side h3{
	margin-top:20px;
	font-size: 20px;
	line-height: 56px;
	height:56px;
	text-align:center;
	overflow:hidden;
	margin-left:20px;
}
#side h3.list{
	font-size:13px;
}
#side p{
	padding-top: 0.5em;
	padding-bottom: 1em;
}
ul.sidemenu a{
	color:#666;
	text-decoration:none;
	text-align:center;
	border-bottom: 1px solid #aeaeae;
	display:block;
	width:152px;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	margin: 0 20px;
	font-size:13px;
}
ul.sidemenu a:hover{
	background: #f7f7f7;
	color: #000000;
}
	

/*メインコンテンツ*/
#main{
	width:728px;
	margin-left:172px;
	background:url(mimages/main.gif) repeat-y;
	position:absolute;
	top:0;
	left:0;
}


#main p{
	width:568px;
	height:500px;
	text-indent:1em;
	padding: 30px 30px 0 70px;
	text-align:left;
	line-height:1.5;
	overflow:auto;
	color:#666;
	font-size:85%;
}

#side,#main {
	padding-bottom: 32767px;
	margin-bottom: -32767px;
}

 #footer{
	 clear:both;
	width:100%;
	height:237px;
	background:url(mimages/afooter.jpg) no-repeat;
}
	

	






























	