@charset "UTF-8";

body {
	background-color: Black;
}
#access {
	position: absolute;
	top: 0px;
	left: 0px;
}
	#access img {
		border: 0px;
	}

#wrapper {
	width: 900px;
	margin: 0 auto;
	padding: 0;
	background-color: #555555;
	border: 1px solid gray;
}
#header {
	width: 900px;
	height: 100px;
	margin: 0;
	padding: 0;
	background: url(../images/header.jpg) no-repeat center top;
	position: relative;
}
#header h1 {
	color: white;
	font-size: 180%;
	font-weight: bold;
	font-family: "ＭＳ 明朝",serif;
	position: absolute;
	left: 50px;
	top: 15px;
}
#header p {
	color: white;
	font-size: 90%;
	font-weight: bold;
	position: absolute;
	left: 50px;
	top: 60px;
}
#content {
	padding: 20px 10px;
	text-indent: 1em;
	color: white;
	font-size: 80%;
	line-height: 150%;
}
#footer {
	width: 100%;
	height: 30px;
	background-color: black;
	text-align: center;
}
#footer p {
	color: white;
	text-decoration: none;
	line-height: 150%;
}
#footer a {
	color: white;
	text-decoration: none;
}
#footer a:hover {
	color: white;
	text-decoration: none;
}
.img_right {
	border: 0;
	float: right;
	margin-left: 10px;
}
.img_left {
	border: 0;
	float: left;
	margin-right: 10px;
}
a.red {
	color: red;
	text-decoration: none;
}
a {
	text-decoration: none;
}
a:hover {
	text-recoration: none;
}
.title {
	font-weight: bold;
	color: white;
}
#nav{
	width: 100%;
	height: 30px;
	bottom: 0px;
	border-top: 1px solid black;
	background: url(../images/nav_area.png) repeat-x;
	font-family: 'Maven Pro',Helvetica,Arial,sans-self;
	font-size: 14px;
	overflow: hidden;
}
#nav ul{
	width: 900px;
	margin: 0 auto;
	padding: 0;
}
#nav li{
	list-style-type: none;
	float: left;
}	
#nav li a{
	width: 286px;
	height: 30px;
	display: block;
	background: url(../images/nav_back.png) repeat-x;
	background-position: top;
	text-decoration: none;
	text-shadow: #000000 -1px -1px -1px;
	text-align: center;
	color: white;
	padding: 5px 0;
	border-left: 1px solid gray;
	border-right: 1px solid black;
}	
#nav li a:hover{
	background: url(../images/nav_back.png) repeat-x;
	background-position: bottom;
}	
#nav li a:active{
	background: url(../images/nav_back.png) repeat-x;
	background-position: bottom;
}
#nav li a.home {
	width: 30px;
	height: 30px;
	display: block;
	background: url(../images/nav_back.png) repeat-x;
	text-decoration: none;
	padding: 0;
}	
	
#nav ul li a.current{
	background: url(../images/nav_back.png) repeat-x;
	background-position: bottom;
}	
.foot {
	width: 100%;
	margin-top: 10px;
	margin-bottom: 10px;
	text-align: center;
	text-decoration: none;
	color: #FFFF00;
}
.foot a {
	text-decoration: none;
	color: #FFFF00;
}

.clearfix:after { content: ""; display: block; clear: both; }

.imgbox {
	width 100%;
	margin: 0;
	padding: 0;
}
.imgbox:after { 
	content: ""; 
	display: block; 
	clear: both; 
}
.imgbox div {
	width: 290px;
	margin: 0;
	padding: 0;
	text-align: left;
	float: left;
}
.imgbox div img {
	width: 280px;
	height: 188px;
	margin: 5px auto;
	border: 0;
}
.imgbox div img.port {
	width: 188px;
	height: 280px;
	margin: 0;
	margin-left: 50px;
}
.imgbox div p {
	text-align: center;
	width: 280px;
}
.twin {
	margin: 0;
	padding: 0;
	width: 50%;
	float: left;
	text-align: center;
	margin-bottom: 10px;
}
	.twin img {
		width: 95%;
		max-width: 430px;
		height: auto;
		margin: 0 auto;
	}
.paper {
	width: 213px;
	height: 329px;
}
.dd54father {
	width: 330px;
	height: 439px;
} 

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

@media only screen and (min-width:852px) and (max-width:955px) {
	#wrapper {
		width: 100%;
	}
	#header {
		width: 100%;
	}
	#nav ul {
		width: 100%;
		max-width: 800px;
	}
	.imgbox div {
		width: 33%;
		text-align: center;
	}
	.imgbox div img {
		width: 90%;
		height: auto;
		margin: 0 auto;
	}
	.imgbox div img.port {
		width: 55%;
		max-width: 188px;
		height: auto;
		margin: 0 auto;
	}
	.imgbox div p {
		text-align: center;
		width: 100%;
	}
}
@media only screen and (min-width:600px) and (max-width:851px) {
	#wrapper {
		width: 100%;
	}
	#header {
		width: 100%;
	}
	#nav ul {
		width: 600px;
	}
	#nav li a {
		width: 148px;
		font-size: 12px;
	}
	.imgbox div {
		width: 50%;
		text-align: center;
	}
	.imgbox div img {
		width: 90%;
		max-width: 280px;
		height: auto;
		margin: 0 auto;
	}
	.imgbox div img.port {
		width: 55%;
		max-width: 188px;
		height: auto;
		margin: 0 auto;
	}
	.imgbox div p {
		text-align: center;
		width: 100%;
	}
}
@media only screen and (max-width:599px) {
	#wrapper {
		width: 100%;
	}
	#header {
		width: 100%;
	}
	#nav {
		height: 90px;
		background: url(../images/nav_area.png);
	}
	#nav ul {
		width: 100%;
		text-align: center;
	}
	#nav ul li {
		width: 25%;
	}
	#nav li a {
		width: 100%;
		height: 90px;
		border: 0;
		text-align: center;
		background: url(../images/nav_off.png) no-repeat center 30px;
		font-size: 10px;
	}
	#nav li a:hover {
		background: url(../images/nav_on.png) no-repeat center 30px;
	}
	#nav ul li a.current {
		background: url(../images/nav_active.png) no-repeat center 30px;
	}
	.imgbox div {
		width: 98%;
		margin: 0 auto;
		text-align: center;
	}
	.imgbox div img {
		width: 96%;
		max-width: 280px;
		height: auto;
		margin: 0 auto;
	}
	.imgbox div img.port {
		width: 58%;
		max-width: 188px;
		height: auto;
		margin: 0 auto;
	}
	.imgbox div p {
		text-align: center;
		width: 100%;
	}
	img {
		width: 100%;
	}
	.twin {
		width: 100%;
	}
	.paper {
		width: 50%;
		max-width: 213px;
		height: auto;
		max-height: 329px;
	}
	.dd54father {
		width: 50%;
		max-width: 330px;
		height: auto;
		max-height: 439px;
	}
}
