@charset "utf-8";
/*
Theme Name:mrp-child
Template:mrp
Version: 1.0.0
*/
/*
DesignCode CSS: ver 0.01
*/
/*------------------------------------------------------
Theme Material
------------------------------------------------------*/
/* font-family: "Noto Serif JP", serif; */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap');

/* font-family: "Barlow", sans-serif; */
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* font-family: "Noto Sans JP", sans-serif; */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

.front_contents {
	position: relative;
	padding: min(calc(150px + (1vw - 19.2px) * 4.5307), 150px) 0; /* 150-80px (1920-375) */
	z-index: 10;
}
.wrapper_content {
	position: relative;
	width: 90%;
	max-width: 1240px;
	margin: 0 auto;
	z-index: 20;
}
#front_top_content, #front_bottom_content {
	position: relative;
	padding: min(calc(120px + (1vw - 19.2px) * 3.2362), 120px) 0; /* 120-70px (1920-375) */
	z-index: 10;
	background: #fff;
}
#front_bottom_content .postlist li {
	border-bottom: solid 1px #ddd;
}
#front_bottom_content h1.title::after {
	left: 50%;
	transform: translateX(-50%);
}
body:not(.home) #front_bottom_content {
	display: none;
}
body:not(.home) .cta {
	padding-bottom: 80px;
}

#front-sectionPost {
	width: 94%;
	max-width: 1240px;
	margin: 0 auto;
}
#front-sectionPost .postlist li {
	border-bottom: none;
}
.postlist li {
	border: none;
}
.postlist li:first-child {
	border-top: none!important;
}
.postlist .post_text {
	position: relative;
}
.postlist .post_text:after {
	content: '';
	display: inline-block;
	background-size: 3px 1px;
	background-image: linear-gradient(to right, #000000 1px, transparent 1px);
	background-repeat: repeat-x;
	background-position: left bottom;
	padding-bottom: 5px;
	position: absolute;
	height: 1px;
	bottom: 0;
	right: 0;
	width: calc(100% - 92px);
}
.post .time, .postlist .time {
	font-weight: 400;
	color: #fff !important;
	background: #CB001A;
	padding: 8px 20px;
	letter-spacing: 1px;
}
.post .time a, .postlist .time a {
	font-weight: 400;
	color: #fff!important;
}

.post4b li .post4b_contents {
	opacity: 1;
}
.post4b .time {
	display: block;
	background: #CB001A;
}

.post_link a {
	color: #111111!important;
}
.post_link {
	border-bottom: none;
}

#wrapper {
	max-width: unset;
	padding: 0;
	position: relative;
	z-index: 1;
}

body {
	font-weight: 400;
	font-family: "Noto Sans JP", sans-serif;
}

body p {
	line-height: 2;
}

body:not(.home) #wrapper {
	width: unset;
}
body.category #wrapper, body.archive #wrapper , body.single #wrapper , body.page-contact #wrapper , body.page-thanks #wrapper , body.page-privacy #wrapper , body.error404 #wrapper {
	width: 94%;
	max-width: var(--content-max-width);
}

.page-id-17 #wrapper {
	width: 94%!important;
	max-width: var(--content-max-width);
	margin-inline: auto;
}

#header-upper {
	display: none!important;
}
#header .logo {
	padding: 10px 20px;
}
#header .logo img {
	max-width: 300px;
	height: auto;
}
nav#mainNav ul li a b {
	font-weight: 500;
}
nav#mainNav ul li a span {
	font-family: "Noto Serif JP", serif;
	font-weight: 400;
	font-size: 12px;
} 
nav#mainNav ul li.current-menu-item a b {
	color: #CB001A;
}
nav#mainNav ul li.current-menu-item a span {
	color: #CB001A;
}

.spmenu #menu span, .spmenu #menu span:before, .spmenu #menu span:after {
	background: #CB001A;
}
.spmenu #menu p {
	color: #CB001A;
}

#footer {
	padding: 50px 60px 30px;
	background: #fff;
}

a#scrollUp {
	background: #CB001A;
}

.inner {
	width: 94%;
	max-width: 1600px;
	margin-inline: auto;
}

