/**
 * マッハ塗装 ブランドテーマ：全ページ共通の部品.
 *
 * ボタン・案内ボタンの帯・下層ページの見出し帯・店舗一覧・FAQ・店舗詳細。
 * 色の役割：赤＝ブランド・主要な操作、青＝エリアや情報の整理、黄＝注目させる小さな要素。
 */

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.mt-empty {
	margin: 0;
	padding: 24px 0;
}

/* ボタン */
.mt-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 48px;
	padding: 10px 24px;
	border: 2px solid transparent;
	border-radius: 4px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
}

.mt-button:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.mt-button--primary {
	background: var(--mt-color-red);
	border-color: var(--mt-color-red);
	color: #fff;
}

.mt-button--primary:hover {
	background: var(--mt-color-red-dark);
	border-color: var(--mt-color-red-dark);
}

.mt-button--accent {
	background: var(--mt-color-yellow);
	border-color: var(--mt-color-yellow);
	color: var(--mt-color-text);
}

.mt-button--inverse {
	background: #fff;
	border-color: #fff;
	color: var(--mt-color-red);
}

.mt-button--outline {
	background: #fff;
	border-color: var(--mt-color-red);
	color: var(--mt-color-red);
}

/* 赤い面の上の補助ボタン（白い枠線） */
.mt-button--outline-light {
	background: transparent;
	border-color: #fff;
	color: #fff;
}

.mt-button--large {
	min-height: 56px;
	padding: 12px 32px;
	font-size: 1.125rem;
}

/* 赤・青の面の上ではフォーカス枠を白にする */
.mt-hero a:focus-visible,
.mt-cta-block a:focus-visible {
	outline-color: #fff;
}

/* 案内ボタンの帯（ページ下部） */
.mt-cta-block {
	background: var(--mt-color-red);
	color: #fff;
}

.mt-cta-block__inner {
	display: grid;
	justify-items: center;
	gap: 16px;
	box-sizing: border-box;
	max-width: var(--mt-content-width);
	margin: 0 auto;
	padding: 40px var(--mt-gutter);
	text-align: center;
}

.mt-cta-block__note {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.6;
}

/* 下層ページの見出し：赤い帯を全ページに繰り返さない。白地に黒の H1（文字の大きさ・太さで示す）。2026-10-03 */
.mt-page-header {
	background: #fff;
	border-bottom: 1px solid var(--mt-color-border);
	color: var(--mt-color-text);
}

.mt-page-header__inner {
	box-sizing: border-box;
	max-width: var(--mt-content-width);
	margin: 0 auto;
	padding: 20px var(--mt-gutter) 28px;
}

.mt-page-header__label {
	margin: 0 0 6px;
	color: var(--mt-color-red);
	font-size: 0.875rem;
	font-weight: 700;
}

.mt-page-header__title {
	margin: 0;
	font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.5rem);
	font-weight: 900;
	line-height: 1.35;
	word-break: auto-phrase;
}

.mt-page-header__sub {
	margin: 10px 0 0;
	color: var(--mt-color-muted);
	font-size: 1.0625rem;
	font-weight: 700;
}

.mt-page-header__lead {
	max-width: 52em;
	margin: 10px 0 0;
	color: var(--mt-color-muted);
	font-size: 1.0625rem;
	line-height: 1.8;
}

/* 店舗一覧（地方ごと） */
.mt-stores__count {
	margin: -8px 0 24px;
	text-align: center;
	font-size: 1.0625rem;
}

.mt-stores__count strong {
	color: var(--mt-color-red);
	font-size: 1.75rem;
	font-weight: 900;
}

.mt-store-dir {
	display: grid;
	gap: 28px;
}

.mt-store-dir__region-title {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin: 0 0 12px;
	padding: 0 0 8px;
	border-bottom: 1px solid var(--mt-color-border);
	color: var(--mt-color-text);
	font-size: 1.375rem;
	font-weight: 900;
	line-height: 1.4;
	scroll-margin-top: 16px;
}

.mt-store-dir__region-count {
	font-size: 0.9375rem;
	font-weight: 700;
}

