/* カウマッチの足し（2026-10-10）＝見本の形（cm-look.css）の上に重ねる
   ① 中の頁の色と形を見本にそろえる ② 純水セルフの釦・お休みカレンダー・お知らせ・理念のリンク ③ 少しだけ派手に（字の見やすさは割らん） */

/* ① 色を全頁でそろえる（cm.css の名を見本の色へ） */
:root {
	--cm-blue: #00758a;
	--cm-blue-d: #07505b;
	--cm-pink: #ba315b;
	--cm-pink-d: #a6294f;
	--cm-ink: #193b40;
	--cm-sub: #5a6d6d;
	--cm-line: #dce5e3;
	--cm-pale: #eaf6f6;
	--cm-cream: #fcf0f3;
	--rose-mid: #f6d5df;
	--aqua-mid: #cfeef0;
}
body { color: var(--ink); }
.cm-btn { border-radius: 9px; }
.cm-btn--buy { background: var(--teal); }
.cm-btn--buy:hover { background: var(--teal-deep); }
.cm-btn--sell { background: var(--rose); }
.cm-btn--sell:hover { background: #a6294f; }
.cm-pagehead { background: radial-gradient(circle at 96% 10%, rgba(186, 49, 91, .55) 0, rgba(186, 49, 91, 0) 42%), linear-gradient(115deg, #07505b 0%, #00758a 70%); color: #fff; }
.cm-pagehead__title { font-weight: 800; color: #fff; }
.cm-pagehead__sub { color: #d7f1f4; opacity: 1; }
.cm-count { background: var(--ink); }
.cm-count a, .cm-count a:hover { color: #fff; }
.cm-count b { color: #ffd2de; }
.cm-main { min-height: 40vh; }

/* ② 純水セルフの釦（トップ「まずはご相談」の下・中の頁の下の帯） */
.cm-wash-pill { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 18px; border-radius: 12px; background: #fff; color: var(--teal-deep); border: 2px solid var(--teal); font-weight: 800; font-size: 15px; text-decoration: none; box-shadow: 0 6px 16px rgba(0, 117, 138, .14); transition: background .15s, color .15s, box-shadow .15s; }
.cm-wash-pill:hover { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(0, 117, 138, .26); }
.cm-wash-pill small { display: block; font-size: 10px; font-weight: 700; color: var(--muted); line-height: 1.4; }
.cm-wash-pill:hover small { color: #e5f8fc; }
.cm-wash-pill .icon { width: 20px; height: 20px; }
.cm-wash-pill span { display: block; line-height: 1.35; text-align: left; }
.hero-wash { margin-top: 10px; text-align: center; }
.hero-wash .cm-wash-pill { width: 100%; justify-content: space-between; }
.hero-consult .cm-wash-pill { margin-left: 10px; min-height: 44px; font-size: 13px; text-decoration: none; padding: 6px 14px; }

/* トップ＝お休みカレンダー（純水セルフの段の中） */
.cm-calendar { margin-top: 36px; }
.cm-calendar h3 { font-size: 18px; margin: 0 0 10px; font-weight: 800; }

/* トップ＝理念（全文の箱は会社の頁へ・見出しを押すと飛ぶ） */
.philosophy .wrap { max-width: 860px; text-align: center; }
.philosophy .eyebrow { justify-content: center; }
.cm-rinen-link { display: inline-flex; align-items: flex-end; flex-wrap: wrap; justify-content: center; gap: 0 10px; color: inherit; text-decoration: none; }
.cm-rinen-link span { color: var(--teal); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; text-decoration-color: var(--rose-mid); }
.cm-rinen-link .icon { width: 28px; height: 28px; color: var(--rose); margin-bottom: 10px; transition: transform .15s; }
.cm-rinen-link:hover span { text-decoration-color: var(--rose); }
.cm-rinen-link:hover .icon { transform: translateX(4px); }

/* トップ＝お知らせ（3本） */
.cm-news-strip { padding-block: 48px; border-top: 1px solid var(--line); }
.cm-news-strip .section-title { font-size: 24px; }
.cm-news-list { list-style: none; margin: 18px 0 0; padding: 0; }
.cm-news-list a { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.cm-news-list a:hover { color: var(--teal); }
.cm-news-list time { font-size: 12px; color: var(--muted); font-weight: 500; }
.cm-news-list .icon { width: 16px; height: 16px; color: var(--teal); }
/* お知らせの種類の切り替え（すべて／お知らせ／ブログ／ラジオ／お客様の声） */
.cm-news-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 4px; }
.cm-news-tabs [role="tab"] { min-height: 40px; padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; cursor: pointer; }
.cm-news-tabs [role="tab"]:hover { border-color: var(--teal); color: var(--teal); }
.cm-news-tabs [role="tab"][aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.cm-news-tabs [role="tab"]:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.cm-news-tabs + .cm-news-list { margin-top: 8px; }

/* 中の頁の下の帯 */
.cm-cta2 { padding: 48px 0 40px; background: linear-gradient(120deg, #fdf3f6 0%, #fff 48%, #eaf6f6 100%); border-top: 1px solid var(--line); text-align: center; }
.cm-cta2 .eyebrow { justify-content: center; margin-bottom: 18px; }
.cm-cta2 .intent-actions { max-width: 760px; margin: 0 auto; text-align: left; }
.cm-cta2__note { font-size: 12px; color: var(--muted); margin: 12px 0 0; }
.cm-cta2 .hero-consult { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 4px; }

/* 掲載車の札（本物の車の題は長い＝2行で切る） */
.car-body h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.status-deal { color: var(--rose); font-weight: 700; }
.status-deal:before { background: var(--rose); }
.car-image img { object-position: 50% 50%; }
.cars-section .data-note a { text-decoration: underline; }

/* 足元＝お店の字とLINE */
.footer-line { margin-top: 10px; }
.footer .cm-line { display: inline-block; }
.footer-links { align-content: start; }

/* ③ 少しだけ派手に（社長 2026-10-10「もう少し派手に　全体的に　もう少しでいい」） */
.hero { background: radial-gradient(circle at 6% 12%, #fde4ec 0, rgba(253, 228, 236, 0) 34%), radial-gradient(circle at 96% 92%, #d6f1f3 0, rgba(214, 241, 243, 0) 38%), linear-gradient(120deg, #f8f9f5 0%, #fff 68%); }
.hero h1 { font-weight: 900; }
.hero h1 em:after { height: 8px; background: #f2b6c6; }
.hero-grid { grid-template-columns: 1fr 1.1fr; }
.section-title { font-size: clamp(30px, 3.4vw, 42px); font-weight: 900; }
.eyebrow { color: var(--teal-deep); }
.cars-section .eyebrow:before, .philosophy .eyebrow:before { background: var(--rose); }
.intent { box-shadow: 0 10px 22px rgba(25, 59, 64, .16); transition: transform .15s, box-shadow .2s, background .2s; }
.intent-sell { background: linear-gradient(135deg, #c93a66 0%, var(--rose) 60%, #a6294f 100%); box-shadow: 0 10px 24px rgba(186, 49, 91, .30); }
.intent-buy { background: linear-gradient(135deg, #0a8aa0 0%, var(--teal) 60%, #07505b 100%); box-shadow: 0 10px 24px rgba(0, 117, 138, .30); }
.intent:hover { transform: translateY(-2px); }
.btn { box-shadow: 0 4px 12px rgba(25, 59, 64, .08); }
.btn-dark, .btn-teal { box-shadow: 0 8px 18px rgba(25, 59, 64, .22); }
.value-strip { background: linear-gradient(90deg, #eaf6f6 0%, #fff 50%, #fcf0f3 100%); }
.value-points svg { width: 30px; height: 30px; padding: 5px; border-radius: 50%; background: #fff; box-shadow: 0 3px 10px rgba(0, 117, 138, .15); }
.cars-section { background: linear-gradient(180deg, #f7f8f4 0%, #fdf4f6 100%); }
.car-card { box-shadow: 0 6px 18px rgba(25, 59, 64, .07); transition: box-shadow .2s, transform .2s; }
.car-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(25, 59, 64, .14); }
.car-image { aspect-ratio: 1.42; }
.car-price strong { color: var(--rose); }
.filter[aria-pressed=true] { background: var(--teal); border-color: var(--teal); }
.flow-num { font-size: 13px; font-weight: 900; }
.wash-section { background: linear-gradient(160deg, #eaf6f6 0%, #d4eff1 100%); }
.wash-visual > img { box-shadow: 0 16px 36px rgba(7, 80, 91, .18); }
.wash-copy .section-title { font-size: clamp(32px, 3.6vw, 46px); }
.contact-section { background: linear-gradient(120deg, var(--ink) 0%, #07505b 100%); }
.contact-section h2 { font-size: 32px; font-weight: 900; }
.hero-main { box-shadow: 0 18px 40px rgba(25, 59, 64, .18); }

@media (max-width: 800px) {
	.hero-grid { grid-template-columns: 1fr 1fr; }
	.cm-news-list a { grid-template-columns: auto 1fr auto; }
	.cm-news-list .cm-new { display: none; }
}
@media (max-width: 600px) {
	.hero-grid { grid-template-columns: 1fr; }
	.section-title { font-size: 29px; }
	.wash-copy .section-title { font-size: 32px; }
	.contact-section h2 { font-size: 27px; }
	.car-image { aspect-ratio: auto; }
	.hero-consult .cm-wash-pill { margin: 6px 0 0; }
	.cm-cta2 .intent-actions { grid-template-columns: 1fr 1fr; }
	.cm-news-list a { grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 13px; }
	.cm-news-list time { grid-column: 1 / -1; }
	.cm-news-list .icon { grid-row: 2; grid-column: 2; }
	.cm-rinen-link .icon { width: 22px; height: 22px; margin-bottom: 6px; }
}
/* 「売るときも、買うときも。」が途中で折れんように（左の列は狭い） */
.how-copy .section-title { font-size: clamp(26px, 2.6vw, 36px); word-break: keep-all; overflow-wrap: anywhere; }
@media (max-width: 600px) { .how-copy .section-title { font-size: 26px; } }

/* 純水セルフ洗車場の色＝明るい青 #0d6ecf（洗車工房HPの純水セルフと同じ・社長 2026-10-10「色使いで純水セルフ洗車場とわかるように」）
   買いたいの青緑（#00758a）と見分ける。白い字は見やすさ約5.1 */
:root { --wash: #0d6ecf; --wash-deep: #0a58a6; --wash-light: #eaf3fd; --wash-mid: #cfe3fa; }
.cm-wash-pill { background: linear-gradient(135deg, #1b7fe0 0%, var(--wash) 55%, var(--wash-deep) 100%); color: #fff; border-color: var(--wash); box-shadow: 0 10px 24px rgba(13, 110, 207, .30); }
.cm-wash-pill small { color: #fff; opacity: .92; }
.cm-wash-pill:hover { background: var(--wash-deep); color: #fff; box-shadow: 0 10px 26px rgba(13, 110, 207, .38); }
.cm-wash-pill:hover small { color: #fff; }
.desktop-nav > a.nav-wash { display: inline-flex; align-items: center; gap: 6px; color: var(--wash); }
.desktop-nav > a.nav-wash:hover { color: var(--wash-deep); }
.nav-wash .icon { width: 17px; height: 17px; }
.mobile-wash { color: var(--wash); }
.wash-section { background: linear-gradient(160deg, var(--wash-light) 0%, var(--wash-mid) 100%); }
.wash-section .eyebrow { color: var(--wash-deep); }
.wash-section .eyebrow:before { background: var(--wash); }
.wash-copy .section-title { color: var(--wash-deep); }
.wash-features li { border-color: #b7d3f3; background: #ffffffb3; }
.wash-action.primary { background: var(--wash); border-color: var(--wash); }
.wash-action.primary:hover { background: var(--wash-deep); }
.wash-action { border-color: #b7d3f3; }
.wash-stamp { border-color: #c9def7; }
.wash-stamp svg { color: var(--wash); }
.wash-visual > img { box-shadow: 0 16px 36px rgba(10, 88, 166, .20); }
.cm-calendar h3 { color: var(--wash-deep); }

/* 入口の見直し（2026-10-10 社長の指示）＝上の帯に売りたい・買いたい・掲載車・ブログ／電話とメール／スマホの下は4つ */
.cm-util { background: var(--ink); color: #fff; font-size: 12px; }
.cm-util .wrap { display: flex; justify-content: flex-end; gap: 22px; min-height: 30px; align-items: center; }
.cm-util a { display: inline-flex; align-items: center; gap: 5px; color: #fff; font-weight: 700; }
.cm-util a:hover { color: #cceff0; }
.cm-util .icon { width: 14px; height: 14px; }
.desktop-nav { gap: 22px; }
@media (max-width: 1120px) { .desktop-nav { gap: 16px; } .desktop-nav .btn { padding: 8px 14px; } }
@media (max-width: 960px) {
	.cm-util { display: none; }
	.desktop-nav { display: none; }
	.mobile-tools { display: flex; gap: 15px; align-items: center; }
	.mobile-wash { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; min-height: 44px; }
	.mobile-wash svg { width: 16px; height: 16px; }
}
.footer-mail { margin-top: 8px; }
.footer-mail a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 800px) {
	.mobile-dock { grid-template-columns: repeat(4, 1fr); gap: 6px; padding-inline: 8px; }
	.mobile-dock a { gap: 4px; }
	.mobile-dock a:nth-child(3) { background: #f1f5f2; color: var(--ink); border: 1px solid var(--line); }
	.mobile-dock a:nth-child(4) { background: var(--ink); color: #fff; }
}
@media (max-width: 359px) { .mobile-dock a { flex-direction: column; gap: 1px; font-size: 10px; } .mobile-wash { font-size: 10px; } }

/* 掲載車の札＝題のリンクを札ぜんぶに広げ、メーカー名だけ別に押せる */
.car-card, .cm-car { position: relative; }
.car-go, .cm-car__go { color: inherit; text-decoration: none; }
.car-go::after, .cm-car__go::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.car-go:focus-visible, .cm-car__go:focus-visible { outline: none; }
.car-card:focus-within { outline: 3px solid var(--teal); outline-offset: 3px; }
.cm-maker-link { position: relative; z-index: 2; color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.cm-maker-link:hover { color: var(--teal); }

/* /contact/ の電話・LINE・メール／/sell/ の次の一歩 */
.cm-renraku { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cm-renraku a { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-weight: 700; font-size: 14px; text-decoration: none; word-break: break-all; }
.cm-renraku a:hover { border-color: var(--teal); color: var(--teal); }
.cm-renraku .icon { width: 18px; height: 18px; flex: none; color: var(--teal); }
@media (max-width: 800px) { .cm-renraku { grid-template-columns: 1fr; } }
.cm-tsugi { margin: 36px 0 0; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cm-tsugi__h { margin: 0 8px 0 0; font-weight: 700; font-size: 14px; color: var(--muted); width: 100%; }
.cm-tsugi a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; }
.cm-tsugi a:hover { background: var(--teal); }
.cm-tsugi .icon { width: 14px; height: 14px; }
.cm-maker-link + .cm-maker-link { margin-left: .5em; }

/* 検分の直し（2026-10-10）＝トップに旧トップの字を戻す・長い字のはみ出し・車の題 */
.cm-hero-note { font-size: 11px; color: var(--muted); margin: 8px 0 0; }
.cm-uketsuke { margin: 14px 0 0; font-size: 13px; font-weight: 700; }
.cm-uketsuke a { display: inline-flex; align-items: baseline; gap: 4px; flex-wrap: wrap; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.cm-uketsuke b { font-size: 20px; color: var(--rose); }
.cm-otel { margin: 12px 0 0; font-size: 13px; line-height: 1.8; color: #fff; opacity: .92; }
.cm-otel a { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.cm-main { overflow-wrap: anywhere; }
@media (max-width: 800px) { .car-body h3 { -webkit-line-clamp: 4; } }
.phone-link { flex-wrap: wrap; justify-content: center; align-items: baseline; row-gap: 0; }
.phone-link small { flex-basis: 100%; text-align: center; }
.cm-otel { text-align: center; }
