﻿/*
Theme Name: 株式会社加東建設2020
Theme URI: http://daiei-kensetsu.com/
Description: 株式会社加東建設 Responsible Web Design バージョン
Author: Inamoto co. ltd.
Author URI: http://iinamotto.com/
Version: 0.1
*/
/*
スマホ: 320px - 540px 
タブレット: 540 - 980px
PC: 980px以上　最大1200px
*/
/* 共通の設定 */
/*---------- Tag ----------*/
html {
  background: #fff;
}
body {
  font-family: Avenir, "Open Sans", "Helvetica Neue", Helvetica, Arial, Verdana, Roboto, "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: medium;
  color: #333;
  max-width: 1100px;
  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;
}
em {
  color: #c22;
}
/* ---------- Div ---------- */
/* コンテナ */
#container {
  max-width: 100%;
  overflow: hidden;
}
/* ヘッダー */
#header {
  margin: 20px 0;
}
#header::after {
  height: 0;
  visibility: hidden;
  content: ".";
  display: block;
  clear: both;
}
#header a {
  text-decoration: none;
}
#header #logo {
  float: left;
}
#header #logo img {
  float: left;
}
#header #logo h1 {
  color: #000;
  float: left;
  font-size: 52px;
  font-family: '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
  font-weight: 500;
  margin-left: 20px;
}
#header #description {
  clear: both;
  margin-left: 100px;
}
#header #tel {
  float: right;
}
/* フッター */
#footer {
  margin-top: 20px;
  padding: 20px;
  background: linear-gradient(#555,#222);
}
#footer:after {
  height: 0;
  visibility: hidden;
  content: ".";
  display: block;
  clear: both;
}
/* ナビゲーション */
#nav {
  height: 50px;
}
#nav li {
  float: left;
  background: #ccc;
	width: 16.666%;
	border: 1px solid #fff;
}
#nav li a {
  text-decoration: none;
	text-align: center;
  color: #000;
  display: block;
  height: 44px;
}
#nav li a:hover {
  font-weight: bold;
	color: #fff;
	background: #333;
}
/* 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;
}
/* 固定ページ */
/* お問合せ */
.wpcf7-form {
  padding: 10px;
  margin: 1em auto;
  background: #e0f0e0;
}
.wpcf7-form input {
  max-width: 100% !important;
}
.wpcf7-form textarea {
  width: 100% !important;
}
.wpcf7-submit {
  width: 100px;
  height: 50px;
}
/* 投稿 */
#contents {}
#contents::after {
  height: 0;
  visibility: hidden;
  content: ".";
  display: block;
  clear: both;
}
.post strong {
	font-weight: 600;
}
.post_content {}
.post p {
  margin: 1em 0;
}
.post h2 span {
  display: inline-block;
  width: auto;
  margin: 20px auto 30px;
  color: #fff;
  padding: 5px 30px;
  background: #e60013;
  box-shadow: 12px 6px 0 0 #ccc;
  font-size: 140%;
  font-weight: bold;
}
.post h2 a {
  color: #fff;
  text-decoration: none;
}
.post h3 {
  font-size: 160%;
  border-bottom: 1px solid #444;
  margin: 1em 0;
}
.post h3 a {}
.post h4 {
  font-size: 140%;
  color: #000;
  margin: 1em 0;
}
.post h4 a {}
.post h5 {}
.post h6 {}
.post h6 a {}
.post .postdate {
  font-size: 90%;
  font-weight: normal;
  color: #693;
}
.post table {
  border-collapse: collapse;
  margin: 1em auto;
  width: auto !important;
	border-top: 1px dashed #333;
}
.post tr {
border-bottom: 1px dashed #333;
}
.post th, .post td {
  padding: 1em;
	width: auto !important;
}
.post th {
	font-weight: 600;
}
.post ol, .post ul {
  padding-left: 3em;
}
.post ol li {
  list-style: decimal;
}
.post ul li {
  list-style: circle;
}
.wp-caption {
  border: solid 1px #aaa;
  text-align: center;
  padding-top: 5px;
}
/* 記事内の画像 */
.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 p {
  margin: 0;
}
.cb {
  clear: both;
}
.textcenter {
  text-align: center;
}
.textright {
  text-align: right;
}
/*  トップページ　*/

.news {
	width: 100%;
	height: 44px;
	padding-bottom: 5px;
	border-bottom: 1px dashed #ddd;
	clear: both;
}
.title {
	float: left;
}
.title a {
	text-decoration: none;
	color: #333;
}

.date {
  color: #1d2088;
	float: right;
}

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

}
/* スマホのスタイル */
#header #logo img {
  float: left;
	size: 24px;
}
#header #logo h1 {
  font-size: 40px;
  margin-left: 10px;
}
#menu1 li,#menu2 li {
	float:left;
	width: 25%;
	height: 44px;
}

#footer_menu li a {
  display: block;
  color: #fff;
  text-decoration: none;
}
#footer_menu ul::after {
  height: 0;
  visibility: hidden;
  content: ".";
  display: block;
  clear: both;

}
#footer_left {
	color: #fff;
}
#nav li a {
  padding: 12px 0px 15px 0px;
}

.size-medium {
	width: 100%;
}

/* タブレットのスタイル */
@media all and (min-width: 750px) {
#header #logo img {
	size: 32px;
}
#header #logo h1 {
  font-size: 46px;
  margin-left: 16px;
}
#footer_left {
  float: left;
  color: #fff;
}
#footer_menu {
  float: right;
}
#menu1, #menu2 {
  width: 150px;
  float: left;
}
	#menu1 li,#menu2 li {
	float:none;
	width: auto;
	height: 44px;
}


#footer_menu li a {
  display: block;
  height: 30px;
  color: #fff;
  text-decoration: none;
}
	#nav li a {
  padding: 12px 5px 15px 5px;
}
.size-medium {
	width: 50%;
}


}
/* PCのスタイル */
@media all and (min-width: 980px) {
#header #logo img {
  float: left;
	size: auto;
}
#header #logo h1 {
  font-size: 52px;
  margin-left: 20px;
}
	
	#tel {
		margin-top: 20px;
	}
	
	#footer {
  margin-top: 20px;
  padding: 20px;
  background: url("images/footer_bg.jpg") no-repeat right bottom;
}
	#footer_menu {
		padding-top: 20px;
	}
	#menu1 li,#menu2 li {
	float:none;
	width: auto;
	height: 30px;
}
#nav li a {
  padding: 12px 10px 15px 10px;
}
.size-medium {
	width: auto;
}


}