@charset "utf-8";

img {
	border: 0px;
}

a,a:visited,a:active {
	color: #339;
}
a:hover {
	color: #33f;
}

h1, h2, h3, h4, h5, h6 {
	font-size: 1em;
	margin: 0;
	padding: 0;
}

p{
	margin: 0;
	padding:0;
}

ul, ol{
	margin:0;
}



body{
	margin:0;
	padding:0;
	background-image: url(http://www.hbj.co.jp/themes/hbj/images/common/bg.jpg);
	background-repeat: repeat-x;
	font-size: 14px;
	line-height: 1.5;
	color: #333;
}

.mceContentBody {
	background-image: none;
	background-color: #fff;
}

#page{
	width: 800px;
	margin: 0 auto;
/*	background-color: #fff;*/
/*	padding-top: 1px;*/
	padding-bottom: 1px;
}

#header{
	background-image: url(http://www.hbj.co.jp/themes/hbj/images/header/header.jpg);
	background-repeat: no-repeat;
	background-position: 0 left;
	width: 800px;
	height: 75px;
	padding-top: 1px;
}

#header h1#logo a {
	text-indent: -9999px;
	display: block;
	width: 405px;
	height: 35px;
	margin: 10px 0 0 30px;
}

/***
ヘッダナビ
***/

#header #headerNav, .mceContentBody #headerNav {
	width: 172px;
	width: 180px;
	margin-right: 4px;
/*	float: right;*/
	margin-left: 625px;
}

#header #headerNav ul, .mceContentBody #headerNav ul{
	margin: 23px 0 0 0;
	padding: 0;
}

#header #headerNav ul li, .mceContentBody #headerNav ul li{
/*	display: inline;*/
	float:left;
	list-style-type: none;
	margin: 0;
	padding: 0;
}





/***
サイドバー
***/


#sidebar{
	width: 200px;
	background-image: url(http://www.hbj.co.jp/themes/hbj/images/sidebox/sidebox.png);
	background-repeat: repeat-y;
	background-position: top left;
	background-color: #fff;
	float: left;
	margin: 0;
}

/***
サイドバー　ナビ
***/
ul#nav, .mceContentBody ul#nav{
	margin:0;
	padding:0;
}

ul#nav li, .mceContentBody ul#nav li{
	list-style-type: none;
	margin: 0 10px;
	padding; 0;
	width: 180px;
}

ul#nav li a:link, ul#nav li a:visited, .mceContentBody ul#nav li a:link, .mceContentBody ul#nav li a:visited {
	display: block;
	width: 155px;
	height: 33px;
	margin: 0 0 4px;
	background-image: url(http://www.hbj.co.jp/themes/hbj/images/nav/btn_nav.jpg);
	background-repeat: no-repeat;
	background-position: top left;

	padding-top: 17px;
	padding-left: 25px;

	text-decoration: none;
	color: #fff;
	font-weight: bold;
}
ul#nav li a:hover, ul#nav li a.here, .mceContentBody ul#nav li a:hover, .mceContentBody ul#nav li a.here {
	background-image: url(http://www.hbj.co.jp/themes/hbj/images/nav/btn_nav_on.jpg);
	text-decoration: none;
	color: #339;
}


/***
サイドバー　バナー
***/
#sidebanner {
	margin-top: 20px;
}
#sidebar p {
	margin: 0 20px 10px 10px;
}




/***
コンテンツ
***/

#central {
	margin: -2px 0 0;
}


#contents, .mceContentBody #contents {
	width: 557px;
	clear: both;
	background-color: #fff;
	margin: 0 0 0 20px;
	padding: 0 12px;
	float: right;
}



#body, .mceContentBody #body{
	width: 557px;
	background-image: url(http://www.hbj.co.jp/themes/hbj/images/common/contentsbox.png);
	background-repeat: repeat-y;
	background-position: top left;
	background-color: #fff;
	margin: 0;
	padding: 0 12px;
	float: right;
}


/***
コンテンツ内見出し h2
***/
#body h2, .mceContentBody h2 {
	background-image: url(http://www.hbj.co.jp/themes/hbj/images/common/h2.jpg);
	background-repeat: no-repeat;
	background-position: top left;
	width: 530px;
	height: 32px;
	margin: 0 auto 10px 0;
	padding: 7px 0 0 20px;
	font-size: 1.2em;
	clear: both;
}


/***
コンテンツ内見出し h3
***/
#body h3, .mceContentBody h3 {
	background-image: url(http://www.hbj.co.jp/themes/hbj/images/common/h3.jpg);
	background-repeat: no-repeat;
	background-position: top left;
	width: 530px;
	height: 29px;
	margin: 0 auto 10px 0;
	padding: 7px 0 0 20px;
	font-size: 1em;
	clear: both;
}


