/* カウマッチ：青とピンクを入口に、白と余白を車と本文に。 */
:root {
	--cm-blue: #00b2d8;
	--cm-blue-d: #006d85;
	--cm-pink: #bd2c58;
	--cm-pink-d: #a32148;
	--cm-ink: #19343d;
	--cm-sub: #536b74;
	--cm-line: #d8e4e8;
	--cm-pale: #f2f7f8;
	--cm-cream: #fff5f8;
	--cm-gold: #c9a14a;
	--cm-white: #fff;
	--cm-r: 18px;
	--cm-control-r: 12px;
	--cm-w: 1160px;
	--cm-font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: #fff; color: var(--cm-ink); font-family: var(--cm-font); font-size: 16px; line-height: 1.85; letter-spacing: .025em; word-break: auto-phrase; }
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--cm-blue-d); text-underline-offset: .22em; }
a:hover { color: var(--cm-pink); }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--cm-blue-d); outline-offset: 4px; }
[hidden] { display: none !important; }
input[type=checkbox], input[type=radio] { accent-color: var(--cm-blue-d); width: 20px; height: 20px; flex: none; }
.cm-skip { position: absolute; left: -9999px; top: 0; }
.cm-skip:focus { left: 8px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }
.cm-wrap { width: 100%; max-width: var(--cm-w); margin: 0 auto; padding: 0 28px; }
.cm-wrap--text { max-width: 880px; }
.cm-main > .cm-wrap:last-child { padding-bottom: 72px; }
.cm-note { font-size: 13px; color: var(--cm-sub); }
.cm-empty { padding: 48px 0; text-align: center; color: var(--cm-sub); }
h1, h2, h3, .cm-btn, .cm-hero__btn, .cm-cta__btn { word-break: auto-phrase; overflow-wrap: break-word; }
.cm-wrap > *, .cm-spec dd, .cm-dl dd, .cm-sim__list label, .cm-sim__sum dt { min-width: 0; }
.cm-spec dd, .cm-dl dd, .cm-menu a, .cm-car__title { overflow-wrap: anywhere; }

