@charset "UTF-8";


/* ========BASIC======== */
html {
   overflow-y:scroll;
}

body {
   margin:0;
   padding:0;
   line-height:1.6;
   letter-spacing:1px;
   font-family:"メイリオ", Verdana, Helvetica, sans-serif;
   font-size:12px;
   color:#333;
   border-top:3px solid #cc0000;
   background:#fff;
}

br {
   letter-spacing:normal;
}

a {
   color:#0089a1;
   text-decoration:underline;
}

a:hover {
   color:#0089a1;
   text-decoration:none;
}
#top a {
   font-weight:bold;
   color:#cc0000;
   text-decoration:none;
}

#top a:hover {
   font-weight:bold;
   color:#cc0000;
   text-decoration:underline;
}

img {
   border:0;
   vertical-align:bottom;
}

h1,h2,h3,h4,h5,h6,h7 {
   margin:0;
}

.red {
    color: #cc0000;
}
/* ========TEMPLATE LAYOUT======== */
#header {
   width:900px;
   margin:0 auto;
   position:relative;
   padding:0 5px;
}

#menu {
   width:100%;
   float:right;
   border-bottom:5px solid #003399;
   background:url("../images/bg_menu.gif") 0 0 repeat-x;
}

#icatchIndexWrap {
	clear:both;
	position:relative;
   z-index:-1
   overflow:hidden;
	height:300px;
	background:#ddd;
	background-color: #FFFFFF;
}
#icatchIndexWrap2 {
	clear:both;
	position:relative;
   z-index:-1
   overflow:hidden;
	height:60px;
	background:#ddd;
	background-color: #FFFFFF;
}

#icatchWrap {
   clear:both;
   position:relative;
   z-index:-1
   overflow:hidden;
   height:200px;
   background:#ddd;
}
#header ul#nav {
	position: absolute;
	width: 500px;
	top: 0px;	/*ヘッダーブロックに対して上から0pxの位置に配置*/
	right: 0px;	/*ヘッダーブロックに対して右から0pxの位置に配置*/
}
#header ul#nav li {
	float: left;
	padding-left: 0px;
}


#icatch {
   width:900px;
   margin:0 auto;
}

#contents {
   clear:both;
   position:relative;
   z-index:100;
   overflow:hidden;
   width:900px;
   margin:-60px auto 0 auto;
   background:#fff;
}

#main {
   float:left;
   width:640px;
   padding:10px;
   background:url("../images/bg_contents.gif") 100% 0 no-repeat;
}
#main2 {
   float:right;
   width:640px;
   padding:10px;
   background:url("../images/bg_contents.gif") 100% 0 no-repeat;
}

#sub {
   float:right;
   width:220px;
   padding:10px;
   background:url("../images/bg_contents.gif") 0 0 no-repeat;
}
#sub2 {
   float:left;
   width:220px;
   padding:10px;
   background:url("../images/bg_contents.gif") 0 0 no-repeat;
}



#pageTop {
   clear:both;
   width:900px;
}

#footer {
   clear:both;
   background:#ddd;
}

#footMenu {
   clear:both;
   overflow:hidden;
   width:900px;
   margin:0 auto;
   padding:30px 10px 30px 40px;
}


/* ========HEADER CUSTOMIZE======== */
#header h1 {
   margin:0;
   padding:0px;
   font-size:24px;
   color:#fff;
   line-height:70px;
}

#header h1 a {
   color:#333;
}

#header h1 a:hover {
   color:#666;
}

#header #pr p {
   margin:0;
   padding:10px 0;
   font-size:11px;
}

#header #gNavi {
   width:400px;
   position:absolute;
   top:0;
   right:0;
   margin:0;
   font-size:11px;
}


/* ========topページ画像スクロール======== */
$(function() {
	
	//初期設定
	var count = 0; //カウンター
	var carousel = $('#images'); //カルーセルする画像が梱包されているdiv
	var carouselUl = carousel.children();
	var carouselLi = carouselUl.find('li'); //カルーセルする画像リスト
	var imageWidth = carouselLi.find('img').width(); //画像の幅
	var imageLength = carouselLi.length; //画像の数
	
	carouselUl.clone().appendTo(carousel); //カルーセルする画像リストを複製して要素に追加
	carousel.css('width', carouselLi.length * imageWidth * 2); //カルーセルする画像リストの横幅を設定
	
	//アニメーション
	function carouselAnimate() {
		count ++; //アニメーションする度にカウンター変数を1ずつ加算して行く
		carousel.animate({
			'left' : '-=' +(imageWidth)
		}, 'slow',
			function(){
				positionInit()
			}
		);
	}
	
	//現在の表示されている画像を判別するメソッド
	function positionInit() {
		if(!(count % imageLength)) { //カウンターの数を画像の数で割った余りがゼロなら
			carousel.css({'left': 0});
			count = 0;
		}
	}
	
	setInterval(function() {
		carouselAnimate();
},2000);
	
});

