/* 全体的なルール*/
* {
	margin: 0;
	padding: 0;
	font-size: 100%;
	overflow: hidden;
}

body {
	color: #333;
	font-family: "ＭＳ Ｐゴシック",sans-serif;
	line-height: 1;
	background-color: #fff;
}

ul {
	list-style: disc;
}

/* リンク全般 */
a {
	text-decoration: none;
}

a:link {
	color: #0000FF;
}

a:visited {
	color: #788273;
}

a:hover {
	color: #57c0FF;
}

a:active {
	color: #00c0c0;
}

img {
	margin: 0;
	padding: 0;
	border-style: none;
}

div#page-box {
	width: 400px;
	height: 407px;
	position:absolute;
	top:50%;
	left:50%;
	margin-top: -223px;
	margin-left: -200px;
	background: transparent;
	z-index: 3;
}

/* トップページ */
div#main {
	height: 407px;
	margin: 0px auto 0px;
	position: relative;
	z-index: 3;
}

div#sub {
	height: 130px;
	margin-left: 30px;
	background: transparent;
	position: fixed;
	bottom: 30px;
	z-index: 3;
	text-align: center;
}

div#sub img{
	margin-left: 30px;
}

/* フッター */
div#footer {
	height: 30px;
	width: 100%;
	background: url(../images/under.png);
	position: fixed;
	bottom: 0px;
	z-index: 3;
}

p#copyright {
	font-size: 1em;
	color: #fff;
	text-align: right;
	margin-right: 20px;
	z-index: 3;
}

/* モーダルウィンドウ用 */
div#glayLayer {
	position: fixed;
	top: 0px;
	left: 0px;
	height: 100%;
	width: 100%;
	background: url(../images/glaylayer.png) repeat;
	display: none;
	z-index: 4;
}

div#overLayer1 {
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -300px;
	margin-left: -400px;
	display: none;
	z-index: 4;
}

div#overLayer2 {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 800px;
	height: 600px;
	display: none;
	background: url(../images/cback.png);
	z-index: 4;
}

div#overLayer3 {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 800px;
	height: 600px;
	display: none;
	background: url(../images/dback.png);
	z-index: 4;
}

div.modal {
	display:none;
}

div#character {
	width: 800px;
	height: 467px;
}

div#icon {
	padding-top:10px;
}

div#icon ul{
	list-style: none;
}

div#icon ul li{
	float: left;
	padding-left:55px;
}

dl{
	width: 800px;
	padding-top:22px;
	padding-bottom:22px;
}

dt{
	line-height:35px;
	font-size:large;
	text-indent:3em;
	font-weight:bold;
	color:white;
	height:35px;
	background: url(../images/dback_normal.png);
}

dt.over{
	cursor: pointer;
	background: url(../images/dback_over.png);
}
dt.selected{
	cursor: default;
	background: url(../images/dback_selected.png);
	color: black;
}

dd{
	margin: 0px;
	height: 486px;
}

dd.download{
	text-align:center;
	margin-right:70px;
	margin-top:30px;
}

table.download{
	border:1px #000000;
	font-size: 1.2em;
	font-weight: bold;
	margin: 0px auto 0px;
	padding-left: 40px;
}

table.download tr{
	border:1px #000000;
	height:60px;
}

table.download td{
	border:1px #000000;
	width: 250px;
}

table.download td.title {
	border:1px #000000;
	width: 300px;
}

dd p{
	margin: 0px;
	text-indent: 1em;
	padding-left: 60px;
}

dd input{
	margin-left: 80px;
	width: 465px;
}

p.caption{
	padding-top: 20px;
}

img.left{
	margin-top: 40px;
}

img.right{
	margin-right: 70px;
	height: 486px;
}

/* プラグイン用 */
#background {
	background: url(../images/background.png) repeat 5% 5%;
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	z-index: 1;
}

#midground {
	background: url(../images/midground.png) repeat 20% 20%;
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	z-index: 1;
}

#foreground {
	background: url(../images/foreground.png) repeat 90% 110%;
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	z-index: 2;
}