@charset "utf-8";
/*
Theme Name:mrp-child
Template:mrp
Version: 1.0.0
*/
/*
DesignCode CSS: ver 0.01
*/
/*------------------------------------------------------
Theme Material
------------------------------------------------------*/
/* font-family: "Inter", sans-serif; */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/*font-family: "Montserrat", sans-serif;*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,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-sectionPost .postlist li {
	border: none!important;

}
.postlist li,
.postlist li:first-child {
	border: 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, #fff 1px, transparent 1px);
	background-repeat: repeat-x;
	background-position: left bottom;
	padding-bottom: 5px;
	position: absolute;
	height: 1px;
	bottom: 0;
	right: 0;
	width: 92%;
}
body:not(.home) #front_bottom_content {
	display: none;
}

#front-sectionPost {
	width: 94%;
	max-width: 1400px;
	margin: 0 auto;
}
.postlist .post_text {
	padding: 26px 0;
}
.post .time, .postlist .time {
	font-weight: 500;
	color: #fff !important;
	background: #001F5E;
	padding: 8px 20px;
	letter-spacing: 1px;
	border-radius: 0;
}
.post .time a, .postlist .time a {
	font-weight: 500;
	color: #fff!important;
}

.post4b li .post4b_contents {
	/* 	opacity: 1; */
	display: none;
}
.post4b .time {
	display: block;
	background: #001F5E;
}

.post_link a {
	color: #000000!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#h1Header {
	background: #fff;
}
#thumbImg::before, header#h1Header::before {
	background: #2D2E3E;
	opacity: 0.25;
}
header#h1Header h1.title {
	font-size: var(--rem48);
	font-weight: 700;
	color: #fff;
}

#header,
.sticky-header #header > .inner {
	background: #001F5E;
}
#header-upper {
	display: none!important;
}
#header .logo {
	padding: 10px 20px;
}
#header .logo img {
	width: 100%;
	max-width: 300px;
	height: auto;
}
#header ul.header__contact li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-right: 20px;
}
#header a.head_btn {
	align-items: center;
	height: auto;
}
#header a.head_btn::before {
	font-size: 1.2em;
	margin-bottom: 0;
	margin-right: 4px;
}
#header a.head_btn.tel_btn {
	background: #2F96DE;
	color: #fff;
	flex-direction: unset;
	width: 180px;
	padding: 14px;
}
#header a.head_btn.mail_btn {
	background: #FFFFFF;
	color: #001F5E;
	flex-direction: unset;
	width: 180px;
	padding: 14px;
}
nav#mainNav ul li a,
nav#mainNav ul li a:hover,
nav#mainNav ul li.current-menu-item a,
nav#mainNav ul li.current-menu-item a:hover,
nav#mainNav ul li.current-menu-parent a,
nav#mainNav ul li.current-menu-parent a:hover {
	background: #001F5E!important;
}
nav#mainNav ul li a {
	padding: min(calc(15px + (1vw - 19.2px) * 0.5580), 15px) min(calc(28px + (1vw - 19.2px) * 1.6722), 28px);
}
nav#mainNav ul li a b {
	font-weight: 500;
}
nav#mainNav ul li a,
nav#mainNav ul li a:hover,
nav#mainNav ul li a b,
nav#mainNav ul li a:hover b,
nav#mainNav ul li.current-menu-item a,
nav#mainNav ul li.current-menu-item a:hover,
nav#mainNav ul li.current-menu-item a b,
nav#mainNav ul li.current-menu-parent a b {
	color: #fff!important;
}

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

a#scrollUp {
	background: #001F5E;
}

#footer {
	padding: 30px;
}
#footer,#copyright {
	color: #fff;
	background: #001F5E;
}
#copyright {
	margin-top: 0;
}
#footer .footnav:not(:last-child) {
	margin-bottom: 20px;
}
#footer li a, .footeradd, .footertel, #footer li a:hover {
	color: #fff;
}
#footer .footnav ul > li::before, #footer .footnav ul > li::after {
	display: none;
}
#footer .socialicon {
	margin-bottom: 15px;
}

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

