@charset "utf-8";
/* ============================================================
 * 整備・オイル交換・鈑金（/maintenance/）のデザイン
 *
 * 2026年10月：ページの作りを組み直したので、新しく作った（maintenance-plan）。
 * 使う部品の名前は、ほかのページとぶつからないよう「mt-」で始める。
 * 見た目は、クルマを探すページ（products.css）とそろえた。
 * 色：赤 #D8232A／文字 #2B2B2B／背景のうすい灰色 #EBEBEB・#F4F4F4
 * スマホの切り替えは、ほかのページと同じ 749px 以下。
 * このファイルを直したら、page-maintenance.php の maintenance-page.css の日付も新しくする。
 *
 * 今までの maintenance.css（header.php が読み込む）も一緒に読み込まれるが、
 * そちらは .mv・.sec1・.sec2 など今は使っていない名前だけなので、このページには効かない。
 * ============================================================ */

.mt {
	color: #2B2B2B;
	background: #fff;
	line-height: 1.8;
	letter-spacing: .05em;
	text-align: left;
}
.mt a {
	color: inherit;
}
.mt ul,
.mt ol,
.mt figure {
	margin: 0;
	padding: 0;
	list-style: none;
}
.mt p {
	margin: 0;
}
.mt-inner {
	max-width: 960px;
	margin: 0 auto;
	padding: 0 20px;
}

/* 見出し（赤い帯。クルマを探すページと同じ形） */
.mt-h2 {
	margin: 0 0 28px;
	padding: 13px 16px;
	background: #D8232A;
	color: #fff;
	font-size: 20px;
	font-weight: bold;
	line-height: 1.4;
	text-align: center;
}
.mt-h3 {
	margin: 36px 0 14px;
	padding-left: 12px;
	border-left: 4px solid #D8232A;
	font-size: 17px;
	font-weight: bold;
	line-height: 1.4;
}
.mt-lead {
	margin: -8px 0 8px;
	color: #555;
	font-size: 15px;
	text-align: center;
}
.mt-more {
	margin: 24px 0 0;
	font-size: 14px;
	text-align: center;
}
.mt-more a,
.mt-cta__sub a {
	color: #B4141B;
	text-decoration: underline;
}

/* 欄の上下のあき */
.mt-sec {
	padding: 64px 0;
}
.mt-sec[id] {
	scroll-margin-top: 90px;
}
.mt-sec--gray {
	background: #F4F4F4;
}

/**********************************
はじめの欄
**********************************/
.mt-hero {
	padding: 60px 0 52px;
	background: #EBEBEB;
	text-align: center;
}
.mt-hero__mark {
	display: block;
	width: 520px;
	max-width: 88%;
	margin: 0 auto 26px;
}
.mt-hero__mark img {
	display: block;
	width: 100%;
	height: auto;
}
.mt-hero__title {
	margin: 0 0 16px;
	font-size: 32px;
	font-weight: bold;
	line-height: 1.4;
}
.mt-hero__lead {
	max-width: 680px;
	margin: 0 auto 28px !important;
	font-size: 15px;
	line-height: 1.9;
	text-align: left;
}
.mt-hero__buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
}
.mt .mt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 280px;
	padding: 17px 24px;
	border: 2px solid #D8232A;
	border-radius: 999px;
	background: #fff;
	color: #D8232A;
	font-size: 17px;
	font-weight: bold;
	letter-spacing: .08em;
	transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.mt .mt-btn--main {
	background: #D8232A;
	box-shadow: 0 4px 0 #A3161C;
	color: #fff;
}
.mt .mt-btn:hover {
	background: #FBEAEA;
}
.mt .mt-btn--main:hover {
	background: #B91C22;
	box-shadow: 0 2px 0 #A3161C;
	transform: translateY(2px);
}
.mt-jump {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 30px;
}
.mt-jump a {
	padding: 8px 16px;
	border: 1px solid #2B2B2B;
	border-radius: 999px;
	background: #fff;
	font-size: 14px;
	font-weight: bold;
	transition: background .2s, color .2s;
}
.mt-jump a::after {
	content: "";
	display: inline-block;
	position: relative;
	top: -3px;
	width: 6px;
	height: 6px;
	margin-left: 9px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
}
.mt .mt-jump a:hover {
	background: #2B2B2B;
	color: #fff;
}

