@charset "UTF-8";

/*全ページ共通
-----------------------------------------*/
* {
margin: 0;
padding: 0;
}
li {
list-style: none;
}
a img {
border: none;
}
html {
height: 100%;
background:  #FFF url(../img/header.png) repeat-x top;
}
body {
font-size: 14px;
color: #000;
line-height: 1.2;
font-family: "Hiragino Kaku Gothic Pro","メイリオ","ＭＳ Ｐゴシック",sans-serif;
min-width: 900px;
min-height: 100%;
position: relative;
}
a {
color: #00F;
}
a:hover {
color: #006;
}
hr {
border: none;
height: 0;
overflow: hidden;
border-bottom: 1px dotted #959595;
clear: both;
}
header, footer, section, article, figure ,figcaption {
display: block;
}
/*ヘッダー
-----------------------------------------*/
body header {
height: 117px;
position: relative;
z-index: 2;
margin: 0 0 10px;
background: url(../img/back_here.png) no-repeat center bottom;
}
body header h1 {
position: absolute;
top: 10px;
left: 50%;
margin-left: -445px;
}
body header h1 + p {
position: absolute;
top: 20px;
right: 50%;
margin-right: -445px;
color: #666;
font-size: 11px;
line-height: 1.2;
}

/*ヘッダー:メニュー
-----------------------------------------*/
nav {
position: absolute;
bottom: 33px;
right: 50%;
margin-right: -450px;
height: 35px;
}
nav ul {
height: 35px;
border-left: 1px solid #DDD;
border-right: 1px solid #FFF;
}

nav ul li {
float: left;
width: 155px;
height: 35px;
border-left: 1px solid #FFF;
border-right: 1px solid #DDD;
position: relative;
}
nav ul li a {
display: block;
width: 157px;
height: 48px;
text-align: center;
line-height: 35px;
color: #000;
text-decoration: none;
position: absolute;
left: -1px;
}
nav ul li a:hover {
background-image: url(../img/here.png);
background-repeat: no-repeat;
background-position: bottom;
color: #002206;
}
nav ul li a[href="index.html"]:hover {
background-position: -125px bottom;
}
nav ul li a[href="products.html"]:hover {
background-position: -280px bottom;
}
nav ul li a[href="recruit.html"]:hover {
background-position: -435px bottom;
}
nav ul li a[href="news.html"]:hover {
background-position: -590px bottom;
}
nav ul li a[href="company.html"]:hover {
background-position: -745px bottom;
}
/*フッター
-----------------------------------------*/
footer {
position: absolute;
bottom: 0;
left: 0;
background: #EEE;
border-top: 3px solid #242600;
width: 100%;
height: 30px;
}
footer small {
display: block;
width: 900px;
margin: 0 auto;
text-align: right;
font-size: 10px;
line-height: 30px;
color: #000;
font-family: Arial,"Hiragino Kaku Gothic Pro","メイリオ","ＭＳ Ｐゴシック",sans-serif;
}

/*noscript
-----------------------------------------*/
p#noscript {
width: 80%;
padding: 30px;
margin: 0 auto;
color: red;
font-weight: bold;
}

/*複数ページで使用
-----------------------------------------
-----------------------------------------*/
#contents {
margin: 0 auto 0;
padding: 0 0 50px;
width: 900px;
position: relative;
}
#contents:after {
content: "";
display: block;
clear: both;
}
*+html #contents {
min-height: 1px;
}
section:after {
content: "";
display: block;
clear: both;
}
*+html section {
min-height: 1px;
}
section {
margin-bottom: 30px;
}

/*見出し
-----------------------------------------*/
section > h1 {
background: url(../img/midashi1.png) no-repeat;
font-size: 18px;
font-weight: bold;
color: #666;
width: 100%;
height: 70px;
line-height: 70px;
text-indent: 20px;
margin-bottom: 30px;
position: relative;
}
section > h1 small {
font-size: 12px;
position: absolute;
right: 20px;
top: 0;
font-weight: normal;
}
section > h2 {
background: url(../img/midashi2.gif) no-repeat left bottom;
font-size: 16px;
font-weight: bold;
color: #666;
padding: 0 0 5px 5px;
margin-bottom: 30px;
clear: both;
}
section > h2.longTitle {
background: url(../img/midashi2a.gif) no-repeat left bottom;
}



