
@import url("reset.css");


* {
	margin: 0;
	padding: 0;
}
body {
	text-align: center;
}
body div {
	text-align: left;
	margin: 0 auto;
}

img{border:0}

/*コンテンツ表示エリア*/
#contents{
	margin-left: auto;
	margin-right: auto;
	text-align: left;
	width: 700px;
}

/*ヘッダ*/
#header{
	background: #1E77D3; 
	width:700px;
}

/* navigation menu*/
#navi{
	width: 700px;
	 text-align: center
}

#navi ul{
	list-style:none inside;
}
#navi li{
	display:inline; 
}

#navi a{
	color:#fff;
	text-decoration:none;
	border-right:1px #fff solid;
	font-size: 90%;
	padding:0px 0.3em;
}
#navi .self{
	color:#ffc;
	border-right:1px #FF9966 solid;
	font-size: 90%;
	padding:0px 0.3em;
}


#navi a:hover{
	color:#69f;
	background-color: #fff;
}

/*メインコンテンツ*/

#main{
	margin-top:30px;
	padding:0 20px;
	width:660px;
	background-color: #FFFFFF;
}

#main-contents{
	width:620px;
	padding:0 20px;
	margin-top:20px;
}












#main p{
	/* max-width:500px;  */
}


/*フッタ*/
#footer{
	background: #6699FF;
	width:700px;
	height:20px;
	text-align:center;
	color:#fff;
}

/*---------------------------------------
image box float with caption
---------------------------------------*/
.imgbox-left {
	float:left;
}
.imgbox-left span{
	display:block;
	text-align:center;
	line-height:1.1em;
	font-size:90%;
}
.imgbox-right {
	float:right;
}
.imgbox-right span{
	display:block;
	text-align:center;
	line-height:1.1em;
	font-size:90%;
}

.clear-both {
	clear:both;
}

/*---------------------------------------
min-height 500px 
---------------------------------------*/
.minheight{
	min-height:500px;
	height: auto !important;
	height: 500px;
}


/*---------------------------------------
clearfix

sample
<div id="somebox" class="clearfix">

---------------------------------------*/
.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
}

.clearfix { display: inline-block; }
/* exlude MacIE5 \*/
* html .clearfix { height: 1% }
.clearfix {display:block;}
/* end MacIE5 */


