@charset "utf-8";
/*
Description: theme029
Version: 1.0
Author: o2 Group
*/

*{margin:0;padding:0;}

body{
font: 14px/1.4 "メイリオ","Meiryo",arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
color:#252525;
background: #ffffff url(images/bg2.png) no-repeat center top;
}


a{color:#858585;text-decoration:none;}
a:hover{color:#aeaeae;}
a:active, a:focus {outline: 0;}
img{border:0;}
.clear{clear:both;}


/*************
全体
*************/
#wrapper{
margin: 0 auto;
padding: 0 20px;
width: 910px;
}

/*************
/* ヘッダー
*************/
#header{
/**background: url(images/header.png) no-repeat 100% 0;
height: 80px;**/
}

#hdrLogo { display: inline; float: left;}

#header h1 {
padding: 7px 0 10px;
/**font-size: 12px;**/
font-weight: normal;
color: #ffffff;    /*********************　←　ここで文字色変更可能　*********************/

/************************************要望1**********************************************/
width:626px;
font-size: 11px;
letter-spacing: -0.05em;
line-height: 1.2;
}


/************************************要望3**********************************************/
#header2{
     clear:both;
	 height:70px;
	 }

#header2 #header_btn{
     float:right;
	 width:680px;
	 height:80px;
	 }

#header2 #header_btn li{
     float:right;
	 list-style:none;
	 margin-left:8px;
}


/************************************要望2**********************************************/
#hdr{
position:relative;
}


#hdr #headerlink_right li{
display:inline;
float:right;
margin-left:20px;
margin-top:3px;
list-style-type:none;
list-style-image:none;;
list-style-position:outside;
font-size:11px;
}

#hdr #headerlink_right li a{
     color:#FFFFFF;    /*********************　←　ここで文字色変更可能　*********************/
	 }

#hdr #headerlink_right li a:hover{
     color:#FFFFFF;    /*********************　←　ここで文字色変更可能　*********************/
	 }


#hdr #headerlink_right{
position:absolute;
top:5px;
right:10px;
}




/*************
/* トップナビゲーション
*************/
ul#topnav{
margin: 15px 0;
width: 910px;
height: 46px;
background:url(images/topnav.png) no-repeat 0 0;
}

ul#topnav li{float:left;list-style:none;width:130px;}

ul#topnav a{
text-indent: -9999px;
text-decoration: none;
display: block;
width: 130px;
height: 46px;
background:url(images/topnav.png) no-repeat;
}

ul#topnav a#home{background-position:0 0;}
ul#topnav a#about{background-position:-130px 0;}
ul#topnav a#menu{background-position:-260px 0;}
ul#topnav a#faq{background-position:-390px 0;}
ul#topnav a#map{background-position:-520px 0;}
ul#topnav a#blog{background-position:-650px 0;}
ul#topnav a#link{background-position:-780px 0;}

ul#topnav a#home:hover, ul#topnav li.active a#home{background-position:0 -46px;}
ul#topnav a#about:hover, ul#topnav li.active a#about{background-position:-130px -46px;}
ul#topnav a#menu:hover, ul#topnav li.active a#menu{background-position:-260px -46px;}
ul#topnav a#faq:hover, ul#topnav li.active a#faq{background-position:-390px -46px;}
ul#topnav a#map:hover, ul#topnav li.active a#map{background-position:-520px -46px;}
ul#topnav a#blog:hover, ul#topnav li.active a#blog{background-position:-650px -46px;}
ul#topnav a#link:hover, ul#topnav li.active a#link{background-position:-780px -46px;}

li.active a#home{background-position:0 -42px;}
li.active a#guide{background-position:-213px -42px;}
li.active a#faq{background-position:-429px -42px;}
li.active a#mp{background-position:-573px -42px;}


/*************
メイン（右側）コンテンツ
*************/
#main {
float: right;
width: 618px;
padding: 30px 0;
display: inline;
}

#main .bannerM img{
padding-right: 10px;
padding-bottom: 15px;
}
#main .bannerM img.last{padding-right:0;}

#main h2{
margin-bottom: 10px;
padding: 0 10px 0px 30px;
line-height: 40px;
font-size: 15px;
font-weight: normal;
color: #858585;
background: #858585 url(images/heading.png) no-repeat;
}

#main h3 {
font-size: 14px;
line-height: 30px;
background: url(images/h3.png) no-repeat ;
padding-left: 15px;
padding-bottom: 10px;
margin-top: 20px;
letter-spacing: 0.2em;
color: #858585;
}

#main p {
padding: 15px 15px 15px 20px;
}

/* 画像を右に回りこみ */
#main p.withImage{
width: 598px;
margin: 20px 0 10px 10px;
padding: 5px 0;
}

#main p.withImage img{
float: right;
margin-left: .5em;
}

#date {
text-align: right;
padding-right: 15px;
padding-top: 15px;
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{
float: left;
width: 195px;
margin: 20px 16px 10px 0;
line-height: 1.2;
}

.box_img{
padding: 0px 0px 10px 0px;
}

.last{margin-right:0;}


/* ボタン */
p.button{
text-align: center;
font-weight:bold;
padding: 10px 0;
}