h1.title {
	font-family: "Noto Sans JP", sans-serif;
	font-size: var(--rem42);
	color: #000000;
	line-height: 1.3;
	font-weight: 700;
	display: block;
	width: fit-content;
	margin-bottom: 50px;
	position: relative;
}
h1.title .en {
	font-family: "Barlow", sans-serif;
	font-size: var(--rem30);
	display: block;
	color: #fff;
	letter-spacing: .1em;
	text-shadow: 2px 2px 0 #CB001A, -2px -2px 0 #CB001A, -2px 2px 0 #CB001A,
		2px -2px 0 #CB001A, 0px 2px 0 #CB001A, 0-2px 0 #CB001A, -2px 0 0 #CB001A,
		2px 0 0 #CB001A;
}

.post h2 {
	font-weight: 500;
	color: #000000;
	margin-bottom: 20px;
}
.post h2:after {
	display: none;
}

.post h3 {
	font-weight: 500;
	border: none;
	padding: 0;
}

.post h4 {
	font-weight: 500;
}

.post h4::before {
	background: #CB001A;
}

.linkBtn, .post .linkBtn, a.linkBtn {
	font-family: "Noto Sans JP", sans-serif;
	font-weight: 700;
	color: #fff;
	background: #CB001A;
	display: block;
	max-width: 300px;
	padding: 16px 30px 16px 10px;
	border-radius: 0;
	margin-top: 50px;
}
.linkBtn:hover, .post .linkBtn:hover, a.linkBtn:hover {
	color: #fff;
	opacity: .7;
	background: #CB001A;
}

#footer ul li a {
	color: #000;
}
#copyright {
	background: unset;
	color: #000;
}

.floatContact {
	position: fixed;
	bottom: 0;
	right: 0;
	transform: translateY(-50%);
	display: block;
	width: 80px;
	z-index: 10;
}
.floatContact img {
	width: 100%;
	max-width: 100%;
}

/*-----------------------------
Cta
------------------------------*/
.cta {
	background: #CB001A;
	text-align: center;
	padding: 80px 0;
}
.cta h1.title {
	margin-bottom: 20px;
}
.cta h1.title .en {
	color: #CB001A;
	text-shadow: 2px 2px 0 #fff, -2px -2px 0 #fff, -2px 2px 0 #fff,
		2px -2px 0 #fff, 0px 2px 0 #fff, 0-2px 0 #fff, -2px 0 0 #fff,
		2px 0 0 #fff;
}
.cta a {
	font-weight: 700;
	font-size: var(--rem24);
	color: #fff;
	display: block;
	text-align: center;
	width: 100%;
	max-width: 300px;
	margin-inline: auto;
	border: solid 2px #fff;
	padding: 16px 30px 16px 10px;
	margin-top: 40px;
	position: relative;
}
.cta a::before {
	content: '\f0e0';
	display: inline-block;
	font-family: 'FontAwesome';
	font-size: 1.2em;
	font-weight: 400;
	line-height: 1;
	margin-right: .3em;
	vertical-align: middle;
}

/*-----------------------------
Top
------------------------------*/
.top_service {
	position: relative;
	padding-top: 100px;
	padding-bottom: 100px;
}
.top_service::after {
	content: '';
	display: inline-block;
	background: url(/wp-content/uploads/top_service_bg.jpg)no-repeat;
	background-size: cover;
	background-position: center;
	width: 100%;
	height: 300px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
}
.top_service h1.title {
	color: #fff;
}
.top_service h1.title .en {
	color: #CB001A;
	text-shadow: 2px 2px 0 #fff, -2px -2px 0 #fff, -2px 2px 0 #fff,
		2px -2px 0 #fff, 0px 2px 0 #fff, 0-2px 0 #fff, -2px 0 0 #fff,
		2px 0 0 #fff;
}
.top_service ul {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	column-gap: 50px;
	row-gap: 60px;
}
.top_service li {
	width: calc(33% - 50px);
}
.top_service .image {
	position: relative;
}
.top_service .image img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	width: 100%;
	height: 100%;
}
.top_service .image span {
	position: absolute;
	bottom: 0;
	left: 0;
	font-weight: 900;
	font-size: 20px;
	background: #fff;
	padding: 2px;
	line-height: 1;
	color: #CB001A;
}
.top_service h3 {
	display: flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	margin-inline: auto;
	margin-top: 20px;
}
.top_service h3::before {
	content: '';
	display: inline-block;
	min-width: 12px;
	width: 12px;
	height: 12px;
	background: #CB001A;
	border-radius: 50%;
	margin-right: 10px;
}
.top_service .btn_wrap {
	display: flex;
	justify-content: center;
	column-gap: 30px;
	row-gap: 20px;
	flex-wrap: wrap;
	margin-top: 50px;
}
.top_service .linkBtn {
	margin: 0;
}

