@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=Open+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; }

.wpcf7-form { padding: 0; }

.post4b h2 { 
	padding: 10px 0;
	margin: 0;
}

.post4b h2 a {
	font-size: 20px;
	font-weight: 500;
	padding: 0;
}

.error404 #wrapper,
.archive #wrapper,
.category #wrapper,
.single-post #wrapper { overflow: inherit; }

a#scrollUp{background: #E50012;}

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

	#content.wide { width: 100%; }
}

/* スマホ対応 */
@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;
	}

	.single-post #wrapper .dateLabel {
		margin-right: 20px;
		box-sizing: border-box;
	}
}


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

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

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

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

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

	.page-id-2 #header .inner { background: transparent; }

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

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

	nav#mainNav ul li ul {
		height: inherit;
		line-height: initial;
	}

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

	nav#mainNav ul li a { font-size: 14px; }

	nav#mainNav ul li.headerTel,
	nav#mainNav ul li.headerMail {
		background: linear-gradient(45deg, #033990, #0F74DC);
		margin-right: 15px; 
	}

	nav#mainNav ul li.headerTel a,
	nav#mainNav ul li.headerMail a {
		height: 13px;
		padding: 15px 20px;
	}

	nav#mainNav ul li.headerTel a b,
	nav#mainNav ul li.headerMail a b {
		color: #fff;
	}

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

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

	.page-id-2 nav#mainNav ul li a b,
	.page-id-2 nav#mainNav ul li a b {
		color: #fff;
	}

	.page-id-2 nav#mainNav ul li.current-menu-item a::before,
	.page-id-2 nav#mainNav ul li a:hover::before { 
		border-bottom: 2px solid #fff;
	}

} 

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

	body.mobile nav#mainNav.menuOpen { 
		padding-bottom: 120px;
		box-sizing: border-box;
	}
}

.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: right;
	margin-top: 15px;
}

.btn a {
	display: inline-block;
	text-align: center;
	font-weight: 600;
	color: #333;
	padding: 10px 25px;
	border: 1px solid #ddd;
	border-radius: 100vh;
	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 span::before,
.btn a span::after {
	content: "";
	position: absolute;
	right: 25px;
	height: 1px;
	background: #333;
	transition: all .3s;
	-webkit-transition: all 0.3s;
}

.btn a span::before {
	top: 26px;
	width: 20px;
}

.btn a span::after {
	top: 24.5px;
	width: 7px;
	transform: rotate(25deg);
}

.btn a:hover span::before,
.btn a:hover span::after {
	right: 15px;
}


/* 装飾
------------------------------------*/
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;
	line-height: 1.45;
}

.post h2.line_bottom {
	padding-bottom: 15px;
	border-bottom: 1px solid #dcdddd;
	position: relative;
}

.post h2.line_bottom::before {
	content: "";
	position: absolute;
	top: 100%;
	left: 0;
	width: 30%;
	height: 1px;
	background: #004DA0;
}

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

.post p { line-height: 1.85; }

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

.post table tr th {
	border-bottom: 1px solid #004DA0;
}

.post table tr td {
	border-bottom: 1px solid #dcdddd;
}

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

.sub-title { font-size: 60%; }

.block { display: block; }

.c_blue { color: #004DA0; }

@media screen and (max-width:768px) {
	.single-post #wrapper h1.title { font-size: 24px; }
	.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; }
}

/* * * * * * * * * * *
* TOP
* * * * * * * * * * */
.front_post_list,
section.top_about,
section.top_service {
	padding-top: 3em;
}

.front_post_list h1.title {
	font-size: 28px;
	text-align: left;
}

section.top_about,
section.top_service {
	margin-left: calc(((100vw - 100%) / 2) * -1);
	margin-right: calc(((100vw - 100%) / 2) * -1);
	padding-left: 1em;
	padding-right: 1em;
	position: relative;
	z-index: 1;
}

section.top_service > h2,
section.top_service > p {
	max-width: 1100px;
	margin: 0 auto;
}