.mt-store-dir__list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/*
 * 店舗カード：上（地域・店舗名）→ 中（住所・電話・営業時間。無い項目は出さない）→ 下（店舗詳細・店舗サイト）。
 * 縦の flex にして、リンクの行を margin-top:auto でカードの下端へ寄せる。2 列のときは一覧の grid が
 * 同じ行のカードを同じ高さに伸ばすため、電話番号の有無や住所・営業時間の行数の差は、リンクの上の余白で吸収される。
 * 1 列（スマホ）ではカードの高さ＝中身の高さなので、余白は増えない。
 */
.mt-store-dir__store {
	display: flex;
	flex-direction: column;
	padding: 18px 20px 20px;
	background: #fff;
	border: 1px solid var(--mt-color-border);
}

.mt-store-dir__place {
	margin: 0;
	color: var(--mt-color-blue);
	font-size: 0.9375rem;
	font-weight: 700;
}

.mt-store-dir__name {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 900;
	line-height: 1.45;
}

.mt-store-dir__name a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--mt-color-text);
	text-decoration: none;
}

.mt-store-dir__name a:hover {
	color: var(--mt-color-red);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.mt-store-dir__operator {
	margin: 4px 0 0;
	color: var(--mt-color-muted);
	font-size: 0.9375rem;
}

.mt-store-dir__info {
	display: grid;
	gap: 6px;
	margin: 12px 0 0;
}

.mt-store-dir__info div {
	display: grid;
	grid-template-columns: 5em minmax(0, 1fr);
	gap: 8px;
}

.mt-store-dir__info dt {
	color: var(--mt-color-muted);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 2;
}

.mt-store-dir__info dd {
	margin: 0;
	line-height: 1.7;
}

.mt-store-dir__tel a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--mt-color-red);
	font-size: 1.3125rem;
	font-weight: 900;
	letter-spacing: 0.02em;
}

.mt-store-dir__note {
	display: block;
	color: var(--mt-color-muted);
	font-size: 0.875rem;
}

.mt-store-dir__links {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 24px;
	/* カードの下端へ。情報との最小の間隔（12px）は padding で保つ */
	margin: auto 0 0;
	padding-top: 12px;
}

.mt-store-dir__links a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-weight: 700;
}

.mt-store-dir__detail {
	color: var(--mt-color-red);
}

.mt-store-dir__site {
	color: var(--mt-color-blue);
}

/* 店舗一覧ページ */
.mt-stores-page {
	background: var(--mt-color-bg-soft);
}

.mt-stores-page__inner,
.mt-store-page__inner,
.mt-company-page__inner,
.mt-faq-page__inner {
	box-sizing: border-box;
	max-width: var(--mt-content-width);
	margin: 0 auto;
	padding: 32px var(--mt-gutter) var(--mt-section-space);
}

.mt-stores-page__summary {
	display: grid;
	justify-items: center;
	gap: 8px;
	margin-bottom: 28px;
}

.mt-stores-page__summary .mt-stores__count {
	margin: 0;
}

.mt-region-nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mt-region-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 18px;
	background: #fff;
	border: 1px solid var(--mt-color-border);
	border-radius: 2px;
	color: var(--mt-color-text);
	font-weight: 700;
	text-decoration: none;
}

.mt-region-nav a:hover {
	border-color: var(--mt-color-text);
}

.mt-region-nav span {
	font-weight: 400;
}

/* 店舗詳細 */
.mt-store-page {
	background: var(--mt-color-bg-soft);
}

.mt-store-info {
	padding: 24px 20px;
	background: #fff;
}

.mt-store-info__title {
	margin: 0 0 12px;
	font-size: 1.25rem;
	font-weight: 900;
}

.mt-store-info__list {
	margin: 0;
}

.mt-store-info__list div {
	display: grid;
	gap: 2px 20px;
	padding: 12px 0;
	border-top: 1px solid var(--mt-color-border);
}

.mt-store-info__list dt {
	color: var(--mt-color-muted);
	font-size: 0.9375rem;
	font-weight: 700;
}

.mt-store-info__list dd {
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.8;
	overflow-wrap: anywhere;
}

.mt-store-info__list dd a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

.mt-store-info__tel a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--mt-color-red);
	font-size: 1.5rem;
	font-weight: 900;
	letter-spacing: 0.02em;
}