h1.title {
	font-family: "Noto Sans JP", sans-serif;
	font-size: var(--rem48);
	letter-spacing: .01em;
	color: #262626;
	line-height: 1.4;
	font-weight: 700;
	display: block;
	position: relative;
}
h1.title .ja {
	font-family: "Noto Sans JP", sans-serif;
	display: block;
	font-weight: 700;
	font-size: var(--rem20);
	color: #262626;
}
body.home h1.title {
	font-family: "Montserrat", sans-serif;
	font-size: var(--rem60);
	color: #2F96DE;
}

.post h2 {
	font-family: "Noto Sans JP", sans-serif;
	font-weight: 700;
	font-size: var(--rem40);
	margin-top: 0;
	margin-bottom: 30px;
}
.post h2:after {
	display: none;
}

.post h2.title {
	font-family: "Noto Sans JP", sans-serif;
	font-size: var(--rem40);
	color: #262626;
	text-align: center;
	padding: 0!important;
	margin: 0!important;
	margin-bottom: 30px!important;
}
.post h2.title .en {
	display: block;
	font-weight: 700;
	font-size: var(--rem20);
	color: #2F96DE;
}

.post h3 {
	font-family: "Noto Sans JP", sans-serif;
	font-weight: 700;
	border: none;
	padding: 0;
	margin-top: 0;
	margin-bottom: 20px;
}

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

.post h4::before {
	background: #001F5E;
}

.linkBtn, .post .linkBtn, a.linkBtn {
	font-family: "Noto Sans JP", sans-serif;
	font-weight: 400;
	background: #001F5E;
	border-radius:100vmax;
	padding: 16px;
	width: 220px;
	display: block;
	color: #fff;
	margin-top: 30px;
	margin-inline: auto;
}
.linkBtn::after {
	display: none!important;
}
.linkBtn::before {
	content: '';
	display: inline-block;
	background: #fff;
	width: 7px;
	height: 7px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: 7%;
	clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.linkBtn:hover, .post .linkBtn:hover, a.linkBtn:hover {
	background: #001F5E;
	color: #fff;
	opacity: .7;
}

.cta {
	padding: 100px 0;
	text-align: center;
	background: url(/wp-content/uploads/cta_bg.png)no-repeat;
	background-size: cover;
	background-position: center;
}
.cta h1.title {
	font-size: var(--rem60)!important;
	text-align: center!important;
}
.cta h1.title,
.cta h1.title .ja {
	color: #fff!important;
}
.cta .flex {
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
}
.cta a {
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	width: 100%;
	max-width: 300px;
	padding: 18px 0;
	position: relative;
}
.cta a::before {
	display: block;
	font-family: 'FontAwesome';
	font-size: 1.2em;
	font-weight: 400;
	line-height: 1;
	margin: 0;
}
.cta a.telLink {
	background: #2F96DE;
	font-size: 20px;
}
.cta a.mailLink {
	background: #001F5E;
	font-size: 18px;
}
.cta a.telLink::before {
	content: '\f095';
}
.cta a.mailLink::before {
	content: '\f0e0';
}

#mainImg {
	position: relative;
}
.nivoSlider {
	position: relative;
	overflow: visible!important;
}
.nivo-caption {
	top: 50%!important;
	transform: translateY(-120%);
	left: 7%!important;
	height: max-content !important;
	width: fit-content !important;
	font-family: "Noto Sans JP", sans-serif!important;
	font-weight: 700!important;
	font-size: 3vw !important;
	overflow: visible !important;
	text-align: left !important;
	z-index: 10 !important;
	color: #001F5E!important;
	opacity: 1!important;
	max-width: 100% !important;
	padding: 0!important;
	background: unset!important;
	line-height: 1.6;
}
.nivo-caption .hero {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 15px;
}
.nivo-caption span.ja {
	display: inline-block;
	background: #fff;
	line-height: 1.2;
	padding: 10px;
}
.ms-edit-frontend {
	display: none;
}

