/*
Theme Name: yamasaki_child
Theme URI: https://athemes.com/theme/sydney
Template: sydney
Version: 1.52
*/



body{
	font-weight: 500
}

p{
    font-weight: 500;
	margin-bottom: 15px;
}

.clear{
	clear: both;
}

.mb40{ margin-bottom: 40px; }


/** HD **/
.site-header{
	background-color: #fff;
	border-bottom: 1px solid rgba(181, 126, 56, 0.5);
}

.slide-item{
	background-position: 0 !important;
}

.slides-container .slide-item{
    background-attachment: scroll;
}

.text-slider{
	animation-name: none;
}

.btn-menu{
	color: #b57e38 !important;
}

#mainnav-mobi{
    background: #332410;
}


/** FT **/
.footer-widgets{
    padding: 30px 0;
}

.widget-area .widget{
	margin-bottom: 10px;
}

.site-info {
    border-top: 1px solid #fff;
    text-align: center;
    padding-top: 10px;
}

ul.footer-area{
	text-align: center;
}

ul.footer-area img{
	margin-bottom: 20px;
}

ul.footer-area_2{
	list-style: none;
	text-align: left;
	padding-left: 0;
    float: left;
}

ul.footer-area_2 li{
	display: inline-block;
    margin-right: 25px;
}

span.sep{
    float: right;
}

.page_container{
    margin-bottom: 50px;
}



/** TOP **/
section{
	margin-bottom: 70px;
	text-align: center;
}

section#section3{
    background: rgba(250, 250, 250, 0.8);
    padding: 30px;
}

.text-slider h2.maintitle{
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	font-size: 3em;
	text-shadow: 3px 3px 1px #333;
}

.text-slider h2.maintitle:after{
	display: none;
}

h2.top_text{
	margin: 30px auto 40px;
}

h3.top_subttl{
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	font-size: 1.6em;
    font-weight: bold;
    letter-spacing: 0.1em;
}


/* 山崎洋瓦とは */
.top_about{
    background: url("/wp-content/uploads/images/bg_about.png") no-repeat;
    width: 100%;
    height: 434px;
    margin: 60px auto 50px;
    position: relative;
}

.about_text{
    max-width: 650px;
    width: 100%;
    background: rgba(250, 250, 250, 0.9);
    margin: 0 auto;
    padding: 20px;
	position: absolute;
  	top: 50%;
  	left: 50%;
  	-webkit- transform: translateY(-50%) translateX(-50%);
  	transform: translateY(-50%) translateX(-50%);
} 	

.mabi{
    background: rgba(250, 250, 250, 0.8);
    padding: 30px 10px;
}

.mabi p{
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	font-size: 1.5em;
    max-width: 860px;
    width: 100%;
    margin: 0 auto 20px;
}


/* 会社案内 */
.top_company-flex{
	display: -webkit-box;
 	display: -webkit-flex;
  	display: flex;
  	-webkit-box-pack: justify; 
    -webkit-justify-content: space-around; 
    justify-content: space-around;
}

.company-box{
	max-width: 500px;
    width: 100%;
    height: auto;
    background: #fff;
}
.company-box a:hover{
	opacity: 0.8;
}

.company-box_kogyo,
.company-box_kenchiku{
	font-size: 1.5em;
    color: #b57e38;
    background: #fff;
    margin-bottom: 0;
    padding: 30px 10px;
}
.company-box_kogyo:hover,
.company-box_kenchiku:hover{
	color: #fff;
    background: #b57e38;
}


/* お問い合わせ */
p.contact_tel,
p.contact_tel_2{
    font-family: none;
    letter-spacing: 0.1em;
	margin-bottom: 30px;
}

.contact_tel a,
.contact_tel_2 a{
	color: #569a4a;
    font-size: 2em;
}
.contact_tel a:hover,
.contact_tel_2:hover{
	opacity: 0.8;
}

.contact_tel a img,
.contact_tel_2 a img{
	position:relative;
    top: -3px;
    width: 45px;
    margin-right: 10px;
}

.mail-form{
    padding-bottom: 30px;
}
.mail-form a:hover{
    opacity: 0.8;
}


/* 施工事例 */
ul.top_seko{
    list-style: none;
    padding-left: 0;
}

ul.top_seko li{
    max-width: 300px;
    width: 100%;
    height: 310px;
    overflow: hidden;
    display: inline-block;
    margin: 0 15px 30px;
    padding: 20px;
    background: #fff;
}

ul.top_seko li a:hover{
    opacity: 0.7;
}

.post_seko a{
	color: #333;
}

h3.seko_title{
    font-weight: 500;
    color: #b57e38;
    font-weight: normal;
    text-align: left;
    margin: 15px 0 10px;
}
.post_seko p{
    text-align: left;
    margin: 0;
}

.more a{
    display: inline-block;
    padding: 10px 25px;
    color: #b57e38;
    border: 1px solid #b57e38;
}

.more a:hover{
	color: #fff;
	background: #b57e38;
}



/** 事業内容 **/
header.entry-header{
    text-align: center;
}

.hentry .title-post{
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    font-weight: 500;
	font-size: 2.2em;
    font-weight: normal;
    padding: 5px 20px;
    display: inline-block;
    border-top: 1px solid;
    border-bottom: 1px solid;
}