.mt-store-page__content {
	margin-top: 24px;
	padding: 24px 20px;
	background: #fff;
	line-height: 1.9;
}

.mt-store-page__back {
	margin: 24px 0 0;
}

.mt-store-page__back a,
.mt-store-info__more a,
.mt-stores__more a,
.mt-home-faq__more a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--mt-color-red);
	font-weight: 700;
}

/* FAQ（details / summary） */
.mt-faq-list {
	display: grid;
	gap: 10px;
}

.mt-faq {
	background: #fff;
	border: 1px solid var(--mt-color-border);
}

/* 質問行：Q の印・質問文・開閉の印（＋／−）を行の高さに対して上下中央にそろえる（文字は左揃えのまま）。2026-10-04 */
.mt-faq__q {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	padding: 15px 16px;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.6;
	cursor: pointer;
	list-style: none;
}

.mt-faq__q::-webkit-details-marker {
	display: none;
}

/* 開閉の目印（開くと「−」）。行の右端に置き、質問文と同じ行で上下中央 */
.mt-faq__q::after {
	content: "＋";
	flex: none;
	width: 24px;
	margin-left: auto;
	color: var(--mt-color-red);
	font-size: 1.25rem;
	font-weight: 900;
	line-height: 1;
	text-align: center;
}

.mt-faq[open] .mt-faq__q::after {
	content: "−";
}

.mt-faq__q-text {
	word-break: auto-phrase;
}

.mt-faq__q:focus-visible {
	outline: 3px solid var(--mt-color-blue);
	outline-offset: -3px;
}

.mt-faq__mark {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	background: var(--mt-color-red);
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 900;
}

.mt-faq__mark--a {
	background: var(--mt-color-blue);
}

/* 回答の A は回答文の 1 行目にそろえる（回答は複数行のため上揃えのまま） */
.mt-faq__a .mt-faq__mark {
	margin-top: 2px;
}

.mt-faq__a {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 0 20px 20px 16px;
}

.mt-faq__a-text {
	font-size: 1rem;
	line-height: 1.9;
}

.mt-faq__a-text p {
	margin: 0 0 0.8em;
}

.mt-faq__a-text p:last-child {
	margin-bottom: 0;
}

.mt-faq-page {
	background: var(--mt-color-bg-soft);
}

.mt-faq-page__inner {
	max-width: calc(900px + var(--mt-gutter) * 2);
}

@media (min-width: 768px) {
	.mt-faq__q {
		padding: 18px 20px 18px 18px;
	}

	.mt-store-dir__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mt-store-info {
		padding: 32px 36px;
	}

	.mt-store-info__list div {
		grid-template-columns: 11em minmax(0, 1fr);
		align-items: baseline;
	}

	.mt-cta-block__inner {
		padding: 48px var(--mt-gutter);
	}
}

/* パンくず（ヘッダーと見出し帯の間の細い帯） */
.mt-breadcrumb {
	background: #fff;
	border-bottom: 1px solid var(--mt-color-border);
}

.mt-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	box-sizing: border-box;
	max-width: var(--mt-content-width);
	margin: 0 auto;
	padding: 0 var(--mt-gutter);
	list-style: none;
	font-size: 0.875rem;
}

.mt-breadcrumb__item {
	display: flex;
	align-items: center;
}

/* 区切りの「›」は読み上げない */
.mt-breadcrumb__item + .mt-breadcrumb__item::before {
	content: "›";
	margin: 0 8px;
	color: var(--mt-color-muted);
}

.mt-breadcrumb a,
.mt-breadcrumb [aria-current] {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

.mt-breadcrumb a {
	color: var(--mt-color-blue);
}

.mt-breadcrumb [aria-current] {
	color: var(--mt-color-muted);
}

/* 外部サイトへのリンクであることを文字で示す */
.mt-external {
	display: inline-block;
	margin-left: 8px;
	padding: 0 6px;
	border: 1px solid currentColor;
	border-radius: 2px;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.6;
	vertical-align: middle;
}

.mt-store-info__list dd .mt-external {
	color: var(--mt-color-muted);
}

/* 店舗詳細：ブランドと運営 */
.mt-store-info + .mt-store-info {
	margin-top: 24px;
}

.mt-store-info__text {
	margin: 0 0 12px;
	line-height: 1.8;
}

.mt-store-info__more {
	margin: 12px 0 0;
}

/* 店舗詳細：ご相談の導線（第一＝無料相談のボタン、第二＝電話、補助＝店舗サイト） */
.mt-store-cta__action {
	margin: 16px 0 0;
}

.mt-store-cta__sub {
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.mt-store-cta__sub li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	min-height: 44px;
}

.mt-store-cta__sub a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-weight: 700;
}

