@charset "utf-8";

/*
Theme Name:mrp-child
Template:mrp
Version: 1.0.0
*/
/*
DesignCode CSS: ver 0.01
*/
/*------------------------------------------------------
Theme Material
------------------------------------------------------*/
html {
    font-size: 67.5%;
}
:root {
	/*------▼基本設定▼------*/
	--color-background: #FFF;
	--color-font: #000;
	--color-primary: #001E87;
	--color-primary-shade: #FF2B2B;
	--color-primary-tint: rgba(0, 30, 135, 0.8);
	--color-secondary: #FF2B2B;
	--color-table-border: #DDD;
	--color-table-th: #f2f2f2;
	--body-font-family: 'Noto Sans JP', sans-serif;
	--content-max-width: 1240px;
	/*------▼ヘッダー設定▼------*/
	--header-background: #001E87;
	--header-color-font: #FFF;
	--header-color-primary: #FFF;
	--header-color-primary-shade: #000;
	--header-color-primary-tint: #939495;
	/*------▼フッター設定▼------*/
	--footer-background: #FFF;
	--footer-color-font: #000;
	--footer-color-primary: #000;
	/*------▼フォント設定▼------*/
	--font-family01: 'Noto Sans JP', sans-serif;
	--font-family02: 'Oswald', '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);
	}
}

/*--------------------------------------------------
	オリジナル設定
--------------------------------------------------*/
.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;
	}
}

/*--------------------------------------------------
	ヘッダ
--------------------------------------------------*/
#header .logo a {
	color: var(--header-color-font);
}

@media only screen and (min-width: 1024px) {
	#header a.head_btn::before {
		display: none;
	}

	#header a.head_btn.tel_btn {
		background: none;
		color: var(--header-color-font);
		text-align: center;
	}

	#header a.head_btn.tel_btn span:not(.note) {
		font-size: 24px;
	}

	#header a.head_btn.tel_btn span:not(.note)::before {
		display: inline-block;
		width: 20px;
		height: 20px;
		margin-right: 8px;
		background: url(/wp-content/uploads/header-tel.png) no-repeat center center / contain;
		content: '';
	}

	#header a.head_btn.tel_btn .note {
		font-size: 11px;
	}

	#header a.head_btn.mail_btn {
		color: var(--header-color-primary-shade);
		font-weight: normal;
	}

	/**/
	nav#mainNav {
		height: auto;
	}

	nav#mainNav ul li a b {
		font-weight: 500;
	}

	nav#mainNav ul li a span {
		color: var(--header-color-primary) !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;
	}

	nav#mainNav ul li a {
		background: var(--header-background) !important;
	}
}

/*--------------------------------------------------
	フッタ
--------------------------------------------------*/
#footer {
	border-top: 1px solid #B7B7B7;
}

#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%;
}

/**/
.post table.tbl_line,
.post table.tbl_line th,
.post table.tbl_line td {
	background: none;
	border: none;
}

.post table.tbl_line {
	border-top: 1px solid #ddd;
}

.post table.tbl_line tr {
	border-bottom: 1px solid #ddd;
}

@media print,
screen and (min-width: 641px) {

	/* PC用 */
	.post table.tbl_line th,
	.post table.tbl_line td {
		padding: 15px;
	}
}

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

	/* スマホ用 */
	.post table.tbl_line.responsive th {
		padding-bottom: 5px;
	}

	.post table.tbl_line.responsive td {
		padding-top: 0;
	}
}

/**/
.w100 {
	width: 100vw;
	margin-left: calc(((100vw - 100%) / 2) * -1) !important;
	margin-right: calc(((100vw - 100%) / 2) * -1) !important;
}

.w600,
.w800,
.w900 {
	width: 600px;
	max-width: 100%;
	margin: auto;
}

.w800 {
	width: 800px;
}

.w900 {
	width: 900px;
}

/*--------------------------------------------------
	トップページ
--------------------------------------------------*/
.home #content h1 b {
	display: block;
}

/**/
#top_product {
	background: rgba(147, 148, 149, 0.5);
}

#top_product h1 b {
	display: block;
	color: rgba(255, 43, 43, 0.5);
	font-size: 160%;
	line-height: 1;
}

#top_product h1 b+span {
	position: relative;
	top: -1em;
	margin-bottom: -1em;
	display: block;
	color: var(--color-primary);
	font-size: 70%;
}

