@charset "utf-8";
/*
Theme Name:mrp-child
Template:mrp
Version: 1.0.0
*/
/*
DesignCode CSS: ver 0.01
*/
/*------------------------------------------------------
Theme Material
------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

:root {
	/*------▼基本設定▼------*/
	--color-background: #fff;
	--color-font: #333;
	--color-primary: #002F7B;
	--color-primary-shade: #D7000F;
	--color-primary-tint: #4287F7;
	--color-secondary: #D7000F;
	--color-table-border: #DDD;
	--color-table-th: #002F7B;
	--body-font-family: 'Noto Sans JP', sans-serif;
	--content-max-width: 1240px;
	/*------▼ヘッダー設定▼------*/
	--header-background: #FFF;
	--header-color-font: #444;
	--header-color-primary: #D7000F;
	--header-color-primary-shade: #002F7B;
	--header-color-primary-tint: #002F7B;
	/*------▼フッター設定▼------*/
	--footer-background: #F4F5F9;
	--footer-color-font: #333333;
	--footer-color-primary: #4F4F4F;
	/*------▼フォント設定▼------*/
	--font-family01: 'Noto Sans JP', sans-serif;
	--font-family02: 'Raleway', 'Noto Sans JP', sans-serif;
}
/*--------------------------------------------------
	親CSS調整
--------------------------------------------------*/
.post {
	background: none;
}
.post p {
	line-height: 1.8;
}
.post table th {
	background: var(--color-table-th);
	font-weight: 500;
}
@media print, screen and (min-width: 1024px) {
	.sticky-header #header > .inner {
		background: var(--header-background);
	}
}
@media print, screen and (max-width: 1023px) {
	nav#mainNav ul li a {
		background: var(--header-background) !important;
	}
}
/*--------------------------------------------------
	オリジナル設定
--------------------------------------------------*/
.fs { font-size: 85%; }
.fm { font-size: 115%; }
.fm2 { font-size: 130%; }
.red { color: #FC0000; }
.b { font-weight: bold; }
.pick { color: var(--color-primary); }
p.txt_ind { text-indent: -1em; margin-left: 1em; }
p.nm { padding-bottom: 0; }
/**/
.cen { text-align: center; }
.lft { text-align: left; }
.rit { text-align: right; }
.pad_anchor { margin-top: -115px; padding-top: 115px; }
/* 非表示用 */
@media print, screen and (min-width: 641px){ /* PC用 */
	.dsp_smt { display: none; }
	.cen_pc { text-align: center; }
}
@media only screen and (max-width: 640px){ /* スマホ用 */
	.dsp_hp { display: none; }
}
/*--------------------------------------------------
	ヘッダ
--------------------------------------------------*/
@media only screen and (min-width: 1024px) {
	#header a.head_btn.tel_btn {
		color: #fff;
		text-align: center;
	}
	#header a.head_btn.tel_btn span:not(.note) {
		font-size: 20px;
	}
	#header a.head_btn.tel_btn span:not(.note)::before {
		margin-right: 8px;
		font-size: 80%;
		font-weight: 400;
		font-family: 'FontAwesome';
		content: '\f095';
	}
	#header a.head_btn.tel_btn .note {
		font-size: 11px;
	}
	#header a.head_btn {
		text-align: center;
	}
	#header a.head_btn.tel_btn::before {
		display: none;
	}
	#header a.head_btn.tel_btn:hover {
		background: #fff;
		color: var(--header-color-primary-shade);
	}
	.home #header ul.header__contact li.tel_view {
		display: none;
	}
	/**/
	nav#mainNav {
		height: auto;
	}
	nav#mainNav ul li a span {
		color: var(--header-color-primary-shade) !important;
		font-weight: normal;
	}
	nav#mainNav ul li.current-menu-item a, nav#mainNav ul li a:hover, nav#mainNav ul li a:active, nav#mainNav ul li.current-menu-parent a, nav#mainNav ul li.current-menu-ancestor a {
		background: none;
	}
	nav#mainNav ul li li a:hover, nav#mainNav ul li li.current-menu-item a, nav#mainNav ul li li.current-menu-item li a:hover, nav#mainNav ul li.current-menu-item li a:hover, nav#mainNav ul li.current-menu-ancestor li.current-menu-item a, nav#mainNav ul li.current-menu-ancestor li a:hover {
		background: #f6f6f6;
	}
}
@media only screen and (max-width: 1300px) and (min-width: 1024px){
	#header .logo {
		width: 20%;
	}
	#header .logo img {
		width: auto;
		height: auto;
		max-width: 100%;
	}
	nav#mainNav ul li a {
		padding-left: 15px;
		padding-right: 15px;
	}
}
@media only screen and (max-width: 1023px) {
	body.mobile { margin-top: 60px; }
	body.mobile #breadcrumb { margin-top: 0; }
}
/*--------------------------------------------------
	フッタ
--------------------------------------------------*/
#footer .footer_img img {
	width: 100%;
}
body:not(.home) #footer .footer_img {
	display: none;
}
#footer .footnav ul > li::before, #footer .footnav ul > li::after {
	background: none;
}
#footer .footnav ul > li::before {
	content: "＞";
}
#copyright {
	background: none;
}
/*--------------------------------------------------
	共通
--------------------------------------------------*/
.bg_wide { position: relative; }
.bg_wide::before,
.bg_wide.bg_after::after {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100vw;
	height: 100%;
	margin-left: calc(((100vw - 100%) / 2) * -1);
	margin-right: calc(((100vw - 100%) / 2) * -1);
	content: "";
	z-index: -1;
}
.box_w2_sp {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.box_w2_sp.rev { flex-direction: row-reverse; }
.box_w2_sp.vtop { align-items: flex-start; }
.box_w2_sp.vcen { align-items: center; }
.box_w2_sp.vbtm { align-items: flex-end; }
.box_pad { padding: 20px; box-sizing: border-box; }
.box_w2 .column2_50:not(.cen) { text-align: left; }
@media print, screen and (min-width: 641px){ /* PC用 */
	.bg_fix::before { background-attachment: fixed !important; }
	.box_w2 {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	.box_w2.rev { flex-direction: row-reverse; }
	.box_w2.vtop { align-items: flex-start; }
	.box_w2.vcen { align-items: center; }
	.box_w2.vbtm { align-items: flex-end; }
	.box_pad { padding: 30px; }
	.box_w2 .column3_33 { width: 32%; }
	.box_w2 .column2_50 { width: 48.5%; }
	.box_w2 .column2_60 { width: 57%; }
	.box_w2 .column2_70 { width: 67%; }
	.box_w2 .column2_80 { width: 77%; }
	.box_w2 .w45 { width: 45%; }
	.box_w2 .w50 { width: 50%; }
}
@media print, screen and (min-width:769px){ /* PCのみ */
	.box_pad { padding: 50px; }
}
@media only screen and (max-width: 640px){ /* スマホ用 */
	/* tableにスクロールバーを追加 */
	.tbl_scroll { overflow: auto; margin-bottom: 15px; white-space: nowrap; }
	.tbl_scroll table { margin-bottom: 0; }
	.tbl_scroll::-webkit-scrollbar{ height: 5px; }
	.tbl_scroll::-webkit-scrollbar-track{ background: #F1F1F1; }
	.tbl_scroll::-webkit-scrollbar-thumb { ackground: #BCBCBC; }
	.box_w2 .w45+.w50 { margin-top: 20px; }
}
/**/
.box_w2 .column3_33 img, .box_w2 .column2_30 img,
.box_w2 .column2_40 img, .box_w2 .column2_50 img {
	max-width: 100%;
}
/**/
/*
#content .linkBtn {
	width: auto;
	max-width: none;
	border-radius: 0;
	padding: 15px 60px;
	line-height: 1.4;
}
@media only screen and (max-width: 640px){ /* スマホ用 /
	#content .linkBtn {
		padding: 15px 30px;
	}
}
*/
.txt_link {
	color: var(--color-primary);
	text-decoration: underline;
}
.txt_link:hover {
	text-decoration: none;
}
/**/
.w100 {
	width: 100vw;
	margin-left: calc(((100vw - 100%) / 2) * -1) !important;
	margin-right: calc(((100vw - 100%) / 2) * -1) !important;
}
.w600, .w800, .w900, .w1000 {
	width: 600px;
	max-width: 100%;
	margin: auto;
}
.w800 { width: 800px; }
.w900 { width: 900px; }
.w1000 { width: 1000px; }

/**/
.post .linkBtn,
#front-sectionPost .txt_c .linkBtn {
	background: none;
	border-radius: 0;
	border-bottom: solid 1px var(--color-font);
	color: var(--color-font);
	width: 210px;
	max-width: 95%;
	padding: 10px 20px;
	font-weight: bold;
	text-align: left;
}
.post .linkBtn::after,
#front-sectionPost .txt_c .linkBtn::after {
	transform: unset;
 	background: url(/wp-content/uploads/top-parts-01.png) no-repeat center center / contain;
    width: 40px;
    height: 40px;
    top: 50%;
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
	right: 0;
    border: solid 1px var(--color-primary-shade);
    border-radius: 50%;
}
.post .linkBtn:hover,
#front-sectionPost .txt_c .linkBtn:hover {
	background: none;
	color: var(--color-font) !important;
}
.post .linkBtn:hover:after,
#front-sectionPost .txt_c .linkBtn:hover:after {
	background: url(/wp-content/uploads/top-parts-02.png) no-repeat center center / contain;
}