/**********************************
整備・メンテナンス／鈑金・塗装
**********************************/
.mt-intro {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: start;
	gap: 36px;
}
.mt-photo img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: 10px;
}
.mt-photo figcaption,
.mt-wide-photo figcaption {
	margin-top: 8px;
	color: #666;
	font-size: 13px;
	line-height: 1.6;
}
.mt-intro__text p {
	margin-bottom: 14px;
	font-size: 16px;
	line-height: 1.95;
}
.mt .mt-intro__note {
	display: flex;
	gap: 8px;
	padding: 12px 14px;
	border-radius: 8px;
	background: #FFF4E5;
	font-size: 15px;
	line-height: 1.7;
}
.mt-intro__note i {
	margin-top: 5px;
	color: #D8232A;
}
.mt-intro__note a {
	color: #B4141B;
	font-weight: bold;
	text-decoration: underline;
}

/* できること（アイコン＋名前＋一言） */
.mt-menu {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}
.mt-menu--4 {
	grid-template-columns: repeat(4, 1fr);
}
.mt-menu__item {
	display: grid;
	grid-template-columns: 46px 1fr;
	grid-template-rows: auto auto;
	column-gap: 12px;
	align-items: center;
	padding: 14px 16px;
	border: 1px solid #E2E2E2;
	border-radius: 10px;
	background: #fff;
}
.mt-menu__icon {
	display: flex;
	grid-row: 1 / 3;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #FBEAEA;
	color: #D8232A;
	font-size: 20px;
}
.mt-menu__name {
	font-size: 16px;
	font-weight: bold;
	line-height: 1.4;
}
.mt-menu__text {
	color: #555;
	font-size: 13px;
	line-height: 1.5;
}
.mt-menu--4 .mt-menu__item {
	grid-template-columns: 1fr;
	grid-template-rows: auto;
	justify-items: center;
	row-gap: 6px;
	padding: 18px 12px;
	text-align: center;
}
.mt-menu--4 .mt-menu__icon {
	grid-row: auto;
	width: 52px;
	height: 52px;
	font-size: 22px;
}

/* 鈑金・塗装の設備（写真＋名前＋説明） */
.mt-equip {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.mt-equip__item {
	overflow: hidden;
	border-radius: 10px;
	background: #fff;
	box-shadow: 3px 3px 8px rgba(0, 0, 0, .12);
}
.mt-equip__item img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}
.mt-equip__body {
	padding: 16px 20px 20px;
}
.mt-equip__title {
	margin: 0 0 8px;
	color: #B4141B;
	font-size: 18px;
	font-weight: bold;
	line-height: 1.5;
}
.mt-equip__body p {
	font-size: 15px;
	line-height: 1.85;
}

/**********************************
安心のポイント
**********************************/
.mt-points {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}
.mt-point {
	padding: 24px 18px 22px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 3px 3px 8px rgba(0, 0, 0, .14);
	text-align: center;
}
.mt-point__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: #D8232A;
	color: #fff;
	font-size: 28px;
}
.mt-point__title {
	margin: 14px 0 10px;
	font-size: 17px;
	font-weight: bold;
	line-height: 1.5;
}
.mt-point__text {
	font-size: 14px;
	line-height: 1.85;
	text-align: left;
}
.mt-wide-photo {
	max-width: 640px;
	margin: 36px auto 0 !important;
}
.mt-wide-photo img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 10px;
}
.mt-wide-photo figcaption {
	text-align: center;
}

/**********************************
よくある質問
**********************************/
.mt-faq {
	margin: 0;
}
.mt-faq__item {
	margin-bottom: 10px;
	padding: 18px 20px;
	border-radius: 10px;
	background: #F4F4F4;
}
.mt-faq dt,
.mt-faq dd {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}
.mt-faq dt {
	font-size: 16px;
	font-weight: bold;
	line-height: 1.6;
}
.mt-faq dd {
	margin: 10px 0 0;
	font-size: 15px;
	line-height: 1.8;
}
.mt-faq__mark {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding-top: 3px;
	border: 2px solid #D8232A;
	border-radius: 50%;
	background: #D8232A;
	color: #fff;
	font-size: 15px;
	line-height: 1;
}
.mt-faq__mark--a {
	background: #fff;
	color: #D8232A;
}

/**********************************
ご予約・ご相談
**********************************/
.mt-cta {
	padding: 64px 0 80px;
	background: #FBF4F4;
	text-align: center;
}
.mt-cta__title {
	margin: 0 0 12px;
	font-size: 24px;
	font-weight: bold;
	line-height: 1.4;
}
.mt .mt-cta__text {
	max-width: 680px;
	margin: 0 auto 26px;
	font-size: 15px;
	text-align: left;
}
.mt-cta__buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}
.mt-cta__buttons a {
	min-width: 240px;
	padding: 15px 24px;
	border: 2px solid #2B2B2B;
	border-radius: 999px;
	background: #fff;
	font-size: 16px;
	font-weight: bold;
	letter-spacing: .1em;
	transition: background .2s, color .2s, border-color .2s;
}
.mt .mt-cta__buttons a.is-primary {
	border-color: #D8232A;
	background: #D8232A;
	color: #fff;
}
.mt .mt-cta__buttons a:hover {
	border-color: #2B2B2B;
	background: #2B2B2B;
	color: #fff;
}
.mt .mt-cta__sub {
	margin-top: 20px;
	font-size: 14px;
}


