﻿/* base
----------------------------------------------- */
* html body{font-size:x-small}
body {
	margin: 0;
	padding: 0;
	color: #333333;
	font-size: small;
	font-family:"ＭＳ Ｐゴシック", "ヒラギノ角ゴ Pro W3", Osaka, sans-serif;
	line-height: 1.5em;
	text-align: center;
	background: url(../img/bg.jpg) repeat-x;
	}
h1,h2,h3,h4,h5,h6,ul,li,p {
	margin: 0;
	padding: 0;
	}
li { list-style: none;}
img { border: 0;}
hr { display: none;}
a {
	outline: none;
	color: #000000;
	text-decoration: none;
	}
a:hover {
	color: #ff7f00;
	text-decoration: underline;
	}
a:visited {
	text-decoration: underline;
	}
table {
	border-collapse: collapse;
	}

/* wrap
----------------------------------------------- */
#wrap {
	width: 760px;
	margin: 0 auto;
	text-align: left;
	}

#header {
	margin: 20px 0 0 0;
	}
	
/* submenu
----------------------------------------------- */
#submenu {
	width: 760px;
	height: 50px !important;
	}
#submenu h1 {
	width: 350px;
	height: 50px;
	float: left;
	}
#submenu ul{
	background: url(../img/sm0.gif) no-repeat;
	width: 200px;
	_width: 350px;
	padding: 0 0 0 150px;
	margin: 0 0 0 55px;
	float: left;
	height: 50px !important;
	}
#submenu li{
	float: left;
	height: 50px !important;
	}
#submenu ul:after,#submenu:after {
	content:".";
	display:block;
	visibility:hidden;
	clear:both;
	height:0;
	}
#sm1,#sm2,#sm3 {
	text-indent: -9999px;
	float: left;
	}
#sm1 a,#sm2 a,#sm3 a {
	display: block;
	height: 50px;
	width: 65px;
	text-decoration:none;
	}
#sm1 a { background: url(../img/sm1.gif) no-repeat; }
#sm2 a { background: url(../img/sm2.gif) no-repeat; }
#sm3 a { background: url(../img/sm3.gif) no-repeat; }

#sm1 a:hover { background: url(../img/sm1.gif) no-repeat 0 -50px; }
#sm2 a:hover { background: url(../img/sm2.gif) no-repeat 0 -50px; }
#sm3 a:hover { background: url(../img/sm3.gif) no-repeat 0 -50px; }

/* gmenu
----------------------------------------------- */
#gmenu {
	margin: 0;
	width: 760px;
	}
#gmenu ul {
	margin: 0 0 0 16px;
	}
#gmenu:after {
	content:".";
	display:block;
	visibility:hidden;
	clear:both;
	height:0;
	}
#gm1,#gm2,#gm3,#gm4,#gm5,#gm6,#gm7 {
	text-indent: -9999px;
	float: left;
	}
#gm1 a,#gm2 a,#gm3 a,#gm4 a,#gm5 a,#gm6 a,#gm7 a {
	display: block;
	text-decoration:none;
	}
#gm1 a { background: url(../img/gm1.gif) no-repeat;	height: 50px; width: 109px; }
#gm2 a { background: url(../img/gm2.gif) no-repeat;	height: 50px; width: 91px; }
#gm3 a { background: url(../img/gm3.gif) no-repeat;	height: 50px; width: 85px; }
#gm4 a { background: url(../img/gm4.gif) no-repeat;	height: 50px; width: 110px; }
#gm5 a { background: url(../img/gm5.gif) no-repeat;	height: 50px; width: 125px; }
#gm6 a { background: url(../img/gm6.gif) no-repeat;	height: 50px; width: 125px; }
#gm7 a { background: url(../img/gm7.gif) no-repeat;	height: 50px; width: 89px; }

#gm1 a:hover { background: url(../img/gm1.gif) no-repeat 0 -55px; }
#gm2 a:hover { background: url(../img/gm2.gif) no-repeat 0 -55px; }
#gm3 a:hover { background: url(../img/gm3.gif) no-repeat 0 -55px; }
#gm4 a:hover { background: url(../img/gm4.gif) no-repeat 0 -55px; }
#gm5 a:hover { background: url(../img/gm5.gif) no-repeat 0 -55px; }
#gm6 a:hover { background: url(../img/gm6.gif) no-repeat 0 -55px; }
#gm7 a:hover { background: url(../img/gm7.gif) no-repeat 0 -55px; }

/* safari only \*/
html:\66irst-child #gm6 a {height: 45px; }
/* end */

/* footer
----------------------------------------------- */
#footer {
	margin: 10px 0 0 0;
	_margin: 0;
	width: 760px;
	height: 47px;
	}
#footer:after {
	content:".";
	display:block;
	visibility:hidden;
	clear:both;
	height:0;
	}
#footer ul li {
	float: left;
	height: 47px;
	}
#fm {
	background: url(../img/fm5.gif) no-repeat right;
	margin:10px 0 0 0;
	height: 47px;
	}
#fm1,#fm2,#fm3,#fm4 {
	text-indent: -9999px;
	}
#fm1 a,#fm2 a,#fm3 a,#fm4 a {
	display: block;
	height: 47px;
	text-decoration:none;
	}
#fm1 a { background: url(../img/fm1.gif) no-repeat;	width: 125px; }
#fm2 a { background: url(../img/fm2.gif) no-repeat;	width: 85px; }
#fm3 a { background: url(../img/fm3.gif) no-repeat;	width: 65px; }
#fm4 a { background: url(../img/fm4.gif) no-repeat;	width: 80px; }
#fm1 a:hover { background: url(../img/fm1.gif) no-repeat 0 -55px; }
#fm2 a:hover { background: url(../img/fm2.gif) no-repeat 0 -55px; }
#fm3 a:hover { background: url(../img/fm3.gif) no-repeat 0 -55px; }
#fm4 a:hover { background: url(../img/fm4.gif) no-repeat 0 -55px; }

.x-small {
	font-size: x-small;
	_font-size: xx-small;
	}
.margin10 {
	margin: 10px 0 0 0;
	}
.margin20_ {
	margin: -20px 0 0 0;
	}
.margin20 {
	margin: 20px 0 0 0 !important;
	}

/*pageup*/
#pageup {
	position: absolute;
	}
#pageup a {
	display: block;
	width: 48px;
	height: 48px;
	text-indent: -9999px;
	text-decoration: none;
	background: url(../img/pageup.gif);
	}
.comment {
	border-bottom:1px solid #DCDCDC;
	padding:5px 0pt 10px;
	}

/* policy
----------------------------------------------- */
#policy{
	width:135px;
	clear: both;
	position: relative;
	margin: 0 0 0 35px;
}
#policy a {
	display: block;
	width: 135px;
	height: 165px;
	position: absolute;
	top: -165px;
	}
.bold {
	font-weight: bold;
	}
.error {
	font-weight: bold;
	color: #B11000;
	}

/* lib
----------------------------------------------- */
.margin10 {
	margin: 10px 0 0 0;
	}
.margin30 {
	margin: 30px 0 0 0;
	}
.margin60 {
	margin: 60px 0 0 45px;
	}
.small {
	font-size: small;
	font-weight: normal;
	_font-size: x-small;
	}
.x-small {
	font-size: x-small;
	font-weight: normal;
	_font-size: xx-small;
	}