/**/
.post table th {
	color: #fff;
}
/*--------------------------------------------------
	トップページ
--------------------------------------------------*/
body.home {
	background: #F4F5F9;
}
.home #content h1 b,
#content #contact_box h1.sub b,
#front-sectionPost h1.title span span {
	display: block;
	font-family: var(--font-family02);
	font-size: var(--rem18);
	color: var(--color-primary-shade);
	font-weight: bolder;
}
.home #content h1 b::first-letter,
#content #contact_box h1.sub b::first-letter,
#front-sectionPost h1.title span span::first-letter {
	font-size: var(--rem24);
}
#content #contact_box h1.sub::after,
.home #content h1::after,
#front-sectionPost h1.title::after {
	content: "";
	display: block;
	margin: auto;
	width: 120px;
	height: 3px;
	background: var(--color-primary-shade); 
	margin-top: 20px;
}
@media only screen and (max-width: 640px){ /* スマホ用 */
	.home #content h1 b+span {
		font-size: var(--rem30);
	}
}
#front-sectionPost h1.title::after  {
	background: var(--color-primary);
}
/**/
#top_about::before {
	background: url(/wp-content/uploads/top-about-bg-01.jpg) no-repeat center center / cover;
}
#top_about h1 b,
#top_about h1 span {
	color: #fff !important;
}
#top_about {
	color: #fff;
}
#top_about .in {
	width: 700px;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}
