@charset "utf-8";
/*
Theme Name: REF
Theme URI: http://www.ref-online.com/
Description: アール・イー・エフ専用テーマ
Version: 1.0
Author: ＭＭネットサービス株式会社
Author URI: http://www.ref-online.com/
Tags: simple
*/

* {
	margin:0;
	padding:0;
}
body {
    background: none repeat scroll 0 0 #F2F2F2;
    color: #000000;
    font: 12px/1.6 "メイリオ","Meiryo",arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
}
a {
	color:#000000;
	text-decoration:none;
}
a:hover {
    color: #FF1D25;
    text-decoration: underline;
}

a:active, a:focus {
	outline: 0;
}
img {
	border:0;
}
.clear {
	clear:both;
}

/*************
全体
*************/
#wrapper {
    background: none repeat scroll 0 0 #FFFFFF;
    margin: 0 auto;
    padding: 0 0px;
    width: 950px;
}
/*************
/* ヘッダー
*************/

#header {
    background: url("images/tel.jpg") no-repeat scroll 100% 60px transparent;
    height: 130px;
    margin-right: 20px;
    margin-left: 20px;
}
#header h1 {
    font-size: 12px;
    font-weight: normal;
    padding: 7px 0 10px;
}
#header_left {
	float: left;
	width: 400px;
}
#header_right {
	float: right;
}
div#header form#search_form_top {
	display:block;
	float:right;
	height:24px;
	margin-top: 10px;
	width:300px;
}
div#header form#search_form_top input.search_text {
	border-color:#808080 #808080 #D4D0C8 #D4D0C8;
	border-style:solid;
	border-width:1px;
	float:right;
	height:14px;
	padding:3px;
	width:180px;
}
div#header form#search_form_top input.search_button {
	clear:right;
	float:right;
	margin-left:4px;
}

/*************
/* トップナビゲーション
*************/
#navi {
	clear: both;
	width: 950px;
	height: 45px;
	margin-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 0px;
}
#navi ul {
	margin: 0 auto;
	padding: 0;
	width: 950px;
}
#navi li {
	float: left;
	list-style-type: none;
}
#navi a, 
#navi a:hover {
	display:block;
	width: 150px;
	height: 45px;
	line-height: 45px;
	text-decoration: none;
	color: #000000;
	text-align: center;
	font-size: 1.1em;
	background: transparent url(images/navi.jpg) no-repeat top left;
}

#navi li.aboutus a {
	text-indent: -9999px;
	background-position: 0 0;
}
#navi li.aboutus a:hover {
	background-position: 0px -45px;
}
#navi li.aboutus a.selected {
	background-position: 0px 0px;
}
#navi li.service a {
	text-indent: -9999px;
	background-position: -150px 0;
}
#navi li.service a:hover {
	background-position: -150px -45px;
}
#navi li.service a.selected {
	background-position: -150px 0px;
}
#navi li.gallery a {
	text-indent: -9999px;
	background-position: -300px 0;
}
#navi li.gallery a:hover {
	background-position: -300px -45px;
}
#navi li.gallery a.selected {
	background-position: -300px 0px;
}
#navi li.voice a {
	text-indent: -9999px;
	background-position: -450px 0;
}
#navi li.voice a:hover {
	background-position: -450px -45px;
}
#navi li.voice a.selected {
	background-position: -450px 0px;
}
#navi li.company a {
	text-indent: -9999px;
	background-position: -600px 0;
}
#navi li.company a:hover {
	background-position: -600px -45px;
}
#navi li.company a.selected {
	background-position: -600px 0px;
}
#navi li.contact a {
	text-indent: -9999px;
	background-position: -750px 0;
	width: 200px;
}
#navi li.contact a:hover {
 background-position: -750px -45px;
}
#navi li.contact a.selected {
 background-position: -750px 0px;
}

/* ------------------------
	breadcrumbs
------------------------ */
#breadcrumbs {
	width: 960px;
	margin-left: auto;
	margin-right: auto;
}

#breadcrumbs ul {
	float: left;
	width: 100%;
	list-style: none;
	padding: 0;
	margin-left: 0;
	margin-right: 0;
	margin-top: 10px;
	margin-bottom: 10px;
}

#breadcrumbs ul li {
	float: left;
	margin: 0 5px 0 0;
	padding: 0;
}

#breadcrumbs  ul li.bc_home {
	padding-left: 16px;
	background: transparent url(images/pan_home.gif) no-repeat center left;
}

#breadcrumbs  ul li {
	padding-left: 16px;
	background: transparent url(images/pan_raquo.gif) no-repeat center left;
}

/*************
/* トップナビゲーション
*************/
ul#topnav {
	margin: 15px 0;
	width: 910px;
	height: 46px;
}
ul#topnav li {
	float:left;
	list-style:none;
	width:130px;
}
ul#topnav a {
	display: block;
	width: 130px;
	height: 46px;
}
/*************
メイン（右側）コンテンツ
*************/
#main {
	float: right;
	width: 618px;
	padding: 20px 0;
	display: inline;
	margin-right: 20px;
}
#main .bannerM img {
	padding-right: 10px;
	padding-bottom: 15px;
}
#main .bannerM img.last {
	padding-right:0;
}
#main h3 {
	line-height: 30px;
	background: url(images/h3.png) no-repeat;
	padding-left: 28px;
	padding-bottom: 5px;
	margin-top: 25px;
	margin-bottom: 20px;
	color: #333333;
}