/* ========MENU CUSTOMIZE======== */
#menu ul {
   overflow:hidden;
   width:900px;
   margin:0 auto;
   padding:0;
   border-right:1px solid #e5e5e5;
}

#menu li {
   float:left;
   color:#333;
   text-align:center;
   list-style-type:none;
}

#menu li a {
   display:block;
   width:179px;
   color:#333;
   line-height:50px;
   text-decoration:none;
   border-left:1px solid #e5e5e5;
}

#menu li a.active {
   color:#fff;
   text-decoration:none;
   background:url("../images/bg_menu_on.gif") 0 0 repeat-x;
}

#menu li a:hover {
   color:#fff;
   text-decoration:none;
   background:url("../images/bg_menu_on.gif") 0 0 repeat-x;
}


/* ========ICATCH CONTENTS CUSTOMIZE======== */
#icatch h2 {
   padding-top:30px;
}


/* ========MAIN CONTENTS CUSTOMIZE======== */
#main h2 {
   margin-bottom:8px;
   padding:2px 2px 2px 0;
   color:#5A5132;
   font-size:15px;
   font-weight:bold;
   border-bottom:3px double #5A5132;
}

#main h3 {
   color:#cc0000;
   margin-bottom:5px;
   padding:10px 10px 10px 30px;
   font-size:16px;
   background:#fff url("../images/job_h.gif");
   background-repeat:no-repeat;

}

#main h4 {
   margin-bottom:5px;
   padding:5px;
   font-size:14px;
   border-left:5px solid #cc0000;
   border-bottom:1px dotted #ddd;
}

#main h5 {
   color:#cc0000;
   margin-bottom:5px;
   padding:10px 10px 10px 30px;
   font-size:16px;
   background:#fff url("../images/job_h5.gif");
   background-repeat:no-repeat;

}
#main h6 {
   margin-bottom:5px;
   font-size:13px;
}


#main p {
   margin:0 0 1em 0;
}

#main dt {
   margin-bottom:3px;
}

#main dd {
   padding:0;
   margin:0 0 0.5em 1em;
   padding:3px;
   background:#eee;
}

/* INFORMATION CUSTOMIZE */
* html body #main dl.information dd div {
   display:inline-block;
}

#main dl.information dt {
   float:left;
   width:10em;
   margin:0;
   padding:0;
}

#main dl.information dd {
   margin:0 0 0.5em 10em;
   padding:0;
   background:transparent;
}

#main table {
   width:100%;
   border-collapse:collapse;
}

#main table th {
   padding:5px;
   font-size:12px;
   text-align:left;
   border:1px solid #ddd;
   background:#f0f7fc;
}

#main table td {
   padding:5px;
   font-size:12px;
   text-align:left;
   border:1px solid #ddd;
}
#main2 table {
   width:100%;
   border-collapse:collapse;
}

#main2 table th {
   padding:5px;
   font-size:12px;
   text-align:left;
   border:1px solid #ddd;
   background:#f0f7fc;
}

#main2 table td {
   padding:5px;
   font-size:12px;
   text-align:left;
   border:1px solid #ddd;
}


/* ========SUBCONTENTS CUSTOMIZE======== */
#sub .section {
   margin-bottom:10px;
   border:1px solid #E8E8E8;
}

#sub h3 {
   padding:10px 5px;
   font-size:13px;
   font-weight:bold;
   color:#fff;
   text-align:center;
   border:1px solid #fff;
   border-bottom:none;
   background:#0089a1 url("../images/bg_sub_h3.gif") 0 0 repeat-x;
}

#sub ul {
   margin:0;
   padding:5px 5px 1px 5px;
   border:1px solid #fff;
   background:#E8E8E8;
}

#sub li {
   margin-bottom:5px;
   padding:5px;
   line-height:1.4;
   border:1px solid #b5b5b5;
   list-style:none;
   background:#fff url("../images/bg_sub_list.gif") 0 0 repeat-x;
}

#sub li a {
   display:block;
   padding-left:5px;
   line-height:3.0;
   border-left:5px solid #0089a1;
}
#sub2 .section {
   margin-bottom:10px;
   border:1px solid #E8E8E8;
}

#sub2 h3 {
   padding:10px 5px;
   font-size:13px;
   font-weight:bold;
   color:#fff;
   text-align:center;
   border:1px solid #fff;
   border-bottom:none;
   background:#0089a1 url("../images/bg_sub_h3.gif") 0 0 repeat-x;
}

#sub2 ul {
   margin:0;
   padding:5px 5px 1px 5px;
   border:1px solid #fff;
   background:#E8E8E8;
}

#sub2 li {
   margin-bottom:5px;
   padding:5px;
   line-height:1.4;
   border:1px solid #b5b5b5;
   list-style:none;
   background:#fff url("../images/bg_sub_list.gif") 0 0 repeat-x;
}

#sub2 li a {
   display:block;
   padding-left:5px;
   line-height:3.0;
   border-left:5px solid #0089a1;
}
#sub .imgborder li a{
border-left:none;
}
#sub2 .imgborder li a{
border-left:none;
}



/* ========PAGETOP CUSTOMIZE========= */
#pageTop {
   padding:20px 0 4px 0;
   text-align:right;
}

#pageTop a {
   padding:5px 5px 5px 17px;
   background:#ddd url("../images/bg_pagetop.gif") 7px 50% no-repeat;
   font-size:11px;
}

/* --- サイトマップエリア --- */
ul.sitemap {
width: 100%; /* サイトマップエリアの幅 */
margin: 0;
padding: 0;
font-weight: bold; /* 一旦全ての文字を太字にする */
list-style-type: none;
font-size: 12px;
color: #2b2b2b;
}

/* --- 入れ子にされたリスト用 --- */
ul.sitemap ul {
margin: 0;
padding: 0;
list-style-type: none;
}

/* --- 全てのリスト項目 --- */
ul.sitemap li {
padding: 1px 0 0 10px; /* 1階層目のパディング（上右下左） */
background: url("../images/v_line1.gif") no-repeat left top; /* 1階層目の背景 */
line-height: 120%;
}

/* --- 2階層目のコンテナ --- */
ul.sitemap div.contentNav {
width: 100%; /* コンテナの幅 */
margin-top: 20px; /* コンテナの上マージン */
}

/* --- セクション（2階層目のリストエリア） --- */
ul.sitemap ul.section {
width: 49.9%; /* セクションの幅 */
float: left;
}
ul.sitemap ul.separator {
background: url("../images/v_separator.gif") repeat-y right top; /* セクション間の垂直区切り線 */
}

/* --- 2階層目以降のリスト項目 --- */
ul.sitemap ul.section li {
margin: 0 20px 20px 0; /* 2階層目のマージン（上右下左） */
padding: 1px 0 10px 15px; /* 2階層目のパディング（上右下左）上書き */
background: url("../images/v_line4.gif") no-repeat 5px 0; /* 2階層目の背景 上書き */
border-bottom: 1px #c0c0c0 dotted; /* 2階層目の下境界線 */
}

/* --- 3階層目以降のリストエリア --- */
ul.sitemap ul.section ul {
margin: 7px 0 0 8px; /* 3階層目以降のマージン（上右下左） */
font-weight: normal; /* 3階層目以降の文字をノーマルの太さに戻す */
}

/* --- 3階層目以降のリスト項目 --- */
ul.sitemap ul.section ul li {
margin: 0 0 6px 0; /* 3階層目以降のマージン（上右下左）上書き */
padding: 0 0 0 12px; /* 3階層目のパディング（上右下左）上書き */
background: url("../images/triangle5.gif") no-repeat 0 0.2em; /* 3階層目の背景 上書き */
border-bottom: none; /* 3階層目以降の下境界線 上書き */
}

/* --- 4階層目以降のリスト項目 --- */
ul.sitemap ul.section ul li li {
padding: 0 0 0 9px; /* 4階層目以降のパディング（上右下左）上書き */
background: url("../images/square.gif") no-repeat 0 0.4em; /* 4階層目以降の背景 上書き */
}

/* --- clearfix --- */
.clearFix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.clearFix {
min-height: 1px;
}

/* --- ここからリンクペページ --- */
dl.thumbnail div {
 float: left;
 margin: 0 50px 10px 0;
}
dl.thumbnail img {
 border: 2px solid #bbb;
 width: 160px;
 height: 120px;
}
dl.thumbnail a { 
display: block; 
}
dl.thumbnail dd {
 text-align: center;
 margin-left: 50px;
 margin-top: 2px;
}


/* ========FOOTMENU CUSTOMIZE======== */
#footMenu .section {
text-align:center;
   width:900px;
   padding:0;
}

#footMenu h3 {
   font-size:12px;
   border-bottom:1px dotted #999;
}

#footMenu ul {
   margin:0;
   padding:0;
}

#footMenu li {
   margin:0;
   padding:0;
   list-style:none;
}

#footMenu li a {
   padding-left:10px;
   font-size:11px;
   background:url(../images/bg_footmenu.gif) 0 50% no-repeat;
}


/* ========FOOTER CUSTOMIZE======== */
.copyright {
   clear:both;
   padding:10px 0;
   font-style:normal;
   font-size:11px;
   text-align:center;
}