#top_about .in p {
	line-height: 2.0;
}

/**/
#top_contents .txt {
	background: #fff;
}
#top_contents .txt p {
	line-height: 2.0;
}
#top_contents h1 {
	text-align: left;
}
#top_contents h1::after {
	margin-left: 0 !important;
}
#top_contents h1 b {
	color: var(--color-primary) !important;
}
#top_company::before {
	background: url(/wp-content/uploads/bg-top-company.jpg) no-repeat center center / cover;
	left: auto;
	right: 0;
	width: 70vw;
}
#top_company .box {
	background: url(/wp-content/uploads/img-top-company01.jpg) no-repeat top right / 60%;
}
#top_service::before {
	background: url(/wp-content/uploads/bg-top-service.jpg) no-repeat center center / cover;
	width: 70vw;
}
#top_service .box {
	background: url(/wp-content/uploads/img-top-service01.jpg) no-repeat top left / 60%;
}
@media print, screen and (min-width: 960px){ /* PC用 */	
	#top_company .box {
		padding-right: 50%;
	}
	#top_service .box {
		padding-left: 50%;
	}
}
@media only screen and (max-width: 959px) and (min-width: 641px) { /* タブレット用 */
	#top_company .box {
		padding-right: 40%;
	}
	#top_service .box {
		padding-left: 40%;
	}
}
@media only screen and (max-width: 640px){ /* スマホ用 */
	#top_company .box {
		padding-bottom: 150px;
		background-position: bottom center !important;
        background-size: 100% !important;
	}
	#top_service .box {
		padding-bottom: 200px;
		background-position: bottom center !important;
        background-size: 100% !important;
	}
	#top_company::before,
	#top_service::before {
		width: 90vw;
	}
}
/**/
#contact_box::before {
	background: url(/wp-content/uploads/top-contact-bg.jpg) no-repeat center center / cover;
}
#contact_box .in {
	background: #002F7B;
	opacity: 0.9;
	color: #fff;
}
#content #contact_box h1.sub,
#content #contact_box h1.sub b {
	color: #fff;
}
#contact_box .btn {
	width: 800px;
	max-width: 100%;
	margin: auto;
}
#contact_box .btn a {
	height: 100%;
	min-height: 100px;
	padding: 15px;
	background: var(--color-primary);
	border: solid 1px #fff;
	color: #fff;
	line-height: 1.5;
	transition: all 0.3s ease-in-out;
	/* 縦方向中央揃え */
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}
#contact_box .btn a i {
	margin-right: 8px;
}
#contact_box .btn .tel a b {
	font-size: 150%;
}
#contact_box .btn a:hover,
#contact_box .btn .tel a {
	background: #F6F6F6;
	color: var(--color-primary);
}
#contact_box .btn .tel a:hover {
	background: var(--color-primary);
	color: #fff;
}
@media print, screen and (min-width: 641px){ /* PC用 */
	#contact_box .btn {
		justify-content: center;
	}
	#contact_box .btn li {
		width: 50%;
	}
}
/**/
#front_top_content,
#front_bottom_content {
	background: none;
}
/*--------------------------------------------------
	見出し
--------------------------------------------------*/
body:not(.home) h1.title, body:not(.home) .post h1, .post h2, .post h3, .post h4 {
	color: var(--color-primary);
}
.post h2::after {
	background: var(--color-primary-shade);
}
.post h2.noline::after {
	display: none;
}
.post h3 {
	border-color: var(--color-primary-shade);
}
.post h3.noline {
	padding: 0;
	border: none;
}
/*--------------------------------------------------
	採用情報
--------------------------------------------------*/
#recruit_tbl th {
	width: 20%;
	white-space: nowrap;
}
/*--------------------------------------------------
	プライバシーポリシー その他
--------------------------------------------------*/
#breadcrumb ul li b,
#sitemap_list li a b {
	display: none;
}
/*--------------------------------------------------
	お問い合わせ
--------------------------------------------------*/
.wpcf7-form select {
	width: auto;
}
.wpcf7-form .must_fn {
	float: none;
}
/* ボタン */
.post form.wpcf7-form .linkBtn {
	width: 200px !important;
	padding: 0 !important;
}
.post form.wpcf7-form .linkBtn .wpcf7-spinner {
	position: absolute;
	top: 50%;
	left: 0;
	-moz-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
}
.post form.wpcf7-form .linkBtn input[type="submit"] {
	paddingt-bottm: 35px;
	color: var(--color-font);
}
/*================================================
					会社概要
================================================*/

