*{ margin:0; padding:0;}
html { height: 100%;}
body {
height: 100%;
width: 100%;
display: table;
text-align: center;
}

body { background-color: #F4FFE3; }

div#wrapper{
	display: table-cell;
	vertical-align: middle;
	height: 100%;
	width: 100%;
	text-align: center;
}
div#contents{
	background: #E8E8F9;
	width: 795px;
	margin: auto;
}
h1{
	border-top:solid 1px #ffffff;
	font-size:1em;
	text-align:center;
	color:#000000;
	padding-top:5px;
	margin-top:8px;
}
a img{
	border-top:solid 1px #ffffff;
	margin-top:6px;
	border: none;
}
p.menu{
	font-size:1em;
	background-color:#339933;
	border-top:solid 1px #D0E89F;
	border-bottom:solid 1px #81AE2D;
	height:32px;
	margin-bottom:5px;
	margin-top:0;
}
p.menu a{
	color:#ffffff;
	border-right:solid 1px #ffffff;
	
	text-decoration:none;
	display:block;
	width:158px;
	float:left;
	line-height:2em;
	font-weight:bold;
}
p.menu2{
	font-size:1em;
	background-color:#FFFFFF;
	border-top:solid 1px #FFFFFF;
	border-bottom:solid 1px #FFFFFF;
	height:4em;
	margin-bottom:8px;
	margin-top:0;
}
address{
	font-size:small;
	font-style: normal; 
	padding-bottom:5px;
	text-decoration:none;
	border-bottom:solid 1px #cccccc;
}

/* IE6用 中央ぞろえ*/
*html div#contents {
position:absolute;
height: expression( document.getElementById("contents").offsetHeight+"px");
top: 50%;
left: 50%;
margin-top: expression( "-"+document.getElementById("contents").offsetHeight/2+"px");
margin-left: -400px;

}
/* IE7用  中央ぞろえ*/
*:first-child+html div#contents {
position:absolute;
height: expression( this.clientHeight+"px");
top: 50%;
left: 50%;
margin-top: expression( "-"+this.clientHeight/2+"px");
margin-left: -400px;
}
