/*
Theme Name: YamaguchiKogyo Web Site
Theme URI: http://www.yamaguchi-kk.biz/
Description: The original theme of WEB CRAFT.
Version: 1.0
Author: WEB CRAFT
Tags: 
*/

/*----------------------------------------------------------------------------------------
  import
------------------------------------------------------------------------------------------*/
@import "table.css";


/*----------------------------------------------------------------------------------------
  全般設定
------------------------------------------------------------------------------------------*/
body {
	font-family: "メイリオ", "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
	font-size: 80%;
	line-height: 1.8;
	color: #333333;
	margin: 0px;
	padding: 0px;
	text-align: center;
	background: #eeeeee;
}

h1,h2,h3,p,ul,li{
	margin: 0px;
	padding: 0px;
}

ul{
	list-style-type: none;
}

img {
	border: none;
}

#main p, #sub p {
	margin: 0.5em 1em 1em;
}

a {
	text-align: right;
	text-decoration: underline;
	color: #330000;
}

a:hover {
	color: #BB000F;
}

.move_top {
	text-align: right;
	margin: 10px 0;
}


/*----------------------------------------------------------------------------------------
  ＨＰ全体のエリア
------------------------------------------------------------------------------------------*/
#wrapper {
	background: #FFFFFF url(images/bg.gif) repeat-y center;
	width: 843px;
	margin-right: auto;
	margin-left: auto;
}

/*----------------------------------------------------------------------------------------
  コンテナー
------------------------------------------------------------------------------------------*/
#container {
	text-align: left;
	width: 835px;
	margin-right: auto;
	margin-left: auto;
}

/*----------------------------------------------------------------------------------------
  ヘッダー
------------------------------------------------------------------------------------------*/
#header {
	height: 120px;
	background: #FFFFFF url(images/header_bg.gif) no-repeat center;
	position: relative;
}

#header h1 {
	font-size: 12px;
	font-weight: normal;
	line-height: 10px;
	padding: 8px 0 0 30px;
	color: #505050;
}

#header #logo {
	margin: 20px 0 0 20px;
}

#nav li {
	display: inline;
	text-align: right;
	margin: 0;
	padding: 0;
}

/*----------------------------------------------------------------------------------------
  メインラッパー
------------------------------------------------------------------------------------------*/
#contents {
	background: url(images/contents_bg.gif) repeat-y left;
	padding-top: 10px;
	margin-top: -7px;
}

/*----------------------------------------------------------------------------------------
  トップページ 全般設定
------------------------------------------------------------------------------------------*/
#main {
	float: left;
	width: 570px;
	display: inline;
	margin-right: 5px;
	margin-left: 5px;
}

#main #site-image {
	margin-top: 10px;
	margin-left: 10px;
}

#main h2 {
	margin-top: 10px;
	margin-left: 5px;
}

/*----------------------------------------------------------------------------------------
  トップページ　≪ポイント≫
------------------------------------------------------------------------------------------*/
#main #point {
	margin-left: 10px;
}

#main #point p {
	margin-top: 0px;
	margin-left: 20px;
	line-height: 130%;
}

/*----------------------------------------------------------------------------------------
  トップページ　≪主な業務内容≫
------------------------------------------------------------------------------------------*/
#main #service {
	line-height: 140%;
}

#main #service .panel1 {
	display: inline;
	position: relative;
	float: left;
	width: 270px;
	height: 250px;
	margin-top: 5px;
	margin-left: 20px;
	background: url(images/top_panel01.gif) no-repeat left;
}

#main #service .panel1 .text {
	margin: auto;
}

#main #service .panel1 p {
	margin: 55px 15px 10px 15px;
}

#main #service .panel2 {
	display: inline;
	position: relative;
	float: right;
	width: 270px;
	height: 250px;
	margin-top: 5px;
	background: url(images/top_panel02.gif) no-repeat left;
}

#main #service .panel2 p {
	margin: 55px 15px 10px 15px;
}

#main #service .panel3 {
	display: inline;
	position: relative;
	float: left;
	width: 270px;
	height: 250px;
	margin-top: 5px;
	margin-left: 20px;
	background: url(images/top_panel03.gif) no-repeat left;
}

#main #service .panel3 p {
	margin: 55px 15px 10px 15px;
}

#main #service .panel4 {
	display: inline;
	position: relative;
	float: right;
	width: 270px;
	height: 250px;
	margin-top: 5px;
	background: url(images/top_panel04.gif) no-repeat left;
}

#main #service .panel4 p {
	margin: 55px 15px 10px 15px;
}

#main #service .panel5 {
	display: inline;
	position: relative;
	float: left;
	width: 270px;
	height: 250px;
	margin-top: 5px;
	margin-left: 20px;
	background: url(images/top_panel05.gif) no-repeat left;
}

#main #service .panel5 p {
	margin: 55px 15px 10px 15px;
}

#main #service .link {
	display: block;
	position: absolute;
	text-align: right;
	right: 25px;
	bottom: 20px;
}

#main #inquiry {
	display: inline;
	position: relative;
	float: right;
	width: 270px;
	height: 250px;
	margin-top: 5px;
	background: url(images/top_inquiry.gif) no-repeat left;
}

#main #inquiry .link {
	display: block;
	position: absolute;
	text-align: right;
	right: 20px;
	bottom: 20px;
}

