﻿html { 
	overflow-y:scroll; /* スクロールバー常に表示 */
}
* {
	margin: 0px;
	padding: 0px;
}

body {
	font-size: small;
	line-height: 1.3em;
	color: #333333;
	background-image: url(../img/bg02.jpg);
	background-repeat: repeat-x;
	background-position: center -100px;
	background-color: #000;
	min-width:980px;
	font-size: small;
	background-position: center 41px;
}

body,x:-moz-broken { /* Firefox背景ズレハック */
	margin-left:-1px;
}
*:first-child+html body { /* ie7背景ズレハック */
	margin-left:1px;
} 
* html body { /* ie6背景ズレハック */
	margin-left:1px;
}
object, embed { /* firefox下部余白対策 */
	 vertical-align: top;  
}

#all {
	width: 980px;
	margin-right: auto;
	margin-left: auto;
	background-color: #FFF;
	background-repeat: repeat-x;
	height: 600px;
	clear: both;
}

#header {
	height: 100px;
}
#contents {
	background-repeat: repeat-x;
	background-position: left top;
	padding-left: 600px;
	height: 100％;
	text-align: center;
}
#footer {
	font-size: x-small;
	text-align: center;
	color: #FFF;

}
/* 黒背景
------------------------------ */
#ifHeader-black {
	height: 40px;
	padding: 0 10px;
	border-bottom: solid 1px #ccc;
	background-color: #000;
}
#ifHeader-black img {
	float: left;
}
#ifHeader-black #logo {
	float: right;
}
#ifFooter-black {
	text-align: center;
	padding: 5px 0;
	border-top: solid 1px #ccc;
	border-bottom: solid 1px #ccc;
	background-color: #000;
}
#ifFooter-black img {
	padding: 8px 0 0 0;
}
#ifFooter-black a {
	color: #fff;
}