/*
Theme Name:  YamaniTategu
Theme URI:
Description:
Version: 1.0
Author: 
Author URI:
*/


body {
	font-family: -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Helvetica Neue", HelveticaNeue, YuGothic, "Yu Gothic Medium", "Yu Gothic", Verdana, Meiryo, sans-serif;
	color:#333;
	font-size:14px;
	line-height:1.75;
	letter-spacing:0.03em;
	text-align:justify;
}
b, strong, .bold{
	font-family: -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI semibold", "Helvetica Neue", HelveticaNeue, YuGothic, "Yu Gothic", "Segoe UI", Verdana, Meiryo, sans-serif;
}
/* IEだけに適応 */
_:lang(x)::-ms-backdrop, .selector {
	font-family: "Segoe UI", Meiryo, sans-serif;
}
a {
	color: #333;
	text-decoration: none;
	transition: 0.3s ease-out;
}
a:hover {
	color:#9d7f6a;
}

::selection{background-color:#cfa972; color: #FFF;}
::-moz-selection{background-color:#cfa972; color: #FFF;}

body , header , footer{
	/*min-width:1080px;*/
	max-width: 1920px;
	margin: auto;
}



/*============================================================================

	#mainvisual　＊　下層のMV

============================================================================*/
#mainvisual {
	position: relative;
	width: 100%;
	height:250px;
	background: url(images/main_01.png) center no-repeat;
  	background-size: cover;
  	z-index: 0;
  	overflow: hidden;
}


/*------------------------------ ページごとにMV変更 ------------------------------*
.page-template-blog #mainvisual {background: url(images/MV_01.jpg) center top no-repeat;}
.page-template-products #mainvisual {background: url(images/MV_02.jpg) center top no-repeat;}
.page-id-94 #mainvisual {background: url(images/MV_03.jpg) center top no-repeat;}
.page-id-169 #mainvisual {background: url(images/MV_04.jpg) center top no-repeat;}
.single #mainvisual {background: url(images/MV_01.jpg) center top no-repeat;}






/*==================================================================

	ぱんくず

==================================================================*/
.breadcrumbs {	
	width:100%;
	margin:0 auto 30px;
	padding-bottom:15px;
	border-bottom: 1px solid #fff;
	font-size:13px;
	color:#7e5b43;
}	
.breadcrumbs p {	
	width:100%;
	margin:auto;
}	
.breadcrumbs i {	
	color:#cfa972;
	margin-right:5px;
}	
.breadcrumbs a {	
	color:#7e5b43;
}	



/*==================================================================

	main

==================================================================*/
main {
	position: relative;
	background: url(images/bg_02.jpg);
}
main::before {
	position: absolute;
	content: "";
	top: 0;
	left: 50%;
	width: 620px;
	height: 274px;
	margin-left: -960px;
	background: url(images/bg_03.png) no-repeat;
}
main #wrapper {
	width: 1080px;
	margin: auto;
	padding: 100px 0 130px;
}

/*---------- 右カラム＊メインコンテンツ ----------*/
#container {
	position: relative;
	float: right;
	width: 800px;
}
#container section {
	position:relative;
	margin-bottom: 100px;
}
#container section:last-child {
	margin-bottom: 0;
}

/*---------- 左カラム＊サイドバー ----------*/
#sidebar {
	position: relative;
	float: left;
	width: 220px;
}



/*==================================================================

	 タイトル

==================================================================*/
h2 {
	position: relative;
	margin-bottom: 40px;
	padding-left: 20px;
	font-family: 'Noto Serif JP', serif;
	font-size: 14px;
	color: #563e23;
	line-height: 1.1;
}
h2 em {
    position: relative;
	display: block;
	top: -10px;
	left: -20px;
	font-family: 'Rosarivo', serif;
	font-size: 30px;
	font-weight: normal;
	letter-spacing: 2px;
	color: #222;
	text-transform: capitalize;
}
h2::before {
	position: relative;
	content: "/";
	top: 47px;
	left: -18px;
}

h3 {
	position: relative;
	margin-top: 5px;
	margin-bottom: 30px;
	padding-left: 40px;
	font-size: 17px;
	font-weight: bold;
	font-family: 'Noto Serif JP', serif;
}
h3 em {
	font-family: 'Rosarivo', serif;
}
h3::before {
	position: absolute;
	content: "";
	top: -5px;
	left: 0;
	width: 23px;
	height: 33px;
}
h4 {
	position: relative;
	margin-bottom: 30px;
	font-size: 16px;
	font-weight: bold;
	color:#68512e;
}