/* 運営会社情報・お問い合わせ・固定ページ（プライバシーポリシー等） */
.mt-company-page,
.mt-contact-page,
.mt-page {
	background: var(--mt-color-bg-soft);
}

.mt-company-page__inner,
.mt-page__inner {
	max-width: calc(900px + var(--mt-gutter) * 2);
}

.mt-page__inner {
	box-sizing: border-box;
	margin: 0 auto;
	padding: 32px var(--mt-gutter) var(--mt-section-space);
}

.mt-company-page__content,
.mt-page__content {
	padding: 24px 20px;
	background: #fff;
	line-height: 1.9;
}

.mt-company-page__content {
	margin-top: 24px;
}

.mt-company-page__content h2,
.mt-page__content h2 {
	margin: 0 0 12px;
	font-size: 1.25rem;
	font-weight: 900;
	line-height: 1.5;
}

/* 本文の途中の見出しは、上に区切り線を入れて段落のまとまりを分ける */
.mt-page__content * + h2 {
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid var(--mt-color-border);
}

.mt-company-page__content p,
.mt-page__content p,
.mt-page__content ul,
.mt-page__content ol {
	margin: 0 0 1em;
}

.mt-page__content ul,
.mt-page__content ol {
	padding-left: 1.5em;
}

.mt-page__content li + li {
	margin-top: 4px;
}

.mt-company-page__content > :last-child,
.mt-page__content > :last-child {
	margin-bottom: 0;
}

/* お問い合わせ：塗装のご相談（店舗）と本部へのご連絡を並べて区別する */
.mt-contact-page__inner {
	box-sizing: border-box;
	max-width: var(--mt-content-width);
	margin: 0 auto;
	padding: 32px var(--mt-gutter) var(--mt-section-space);
}

.mt-contact {
	display: grid;
	gap: 20px;
}

.mt-contact__box {
	padding: 24px 20px;
	background: #fff;
	border: 1px solid var(--mt-color-border);
	line-height: 1.9;
}

.mt-contact__box h2 {
	margin: 0 0 12px;
	font-size: 1.375rem;
	font-weight: 900;
	line-height: 1.5;
	word-break: auto-phrase;
}

.mt-contact__box--store h2 {
	color: var(--mt-color-red);
}

.mt-contact__box p {
	margin: 0 0 1em;
}

.mt-contact__action {
	margin: 20px 0 0;
}

/* 主導線の下の補助リンク（お近くの店舗を探す） */
.mt-contact__box .mt-contact__sub-action {
	margin: 8px 0 0;
}

.mt-contact__sub-action a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-weight: 700;
}

.mt-contact__hq {
	margin: 16px 0 0;
}

.mt-contact__hq div {
	display: grid;
	grid-template-columns: 5.5em minmax(0, 1fr);
	gap: 8px;
	padding: 10px 0;
	border-top: 1px solid var(--mt-color-border);
}

.mt-contact__hq dt {
	color: var(--mt-color-muted);
	font-size: 0.9375rem;
	font-weight: 700;
}

.mt-contact__hq dd {
	margin: 0;
	overflow-wrap: anywhere;
}

.mt-contact__hq a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--mt-color-text);
	font-weight: 700;
}

/* お問い合わせ：送信完了（/contact/thanks/） */
.mt-contact__thanks {
	max-width: 760px;
}

.mt-contact__thanks a[href^="tel:"] {
	white-space: nowrap;
}

/* お問い合わせ：本部へのお問い合わせフォーム（「本部へのご連絡」の枠の中。カード・影・アイコンは使わない） */
.mt-hq-form {
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid var(--mt-color-border);
}

