@charset "utf-8";

/* clearing floats */
.clearfix:after {
	content: url(../images/transparent.gif);
	display: block;
	clear: both;
	height: 0;
}
.clearfix { display: inline-block; }
/* Hides from IE-mac \*/
.clearfix { display: block; }
/* End hide from IE-mac */

/* general styles */
body {
	margin: 0;
	padding: 0;
	background: #fff;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro W3", "メイリオ", Meiryo, Verdana, sans-serif, "ＭＳ Ｐゴシック";
	color: #666;
}
a {
	color: #666;
	text-decoration: none;
	outline: none;
}
a:hover { color: #999; }
img { border: none; }
h1, h2, h3, h4, p, dl { margin: 0; }
ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* background image */
img.bg {
	min-width: 1040px; /* Set rules to fill background */
	width: 100%; /* Set up proportionate scaling */
	height: 452px;
	position: absolute; /* Set up positioning */
	top: 0;
	left: 0;
}
@media screen and (max-width: 1040px){
 img.bg {
 	left: 50%;
 	margin-left: -520px;
 }
}
div#container { position: relative; }

/* header */
.header {
	width: 100%;
	height: 122px;
	background: url(../images/bg_head.png) repeat-x top;
}
.header-inner {
	width: 960px;
	margin: 0 auto;
}
.header img { display: block; }

.header ul.top {
	width: 731px;
	height: 57px;
	float: left;
}
.header ul.top li {
	position: relative;
	float: left;
}
.header ul.second {
	display: none;
	position: absolute;
	z-index: 100;
	left: 0;
	top: 47px;
}
.header ul.second li {
	position: static;
	float: none;
}
.header ul.second li img {
	display: inline-block;
	vertical-align: bottom;
}

.search {
	width: 229px;
	height: 57px;
	background: url(../images/bg_search.png) no-repeat left top;
	float: left;	
}
.search input { margin: 14px 0 0; }
.search input#keyword {
	width: 134px;
	height: 21px;
	background: url(../images/searchbox.gif) no-repeat left top;
	margin-left: 40px;
	border: none;
	padding: 0;
	vertical-align: top;
	text-indent: 3px;
}

/* content: structure */
.content {
	width: 960px;
	margin: 0 auto;
}
.nav {
	width: 160px;
	float: left;
	padding-top: 6px;
}
.main {
	width: 782px;
	float: right;
}
.main-inner {
	background: url(../images/bg_main.png) no-repeat left bottom;
	padding: 13px 33px 30px;
}

/* footer */
.footer {
	width: 100%;
	height: 134px;
	background: url(../images/bg_footer.jpg) repeat-x top;
}
.footer-inner {
	width: 960px;
	margin: 0 auto;
}
.footer p {
	font-size: 12px;
	line-height: 42px;
}
.footer p.copyright {
	font-size: 10px;
	text-align: right;
	margin-top: -42px;
}