/***
コンテンツ内 段落 p
***/
#body p, .mceContentBody p {
	width: 520px;
	margin: 0 auto 10px 10px;
	font-size: 0.9em;
}







/***
トップページ　製品情報
***/
#body .top_pbox, .mceContentBody .top_pbox {
	background-color: #F6F6F6;
	width: 265px;
	height: 110px;
	float: left;
	margin: 0 4px 10px;
}

#body .top_pbox img, .mceContentBody .top_pbox img {
	display: block;
	width: 86px;
	height: 86px;
	float: left;
	margin: 15px;
}

#body .top_pbox .productname, .mceContentBody .top_pbox .productname {
	border-bottom: 1px dashed #333;
	font-size: 1em;
	font-weight: bold;
	color: #339;
	width: 134px;
	height: ;
	float: left;
	margin: 15px auto 0;
	padding-bottom: 5px;
}

#body .top_pbox p, .mceContentBody .top_pbox p {
	width: 134px;
	float: left;
	font-size: 0.9em;
	margin: 3px 0;
}



/***
トップページ 更新履歴＆お知らせ
***/
#body .top_news, .mceContentBody .top_news {
	background-color: #f6f6f6;
	padding: 10px;
	width: 530px;
}

#body .top_news table, .mceContentBody .top_news table{
	width: 520px;
}

#body .top_news table th, .mceContentBody .top_news table th{
	font-weight: normal;
	vertical-align: top;
	font-size: 0.9em;
	border-bottom: 1px dashed #666;
}

#body .top_news table td, .mceContentBody .top_news table td{
	vertical-align: top;
	font-size: 0.9em;
	border-bottom: 1px dashed #666;
}



/***
事業案内ページ
***/

#equipment, .mceContentBody #equipment {
	width: 530px;
	margin: 0 auto 20px;
}

#equipment td, .mceContentBody #equipment td {
	margin: 0 5px;
	padding: 3px 10px;
	border-bottom: 1px dashed #999;
}



/***
会社案内ページ
***/

#about_table, .mceContentBody #about_table {
	width: 530px;
	border-collapse: collapse;
	margin: 10px auto 20px;
}

#about_table td, .mceContentBody #about_table td {
	border: 1px solid #ccc;
	padding: 3px 5px;
}



/***
取扱い商品ページ
***/
#body h2.products, .mceContentBody h2.products {
	background-image: url(http://www.hbj.co.jp/themes/hbj/images/products/h2_products.jpg);
	background-repeat: no-repeat;
	background-position: top left;
	padding: 2px 20px;
	font-size: 0.9em;
}

table.product_list, .mceContentBody table.product_list {
	width: 510px;
	margin: 0 auto 40px;
}

table.product_list td, .mceContentBody table.product_list td {
	text-align: center;
	text-vertical-align: top;
	font-size: 0.9em;
	width: 170px;
}

table.product_list td.title , .mceContentBody table.product_list td.title {
	font-size: 1em;
}


/***
お問い合わせページ
***/
#body h2.contact, .mceContentBody #body h2.contact {
	background-image: url(http://www.hbj.co.jp/themes/hbj/images/contact/h2_contact.jpg);
	background-repeat: no-repeat;
	background-position: top left;
	padding: 12px 35px;
	font-size: 0.9em;
	margin: 0;
	width: 478px;
	height: ;
}

#body #hbj_contactform {
	border: 1px solid #999;
	width: 548px;
	margin: 0 auto 20px;
}

#body #hbj_contactform table {
	margin: 0 auto;
}
















#footer{
	clear: both;
	border-top: 1px solid #999;
	width: 100%;
	padding: 10px;
}

#footer-inner {
	width: 800px;
	margin: 0 auto;
	text-align: center;
}


#footernav {
	font-size: 0.9em;
}



#copyright {
	padding: 10px;
	font-size: 0.8em;
}




.floatleft {
	float: left;
}

.floatright {
	float: right;
}

.textleft {
	text-align: left;
}

.textright {
	text-align: right;
}

.textcenter {
	text-align: center;
}

.btn {
	
}


.clearfix:after {
    content: " ";
    display: block;
    height: 0;
    visibility: hidden;
    clear: both;
}
.clearfix{
  overflow:hidden;
}
/* Hides from IE-mac \*/
* html .clearfix{
  height:1%;
  overflow:visible;
}
/* End hide from IE-mac */
