@charset "UTF-8";
/** image viewer */

img { vertical-align: bottom; }

.mod-image {
	width: 676px;
}

.mod-image .main{
	width: 676px;
	height: 450px;
}

.mod-image .main li{
	display: none;
	position: absolute;
}

.mod-image .thumb{
	padding: 0 2px 5px;
	_margin: 0 -3px;
	overflow: hidden;
	_zoom: 1;
	background:
	url(../img/common/bg.gif);
}

.mod-image .thumb li{
	position: relative; 
	float: left; 
	margin: 5px 3px 0; 
	width: 55px; 
	height: 55px; 
	background: #000; 
	cursor: pointer; 
}

.mod-image .thumb img {
	position: absolute; 
	top: 0; 
	background: #000; 
	opacity: 0.6; 
	-moz-opacity: 0.6; 
	-webkit-opacity: 0.6; 
	filter: alpha(opacity=60); 
}

.mod-image .thumb .current {
	position: absolute;
	top: -5px;
	width: 55px;
	height: 65px;
	opacity: 0;
	-moz-opacity: 0;
	-webkit-opacity: 0;
	filter: alpha(opacity=0);
	background: url(../img/common/target.gif) no-repeat; 
}

/** sample layout */

#wrapper{
	width:760px;
	margin:20px auto;
	padding:20px 0;
	background:rgba(51,51,51,0.6);
}

#head{
	margin-bottom:30px;
	text-align:center;
}

#content{
	width: 676px;
	margin:0 auto;
	text-align:center;
	color:#FFFFFF;
}

#content h3{
	margin-bottom:15px;
	font-weight:bold;
}

#content p{
	margin-bottom:10px;
}

#footer{
  position: relative;
}

#footer .footer{
	background-image:none !important;
	text-align:center;
}

#footer .footer .f_nav ul{
	margin-bottom:20px;
	font-size:11px;
}

#footer .footer .f_nav ul li{
	display:inline;
	margin:0 10px;
}

#footer .footer .f_nav ul li a{
	color:#FFFFFF;
}

.mod-image{
	position: relative;
	left: 50%;
	margin-left: -338px;
	margin-bottom:20px;
}

.mod-image ul{
	margin:0;
	padding:0;
}

.mod-image ul li{
	list-style:none;
	margin:0;
	padding:0;
}

/* slideshow */

.change{
	display:none;
}

/* ===== 全体 ===== */

#container{
	width:600px;
	/* width:960px; */
	height:255px;
	/* height:400px; */
	margin-top:-205px;
	/* margin-top:-280px; */
	margin-left:-300px;
	/* margin-left:-514px; */
	padding:10px 0;
	position:absolute;
	left:50%;
	top:50%;
	background:rgba(51,51,51,0.6);
	overflow:hidden;
}

h1{
	margin-bottom:20px;
	color:#FFFFFF;
	font-weight:bold;
}

h1 a{
	color:#FFFFFF;
	text-decoration:none;
	font-weight:bold;
}

#container ul li{
	margin:0 10px 10px;
	display:inline-block;
}

img.bg {
	/* Set rules to fill background */
	min-height: 100%;
	min-width: 1024px;
	/* Set up proportionate scaling */
	width: 100%;
	height: auto;
	/* Set up positioning */
	position: fixed;
	/* またはabsolute; */
	top: 0;
	left: 0;
}

@media screen and (max-width: 1024px){
	img.bg {
		left: 50%;
		margin-left: -512px;
	}
}

div#wrapper{
  position: relative;
}