h5 {
	position: relative;
	margin-bottom: 5px;
	padding-top: 20px;
	font-size: 15px;
	font-weight: bold;
	color:#214083;
}




/*==================================================================

	table

==================================================================*/

/*------------------------------ XXXXXXXXXX ------------------------------*
.tb01 {
	background:#FFF;
	width:100%;
	margin-bottom:70px;
}
.tb01:last-of-type {
	margin-bottom:0;
}
.tb01 th{
	color: #7e5b43;
	background:#eee9e1;
	border-bottom: 1px solid #fff !important;
	font-weight:bold;
}
.tb01 tr:last-of-type th {
	border-bottom: 1px solid #e6e6e6 !important;
}
.tb01 th , .tb01 td {
	padding:25px 20px;
	border: 1px solid #e6e6e6;
}



/*==================================================================

	text

==================================================================*/
.text {
	position:relative;
	margin-bottom:50px;
}
.text p {
	margin-bottom:1em;
}
.text:last-child{
	margin-bottom:0;
}



/*==================================================================

	list

==================================================================*/

/*------------------------------ 左にベージュの●のシンプルリスト ------------------------------*
ul.list01 {
	position:relative;
}
ul.list01 li {
	position:relative;
	margin-bottom:5px;
	padding-left:17px;
}
ul.list01 li::before {
	position:absolute;
	content:"";
	top:9px;
	left:3px;
	width:5px;
	height:5px;
	background:#cfa972;
	border-radius:100%;
}




/*==================================================================

	btn

==================================================================*/

/*------------------------------ btn01 ------------------------------*/
.btn01 {
}
.btn01 a {
	position: relative;
	padding: 15px 25px 15px 50px;
	transition: 0.3s ease-out;
	background: #e4ddc8;
	border-radius: 5px;
	font-family: 'Noto Serif JP', serif;
}
.btn01 a:hover {
	color: #fff;
	background: #563e23;
}
.btn01 a i:first-of-type {
	position: relative;
	top: -1px;
	font-size: 11px;
	padding-right: 20px;
}
.btn01 a i:last-of-type {
	position: relative;
	top: -1px;
	font-size: 11px;
	padding-left: 40px;
	padding-right: 0;
}


/*------------------------------ btn02 ------------------------------*
.btn02 a {
	position: relative;
	padding-left: 60px;
	color: rgba(255,255,255,1);
	font-family: 'Montserrat', sans-serif;
	letter-spacing: 2px;
}
.btn02 a::before {
	position: absolute;
	content: "";
	top: 50%;
	left: -10px;
	width: 55px;
	height: 1px;
	background: #FFF;
	transition: 0.3s ease-out;
}
.btn02 a:hover {
	padding-left: 40px;
	color: rgba(255,255,255,.8);
}
.btn02 a:hover::before {
	left: -10px;
	width: 40px;
}


/*------------------------------ btn03 ------------------------------*
.btn03 a {
	position:relative;
	display:inline-block;
	margin-top:5px;
	padding:5px 40px;
	color:#FFF;
	background:#a39176;
	border:1px solid #a39176;
}
.btn03 a:hover {
	color:#a39176;
	background:#eee9e1;
	cursor:pointer;
}




/*==================================================================

	$ギャラリーページ

==================================================================*/
#gallery_list section {
	float: left;
	width: 390px;
	margin-bottom: 20px;
	margin-right: 20px;
	padding: 9px 9px 15px 9px;
	box-sizing: border-box;
	border: 1px solid #d6d6d6;
	background: #FFF;
}
#gallery_list section:nth-child(even) {
	margin-right: 0;
}
.gallery_name , .gallery_material , .gallery_size , .gallery_date , .gallery_etc , .gallery_place , .gallery_form , .gallery_url {
	position: relative;
	margin-top: 7px;
	padding-left: 80px;
	font-size: 13px;
}
.gallery_url {
	min-height: 22px;
	font-size: 11px;
}
.gallery_name::before , .gallery_material::before , .gallery_size::before , .gallery_date::before , .gallery_etc::before , .gallery_place::before , .gallery_form::before , .gallery_url::before {
	position: absolute;
    top: 0;
	left: 0;
	width: 70px;
	background: #e4ddc8;
	text-align: center;
	font-size: 13px;
	content: "";
}
.gallery_name::before { content: "現場名"; }
.gallery_material::before { content: "材　質"; }
.gallery_size::before { content: "製品寸法"; }
.gallery_date::before { content: "製作時期"; }
.gallery_etc::before { content: "備　考"; }
.gallery_place::before { content: "場　所"; }
.gallery_form::before { content: "形　状"; }
.gallery_url::before { content: "関連URL"; }