/**********************************************************/
/* タブレット（750〜1023px） */
/**********************************************************/
@media screen and (min-width: 750px) and (max-width: 1023px) {
	.mt-points,
	.mt-menu--4 {
		grid-template-columns: repeat(2, 1fr);
	}
	.mt-menu {
		grid-template-columns: repeat(2, 1fr);
	}
}


/**********************************************************/
/* スマホ（749px以下） */
/**********************************************************/
@media screen and (max-width: 749px) {

	.mt-inner {
		padding: 0 16px;
	}
	.mt-sec {
		padding: 44px 0;
	}
	/* 「店舗ごとの対応」などを押して移ったとき、見出しがロゴに隠れないようにする */
	.mt-sec[id] {
		scroll-margin-top: 60px;
	}
	.mt-h2 {
		margin-bottom: 20px;
		padding: 10px 12px;
		font-size: 17px;
	}
	.mt-h3 {
		margin: 28px 0 12px;
		font-size: 16px;
	}
	.mt-lead {
		margin: -4px 0 4px;
		font-size: 14px;
		text-align: left;
	}

	/* はじめの欄（スマホは上にロゴが浮いているので、その分あける） */
	.mt-hero {
		padding: 104px 0 36px;
	}
	.mt-hero__mark {
		width: 300px;
		margin-bottom: 20px;
	}
	.mt-hero__title {
		font-size: 24px;
	}
	.mt-hero__lead {
		margin-bottom: 22px !important;
		font-size: 15px;
	}
	.mt-hero__buttons {
		flex-direction: column;
		gap: 12px;
	}
	.mt .mt-btn {
		width: 100%;
		min-width: 0;
		padding: 16px 16px;
		font-size: 16px;
	}
	.mt-jump {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
		margin-top: 24px;
	}
	.mt-jump a {
		padding: 9px 6px;
		font-size: 13px;
	}
	/* ボタンが奇数のときは、最後の1つを横いっぱいに */
	.mt-jump a:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}

	/* 整備・メンテナンス／鈑金・塗装：写真の下に文 */
	.mt-intro {
		grid-template-columns: 1fr;
		gap: 18px;
	}
	.mt-intro__text p {
		font-size: 16px;
	}
	.mt-menu {
		grid-template-columns: 1fr 1fr;
		gap: 8px;
	}
	.mt-menu__item {
		grid-template-columns: 1fr;
		align-content: start;
		justify-items: center;
		row-gap: 4px;
		padding: 14px 8px;
		text-align: center;
	}
	.mt-menu__icon {
		grid-row: auto;
		width: 44px;
		height: 44px;
		font-size: 19px;
	}
	.mt-menu--4 .mt-menu__item {
		padding: 14px 8px;
	}
	.mt-menu--4 .mt-menu__icon {
		width: 44px;
		height: 44px;
		font-size: 19px;
	}
	.mt-menu__name {
		font-size: 15px;
	}
	.mt-menu__text {
		font-size: 12px;
	}

	/* 鈑金・塗装の設備：1列 */
	.mt-equip {
		grid-template-columns: 1fr;
		gap: 14px;
	}
	.mt-equip__body {
		padding: 14px 16px 16px;
	}
	.mt-equip__title {
		font-size: 17px;
	}

	/* 安心のポイント：1列で、アイコンを左に */
	.mt-points {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	.mt-point {
		display: grid;
		grid-template-columns: 52px 1fr;
		column-gap: 14px;
		padding: 18px 16px;
		text-align: left;
	}
	.mt-point__icon {
		grid-row: 1 / 3;
		width: 52px;
		height: 52px;
		font-size: 22px;
	}
	.mt-point__title {
		margin: 0 0 6px;
		font-size: 16px;
	}
	.mt-point__text {
		font-size: 14px;
	}
	.mt-wide-photo {
		margin-top: 28px !important;
	}

	/* よくある質問 */
	.mt-faq__item {
		padding: 14px 14px;
	}
	.mt-faq dt {
		font-size: 15px;
	}
	.mt-faq dd {
		font-size: 15px;
	}
	.mt-faq dt,
	.mt-faq dd {
		gap: 10px;
	}

	/* ご予約・ご相談 */
	.mt-cta {
		padding: 44px 0 56px;
	}
	.mt-cta__title {
		font-size: 20px;
	}
	.mt .mt-cta__text {
		font-size: 15px;
	}
	.mt-cta__buttons a {
		flex: 1 1 100%;
		min-width: 0;
	}
}