/*-----------------------------
Top
------------------------------*/
.top_about {
	background: #001F5E;
	padding: 100px 0;
	position: relative;
	z-index: 2;
}
.top_about::before {
	content: '';
	display: inline-block;
	background: url(/wp-content/uploads/top_about_illust.png)no-repeat;
	background-size: contain;
	aspect-ratio: 1186 / 287;
	width: 70%;
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: -1;
}
.top_about .flex {
	display: flex;
	justify-content: space-between;
	margin-top: 60px;
}
.top_about .title {
	width: 40%;
}
.top_about .text {
	width: 50%;
}
.top_about h1 {
	text-align: left;
	font-weight: 700;
	font-size: var(--rem48);
	color: #fff;
	white-space: nowrap;
	margin-bottom: 20px;
}
.top_about span {
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	color: #2F96DE;
}
.top_about p {
	color: #fff;
}
.top_about .linkBtn02 {
	color: #fff;
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 40px;
}
.top_about .linkBtn02::after {
	content: '';
	display: inline-block;
	background: url(/wp-content/uploads/arrow.png)no-repeat;
	background-size: contain;
	width: 50px;
	height: 50px;
}

.top_service {
	background: url(/wp-content/uploads/service_bg.jpg)no-repeat;
	background-size: cover;
	background-position: center;
	padding: 100px 0;
}
.top_service ul {
	display: grid;
	grid-template-columns: repeat(2,1fr);
	grid-template-rows: auto;
	gap: 60px 40px;
	max-width: 1000px;
	margin-inline: auto;
}
.top_service .image {
	margin-bottom: 20px;
}
.top_service .image img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}
.top_service h2.title .en {
	color: #001F5E;
}

.top_strengths {
	padding-top: 100px;
	background: #001F5E;
}
.top_strengths h1.title .ja {
	color: #fff;
}
.top_strengths .flex {
	display: flex;
	gap: 50px;
	margin-bottom: 50px;
}
.top_strengths .box {
	width: 100%;
}
.top_strengths .icon {
	width: 100px;
	margin-inline: auto;
	margin-bottom: 12px;
}
.top_strengths h2 {
	color: #fff;
}
.top_strengths p {
	color: #fff;
}
.top_strengths .loop_slider {
  position: relative;
  width: 100%;
  height: 350px;          /* 高さ固定 */
  overflow: hidden;
}

.top_strengths .loop_slider::after {
  content: '';
  position: absolute; inset: 0;
  background: #000; opacity: .65;
  pointer-events: none;
}

/* 帯 */
.top_strengths .loop_slider ul{
  display: flex;
  flex-wrap: nowrap;
  width: max-content;       /* ← 中身の総幅に */
  margin: 0; padding: 0; list-style: none;
  gap: 0;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0,0,0);
  animation: loop var(--loop-duration, 30s) linear infinite;
}

.top_strengths .loop_slider li{
  flex: 0 0 auto;
  margin: 0; padding: 0;
}

.top_strengths .loop_slider img{
  display: block;
  height: 350px;   /* 切らずに収める：高さ基準 */
  width: auto;     /* 幅は比率維持 */
}
.top_strengths .loop_slider{ --loop-duration: 35s; }
.top_strengths .loop_slider ul{
	animation: loop var(--loop-duration) linear infinite; 
}

/* シームレススクロール：帯長の半分だけ動かす */
@keyframes loop{
  0%   { transform: translate3d(0,0,0); }
  100% { transform: translate3d(-50%,0,0); } /* ここで次の同一セットに重なるのでスナップなし */
}

.top_works {
	padding: 100px 0;
	background: #001F5E;
}
.top_works h1.title .ja {
	color: #fff;
}
.top_works ul {
	display: grid;
	grid-template-columns: repeat(4,1fr);
	grid-template-rows: auto;
	gap: 40px 25px;
}
.top_works .image {
	margin-bottom: 20px;
}
.top_works .image img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}
.top_works dl {
	display: flex;
	padding: 5px;
	border-bottom: 1px solid #fff;
}
.top_works dd,
.top_works dt {
	color: #fff;
	margin: 0;
}
.top_works dt {
	width: 30%;
	font-weight: 500;
	position: relative;
	border-right: solid 1px #fff;
	padding-right: 10px;
}
.top_works dd {
	width: 70%;
	padding-bottom: 0;
	padding-left: 20px;
}

