@charset "utf-8";
/*
Theme Name:mrp04-child
Template:mrp04
Version: 0.01
*/


/* * * * * * * * * * *
* 共通
* * * * * * * * * * */

/* 全体
------------------------------------*/
body { overflow-x:hidden; }

#wrapper, #content, .post { overflow: visible; }

#mainImg, .home #content, .post { padding: 0!important; }

#mainImg { padding-bottom: 0; }

.mobile #mainImg { margin-top: 60px!important; }

header#h1Header { background: transparent; }

body.mobile #header .logo img { margin: 0 auto; }

body.mobile #breadcrumb { margin-top: 0; }

@media screen and (max-width: 1023px) {
	body.mobile { margin-top: 60px; }
}

/* スマホ対応 */
@media screen and (max-width:768px) {
	.post table th, .post table td {
		display: block;
		width: 100%;
		box-sizing: border-box;
	}

	.post {
		padding-left: 20px!important;
		padding-right: 20px!important;
		box-sizing: border-box;
	}
}


/* ヘッダー
------------------------------------*/

@media screen and (min-width: 1024px) {
	#header-layout {
		display: flex;
		justify-content: space-between;
		align-items: center;
		width: 100%;
		padding: 0;
	}

	#header .logo { padding-left: 30px; }

	#header .contact .mail { margin-top: 8px; }

	#header .inner {
		width: 100%;
		z-index: 10;
	}

	nav#mainNav {
		margin: 0;
		width: auto;
	}

	nav#mainNav ul {
		height: 85px;
		line-height: 85px;
		padding: 0;
	}

	nav#mainNav ul li { margin: 10px 0; }

	nav#mainNav ul li a { height: 34px; }

	nav#mainNav ul li.headerMail a {
		background-color: #EDE8B8;
		padding: 21px 35px 0px;
		margin-right: 15px;
	}

	nav#mainNav ul li.current-menu-item.headerMail a::before, nav#mainNav ul li.headerMail a:hover::before {
		display: none;
	}

	nav#mainNav ul li.current-menu-item a::before, nav#mainNav ul li a:hover::before {
		bottom: -6px;
	}

} 

/* お問い合わせページ
------------------------------------*/
.post .linkBtn { display: block; }


/* Google map
------------------------------------*/
.gmap {
	height: 0;
	overflow: hidden;
	padding-bottom: 60%;
	position: relative;
}

.gmap iframe {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
}

/* スマホ対応 */
@media screen and (max-width:768px) {
	.gmap { padding-bottom: 56.25%; }
}


/* ボタン
------------------------------------*/

.btn {
	text-align: center;
	margin-top: 30px;
}

.btn a {
	display: inline-block;
	text-align: center;
	font-size: 20px;
	font-weight: 600;
	color: #fff;
	padding: 10px 25px;
	min-width: 230px;
	box-sizing: border-box;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	transition: all .3s;
	-webkit-transition: all 0.3s;
	position: relative; 
}

.btn a:hover {
	box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
}

/* ボタン（グリーン） */
.btn-green a {
	background-color: #005931;
}

/* ボタン（ホワイト） */
.btn-white a {
	color: #005931!important;
	background-color: #D2E2DB;
}


/* 装飾
------------------------------------*/
header#h1Header h1.title { text-shadow: none; }

.post h2, .post h3 { 
	font-weight: 600;
	padding: 0;
	line-height: 1.45;
}

.post h2 span, .post h3 span { 
	display: block;
	padding: 0; 
}

.post p { line-height: 1.85; }

.fs { font-size: 60%; }

.fl { font-size: 120%; }

.fxl { font-size: 200%; }

