/*
Theme Name: 中野弘一税理士事務所
Theme URI: http://www.z-nakano.com/
Description: 中野弘一税理士事務所のテーマです。
Version: 1.0
Author: 中野弘一税理士事務所
*/

@CHARSET "UTF-8";

/* /////////////////////////////////////////////////////////////////

汎用クラス

///////////////////////////////////////////////////////////////// */


/* 見出し
----------------------------------------------------------------- */


/* 配置・ブロック
----------------------------------------------------------------- */

.relative{position:relative;}
.right{float:right;}
.left{float:left;}
.clear{clear:both;}
.center{text-align:center !important}
.block{display:block;}

.auto{width:auto;}

.padding0{padding:0}

.top{vertical-align:top}
.bottom{vertical-align:bottom;}


/* リストマーク・リンク
----------------------------------------------------------------- */

/* 別ウィンドウで開くマーク(IE未対応) */
a.blank:after{
  padding-left:5px;
  content:url('/wp-content/themes/z-nakano/img/mark_window.gif');
}


/* 汎用構造
----------------------------------------------------------------- */
.attention{
  margin:1.5em auto;
  
  border:1px solid #c6c6c6;
  background:#fffdcd;
}
.attention h3{
  margin:0.8em 0 0.5em 12px !important;
}

.attention li{
  font-weight:bold;
}

/* 文字装飾
----------------------------------------------------------------- */

.comment{color:#666;}
.small{font-size:0.8em;}







/* /////////////////////////////////////////////////////////////////

基本設定css

///////////////////////////////////////////////////////////////// */

/* 
----------------------------------------------------------------- */
*{
  padding:0;margin:0;
  font-family:"HiraKakuPro-W3", "ヒラギノ角ゴ Pro W3", "ＭＳ Ｐゴシック", "Osaka", sans-serif;
}

body{
  background:#fff url('/wp-content/themes/z-nakano/images/common/bg_body.gif') center top;
  text-align: center;

  font-size:75%;
  line-height:1.5em;
}

img{
  border:none;
}

li{
  list-style:none;
}

address{
  font-style:normal;
}


/* link
----------------------------------------------------------------- */

a:link{color:#377ed1;text-decoration: underline;}
a:visited{color:#828f9f;text-decoration: underline;}
a:hover{color:blue;text-decoration:none;}


/* wrapper
----------------------------------------------------------------- */

#wrapper{
  width:808px;
  text-align: center;
  margin:0 auto;
  
  background:transparent url('/wp-content/themes/z-nakano/images/common/bg_wrapper.gif') left top repeat-y;
}
#wrapper *{
  text-align:left;
}


/* container
----------------------------------------------------------------- */

#container{
  width:768px;
  margin:0 auto;
  background:transparent url('/wp-content/themes/z-nakano/images/common/bg_content.gif') center top repeat-y;
}


/* addressBox(共通)
----------------------------------------------------------------- */

.addressBox{
  width:250px;
  height:150px;
  
  float:right;
}

.addressBox *{
  vertical-align: middle;
}

.addressBox a{
  display: block;
  font-weight:bold;
  color:blue;
}

.addressBox span{
  display: block;
}
  
.addressTitle{margin-left:18px;margin-top:12px;font-size:medium;font-weight:bold;}
.addressTel{margin-left:16px;margin-top:6px;font-size:medium;font-weight:bold;}
.addressFax{margin-left:78px;margin-top:0;}
.addressMailtitle{margin-left:20px;margin-top:14px;font-size:medium;font-weight:bold;}
.addressMail{margin-left:112px;margin-top:1px;}


/* header
----------------------------------------------------------------- */

/* address(header) */
#header .addressBox{
  background:transparent url('/wp-content/themes/z-nakano/images/common/address/bg_header.gif') center top no-repeat;
}
  
#header{
  position:relative;
  width:768px;
  height:150px;
  margin:0 auto;
  background:transparent url('/wp-content/themes/z-nakano/images/common/bg_header.gif') center bottom repeat-x;
}

/* seo */
h1{
  width: 100%;
  float:left;
  
  margin-right:-280px;
  margin-top:6px;
  
  font-size:100%;
  font-weight:normal;
}

