@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
#header-in, #navi-in, #content-in, #footer-in,#metaslider-id-2639 {
  width: 950px;
  margin: 0 auto;
  box-sizing: border-box;
}

#header-in {
	position: relative;
}

#content, .entry-content {
	margin-top: 0;	
}

@media screen and (max-width:950px) { 
	#header-in, #navi-in, #content-in, #footer-in{
		width: 100%;
	}
}
#sidebar {
  	float: right;
	width: 230px;
  	margin-top: 25px;
  	margin-bottom: 30px;
	padding-left: 0;
	padding-top: 0;
}

#main {
  width: 720px;
  border:0px;
  padding: 0px 0px 0px 0px;
}


#footer {
    background-color: #80C040;
}

/************************************
** ヘッダ
************************************/
#header .alignleft{
  	margin-left:0px;
  	margin-right: 0px;
	position:	relative; /* 相対位置指定 */  
}

.site-name-text-link{
	padding: 0;	
}

#h-top {
    min-height: 0px;
}

#site-title-m {
  margin-top:42px;
  margin-bottom:10px;
  font-size: 30px;
  line-height: 100%;
}
#site-title-640 {
	display:none;
}
.tagline {
	width:		100%;
  	text-align: right;
	top: 4px;
  	margin: 0px;
  	font-size: 12px;
	position: absolute;
}
#site-description-m {
	width:		90%;
  	text-align: right;
	top: -42px;
  	margin-top: 0px;
  	margin-right: 0px;
  	font-size: 7px;
        color: #777;
	font-weight: normal;
	line-height: 140%;
	position:	absolute; /* 絶対位置指定 */
}
@media screen and (max-width:639px){
	#site-title-m {
		display:none;
	}
	#site-title-640 {
		display:block;
		margin-top: 30px;
	}
	#site-description-m {
		top: -25px;
	}
}

/* 電話番号 */
a.tel {
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #777;
  line-height: 1.5;
}
@media screen and (max-width: 1110px){
	a.tel {
		font-size: 18px;
	}
}
/* 電話番号モバイル */
a.mtel {
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  color: #777;
  line-height: 1.5;
}

/************************************
** 見出し（H1-6）
************************************/
h1.entry-title{
	display: none;
}

.article h1 {
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 30px;
    line-height: 117%;
}

.article h3,
#comment-area h3,
#related-entries h3{
  font-size:23px;
  padding:10px 0 10px 70px;
  border: 0;
  background-image: url(images/h3_sakou.png);
  background-repeat: no-repeat;
}

.article h4{
	border-top: 0;
	border-bottom: solid 3px #efd79a;
}

.article h5, .article h6{
	border: 0;
}
.article h4, .article h5, .article h6{
  font-size:20px;
  padding:8px 0;
  margin-bottom: 20px;
}	
	

/* 投稿記事一覧のタイトル（margin-topを記事のH3に合わせる）*/
#archive-title{
  font-size:23px;
  padding:10px 0 10px 70px;
  margin-top: 35px;
  border-bottom: 0px;
  background-image: url(images/h3_sakou.png);
  background-repeat: no-repeat;
}

h2.rlist{
  color: #fff;
  font-size:20px;
  padding:5px 0 10px 10px;
  margin-top: 30px;
  margin-bottom: 5px;
  border-bottom: 0px;
  background-image: url(images/h2_renovation.png);
  background-repeat: no-repeat;
}


/************************************
** キャプション
************************************/
.wp-caption {
  padding-top: 4px;
  border: 1px solid #ddd;
  border-radius: 3px;
  background-color: #ffffff;
  text-align: center;
}
/************************************
** トップページ不動産情報
************************************/
#athome_d {
	display:block;
}
#athome_m {
	display: none;
}
@media screen and (max-width:720px){
	#athome_d {
		display: none;
	}
	#athome_m {
		display:block;
	}
}
/************************************
** トップページ　ニュース＆イベント情報最新記事5件
************************************/
#newslist {
	padding-bottom: 30px;
}
#newslist a{
	text-decoration:none;
	color:#000;
	font-size:15px;
}

#newslist a:hover {
	display:block;
	background:#ececeb;
}

#newslist dl{
	padding:18px 0 40px 0;
	margin: 0;
	background:url(images/broken_line_nomal.png) repeat-x 0 bottom;
	line-height: 150%;
}