/*------------------------------ スライダー設定 ------------------------------*/
.archive .flexslider {
	margin-bottom: 10px !important;
}
.archive .flex-viewport {
	max-height: 270px;
	background: #f7f7f7;
}
.archive .flexslider .slides img {
	max-height: 270px;
	height: 270px !important;
    object-fit: contain;
}
.archive .flex-control-thumbs {
	margin-top: 10px !important;
}
.archive .flex-control-thumbs li {
    width: 32% !important;
    margin-right: 2% !important;
}
.archive .flex-control-thumbs li:nth-child(3n) {
    margin-right: 0 !important;
}
.archive .flex-control-thumbs img {
	height: 80px !important;
	object-fit: cover;
}



/*==================================================================

		$投稿一覧ページ(archive.php / media.php)

==================================================================*/
.archive_post_img {
	position:absolute;
	width: 250px;
	height: 170px;
	background: url(images/noimage.png);
	background-size: cover;
}
.archive_post_img img {
	width: 250px;
	height: 170px;
	object-fit: cover;
}
.archive_post_content {
	height: 200px;
	border-bottom: 1px solid #eee;
    margin-bottom: 40px;
    padding-bottom: 40px;
	padding-left: 280px;
	box-sizing: border-box;
}
.archive_post_content .date {
	position:relative;
	margin-bottom:10px;
	padding:5px 10px 7px;
	background: #eee;
	font-size:13px;
	line-height: 2;
}
.archive_post_content h4 {
	font-weight: bold;
	padding: 10px 0;
	font-size: 15px;
}

/*------------------------------ページネーション------------------------------*/
div.pagenum {
	text-align:center;
}
div.pagenum ul.page-numbers li  {
    display: inline-block;
    min-width: 20px;
}
div.pagenum ul.page-numbers li .page-numbers  {
	background: #e4ddc8;
    padding: 10px 10px;
}
div.pagenum ul.page-numbers li .current {
    background :#563e23;
	color:#FFF;
}



/*==================================================================

		$投稿ページ(single.php)

==================================================================*/
.single h2 {
	font-size: 22px;
	font-weight: bold;
	padding-left: 0;
}
.single h2::before { display: none; }

#post_thumbnail {
	width:100%;
	height: auto;
	text-align:center;
}
#post_thumbnail img {
	width:auto;
	height:auto;
	margin:auto;
	max-width:100%;
	margin-bottom:30px;
}
.post_date {
	position:absolute;
	right: 0;
	top: 0;
	margin-bottom:10px;
	padding:5px 10px 7px;
	background: #eee;
	font-size:13px;
	line-height: 2;
}
.single .text {
	line-height: 2;
}

/*------------------------------ページネーション------------------------------*/
.single_nav {
	text-align:center;
	border-top:1px solid #eee;
    margin-top: 90px;
    padding-top: 50px;
}
.single_nav p {
	display:inline-block;
}
.single_nav a {
	margin:0 10px;
    padding: 5px 20px 7px;
    background: #e4ddc8;
}



