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

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Noto+Sans:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&display=swap');


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

/* 全体
------------------------------------*/
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: 0; }

	nav#mainNav ul li a {
		height: 15px;
		padding: 35px;
	}

} 

@media screen and (max-width: 1023px) {
	.mobile #header .logo .mark {
		padding: 10px;
	}
}

.spmenu #menu p {
	font-size: 9.8px;
}

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


/* Google map
------------------------------------*/
.gmap {
	height: 0;
	overflow: hidden;
	padding-bottom: 40%;
	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-weight: 600;
	color: #000;
	padding: 10px 50px 10px 20px;
	border: 1px solid #000;
	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::before {
	content: "";
	position: absolute;
	top: 50%;
	right: 10%;
	transform: translatey(-50%);
	width: 30px;
	height: 1px;
	background-color: #000;
	transition: all .3s;
	-webkit-transition: all 0.3s;
}

.btn a:hover {
	color: #fff;
	background-color: #000;
}

.btn a:hover::before {
	background-color: #fff;
}



/* 装飾
------------------------------------*/
header#h1Header { position: relative; }

header#h1Header::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,.3);
} 

header#h1Header h1.title { text-shadow: none; }

.post h2, .post h3 { 
	padding: 0;
}

.post h2 { font-size: 33px; }

.post h3 { line-height: 1.45; }

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

.post p { line-height: 1.85; }

.sub-title {
	display: inline-block;
	font-size: 50%;
	padding-right: 15px;
	margin-bottom: 10px;
	position: relative;
}

.sub-title::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 120%;
	transform: translatey(-50%);
	width: 80px;
	height: 1px;
	background-color: #000;
}

.post table tr th,
.post table tr td {
	padding: 20px 10px;
}

.post table tr th {
	text-align: center;
	vertical-align: middle;
}

.row h2 { 
	font-weight: bold;
	margin-right: 120px;
	margin-bottom: 0;
}

.row p {
	padding-bottom: 0;
}

.recruit01 .item .row,
.cta .row:first-child {
	justify-content: flex-start;
	align-items: flex-end;
}

@media screen and (max-width:768px) {

	.recruit01 .item .row,
	.cta .row:first-child { align-items: flex-start; }

	.row h2 { 
		margin-right: 0;
		margin-bottom: 10px;
	}

	.post p:not([class]) { text-align: left; }

}

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

.row {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin: 15px 0;
}

.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; }
}

/* * * * * * * * * * *
* トップ
* * * * * * * * * * */
.front_post_list h1.title { text-align: left; }

body.page-id-2 {
	position: relative;
	background: transparent;
}

body.page-id-2::before {
	content: "";
	width: 70%;
	height: 100%;
	top: 50%;
	right: 0;
	transform: translatey(-50%);
	background: url(/struct/wp-content/uploads/parallaxbg.jpg) no-repeat center/ cover;
	position: fixed;
	z-index: -2;
}

.page-id-2 .post {
	background-color: transparent;
	margin-bottom: 0;
}

.top01, .top02, .top03, .front_post_list {
	margin-left: calc(((100vw - 100%) / 2) * -1);
	margin-right: calc(((100vw - 100%) / 2) * -1);
	padding-bottom: 80px;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
}

.top01, .top03, .front_post_list {
	background-color: #fff;
}

.top01 {
	padding-top: 80px;
}

.front_post_list .listTitle,
.front_post_list .postlist {
	max-width: 1100px;
	margin: 0 auto;
}

.top02 {
	position: relative;
}

.top02::before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 30%;
	background-color: #fff;
	z-index: -1;
}

.top01 .row .col-2,
.top02 .row .col-2 {
	position: relative;
	z-index: 1;
}

.top01 .row .col-2 p {
	padding-bottom: 15px;
	line-height: 1.85; 
}

.top01 .row .col-2 p.img {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 200px;
	height: auto;
	z-index: -1;
}

.top02 h2,
.top02 .row .col-2 {
	margin-bottom: 30px;
}

.top02 .row .col-2 img {
	opacity: 1;
	display: block;
}

.top02 .row .col-2 a .inner-txt {
	position: absolute;
	top: 50%;
	left: 0;
	transform: translatey(-50%);
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-content: flex-start;
	flex-direction: column;
	padding-left: 20px;
	box-sizing: border-box;
	background-color: rgba(0,0,0,.6);
	transition: all .3s;
	-webkit-transition: all 0.3s;
}

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

.top02 .row .col-2 a .inner-txt h3,
.top02 .row .col-2 a .inner-txt span {
	color: #fff;
}

.top02 .row .col-2 a .inner-txt span {
	display: inline-block;
	padding: 10px 50px 10px 25px;
	border: 1px solid #fff;
	width: 120px;
	position: relative;
}

.top02 .row .col-2 a .inner-txt span::before {
	content: "";
	position: absolute;
	top: 50%;
	right: 10%;
	transform: translatey(-50%);
	width: 30px;
	height: 1px;
	background-color: #fff;
}

.top03 .row {
	margin: 0 auto;
	background-color: #EAEAEA;
}

.top03 .row .col-2:last-child {
	padding: 20px;
	box-sizing: border-box;
}

.top03 .row .col-2 img {
	display: block;
	min-height: 370px;
	object-fit: cover;
}

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

	.top01 {
		padding-top: 50px;
	}

	.top02::before {
		height: 15%;
	}

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

	.top03 .row .col-2 img {
		min-height: 225px;
	}
}

/* * * * * * * * * * *
* CTA
* * * * * * * * * * */
.cta {
	margin-left: calc(((100vw - 100%) / 2) * -1);
	margin-right: calc(((100vw - 100%) / 2) * -1);
	padding: 50px 20px;
	background: url(/struct/wp-content/uploads/contact.jpg) no-repeat center/cover;
	box-sizing: border-box;
}

.cta h2,
.cta p,
.cta span,
.cta a {
	color: #fff;
}

.cta h2 {
	font-size: 33px;
	line-height: 1;
}

.cta h2 span.sub-title::before {
	background-color: #fff;
}

.cta a {
	text-align: center;
	padding: 15px 25px;
	border: 1px solid #fff;
	margin: 20px 0;
	display: block;
	transition: all .3s;
	-webkit-transition: all 0.3s;
} 

.cta a:hover {
	color: #000;
	background-color: #fff;
} 

/* スマホ対応 */
@media screen and (max-width:768px) {
	.cta a {
		margin: 0;
	} 
}

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

/* * * * * * * * * * *
* 事業内容・会社概要・採用情報
* * * * * * * * * * */
#recruit {
	padding-top: 180px;
	margin-top: -180px;
}

.service01,
.service02,
.company01 .item,
.recruit01 {
	padding-bottom: 50px;
}

.page-id-58 h1.title,
.page-id-59 h1.title {
	text-align: left;
	font-size: 16.5px;
	padding: 0;
	margin-bottom: 10px;
	display: inline-block;
	position: relative;
}


.page-id-58 h1.title::before,
.page-id-59 h1.title::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 120%;
	transform: translatey(-50%);
	width: 80px;
	height: 1px;
	background-color: #000;
}

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

/* スマホ対応 */
@media screen and (max-width:768px) {
	.page-id-58 h1.title,
	.page-id-59 h1.title {
		padding-left: 20px;
	}

	.service02 .gallery {
		display: flex;
		justify-content: space-between;
		align-items: center;
		flex-wrap: wrap;
	}

	.service02 .content .item .gallery-columns-3 .gallery-item {
		width: 50%!important;
	}

	.service02 .content .item #gallery-1 .gallery-item {
		margin-top: 0;
	}
}