.top_worries {
	background: url(/wp-content/uploads/bg.jpg)no-repeat;
	background-size: cover;
	background-position: center;
	padding: 100px 0;
}
.top_worries h2 {
	font-weight: 700;
	margin-bottom: 40px;
}
.top_worries ul {
	display: flex;
	flex-direction: column;
	row-gap: 20px;
	width: fit-content;
	margin-inline: auto;
}
.top_worries li {
	font-weight: 700;
	position: relative;
	padding-left: 55px;
}
.top_worries li::before {
	content: '';
	display: inline-block;
	background: url(/wp-content/uploads/check.png)no-repeat;
	background-size: contain;
	background-position: center;
	width: 40px;
	height: 35px;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}

.top_solution {
	padding: 100px 0;
	background: #CB001A;
}
.top_solution h2 {
	text-align: center;
	font-weight: 700;
	color: #fff;
	margin-bottom: 40px;
}
.top_solution .wrap {
	display: flex;
	flex-direction: column;
	row-gap: 80px;
}
.top_solution .flex {
	display: flex;
	justify-content: space-between;
}
.top_solution .left {
	width: 40%;
}
.top_solution .left p {
	color: #fff;
}
.top_solution .right {
	width: 55%;
	display: flex;
	column-gap: 20px;
}
.top_solution .en {
	font-family: "Barlow", sans-serif;
	font-weight: 900;
	color: #CB001A;
	font-size: var(--rem60);
	text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, -1px 1px 0 #fff,
		1px -1px 0 #fff, 0px 1px 0 #fff, 0-1px 0 #fff, -1px 0 0 #fff,
		1px 0 0 #fff;
}
.top_solution h3 {
	color: #fff;
	font-size: var(--rem36);
}
.top_solution .linkBtn {
	background: #fff;
	color: #CB001A;
	margin-left: 0;
}
.top_solution .linkBtn::after {
	border-right: solid 2px #CB001A;
	border-bottom: solid 2px #CB001A;
}
.top_solution .linkBtn:hover {
	background: #fff;
	color: #CB001A;
}
.top_solution .box {
	background: #fff;
	padding: 25px;
}
.top_solution .image img {
	width: 100%;
}
.top_solution .name {
	font-weight: 500;
	font-size: 14px;
	width: fit-content;
	margin-inline: auto;
	padding-bottom: 4px;
	display: block;
	margin-bottom: 20px;
	position: relative;
}
.top_solution .name::after {
	content: '';
	display: inline-block;
	width: 45px;
	height: 1px;
	background: #CB001A;
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
}
.top_solution .text {
	margin-top: 14px;
}
.top_solution p b {
	font-weight: 500;
	font-size: 22px;
	text-align: center;
	display: block;
}
.top_solution .box02 {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}
.top_solution .box02 .image {
	width: 70%;
}
.top_solution .box02 .nameBox {
	width: 30%;
}
.top_solution .box02 .text {
	width: 100%;
	margin-top: 20px;
}
.top_solution .box02 .name {
	font-size: 20px;
	padding-bottom: 6px;
	margin-left: 20px;
}
.top_solution .box02 .name::after {
	left: 0;
	transform: translateX(0);
}
.top_solution .box02 p b {
	text-align: left;
}

.top_flow {
	background: #F8F8F8;
	padding: 100px 0;
}
.top_flow ul {
	display: grid;
	grid-template-columns: repeat(4,1fr);
	grid-template-rows: auto;
	column-gap: 15px;
}
.top_flow li {
	background: #fff;
	padding: 30px 25px;
	text-align: center;
}
.top_flow li span {
	font-family: "Barlow", sans-serif;
	font-weight: 900;
	font-size: 20px;
	color: #CB001A;
	display: inline-block;
	margin-bottom: 16px;
}
.top_flow .image image {
	width: 100%;
	height: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}
.top_flow .text {
	margin-top: 18px;
}
.top_flow .text h3 {
	margin-top: 0;
	margin-bottom: 16px;
}