.c-green { color: #005931; }

/* グリットレイアウト
------------------------------------*/
.content {
	max-width: 1100px;
	margin: 0 auto;
}

.row {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.col-2 { width: 48%; }

.col-3 { width: 31%; }

.col-4 { width: 23%; }

.col-5 { width: 18%; }


/* スマホ対応 */
@media screen and (max-width:768px) {
	.row {
		flex-direction: column;
	}

	.col-2, .col-3, .col-4, .col-5 { 
		width: 100%;
		margin-top: 15px;
		margin-bottom: 15px;
	}
}


/* PC・SP 表示・非表示
------------------------------------*/
.pc { display: block; }

.sp { display: none; }

/* スマホ対応 */
@media screen and (max-width:768px) {
	.pc { display: none; }

	.sp { display: block; }
}

/* * * * * * * * * * *
* トップ
* * * * * * * * * * */
.top01,
.top02,
.top03,
.top04 {
	margin-bottom: 80px;
}

.top01 {
	margin-top: 80px;
}

.top03, .top04 {
	margin-left: calc(((100vw - 100%) / 2) * -1);
	margin-right: calc(((100vw - 100%) / 2) * -1);
}

.top04 {
	background-color: #f8f8f8;
}

.top01 .btn { text-align: left; }

.top02 .row .col-3  {
	position: relative;
}

.top02 .row .col-3 span.txt-box {
	position: absolute;
	top:0;
	left:0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,.2);
	display: flex;
	justify-content: center;
	align-items: center;
	transition: all .3s;
}

.top02 .row .col-3 a:hover span.txt-box {
	background-color: rgba(0,0,0,.6);
}

.top02 .row .col-3 a:hover img {
	opacity: 1;
}

.top02 .row .col-3 img {
	display: block;
}

.top02 .row .col-3 p {
	color: #fff;
	text-align: center;
}

.top02 .row .col-3 p span {
	display: block;
}

.top03 .row {
	margin: 45px 0;
	position: relative;
}

.top03 .row:nth-child(odd) {
	flex-direction: row-reverse;
}

.top03 .row .col-2:first-child {
	position: absolute;
	top: 50%;
	left: 10%;
	transform: translateY(-50%);
	width: 40%;
	background-color: #fff;
	padding: 30px;
	box-sizing: border-box;
}

.top03 .row:nth-child(even) .col-2:first-child {
	left: inherit;
	right: 10%;
}

.top03 .row .col-2:last-child {
	width: 60%;
}

.top03 .row .col-2 h2 span.fs {
	margin-top: 15px;
}

.top03 .row .col-2 img {
	display: block;
}

.top03 .row .col-2 p {
	line-height: 2.5;
}

.top04 {
	padding: 80px 0;
}

.top04 .row .col-2 {
	margin-bottom: 30px;
}

.top04 .row .col-2 .inner-txt {
	width: 90%;
	padding: 15px 15px 0;
	background-color: #fff;
	margin: -30px auto 0;
	box-sizing: border-box;
	position: relative;
	z-index: 2;
}

.contact-wrapper { 
	background-color: #005931; 
	padding: 50px;
	box-sizing: border-box;
}

.contact-wrapper .row {
	align-items: center;
}

.contact-wrapper .row:first-of-type {
	max-width: 500px;
	margin: 0 auto;
	border-bottom: 1px solid #f8f8f8;
	margin-bottom: 30px;
}

.contact-wrapper .row:last-child {
	max-width: 800px;
	margin: 0 auto;
}

.contact-wrapper .row:last-child .btn {
	margin-top: 0;
}


.contact-wrapper h2,
.contact-wrapper p,
.contact-wrapper a,
.contact-wrapper span {
	color: #fff;
	text-align: center;
}

/* スマホ対応 */
@media screen and (max-width:768px) {
	.top01,
	.top02,
	.top03,
	.top04 {
		margin-bottom: 50px;
	}

	.top01 {
		margin-top: 50px;
	}

	.top01 .btn { text-align: right; }

	.top03 {
		padding-left: 20px;
		padding-right: 20px;
		box-sizing: border-box;
	}

	.top03 .row,
	.top03 .row:nth-child(odd) { flex-direction: column-reverse; }

	.top03 .row .col-2 { margin: 0 auto; }

	.top03 .row .col-2:first-child {
		position: relative;
		padding: 20px 0;
	}

	.top03 .row .col-2:first-child,
	.top03 .row .col-2:last-child {
		width: 100%;
	}

	.top03 .row .col-2:first-child {
		top: inherit;
		left: inherit;
		transform: inherit;
	}

	.top03 .row:nth-child(even) .col-2:first-child {
		right: inherit;
	}

	.top04 {
		padding: 50px 20px;
		box-sizing: border-box;
	}

	.contact-wrapper { 
		padding: 20px;
	}

	.contact-wrapper .row .col-2 { margin: 0 auto; }
}

/* * * * * * * * * * *
* 事業内容
* * * * * * * * * * */
.service01,
.service03,
.service04 {
	margin-bottom: 80px;
}

.service02 {
	margin-bottom: 180px;
}

.page-id-50 .post .row {
	align-items: center;
	margin: 30px 0;
}

.page-id-50 .post img {
	box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.page-id-50 .post .row p {
	line-height: 2.5;
}

.service02 .row:nth-child(even),
.service03 .row:nth-child(even),
.service04 .row:nth-child(even) {
	flex-direction: row-reverse;
}

.service02 .row:nth-child(even),
.service03 .row:nth-child(even),
.service04 .row:nth-child(even) {
	flex-direction: row-reverse;
}

.service03 {
	margin-left: calc(((100vw - 100%) / 2) * -1);
	margin-right: calc(((100vw - 100%) / 2) * -1);
	background-color: rgba(237,232,184,.2);
	padding: 20px 0;
}

#furniture,
#ordermade,
#coffin {
	padding-top: 100px;
	margin-top: -100px;
}

/* スマホ対応 */
@media screen and (max-width:768px) {
	.service01,
	.service03,
	.service04 {
		margin-bottom: 50px;
	}

	.service03 {
		padding: 50px 20px;
		box-sizing: border-box;
	}
}

/* * * * * * * * * * *
* 会社概要
* * * * * * * * * * */
.company01 { margin-bottom: 80px; }

.company01 table th,
.company01 table td {
	border-bottom: 1px solid #dcdddd;
	padding: 20px 10px;
}

/* スマホ対応 */
@media screen and (max-width:768px) {

	.company01 { margin-bottom: 50px; }
}

/*新HOLOCF7送信ボタンずれ対応*/
.wpcf7-spinner {
    display: block!important;
	margin: 0 auto!important;
}