#main h4 {
	line-height: 30px;
	background: url(images/h4.png) no-repeat;
	padding-left: 28px;
	padding-bottom: 5px;
	margin-top: 10px;
	color: #333333;
}

#main p {
	padding: 10px 10px 10px 10px;
}
#date {
	text-align: right;
	padding-right: 15px;
	padding-top: 15px;
	padding-bottom: 10px;
	font-weight:bold;
	color:#6c6c6d;
}
#next {
	text-align: center;
	padding-top: 30px;
	padding-bottom: 30px;
}

.navigation {
	float: left;
	width: 100%;
	margin-top: 20px;
	padding-top: 10px;
	border-top: solid 2px #C5C700;
}
.navigation a {
	text-decoration: none;
	color: #000000;
	font-size: 1.1em;
	line-height: 1.5;
}
.navigation a:hover {
	text-decoration: underline;
    color: #FF1D25;
}
.navigation .align_left {
	width: 45%;
	float: left;
	padding-left: 10px;
}
.navigation .align_right {
	width: 45%;
	float: right;
	text-align: right;
	padding-right: 10px;
}

img.f_right {
    margin: 0 0 15px 20px;
}

.f_right {
    float: right;
}

.table01 th {
    border: solid 1px #FFFFFF;
    background: #F5F5F5;
    font-weight: bold;
    line-height: 1.5;
    color: #000000;
    width: 165px;
    text-align: left;
    padding-bottom: 4px;
    padding-left: 1em;
    padding-top: 4px;
}
.table01 td {
    line-height: 1.5;
    padding-bottom: 4px;
    padding-left: 1em;
    padding-top: 4px;
}

/* フッター共通 */
.box {
	color: #FFFFFF;
	float: left;
	width: 160px;
	margin: 20px 16px 10px 0;
	line-height: 1.5;
	font-size: 12px;
}
.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:#fff;
}
p.button a:hover {
	color:#d9e8ff;
}
p.button a:hover {
	cursor:pointer;
	background-position: 0 -32px;
}
/* メインとフッターのリスト位置調節 */
#main ul, #footer ul {
	margin-left: 20px;
}

#main li, #footer li {
	margin-bottom: 3px;
}

#main li {
	list-style: none;
}

#main .list_default li {
	margin-top: 4px;
	margin-bottom: 4px;
	font-size: 1.1em;
}
#main .list_default li a {
	background: url(images/list.png) no-repeat 0 50%;
	display: block;
	padding-left:15px;
}
#main .list_default li a:hover {
	background-position: 3px 50%;
}


/*************
サイド（左側）コンテンツ
*************/
#sidebar {
	float: left;
	width: 265px;
	padding: 20px 0;
	margin-left: 20px;
}
#sidebar p {
	margin-bottom: 20px;
}
#sidebar h3 {
	width: 265px;
	height: 30px;
}
#ttl_news_side {
	text-indent: -9999px;
	background: transparent url(images/ttl_news_side.gif) no-repeat;
}
#ttl_voice_side {
	text-indent: -9999px;
	background: transparent url(images/ttl_voice_side.gif) no-repeat;
}
#ttl_consultation_side {
	text-indent: -9999px;
	background: transparent url(images/ttl_consultation_side.gif) no-repeat;
}
#ttl_case_side {
	text-indent: -9999px;
	background: transparent url(images/ttl_case_side.gif) no-repeat;
}

#sidebar ul {
	margin-left: 5px;
	padding: 10px 0;
}
#sidebar li {
	margin: 0 10px 10px 5px;
	list-style: none;
	border-bottom: 1px dashed #6c6c6d;
}
#sidebar li a {
	background: url(images/list.png) no-repeat 0 50%;
	display: block;
	padding-left:15px;
}
#sidebar li a:hover {
	background-position: 3px 50%;
}
/*************
/* フッター
*************/
#footer {
    background: none repeat scroll 0 0 #000000;
	clear:both;
	padding: 10px 0 10px;
}

#footer a {
	color:#FFFFFF;
	text-decoration:none;
}
#footer a:hover {
	color:#999999;
}
#footer a:active, a:focus {
	outline: 0;
}

#footer .inner {
	overflow: hidden;
}
* html #footer .inner {
	height:1%;
}
#footer #logo {
	float:left;
	padding: 10px 20px 5px;
	width: 300px;
}
address {
	margin: 0 auto;
	padding: 3px 0 3px;
	color: #999999;
	text-align: center;
	font-style:normal;
	font-size: 10px;
	clear:both;
	display:block;
	background: #000000;
	width: 950px;
}
/*************
/* BLOG
*************/
#ttl_blog {
	text-indent: -9999px;
	background: transparent url(images/ttl_blog.gif) no-repeat top left;
	width: 618px;
	height: 30px;
	margin-bottom: 15px;
}

#container {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 35px 0 0;
}

#container p {
    margin-bottom: 15px;
    padding: 0 10px;
}

/*************
/* 一覧
*************/
.post_date {
	text-align: right;
	margin-bottom: 10px;
}

.excerpt_more {
	text-align: right;
}