p.button a{
display:block;
line-height: 32px;
background: #ffffff url(images/button.png) no-repeat;
margin: 0 -20px;
}

p.button a{color:#aeaeae;}
p.button a:hover{color:#ffffff;}

p.button a:hover{
cursor:pointer;
background-position: 0 -32px;
}

/* メインとフッターのリスト位置調節 */
#main ul, #footer ul{margin-left: 20px;}
#main li, #footer li{margin-bottom: 3px;}


/*************
サイド（左側）コンテンツ
*************/
#sidebar {
float: left;
width: 265px;
height:1120px;
padding: 0px 0;
background:#FFFFFF url(images/sidebar_bg.jpg) repeat;
margin-bottom:10px;
}

#sidebar p{margin-bottom: 20px;}

#sidebar h3 {
margin-top: 5px;
padding: 0 10px 0 33px;
line-height: 40px;
font-size: 15px;
font-weight: normal;
color: #858585;
background: #858585 url(images/heading2.png) no-repeat;
}

#sidebar ul{
margin-left: 5px;
padding: 10px 0;
}

#sidebar li{
margin: 0 10px 10px 5px;
list-style: none;
border-bottom: 1px dashed #aeaeae;
}

#sidebar li a{
/**background: url(images/list.png) no-repeat 0 50%;**/
display: block;
padding-left:15px;
}

/************************************要望4**********************************************/
#sidebar li a:hover{
     /**background-position: 3px 50%;**/
	 /**background-color:#1970c3;**/　　/*********************　←　ここで背景色　変更可能　*********************/
	 color:#FFFFFF;
	 background:url(images/submenu_bg.png);  /*********************　←　ここで背景画像　変更可能　*********************/
	 }




/*************
/* フッター
*************/
#footer{
clear:both;
padding: 10px 0 10px;
border-top: 1px solid #aeaeae;


height:340px;
background-color:#0078bd;  /*********************　←　ここで背景色　変更可能　*********************/
background-position:center;
display:block;
}

#footer .inner{
overflow: hidden;
margin: 0 auto;
padding: 0 20px;
width: 910px;
height:340px;
background-image:url(images/footer_bg.png);  /*********************　←　ここで背景画像　変更可能　*********************/
display:block;
}

* html #footer .inner{height:1%;}

#footer #logo{
float:left;
padding: 10px 0 5px;
width: 292px;
}

#footer #gaiyou{
padding: 10px 0 5px;
width: 220px;
color:#FFFFFF;  /*********************　←　ここで会社概要の文字色　変更可能　*********************/
font-size:12px;  /*********************　←　ここで会社概要の文字の大きさ　変更可能　*********************/
}

#footer #box_wrapper{
     margin-left:150px;
	 float:right;
	 }

#footer #box_wrapper li{
	 list-style:none;
	 font-size:12px;
	 }

#footer #box_wrapper li a{
	 color:#FFFFFF;
	 }

#footer #box_wrapper li a:hover{
	 color:#FFFFFF;
	 text-decoration:underline;
	 }
	 

#footer address{
padding: 100px 0 3px;
text-align: center;
font-style:normal;
font-size: 12px;
clear:both;
display:block;
color:#FFFFFF;  /*********************　←　ここで「コピーライトの文字の色」　変更可能　*********************/
}

<!-- end_新着記事一覧 -->

<!-- トップ表示記事 -->
<?php query_posts('tag=トップ表示記事'); ?>
<?php if (have_posts()) : ?>
<div id="top-entry">
<?php while (have_posts()) : the_post(); ?>
<div class="top-entry-content">
	<h3 class="title"><?php the_title(); ?></h3>
	<div class="content">
	<?php the_content(__('詳細はこちら')); ?>
	<div class="clear"></div>
	</div>
</div>
<?php endwhile; ?>
</div>
<?php endif; ?>  
<!-- end_トップ表示記事 -->


/* ---------------------------------------------------------------------
Widget：[メイン]新着記事一覧
--------------------------------------------------------------------- */
#top-news {
	margin-bottom:20px;
}

#top-news h3 {
	margin: 0;
	background: url('images/m_top_news_h3_2cl.jpg') no-repeat left top;
	_height:1px;
	padding:5px 10px 0 10px;
	font-size:115% !important;
	font-size:110%;
	font-weight:bold;
}

#top-news .news {
	padding:2px 10px 2px 3px;
}

#top-news .day {
	float: left;
	width: 80px;
	padding: 0 0 0 15px;
	background: url('images/m_top_news_arrow.jpg') no-repeat 0 center;
	font-size:115% !important;
	font-size:110%;
}

#top-news .title {
	float: right;
	padding-left:7px;
	width: 450px;
}

/* ---------------------------------------------------------------------
Widget：[メイン]トップ表示記事
--------------------------------------------------------------------- */
.top-entry-content {
	margin-bottom:20px;
}

.top-entry-content h3.title {
	margin: 0;
	padding:5px 10px 0 10px;
	font-size:115% !important;
	font-size:110%;
	font-weight:bold;
	background: url('images/list.png') no-repeat left top;
}

.top-entry-content .content {
	padding:10px;
}

.top-entry-content .content img {
	background-color:#DCE2F3;
	padding: 3px;
}


