@charset "shift_jis";

/* ---------------------------------------------------------------------------------

株式会社宮崎製作所

Copyright(C) MIYAZAKI SEISAKUSHO CO.,LTD. All rights reserved. All Rights Reserved.



XHTML CSS Selectors common 



$Revision: 1.0 $

--------------------------------------------------------------------------------- */



/*---------------------------------------------------------------------------------

初期設定

--------------------------------------------------------------------------------- */

/*フォント初期化設定*/

h1,h2,h3,h4,h5,h6 {

    font-size: 100%; /* hタグの文字サイズを全体のフォントサイズに合わせる */

}

body {

    font-size: 62.5%; /* 全体のフォントサイズを1em=10pxにする */

}

table {

    font-size: 100%; /* テーブルのフォントサイズを1em=10pxにする */

}

p,li,dt,dd,th,td,input,textarea,select,option {

	font-size: 140%; /* フォントサイズを1em=14pxにする */

	font-weight: normal;

	line-height: 200%;

}



/*初期設定*/

body,div,pre,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: 0px; 

	padding: 0px; 

}

body {

	color: #000000;

	line-height: 200%;

	background-image: url(../img/background.jpg);

	background-repeat: repeat-y;

	background-position: center top;

}

a img {

	border-top-style: none;

	border-right-style: none;

	border-bottom-style: none;

	border-left-style: none;

}



a:link {

	text-decoration: none;

	color: #000000

}

a:visited {

	text-decoration: none;

	color: #000000

}

a:hover {

	text-decoration: underline;

	color: #B30000;

}

a:active {

	text-decoration: underline;

	color: #B30000;

}



div.clear {

	clear: both;

}





/*---------------------------------------------------------------------------------

ヘッダー

--------------------------------------------------------------------------------- */

div#headerArea {

	width: 840px;

	margin-right: auto;

	margin-left: auto;

	background-image: url(../img/header_bg.jpg);

	background-repeat: no-repeat;

	background-position: left top;

	padding-top: 7px;

	height: auto;

}



/*ロゴ*/

div#headerArea h1 {

	float: left;

	height: 67px;

	width: 320px;

}

div#headerArea h1 a {

	display: block;

	height: 67px;

	width: 320px;

	margin: 0px;

	padding: 0px;

	text-indent: -9999px;

}



/*上部サブナビ*/

div#headerArea p#headerSubNavi {

	width: 510px;

	padding-top: 10px;

	text-align: right;

	float: right;

	padding-right: 10px;

}



/*メインナビ*/

div#headerArea ul {

	height: 45px;

	list-style-type: none;

}

div#headerArea ul li {

	height: 45px;

	width: 168px;

	float: left;

}

div#headerArea ul li a {

	display: block;

	margin: 0px;

	padding: 0px;

	height: 45px;

	width: 168px;

	text-indent: -9999px;

	background-repeat: no-repeat;

	background-position: left top;

}

ul li#mainNavi01 a {

	background-image: url(../img/navi_01.jpg);

}

ul li#mainNavi02 a {

	background-image: url(../img/navi_02.jpg);

}

ul li#mainNavi03 a {

	background-image: url(../img/navi_03.jpg);

}

ul li#mainNavi04 a {

	background-image: url(../img/navi_04.jpg);

}

ul li#mainNavi05 a {

	background-image: url(../img/navi_05.jpg);

}

div#headerArea ul li a:hover {

	background-position: bottom;

}

/*---------------------------------------------------------------------------------

コンテンツ

--------------------------------------------------------------------------------- */

div#contentsWrapper {

	width: 840px;

	margin-right: auto;

	margin-left: auto;

	padding-bottom: 50px;

	background-image: url(../img/contents_bg.jpg);

	background-repeat: repeat-y;

	background-position: right;

}

div#contentsWrapper h2 {

	width: 840px;

	margin: 0px;

	background-color: #FFFFFF;

	background-image: url(../img/title_foot.jpg);

	background-repeat: no-repeat;

	background-position: left bottom;

	padding-top: 0px;

	padding-right: 0px;

	padding-bottom: 30px;

	padding-left: 0px;

	text-align: center;

}



div#contentsWrapper div#contentsArea {

	float: right;

	width: 635px;

}

div#contentsWrapper div#contentsArea p#ancPageTop {

	margin-top: 50px;

	padding-top: 6px;

	width: 595px;

	margin-right: auto;

	margin-left: auto;

	border-top-width: 1px;

	border-top-style: solid;

	border-top-color: #CCCCCC;

	text-align: center;

}





/*---------------------------------------------------------------------------------

サイドナビ

--------------------------------------------------------------------------------- */

div#contentsWrapper div#sideNavi {

	float: left;

	width: 170px;

	padding-left: 20px;

}

div#contentsWrapper div#sideNavi h3 {

	height: 35px;

	width: 170px;

	background-repeat: no-repeat;

	background-position: left top;

	text-indent: -9999px;

}

div#contentsWrapper div#sideNavi ul {

	width: 170px;

	list-style-type: none;

}

div#contentsWrapper div#sideNavi ul li {

	font-size: 14px;

	line-height: 100%;

	display: block;

	width: 170px;

	text-indent: 15px;

}

div#contentsWrapper div#sideNavi ul li a {

	display: block;

	width: 170px;

	padding-top: 30px;

	background-image: url(../img/side_navi_bg.gif);

	background-repeat: no-repeat;

	background-position: left bottom;

	padding-bottom: 5px;

}

div#contentsWrapper div#sideNavi ul li ul li a {

	display: block;

	width: 170px;

	padding-top: 30px;

	background-image: url(../img/side_sub_navi_bg.gif);

	background-repeat: no-repeat;

	background-position: 5px bottom;

	padding-bottom: 5px;

	text-indent: 23px;

}

div#contentsWrapper div#sideNavi ul li a.currentPage {

	background-image: url(../img/side_navi_over_bg.gif);

	color: #B30000;

}

div#contentsWrapper div#sideNavi ul li a:hover {

	background-image: url(../img/side_navi_over_bg.gif);

	background-position: left bottom;

	background-repeat: no-repeat;

	text-decoration: none;

}

div#contentsWrapper div#sideNavi ul li ul li a:hover {

	background-image: url(../img/side_sub_navi_bg.gif);

	background-position: 5px bottom;

}



/*---------------------------------------------------------------------------------

フッター

--------------------------------------------------------------------------------- */

div#footerArea {

	height: 55px;

	width: 815px;

	margin-right: auto;

	margin-left: auto;

	background-image: url(../img/footer_bg.jpg);

	background-repeat: no-repeat;

	background-position: left top;

	padding-top: 20px;

	padding-left: 25px;

}

div#footerArea p#footerNavi {

}

div#footerArea p#copyright {

	width: 815px;

	text-indent: -9999px;

}