/* format
--------------------------------*/
body,div,p,
form,fieldset,input,textarea,select,option,
dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,
table,th,td,embed,object {
	margin: 0;
	padding: 0;
	vertical-align: baseline;
	font-style:normal;
}
h1,h2,h3,h4,h5,h6 {
	font-style: normal;
	font-weight: normal;
	font-size: 1.0em;
}
table {
	border-spacing:0;
	padding: 0px;
	font-family: sans-serif;
	font-size: 12px;
	line-height: 1.6;
}
table,th,td,img {
	border:0;
	border-collapse:collapse;
}
tr,td {
	padding:0px;
}
img {
	vertical-align:bottom;
}
ul,ol,li {
	list-style-type:none;
}
object,embed {
	vertical-align: top;
}
address {
	clear : both;
	text-align : center;
	font-style : normal;
	font-size: 95%;
	color: #666666;
	line-height: 1.2em;
	margin-top: 20px;
	padding-bottom: 15px;
}

/* basic
--------------------------------*/
body {
	font-family: sans-serif;
	font-size: 12px;
	line-height: 1.6;
	background-image : url(../images/common/back_body.png);
	background-repeat : repeat-y;
	background-position : center;
}

/* common layout ========================================================================*/
/* container
--------------------------------*/
#container {
	width: 950px;
	margin-top: 0px;
	margin-right: auto;
	margin-left: auto;
	background-color: #FFFFFF;
}

/* header
----------------------------------------------*/
#header h1 {
	float: left;
	background-image: url(../images/common/back_header.png);
	width: 435px;
	height: 55px;
	background-repeat: no-repeat;
	padding-top: 40px;
	padding-left: 40px;
}

#login_box {
	float: right;
	width: 460px;
	text-align: right;
	padding-right: 15px;
}
#login_box ul {
	float: right;
}

#login_box .header_registration a {
    height: 29px;
    width: 167px;
    display: block;
	background-image: url(../images/common/bt_registration.png);
	background-repeat: no-repeat;
}
#login_box .header_registration a:hover {
	background-position: 0px -29px;
}
#login_box .header_login {
	padding-top: 2px;
}
#login_box .header_login a {
    height: 24px;
    width: 167px;
    display: block;
	background-image: url(../images/common/bt_login.png);
	background-repeat: no-repeat;
}
#login_box .header_login a:hover {
	background-position: 0px -24px;
}

#header_myspace {
	color: #663300;
	text-align: right;
	float: right;
	height: 90px;
}
#header_myspace td,#header_myspace th {
	font-weight: normal;
	text-align: right;
	vertical-align: bottom;
	padding-right: 2px;

}
#header_myspace th {
	overflow: auto;
}

#header_otherpace {
	padding-top: 40px;
}


/* menu
---------------------------------------------*/
#g_menu {
	margin : 0px auto;
	background-image: url(../images/common/back_menu.png);
	background-repeat: no-repeat;
	height: 43px;
	width: 950px;
}

#g_menu ul {
	padding-left: 55px;
}
#g_menu li {
	margin-right : 4px;
	float: left;
	margin-top: 1px;
}
#g_menu li a {
	display: block;
	overflow:hidden;
	text-indent: -9999px;
	height: 43px;
	width: 136px;
}

.g_menu_guide a {
	background-image: url(../images/common/menu_guide.png);
	background-repeat: no-repeat;
}
.g_menu_guide a:hover {
	background-position:0px -43px;
}

.g_menu_fortune a {
	background-image: url(../images/common/menu_fortune.png);
	background-repeat: no-repeat;
}
.g_menu_fortune a:hover {
	background-position:0px -43px;
}

.g_menu_download a {
	background-image: url(../images/common/menu_download.png);
	background-repeat: no-repeat;
}
.g_menu_download a:hover {
	background-position:0px -43px;
}

.g_menu_free a {
	background-image: url(../images/common/menu_free.png);
	background-repeat: no-repeat;
}
.g_menu_free a:hover {
	background-position:0px -43px;
}

.g_menu_communication a {
	background-image: url(../images/common/menu_communication.png);
	background-repeat: no-repeat;
}
.g_menu_communication a:hover {
	background-position:0px -43px;
}

.g_menu_myroom a {
	background-image: url(../images/common/menu_myroom.png);
	background-repeat: no-repeat;
}
.g_menu_myroom a:hover {
	background-position:0px -43px;
}

/* footer
--------------------------------*/
#footer {
	width : 920px;
	background-image: url(../images/common/back_footer.png);
	background-repeat: no-repeat;
	height: 75px;
	background-position: 0px 20px;
	background-color: #FFFFFF;
	margin: 40px auto 0px;
}
#footer ul {
	margin-left: 30px;
}
#footer li {
	display: inline;
	padding: 0px 5px;
}


/* text class
----------------------------------------------*/
.p-red {
	color: #FF0000;
}

.p_small_red {
	font-size: 85%;
	_font-size: 75%;
	color: #FF0000;
	line-height: 1.6em;
}
*:first-child+html .p_small_red {
	font-size : 75%;
}
*html .p_small_red {
	font-size : 75%;
}

.align_center {
	text-align: center;
	vertical-align: middle;
}
.align_right {
	text-align: right;
	vertical-align: middle;
}
.align_left {
	text-align: left;
	vertical-align: middle;
}

.strong {
	font-weight : bold;
}

/* other class
----------------------------------------------*/
.clear {
	clear: both;
}
.hidden {
	display: none;
}

.float-left {
	float: left;
}
.float-right {
	float : right;
}

.clear-left {
	clear: left;
}
.clear-right {
	clear: right;
}

.align-right {
	text-align : right;
}

#top_main_right .important_info {
	background-color: #FFFFFF;
	text-align: center;
	display: block;
	border: 1px solid #FF0000;
	margin-top: 10px;
	padding: 10px 5px;
}
#top_main_right .important_info a {
	font-weight: bold;
	color: #FF0000;
	text-decoration: none;
	letter-spacing: 0.3em;
}
#top_main_right .important_info a:hover {
	text-decoration: underline;

}