/* サイトタイトル（ロゴ） */
#title{
  position:absolute;
  left:0;
  top:36px;
  
  /* 画像非表示の場合のスタイル */
  font-size:large;
  font-weight:bold;
}


/* side
----------------------------------------------------------------- */

#side{
  width:168px;
  float:left;
  
  padding-top:38px;
  
  background:transparent url('/wp-content/themes/z-nakano/images/common/title_sidemenu.gif') left top no-repeat;
}

#side ul{
  padding-left:16px;
  margin-bottom:1.5em;
}

#side ul li{
  list-style:square;
}

/* 入れ子要素をリセット */
#side ul ul{
  padding-left:0;
}

#side ul li li{
  list-style:none;
}

#side ul li li a{
  padding-left:16px;
  background:transparent url('/wp-content/themes/z-nakano/images/common/listmark_sidemenu.gif') left top no-repeat;
}

#side ul#toTop{
  padding:0;
}

#side ul#toTop li{
  list-style:none;
}

#side ul#toTop a{
  padding-left:16px;
  background:transparent url('/wp-content/themes/z-nakano/images/common/listmark_sidemenu_toTop.gif') left top no-repeat;
}


/* main
----------------------------------------------------------------- */

#main{
  width:585px;
  float:right;
  margin-left:12px;
}

#main h2{
  clear:both;

  padding:3px 0 3px 8px;
  margin-bottom:0.5em;

  font-size:medium;

  border-left:4px solid #ddd;
  border-bottom:1px solid #ccc;
}

#main h3{
  font-size:100%;
}

#main p{
  margin:0 6px 1em 12px;
}

#main ul,#main ol{
  margin:0 0 12px 12px;
  padding-left:16px;  
}

#main ul li{
  list-style: square;
}

#main ol li{
  list-style:decimal;
}

#main ol ul li{
  list-style:square;
}

  
/* address
----------------------------------------------------------------- */

/* address(footer) */
#address .addressBox{
  background:transparent url('/wp-content/themes/z-nakano/images/common/address/bg_footer.gif') center top no-repeat;
}

#address{
  padding-bottom:1.5em;  
}

#address address{
  margin-left:12px;
}

#address .comment{
  display:block;
}

#address h3{
  border:0 !important;
  padding:0 !important;
  margin:0 !important;
  
  margin-left:12px !important;
  margin-bottom:4px !important;
  
  color:#000 !important;
  font-size:100% !important;
  border-bottom:1px dashed #b2b2b2 !important;
}
    
/* footer
----------------------------------------------------------------- */
  
#footer{
  clear:both;
  
  width:100%;
  
  padding-top:50px;
  padding-bottom:2em;
  
  background:#fff url('/wp-content/themes/z-nakano/images/common/bg_footer.gif') left top repeat-x;
  
  font-size:0.8em;
  font-family:"HiraKakuPro-W3", "ヒラギノ角ゴ Pro W3", "Verdana", "ＭＳ Ｐゴシック", "Osaka", sans-serif;
}

/* /////////////////////////////////////////////////////////////////

テーブル設定

///////////////////////////////////////////////////////////////// */

/* 全体
----------------------------------------------------------------- */
table{
  margin:1em auto;
  margin-bottom:2em;
  
  border:1px solid #ccc;
  border-collapse:collapse;
}

th,td{
  width:30%;
  
  border:1px solid #ccc;
  padding:4px 8px;
  
}

thead th{
  color:#fff;
  border:1px solid #ccc;
  background:#1354c2;
  
  text-align: center !important;
}

th{
  white-space:nowrap;
  border-right:4px solid #ddd;
}

td{
  padding-left:12px;
}

/* /////////////////////////////////////////////////////////////////

コンテンツページcss（上書きしたい要素）

///////////////////////////////////////////////////////////////// */

/* ぱんくず（navigation）
----------------------------------------------------------------- */

#main #navigation{
  padding:0;margin:0 0 1.5em 0 !important;
}

#main #navigation li{
  list-style: none;
  display: inline;
}

/* 見出し
----------------------------------------------------------------- */

h2#firstChild{
  border:0;
  padding:0;
  margin-bottom:1.5em;
}