/* 釦：どの頁でも同じ角・高さ・ウェイト。色は行き先の役割。 */
.cm-btn, .cm-more a, .cm-line { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; max-width: 100%; padding: 12px 24px; border: 1px solid transparent; border-radius: var(--cm-control-r); font-size: 15px; font-weight: 700; line-height: 1.55; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .16s, border-color .16s; }
.cm-btn { flex-direction: column; }
.cm-btn__s { font-size: 11px; font-weight: 500; }
.cm-btn--buy { background: var(--cm-blue-d); color: #fff; }
.cm-btn--buy:hover { background: #005468; color: #fff; }
.cm-btn--sell { background: var(--cm-pink); color: #fff; }
.cm-btn--sell:hover { background: var(--cm-pink-d); color: #fff; }
.cm-btn--line, .cm-more a { background: #fff; color: var(--cm-ink); border-color: #8ba3ac; }
.cm-btn--line:hover, .cm-more a:hover { background: var(--cm-pale); color: var(--cm-ink); border-color: var(--cm-ink); }
.cm-btn--contact { background: var(--cm-ink); color: #fff; }
.cm-btn--contact:hover { background: #2b505d; color: #fff; }
.cm-btn--big { min-height: 60px; padding: 14px 28px; font-size: 17px; }
.cm-line { background: #087b39; color: #fff !important; font-size: 14px; }
.cm-line:hover { background: #06632e; }

/* 頭：相談は常設、全頁のメニューは同じ場所。JSなしでもリンクを使える。 */
.cm-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--cm-line); }
.cm-header__in { display: flex; align-items: center; gap: 12px; min-height: 88px; }
.cm-logo { flex: none; }
.cm-logo img { width: 158px; height: auto; display: block; }
.cm-header__copy { margin: 0 0 0 6px; font-size: 11px; color: var(--cm-sub); }
.cm-header__btns { margin-left: auto; display: flex; gap: 8px; }
.cm-header__btns .cm-btn { min-width: 112px; padding: 8px 20px; }
.cm-header__contact { min-width: 116px; }
.cm-burger { display: none; flex: none; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 56px; height: 52px; padding: 0; background: var(--cm-pale); border: 1px solid var(--cm-line); border-radius: var(--cm-control-r); cursor: pointer; color: var(--cm-ink); }
.cm-menu-ready .cm-burger { display: inline-flex; }
.cm-burger span { display: block; width: 21px; height: 2px; background: currentColor; transition: transform .16s, opacity .16s; }
.cm-burger b { white-space: nowrap; font-size: 9px; font-weight: 600; line-height: 1.2; margin-top: 1px; }
.cm-nav { border-top: 1px solid var(--cm-line); background: #fff; max-height: calc(100dvh - 170px); overflow-y: auto; overscroll-behavior: contain; }
.cm-menu-ready .cm-nav { display: none; }
.cm-menu-ready.cm-nav-open .cm-nav { display: block; }
body.cm-nav-open .cm-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.cm-nav-open .cm-burger span:nth-child(2) { opacity: 0; }
body.cm-nav-open .cm-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.cm-menu { list-style: none; margin: 0; padding: 16px 0 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
.cm-menu li { display: flex; }
.cm-menu a { width: 100%; word-break: auto-phrase; overflow-wrap: break-word; display: flex; align-items: center; min-height: 52px; padding: 12px 0; border-bottom: 1px solid var(--cm-line); color: var(--cm-ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.cm-menu a:hover { color: var(--cm-pink); }
.cm-menu .current-menu-item > a { color: var(--cm-blue-d); text-decoration: underline; }

/* 受付台数は元の実数をそのまま、静かな帯で案内。 */
.cm-count { background: var(--cm-pale); color: var(--cm-sub); font-size: 12px; }
.cm-count a { display: block; padding: 7px 0; color: inherit; text-decoration: none; text-align: center; }
.cm-count b { font-size: 17px; color: var(--cm-blue-d); margin: 0 3px; }

/* 頁と各段の見出し */
.cm-pagehead { background: #edf8fb; padding: 48px 0; margin-bottom: 44px; border-bottom: 1px solid #d4edf2; }
.cm-pagehead__sub { margin: 0 0 8px; font-size: 13px; color: var(--cm-blue-d); font-weight: 700; }
.cm-pagehead__title { margin: 0; font-size: clamp(25px, 3.4vw, 38px); line-height: 1.5; }
.cm-sec { padding: 80px 0; }
.cm-sec--pale { background: var(--cm-pale); }
.cm-h2 { text-align: left; font-size: clamp(24px, 3vw, 32px); margin: 0 0 32px; line-height: 1.5; }
.cm-h2 span { display: block; font-size: 11px; letter-spacing: .08em; color: var(--cm-sub); font-weight: 600; margin-bottom: 6px; }
.cm-h2--left { text-align: left; }
.cm-h3 { font-size: 21px; margin: 44px 0 20px; padding-left: 14px; border-left: 4px solid var(--cm-blue); line-height: 1.5; }
.cm-h3 small { font-size: 13px; font-weight: 500; color: var(--cm-sub); margin-left: 8px; }
.cm-more { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 32px 0 0; }

/* トップ：言葉と入口を一画面で。写真は掲載車自身のカードで見せる。 */
.cm-hero { padding: 64px 0; background: #edf8fb; border-bottom: 1px solid #d4edf2; }
.cm-hero__in { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.cm-hero__copy { margin: 0 0 18px; font-size: 12px; color: var(--cm-sub); }
.cm-hero__title { font-size: clamp(32px, 3.75vw, 48px); font-weight: 800; letter-spacing: -.035em; line-height: 1.65; margin: 0; }
.cm-hero__title > span { display: block; }
.cm-hero__phrase { font-size: .76em; white-space: nowrap; letter-spacing: -.045em; }
.cm-hero__value { margin: 22px 0 0; font-size: 16px; font-weight: 600; line-height: 1.9; }
.cm-hero__btns, .cm-cta__btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cm-hero__btn, .cm-cta__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px 18px; border-radius: var(--cm-control-r); border: 1px solid transparent; text-decoration: none; text-align: center; line-height: 1.7; transition: background-color .16s; }
.cm-hero__btn b, .cm-cta__btn b { font-size: 25px; font-weight: 700; }
.cm-hero__btn span, .cm-cta__btn span { font-size: 12px; font-weight: 500; }
.cm-hero__btn--buy, .cm-cta__btn--buy { background: var(--cm-blue-d); color: #fff; }
.cm-hero__btn--sell, .cm-cta__btn--sell { background: var(--cm-pink); color: #fff; }
.cm-hero__btn--buy:hover, .cm-cta__btn--buy:hover { background: #005468; color: #fff; }
.cm-hero__btn--sell:hover, .cm-cta__btn--sell:hover { background: var(--cm-pink-d); color: #fff; }
.cm-hero__actions > .cm-btn { display: flex; width: 100%; margin-top: 22px; }
.cm-hero__links { display: flex; justify-content: center; gap: 28px; margin-top: 10px; }
.cm-hero__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--cm-ink); font-size: 13px; font-weight: 600; }
.cm-hero__note { margin: 12px 0 0; font-size: 12px; color: var(--cm-sub); text-align: center; }

/* 掲載車の札 */
.cm-cars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cm-car { background: #fff; border: 1px solid var(--cm-line); border-radius: var(--cm-r); overflow: hidden; transition: border-color .16s; }
.cm-car:hover { border-color: var(--cm-blue-d); }
.cm-car:focus-within { outline: 3px solid var(--cm-blue-d); outline-offset: 4px; }
.cm-car__link:focus-visible { outline-offset: -4px; }
.cm-car__link { display: block; color: inherit; text-decoration: none; }
.cm-car__ph { position: relative; aspect-ratio: 4 / 3; background: var(--cm-pale); overflow: hidden; }
.cm-car__ph img { width: 100%; height: 100%; object-fit: contain; }
.cm-car__noimg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--cm-sub); font-size: 13px; }
.cm-car__st { position: absolute; left: 10px; top: 10px; background: var(--cm-pink); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.cm-car__st--in { position: static; margin-left: 8px; }
.cm-car--contract .cm-car__st { background: var(--cm-ink); }
.cm-car__body { padding: 22px; }
.cm-car__kubun { margin: 0; font-size: 12px; color: var(--cm-blue-d); font-weight: 700; }
.cm-car__title { margin: 6px 0 14px; font-size: 19px; line-height: 1.5; }
.cm-car__spec { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cm-car__spec li { font-size: 12px; background: var(--cm-pale); padding: 2px 8px; border-radius: 6px; }
.cm-car__spec .cm-car__ok { background: #e6f7fb; color: var(--cm-blue-d); font-weight: 700; }
.cm-car__price { margin: 0; color: var(--cm-pink); font-weight: 700; }
.cm-car__price small { color: var(--cm-sub); font-weight: 500; margin-right: 6px; }
.cm-car__price b { font-size: 30px; font-variant-numeric: tabular-nums; margin-right: 2px; }

/* 絞り込み */
.cm-filter { border: 1px solid var(--cm-line); border-radius: var(--cm-r); padding: 0 24px; margin-bottom: 32px; background: var(--cm-pale); }
.cm-filter summary { cursor: pointer; padding: 20px 0; font-weight: 700; }
.cm-filter fieldset { border: 0; margin: 0 0 12px; padding: 0; }
.cm-filter legend { font-weight: 700; margin-bottom: 6px; font-size: 14px; }
.cm-filter label { display: inline-flex; align-items: center; gap: 4px; margin: 0 14px 8px 0; font-size: 14px; min-height: 44px; }
.cm-filter .cm-btn { margin: 4px 0 16px; }

/* 掲載車の個別 */
.cm-carpage { padding-top: 32px; padding-bottom: 32px; }
.cm-carpage__kubun { margin: 0; color: var(--cm-blue-d); font-weight: 700; }
.cm-carpage__title { margin: 4px 0 8px; font-size: clamp(22px, 3.6vw, 30px); line-height: 1.45; }
.cm-carpage__price { margin: 0 0 24px; color: var(--cm-pink); font-weight: 700; }
.cm-carpage__price small { color: var(--cm-sub); font-weight: 500; margin-right: 8px; }
.cm-carpage__price b { font-size: 40px; margin-right: 4px; }
.cm-gallery__main { margin: 0; background: var(--cm-pale); border-radius: var(--cm-r); overflow: hidden; }
.cm-gallery__main img { width: 100%; max-height: 640px; object-fit: contain; display: block; }
.cm-gallery__main figcaption { padding: 8px 12px; font-size: 13px; color: var(--cm-sub); }
.cm-gallery__main figcaption:empty { display: none; }
.cm-gallery__thumbs { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.cm-gallery__thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; display: block; width: 100%; }
.cm-gallery__thumbs button.is-on { border-color: var(--cm-blue); }
.cm-gallery__thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.cm-spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 32px 0 0; }
.cm-spec > div { display: flex; border-bottom: 1px solid var(--cm-line); padding: 10px 0; }
.cm-spec dt { width: 8em; flex: none; color: var(--cm-sub); font-size: 14px; }
.cm-spec dd { margin: 0; font-weight: 600; }
.cm-spec--hyouka .is-total dd { color: var(--cm-pink); font-size: 20px; }
.cm-report__item { display: grid; grid-template-columns: 240px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--cm-line); }
.cm-report__item img { border-radius: 10px; }
.cm-report__item h3 { margin: 0 0 4px; font-size: 16px; }
.cm-report__class { display: inline-block; margin: 0 0 6px; padding: 1px 10px; border-radius: var(--cm-control-r); background: var(--cm-blue-d); color: #fff; font-size: 12px; font-weight: 700; }
.cm-comment > div { background: var(--cm-cream); border-radius: var(--cm-r); padding: 16px 20px; }
.cm-carpage__go { text-align: center; margin: 40px 0 0; }

/* お知らせの札 */
.cm-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.cm-tabs a { display: inline-flex; align-items: center; min-height: 40px; padding: 4px 16px; border-radius: 999px; border: 1px solid var(--cm-line); color: var(--cm-ink); text-decoration: none; font-size: 14px; background: #fff; }
.cm-tabs a.is-on, .cm-tabs a:hover { background: var(--cm-ink); color: #fff; border-color: var(--cm-ink); }
.cm-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cm-post__link { display: block; color: inherit; text-decoration: none; }
.cm-post__ph { aspect-ratio: 16 / 10; border-radius: var(--cm-r); overflow: hidden; background: var(--cm-pale); position: relative; }
.cm-post__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.cm-post__link:hover .cm-post__title { text-decoration: underline; text-underline-offset: .2em; }
.cm-post__noimg { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; letter-spacing: .2em; color: var(--cm-blue); }
.cm-post__meta { margin: 10px 0 2px; font-size: 13px; color: var(--cm-sub); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cm-post__cat { display: inline-block; padding: 0 10px; border-radius: 999px; background: #fde7ee; color: var(--cm-pink-d); font-size: 12px; text-decoration: none; }
.cm-post__title { margin: 0; font-size: 15px; line-height: 1.6; }
.cm-pager, .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 40px 0 0; }
.nav-links .page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--cm-line); border-radius: 10px; text-decoration: none; color: var(--cm-ink); }
.nav-links .page-numbers.current { background: var(--cm-ink); color: #fff; }

/* 記事・固定頁の本文 */
.cm-single { padding-top: 32px; padding-bottom: 32px; }
.cm-single__title { font-size: clamp(22px, 3.6vw, 30px); line-height: 1.45; margin: 4px 0 24px; }
.cm-entry { overflow-wrap: anywhere; container-type: inline-size; }
.cm-entry p { margin: 0 0 1.6em; overflow-wrap: break-word; }
.cm-entry h2, .cm-entry h3 { overflow-wrap: break-word; }
.cm-entry .wp-block-table { margin: 24px 0; overflow-x: auto; }
.cm-entry input, .cm-entry select, .cm-entry textarea { max-width: 100%; }
.cm-entry h2 { font-size: 22px; margin: 48px 0 16px; padding-bottom: 8px; border-bottom: 3px solid var(--cm-blue); line-height: 1.45; }
.cm-entry h3 { font-size: 18px; margin: 32px 0 12px; line-height: 1.45; }
.cm-entry img { border-radius: 10px; }
.cm-entry table { border-collapse: collapse; width: 100%; margin: 16px 0; }
.cm-entry th, .cm-entry td { border: 1px solid var(--cm-line); padding: 8px 10px; }
.cm-entry iframe { max-width: 100%; }
.cm-entry .wp-block-image figcaption { font-size: 13px; color: var(--cm-sub); }
.cm-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 0 10px; border-radius: 6px; background: var(--cm-pale); font-size: 13px; text-decoration: none; color: var(--cm-sub); }
.cm-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 40px 0 0; font-size: 14px; }
.cm-prevnext div:last-child { text-align: right; }
.cm-page-ph { margin: 0 0 24px; text-align: center; }

/* 本文の部品（頁の文） */
.cm-lead { font-size: 18px; font-weight: 600; }
.cm-big { font-size: 22px; font-weight: 700; color: var(--cm-pink); }
.cm-dl { margin: 12px 0 24px; }
.cm-dl > div { display: flex; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--cm-line); }
.cm-dl dt { width: 9em; flex: none; color: var(--cm-sub); }
.cm-dl dd { margin: 0; }
.cm-dl--price dd { font-weight: 700; color: var(--cm-pink); font-size: 18px; }
.cm-points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cm-points li, .cm-points section { background: #fff; border-radius: var(--cm-r); padding: 28px; border-top: 3px solid var(--cm-blue); }
.cm-points li:nth-child(2), .cm-points section:nth-child(2) { border-top-color: var(--cm-pink); }
.cm-points li:nth-child(3), .cm-points section:nth-child(3) { border-top-color: var(--cm-gold); }
.cm-points b, .cm-points__no { display: block; margin: 0; font-size: 13px; color: var(--cm-pink); font-weight: 700; letter-spacing: .1em; }
.cm-points h3, .cm-points h2 { font-size: 17px; line-height: 1.55; margin: 6px 0 8px; border: 0; padding: 0; }
.cm-points p { font-size: 14px; }
.cm-points--page { margin-bottom: 24px; }
.cm-message { background: var(--cm-cream); border-radius: var(--cm-r); padding: 32px 28px; margin: 40px 0; }
.cm-message h2 { border: 0; margin-top: 0; }
.cm-message__name { text-align: right; font-weight: 700; }
.cm-shopbox { border: 1px solid var(--cm-line); border-radius: var(--cm-r); padding: 20px 24px; margin: 24px 0; }
.cm-shopbox h2 { margin-top: 0; border-bottom-width: 2px; }
.cm-shopbox__staff { font-weight: 700; color: var(--cm-blue-d); }
.cm-price { margin-bottom: 32px; }
.cm-price__yen { font-size: 24px; font-weight: 700; color: var(--cm-pink); margin: 0; }
.cm-ptable { width: 100%; border-collapse: collapse; text-align: center; margin: 12px 0 4px; }
.cm-ptable caption { text-align: left; font-size: 13px; color: var(--cm-sub); padding-bottom: 4px; }
.cm-ptable th { background: var(--cm-ink); color: #fff; padding: 8px 4px; }
.cm-ptable td { border: 1px solid var(--cm-line); padding: 10px 4px; font-weight: 700; }
.cm-special { text-align: center; padding: 24px 0; }
.cm-special__copy { font-size: clamp(22px, 4vw, 32px); font-weight: 800; color: var(--cm-pink); line-height: 1.5; }

/* FAQ */
.cm-faq__item { border: 1px solid var(--cm-line); border-radius: 12px; margin: 0 0 12px; background: #fff; }
.cm-faq__item summary { cursor: pointer; padding: 16px 16px 16px 0; font-weight: 700; display: flex; gap: 10px; align-items: flex-start; list-style: none; }
.cm-faq__item summary::-webkit-details-marker { display: none; }
.cm-faq__q, .cm-faq__aa { flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--cm-blue-d); color: #fff; font-weight: 800; margin-left: 12px; margin-right: 6px; }
.cm-faq__aa { background: var(--cm-pink); }
.cm-faq__a { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 0 6px; padding: 8px 20px 20px 0; }
.cm-faq__a .cm-entry { flex: 1; }
.cm-faq__link { grid-column: 2; margin: 0; font-size: 13px; text-align: right; }
.cm-faq__link a { display: inline-flex; align-items: center; min-height: 44px; }
.cm-faq__item summary::after { content: "+"; margin-left: auto; padding-left: 8px; color: var(--cm-blue-d); flex: none; }
.cm-faq__item[open] summary::after { content: "−"; }
.cm-faq__item[open] { border-color: #8ba3ac; }

/* 見積もりのシミ */
.cm-sim__step { margin-bottom: 8px; }
.cm-sim__no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--cm-pink); color: #fff; font-size: 14px; margin-right: 8px; }
.cm-tabs--size a { min-width: 56px; justify-content: center; font-weight: 700; }
.cm-field { display: block; font-weight: 700; margin: 12px 0; }
.cm-field input, .cm-field select { display: block; width: 100%; max-width: 420px; margin-top: 6px; min-height: 48px; padding: 8px 12px; border: 1px solid #cfc8c2; border-radius: 10px; font-size: 16px; font-family: inherit; }
.cm-sim__list { list-style: none; padding: 0; margin: 0; }
.cm-sim__list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--cm-line); }
.cm-sim__list label { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.cm-sim__course { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cm-sim__c { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 8px; align-items: center; border: 2px solid var(--cm-line); border-radius: 12px; padding: 12px; cursor: pointer; }
.cm-sim__c:has(input:checked) { border-color: var(--cm-blue); background: #f0fbfd; }
.cm-sim__cname { font-weight: 700; }
.cm-sim__cprice { font-weight: 700; color: var(--cm-pink); }
.cm-sim__cdesc { grid-column: 1 / -1; font-size: 12px; color: var(--cm-sub); }
.cm-sim__sum { margin: 32px 0 0; background: var(--cm-ink); color: #fff; border-radius: var(--cm-r); padding: 20px 24px; text-align: center; }
.cm-sim__sum dl { margin: 0 0 8px; text-align: left; }
.cm-sim__sum dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border-bottom: 1px dashed rgba(255,255,255,.25); font-size: 14px; }
.cm-sim__sum dd { margin: 0; }
.cm-sim__sum .cm-note { color: #d8d2cf; }
.cm-sim__total { font-size: 18px; margin: 12px 0; }
.cm-sim__total b { font-size: 34px; color: #ffe46b; }

/* お問い合わせ（Contact Form 7） */
.wpcf7 { margin: 24px 0; }
.wpcf7 table { width: 100%; border-collapse: collapse; }
.wpcf7 th, .wpcf7 td { border-bottom: 1px solid var(--cm-line); padding: 12px 8px; text-align: left; vertical-align: top; }
.wpcf7 th { width: 30%; font-size: 15px; }
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 input[type=tel], .wpcf7 input[type=number], .wpcf7 select, .wpcf7 textarea { width: 100%; min-height: 48px; padding: 8px 12px; border: 1px solid #cfc8c2; border-radius: 10px; font-size: 16px; font-family: inherit; background: #fff; }
.wpcf7 input[readonly] { background: var(--cm-pale); }
.wpcf7 textarea { min-height: 140px; }
.wpcf7 .c-input-year, .wpcf7 .c-input-month { width: auto; display: inline-block; }
.wpcf7 .wpcf7-list-item { display: inline-flex; margin: 0 14px 6px 0; }
.wpcf7 .wpcf7-list-item label { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; }
.wpcf7 input[type=submit], .wpcf7 .c-button { display: block; margin: 24px auto 0; min-height: 56px; padding: 12px 40px; border: 0; border-radius: var(--cm-control-r); background: var(--cm-blue-d); color: #fff; font-size: 17px; font-weight: 700; cursor: pointer; font-family: inherit; }
.wpcf7 .c-button.red { background: var(--cm-pink); }
.wpcf7 .wpcf7-not-valid-tip { color: var(--cm-pink-d); font-size: 13px; }
.wpcf7 .required, .wpcf7 .c-required { color: #fff; background: var(--cm-pink); font-size: 11px; padding: 1px 6px; border-radius: 4px; margin-left: 6px; }

/* 共通の相談口 */
.cm-cta { background: #edf8fb; padding: 64px 0; text-align: center; }
.cm-cta__copy { margin: 0 0 24px; font-size: 20px; font-weight: 700; }
.cm-cta__btns { max-width: 720px; margin: 0 auto; }
.cm-cta__consult { margin: 24px auto 0; max-width: 720px; }
.cm-cta__consult .cm-btn { width: 100%; }
.cm-cta__sub { margin: 20px 0 0; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; align-items: center; }
.cm-cta__sub > a:not(.cm-line) { display: inline-flex; align-items: center; min-height: 44px; }

/* 第二の柱：純水セルフ洗車場。主役のマッチングに続く独立した入口。 */
.cm-selfwash { background: #fff; }
.cm-selfwash__in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.cm-selfwash__sub { margin: 0 0 12px; display: inline-block; padding: 3px 12px; background: #dff5fa; color: var(--cm-blue-d); font-size: 13px; font-weight: 700; border-radius: 6px; }
.cm-selfwash__title { margin: 0 0 14px; font-size: clamp(25px, 3vw, 32px); line-height: 1.5; }
.cm-selfwash__in > div > p:last-child { margin: 0; color: var(--cm-sub); font-size: 14px; }
.cm-selfwash__btns { display: grid; gap: 12px; }
.cm-selfwash__btns .cm-btn:first-child { background: var(--cm-blue-d); color: #fff; border-color: var(--cm-blue-d); }
.cm-selfwash__btns .cm-btn:first-child:hover { background: #005468; }
.cm-shopinfo { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.cm-shopinfo__tel a { font-size: clamp(23px, 2.8vw, 30px); font-weight: 700; color: var(--cm-ink); text-decoration: none; letter-spacing: 0; }
.cm-shopinfo__txt p { margin: 8px 0; font-size: 14px; }
.cm-shopinfo__cal h3 { margin: 0 0 16px; font-size: 18px; }
.cm-shopinfo__cal { min-width: 0; }

/* 足元：帰属と連絡先を残し、主な行き先を見渡せる。 */
.cm-footer { background: var(--cm-ink); color: #e2edf1; padding: 64px 0 32px; font-size: 13px; }
.cm-footer a { color: #fff; }
.cm-footer :focus-visible { outline-color: #fff; }
.cm-footer__in { display: grid; grid-template-columns: 1fr 1.45fr; gap: 48px; }
.cm-footer__shop > a { display: inline-block; margin-bottom: 20px; }
.cm-footer__shop p { margin: 8px 0; }
.cm-footer__name { font-weight: 700; }
.cm-footer .cm-menu { padding: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cm-footer .cm-menu a { color: #fff; border-color: #43606a; font-size: 13px; font-weight: 500; }
.cm-group { margin-top: 48px; border-top: 1px solid #43606a; padding-top: 24px; }
.cm-group__star { margin: 0 0 16px; color: var(--cm-gold); font-weight: 700; letter-spacing: .08em; font-size: 12px; }
.cm-group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; }
.cm-group li a, .cm-group__brand { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; }
.cm-group li a:hover { text-decoration: underline; }
.cm-footer__copy { text-align: center; font-size: 11px; color: #bbd0d8; margin: 32px 20px 0; }
.cm-sticky { display: none; }
.cm-404__links { line-height: 2.2; }

/* タブレット・スマホ */
@media (max-width: 1000px) {
	.cm-header__copy { display: none; }
	.cm-hero__in { gap: 28px; }
	.cm-cars, .cm-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
	.cm-points { grid-template-columns: 1fr; }
	.cm-shopinfo, .cm-footer__in { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	.cm-hero__in { grid-template-columns: 1fr; gap: 28px; }
	.cm-hero__intro { text-align: center; }
	.cm-hero__title { font-size: 40px; }
	.cm-hero__actions { width: 100%; max-width: 520px; margin: 0 auto; }
	.cm-hero__value { font-size: 15px; }
	.cm-header__btns .cm-btn { min-width: 90px; padding: 8px 12px; }
	.cm-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
	.cm-selfwash__in { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
	html { scroll-padding-top: 88px; scroll-padding-bottom: 90px; }
	body { font-size: 15px; padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
	.cm-wrap { padding-left: 20px; padding-right: 20px; }
	.cm-main > .cm-wrap:last-child { padding-bottom: 48px; }
	.cm-header__in { min-height: 74px; gap: 10px; }
	.cm-logo img { width: 122px; }
	.cm-header__btns { display: none; }
	.cm-header__contact { margin-left: auto; min-width: 84px; min-height: 44px; padding: 8px 12px; font-size: 13px; }
	.cm-burger { width: 48px; height: 44px; }
	.cm-nav { max-height: calc(100dvh - 170px - env(safe-area-inset-bottom, 0px)); }
	.cm-menu a { font-size: 13px; }
	.cm-count { font-size: 10px; letter-spacing: 0; }
	.cm-count b { font-size: 15px; }
	.cm-cars, .cm-posts { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.cm-hero { padding: 32px 0 24px; }
	.cm-hero__in { gap: 24px; }
	.cm-hero__copy { margin-bottom: 10px; font-size: 11px; }
	.cm-hero__title { font-size: 34px; line-height: 1.6; }
	.cm-hero__value { margin-top: 16px; font-size: 14px; }
	.cm-hero__btns, .cm-cta__btns { gap: 10px; }
	.cm-hero__btn, .cm-cta__btn { padding: 18px 10px; gap: 8px; }
	.cm-hero__btn b, .cm-cta__btn b { font-size: 22px; }
	.cm-hero__btn span, .cm-cta__btn span { font-size: 11px; }
	.cm-hero__actions > .cm-btn { margin-top: 16px; }
	.cm-spec { grid-template-columns: minmax(0, 1fr); }
	.cm-report__item { grid-template-columns: minmax(0, 1fr); }
	.cm-gallery__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.cm-sim__course { grid-template-columns: minmax(0, 1fr); }
	.cm-sec { padding: 48px 0; }
	.cm-h2 { margin-bottom: 24px; }
	.cm-pagehead { padding: 32px 0; margin-bottom: 32px; }
	.cm-dl > div { flex-direction: column; gap: 2px; }
	.cm-dl dt { width: auto; font-size: 13px; }
	.cm-selfwash__title { font-size: 25px; }
	.cm-selfwash__in > div > p:last-child { font-size: 13px; }
	.cm-cta { padding: 44px 0; }
	.cm-cta__copy { font-size: 17px; }
	.cm-footer { padding-top: 44px; }
	.cm-footer__in { gap: 32px; }
	.cm-footer .cm-menu { gap: 0 16px; }
	.cm-footer__copy { font-size: 10px; }
	.wpcf7 th, .wpcf7 td { display: block; width: 100%; border: 0; padding: 6px 0; }
	.cm-sticky { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--cm-line); box-shadow: 0 -4px 20px rgba(25,52,61,.08); }
	.cm-sticky a { display: grid; place-items: center; min-height: 52px; padding: 4px 0; border-radius: var(--cm-control-r); font-size: 12px; font-weight: 700; text-decoration: none; color: var(--cm-ink); letter-spacing: 0; }
	.cm-sticky .cm-sticky__buy { color: var(--cm-blue-d); background: #e4f5f9; }
	.cm-sticky .cm-sticky__sell { color: var(--cm-pink); background: #fff0f5; }
	.cm-sticky .cm-sticky__contact { background: var(--cm-ink); color: #fff; }
	.cm-sticky .cm-sticky__line { color: #087b39; }
}
@media (max-width: 359px) {
	.cm-wrap { padding-left: 16px; padding-right: 16px; }
	.cm-header__in { gap: 8px; }
	.cm-logo img { width: 110px; }
	.cm-header__contact { min-width: 76px; }
	.cm-hero__title { font-size: 30px; }
}

/* 掲載車の個別（旧と同じ動きの部品） */
.cm-carpage__days { margin: 0 0 8px; display: inline-block; background: #fff4d6; color: #8a5a00; border-radius: 999px; padding: 2px 14px; font-size: 13px; }
.cm-carpage__days b { font-size: 18px; margin: 0 2px; }
.cm-carpage__label { display: inline-block; padding: 12px 36px; border-radius: 999px; background: var(--cm-ink); color: #fff; font-weight: 700; font-size: 17px; }
.cm-shoudan { margin: 40px 0 0; padding: 28px 20px; border: 2px solid var(--cm-pink); border-radius: var(--cm-r); text-align: center; background: #fff7fa; }
.cm-shoudan h2 { margin: 0 0 8px; font-size: 20px; color: var(--cm-pink-d); }
.cm-shoudan__form { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.cm-shoudan__form input { min-height: 48px; padding: 8px 12px; border: 1px solid #cfc8c2; border-radius: 10px; font-size: 16px; width: min(280px, 100%); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cm-report { margin: 48px 0 0; }
.cm-report__title { text-align: center; font-size: 24px; margin: 0 0 24px; line-height: 1.4; }
.cm-report__title span { display: block; font-size: 13px; color: var(--cm-pink); letter-spacing: .1em; }
.cm-report__item { border-left: 5px solid var(--cm-line); padding-left: 16px; }
.cm-report__item.is-good { border-left-color: var(--cm-blue); }
.cm-report__item.is-bad, .cm-report__item.is-caution { border-left-color: var(--cm-pink); }
.cm-hyouka { margin: 32px 0 0; background: var(--cm-pale); border-radius: var(--cm-r); padding: 20px 24px; }
.cm-hyouka__title { margin: 0 0 8px; font-size: 20px; }
.cm-hyouka__title span { font-size: 13px; font-weight: 500; color: var(--cm-sub); margin-left: 10px; }
.cm-spec--hyouka dd b { font-size: 20px; color: var(--cm-ink); }
.cm-spec--hyouka .is-total dd b { color: var(--cm-pink); font-size: 26px; }
.cm-torihiki { margin: 0 0 32px; padding: 20px; border-radius: var(--cm-r); background: #f0fbfd; border: 1px solid #bfe9f3; }
.cm-torihiki__news { margin: 0 0 12px; font-weight: 700; }
.cm-torihiki__news b { color: var(--cm-blue-d); margin-right: 8px; }
.cm-torihiki__steps { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.cm-torihiki__steps li { text-align: center; font-size: 12px; padding: 8px 2px; border-radius: 10px; background: #fff; color: var(--cm-sub); }
.cm-torihiki__steps li span { display: block; font-weight: 800; font-size: 16px; }
.cm-torihiki__steps li.is-done { background: #d9f3f9; color: var(--cm-blue-d); }
.cm-torihiki__steps li.is-now { background: var(--cm-blue-d); color: #fff; }
.cm-torihiki__mitsumori p { display: flex; gap: 8px; flex-wrap: wrap; }
.cm-torihiki__contact { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 0; }
.cm-btn.is-off { opacity: .4; pointer-events: none; }
@media (max-width: 640px) { .cm-torihiki__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* 旧サイトと同じ形にそろえた部品（2026-10-06） */
.cm-car__days { margin: 0 0 4px; font-size: 12px; color: #8a5a00; }
.cm-car__days b { font-size: 15px; margin: 0 2px; }
.cm-carpage__band { margin: 0 0 16px; padding: 8px 14px; border-radius: 10px; background: var(--cm-blue-d); color: #fff; font-weight: 700; text-align: center; font-size: 14px; }
.cm-new { display: inline-block; padding: 0 8px; border-radius: 4px; background: var(--cm-pink); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .05em; }
.cm-spec dd:empty::after { content: ""; }
.cm-car__comment { margin: 10px 0 0; padding: 10px 12px; background: var(--cm-cream); border-radius: 10px; font-size: 13px; line-height: 1.7; }
.cm-car__comment p { margin: 0 0 4px; }
.cm-car__comment-h { font-weight: 700; }
.cm-car__more { margin: 12px 0 0; text-align: center; padding: 8px; border-radius: var(--cm-control-r); background: var(--cm-blue-d); color: #fff; font-weight: 700; font-size: 14px; }
.cm-car--waiting .cm-car__more, .cm-car--progress .cm-car__more, .cm-car--contract .cm-car__more { background: var(--cm-ink); }
.cm-post__ex { margin: 6px 0 0; font-size: 13px; color: var(--cm-sub); line-height: 1.7; }
.cm-post__more { color: var(--cm-blue-d); margin-left: 4px; white-space: nowrap; }
.cm-filter__kw { width: 100%; max-width: 420px; min-height: 48px; padding: 8px 12px; border: 1px solid #cfc8c2; border-radius: 10px; font-size: 16px; font-family: inherit; }
.cm-toiawase { margin: 40px 0 0; padding: 20px 24px; border: 1px solid var(--cm-line); border-radius: var(--cm-r); background: #fff; }
.cm-toiawase h2 { margin: 0 0 8px; font-size: 20px; }
.cm-toiawase p { margin: 4px 0; }
.cm-toiawase__h { font-weight: 700; margin-top: 12px !important; }
.cm-toiawase ul { list-style: none; margin: 4px 0 12px; padding: 0; line-height: 2; }
a[href^="tel:"] { white-space: nowrap; }
.cm-narabi { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 20px; }
.cm-narabi strong { margin-right: 4px; font-size: 14px; }
.cm-narabi a { display: inline-flex; align-items: center; min-height: 40px; padding: 4px 14px; border-radius: 999px; border: 1px solid var(--cm-line); color: var(--cm-ink); text-decoration: none; font-size: 14px; }
.cm-narabi a.is-on, .cm-narabi a:hover { background: var(--cm-ink); color: #fff; }
.cm-cta__note { margin: 12px 0 0; font-size: 12px; color: var(--cm-sub); }
/* 金額は途中で折り返さん（「100,00」「0円」と割れて読み違えるため） */
.cm-ptable td, .cm-sim__list b, .cm-sim__cprice, .cm-sim__sum dd, .cm-price__yen, .cm-car__price, .cm-carpage__price { white-space: nowrap; }
@media (max-width: 640px) {
	.cm-ptable th, .cm-ptable td { padding: 8px 1px; font-size: 12px; letter-spacing: 0; }
}
@media (max-width: 359px) {
	.cm-ptable th, .cm-ptable td { font-size: 10.5px; padding: 8px 0; }
}

/* 入力と数字は読み違えない大きさを確保。 */
.cm-sim__step { padding: 0 0 16px; }
.cm-sim__step .cm-h3 { border-left: 0; padding-left: 0; }
.cm-sim__sum { background: #edf8fb; color: var(--cm-ink); padding: 28px; text-align: center; }
.cm-sim__sum dl > div { padding: 10px 0; border-bottom: 1px solid var(--cm-line); }
.cm-sim__sum .cm-note { color: var(--cm-sub); }
.cm-sim__total b { color: var(--cm-blue-d); font-variant-numeric: tabular-nums; }
.cm-sim__c { grid-template-columns: auto minmax(0, 1fr) auto; }
.cm-sim__cdesc { line-height: 1.8; }
.cm-sim__sum dt { overflow-wrap: anywhere; }
.wpcf7 input[type=submit], .wpcf7 .c-button { max-width: 100%; white-space: normal; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus, .cm-field input:focus, .cm-field select:focus { border-color: var(--cm-blue-d); }
.wpcf7 input[type=file] { max-width: 100%; font-size: 13px; }
.wpcf7 .wpcf7-response-output { border-radius: 8px; }
.cm-spec dt, .cm-spec dd { padding: 4px 0; }
.cm-gallery__thumbs button:focus-visible { outline-offset: 2px; }
.cm-car__price, .cm-carpage__price, .cm-sim__cprice, .cm-price__yen, .cm-ptable { font-variant-numeric: tabular-nums; letter-spacing: 0; }
@media (max-width: 640px) {
	.cm-sim__sum { padding: 22px 16px; }
	.cm-hyouka { padding: 20px 16px; }
	.cm-toiawase { padding: 20px 16px; }
	.cm-filter { padding: 0 16px; }
	.cm-narabi { gap: 6px; }
	.cm-narabi strong { width: 100%; }
	.cm-narabi a { padding: 4px 10px; font-size: 12px; min-height: 44px; }
	.cm-sim__c { padding: 12px 10px; font-size: 14px; }
	.cm-spec dt { width: 7em; }
	.cm-gallery__main img { max-height: 400px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* WordPress本文内のカードは、本文の幅に合わせる。 */
.cm-entry .cm-points { grid-template-columns: minmax(0, 1fr); }
@container (min-width: 720px) {
	.cm-entry .cm-points { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