#newslist dl dt{
	width:110px;
	font-size: 12px;
	font-weight:bold;
	float:left;
	padding-left:15px;
	box-sizing: content-box;
}

#newslist  dl dd{
	width:546px;
	margin: 0px;
	padding: 0px;
	padding-left:40px;
	font-size:14px;
	font-weight:bold;
	float: left;
	box-sizing: content-box;
}
/************************************
** トップページ　愛着の持てる家づくりを
************************************/
#top_iezukuri{
    	text-align: center;
	background-color:#fff8dd;
	border: solid 5px #eee8cc;
	box-shadow: 0px 0px 0px 5px #fff8dd;
	color: #002288;
}
#top_iezukuri h2{
    	font-family: 'Noto Serif JP', serif;
    	color: #002288;
    	font-size: 32px;
    	text-shadow: none;
    	line-height: 1.5;
    	font-weight: normal;
    	font-style: normal;
    	text-decoration: none;
	border: none;
	margin: 0px;
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: initial;
}

#top_iezukuri p{
	font-size: 16px;
	margin-top: 16px;
	margin-bottom: 16px;
}

@media screen and (max-width:440px){
	#top_iezukuri h2{
		font-size: 150%;
	}
	#top_iezukuri p{
		font-size: 85%;
	}
}

/************************************
** 新築
************************************/
#shinchikuleft{
	width: 630px;
	float: left;
}

#shinchikuright{
	width: 305px;
	float: right;
	margin-left:15px;
}

#shinchikuright h1{
	margin-top:0px;
	margin-bottom:8px;
	font-size: 22px;
}

#shinchikusesyu{
	margin-top:0px;
	font-size: 14px;
}
#shinchikusyoukai{
	margin-top:0px;
	color:#666;
}
#shinchikuleft a:hover img {
	opacity: 0.8;//画像をマウスオーバー時に透過させる
	filter: alpha(opacity=60);
}
.shinchiku_img1{
	margin-right: 10px;
}
.shinchiku_trim {
    overflow: hidden;
    width: 200px;/* トリミングしたい枠の幅 */
    height: 142px;/* トリミングしたい枠の高さ */
    position: relative;
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
}

@media screen and (max-width:639px){
	#shinchikuleft{
		width: 100%;
		float: none;
	}

	#shinchikuright{
		width: 100%;
		float: none;
		margin-left:0px;
	}
	#shinchikuright h1{
		margin-bottom:20px;
	}
}

@media screen and (min-width:441px) and (max-width:639px){
	.shinchiku_trim {
    		width: calc((100vw - 50px) / 3);
    		height: calc((100vw - 50px) * 0.236);
	}
}

@media screen and (max-width:440px){
	.shinchiku_trim {
    		width: calc((100vw - 40px) / 2);
    		height: calc((100vw - 40px) * 0.355);
	}
}



/************************************
** リフォーム
************************************/
#renovation {
	width: 950px;
	display:table;
}
@media screen and (min-width:740px) and (max-width:1110px){
	#renovation{width:740px;}
}
@media screen and (max-width:740px){
	#renovation{width:100%;}
}

#renovationleft {
	width: 250px;
	display:table-cell;
	vertical-align:top;
}
#renovationyajirushi {
	/*width: 40px;*/
	padding: 0 20px;
	display:table-cell;
	vertical-align:middle;
}
#renovationright {
	width: 620px;
	display:table-cell;
	vertical-align:top;
}
@media screen and (max-width:639px){
	#renovation {
		display:block;
	}
	#renovationleft {
		display:inline;
	}
	#renovationyajirushi {
		display:none;
	}
	#renovationright {
		width: 100%;
		display:block;
	}
}

.renovationsyoukai {
	margin-top:0px;
	color:#666;
}

.renovation_list {
    overflow: hidden;
    width: 304px;/* トリミングしたい枠の幅 */
    height: 216px;/* トリミングしたい枠の高さ */
    position: relative;
  margin:10px 5px 0 5px;
  border:1px solid #ddd;
  border-radius:5px;
  float:left;
  clear:none;
}

.renovation_list img{
  border:0;
  display: block;
}

.renovation_list_card {
    margin-top: 1px;
    margin-bottom: 4px;
    padding: 0 5px;
    line-height: 150%;
}