.top_recruit {
	padding: 60px 0;
	background: url(/wp-content/uploads/recruit_bg.jpg)no-repeat;
	background-size: cover;
	background-position: center;
}
.top_recruit .inner {
	background: rgba(255, 255, 255, .8);
	padding: 50px 10%;
	max-width: 1100px;
	margin-inline: auto;
}

.top_news {
	padding: 100px 0;
	background: #001F5E;
}
.top_news h1.title .ja {
	color: #fff;
}
.top_news .postlist .post_text,
.top_news .postlist .date,
.top_news .postlist .ttls,
.top_news .postlist .ttls a {
	color: #fff!important;
}

@media print, screen and (max-width: 1023px) {
	.top_works ul {
		grid-template-columns: repeat(2,1fr);
	}
}

@media print, screen and (max-width: 768px) {
	.top_about {
		padding: 70px 0;
	}
	.top_about::before {
		width: 80%;
	}
	.top_about .flex {
		flex-direction: column;
		gap: 30px;
		margin-top: 40px;
	}
	.top_about .title {
		width: 100%;
		text-align: center;
	}
	.top_about h1 {
		text-align: center;
	}
	.top_about .text {
		width: 100%;
	}
	.top_about .linkBtn02 {
		width: fit-content;
		margin-inline: auto;
	}

	.top_service {
		padding: 70px 0;
	}
	.top_service ul {
		grid-template-columns: repeat(1,1fr);
		gap: 50px;
	}

	.top_strengths {
		padding-top: 70px;
	}
	.top_strengths .flex {
		flex-direction: column;
		gap: 40px;
		margin-bottom: 40px;
	}
	.top_strengths .icon {
		width: 80px;
	}
	.top_strengths .loop_slider {
		height: 230px;
	}
	.top_strengths .loop_slider ul {
		width: calc(600px * 2 * 1.5);
	}

	.top_works {
		padding: 70px 0;
	}
	.top_works ul {
		grid-template-columns: repeat(1,1fr);
	}

	.top_recruit {
		padding: 40px 0;
	}
	.top_recruit .inner {
		padding: 30px 5%;
	}

	.top_news {
		padding: 70px 0;
	}
	.top_news h1.title {
		margin-bottom: 0!important;
	}
}

/*-----------------------------
会社概要
------------------------------*/
.company.sec01 h3 {
	font-weight: 700;
	color: #001F5E;
}
.company.sec01 .inner {
	max-width: 1000px;
	margin-inline: auto;
}
.company.sec01 p.right {
	text-align: right;
	margin-top: 20px;
}

.company.sec02 {
	padding-top: 120px;
}
.company.sec02 table,
.company.sec02 th,
.company.sec02 td {
	background: unset!important;
	font-weight: 400!important;
	border: none!important;
}
.company.sec02 tr {
	border-bottom: 1px solid #000;
}
.company.sec02 iframe {
	width: 100%;
	height: 350px;
}

@media print, screen and (max-width: 768px) {
	.company.sec01 h3 {
		text-align: center;
	}

	.company.sec02 {
		padding-top: 70px;
	}
}

/*-----------------------------
事業内容
------------------------------*/
.service.sec01 li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 100px;
	gap: 40px;
}
.service.sec01 li:first-child {
	padding-top: 0;
}
.service.sec01 li:nth-child(even) {
	flex-direction: row-reverse;
}
.service.sec01 .image,
.service.sec01 .text {
	width: 100%;
}
.service.sec01 .image img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}
.service.sec01 h2.title {
	text-align: left;
	margin-left: 0;
}

@media print, screen and (max-width: 768px) {
	.service.sec01 li {
		flex-direction: column;
		padding-top: 70px;
		gap: 30px;
	}
	.service.sec01 li:nth-child(even) {
		flex-direction: column;
	}
	.service.sec01 h2.title {
		text-align: center;
		margin-left: auto;
	}
}

/*-----------------------------
ボーリング調査
------------------------------*/
.boring.sec01 .box {
	padding: 100px 0;
	border-top: 1px solid #001F5E;
}
.boring.sec01 .box:first-child {
	padding-top: 0;
	border: none;
}
.boring.sec01 .flex {
	display: flex;
	align-items: center;
	gap: 40px;
}
.boring.sec01 .image,
.boring.sec01 .text {
	width: 100%;
}
.boring.sec01 .image01 img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}
.boring.sec01 h2 {
	text-align: left;
	margin-left: 0;
}