section.top_about::before {
	content: "";
	position: absolute;
	bottom: -10%;
	left: 0;
	width: 60%;
	height: 100%;
	background: url(/struct/wp-content/uploads/top_greeting.png) no-repeat center/contain; 
	z-index: -1;
}

section.top_about .item { 
	padding-top: calc(220 / 1920 * 100vw);
	width: 50%;
	margin: auto 0 auto auto;
}

section.top_service { margin-top: calc(150 / 1920 * 100vw); }

section.top_service::before {
	content: "";
	position: absolute;
	width: 90%;
	height: 70%;
	top: 0;
	right: 0;
	background: #f8f8f8;
	z-index: -1;
}
section.top_service > h2 { margin-bottom: 1em; }

section.top_service .row {
	width: 90%;
	max-width: 1830px;
	margin: auto 0 auto auto;
}

section.top_service .row .col-4 {
	width: 25%;
}

section.top_service .row .col-4 a { 
	display: block;
	position: relative;
}

section.top_service .row .col-4 a img {
	display: block;
	width: 100%;
	min-height: 400px;
	object-fit: cover;
	object-position: center;
	opacity: 1;
}

section.top_service .row .col-4 a .inner-txt {
	position: absolute;
	display: flex;
	justify-content: flex-end;
	align-items: flex-start;
	flex-direction: column;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(3,40,80,.3);
	padding: 1em;
	box-sizing: border-box;
	transition: all .3s;
	-webkit-transition: all 0.3s;
}

section.top_service .row .col-4 a:hover .inner-txt {
	background: rgba(3,40,80,.6);
}

section.top_service .row .col-4 .inner-txt span {
	display: inline-block;
	color: #fff;
	font-size: 24px;
	font-weight: bold;
	padding-bottom: 15px;
	border-bottom: 2px solid #fff;
}

@media screen and (max-width: 1024px) {
	section.top_about img.sp { display: block; }
	
	section.top_about::before {
		display: none;
	}
	
	section.top_about .item { 
		width: 100%; 
		padding-top: 0;
	}
	
	section.top_service .row .col-4 { width: 50%; }
}


@media screen and (max-width:768px) {
	
	
	.front_post_list { padding-top: 0; }

	section.top_service::before { width: 100%; }

	section.top_service .row .col-4 { width: 100%; }

	section.top_service .row .col-4 a img {
		min-height: inherit;
		max-height: 300px;
	}


}

/* * * * * * * * * * *
* CTA
* * * * * * * * * * */
.cta a {
	color: #333;
	display: block;
	margin-left: calc(((100vw - 100%) / 2) * -1);
	margin-right: calc(((100vw - 100%) / 2) * -1);
	background: url(/struct/wp-content/uploads/cta_bg.png) no-repeat center/cover;
	padding: 3em 1em;
	margin-top: 5em;
	box-sizing: border-box;
	transition: all .3s;
	-webkit-transition: all 0.3s;
	position: relative;
}

.cta a::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255,255,255,0);
	transition: all .3s;
	-webkit-transition: all 0.3s;
}

.cta a:hover::before {
	background: rgba(255,255,255,.6);
}

.cta .content { 
	position: relative;
	z-index: 2;
}

.cta .row { align-items: center; }

.cta .row .col-2:first-child {
	width: 20%;
	border-right: 1px solid #333;
}

.cta .row .col-2:first-child h2 { margin-bottom: 0; }

.cta .row .col-2:last-child { width: 75%; }

.cta .row .col-2:last-child p { padding-bottom: 0; }

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

	.cta .row .col-2:first-child,
	.cta .row .col-2:last-child {
		width: 100%;
	}
	.cta .row .col-2:first-child { border-right: none; }
}

/* * * * * * * * * * *
* SERVICE / COMPANY
* * * * * * * * * * */
section.service .row { align-items: center; }

section.service .row:nth-child(even) { flex-direction: row-reverse; }

section.company h3 { margin-top: 2.5em; }


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



/*新HOLOCF7送信テキストずれ対応*/
.wpcf7-spinner {
	margin: 0 auto!important;
}