@charset "UTF-8";

/*全ページ共通
-----------------------------------------*/
* {
margin: 0;
padding: 0;
}
li {
list-style: none;
}
a img {
border: none;
}
html {
background: #FFF url(../img/background.jpg) repeat-x;
height: 100%;
}
body {
font-size: 14px;
color: #333;
line-height: 1.2;
font-family: "Hiragino Kaku Gothic Pro","メイリオ","ＭＳ Ｐゴシック",sans-serif;
background: url(../img/back-page.png) repeat-y;
width: 1000px;
min-height: 100%;
position: relative;
margin: 0 auto;
padding: 0;
}
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 {
width: 940px;
height: 150px;
position: relative;
margin: 0 auto;
}
body header > p {
position: absolute;
top: 13px;
left: 35px;
font-size: 12px;
}
body header h1 {
position: absolute;
top: 10px;
left: 20px;
font-family: sans-serif;
font-weight: normal;
color: #000;
font-size: 50px;
line-height: 1;
}
body header h1 a {
text-decoration: none;
color: #000;
}
body header h1 a:hover {
color: #000;
}

/*ヘッダー:メニュー
-----------------------------------------*/
nav {
position: absolute;
height: 50px;
bottom: 14px;
right: 18px;
}
nav ul li {
float: left;

}

nav ul li a {
display: block;
width: 128px;
height: 50px;
text-align: center;
line-height: 47px;
color: #ffffff;
text-decoration: none;
font-family: Arial,sans-serif;
font-size: 10px;
background-image:  url(../img/menu.jpg);
background-repeat: no-repeat;
background-position: center top;
border-left: 1px solid #ffffff;
position: relative;
z-index: 1;
}
nav ul li:first-child a {
background-position: left top;
border-left: none;
}
nav ul li:last-child a {
background-position: right top;
}
nav ul li a:hover {
color: #ffffff;
background-position: bottom;
}
nav ul li:first-child a:hover {
background-position: left bottom;
border-left: none;
}
nav ul li:last-child a:hover {
background-position: right bottom;
border-right: none;
}
/*フッター
-----------------------------------------*/

footer {
clear: both;
margin-top:100px;
border: 1px solid transparent; 
}
footer .inner {
background:url(../img/footer.jpg) repeat-x;
height: 92px;
width: 900px;
padding: 15px 20px;
position: absolute;
bottom: 0;
left: 30px;
font-family: Arial,"Hiragino Kaku Gothic Pro","メイリオ","ＭＳ Ｐゴシック",sans-serif;
color: #fff;
}
footer address {
display: block;
font-size: 12px;
font-style: normal;
text-align: center;
}
footer address p {
display: inline;
margin-right: 1em;
}
footer address a{
	color :#D8D8D8;
	text-decoration: none;
}
footer address a:hover{
	color :#848484;
	text-decoration: none;
}

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

/*複数ページで使用
-----------------------------------------
-----------------------------------------*/
#contents {
margin: 0 auto 0;
padding: 0 20px 50px 20px;
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/midashi_l.png) no-repeat;
color: #FFF;
font-size: 16px;
text-indent: 15px;
width: 900px;
height: 40px;
line-height: 40px;
margin-bottom: 20px;
font-family: Arial,"Hiragino Kaku Gothic Pro","メイリオ","ＭＳ Ｐゴシック",sans-serif;
}
section h1,
section h2 {
font-weight: normal;
}


/*サブメニュー
-----------------------------------------*/
#subMenu {
position: absolute;
top: 0px;
left: 740px;
width: 180px;
background: url(../img/submenu.png) right bottom;
}
#subMenu h2 {
font-size: 14px;
line-height: 1.1;
padding: 12px 5px;
font-weight: bold;
border: 2px solid #CCC;
border-radius: 5px 5px 0 0;
text-align:center;
}
#subMenu ul {
background: url(../img/sub-menu2.png);
border: 2px solid #CCC;
border-top: none;
border-bottom: none;
text-align:center; 
}
#subMenu li a {
display: block;
color: #333;
text-decoration: none;
padding: 10px 10px 10px 10px;
border-bottom: 1px solid #CCC;
}
#subMenu li a:hover {
color: #FFF;
background: url(../img/submenu2.png);
}

