@charset "utf-8";


/*==-----------------------------------------------
CSS Information

 File name:      layout.css
 Author:         Crea.,Inc. 
 Style Info:     レイアウト関連のスタイル

-------------------------------------------------*/



/*==-----------------------------------------------
body
-------------------------------------------------*/
html, body {height: 100%;}


	  /* must be same height as the footer */


/*Opera Fix*/
body:before {/* thanks to Maleika (Kohoutec)*/
content:"";
height:100%;
float:left;
width:0;
margin-top:-32767px;/* thank you Erik J - negate effect of float*/
}



/*==-----------------------------------------------
container
-------------------------------------------------*/
#container{
	min-height: 100%;
	width:100%;
	text-align: center;
}

* html #container {display:table;}



/*==-----------------------------------------------
header
-------------------------------------------------*/
#header{
	width:100%;
	text-align: center;
	margin-bottom: 5px;
	padding-top:15px;
}



/*==-----------------------------------------------
navigation
-------------------------------------------------*/
#nav{
	width:100%;
	clear:both;
	height: 60px;
	margin:0 auto 10px auto;
}
#nav ul{
	width:960px;
	margin:0 auto;
}


/*==-----------------------------------------------
contents
-------------------------------------------------*/
#contents {
	width:960px;
	padding-bottom: 100px;
	margin: 0 auto;
	
}

#contents #inner{
	width:960px;
	height:100%;/*適切に調整*/
	margin-bottom: 100px;
}

/*==-----------------------------------------------
main
-------------------------------------------------*/
#main{
	width:960px;
	float:left;
	padding: 0 0 10px 0;
}


#main .section{
	margin-bottom:20px;
}

#main .aside{
	margin-bottom:20px;
}



/*==-----------------------------------------------
sidebar
-------------------------------------------------*/
#sidebar.aside{
	width:240px;
	float:right;

}


/*==banner*/

#sidebar.aside #banner{
	margin: 0 0 10px 0;
}



/*==-----------------------------------------------
footer
-------------------------------------------------*/
#footer{
	position: relative;
	height: 180px;
	width:100%;
	margin-top: -180px; /* negative value of footer height */
	clear:both;
}


#footer .section{
	width:960px;
	height: 180px;
	overflow:hidden;
	margin: 0 auto;
}






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


.clearfix {clear:both; }

.clearfix:after,
#container:after,
#nav:after,
#header:after,
#inner:after,
.article:after,
.section:after,
.aside:after{
     content: ".";
     display: block;
     height: 0;
     clear: both;
     visibility: hidden;
     font-size:0.1em;
}

.clearfix,
#container,
#nav,
#header,
#inner,
.article,
.section,
.aside{
display: inline-block;
}

.clearfix,
#container,
#nav,
#header,
#inner,
.article,
.section,
.aside{
display: block;
}


/* Hides from IE-mac \*/
* html .clearfix { height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */
