@charset "utf-8";

*{margin:0;padding:0;}

html{background:#fff;}

body{
font:13px/1.5 "メイリオ","Meiryo",arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
color:#252525;
background:#ffffff url(images/header.png) repeat-x;
}

body#under {
background: url(images/header_under.png) repeat-x top;
}

a{color:#777777;}
a:hover{color:#919191;text-decoration:none;}
a:active, a:focus {outline:0;}
img{
	border:0;
}
.clear{clear:both;}
p{padding-bottom:10px;}
.center{text-align:center;}
.right{text-align:right;}


/*******************************
全体幅
*******************************/
#header , container, #wrapper, .inner{
margin:0 auto;
width:960px;
}


/*******************************
/* ヘッダー
*******************************/
#header{
position:relative;
height:120px;
}

#header h1,#header h2, #header h3, #header ul, #header .banners{
	position:absolute;
	top:2px;
	color:#fff;
	font-size:10px;
	font-weight:normal;
	line-height:28px;
	width: 216px;
	height: 26px;
}

#header h2{right:0;}

/* ロゴの位置 */
#header h3{top:40px;}


/******************
/* ヘッダーナビゲーション
******************/
#header ul{
	top:35px;
	right:58px;
	width:104px;
	height:15px;
	background:url(images/topnav.png) no-repeat 0 0;
	line-height:15px;
}

#header ul li{float:left;list-style:none;}

#header ul a{
text-indent:-9999px;
text-decoration:none;
display:block;
height:15px;
background:url(images/topnav.png) no-repeat;
}

#header ul a#sitemap{background-position:-110px 0;width:104px;}

#header ul a#sitemap:hover, #header ul li.active a#sitemap{background-position:-110px -15px;}


/******************
/* ヘッダー　バナー
******************/
#header .banners{
	right:1px;
	top:60px;
}

#header .banners img{margin-right:10px;}


/************************************
/* メインナビゲーション
************************************/
ul#mainnav{
margin:0 auto;
width:960px;
height:45px;
float:right;
background:url(images/mainnav.png) no-repeat 0 0;
}

ul#mainnav li{float:left;list-style:none;width:192px;}

ul#mainnav a{
text-indent:-9999px;
text-decoration:none;
display:block;
width:192px;
height:45px;
background:url(images/mainnav.png) no-repeat 0 0;
}

ul#mainnav a#home{background-position:0 0;}
ul#mainnav a#menu1{background-position:-192px 0;}
ul#mainnav a#menu2{background-position:-384px 0;}
ul#mainnav a#menu3{background-position:-576px 0;}
ul#mainnav a#menu4{background-position:-768px 0;}

ul#mainnav a#home:hover, ul#mainnav li.active a#home{background-position:0 -45px;}
ul#mainnav a#menu1:hover, ul#mainnav li.active a#menu1{background-position:-192px -45px;}
ul#mainnav a#menu2:hover, ul#mainnav li.active a#menu2{background-position:-384px -45px;}
ul#mainnav a#menu3:hover, ul#mainnav li.active a#menu3{background-position:-576px -45px;}
ul#mainnav a#menu4:hover, ul#mainnav li.active a#menu4{background-position:-768px -45px;}



/*******************************
メイン画像
*******************************/
#mainImage{
	width:960px;
	margin:8px auto;
}

/* トップページ　メインカラムの写真 */
.photoB{margin-bottom:5px;}


/*******************************
コンテンツ位置
*******************************/

/* メイン+ サイドバー右 */
#container{
	float:right;
	width:745px;
	margin:1px 0 18px;
}

#main{
float:left;
width:530px;
padding:20px 0 0;
}

#sidebarR{
	float:right;
	width:200px;
	padding:20px 0 0;
	margin:0 0 30px;
}

#sidebarR p{
padding:0 0 15px;
}

/* サイドバー左 */
#sidebarL{
	float:left;
	width:200px;
	padding:20px 0 0;
	margin:1px 0 30px;
}

#sidebarL p{
padding:0 0 15px;
}

/* トップページのサイドバーの上部スペースの調節 */
body.toppage #sidebarR,body.toppage #sidebarL{padding-top:20px;}

#date {
text-align: right;
padding-right: 15px;
padding-top: 5px;
padding-bottom: 10px;
font-weight:bold;
color:#858585;
}

#next {
text-align: center;
padding-top: 30px;
padding-bottom: 30px;
}

img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
img.alignright {
    padding: 4px;
    margin: 0 0 2px 7px;
    display: inline;
}
img.alignleft {
    padding: 4px;
    margin: 0 7px 2px 0;
    display: inline;
}
.alignright {
    float: right;
}
.alignleft {
    float: left;
}

.box_img_border{
   border: 1px solid #cccccc;
   padding: 1px;
  margin: 1px;
}