.top_about .wrap {
	display: flex;
}
.top_about .image {
	width: 50%;
}
.top_about .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.top_about .text {
	width: 50%;
	padding: 40px 8% 40px 30px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.top_about h1.title {
	font-size: var(--rem36);
	margin-left: 0;
	text-align: left;
}
.top_about h1.title .en {
	font-size: var(--rem30);
}
.top_about .linkBtn {
	margin-left: 0;
}

@media print, screen and (max-width: 768px) {
	.top_service {
		padding-top: 80px;
	}
	.top_service ul {
		column-gap: 25px;
		row-gap: 40px;
	}
	.top_service li {
		width: calc(50% - 25px);
	}
	.top_service .image span {
		font-size: 16px;
	}
	.top_service h3 {
		font-size: 16px;
		line-height: 1.6;
	}

	.top_solution .wrap {
		row-gap: 50px;
	}
	.top_solution .flex {
		flex-direction: column;
		row-gap: 40px;
	}
	.top_solution .left {
		width: 100%;
		text-align: center;
	}
	.top_solution .left p {
		text-align: left;
	}
	.top_solution .right {
		width: 100%;
		flex-direction: column;
		row-gap: 20px;
	}
	.top_solution .linkBtn {
		margin-left: auto;
	}
	.top_solution p b {
		font-size: 20px;
	}
	.top_solution .box02 .name {
		font-size: 18px;
		margin-left: 14px;
	}

	.top_flow ul {
		grid-template-columns: repeat(1,1fr);
		row-gap: 15px;
	}

	.top_about .wrap {
		flex-direction: column;
	}
	.top_about .image {
		width: 100%;
	}
	.top_about .image img {
		aspect-ratio: 3 / 2;
	}
	.top_about .text {
		width: 100%;
		padding: 40px 4%;
	}
	.top_about h1.title {
		margin-left: auto;
		text-align: center;
	}
	.top_about .linkBtn {
		margin-left: auto;
	}
}

/*-----------------------------
事業内容
------------------------------*/
.service .flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.service .flex:not(:first-child) {
	padding-top: 80px;
}
.service .flex:nth-child(even) {
	flex-direction: row-reverse;
}
.service .image {
	width: 45%;
}
.service .image image {
	aspect-ratio: 3 / 2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.service .text {
	width: 50%;
}
.service h2 {
	text-align: left;
	padding-bottom: 6px;
	border-bottom: 1px solid #CB001A;
}
.service .linkBtn {
	margin-left: 0;
	border: solid 1px #000000;
	background: unset;
	color: #000000;
}
.service .linkBtn::after {
	border-right: solid 1px #000000;
	border-bottom: solid 1px #000000;
}
.service .linkBtn:hover {
	background: unset;
	color: #000000;
}

@media print, screen and (max-width: 768px) {
	.service .flex {
		flex-direction: column;
		row-gap: 30px;
	}
	.service .flex:nth-child(even) {
		flex-direction: column;
	}
	.service .image {
		width: 100%;
	}
	.service .text {
		width: 100%;
	}
	.service .linkBtn {
		margin-left: auto;
	}
}

/*-----------------------------
選ばれる理由
------------------------------*/
.reason .flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.reason .flex:not(:first-child) {
	padding-top: 80px;
}
.reason .flex:nth-child(even) {
	flex-direction: row-reverse;
}
.reason .image {
	width: 45%;
}
.reason .image image {
	aspect-ratio: 3 / 2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.reason .text {
	width: 50%;
}
.reason h2 {
	text-align: left;
	padding-bottom: 6px;
	border-bottom: 1px solid #CB001A;
}
.reason h2 span {
	font-family: 'Verdana', sans-serif;
	font-style: italic;
	color: #CB001A;
	font-size: var(--rem60);
	display: inline-block;
	margin-right: 6px;
}
@media print, screen and (max-width: 768px) {
	.reason .flex {
		flex-direction: column;
		row-gap: 30px;
	}
	.reason .flex:nth-child(even) {
		flex-direction: column;
	}
	.reason .image {
		width: 100%;
	}
	.reason .text {
		width: 100%;
	}
}

/*-----------------------------
ご相談の流れ
------------------------------*/
.flow .wrap {
	display: flex;
	flex-direction: column;
	row-gap: 16px;
}
.flow .flex {
	background: #F8F8F8;
	padding: 25px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.flow .image {
	width: 40%;
}
.flow .image img {
	aspect-ratio: 3 / 2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.flow .text {
	width: 55%;
}
.flow h2 {
	padding-bottom: 6px;
	border-bottom: 1px solid #CB001A;
	text-align: left;
	display: flex;
	align-items: center;
}
.flow h2 span {
	letter-spacing: 0;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	padding: 2px;
	color: #fff;
	display: inline-block;
	margin-right: 8px;
	background: #CB001A;
}

@media print, screen and (max-width: 768px) {
	.flow .flex {
		flex-direction: column;
		row-gap: 30px;
	}
	.flow .image {
		width: 100%;
	}
	.flow .text {
		width: 100%;
	}
}

/*-----------------------------
会社案内
------------------------------*/
.company .flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.company .image {
	width: 45%;
}
.company .text {
	width: 50%;
}
.company .flex h2 {
	text-align: left;
	padding-bottom: 6px;
	border-bottom: 1px solid #CB001A;
}
.company .wrap {
	padding-top: 100px;
}
.company .wrap h2 {
	color: #CB001A;
	padding-bottom: 6px;
	border-bottom: 1px solid #CB001A;
}
.company table,
.company th,
.company td {
	border: none!important;
	vertical-align: middle!important;
}
.company tr {
	border-bottom: 14px solid #fff;
}
.company th,
.company td {
	background: #F8F8F8!important;
}
.company th {
	font-weight: 700;
	color: #CB001A!important;
}
.company iframe {
	width: 100%;
	height: 350px;
}

@media print, screen and (max-width: 768px) {
	.company .flex {
		flex-direction: column;
		row-gap: 30px;
	}
	.company .image {
		width: 100%;
	}
	.company .text {
		width: 100%;
	}
	.company tr {
		border-bottom: 10px solid #fff;
	}
}

/*-----------------------------
採用情報
------------------------------*/
.recruit .flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.recruit .image {
	width: 45%;
}
.recruit .text {
	width: 50%;
}
.recruit .flex h2 {
	text-align: left;
	padding-bottom: 6px;
	border-bottom: 1px solid #CB001A;
}
.recruit .wrap {
	padding-top: 100px;
}
.recruit .wrap h2 {
	color: #CB001A;
	padding-bottom: 6px;
	border-bottom: 1px solid #CB001A;
}
.recruit table,
.recruit th,
.recruit td {
	border: none!important;
	vertical-align: middle!important;
}
.recruit tr {
	border-bottom: 14px solid #fff;
}
.recruit th,
.recruit td {
	background: #F8F8F8!important;
}
.recruit th {
	font-weight: 700;
	color: #CB001A!important;
}
@media print, screen and (max-width: 768px) {
	.recruit .flex {
		flex-direction: column;
		row-gap: 30px;
	}
	.recruit .image {
		width: 100%;
	}
	.recruit .text {
		width: 100%;
	}
	.recruit tr {
		border-bottom: 10px solid #fff;
	}
}

/*-----------------------------
当社の役割
------------------------------*/
body.page-role #content.wide {
	padding-top: 0;
}
body.page-role .top_flow {
	background: #fff;
	padding-bottom: 0;
}
body.page-role .top_flow li {
	background: #F6F6F6;
}
.role picture img {
	width: 100%;
}

/*-----------------------------
お問い合わせ
------------------------------*/
body.page-contact .post table th {
	background: #CB001A!important;
	color: #fff!important;
}

.post .subimitarea .linkBtn {
	padding: 0;
}
.post .subimitarea .linkBtn input[type="submit"] {
	color: #fff!important;
}

/*--メディアクエリ--------------------------------------------*/
@media print, screen and (max-width: 1200px) {

}
@media print, screen and (max-width: 1023px) {
	#content, #content.wide {
		width: 100%;
	}

	nav#mainNav ul li a {
		padding: 20px 10px;
	}
	nav#mainNav ul li a span {
		display: none;
	}
}
@media print, screen and (max-width: 768px) {
	.floatContact {
		display: none;
	}
}
@media print, screen and (max-width: 640px) {
	.postlist .post_text:after {
		width: calc(100%);
	}
}