@charset "utf-8";

/* -----------------------------------------------------------
    輸入車 メーカー別施工事例への導線    輸入車と施工事例詳細で使用
-------------------------------------------------------------- *

/* -----------------------------------------------------------
    serviseps-mfc-list
-------------------------------------------------------------- */
.serviseps-mfc-list {
	display: flex;
	flex-wrap: wrap;
	gap: 15px 10px;
	margin: 20px 0 0;
}

.serviseps-mfc-item {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border: var(--border1) 1px solid;
	display: block;
	padding: 25px 15px;
	position: relative;
	width: calc((100% - 30px) / 4);
}

.serviseps-mfc-item::before {
	content: "";
	background: rgba(0, 0, 0, .55);
	position: absolute;
	top: 0;
	transition: .3s;
	left: 0;
	width: 100%;
	height: 100%;
}

.serviseps-mfc-item:hover::before {
	background: rgba(0, 0, 0, .2);
}

.serviseps-mfc-item .figcaption {
	color: #fff;
	display: block;
	font-size: 1.7rem;
	font-weight: 600;
	padding: 0 20px 0 0;
	position: relative;
	width: fit-content;
	margin: 0 0 0 auto;
}

.serviseps-mfc-item .figcaption::before {
	content: "";
	background: url("../img/cmn-arrow-white-small.svg")center/contain no-repeat;
	width: 15px;
	height: 7px;
	position: absolute;
	top: 55%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	right: 0;
}

[data-serviseps="benz"] {
	background-image: url("../img/serviseps-benz.jpg");
}

[data-serviseps="bmw"] {
	background-image: url("../img/serviseps-bmw.jpg");
}

[data-serviseps="audi"] {
	background-image: url("../img/serviseps-audi.jpg");
}

[data-serviseps="porsche"] {
	background-image: url("../img/serviseps-porsche.jpg");
}

[data-serviseps="landrover"] {
	background-image: url("../img/serviseps-landrover.jpg");
}

[data-serviseps="volks"] {
	background-image: url("../img/serviseps-volks.jpg");
}

[data-serviseps="mini"] {
	background-image: url("../img/serviseps-mini.jpg");
}

.serviseps-mfc-other {
	margin: 30px 0 0;
	display: none!important;
}

.serviseps-mfc-other ul {
	display: flex;
	flex-wrap: wrap;
	border: 1px solid var(--border1);
	border-width: 0 0 1px 1px;
}

.serviseps-mfc-other li {
	border: 1px solid var(--border1);
	border-width: 1px 1px 0 0;
	flex-grow: 1;
	width: calc(100% / 6);
}

.serviseps-mfc-other a {
	color: var(--cmnblack);
	display: flex;
	gap: 5px;
	align-items: center;
	padding: 15px 5px 15px 20px;
	position: relative;
	width: 100%;
	height: 100%;
}

.serviseps-mfc-other a::before {
	content: "\f054";
	color: var(--main);
	font: 900 1rem/1 var(--webicon);
	position: absolute;
	top: 55%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	left: 10px;
}

.serviseps-other-more {
	display: none;
}

@media screen and (min-width: 769px) {
	.serviseps-mfc-other a:hover {
		background: var(--main);
		color: #fff;
	}

	.serviseps-mfc-other a:hover::before {
		color: #fff;
	}
}

@media screen and (max-width: 768px) {
	.serviseps-mfc-list {
		gap: 15px;
	}

	.serviseps-mfc-item {
		width: 100%;
		padding: 35px 10px 20px;
	}

	.serviseps-mfc-item .figcaption {
		font-size: 1.6rem;
	}

	.serviseps-mfc-other {
		margin: 25px 0 0;
	}

	.serviseps-mfc-other ul {
		border: none;
		gap: 25px 10px;
	}

	.serviseps-mfc-other li {
		border: none;
		min-width: calc((100% - 10px) / 2);
		height: auto;
		width: auto;
	}

	.serviseps-more-open.serviseps-mfc-other ul li {
		display: block !important;
	}

	.serviseps-mfc-other ul a {
		padding: 0 0 0 8px;
		font-size: 1.6rem;
		letter-spacing: 0;
	}

	.serviseps-mfc-other a::before {
		left: 0;
		font-size: .6em;
	}

	.serviseps-other-more {
		align-items: center;
		border: 1px solid var(--border1);
		display: flex;
		font-size: 1.5rem;
		justify-content: center;
		margin: 30px auto 0;
		width: 100%;
		height: 50px;
		position: relative;
	}

	.serviseps-more-open .serviseps-other-more {
		display: none;
	}

	.serviseps-other-more-plus {
		position: absolute;
		top: 50%;
		-webkit-transform: translateY(-50%);
		transform: translateY(-50%);
		right: 15px;
	}

	.serviseps-other-more-plus .plus {
		display: block;
		position: relative;
		width: 9px;
		height: 9px;
	}

	.serviseps-other-more-plus .plus::before, .serviseps-other-more-plus .plus::after {
		display: block;
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		margin: auto;
		background-color: var(--gray);
	}

	.serviseps-other-more-plus .plus::before {
		width: 1px;
		height: 9px;
	}

	.serviseps-other-more-plus .plus::after {
		width: 9px;
		height: 1px;
	}
}