.mt-hq-form__title,
.mt-form__title {
	margin: 0 0 8px;
	font-size: 1.125rem;
	font-weight: 900;
	line-height: 1.5;
}

.mt-contact__box .mt-hq-form__note,
.mt-contact__box .mt-form__note {
	margin: 0 0 20px;
	color: var(--mt-color-muted);
	font-size: 0.9375rem;
}

.mt-hq-form__note a,
.mt-form__note a {
	color: var(--mt-color-red);
	font-weight: 700;
}

.mt-hq-form__alert,
.mt-form__alert {
	margin: 0 0 20px;
	padding: 14px 16px;
	border: 2px solid var(--mt-color-red);
	background: #fff;
}

.mt-hq-form__alert:focus,
.mt-form__alert:focus {
	outline: 3px solid var(--mt-color-blue);
	outline-offset: 2px;
}

.mt-contact__box .mt-hq-form__alert p,
.mt-contact__box .mt-form__alert p {
	margin: 0;
	color: var(--mt-color-red);
	font-weight: 700;
}

.mt-hq-form__alert ul,
.mt-form__alert ul {
	margin: 8px 0 0;
	padding-left: 1.25em;
}

.mt-hq-form__alert a,
.mt-form__alert a {
	color: var(--mt-color-text);
}

.mt-hq-form__field,
.mt-form__field {
	min-width: 0;
	margin: 0 0 20px;
	padding: 0;
	border: 0;
}

.mt-hq-form__label,
.mt-form__label {
	display: block;
	margin: 0 0 6px;
	padding: 0;
	font-weight: 700;
	line-height: 1.5;
}

.mt-hq-form__required,
.mt-form__required,
.mt-hq-form__optional,
.mt-form__optional {
	margin-left: 8px;
	font-size: 0.8125rem;
}

.mt-hq-form__required,
.mt-form__required {
	color: var(--mt-color-red);
	font-weight: 700;
}

.mt-hq-form__optional,
.mt-form__optional {
	color: var(--mt-color-muted);
	font-weight: 400;
}

/* 入力欄の枠は背景との差が 3:1 以上の灰色。文字は 16px 以上（スマホで拡大されないように） */
.mt-hq-form__input,
.mt-form__input {
	display: block;
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid #767676;
	border-radius: 4px;
	background: #fff;
	color: var(--mt-color-text);
	font: inherit;
	font-size: 1rem;
	line-height: 1.6;
}

.mt-hq-form__input:focus,
.mt-form__input:focus {
	border-color: var(--mt-color-blue);
	outline: 3px solid var(--mt-color-blue);
	outline-offset: 1px;
}

.mt-hq-form__input[aria-invalid="true"],
.mt-form__input[aria-invalid="true"] {
	border: 2px solid var(--mt-color-red);
}

.mt-hq-form__input--short,
.mt-form__input--short {
	max-width: 16em;
}

.mt-hq-form__textarea,
.mt-form__textarea {
	min-height: 12em;
	resize: vertical;
}

.mt-contact__box .mt-hq-form__error,
.mt-contact__box .mt-form__error {
	margin: 0 0 6px;
	color: var(--mt-color-red);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.6;
}

/* 選択肢・同意：行全体を押せる高さ 44px 以上 */
.mt-hq-form__choice,
.mt-form__choice {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	cursor: pointer;
	line-height: 1.5;
}

.mt-hq-form__choice input,
.mt-form__choice input {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--mt-color-red);
	cursor: pointer;
}

.mt-hq-form__choice input:focus-visible,
.mt-form__choice input:focus-visible {
	outline: 3px solid var(--mt-color-blue);
	outline-offset: 2px;
}

.mt-hq-form__field--agree .mt-hq-form__choice,
.mt-form__choice--agree {
	align-items: flex-start;
	padding: 10px 0;
}

.mt-hq-form__field--agree .mt-hq-form__choice input,
.mt-form__choice--agree input {
	margin-top: 3px;
}

.mt-hq-form__field--agree .mt-hq-form__choice a,
.mt-form__choice--agree a {
	display: inline;
	color: var(--mt-color-red);
	font-weight: 700;
}