/*----------------------------------------------------------------------------------------
  サイドバー
------------------------------------------------------------------------------------------*/
#sub {
	float: right;
	width: 229px;
	color: #E78A47;
	padding-right: 10px;
	padding-left: 10px;
	margin-top: 7px;
}

#sub .block {
	margin-top: 30px;
}

#sub h3 {
	font-size: 120%;
	border: 3px double #FFFFFF;
	text-align: center;
	color: #ffffff;
	background: #ff8635;
	margin-top: 5px;
	margin-bottom: 5px;
	width: 225px;
}

#sub .block img {
	margin-bottom: 5px;
}

/*----------------------------------------------------------------------------------------
  カテゴリページ（共通）
------------------------------------------------------------------------------------------*/
#cat_contents h2.post_title {
	display: block;
	height: 41px;
	background: url(images/h_cat_common.gif) no-repeat left;
	margin-bottom: 0;
	padding: 10px 0 0 25px;
	_padding: 5px 0 0 25px;
	font-size: 120%;
}

#cat_contents .cat_posts {
	margin-bottom: 20px;
}

#cat_contents .cat_posts p {
	margin-left: 0;
}

#cat_contents .cat_posts .cat_posts_text {
	margin-left: 20px;
	line-height: 140%;
	font-size: 100%;
}

#cat_contents h3 {
	font-size: 130%;
	margin-top: 10px;
}

#cat_contents h3.deco {
	border-left: 5px solid #ff0000;
	border-bottom: 1px dotted #ff0000;
	/*margin-left: 5px;*/
	padding-left: 5px;
}

#cat_contents h3.deco2 {
	border-left: 5px solid #ff0000;
	border-bottom: 1px dotted #ff0000;
	margin-left: 10px;
	padding-left: 5px;
}
#cat_contents p .red {
	color: #ff0000;
	font-weight: bold;
}

#cat_contents p .line {
	font-weight: bold;
	text-decoration: underline;
}

#cat_contents blockquote.description {
	margin: 10px 20px;
	padding: 5px;
	border: 5px solid #dae2bb;
	background-color: #e5ebcf;
}

#cat_contents blockquote.flow {
	margin: 0 20px 10px 20px;
	padding: 5px 10px 1px 10px;
	/*border: 5px solid #dae2bb;*/
	background-color: #e5ebcf;
}

#cat_contents blockquote.indent {
	margin: 0 0 0 10px;
}

#cat_contents blockquote.indent2 {
	margin: 0 0 30px 20px;
}

#cat_contents .link {
	text-align: right;
	margin-right: 10px;
}

#cat_contents blockquote.rubafalt {
	margin: 10px;
	padding: 10px;
	border: 3px solid #d0d0d0;
	background-color: #F8F7E7;
}

#cat_contents .clear {
	clear: both;
}

#cat_contents .cat_inquiry {
	width: 520px;
	height: 130px;
	margin-left: 30px;
	background: url(images/cat_inquiry.gif) no-repeat left;
}

#cat_contents .cat_inquiry img.button {
	position: relative;
	top: 57px;
	left: 260px;
}

#cat_contents .faq {
	padding: 5px 0 10px 0;
	border-bottom: 2px solid #d0d0d0;
}

#cat_contents .question {
	background: url(images/question.gif) no-repeat 0% 40%;
	margin-left: 0px;
	padding-left: 45px;
	line-height: 300%;
	border-bottom: 1px dotted #d0d0d0;
}

#cat_contents .answer {
	background: url(images/answer.gif) no-repeat 0% 5%;
	margin-left: 0px;
	padding-top: 10px;
	padding-left: 45px;
}

#cat_contents .download  {
	margin-top: 10px;
	margin-bottom: 40px;
}

#cat_contents .download li {
	background: url(images/pdf_icon.gif) no-repeat 0% 5%;
	margin-left: 10px;
	/*margin-bottom: 10px;*/
	padding-top: 5px;
	padding-left: 25px;
	line-height: 150%;
}


/*----------------------------------------------------------------------------------------
  カテゴリページ（お問い合わせフォーム）
------------------------------------------------------------------------------------------*/
#cat_contents #contact-form {
	margin-left: -20px;
	padding: 0;
}


/*----------------------------------------------------------------------------------------
  パンくずリスト
------------------------------------------------------------------------------------------*/
#bread {
	font-size: 100%;
	line-height: 90%;
	margin-top: 10px;
	margin-left: 10px;
	margin-bottom: 10px;
}

/*----------------------------------------------------------------------------------------
  フッター
------------------------------------------------------------------------------------------*/
#footer {
	clear: both;
	width: 835px;
	text-align: center;
	background: #999999 url(images/footer.gif) no-repeat bottom;
	height: 70px;
	padding-top: 10px;
	color: #FFFFFF;
}

#footer .footer-nav {
	margin: 0;
}

#footer .footer-nav li {
	display: inline;
}

#footer .footer-nav li a {
	color: #ffffff;
	text-decoration: none;
}

#footer .footer-nav li a:hover {
	color: #ff8635;
	text-decoration: underline;
}


/*----------------------------------------------------------------------------------------
  clearfix
------------------------------------------------------------------------------------------*/
#contents:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
#contents { display: inline-block; }

/* Hides from IE-mac \*/
*html #contents { height: 1%; }
#contents { display: block; }
/* End hide from IE-mac */
