@charset "UTF-8";

* {
	margin: 0;
	padding: 0;
}

body {
	background-color: #a9d2ff;
	background-image: url(../image/back.gif);
	background-repeat: repeat-x;
	text-align: center;
}

div#pageWrapper {
	width: 780px;
	margin-right: auto;
	margin-left: auto;
	padding-top: 10px;
	padding-right: 10px;
	padding-bottom; 10px;
	padding-left: 10px;
	background-color: #ffffff;
	text-align: left;
}

div#contentsWrapper {
	width: 780px;
	margin-bottom: 10px;
	background: url(../image/sub_back.gif) repeat-y;
	overflow: auto;
}


/* old \*/
* html div#pagewrapper {
	width: 800px;
}
/* end */

a.headline, a.headline:visited {
	color : #2040FF;
}

div#header {
	width: 780px;
	height: 220px;
	margin-bottom: 10px;
	background-image: url(../image/header_quest.jpg);
}

div#mainContents {
	float: right;
	width: 630px;
	height: auto;
	background-color: #00ff66;
}

div#nav {
	float: left;
	width: 150px;
	display: inline;
}

div#nav h4 {
	font-size: 160%;
	font-weight: bold;
}

div#nav h4 a {
	color: #FFF;
	text-decoration: none;
	display: block;
	padding-top: 6px;
	padding-bottom: 5px;
	padding-left: 10px;
	background-color: #009966;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #FFF;
}

div#nav h4 a:hover {
	color: #096;
	text-decoration: none;
	background-color: #FFF;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #009966;
}


div#footer {
	clear: both;
	width: 780px;
	height: 40px;
	background-color: #caacff;
}

div.hcontents {
	width: 540px;
	margin-top: 10px;
	margin-left: 20px;
	padding: 10px 30px 15px 25px;
	border-style: solid;
	border-width: 1px;
	border-color: #ccc;
	background: #ffffcc;
	line-height: 1.3;
	color: #333333;
	font-size: 96%;
}

div.contents {
	width: 560px;
	margin-top: 10px;
	margin-bottom: 20px;
	margin-left: 20px;
	padding: 5px 20px 20px 15px;
	border-style: solid;
	border-width: 1px;
	border-color: #ccc;
	background: #ffffcc;
	line-height: 1.3;
	color: #333333;
	font-family: "ＭＳ ゴシック", "MS Gothic", sans-serif;
	line-height : 140% ;
}