/* 迷惑送信対策の入力欄（画面の外に置く。display:none だと見落とす自動送信があるため） */
.mt-hq-form__trap,
.mt-form__trap {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.mt-hq-form__submit,
.mt-form__submit {
	margin: 24px 0 0;
}

.mt-hq-form__submit .mt-button,
.mt-form__submit .mt-button {
	width: 100%;
	font-family: inherit;
	cursor: pointer;
}

.mt-hq-form__submit .mt-button[disabled],
.mt-form__submit .mt-button[disabled] {
	opacity: 0.7;
	cursor: progress;
}

/* 住宅塗装のご相談（/estimate/）：本部へのお問い合わせフォームと同じ部品（.mt-form__*）に、ご相談先・住所のまとまり・同意の欄を足す */
.mt-estimate-page__box {
	max-width: 760px;
	margin: 0 auto;
}

.mt-estimate-page__intro {
	margin: 0 0 20px;
}

.mt-estimate-form__to {
	margin: 0 0 24px;
	padding: 14px 16px;
	border: 1px solid var(--mt-color-border);
	background: var(--mt-color-bg-soft);
}

.mt-contact__box .mt-estimate-form__to p {
	margin: 0;
}

.mt-estimate-form__to-label {
	color: var(--mt-color-muted);
	font-size: 0.875rem;
	font-weight: 700;
}

.mt-contact__box .mt-estimate-form__to-name {
	font-size: 1.125rem;
	font-weight: 900;
	line-height: 1.6;
}

.mt-contact__box .mt-estimate-form__to-note {
	margin-top: 4px;
	color: var(--mt-color-muted);
	font-size: 0.9375rem;
}

.mt-contact__box .mt-estimate-form__to-link {
	margin-top: 4px;
}

.mt-estimate-form__to-link a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 0.9375rem;
}

/* 住所のまとまり：見出し（legend）の下に 4 項目を並べる（枠は付けない） */
.mt-form__group {
	margin-bottom: 8px;
}

.mt-form__group > .mt-form__field {
	margin-bottom: 16px;
}

.mt-form__label--sub {
	font-size: 0.9375rem;
}

.mt-form__input--postal {
	max-width: 10em;
}

/* 同意の欄：送信ボタンの直前。読める大きさの文章で、チェック欄は押しやすい高さ */
.mt-form__consent {
	margin: 8px 0 0;
	padding: 16px;
	border: 1px solid var(--mt-color-border);
	background: var(--mt-color-bg-soft);
	font-size: 0.9375rem;
	line-height: 1.8;
}

.mt-contact__box .mt-form__consent p {
	margin: 0 0 0.75em;
}

.mt-contact__box .mt-form__consent .mt-form__consent-title {
	margin-bottom: 6px;
	font-size: 1rem;
	font-weight: 700;
}

.mt-form__consent a {
	color: var(--mt-color-red);
	font-weight: 700;
}

.mt-form__choice--agree {
	padding-top: 4px;
	font-weight: 700;
}

@media (min-width: 768px) {
	.mt-company-page__content,
	.mt-page__content {
		padding: 32px 36px;
	}

	.mt-contact__box {
		padding: 32px;
	}

	.mt-hq-form__submit .mt-button,
	.mt-form__submit .mt-button {
		width: auto;
		min-width: 16em;
	}
}

@media (min-width: 960px) {
	.mt-contact {
		grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
		align-items: start;
	}

	/* 本部の枠にフォームがある場合は、入力しやすい幅にするため左右を同じ幅にする */
	.mt-contact--with-form {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
}

/* 404 */
.mt-page__content .mt-not-found__links {
	padding-left: 0;
	list-style: none;
}

.mt-not-found__links a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--mt-color-red);
	font-weight: 700;
}

/* 施工事例（一覧・トップ・店舗詳細で共通）：施工前 → 施工後 の写真を最優先 */
.mt-work-list {
	display: grid;
	gap: 20px;
}

.mt-work {
	background: #fff;
	border: 1px solid var(--mt-color-border);
}

.mt-work__photos {
	display: grid;
	gap: 2px;
	background: var(--mt-color-border);
	text-decoration: none;
}