/*==================================================================

		$お問い合わせページ　＊　Contact Form 7カスタマイズ

==================================================================*/
@media(max-width:500px) {
	.inquiry th,.inquiry td {
		display:block!important;
		width:100%!important;
		border-top:none!important;
		-webkit-box-sizing:border-box!important;
		-moz-box-sizing:border-box!important;
		box-sizing:border-box!important;
	}
	.inquiry tr:first-child th{ border-top:1px solid #d7d7d7!important; }
	.inquiry .haveto,.inquiry .any { font-size:12px; }
}

.inquiry {
	width:100%;
	margin-top: 30px;
	margin-bottom:30px;
	border-bottom:solid 1px #fff;
}
.inquiry th{
	width:30%;
	padding:20px 20px;
	border-top: solid 1px #ddd;
    background: rgba(255,255,255,.5);
}
.inquiry td{
	padding:20px 20px;
	border-top: solid 1px #ddd;
    background: rgba(255,255,255,.5);
}
.inquiry tr:last-of-type th , .inquiry tr:last-of-type td {
	border-bottom: solid 1px #ddd;
}
.inquiry td input{
/*	width:50%; */
	padding:10px 20px;
    box-sizing: border-box;
}
.inquiry td select{
	padding:10px 20px;
}
.inquiry td textarea{
	width:100%;
	padding:10px 20px;
    box-sizing: border-box;
}
.spam {
	padding:15px 10px;
	background:#eee;
	text-align:center;
}
.spam span {
	margin-right:5px;
}
.contact_privacytext {
	text-align:center;
	text-decoration-line:underline;
}

/*------------------------------ 必須 ------------------------------*/
.haveto{
 font-size:7px;
 padding:5px;
 background:#ff9393;
 color:#fff;
 border-radius:2px;
 margin-right:15px;
 position:relative;
 bottom:1px;
}
/*------------------------------ 任意 ------------------------------*/
.any{
 font-size:7px;
 padding:5px;
 background:#93c9ff;
 color:#fff;
 border-radius:2px;
 margin-right:15px;
 position:relative;
 bottom:1px;
}
/*------------------------------ 送信ボタン ------------------------------*/
#formbtn{
 display: block;
 padding:15px;
 width:350px;
 background:#563e23;
 color:#fff;
 font-size:15px; 
 border-radius:2px;
 margin:25px auto 0;
 border:1px solid #563e23;
	-webkit-appearance: none;
}
#formbtn:hover{
 background:#fff;
 color:#563e23;
 border:1px solid #563e23;
}




/* 東内追加分 */
.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}
.flex-control-thumbs .flex-active {
	border: 2px #008ed8 solid;
	box-sizing: border-box;
	transition: 0.3s all;
}
#gallery_list {
	display: flex;
	flex-wrap: wrap;
}
#container table {
	width: 100%;
}
#container table tr th, #container table tr td {
	border: 1px solid #666666;
	padding: 0.5em;
}
#container table tr th {
	font-weight: 700;
}
#container ul li {
	list-style-type: disc;
	margin-left: 2em;
	font-size: 1em;
}
#container ul li:last-child {
	margin-bottom: 10px;
}
#container ul li ul li {
	list-style-type: circle;
	margin-left: 2em;
	font-size: 14px;
}
#container h3 {
	position: relative;
	padding: 1em 0em 0.3em 0em;
	border-bottom: 3px solid #666666;
	font-size: 23px;
	margin-bottom: 20px;
}
#container h3:before {
	position: absolute;
	bottom: -14px;
	top: initial;
	left: 1em;
	width: 0;
	height: 0;
	content: '';
	border-width: 14px 12px 0 12px;
	border-style: solid;
	border-color: #666666 transparent transparent transparent;
}
#container h3:after {
	position: absolute;
	bottom: -10px;
	left: 1em;
	width: 0;
	height: 0;
	content: '';
	border-width: 14px 12px 0 12px;
	border-style: solid;
	border-color: #ffffff transparent transparent transparent;
}
#container h4 {
	font-size: 20px;
	border-left: 2px solid #68512e;
	padding-left: 0.5em;
	margin-top: 30px;
}
#container p {
	margin-bottom: 0.7em;
}
#container a {
	color: #0000B9;
	text-decoration-line: underline;
}
#container ol li {
	list-style-type: decimal;
	margin-left: 2em;
}
#top_gallery ul li, #top_topics ul li, #top_awords ul li, #gallery_list ul li,
#container #gallery_list ol li {
	margin-left: 0;
	list-style-type: none;
}
div.more-info {
	display: block;	
	margin-bottom: 4em;
}
.su-column img {
	max-width: 100%;
	height: auto;
}
.su-column-size-1-3 .su-column-inner div {
	width: 100% !important;
}
.ggmap {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
}
 
.ggmap iframe, .ggmap object, .ggmap embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.archive_post_content {
	height: auto;
}