@charset "UTF-8";

/*全体の設定
---------------------------------------------------------------------------*/
body {
	height: 100%;
	color: #333;	/*全体の文字色*/
	margin: 0px;
	padding: 0px;
	font: 14px/2 "メイリオ", Meiryo, "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro";	/*文字サイズ、行間、フォント指定*/
	background-image: url("../images/background.gif")	/*背景画像*/
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure{
	margin: 0px;
	padding: 0px;
}
ul{
	list-style-type: none;
}
img {
	border: none;
}
input,textarea,select {
	font-size: 1em;
}
#wrap{
     width: 100%;
     position: relative;
     min-height: 100%;
}

/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
	color: #333;	/*リンクテキストの色*/
}
a:hover {
	color: #002aff;			/*マウスオン時の文字色（全体）*/
	text-decoration: none;	/*マウスオン時に下線を消す設定。残したいならこの１行削除。*/
}

/*ヘッダー（サイト名ロゴが入ったブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロックの中*/
header .inner {
       z-index:3;
	width: 997px;	/*ブロック幅*/
	height: 100px;
	position: relative;
	margin: 0px auto;
}
/*h1ロゴの設定*/
header .inner h1 {
	position: absolute;
	left: 20px;	/*innerに対して左から20pxの場所に配置*/
	top: 15px;	/*innerに対して上から20pxの場所に配置*/
}

/*h2ロゴの設定*/
header .inner h2 {
	position: absolute;
	left: 590px;	/*innerに対して左から20pxの場所に配置*/
	top: 15px;	/*innerに対して上から20pxの場所に配置*/
}

div#headerArea {  
    z-index:2;
    position: fixed !important; 
    position: absolute;  

	left: 0px;	/*innerに対して左から20pxの場所に配置*/
	right: 0px;	/*innerに対して右から20pxの位置に配置*/

	border-top: 14px solid #002aff;	/*上のアクセント用の線の幅、線種、色*/
	background-color: #FFF;	/*背景色（古いブラウザだとここの色のみが出ます）*/
	background-image: linear-gradient(#FFF 80%, #ccffff);			/*同上*/
}

/*上部のメインメニュー
---------------------------------------------------------------------------*/
/*メニューブロック設定*/
nav#menu {
	width: 997px;
	margin: 0px auto;
	height: 50px;	/*ブロックの高さ*/
	background-color: #FFF;	/*背景色（古いブラウザだとここの色のみが出ます）*/
	background-image: linear-gradient(#FFF 80%, #e7e7e7);			/*同上*/
	border-top: 115px solid #002aff;		/*メニューの上側の線の幅、線種、色*/
	border-bottom: 7px solid #00ade6;	/*メニューの下側の線の幅、線種、色*/
}
nav#menu ul {
	width: 997px;
	margin: 0px auto;
}
/*メニュー１個ごとの設定*/
nav#menu ul li {
	float: left;
	width: 165px;	/*メニュー幅*/
	border-right: 1px solid #d4d4d4;	/*メニューの右側の線の幅、線種、色*/
	text-align: center;	/*文字を中央に揃える*/
	font-weight: bold;	/*文字を太字にする設定*/
}
nav#menu ul li a {
	display: block;
	padding-top: 5px;
}
/*最初のメニューの設定*/
nav#menu ul li:first-child {
	border-left: 1px solid #d4d4d4;	/*左側に線を入れる*/
}
/*マウスオン時の設定*/
nav#menu ul li a:hover {
	background-color: #FFF;	/*背景色*/
	border-bottom: 7px solid #002aff;	/*メニューの下側の線の幅、線種、色*/
}

/*スライドショー
---------------------------------------------------------------------------*/
#mainimg {
	background-color: #ccffff;	/*背景色（古いブラウザだとここの色のみが出ます）*/
	background-image: linear-gradient(#ccffff, #ffffff);			/*同上*/

}
#mainimg aside {
	width: 997px;
	height: 260px;
	margin-right: auto;
	margin-left: auto;
	position: relative;
}
#mainimg .slide_file {
	display: none;
}
#slide_image {
	z-Index:1;
	position: absolute;
	left:0px;
	top:0px;
}
#slide_image2 {
	z-Index:0;
	position: absolute;
	left:0px;
	top:0px;
}