h3.contents_title {
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    font-weight: 500;
    font-size: 1.5em;
    line-height: 1.5;
    border-left: 10px solid #b57e38;
    margin-bottom: 20px;
    padding-left: 10px;
}

h5.contents_subttl{
    font-size: 20px;
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    font-size: 1.4em;
    margin: 10px auto 30px;
    line-height: 1.8;
}


/** 会社案内 **/
h2.company_about{
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    font-size: 1.5em;
    max-width: 900px;
    width: 100%;
    line-height: 1.5;
    text-align: center;
    margin: 0 auto 20px;
    color: #b57e38;
}

.aisatsu_text {
    max-width: 700px;
    width: 100%;
    float: left;
}

.aisatsu_img {
    width: 300px;
    height: 200px;
    float: right;
    overflow: hidden;
}

th, td{
    border: none;
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #ccc;
}

th{
	background: #f2f2f2;
}

td{
	text-align: left;
    padding-left: 10px;
}



/** 施工事例一覧 **/
.classic-alt .entry-header{
    margin-top: 30px;
}

.post_data{
    display: block;
    margin-top: 10px;
}

.seko_day{
    display: inline-block;
    margin-right: 10px;
}

.single .single-meta, .classic-alt .posted-on{
	text-decoration: none;
}

.classic-alt .meta-post{
	display: inline-block;
}

.single .single-meta{
	display: block;
    text-align: center;
    margin-top: 10px;
}

.single-meta .byline{
	display: none;
}

.comments-area{
    display: none;
}

#secondary{
    margin-top: 10px;
}

#secondary h3.widget-title{
    color: #333 !important;
    border-bottom: 1px solid #b57e38;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.widget-area .widget ul li a:hover{
    color: #d57e38 !important;
}



/** お問い合わせ **/
.contact_area{
    display: block;
    max-width: 800px;
    width: 100%;
    margin: 30px auto;
    padding: 10px;
    text-align: center;
    background: #fafafa;
    border: 1px solid #569a4a;
}
p.contact_tel_2{
    margin-bottom: 0;
}

.contact_area span {
    font-size: 1.2em;
    color: #569a4a;
}

span.hissu{
    margin-left: 5px;
    margin-right: 5px;
    padding: 3px 5px;
    background: #DF0101;
    color: #fff;
    font-weight: normal;
    border-radius: 3px;
}

/* コンタクトフォーム */
.table-contactform7{
	overflow: hidden;
	table-layout: fixed;
}

.required-contactform7{
	margin-right: 10px;
  	padding: 1px 5px;
  	background: #DF0101;
  	color: #fff;
  	font-weight: normal;
  	border-radius: 3px;
  	float: right;
}
 
.unrequired-contactform7{
  	padding: 5px;
  	background: #BDBDBD;
  	color: #fff;
  	border-radius: 3px;
  	margin-right: 3px;
}
 
.table-contactform7 th{
  	font-weight:bold;
}
 
.table-contactform7 input,
.table-contactform7 textarea{
  	max-width: 90% !important;
  	margin: 5px 10px 10px 5px;
}
 
.address-100 input{
  	max-width: 90% !important;
  	margin: 5px 10px 10px 5px;
}
 
.message-100 textarea{
  	width: 100%;
  	margin: 5px 10px 10px 5px;
}

p.text-xs-center{
    text-align: center;
    margin: 30px auto;
}

input[type="submit"]{
    background: #fff !important;
    color: #d57e38;
    font-size: 1em;
    font-weight: normal;
}
input[type="submit"]:hover{
	background: #d57e38 !important;
    color: #fff !important;
}
 
@media screen and (min-width: 900px){
	.table-contactform7 th{
  		width:28%;
  	}
}
     
@media screen and (max-width: 900px){
	.table-contactform7{
  		display:block;
	}     
       
  	.table-contactform7 tbody,
  	.table-contactform7 tr{
    	display: block;
    	width: 100%;
  	}
  	.table-contactform7 th{
  		width:100%;
  		display:block;
  		margin: 0 auto;
  		border:none;
	}
	.table-contactform7 td{
	  	display: list-item;
	  	list-style-type:none;
	  	margin:0;
	  	padding:0;
	  	width: 100%;
	  	border-top: none !important;
	}
}





/** SP用CSS **/
@media (min-width: 992px){
	.col-md-9 {
    	width: 70%;
	}
}

@media (max-width: 768px){
	section#section3{
		padding: 5px;
	}

	.top_company-flex{
		-webkit-box-direction: column; 
	  	-webkit-flex-direction: column;
	  	flex-direction: column;
	}

	.company-box{
	    margin: 10px auto;
	}

	ul.top_seko li{
		margin: 0 auto 20px;
	}

	.contact_tel a,
	.contact_tel_2 a{
	    font-size: 1.5em;
	}

	.contact_tel a img,
	.contact_tel_2 a img{
		width: 35px;
	}
	
	.required-contactform7{
	    font-size: 13px;
	}
	
	.text-slider h2.maintitle{
		font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
		font-size: 2.50em;
		text-shadow: 3px 3px 1px #333;
		line-break:strict;
		margin:20px;
	}
}