#top_product a.btn {
	position: relative;
	display: inline-block;
	padding: 10px 5px;
	padding-right: 50px;
	border-bottom: 1px solid var(--color-primary);
	color: var(--color-primary);
	line-height: 1.4;
}

#top_product a.btn::after {
	position: absolute;
	top: 50%;
	right: 5px;
	display: block;
	width: 30px;
	height: 30px;
	background: url(/wp-content/uploads/top-parts.png) no-repeat center center / contain;
	transform: translateY(-50%);
	transition: all 0.3s ease-in-out;
	content: "";
}

#top_product a.btn:hover::after {
	right: 0;
}

#items_top_list li {
	margin-bottom: 30px;
}

#items_top_list li a {
	display: block;
	background: var(--color-primary);
	color: #fff;
	text-align: center;
}

#items_top_list li a .txt {
	padding: 15px;
}

#items_top_list li a .photo {
	overflow: hidden;
	aspect-ratio: 4 / 3;
}

#items_top_list li a .photo img {
	object-fit: cover;
	width: 100%;
	height: 100%;
	max-width: none;
}

#items_top_list li a:hover .photo img {
	transform: scale(1.1);
	/* 拡大 */
	filter: alpha(opacity=100);
	-moz-opacity: 1;
	opacity: 1;
}

@media print,
screen and (min-width: 641px) {

	/* PC用 */
	#items_top_list {
		display: flex;
		flex-wrap: wrap;
		column-gap: 2%;
	}

	#items_top_list li {
		width: 32%;
		margin-bottom: 50px;
	}
}

/**/
#contact_box .box {
	background: rgba(255, 43, 43, 0.9);
	color: #fff;
}

#contact_box .box h2 {
	color: #fff;
	font-size: var(--rem28);
}

#contact_box .box h2::after {
	background: #fff;
}

#contact_box .btn a {
	height: 100%;
	min-height: 100px;
	padding: 25px;
	background: var(--color-primary);
	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 {
	margin: 3px auto;
	font-size: 180%;
}

#contact_box .btn a:hover {
	background: #FFF;
	color: var(--color-primary);
}

#contact_box .btn .mail a {
	background: #FFF;
	color: var(--color-font);
}

#contact_box .btn .mail a b {
	display: block;
	width: 300px;
	max-width: 100%;
	margin: 6px auto;
	padding: 10px;
	background: var(--color-primary);
	border-radius: 999px;
	color: #fff;
	font-weight: normal;
	text-align: center;
}

#contact_box .btn .mail a:hover {
	background: var(--color-primary);
	color: #fff;
}

#contact_box .btn .mail a:hover b {
	background: #fff;
	color: var(--color-primary);
}

@media print,
screen and (min-width: 641px) {

	/* PC用 */
	#contact_box .btn li {
		width: 50%;
	}
}

/**/
#front_top_content,
#front_bottom_content {
	background: none;
}

#front_top_content {
	margin: 50px 0;
	padding: 30px;
	background: rgba(0, 30, 135, 0.8);
}

#front_top_content .front_post_list {
	padding: 30px;
	background: rgba(233, 233, 233, 0.9);
}

#front-sectionPost h1 {
	color: var(--color-primary);
}

#front-sectionPost .postlist li {
	border-color: var(--color-font);
}

#front-sectionPost .postlist .time {
	background: none;
	border: 1px solid var(--color-font);
	color: var(--color-font);
}

#front-sectionPost .postlist .time a {
	color: var(--color-font);
}

@media print,
screen and (min-width:769px) {

	/* PCのみ */
	#front_top_content,
	#front_top_content .front_post_list {
		padding: 50px;
	}
}

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

	/* スマホ用 */
	#front_top_content {
		margin: 30px 0;
	}

	#front_top_content,
	#front_top_content .front_post_list {
		padding: 20px;
	}

	#front_top_content .front_post_list {
		width: 100%;
	}
}

/*--------------------------------------------------
	見出し
--------------------------------------------------*/
/* サブタイトルの文字を見えなくしたい
header#h1Header h1.title {
	z-index: -1;
}
*/
/* サブタイトルの透過マスクを取りたい
#thumbImg::before, header#h1Header::before {
	display: none;
}
*/
h1.title,
.post h1,
.post h2,
.post h3,
.post h4 {
	color: var(--color-font);
}

.post h2 {
	font-size: var(--rem30);
}

.post h2.noline::after {
	display: none;
}

.post h3.noline {
	padding: 0;
	border: none;
}

/*--------------------------------------------------
	会社概要
--------------------------------------------------*/
#company_tbl th {
	width: 20%;
	white-space: nowrap;
}

