/*
Theme Name: 空き家見守り隊2021
Theme URI: http://iinamotto.com/
Description: 空き家みまわり隊 Responsible Web Design バージョン
Author: Inamoto co. ltd.
Author URI: http://iinamotto.com/
Version: 2.0
*/

/*
スマホ: 320px - 480px 
タブレット: 480 - 768px
PC: 768px以上
*/
 
/* 共通の設定 */

/*---------- Tag ----------*/

body {
  font-family:  "游ゴシック", YuGothic,"メイリオ", "ＭＳ Ｐゴシック", "Hiragino Kaku Gothic Pro" , Osaka, sans-serif;
  font-weight: 500;
  font-size: small;
  color: #444;
  max-width: 1000px;
  width: 100%;
  margin: 10px auto -10px;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  border: none;
}

* {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}

a:link { color: #36c; }

a:visited { color: #669; }

a:hover,a:active { color: #000; }

/* ---------- Div ---------- */

/* コンテナ */
#container {
  max-width: 100%;
  overflow: hidden;
}

/* ヘッダー */

#header {
}

#header #logo {
  float: left;
}

#header #logo span {
  font-size: 160%;
  font-weight: bold;
  color: #333;
  margin-left: 10px;
}

#header #tel {
  float: right;
}

#header:after {
	height: 0;
	visibility: hidden;
	content:".";
	display: block;
	clear: both;
}

/* メインナビゲーション */

#main_navi {
  height: 44px;
  background-color: #eee;
}

#main_navi ul {
  margin: 0;
  padding: 0;
}

#main_navi li {
  list-style: none;
  float: left;
  width: 20%;
}

#main_navi li a {
  display: block;
  height: 44px;
  padding-top: 12px;
  border: 1px solid #fff;
  text-align: center;
  text-decoration: none;
  color: #000;
}

/* コンテンツ */

#contents {
}

#contents h1 {
  font-size: 180%;
  background: #ffe1bf;
  margin: 20px 0;
  padding-left: 10px;
  color: #000;
  font-weight: 600;
  border-left: 10px solid #f80;
  border-top: 1px dashed #f80;
  border-bottom: 1px dashed #f80;
  border-right: 1px dashed #f80;  
}

#contents h2 {
  font-size: 160%;
  font-weight: 600;
  margin: 20px 0;
  padding-left: 10px;
  color: #000;
  border-left: 10px solid #f80;
  border-top: 1px solid #f80;
  border-bottom: 1px solid #f80;
  border-right: 1px solid #f80;  
}
#contents h1 a,
#contents h2 a {
  color: #000;
  font-weight: 600;
  text-decoration: none;
}

/* トップページ */

#toph1 {
  font-size: 125% !important;
  background: #fff !important;
  border: none !important;
}

.top3_box h2 {
  display: block;
  width: 100%;
  background: #aca;
  text-align: center;
  font-size: 140% !important;
  font-weight: bold;
  color: #fff !important;
  border-top: none !important;
  border-left : none !important;
  border-right: 1px solid #333 !important;
  border-bottom: 1px solid #333 !important;
}

.top3_box ul {
  margin-top: 10px;
  margin-left: 10px;
}

.top3_box li {
  list-style: disc;
}

/*　サイドバー　*/

#sidebar {
  background: #fff;
}

#sidebar:after {
	height: 0;
	visibility: hidden;
	content:".";
	display: block;
	clear: both;
}

#sidebar .widget {
  margin-bottom: 20px;
}

#sidebar h2 {
  font-size: 120%;
  font-weight: bold;
  color: #333 !important;
  margin-left: 0.5em;
}

#sidebar li {
  list-style: none;
}

#sidebar li li a {
  color: #333;
  text-decoration: none;
  padding: 12px 10px;
  display: block;
  min-height: 44px;
  font-size: 120%;
  border: 1px solid #1a6600;
  margin: 1px;
}

#sidebar ul.menu a:before {
  content: "▶";
  color: red;
}

#sidebar ul.sub-menu a:before {
  content: "";
  color: #fff;
}

#sidebar li li a:hover {
  background: #6db82c;
  color: #fff;
}

#sidebar .sub-menu a {
  margin-left: 1em;
  font-size: 90%;
  color: #333;
}

.widget_archive select {
  width: 100%;
}

.widget_recent_entries ul li a {
  color: #333 !important;
  font-size: 90% !important;
  margin-left: 1em;
}

.widget_categories ul li a {
  color: #333 !important;
  font-size: 90% !important;
  margin-left: 1em;
}

/* 検索フォーム */

#searchform:after {
	height: 0;
	visibility: hidden;
	content:".";
	display: block;
	clear: both;
}

#searchform label {
  display: none;
}

#s {
  border: solid 1px #ddd;
  width: 70%;
  height: 25px;
  margin-left: 5%;
  padding: 3px 8px;
  float: left;
}

#s:hover,
#s:focus {
  background: #eee;
}

#searchsubmit {
  width: 20%;
  height: 25px;
  float: left;
  margin-bottom: 20px;
  border: none;
}