/*************************
/* ボックスの囲み
/* .boxContainer
/* 背景画像でボックスの高さを調整
/* 
/* 各ボックス
/* .box1 1番目の2つのbox
/* .box2 2番目の3つのbox（画像）
/* .box3 3番目の2つのbox
/* .box4 4,5番目の1つのbox
/* .boxS サイドバーのbox
*************************/
.boxContainer{
width:530px;
margin:0 auto 15px;
background:url(images/box1.png) 0 100%;
}

.box1, .box3, .box4{
float:left;
width:231px;
margin:0 20px 0 0;
padding:15px 12px;
}

.box1{
background:url(images/boxTop.png) 0 0 no-repeat;
}

.box2{
float:left;
width:160px;
margin:0 17px 5px 4px;
}

.box3{
	width:510px;
	padding:0 0 10px;
	border-top:0;
}

.box4{
margin:0 0 15px 0;
padding:0 0 10px;
width:530px;
border:0;
background:url(images/box.png) 0 100%;
}

.boxS{
width:200px;
margin:0px 0 15px;
padding:0 0 10px;
font-size:13px;
background:url(images/sidebarBox.png) 0 100%;
}

/* 最後のbox */
.last{margin-right:0;}


/* 画像を中央表示 */
.box1 .center{

}

/* 画像を左に回りこみ */
.box4 img{
float:left;
margin:0 10px 10px 11px;
}

.box4 h4 img{float:none;margin:0 0 10px;}

.box4 p{padding:0 12px 10px;}


/*************
/* 見出し
*************/
.box3 h4{margin-bottom:10px;}

#main h3{
	font-weight:bold;
	margin:0 1px 10px 0;
	padding:2px 0 5px 12px;
	color:#000066;
	border-bottom: 1px solid #ccc;
}

#main .boxT p{

}

#wrapper h2{
padding:0 5px 10px 5px;
margin-bottom:10px;
line-height:46px;
font-size:15px;
font-weight:normal;
color:#555555;
background:url(images/h2Bg.png) repeat-x 0 100%;
}

#wrapper .box4 h3{
font-weight:normal;
padding:7px 5px;
}

.boxS h3{
font-weight:normal;
padding: 0 5px 0 24px;
margin-bottom:7px;
line-height: 38px;
font-size:13px;
color:#fff;
background:url(images/sidebarH3.png) no-repeat 0 0;
}

.boxk{
	font-weight:normal;
	padding: 0 5px 0 15px;
	margin-bottom:7px;
	line-height: 38px;
	font-size:13px;
	color:#fff;
}

.center{
	padding: 0 0 35px 0
}

.title{
	margin:20px 10px 0 15px !important;
}
	
/*************
/* リスト
*************/
#wrapper ul{margin:0 6px;}

#wrapper ul li, #footerUpper ul li{
list-style:none;
margin-bottom:8px;
padding:0 5px 0 17px;
background:url(images/bullet.gif) no-repeat 0 5px;
}

#footerUpper ul li{background-position: 0 3px;}

#wrapper .box3 ul{padding:0 5px;}

#wrapper .boxS ul{margin-left:9px;}
.boxS p{margin:0 6px;}


#main .sectionBorder{
	margin: 0 5px 20px 5px;
	padding: 10px 10px;
	border: solid #393939 1px;
	min-height:1px;
}

/*******************************
/* バナー
*******************************/
#banners{
clear:both;
padding: 20px 0 20px;
text-align:center;
background:#e8e8e8;
border-bottom:1px solid #7a7a7a;
}

#banners img{margin-right:20px;}
#banners img.last{margin:0;}


.bana{
	padding:1px;
	background: #FFFFF0;
	border: 1px solid #999999;
}

.red{
	color:#F00;
	font-weight:bold;
}



/*******************************
/* フッター
*******************************/
#footerUpper{
clear:both;
padding:20px 0;
border-top:1px solid #e8e8e8;
border-bottom:1px solid #000;
overflow:hidden;
background:#252525;
}

#footerUpper .inner{
background:url(images/footerBorder.gif) repeat-y;
}

#footerUpper .inner .box{
float:left;
width:210px;
padding-left:10px;
margin:0 20px 10px 0;
line-height:1.2;
}

#footerUpper .inner .last{
width:230px;
margin-right:0;
}

#footerUpper a{color:#ffffff;}
#footerUpper a:hover{color:#e6e6e6;text-decoration:none;}


#footerLower{
clear:both;
padding:7px;
text-align:center;
border-top:1px solid #252525;
background:#000;
}

address{
font-style:normal;
font-size:13px;
color:#ffffff;
}

table { border-collapse:collapse;border-spacing:0; }

/*******************************
/* 登録カテゴリ
*******************************/

.boxcc{
	height:220px;
	padding: 5px;
	line-height:18px;
}

.boxcq{
	height:105px;
	padding: 5px;
}
.boxcq_text{
	padding:8px 5px;
}
