@charset "utf-8";
/*
Theme Name: theme228
Theme URI: http://theme.o2gp.com/
Description: theme228
Version: 1.0
Author: o2 Group
Author URI: http://theme.o2gp.com/
Tags: simple

	o2 Group v1.0
	 http://theme.o2gp.com/

	This theme was designed and built by o2 Group,
	whose blog you will find at http://theme.o2gp.com/

	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

*/

*{margin:0;padding:0;}

html{}

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

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

#mainnav .top-menu {display:none;}

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


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

.header_bar {background:url(images/header.png) no-repeat;height: 3px;width: 960px;}

#header h1,#header h2, #header h3, #header h4, #header ul, #mainImage, #header .banners{
position:absolute;
top:0;
color: #fff;
font-size: 12px;
font-weight: normal;
line-height: 30px;
}

#header h2{right:0;}

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

.search {float:right;}

/******************
/* ヘッダーナビゲーション
******************/
#header ul{
top: 85px;
right:0;
width: 123px;
height: 14px;
line-height:14px;
}

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

#header ul a{
text-decoration: none;
display: block;
height: 14px;
}

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

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


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

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

ul#mainnav a{
text-decoration: none;
display: block;
width: 192px;
height: 40px;
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 -40px;}
ul#mainnav a#menu1:hover, ul#mainnav li.active a#menu1{background-position:-192px -40px;}
ul#mainnav a#menu2:hover, ul#mainnav li.active a#menu2{background-position:-384px -40px;}
ul#mainnav a#menu3:hover, ul#mainnav li.active a#menu3{background-position:-576px -40px;}
ul#mainnav a#menu4:hover, ul#mainnav li.active a#menu4{background-position:-768px -40px;}



/*******************************
メイン画像
*******************************/
#mainImage{
top:125px;
}


/*******************************
コンテンツ位置
*******************************/
#container{
}

#container-body {
background:url(images/container-body.jpg) repeat-y;
width: 960px;
float: left;
}

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

#main-contact {
float: left;
width: 715px;
padding-bottom:40px;
text-align: center;
}
#main-contact h2 {
font-weight:normal;
padding: 0px 5px 0 20px;
margin-bottom:10px;
line-height:45px;
font-size: 20px;
color:#252525;
background:url(images/h2Bg.png) no-repeat 0 100%;
text-align: left;
}

#sidebar {
float: right;
width: 225px;
padding-bottom:40px;
font-size:13px;
}


/*************************
/* ボックスの囲み
/* .boxContainer
/* 背景画像でボックスの高さを調整
/* 
/* 各ボックス
/* .box1 1番目の2つのbox
/* .box2 2番目の3つのbox（画像）
/* .box3 3番目の2つのbox
/* .box4 4,5番目の1つのbox
/* #sidebar .box1 サイドバーのbox
*************************/
.boxContainer{
width:715px;
margin:0 auto 10px;
}

.box1 p {
padding:0 5px 0 5px;
}

.box1,.box2, .box3, .box4{
float: left;
width: 225px;
margin: 0 20px 10px 0;
}

.box1, .box3, .box4{
width:337px;
margin:0 21px 10px 0;
padding-right: 10px;
}

#sidebar .box1{
width:209px;
margin: 0 0 10px;
padding: 10px 7px;
}

.box3{
width:347px;
padding:0 0 10px;
}

.box4{
margin:0 0 20px 0;
padding:0;
width:715px;
}

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


/* 画像を中央表示 */
.box1 .center{padding-bottom:10px;}

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

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

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



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

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


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

#container h3{
font-weight:normal;
margin-bottom:10px;
padding:0 0 5px 10px;
color: #252525;
background:url(images/h2Bg.png) repeat-x 0 100%;
}

#container h2{
font-weight:normal;
padding: 0px 5px 0 20px;
margin-bottom:10px;
line-height:45px;
font-size: 20px;
color:#252525;
background:url(images/h2Bg.png) no-repeat 0 100%;
}

#container .box4 h3{
padding: 7px 5px;
}


/*************
/* リスト
*************/
#container ul{margin-left: 5px;}

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

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

#sidebar ul{margin-left:3px;}

/*************
サイド（右側）コンテンツ
*************/
#sidebar p{margin-bottom:10px;}
#sidebar ul{margin-bottom:0px;}
.twitter-widgets {float:left;margin-top:20px;}
.facebook {float:left;margin-top:20px;}

/*******************************
/* フッター
*******************************/

#footerUpper{
clear:both;
padding: 20px 0;
border-bottom:1px solid #656565;
overflow: hidden;
background:#4c4c4c;
}

#footerUpper .inner{
}

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

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

#footerUpper ul li{
color:#fff;
background:url(images/bullet.gif) no-repeat 0 3px;
}

#footerUpper a{color:#fff;}
#footerUpper a:hover{color:#acadad;}

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

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