#searchsubmit:hover {
  background-color: #aaa;
}

#no_result {
}

#no_result #s {
  max-width: 400px;
}

#no_result #searchsubmit {
  max-width: 30px;
}

/* アーカイブ選択 */

.screen-reader-text {
  display: none;
}

#sidebar select {
  width: 90%;
  margin-left: 5%;
}

/* ページネーション */

.pagenation {
  overflow: hidden;
}

.oldpage {
  float: left;
}

.newpage {
  float: right;
}


/* 記事 */

.post p {
  margin: 1em 0;
}

.postdate {
  color: #6DB82C;
  margin-left: 2em;
}

.post_content {
  margin: 20px;
}

.post h3 {
  color: #000;
  font-weight: 700;
  font-size: 140%;
  border-left: 10px solid #f80;
  border-bottom: 1px solid #f80;
  padding-left: 5px;
  margin: 1em 0;
}

.post h3 a {
  color: #000;
  font-weight: 700;
  text-decoration: none;
}

.post h4 {
  font-size: 130%;
  font-weight: bold;
  color: #000;
  border-bottom: dashed 1px #f80;
  margin: 1em 0;
}

.post h4 a {
  color: #000;
  text-decoration: none;
}

.post h5 {
  font-size: 120%;
	color: #000;
  font-weight: bold;
  border-bottom: solid #ccc 1px;
}

.post h6 {
  font-size: 110%;
	color: #000;
  font-weight: bold;
}

.post table {
  border-collapse: collapse;
  margin: 1em auto;
}

.post td,
.post th {
  border: 1px solid #ccc;
  padding: 0.2em 0.5em;
}

.post th {
  background: #F3D1A1;
}

.post dl {
  margin: 1em 0;
}

.post dt {
  font-size: 110%;
  font-weight: bold;
  color: #33664d;
}

.post dd {
  position: relative;
  top: -1.6em;
  margin-left: 7em;
}

.post ol {
  margin-left: 50px;
  list-style: decimal;
}

.post ul {
  margin-left: 50px;
  list-style: disc;
}

.post .upper_list {
  list-style: square;
  margin-bottom: 1em;
}

.big {
  font-size: 120%;
}

/* Youtube */

.youtubebox {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border: 1px solid #000;
  margin: 10px 0;
}

.youtubebox iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}



/*　トップページ　*/

#news .post h4 {
  font-weight: normal;
  font-size: 100%;
}

/* 固定ページ */

/* 空き家管理 */

.trouble {
  border: 1px solid #eee;
  padding: 10px;
  margin: 10px 0;
}


.taisaku {
  font-size: 120%;
  color: #6db82c;
}

.taisaku a {
  color: #6db82c;
  margin-left: 2em;
}

/* 料金表 */

.price {
  white-space: nowrap;
  text-align: right;
}

/* お問合せ */

em {
  color: #c22;
}

.wpcf7-form {
  width: 80%;
  padding: 10px;
  margin: 1em auto;
  background: #ffc;
}

.wpcf7-submit {
  width: 100px;
  height: 50px;
}


/* 記事内の画像 */

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
  margin-right: 10px;
  margin-bottom: 10px;
}

.alignright {
  float: right;
  margin-left: 10px;
  margin-bottom: 10px;
}

.wp-caption {
  border: solid 1px #aaa;
  text-align: center;
  padding-top: 5px;
}

.cb {
  clear: both;
}

.textcenter {
  text-align: center;
}

.textright {
  text-align: right;
}


/* フッター */

#footer {
  clear: both;
  background: #1a6600;
  padding: 20px;
  min-height: 150px;
}

#footer p {
  font-size: 90%;
  color: #fff;
}

#footer_left {
  float: left;
  margin-right: 20px;
}

#footer_center {
  float: left;
}

#footer_right {
  float: right;
}

#footer:after {
	height: 0;
	visibility: hidden;
	content:".";
	display: block;
	clear: both;
}


/* スマホのスタイル */


.post a {
  line-height: 44px;
}
  
/* タブレットのスタイル */
 
@media all and (min-width: 480px) {

#top3:after {
	height: 0;
	visibility: hidden;
	content:".";
	display: block;
	clear: both;
}

.top3_box {
  width: 49%;
  margin-right: 1%;
  float: left;
}

}
  
/* PCのスタイル */
 
@media all and (min-width: 768px) {

#contents {
  width: 74%;
  float: left;
  padding: 20px 0 20px 20px;
}

  #top1 img {
  width: 50%;
  float: left;
  padding: 2px;
}

#top2 {
  padding: 2px;
}

.top3_box {
  width: 32%;
}


#sidebar {
  width: 24%;
  float: right;
  padding: 20px 0;
}


#sidebar .widget {
  margin-bottom: 20px;
}

#sidebar h2 {
  font-size: 120%;
  color: #fff;
}

#sidebar li li a {
  text-decoration: none;
  padding: 2px 10px;
  display: block;
  min-height: 30px;
}

.post a {
  line-height: 1.6em;
}
  

}
 