#main h2{
  margin-top:1.5em;
}
  
#main h3{
  padding:2px 0 2px 8px;
  margin:1em 0 0.8em 12px;
  
  font-size:medium;
  border-left:4px solid #ddd;
  color:#1354c2;
}

#main h4{
  margin-left:12px;
  margin-bottom:4px;
  
  color:#000;
  font-size:100%;
  border-bottom:1px dashed #b2b2b2;
}

/* ページ別アピール
----------------------------------------------------------------- */

#newAttention{
  background:#fffdcd url('/wp-content/themes/z-nakano/images/contents/new/bg_attention_new.gif') right bottom no-repeat;
  min-height:140px;
}

#personalAttention{
  background:#fffdcd url('/wp-content/themes/z-nakano/images/contents/personal/bg_attention_personal.gif') right bottom no-repeat;
  min-height:195px;
}

#companyAttention{
  background:#fffdcd url('/wp-content/themes/z-nakano/images/contents/company/bg_attention_company.gif') right bottom no-repeat;
  min-height:195px;
}


/* 所長紹介ページ(about.html)
----------------------------------------------------------------- */

#aboutTable table{
  float:left !important;
  width:380px;
  margin:18px 0 2em 0;
}

  #aboutTable table *{
    padding:12px;
  }
  
  #aboutTable table th{
    width:150px;
  }
  
  #aboutTable table td{
    text-align: left !important;
    width:230px;
  }

#aboutTable img{
  float:right;
  width:180px;
  margin:1em 0;
  
  border:1px solid #ccc;
}

#aboutTable h3{
  margin-top:60px !important;
  float:left;
  width:350px;
}

/* /////////////////////////////////////////////////////////////////

トップページ専用css

///////////////////////////////////////////////////////////////// */

/* table
----------------------------------------------------------------- */
table.top{
  margin:0;
  padding:0;
  border-style:none;
}

table.top th, table.top td{
  margin:0;
  padding:2px;
  border-style:none;
  text-align: left !important;
}


/* appeal
----------------------------------------------------------------- */

#appeal{
  display:block;
  
  width:584px;
  height:120px;
  
  margin-bottom:2em;
  
  border:1px solid #ccc;
  background: url('/wp-content/themes/z-nakano/images/top/bg_appeal.gif') left top no-repeat;
  
  color: #fff;
  font-size:1.5em;
}

#appeal *{
  margin-top:16px;
  margin-left:16px;
}


/* service
----------------------------------------------------------------- */
#new,#company,#personal,#inheritance{
  width:196px;
  float: left;
  padding-bottom:2em;
  margin-bottom:1.5em;
  
  background: url('/wp-content/themes/z-nakano/images/top/bg_service.gif') left bottom no-repeat;
}

  #new ul,#company ul,#personal ul,#inheritance ul{
    margin:16px 0 2em 12px; 
    padding-left:15px;
    
    color:#000;
  }
  
    #new li,#company li,#personal li,#inheritance li{
      list-style:disc;
    }
  #new a,#company a,#personal a,#inheritance a{
    display:block;
    text-decoration: none;
  }
  
/* 上書き */

#new{
  background: url('/wp-content/themes/z-nakano/images/top/bg_service_beginner.gif') left bottom no-repeat;
}

#personal{
  width:192px;
  background: url('/wp-content/themes/z-nakano/images/top/bg_service_personal.gif') left bottom no-repeat;
  
  padding-bottom:3.5em;
}

#inheritance{
  width:293px;
  background: url('/wp-content/themes/z-nakano/images/top/bg_service_inheritance.gif') left bottom no-repeat;
}

/* 相続税診断 */
#inheritanceDiagnosis{
  width:279px; /* 584(#main)-293(#inheritance)-12(余白) */
  float:right;
  
  background: #f4f4f4;
}

#inheritanceDiagnosis ul{
  margin:11px 0 4px 11px;
}

#inheritanceDiagnosis li{
  padding:0;
  list-style:none !important;
}

#inheritanceDiagnosis *{
  vertical-align: middle;
}

#inheritanceDiagnosis p,
#inheritanceDiagnosis h3{
  text-align:center;
}

#inheritanceDiagnosis p{
  margin:6px;
}

