/*---------------------------------------------*/
/*  GENERAL                                    */
/*---------------------------------------------*/
* {
	margin: 0;
	padding: 0;
}

html,body {
	height:100%;
}

body {
	background: #FFFFFF url(../img/bg.jpg) repeat-x;
}

p,th,td,li {
	font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","Osaka","メイリオ","Meiryo","ＭＳ Ｐゴシック","sans-serif";
	font-size: 0.8em;
	color: #333333;
	line-height: 1.4em;
}


a {
	color: #333333;
	text-decoration: none;
        /* Hides from IE5-Mac \*/
	overflow: hidden;
        /* End hide from IE5-Mac */
	text-decoration: underline;
}

a:hover {
	color: #333333;
	text-decoration: none;
}

a:visited {
	color: #333333;
}

img {
	border: 0;
}

li {
	list-style-type: none;
}


#wrapper {
	width: 887px;
	margin: 0 auto ;
	padding: 88px 0 0 0;
}

/*---------------------------------------------*/
/*  HEADER                                     */
/*---------------------------------------------*/
#header {
	z-index: 2;
	position: absolute;
	top: 0;
	width: 844px
}

#header h1 a {
	float: left;
	text-indent: -9999px;
	display: block;
	width: 255px;
	height: 88px;
	background: url(../img/happylife_logo.jpg) no-repeat;
}

#header p {
	float: left;
	width: 589px;
	height: 19px;
	text-align: right;
	font-size: 0.6em;
	line-height: 19px;
}

#header ul.header-menu {
	float: right;
	height: 20px;
}

#header ul.header-menu li {
	float: left;
	margin-left: 15px;
}

#header ul.header-menu li a {
	display: block;
	padding-left: 15px;
	color: #FFF;
	font-size: 0.6em;
	line-height: 20px;
	background: url(../img/menu_mark.gif) no-repeat top left;
}

#header ul.header-menu li a:hover {
	color: #0C5F95;
	background: url(../img/menu_mark.gif) no-repeat bottom left;
}

#header ul.global-menu {
	clear: right;
}

#header ul.global-menu li {
	float: left;
}

#header ul.global-menu li a {
	display: block;
	height: 51px;
	text-indent: -9999px;
}

#header ul.global-menu li a:hover {
	border-bottom: 3px solid #FFF;
}

#header ul.global-menu li#home a {
	width: 98px;
	background: url(../img/menu_home.jpg) no-repeat top;
}

#header ul.global-menu li#business a {
	width: 98px;
	background: url(../img/menu_business.jpg) no-repeat top;
}

#header ul.global-menu li#products a {
	width: 98px;
	background: url(../img/menu_products.jpg) no-repeat top;
}

#header ul.global-menu li#recruit a {
	width: 98px;
	background: url(../img/menu_recruit.jpg) no-repeat top;
}

#header ul.global-menu li#corporate a {
	width: 98px;
	background: url(../img/menu_corporate.jpg) no-repeat top;
}

#header ul.global-menu li#contact a {
	width: 99px;
	background: url(../img/menu_contact.jpg) no-repeat top;
}

/*---------------------------------------------*/
/*  BASE                                       */
/*---------------------------------------------*/
#base {
	width: 801px;
	z-index: 1;
	position: absolute;
	margin-left: 43px;
	background: url(../img/base_bg.gif) repeat-y;
}

/*---------------------------------------------*/
/*  CONTENTS                                   */
/*---------------------------------------------*/
#contents {
	float: right;
	width: 572px;
	padding: 20px 0 0 19px;
}

/*---------------------------------------------*/
/*  SIDE BAR                                   */
/*---------------------------------------------*/
#sidebar {
	float: left;
	width: 205px;
	background: #DDDDDD;
}

#sidebar div#service {
	margin: 10px 0 0 5px;
}
#sidebar div#service h2 {
	text-indent: -9999px;
	width: 200px;
	height: 24px;
	background: url(../img/service_title.gif) no-repeat;
}

#sidebar div#service li {
	margin-top: 5px;
}

#sidebar div#service li img {
	border: 2px solid #FFF;
}

/*---------------------------------------------*/
/*  TOPIC PATH                                 */
/*---------------------------------------------*/
div#topicpath {
	margin-bottom: 20px;
	width: 572px;
	height: 22px;
	background: url(../img/topicpath_bg.gif) no-repeat;
}

div#topicpath li {
	margin: 0 0 0 10px;
	float: left;
	color: #666;
	font-size: 0.7em;
	line-height: 22px;
}

div#topicpath li a {
	padding: 0 15px 0 0;
	color: #035688;
	text-decoration: underline;
	background: url(../img/topicpath_arrow.gif) no-repeat right;
}

div#topicpath li a:hover {
	text-decoration: none;
}

/*---------------------------------------------*/
/*  PAGE TOP                                   */
/*---------------------------------------------*/
p.pagetop a {
	margin: 5px 10px;
	float: right;
	text-indent: 15px;
	color: #0271B4;
	font-size: 0.7em;
	background: url(../img/pagetop_mark.gif) no-repeat left;
}


/*---------------------------------------------*/
/*  FOOTER                                     */
/*---------------------------------------------*/
#footer {
	clear: both;
	width: 801px;
	border-top: 10px solid #FFF;
	background: #FFF url(../img/footer_menu_bg.jpg) repeat-x;
}

#footer ul {
	margin: 10px 0 0 80px;
	height: 31px;
}

#footer li {
	float: left;
	padding: 0 8px;
	background: url(../img/footer_menu_bar.gif) no-repeat left;
}

#footer li.first-child {
	background: none;
}

#footer li a {
	color: #035688;
	font-size: 0.8em;
}

#footer p {
	display: block;
	width: 100%;
	height: 22px;
	text-align: center;
	color: #FFF;
	font-size: 0.6em;
	line-height: 22px;
	background: #0271B4;
}