/* text-alignで右寄せします。 */
.name{
  text-align: right;
}
.name img {
	display: inline-block !important;
	width: 200px;
	margin: 0;
}

/*--見出し--------------------------------------------*/
	
.post .sub_company h2 {
	font-size: min(calc(2.8rem + (1vw - 19.2px) * 0.4531), 2.8rem); /* 2.8-2.1rem (1920-375) */
	font-weight: 600;
	text-align: left;
	letter-spacing: .2rem;
	padding: 0;
	margin: min(calc(120px + (1vw - 19.2px) * 3.5599), 120px) auto min(calc(50px + (1vw - 19.2px) * 0.9709), 50px); /* 120-65px auto 50-35px (1920-375) */
}
.post .sub_company h2::before {
	content: none;
	position: relative;
	width: auto;
	height: auto;
	top: auto;
	left: auto;
}
.post .sub_company h2::after {
	content: '';
	position: relative;
	visibility: visible;
	display: block;
	width: 2.2em;
	height: 2px;
	background: var(--color-primary);
	margin: 0.6em auto 0;
	margin-right: auto;
	margin-left: 0;
}
.post .sub_company h2:first-child {
	margin-top: 0;
}

/*--テーブル--------------------------------------------*/

.post table.table_style02 , .post table.table_style02 th, .post table.table_style02 td {
	border-width: 1px 0;
	border-color: var(--color-table-border);
}
.post table.table_style02 {
	margin: min(calc(30px + (1vw - 19.2px) * 0.6472), 30px) auto;/* 30-20px (1920-375) */
}
.post table.table_style02 th, .post table.table_style02 td {
	font-size: min(calc(1.6rem + (1vw - 19.2px) * 0.1294), 1.6rem);
	padding: min(calc(20px + (1vw - 19.2px) * 0.5580), 20px) min(calc(15px + (1vw - 19.2px) * 0.3236), 15px);/* 20-15px 15-10px (1920-375) */
}
.post table.table_style02 th {
	width: 25%;
	font-weight: 600;
}
.post table.table_style02:first-child {
	margin-top: 0;
}
.post table.table_style02:last-child {
	margin-bottom: 0;
}

/*--幅フル100%背景色--------------------------------------------*/

.widecolor {
	margin-right: calc(((100vw - 100%) / 2) * -1);
	margin-left: calc(((100vw - 100%) / 2) * -1);
	padding: min(calc(120px + (1vw - 19.2px) * 2.5890), 120px) calc((100vw - 100%) / 2) min(calc(150px + (1vw - 19.2px) * 3.2362), 150px); 
	margin-top: min(calc(120px + (1vw - 19.2px) * 2.5890), 120px);/* 120-80px (1920-375) */
	background: #fafafa;
}

/*--幅フル100%--------------------------------------------*/

.widearea {
	margin-right: calc(((100vw - 100%) / 2) * -1);
	margin-left: calc(((100vw - 100%) / 2) * -1);
}