.renovation_list_card_link{
    font-size: 16px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

.renovation_trim {
    overflow: hidden;
    width: 305px;/* トリミングしたい枠の幅 */
    height: 217px;/* トリミングしたい枠の高さ */
    position: relative;
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
}

.renovation_trim_r {
    overflow: hidden;
    width: 305px;/* トリミングしたい枠の幅 */
    height: 217px;/* トリミングしたい枠の高さ */
    position: relative;
    margin-right: 0px;
    margin-bottom: 10px;
}

.renovation_ntrim {
    width: 305px;
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
}

.renovation_ntrim_r {
    width: 305px;
    float: right;
    margin-right: 0px;
    margin-bottom: 10px;
}
/************************************
** テーブル
************************************/
.article td{
  border: solid 0px;
}

/************************************
** 採用情報
************************************/
.saiyou th {
  width: 150px;
  padding: 30px 20px 30px 10px;
  text-align: left;
  border: solid 0px;	
  border-bottom: 1px solid #ddd;
  vertical-align: top;
  line-height: 1.2;
  background: #FFFFFF;
}
.saiyou td {
	padding: 30px 0;
	border-bottom: 1px solid #ddd;
	vertical-align: top;
}
table.saiyou a {
	padding: 10px;
	margin-bottom: 10px;
	color: #fff;
	font-weight: bold;
	box-sizing: border-box;
	background: #80C040;
	text-decoration: none;
	vertical-align: middle;
	border-radius: 10px 10px 10px 10px;
}
table div.fl {
	float: left;
	margin-right: 20px;
} 
@media screen and (max-width:440px){
	.saiyou th {
  		width: 25%;
  		padding: 30px 20px 30px 10px!important;
	}

	.saiyou td {
		padding: 30px 0!important;
	}
	table.saiyou a {
		display: block;
		width: 100%;
		text-align: center;
	}
	table div.fl {
		float: none;
		margin-right: 0px;
		margin-bottom: 10px;
	} 
}

table.saiyou a:hover {
	background: #fff;
	border: 1px solid #80C040;
	color: #80C040;
}
table.saiyou tr.pc {
	display:block;
}
table.saiyou tr.mb {
	display:none;
}

div.saiyou{
	text-align: center;	
}
div.saiyou ul{
	margin: 0;
	padding: 0;
	list-style-type: none;
}
div.saiyou li {
	display: inline-block;
	margin: 0 10px;
}
div.saiyou li a {
	display: table-cell;
	height: 80px;
	color: #fff;
	font-weight: bold;
	box-sizing: border-box;
	background: #80C040;
	text-decoration: none;
	vertical-align: middle;
	border-radius: 10px 10px 10px 10px;
}
div.saiyou li.w200 a{
	width: 200px;
}
div.saiyou li.w420 a{
	width: 420px;
}
div.saiyou li a:hover {
	background: #fff;
	border: 1px solid #80C040;
	color: #80C040;
}

.table-scroll {
  overflow-x: auto;
}
.table_design10 {
  border-collapse: collapse;
  min-width: 700px;
  font-weight: bold;
  text-align: center;
}
.table_design10 th, .table_design10 td {
  padding: .5em 1em;
  border: 2px solid #7bb743;
}
.table_design10 th {
  background: #7bb743;
  color: #fff;
  border-right: 2px solid #fff;
  border-top: 2px solid #7bb743;
}
.table_design10 th:last-of-type {
  border-right: 2px solid #7bb743;
}


/************************************
** コンタクトフォーム7
************************************/
input[type="submit"]
{
   font-size: 100%;
    padding-right: 100px;
    padding: 0.2em 0.4em;
    background: #80C040;
    color: #ffffff;
    border-radius: 4px;
    width: 50%;
    height:50px;
    cursor: pointer;
    box-shadow: 0 0 1px rgba(181, 235, 178, 1);
    border: 1px solid #ccc; 
}

/************************************
** メニュー
************************************/
#navi ul li a{
	font-size:18px;
}

#navi ul.sub-menu{
	min-width:250px;
}

#navi .sub-menu li{
	height:38px;
}
/************************************
** モバイルナビゲーション
************************************/
#navi-in .mobile-nav { display: none; }
@media screen and (max-width: 1110px){
    #navi-in .mobile-nav {
        display: block;
        padding: 10px 20px;
        color: #444;
        background-color: #efefef;
        cursor: pointer;
        font-weight: bold;
    }
    #navi-in .mobile-nav .fa-list {
        color: #aaa;
    }
    #navi-in .mobile-nav:hover {
        text-decoration: underline;
    }
    #site-title{
	margin-right: 0px!important;
    }
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
