@charset "UTF-8";
/*  
Sticky Footer Solution
by Steve Hatcher 
http://stever.ca
http://www.cssstickyfooter.com
*/

* {
	margin:0;
	padding:0;
}
html, body, #wrap {
	height: 100%;
}
body {
	background-color: #fff;
	text-align: center;
	background-image:url(images/bg_body.gif);
	background-repeat: repeat-x;
	background-position: left top;
	background-attachment: fixed;
}
body, th, td, caption, p {
	font-size: 14px;
	line-height: 150%;
	font-family:/*"メイリオ", Meiryo, Osaka, */"ＭＳ Ｐゴシック", "MS PGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", sans-serif;
	color:#400000;
}
body > #wrap {
	height: auto; /* body直下のwrapにautoを指定 */
	min-height: 100%;
}
#wrap {
	margin:0 auto; /* bodyのtext-alignに対応し中央揃えになる */
	width:900px;
	background-color:#FFF;
}
#main {
    padding-bottom: 30px; /* footerと同じ高さを指定する */
    width: 900px;
    height: 100%;
    background-color: #FFF;
    padding-top: 30px;
}
#contents {
	width:800px;
	margin:0 auto;
	line-height:150%;
}
#footer {
	position: relative;
	margin: -30px auto 0; /* margin-topはfooter高さの負の値 　左右はautoにすることで中央揃えに*/
	height: 30px;/* mainのpadding-bottomと同じ高さを指定する*/
	width:900px;
	clear:both;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	background-color: #FFF;
	color:#666;
}
/*-------------------------------- CLEAR FIX設定ここから--------------------------------*/
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.clearfix {
	display: inline-block;
}
/*下のmacのあとは本来英字では逆スラッシュ箇所 */
/* Hides from IE-mac \*/
* html .clearfix {
	height: 1%;
}
.clearfix {
	display: block;
}
/* End hide from IE-mac */
/*-------------------------------- CLEAR FIX設定ここまで--------------------------------*/

/*--------------------------------共通の設定--------------------------------*/
p {
	text-align:left;
	padding:10px;
}
h1 {
	text-align:center;
	margin:0 auto;
}
h2 {
	text-align:center;
	margin:10px auto;
}
table {
	margin: 0 auto;
	border-style:none;
}
th {
	white-space: nowrap;
	vertical-align: top;
	padding: 5px;
}
td {
	text-align: left;
	vertical-align: top;
	border-style:none;
	padding:5px;
}
img {
	border: 0;
	line-height: 0;
	vertical-align: bottom;
}
.center {
	text-align:center;
}
.blue {
	color: #39C;
}
.green {
	color: #690;
}
.red {
	color:#F30;
}
.w500 {
	width:500px;
	margin:0 auto;
}
.clear {
	clear:both;
	height:0;
}



@media screen and (max-width:768px){

#wrap {
	margin:0 auto; /* bodyのtext-alignに対応し中央揃えになる */
	width:auto;
	background-color:#FFF;
}
#main {
	padding-bottom: 30px; /* footerと同じ高さを指定する */
	width:auto;
	height: 100%;
	background-color:#FFF;
}
#header {
	width:auto;
	margin:0 auto;
	line-height:150%;
}
#contents {
    width: auto;
    margin: 0 auto;
    line-height: 150%;
    padding-left: 15px;
    padding-right: 15px;
}
#footer {
	position: relative;
	margin: -30px auto 0; /* margin-topはfooter高さの負の値 　左右はautoにすることで中央揃えに*/
	height: 30px;/* mainのpadding-bottomと同じ高さを指定する*/
	width:auto;
	clear:both;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	background-color: #FFF;
	color:#666;
}	


	h2 img {
		width: 100%;
	}	
	
	
	
.w500 {
	width:auto;
	margin:0 auto;
}
	
.img100 img {
		width: 100%;
	}
	
	
	
	
	iframe {
		width: 100%;
	}	
	
	td {
		display: block;
		width: auto;
		text-align: center;
	}
	
	
}


@media screen and (max-width:480px){

.img80 img {
		width: 80%;
	}	
.img90 img {
		width: 90%;
	}

	
}
