@charset "utf-8";

html{
	overflow-y:scroll;
}

div#wrapper{
	margin: 0 auto;
	text-align: left;
	width: 100%;
	line-height: 1.8;
}

div#wrapBg{
	border-top: 1px solid #ccc;
}

div#header{
	width: 960px;
	margin: 0 auto;
	text-align: left;
}

div#header h1{
	font-weight: bold;
	float: left;
	width: 300px;
	padding: 18px 0 0 20px;
	font-size: 24px;
	font-family: Arial, Helvetica, sans-serif;
	color: #504F4F;
	text-shadow:0px -1px 1px #777;
}

div#header ul#gNavi{
	float: right;
	margin-bottom: 0;
	padding-bottom: 0;
}

ul#gNavi li{
	display: block;
	float: right;;
	border-left: 1px solid #dedede;
	/*width: 90px;*/
	text-align: center;
}

ul#gNavi li.mojisuu4{
	margin-left: 0;
	width: 85px;
}

ul#gNavi li.mojisuu5{
	margin-left: 0;
	width: 95px;
}


ul#gNavi li.firstItem{
	border-right: 1px solid #dedede;
	width: 95px;
}
ul#gNavi li img{
	vertical-align: bottom;
}

ul#gNavi li.lastItem{
	margin-left: 0;
	width: 95px;
}





ul#gNavi li ul{
	display: none;
	z-index: 3;
	position: absolute;
	top: 83px;
}

ul#gNavi li:hover ul{
	display: block;
}


div#header ul#gNavi li a.default{
	font-size: 13px;
	color: #333;
	text-decoration: none;
	font-weight: bold;
	display: block;
	padding: 30px 13px;
}

div#header ul#gNavi li a.line2{
	font-size: 13px;
	color: #333;
	text-decoration: none;
	font-weight: bold;
	display: block;
	padding: 18.5px 13px;
}

div#header ul#gNavi li a:hover{
	/*background: url(../img/bg_gnavi.gif) repeat-x bottom left;*/
	background: #bbb;

}



ul#gNavi ul#gNavi_sub li{
	display:block;
	clear:both;
	float: left;
	min-width: 14em;
	max-width: 18em;
	/*width: 14em;*/
	height: 3em;
	background: #bbb;
	border: 1px solid #dedede;
	text-align: left;
}

ul#gNavi ul#gNavi_sub li a{
	font-size: 13px;
	color: #333;
	text-decoration: none;
	font-weight: bold;
	display: block;
	padding: 8px 15px 8px 15px;
}

ul#gNavi ul#gNavi_sub li a:hover{
	background: #999;

}





div#footer{
	border-top: 1px #dedede solid;
	padding-top: 5px;
	text-align: center;
}
.a_top_nr{
	position:relative;
	float:right;
	right:5%;
}
.a_top_ml{
	position:relative;
	float:right;
	right:10%;
}