/**/
#company_history tr:nth-child(odd) th,
#company_history tr:nth-child(odd) td {
	background: #f6f6f6;
}

/*--------------------------------------------------
	商品紹介
--------------------------------------------------*/
.post a.btn_contact {
	display: inline-block;
	padding: 15px 50px;
	background: var(--color-primary);
	border-radius: 999px;
	color: #fff;
	line-height: 1.4;
	transition: all 0.3s ease-in-out;
}

.post a.btn_contact:hover {
	background: var(--color-primary-tint);
}

.post a.btn_contact i {
	margin-right: 10px;
}

/**/
.wp-pagenavi {
	text-align: center;
}

.wp-pagenavi a,
.wp-pagenavi span {
	padding: 2px 7px;
	margin: 0 3px;
}

.wp-pagenavi .pages {
	border: none;
}

/**/
#search_box {
	background: #f6f6f6;
}

#search_box .in {
	padding: 20px;
	background: #fff;
}

#search_box dl {
	margin-bottom: 20px;
}

#search_box dt {
	font-weight: normal;
}

#search_box dd {
	padding: 0;
}

#search_box .btn input {
	width: 200px;
	padding: 8px;
	background: var(--color-primary);
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	transition: all 0.3s ease-in-out;
}

#search_box .btn input:hover {
	background: var(--color-primary-tint);
}

@media print,
screen and (min-width: 641px) {

	/* PC用 */
	#search_box .in {
		padding: 30px;
	}

	#search_box dl {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	#search_box dt {
		width: 170px;
	}

	#search_box dd {
		width: calc(100% - 170px);
	}
}

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

	/* スマホ用 */
	#search_box dt {
		margin-bottom: 5px;
	}
}

/**/
#items_list li {
	margin-bottom: 30px;
	padding: 20px;
	border: 1px solid #ddd;
	text-align: center;
}

#items_list li .photo a {
	overflow: hidden;
	display: block;
	aspect-ratio: 4 / 3;
}

#items_list li .photo a img {
	object-fit: cover;
	width: 100%;
	height: 100%;
	max-width: none;
}

#items_list li .photo a:hover img {
	transform: scale(1.1);
	/* 拡大 */
	filter: alpha(opacity=100);
	-moz-opacity: 1;
	opacity: 1;
}

@media print,
screen and (min-width: 641px) {

	/* PC用 */
	#items_list {
		display: flex;
		flex-wrap: wrap;
		column-gap: 2%;
	}

	#items_list li {
		width: 23.5%;
		margin-bottom: 50px;
	}
}

/**/
#items_detail .photo {
	text-align: center;
}

#items_detail .photo ul {
	margin-top: 20px;
	display: flex;
	flex-wrap: wrap;
	column-gap: 2%;
}

#items_detail .photo ul li {
	overflow: hidden;
	width: 32%;
	margin-bottom: 10px;
	aspect-ratio: 4 / 3;
}

#items_detail .photo ul li img {
	object-fit: cover;
	width: 100%;
	height: 100%;
	max-width: none;
}

#items_detail .txt dl {
	margin-bottom: 20px;
}

#items_detail .txt dd {
	padding: 0 0 0 1em;
}

/*--------------------------------------------------
	プライバシーポリシー その他
--------------------------------------------------*/
#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"] {
	padding: 15px 35px;
}

/*-------h1変更20241127-------*/

:not(.home) h1.title {
	margin: 0 auto var(--px30w);
}

:not(.home) header h1.title.first span {
	position: relative;
}

:not(.home) header h1.title.first::after {
	display: none;
}

:not(.home) header h1.title.first span::before {
	content: '';
	position: absolute;
	display: block;
	width: 120%;
	height: clamp(10px, 0.3236vw - -8.786px, 15px);
	background: #fa6667;
	bottom: 0;
	left: 50%;
	transform: translate(-50%, 0%);
	z-index: -1;
}

h2 {
	position: relative;
}

h2::after {
	content: '' !important;
	position: absolute !important;
	display: block !important;
	width: 120% !important;
	height: clamp(10px, 0.3236vw - -8.786px, 15px) !important;
	background: #fa6667 !important;
	bottom: 0 !important;
	left: 50% !important;
	transform: translate(-50%, 0%) !important;
	z-index: -1 !important;
}

.post {
	text-align: center;

	h2 {
		display: inline-block;
		padding: 0 1rem;
	}
}

table#company_history {
	margin-top: 0 !important;
}