@media print, screen and (max-width: 768px) {
	.boring.sec01 .box {
		padding: 50px 0;
	}
	.boring.sec01 .flex {
		flex-direction: column;
		gap: 30px;
	}
	.boring.sec01 h2 {
		text-align: center;
		margin-left: auto;
	}
}

/*-----------------------------
採用情報
------------------------------*/
.recruit.sec01 .flex {
	display: flex;
	align-items: center;
	gap: 40px;
}
.recruit.sec01 .image,
.recruit.sec01 .text {
	width: 100%;
}

.recruit.sec02 {
	padding-top: 120px;
}
.recruit.sec02 table,
.recruit.sec02 th,
.recruit.sec02 td {
	background: unset!important;
	font-weight: 400!important;
	border: none!important;
}
.recruit.sec02 tr {
	border-bottom: 1px solid #000;
}

.recruit.sec03 {
	padding-top: 120px;
}
.recruit.sec03 .flex {
	display: flex;
	gap: 20px;
}
.recruit.sec03 .flex p {
	text-align: center;
	line-height: 1.5;
	margin-top: 8px;
}
.recruit.sec03 .flex img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}
.recruit.sec03 .box01 {
	width: 69%;
}
.recruit.sec03 .boxinner {
	display: flex;
	gap: 20px;
}
.recruit.sec03 .boxinner .image {
	width: 100%;
}
.recruit.sec03 .box02 {
	width: 33.6%;
}
.recruit.sec03 .box02 .image {
	width: 100%;
}

@media print, screen and (max-width: 768px) {
	.recruit.sec01 .flex {
		flex-direction: column;
		gap: 30px;
	}

	.recruit.sec02 {
		padding-top: 70px;
	}

	.recruit.sec03 {
		padding-top: 70px;
	}
	.recruit.sec03 .flex {
		flex-direction: column;
	}
	.recruit.sec03 .box01 {
		width: 100%;
	}
	.recruit.sec03 .box02 {
    	width: calc(50% - 10px);
		margin: auto;
  }
}

/*-----------------------------
お知らせ
------------------------------*/
body.category-news .postlist .post_text:after {
	background-image: linear-gradient(to right, #262626 1px, transparent 1px);
}

/*-----------------------------
お問い合わせ
------------------------------*/
body.page-contact .cta {
	display: none;
}
body.page-contact #content.wide {
	padding-bottom: 80px!important;
}
.post .subimitarea .linkBtn {
	padding: 0;
	width: 300px;
}
body.page-contact .post table th {
	background: #001F5E!important;
	color: #fff!important
}
.wpcf7-form .must {
	background: #fff!important;
	color: #001F5E!important;
	border: solid 1px #001F5E;
}
.post .subimitarea .linkBtn input[type="submit"] {
	color: #fff!important;
	padding: 20px;
	background: #001F5E;
	width: 300px;
	border-radius: 100vmax;
}
.post .subimitarea .linkBtn::after {
	display: none!important;
}


/*--メディアクエリ--------------------------------------------*/
@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 screen and (min-width: 769px){
	.dsp_hp { display:block; }
	.dsp_smt { display:none; }
}
@media screen and (max-width: 768px){
	.dsp_hp { display:none; }
	.dsp_smt { display:block; }

	.mobile #header {
		background: #001F5E;
	}

	.post h2.title,
	.post h2 {
		margin-bottom: 20px!important;
	}

	.linkBtn, .post .linkBtn, a.linkBtn {
		margin-top: 20px;
	}
	.nivo-caption {
		font-size: 17px!important;
		top:55%!important;
	}
	.nivo-caption .hero {
		gap: 3px;
	}
	.nivo-caption span.ja {
		padding: 6px;
	}

	.cta {
		padding: 70px 0;
	}
	.cta a {
		padding: 15px 0;
	}
	.cta a::before {
		font-size: 1em;
	}
	.cta a.telLink {
		font-size: 20px;
	}
	.cta a.mailLink {
		font-size: 18px;
	}
}

@media print, screen and (max-width: 640px) {
	.postlist .post_text:after {
		width: calc(100%);
	}
}