.mt-work__photos--pair {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mt-work__photo {
	position: relative;
	margin: 0;
	background: var(--mt-color-bg-soft);
}

.mt-work__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.mt-work__photo-label {
	position: absolute;
	top: 8px;
	left: 8px;
	padding: 2px 8px;
	background: #555;
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.6;
}

.mt-work__photo-label--after {
	background: var(--mt-color-red);
}

.mt-work__body {
	padding: 14px 16px 16px;
}

.mt-work__area {
	margin: 0;
	color: var(--mt-color-blue);
	font-size: 0.9375rem;
	font-weight: 700;
}

.mt-work__title {
	margin: 2px 0 0;
	font-size: 1.125rem;
	font-weight: 900;
	line-height: 1.5;
}

.mt-work__title a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--mt-color-text);
	text-decoration: none;
}

.mt-work__title a:hover {
	color: var(--mt-color-red);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.mt-work__facts {
	display: grid;
	gap: 2px;
	margin: 4px 0 0;
	font-size: 0.9375rem;
}

.mt-work__facts div {
	display: grid;
	grid-template-columns: 5em minmax(0, 1fr);
	gap: 8px;
}

.mt-work__facts dt {
	color: var(--mt-color-muted);
	font-weight: 700;
}

.mt-work__facts dd {
	margin: 0;
}

/* 施工事例一覧ページ・詳細ページ */
.mt-works-page,
.mt-work-page {
	background: var(--mt-color-bg-soft);
}

.mt-works-page__inner,
.mt-work-page__inner {
	box-sizing: border-box;
	max-width: var(--mt-content-width);
	margin: 0 auto;
	padding: 32px var(--mt-gutter) var(--mt-section-space);
}

.mt-work-page__inner {
	max-width: calc(1000px + var(--mt-gutter) * 2);
}

.mt-works-page__empty {
	padding: 24px 20px;
	background: #fff;
	line-height: 1.9;
}

.mt-works-page__empty p {
	margin: 0;
}

.mt-work-page__photos {
	display: grid;
	gap: 4px;
	margin-bottom: 24px;
}

.mt-work-page__photos--pair {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mt-work-page__content,
.mt-store-page__works,
.mt-work-page__related {
	margin-top: 24px;
}

/* 出典（取り込み元の記事）へのリンク。店舗名は出さない */
.mt-work-page__source {
	margin: 12px 0 0;
}

.mt-work-page__source a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--mt-color-red);
	font-weight: 700;
}

.mt-work-page__related-title {
	margin: 0 0 12px;
	font-size: 1.25rem;
	font-weight: 900;
}

/* ページ送り */
.mt-pagination {
	margin-top: 28px;
}

.mt-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}

.mt-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	background: #fff;
	border: 1px solid var(--mt-color-border);
	color: var(--mt-color-text);
	font-weight: 700;
	text-decoration: none;
}

.mt-pagination .page-numbers.current {
	background: var(--mt-color-red);
	border-color: var(--mt-color-red);
	color: #fff;
}

/* 塗装ガイド */
.mt-page__content h3 {
	margin: 24px 0 8px;
	font-size: 1.0625rem;
	font-weight: 900;
	line-height: 1.5;
}

.mt-guide-list {
	display: grid;
	gap: 12px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.mt-guide-list__item {
	padding: 16px 20px;
	background: #fff;
}

/* 「こんなときに」：読む人の状況（ページ名の上の小さなラベル） */
.mt-guide-list__situation {
	margin: 0;
	color: var(--mt-color-blue);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.5;
}

.mt-guide-list__title {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 900;
}

.mt-guide-list__title a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--mt-color-red);
}

.mt-guide-list__text {
	margin: 4px 0 0;
	line-height: 1.8;
}

.mt-guide-related {
	margin-top: 24px;
	padding: 20px;
	background: #fff;
	border: 1px solid var(--mt-color-border);
}

.mt-guide-related__title {
	margin: 0 0 8px;
	font-size: 1.125rem;
	font-weight: 900;
}

.mt-guide-related__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mt-guide-related__list a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--mt-color-blue);
	font-weight: 700;
}

.mt-guide-related__cta {
	margin-top: 12px;
	padding-top: 16px;
	border-top: 1px solid var(--mt-color-border);
}