/*サイドのサブメニュー
---------------------------------------------------------------------------*/
/*メニューブロック設定*/
#menu_side1 ul{ 
margin: 0; 
padding: 0; 
list-style-type: none; 
}
#menu_side1 li{ 
display: inline; 
padding: 0; 
margin: 0; 
}
#menu_side1 li a{
	display: block;
	border-width: 1px 1px 1px 8px;
	border-style: solid;
	border-color: #474655 #474655 #474655 blue;
	background-color: #ffffff;
	padding-top: 3px;
	padding-right: 10px;
	padding-bottom: 3px;
	padding-left: 10px;
	text-decoration: none;
	color: blue;
	width: 210px;
	margin-top: 1px;
	margin-right: 0px;
	margin-bottom: 1px;
	margin-left: 0px;
	text-align: left;
	font-size: 16px;
	font-weight: bold;
	font-family: "ＭＳ Ｐゴシック";
	letter-spacing: 0.1em;
}
#menu_side1 li a:hover{
	border-width: 1px 1px 1px 8px;
	border-style: solid;
	border-color: #474655;
	background-color: #a8d3ff;
}
#menu_side1 a:after{
	content:"";
	display:block;
	width:8px;
	height:8px;
	border-top: #666 2px solid;
	border-right: #666 2px solid;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}
#menu_side1 a{
	position:relative;
}
#menu_side1 a:after{
	position:absolute;
	right: 15px;
	top:0;
	bottom:0;
	margin:auto;
}

/*サイドのサブメニュー
---------------------------------------------------------------------------*/
/*メニューブロック設定*/
#menu_side2 ul{ 
margin: 0; 
padding: 0; 
list-style-type: none; 
}
#menu_side2 li{ 
display: inline; 
padding: 0; 
margin: 0; 
}
#menu_side2 li a{
	display: block;
	border-width: 1px 1px 1px 8px;
	border-style: solid;
	border-color: #474655 #474655 #474655 green;
	background-color: #ffffff;
	padding-top: 3px;
	padding-right: 10px;
	padding-bottom: 3px;
	padding-left: 10px;
	text-decoration: none;
	color: #008000;
	width: 210px;
	margin-top: 1px;
	margin-right: 0px;
	margin-bottom: 1px;
	margin-left: 0px;
	text-align: left;
	font-size: 16px;
	font-weight: bold;
	font-family: "ＭＳ Ｐゴシック";
	letter-spacing: 0.1em;
}
#menu_side2 li a:hover{
border-left: 8px solid #474655;
border-top: 1px solid #474655;
border-right: 1px solid #474655;
border-bottom: 1px solid #474655;
background-color: #d7efd7;
}
#menu_side2 a:after{
	content:"";
	display:block;
	width:8px;
	height:8px;
	border-top: #666 2px solid;
	border-right: #666 2px solid;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}
#menu_side2 a{
	position:relative;
}
#menu_side2 a:after{
	position:absolute;
	right: 15px;
	top:0;
	bottom:0;
	margin:auto;
}

/*コンテンツ（main,subを囲むブロック）
---------------------------------------------------------------------------*/
#contents {
	clear: left;
	width: 997px;
	margin: 0px auto;
	padding-top: 10px;	/*メニューと下の左右のブロックの間に空ける余白*/
	padding-bottom: 25px;
}

/*メインコンテンツ（中央ブロック）
---------------------------------------------------------------------------*/
#main {
	float: right;	/*右側に回り込み*/
	width: 740px;	/*メインコンテンツ幅*/
}

/*サブコンテンツ
---------------------------------------------------------------------------*/
#sub {
	float: left;	/*左側に回り込み*/
	width: 255px;	/*サブコンテンツ幅*/
}

/*トップページ内「更新情報・お知らせ」ブロック
---------------------------------------------------------------------------*/
/*ブロック全体の設定*/
#new dl{
	overflow: auto;	/*高さ指定を超えるとiframe風にスクロールが出る設定。全部表示させたいならこの行と下のheightの行を削除。*/
	height: 150px;	/*ブロックの高さ*/
	padding-left: 10px;
}
/*日付設定*/
#new dt {
	font-weight: bold;	/*太字にする設定。標準がいいならこの行削除。*/
	float: left;
	width: 8em;
}
/*記事設定*/
#new dd {
	border-bottom: 1px solid #d2d2d2;	/*下線の幅、線種、色*/
	padding-left: 8em;
}
#new dd img {
	vertical-align: middle;
}

/*フッター設定(copyrightなどが入った最下部ブロック)
---------------------------------------------------------------------------*/
#footer{
	height: 25px;
	position: relative;
	bottom: 0;
	width: 997px;
	margin: 0px auto;
	clear: both;
	text-align: center;
	color: #FFF;	/*文字色*/
	background: #002aff;	/*背景色*/
}
#footer .pr {
	display: block;
	font-size: 80%;
}
#footer a {
	text-decoration: none;
	color: #FFF;
}
#footer a:hover {
	color: #FFF;
}

#footer2{
	height: 5px;
	position: relative;
	bottom: 0;
	width: 997px;
	margin: 0px auto;
	clear: both;
	text-align: center;
	color: #FFF;	/*文字色*/
	background: #ff8000;	/*背景色*/
}
#footer2 .pr {
	display: block;
	font-size: 80%;
}
#footer2 a {
	text-decoration: none;
	color: #FFF;
}
#footer2 a:hover {
	color: #FFF;
}
