@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;
}

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: #333;
    font-size: 10px;
    font-weight: normal;
    line-height: 28px;
}

#header h2 {
    right: 0;
}

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

/******************
/* ヘッダーナビゲーション
******************/
#header ul {
    top: 35px;
    right: 0;
    width: 305px;
    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#contact {
    background-position: 0 0;
    width: 110px;
}

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

#header ul a#access {
    background-position: -214px 0;
    width: 91px;
}

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

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

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

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

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

/************************************
/* メインナビゲーション
************************************/
ul#mainnav {
    margin: 0 auto;
    width: 960px;
    height: 45px;
    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: 16px auto;
}

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

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

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

#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: 0 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: 255px;
    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 {
    padding-bottom: 10px;
}

/* 画像を左に回りこみ */
.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: normal;
    margin: 0 1px 10px 0;
    padding: 2px 0 5px 12px;
    color: #777777;
    border-bottom: 1px solid #ccc;
}

#main .boxT p {
    padding: 0 10px 25px 10px;
}

#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: #555555;
    background: url(images/sidebarH3.png) no-repeat 0 0;
}

/*************
/* リスト
*************/
#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;
}

/*******************************
/* バナー
*******************************/
#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;
}

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

#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 #959595;
    background: #6c6c6c;
}

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