.mt-guide-related__cta p {
	margin: 0 0 10px;
	font-weight: 700;
}

@media (min-width: 768px) {
	.mt-work-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.mt-works-page .mt-work-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* 公開価格（トップ「見積り・価格の見方」と /price/ で共用）
 * 外壁塗装工事＝入口の価格（赤）、30坪程度の家全体＝最終的な目安（青）。比べる表ではなく役割の違う 2 つの枠。
 * 条件（税込・何の価格か）は金額と同じ枠に、本文と同じ大きさ以上で置く。 */
.mt-price-plans {
	display: grid;
	gap: 12px;
	margin: 0 0 24px;
}

.mt-price-plan {
	padding: 16px 18px 18px;
	background: #fff;
	border: 1px solid var(--mt-color-border);
}

.mt-price-plan__name {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 900;
	line-height: 1.4;
}

.mt-price-plan__price {
	margin: 4px 0 0;
	line-height: 1.1;
}

.mt-price-plan__amount {
	font-size: clamp(2.5rem, 2rem + 2.4vw, 3.25rem);
	font-weight: 900;
	letter-spacing: 0.01em;
	color: var(--mt-color-red);
}

.mt-price-plan--total .mt-price-plan__amount {
	font-size: clamp(2.125rem, 1.8rem + 1.6vw, 2.75rem);
}

.mt-price-plan__tax {
	margin-left: 4px;
	font-size: 1rem;
	font-weight: 700;
}

.mt-price-plan__price-in {
	margin: 6px 0 0;
	font-size: 1.25rem;
	font-weight: 900;
}

.mt-price-plan__note {
	margin: 10px 0 0;
	font-size: 1rem;
	line-height: 1.75;
}

.mt-price-plan__includes {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	margin: 10px 0 0;
	padding: 10px 0 0;
	border-top: 1px solid var(--mt-color-border);
	list-style: none;
	font-size: 0.9375rem;
	line-height: 1.6;
}

.mt-price-plan__includes li + li::before {
	content: "・";
}

/* 本文の中（[mt_price_plans]）に置いたときも、本文の箇条書きの余白・字下げを付けない（2026-10-04） */
.mt-page__content .mt-price-plan__includes {
	padding-left: 0;
}

.mt-longform .mt-page__content .mt-price-plan__includes li + li {
	margin-top: 0;
}

.mt-price-plans__common {
	margin: 0;
	padding: 12px 16px;
	background: var(--mt-color-bg-soft);
	font-size: 1rem;
	line-height: 1.75;
}

.mt-price-plans__more {
	margin: 4px 0 0;
	text-align: center;
}

@media (min-width: 768px) {
	.mt-price-plans {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
		align-items: stretch;
	}

	.mt-price-plans__common,
	.mt-price-plans__more {
		grid-column: 1 / -1;
	}

	.mt-price-plan {
		padding: 20px 24px 22px;
	}
}

/* 外部リンク管理のリンク（Core の [mt_external_link] / [mt_external_link_card]。2026-10-04） */
.mt-external-link__note {
	margin-left: 0.3em;
	color: var(--mt-color-muted);
	font-size: 0.75em;
	font-weight: 400;
	white-space: nowrap;
}

.mt-external-link__note::before {
	content: "（";
}

.mt-external-link__note::after {
	content: "）";
}

.mt-external-card {
	margin: 1em 0;
}

.mt-external-card a {
	display: grid;
	gap: 2px;
	padding: 12px 16px;
	background: #fff;
	border: 1px solid var(--mt-color-border);
	color: var(--mt-color-text);
	text-decoration: none;
}

.mt-page__content p.mt-external-card a {
	color: var(--mt-color-text);
	font-weight: 400;
	text-decoration: none;
}

.mt-external-card__label {
	color: var(--mt-color-blue);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.mt-external-card a:hover .mt-external-card__label {
	color: var(--mt-color-red);
}

.mt-external-card__description {
	font-size: 0.9375rem;
	line-height: 1.7;
}

.mt-external-card__host {
	color: var(--mt-color-muted);
	font-size: 0.8125rem;
	overflow-wrap: anywhere;
}
