@charset "UTF-8";

/* ============================================================
   HUBRIDE Service pages (retail / dent-repair / coating)
   設計書: hubride-design-spec.md §4-6
   共通パーツ: Hero / Intro / Pricing / Targets / Gallery /
   Comparison / VehicleTypes / MiniFAQ
   Note: top.css (デザイントークンと基底クラス)が同時に
         読み込まれている前提。
   ============================================================ */

/* ---- SWELLデフォルトタイトル非表示 + コンテンツ上余白リセット ----
   .is-hubride-page は inc/routing.php で service / contact / company / policy 等の
   HUBRIDE 提供ページに付与される body_class。page-id ハードコード依存を排除。 */
.is-hubride-page .c-pageTitle { display: none; }
.is-hubride-page #content,
.is-hubride-page .l-mainContent__inner > .post_content {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

/* ---- 全固定ページ共通: フルサイズ化 + フォント統一 ---- */
.hubride-service-page .hubride-section__inner,
.hubride-hero,
.hubride-contact .hubride-section__inner,
.hubride-contact-info .hubride-section__inner,
.hubride-company-info .hubride-section__inner,
.hubride-company-access .hubride-section__inner {
	max-width: none !important;
	padding-left: 7% !important;
	padding-right: 7% !important;
}
@media (max-width: 1280px) {
	.hubride-service-page .hubride-section__inner,
	.hubride-hero,
	.hubride-contact .hubride-section__inner,
	.hubride-contact-info .hubride-section__inner,
	.hubride-company-info .hubride-section__inner,
	.hubride-company-access .hubride-section__inner {
		max-width: 1040px;
		padding-left: 1.5rem !important;
		padding-right: 1.5rem !important;
	}
}

/* ---- サービスページ配色トークン ----
   ページ全体のアクセントカラーを body クラスで切り替え */
.hubride-service-page--retail   { --hb-accent: var(--hb-retail); }
.hubride-service-page--dent     { --hb-accent: var(--hb-dent); }
.hubride-service-page--coating  { --hb-accent: var(--hb-coating); }
.hubride-service-page--purchase  { --hb-accent: var(--hb-purchase); }
.hubride-service-page           { --hb-accent: var(--hb-text); }


/* ============================================================
   1. Page Hero
   ============================================================ */
.hubride-hero {
	padding: 3rem 1.5rem 5rem;
	text-align: center;
	background: #ffffff;
	border-bottom: 1px solid var(--hb-border);
}
.hubride-hero__label {
	font-family: var(--hb-sans);
	font-size: clamp(0.8rem, 1vw, 1.1rem);
	letter-spacing: 0.28em;
	color: var(--hb-accent);
	text-transform: uppercase;
	margin: 0 0 1.2rem;
}
.hubride-hero .hubride-hero__title {
	font-family: var(--hb-sans);
	font-weight: 700;
	font-size: clamp(1.4rem, 2.5vw, 2.8rem);
	letter-spacing: 0.04em;
	line-height: 1.6;
	color: var(--hb-text);
	margin: 0 0 1.6rem;
}
.hubride-hero__lead {
	max-width: none;
	margin: 0 auto;
	font-family: var(--hb-sans);
	font-size: clamp(0.95rem, 1.2vw, 1.3rem);
	font-weight: 500;
	line-height: 2;
	color: var(--hb-text-sub);
}

/* ============================================================
   2. Intro ("～とは") + 3つの数値メリット
   ============================================================ */
.hubride-intro__body {
	max-width: none;
	margin: 0 auto 3.5rem;
	font-family: var(--hb-sans);
	font-size: clamp(0.95rem, 1.2vw, 1.3rem);
	font-weight: 500;
	line-height: 2;
	color: var(--hb-text-sub);
	text-align: center;
}

.hubride-metrics {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	max-width: 960px;
	margin: 0 auto;
}
.hubride-metric {
	text-align: center;
	padding: 2rem 1rem;
	border-top: 1px solid var(--hb-accent);
	position: relative;
}
.hubride-metric__value {
	font-family: var(--hb-sans);
	font-weight: 500;
	font-size: clamp(2.2rem, 5vw, 3.4rem);
	color: var(--hb-text);
	letter-spacing: 0.04em;
	line-height: 1.1;
	display: block;
}
.hubride-metric__unit {
	font-size: 0.6em;
	margin-left: 0.2em;
	color: var(--hb-text-sub);
}
.hubride-metric__label {
	display: block;
	margin-top: 0.6rem;
	font-family: var(--hb-sans);
	font-size: clamp(0.9rem, 1.1vw, 1.2rem);
	font-weight: 500;
	line-height: 2;
	color: var(--hb-text-sub);
	letter-spacing: 0.1em;
}

/* ============================================================
   3. Features (01/02/03 ステップ)
   top.css の .hubride-reasons と同構造だが service用にリネーム
   ============================================================ */
.hubride-features__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin-top: 3rem;
}
.hubride-feature {
	padding: 2rem 1.5rem;
	text-align: center;
	border-top: 1px solid var(--hb-border);
}
.hubride-feature__num {
	display: block;
	font-family: var(--hb-sans);
	font-size: 2.2rem;
	font-weight: 400;
	letter-spacing: 0.05em;
	color: var(--hb-accent);
	margin-bottom: 1rem;
}
.hubride-feature .hubride-feature__title {
	font-family: var(--hb-sans);
	font-weight: 700;
	font-size: clamp(1.1rem, 1.4vw, 1.5rem);
	letter-spacing: 0.04em;
	line-height: 1.6;
	margin: 0 0 1rem;
}
.hubride-feature__text {
	font-family: var(--hb-sans);
	font-size: clamp(0.95rem, 1.2vw, 1.3rem);
	font-weight: 500;
	line-height: 2;
	color: var(--hb-text-sub);
	margin: 0;
	text-align: left;
}

/* ============================================================
   4. Pricing table (施工料金 / プラン別)
   ============================================================ */
.hubride-pricing {
	max-width: 880px;
	margin: 0 auto;
}
.hubride-pricing-table {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--hb-sans);
}
.hubride-pricing-table th,
.hubride-pricing-table td {
	padding: 1.2rem 1rem;
	text-align: left;
	border-bottom: 1px solid var(--hb-border);
	font-size: 0.95rem;
	line-height: 1.7;
	letter-spacing: 0.05em;
}
.hubride-pricing-table thead th {
	font-weight: 700;
	color: var(--hb-text) !important;
	background: transparent !important;
	font-size: clamp(0.85rem, 1vw, 1rem);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	border-bottom: 2px solid var(--hb-border);
	padding-bottom: 0.8rem;
}
/* SWELLテーブルスタイル完全リセット */
.hubride-pricing-table,
.hubride-pricing-table th,
.hubride-pricing-table td,
.hubride-pricing-table thead,
.hubride-pricing-table tbody,
.hubride-pricing-table tr {
	background: transparent !important;
	background-color: transparent !important;
	color: var(--hb-text) !important;
	border-color: var(--hb-border) !important;
}
.hubride-pricing-table tbody th {
	font-weight: 500;
	color: var(--hb-text);
	width: 28%;
}
.hubride-pricing-table td.hubride-pricing__price {
	color: var(--hb-accent);
	font-size: 1.05rem;
	font-weight: 500;
	white-space: nowrap;
}
.hubride-pricing-table td.hubride-pricing__time {
	color: var(--hb-text-sub);
	white-space: nowrap;
}
.hubride-pricing__note {
	margin-top: 1.6rem;
	font-size: 0.8rem;
	color: #999;
	text-align: center;
	letter-spacing: 0.05em;
}

/* ============================================================
   5. Targets (個人 / 業者 の2カード)
   ============================================================ */
.hubride-targets__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	margin-top: 3rem;
}
.hubride-target {
	padding: 2.8rem 2.2rem;
	background: #ffffff;
	border: 1px solid var(--hb-border);
	border-radius: var(--hb-radius);
	position: relative;
}
.hubride-target__label {
	display: block;
	font-family: var(--hb-sans);
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	color: var(--hb-accent);
	text-transform: uppercase;
	margin-bottom: 0.8rem;
}
.hubride-target .hubride-target__title {
	font-family: var(--hb-sans);
	font-weight: 700;
	font-size: clamp(1.1rem, 1.4vw, 1.5rem);
	letter-spacing: 0.04em;
	line-height: 1.6;
	margin: 0 0 1.4rem;
}
.hubride-target__list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.hubride-target__list li {
	position: relative;
	padding: 0.55rem 0 0.55rem 1.4rem;
	font-family: var(--hb-sans);
	font-size: clamp(0.95rem, 1.2vw, 1.3rem);
	font-weight: 500;
	line-height: 2;
	color: var(--hb-text-sub);
	border-bottom: 1px dashed var(--hb-border);
}
.hubride-target__list li:last-child { border-bottom: none; }
.hubride-target__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1.15em;
	width: 8px;
	height: 1px;
	background: var(--hb-accent);
}

/* ============================================================
   6. Comparison table (PDR vs 板金塗装 — dent-repair)
   ============================================================ */
.hubride-comparison {
	max-width: 920px;
	margin: 0 auto;
	overflow-x: auto;
}
.hubride-comparison-table {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--hb-sans);
	min-width: 520px;
}
.hubride-comparison-table,
.hubride-comparison-table th,
.hubride-comparison-table td,
.hubride-comparison-table thead,
.hubride-comparison-table tbody,
.hubride-comparison-table tr {
	background: transparent !important;
	background-color: transparent !important;
	color: var(--hb-text) !important;
}
.hubride-comparison-table th,
.hubride-comparison-table td {
	padding: 1.1rem 1rem;
	text-align: center;
	border-bottom: 1px solid var(--hb-border) !important;
	border-color: var(--hb-border) !important;
	font-family: var(--hb-sans);
	font-size: clamp(0.9rem, 1.1vw, 1.1rem);
	font-weight: 500;
	letter-spacing: 0.04em;
}
.hubride-comparison-table thead th {
	font-weight: 700;
	color: var(--hb-text) !important;
	font-size: clamp(0.85rem, 1vw, 1rem);
	text-transform: uppercase;
	letter-spacing: 0.15em;
	border-bottom: 2px solid var(--hb-border) !important;
}
.hubride-comparison-table thead th.hubride-comparison__head--hubride {
	color: var(--hb-accent) !important;
	border-bottom-color: var(--hb-accent) !important;
}
.hubride-comparison-table tbody th {
	text-align: left;
	font-weight: 700;
	color: var(--hb-text) !important;
	font-size: clamp(0.9rem, 1.1vw, 1.1rem);
	letter-spacing: 0.08em;
	width: 28%;
}
.hubride-comparison-table .hubride-comparison__win {
	color: var(--hb-accent);
	font-weight: 600;
}

/* ============================================================
   7. Gallery (Before / After 事例カード)
   ============================================================ */
/* PDR ページの施工事例セクション非表示（section ごと丸ごと隠す） */
.hubride-section:has(.hubride-gallery__grid) {
	display: none !important;
}
.hubride-gallery__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin-top: 3rem;
}
.hubride-gallery-card {
	background: #ffffff;
	border: 1px solid var(--hb-border);
	border-radius: var(--hb-radius);
	overflow: hidden;
}
.hubride-gallery-card__images {
	display: grid;
	grid-template-columns: 1fr 1fr;
	aspect-ratio: 2 / 1;
	background: #f2f2f0;
	position: relative;
}
.hubride-gallery-card__image {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	border-right: 1px solid var(--hb-border);
}
.hubride-gallery-card__image:last-child { border-right: none; }
.hubride-gallery-card__body {
	padding: 1.4rem 1.5rem;
}
.hubride-gallery-card .hubride-gallery-card__title {
	font-family: var(--hb-sans);
	font-weight: 500;
	font-size: 1.05rem;
	letter-spacing: 0.08em;
	line-height: 1.6;
	margin: 0 0 0.6rem;
}
.hubride-gallery-card__meta {
	font-size: 0.8rem;
	color: var(--hb-text-sub);
	letter-spacing: 0.08em;
}
.hubride-gallery-card__meta strong {
	color: var(--hb-accent);
	font-weight: 500;
	margin-right: 0.4rem;
}

/* ============================================================
   8. Vehicle types (取扱車種 — retail 専用)
   ============================================================ */
.hubride-vehicle-types__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	margin-top: 3rem;
}
.hubride-vehicle-type {
	padding: 1.8rem 1.2rem;
	background: #ffffff;
	border: 1px solid var(--hb-border);
	border-radius: 12px;
	text-align: center;
}
.hubride-vehicle-type__name {
	font-family: var(--hb-sans);
	font-weight: 700;
	font-size: clamp(1rem, 1.2vw, 1.3rem);
	letter-spacing: 0.1em;
	color: var(--hb-text);
	margin: 0;
}
.hubride-vehicle-type__desc {
	margin-top: 0.5rem;
	font-family: var(--hb-sans);
	font-size: clamp(0.85rem, 1vw, 1.1rem);
	font-weight: 500;
	color: var(--hb-text-sub);
	line-height: 2;
}

/* ============================================================
   9. Mini Flow (ご購入の流れ・ミニ版)
   ============================================================ */
.hubride-flow-mini__steps {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 1.25rem;
	max-width: none;
	margin: 3rem auto 0;
}
.hubride-flow-mini__step {
	background: #ffffff;
	border: 1px solid var(--hb-border);
	border-radius: var(--hb-radius);
	padding: 2.5rem 1.5rem;
	text-align: center;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}
.is-revealed .hubride-flow-mini__step:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.is-revealed .hubride-flow-mini__step:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.35s; }
.is-revealed .hubride-flow-mini__step:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }
.is-revealed .hubride-flow-mini__step:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.65s; }
.is-revealed .hubride-flow-mini__step:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.8s; }
.is-revealed .hubride-flow-mini__step:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.95s; }
.hubride-flow-mini__num {
	display: block;
	font-family: var(--hb-sans);
	font-size: clamp(0.75rem, 0.9vw, 0.95rem);
	font-weight: 600;
	letter-spacing: 0.15em;
	color: var(--hb-accent);
	margin-bottom: 1rem;
}
.hubride-flow-mini__label {
	font-family: var(--hb-sans);
	font-size: clamp(1rem, 1.2vw, 1.3rem);
	font-weight: 700;
	color: var(--hb-text);
	letter-spacing: 0.05em;
	line-height: 1.6;
}
@media (max-width: 1280px) {
	.hubride-flow-mini__steps {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (max-width: 820px) {
	.hubride-flow-mini__steps {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 480px) {
	.hubride-flow-mini__steps {
		grid-template-columns: 1fr;
	}
}
.hubride-flow-mini__more {
	margin-top: 2rem;
	text-align: center;
}

/* ============================================================
   10. Mini FAQ (details/summary ベース)
   ============================================================ */
.hubride-mini-faq {
	max-width: 820px;
	margin: 3rem auto 0;
}
.hubride-mini-faq__item {
	border-bottom: 1px solid var(--hb-border);
}
.hubride-mini-faq__item[open] {
	background: rgba(0, 0, 0, 0.01);
}
.hubride-mini-faq__question {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.5rem 0.5rem;
	cursor: pointer;
	font-family: var(--hb-sans);
	font-size: clamp(0.95rem, 1.2vw, 1.3rem);
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.6;
	color: var(--hb-text);
	list-style: none;
	user-select: none;
}
.hubride-mini-faq__question::-webkit-details-marker { display: none; }
.hubride-mini-faq__question::after {
	content: "+";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.4em;
	font-family: sans-serif;
	font-size: 1.4rem;
	color: var(--hb-accent);
	transition: transform 0.3s ease;
	flex-shrink: 0;
	margin-left: 1rem;
}
.hubride-mini-faq__item[open] .hubride-mini-faq__question::after {
	transform: rotate(45deg);
}
.hubride-mini-faq__answer {
	padding: 0 0.5rem 1.6rem;
	font-family: var(--hb-sans);
	font-size: clamp(0.95rem, 1.2vw, 1.3rem);
	font-weight: 500;
	line-height: 2;
	color: var(--hb-text-sub);
}
.hubride-mini-faq__more {
	margin-top: 2.4rem;
	text-align: center;
}

/* ============================================================
   11. Service page body — Hero直下セクションの区切り強調
   ============================================================ */
/* ---- Your Story (共感ストーリー) ---- */
.hubride-story__body {
	max-width: none;
	text-align: center;
}
.hubride-story__body p {
	font-family: var(--hb-sans);
	font-size: clamp(0.95rem, 1.2vw, 1.3rem);
	font-weight: 500;
	line-height: 2;
	color: var(--hb-text-sub);
	margin: 0 0 1rem;
}
.hubride-story__pause {
	font-size: clamp(1.4rem, 2.5vw, 2.8rem) !important;
	font-weight: 700 !important;
	color: var(--hb-text) !important;
	margin: 2rem 0 !important;
	letter-spacing: 0.04em;
}

/* ---- サービスページ エントランスエフェクト ---- */
.hubride-hero__label,
.hubride-hero__title {
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}
.hubride-hero__lead {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}
.is-revealed .hubride-hero__label { opacity: 1; transform: translateY(0); transition-delay: 0s; }
.is-revealed .hubride-hero__title { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.is-revealed .hubride-hero__lead { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }

.hubride-story__body,
.hubride-features__grid,
.hubride-vehicle-types__grid,
.hubride-flow-mini__steps,
.hubride-flow-mini__more,
.hubride-pricing,
.hubride-intro__body,
.hubride-mini-faq,
.hubride-mini-faq__more,
.hubride-targets__grid,
.hubride-gallery__grid,
.hubride-comparison {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}
.is-revealed .hubride-story__body,
.is-revealed .hubride-features__grid,
.is-revealed .hubride-vehicle-types__grid,
.is-revealed .hubride-flow-mini__steps,
.is-revealed .hubride-flow-mini__more,
.is-revealed .hubride-pricing,
.is-revealed .hubride-intro__body,
.is-revealed .hubride-mini-faq,
.is-revealed .hubride-mini-faq__more,
.is-revealed .hubride-targets__grid,
.is-revealed .hubride-gallery__grid,
.is-revealed .hubride-comparison {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.4s;
}

/* Featureカード: 1枚ずつカスケード */
.hubride-feature {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}
.is-revealed .hubride-feature:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.is-revealed .hubride-feature:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.45s; }
.is-revealed .hubride-feature:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.6s; }

/* Vehicle Typeカード: カスケード */
.hubride-vehicle-type {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}
.is-revealed .hubride-vehicle-type:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.is-revealed .hubride-vehicle-type:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
.is-revealed .hubride-vehicle-type:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }
.is-revealed .hubride-vehicle-type:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.6s; }
.is-revealed .hubride-vehicle-type:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.7s; }
.is-revealed .hubride-vehicle-type:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.8s; }

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
	.hubride-hero__label,
	.hubride-hero__title,
	.hubride-hero__lead,
	.hubride-story__body,
	.hubride-features__grid,
	.hubride-vehicle-types__grid,
	.hubride-flow-mini__steps,
	.hubride-pricing,
	.hubride-intro__body,
	.hubride-mini-faq,
	.hubride-targets__grid,
	.hubride-gallery__grid,
	.hubride-comparison,
	.hubride-feature,
	.hubride-vehicle-type {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

.hubride-service-page .hubride-section + .hubride-section {
	border-top: 1px solid var(--hb-border);
}

/* ============================================================
   Mobile adjustments (<= 820px)
   ============================================================ */
@media (max-width: 820px) {
	.hubride-hero {
		padding: 2rem 1.25rem 3rem;
	}
	/* SP: hero タイトルは和文単位で折り返し（"応え" と "る。" の分割を防ぐ） */
	.hubride-hero .hubride-hero__title {
		word-break: keep-all;
		overflow-wrap: normal;
	}
	.hubride-metrics,
	.hubride-targets__grid,
	.hubride-gallery__grid,
	.hubride-vehicle-types__grid {
		grid-template-columns: 1fr 1fr;
		gap: 1.5rem;
	}
	/* SP: Features（HUBRIDEの3つの特徴）は1カラムに */
	.hubride-features__grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
	/* SP: 車両買取ページの「こんな方におすすめ」カードを1カラムに */
	.page-slug--purchase .hubride-targets__grid {
		grid-template-columns: 1fr;
	}
	/* SP: デントリペアの「About PDR」metrics と「For You」targets を1カラムに */
	.page-slug--dent-repair .hubride-metrics,
	.page-slug--dent-repair .hubride-targets__grid {
		grid-template-columns: 1fr;
	}
	/* SP: コーティングの「About Coating」metrics と「For You」targets を1カラムに */
	.page-slug--coating .hubride-metrics,
	.page-slug--coating .hubride-targets__grid {
		grid-template-columns: 1fr;
	}
	/* SP: コーティングの Combo Plan フロー、カード上の余白を詰める */
	.page-slug--coating .hubride-flow-mini__steps {
		margin-top: 1rem;
	}
	/* SP: コーティングの「すべてのよくある質問を見る」リンクを非表示 */
	.page-slug--coating .hubride-mini-faq__more {
		display: none;
	}
	/* SP: HUBRIDE ページでパンくず直下のコンテンツがベタ付かないよう上余白を確保。
	   上部の .is-hubride-page #content { padding-top: 0 !important } を SP だけ打ち消す。
	   他の固定ページ（/column/ 等）と同等の間隔にするため 3rem 確保。 */
	.is-hubride-page #content {
		padding-top: 3rem !important;
	}
	/* SP: company ページは first-child 6rem の追加余白が効いて広すぎるため
	   他ページと揃う 3rem に統一。同ファイル末尾の non-media ルール (6rem) が
	   ソース順で後勝ちするため、ここは !important で確定させる。 */
	.page-slug--company .hubride-section:first-child {
		padding-top: 1rem !important;
	}
	/* SP: contact ページは first-child セクション側の padding-top を削って
	   #content 側の 3rem だけに揃える（他固定ページとのバランス調整） */
	.page-slug--contact .hubride-section:first-child {
		padding-top: 0;
	}
	/* SP: 料金表は横スクロールで対応（Comparison と同じパターン） */
	.hubride-pricing {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	.hubride-pricing-table {
		min-width: 520px;
	}
	/* SP: 料金表下の注釈は左寄せ */
	.hubride-pricing__note {
		text-align: left;
	}
	/* SP: 取扱車種カード内テキストを左揃え */
	.hubride-vehicle-type {
		text-align: left;
	}
	/* SP: 費用の目安など .hubride-intro__body のテキストを左揃え */
	.hubride-intro__body {
		text-align: left;
	}
	/* SP: サービスページ内セクション境界の罫線は削除
	   - .hubride-hero の下罫線
	   - 隣接する .hubride-section 間の上罫線 */
	.hubride-hero {
		border-bottom: none;
	}
	.hubride-service-page .hubride-section + .hubride-section {
		border-top: none;
	}
	.hubride-target {
		padding: 2rem 1.5rem;
	}
	.hubride-pricing-table th,
	.hubride-pricing-table td {
		padding: 1rem 0.5rem;
		font-size: 0.88rem;
	}
	.hubride-pricing-table tbody th {
		width: auto;
	}
	.hubride-comparison-table th,
	.hubride-comparison-table td {
		padding: 0.9rem 0.6rem;
		font-size: 0.85rem;
	}
}


/* ============================================================
   Contact Page — お問合せ
   ============================================================ */

/* ページタイトル非表示・コンテンツ上余白リセットは上部の .is-hubride-page で一括適用済み。
   個別ページ用の追加ルールが必要になればここに追記する。 */

/* お問合せページのラベル・タイトル・リードを統一 */
.hubride-contact .hubride-section__label {
	font-size: clamp(0.8rem, 1vw, 1.1rem);
}
.hubride-contact .hubride-section__title {
	font-size: clamp(1.4rem, 2.5vw, 2.8rem) !important;
	font-weight: 700 !important;
	letter-spacing: 0.04em !important;
	line-height: 1.6 !important;
}
.hubride-contact .hubride-section__lead {
	font-family: var(--hb-sans);
	font-size: clamp(0.95rem, 1.2vw, 1.3rem);
	font-weight: 500;
	line-height: 2;
	max-width: none;
}

/* フォームラッパー */
.hubride-contact__form {
	max-width: 800px;
	margin: 0 auto;
}

/* ---- Contact ページ リード / フォーム / インフォカード のリビールアニメーション
        .hubride-reveal の is-revealed トグルに連動して fade + translate で出現 ---- */
.hubride-contact .hubride-section__lead,
.hubride-contact .hubride-contact__form,
.hubride-contact-info .hubride-contact-info__grid {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}
.hubride-contact.is-revealed .hubride-section__lead {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.3s;
}
.hubride-contact.is-revealed .hubride-contact__form {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.5s;
}
.hubride-contact-info.is-revealed .hubride-contact-info__grid {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.3s;
}
@media (prefers-reduced-motion: reduce) {
	.hubride-contact .hubride-section__lead,
	.hubride-contact .hubride-contact__form,
	.hubride-contact-info .hubride-contact-info__grid {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* CF7 フォーム要素のスタイリング */
.hubride-contact__form .wpcf7-form label {
	display: block;
	font-family: var(--hb-sans);
	font-size: clamp(0.95rem, 1.2vw, 1.3rem);
	font-weight: 700;
	margin-bottom: 2rem;
	color: var(--hb-text);
}
.hubride-contact__form .wpcf7-form input[type="text"],
.hubride-contact__form .wpcf7-form input[type="email"],
.hubride-contact__form .wpcf7-form input[type="tel"],
.hubride-contact__form .wpcf7-form select,
.hubride-contact__form .wpcf7-form textarea {
	width: 100%;
	padding: 0.85rem 1rem;
	margin-top: 0.5rem;
	border: 1px solid var(--hb-border);
	border-radius: 8px;
	font-size: 1rem;
	font-family: inherit;
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.hubride-contact__form .wpcf7-form input:focus,
.hubride-contact__form .wpcf7-form select:focus,
.hubride-contact__form .wpcf7-form textarea:focus {
	outline: none;
	border-color: var(--hb-accent);
	box-shadow: 0 0 0 3px rgba(42, 109, 138, 0.12);
}
.hubride-contact__form .wpcf7-form textarea {
	min-height: 180px;
	resize: vertical;
}
/* select の矢印位置を制御するため、ネイティブ矢印を殺して SVG 背景で描画。
   background-position: right 1.5rem center で arrows の内側オフセットを調整可能。 */
.hubride-contact__form .wpcf7-form select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23333' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
	background-repeat: no-repeat;
	background-position: right 1.5rem center;
	background-size: 12px auto;
	padding-right: 3rem;
}
.hubride-contact__form .wpcf7-form select::-ms-expand {
	display: none;
}
.hubride-contact__form .wpcf7-form input[type="submit"] {
	display: block;
	width: 100%;
	max-width: 320px;
	margin: 2.5rem auto 0;
	padding: 1rem 2rem;
	background: rgba(26, 26, 26, 0.75);
	color: #fff;
	font-size: clamp(0.85rem, 1vw, 1rem);
	font-weight: 600;
	letter-spacing: 0.1em;
	border: 1px solid #1a1a1a;
	border-radius: 12px;
	cursor: pointer;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1), 0 2px 12px rgba(0, 0, 0, 0.06);
	transition: background 0.3s ease;
}
.hubride-contact__form .wpcf7-form input[type="submit"]:hover {
	background: rgba(26, 26, 26, 0.95);
}

/* ============================================================
   Privacy Policy
   ============================================================ */
.hubride-privacy__body p,
.hubride-privacy__body ol,
.hubride-privacy__body h2 {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}
.is-revealed .hubride-privacy__body p,
.is-revealed .hubride-privacy__body ol,
.is-revealed .hubride-privacy__body h2 {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.3s;
}

.hubride-privacy__body {
	font-family: var(--hb-sans);
	font-size: clamp(0.9rem, 1.1vw, 1.1rem);
	font-weight: 500;
	line-height: 2;
	color: var(--hb-text-sub);
}
.hubride-privacy__body h2 {
	font-family: var(--hb-sans) !important;
	font-size: clamp(1.1rem, 1.3vw, 1.4rem) !important;
	font-weight: 700 !important;
	color: var(--hb-text) !important;
	margin: 3rem 0 1rem !important;
	background: none !important;
	border: none !important;
	padding: 0 !important;
}
.hubride-privacy__body ol {
	padding-left: 1.5em;
	margin: 1rem 0;
}
.hubride-privacy__body ol li {
	margin-bottom: 0.5rem;
}

/* ---- フォームラベルバッジ ---- */
.hubride-form__required {
	display: inline-block;
	background: #c83c2d;
	color: #fff;
	font-size: 0.65em;
	font-weight: 600;
	letter-spacing: 0.08em;
	padding: 0.15em 0.5em;
	border-radius: 4px;
	margin-left: 0.5em;
	vertical-align: middle;
}
.hubride-form__optional-label {
	display: inline-block;
	background: #999;
	color: #fff;
	font-size: 0.65em;
	font-weight: 600;
	letter-spacing: 0.08em;
	padding: 0.15em 0.5em;
	border-radius: 4px;
	margin-left: 0.5em;
	vertical-align: middle;
}
.hubride-form__optional {
	display: inline-block;
	font-size: 0.7em;
	color: #999;
	font-weight: 400;
	margin-left: 0.5em;
}

/* ---- 確認ステップ ---- */
.hubride-form-step--hidden {
	display: none;
}
.hubride-form__privacy {
	margin: 2rem 0;
	font-family: var(--hb-sans);
	font-size: clamp(0.85rem, 1vw, 1rem);
	text-align: center;
}
.hubride-form__privacy label {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	cursor: pointer;
}
.hubride-form__privacy-check {
	width: 20px;
	height: 20px;
	accent-color: var(--hb-text);
	cursor: pointer;
	flex-shrink: 0;
	margin: 0;
	vertical-align: middle;
}
.hubride-form__privacy a {
	color: var(--hb-text);
	text-decoration: underline;
}
.hubride-form__actions {
	text-align: center;
	margin-top: 2rem;
}
/* 確認ステップの CTA ボタン (修正する + 送信する)
   実 DOM: <div .hubride-form__actions--confirm>
             <p>
               <button .hubride-form__btn--back>修正する</button>
               <br>  ← これが改行させてる犯人
               <input type="submit" value="送信する">
             </p>
           </div>
   対応: <br> を消して、p 内で中央 inline 配置。
         送信ボタンは上で block + width:100% に固定されてるため inline-block に戻す。 */
.hubride-form__actions--confirm {
	text-align: center;
}
.hubride-form__actions--confirm > p {
	margin: 0;
}
.hubride-form__actions--confirm br {
	display: none;
}
.hubride-form__actions--confirm .hubride-form__btn--back,
.hubride-form__actions--confirm input[type="submit"] {
	display: inline-block !important;
	width: auto !important;
	min-width: 200px !important;
	max-width: none !important;
	margin: 0.5rem !important;
	vertical-align: middle !important;
}
.hubride-form__btn {
	display: inline-block;
	padding: 1rem 3rem;
	font-family: var(--hb-sans);
	font-size: clamp(0.85rem, 1vw, 1rem);
	font-weight: 600;
	letter-spacing: 0.1em;
	border-radius: 12px;
	cursor: pointer;
	transition: background 0.3s ease;
}
.hubride-form__btn--confirm {
	background: rgba(26, 26, 26, 0.75);
	color: #fff;
	border: 1px solid #1a1a1a;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
.hubride-form__btn--confirm:hover {
	background: rgba(26, 26, 26, 0.95);
}
.hubride-form__btn--back {
	background: #fff;
	color: var(--hb-text);
	border: 1px solid var(--hb-border);
}
.hubride-form__btn--back:hover {
	background: var(--hb-bg-alt);
}
.hubride-form__confirm-box {
	background: var(--hb-bg-alt);
	border-radius: var(--hb-radius);
	padding: 2.5rem;
	margin-bottom: 2rem;
}
.hubride-form__confirm-title {
	font-family: var(--hb-sans) !important;
	font-weight: 700 !important;
	font-size: clamp(1.1rem, 1.3vw, 1.4rem) !important;
	margin: 0 0 1.5rem !important;
	background: none !important;
	border: none !important;
	padding: 0 !important;
}
.hubride-form__confirm-list {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1rem 2rem;
}
.hubride-form__confirm-list dt {
	font-family: var(--hb-sans);
	font-weight: 700;
	font-size: clamp(0.9rem, 1vw, 1rem);
	color: var(--hb-text);
}
.hubride-form__confirm-list dd {
	font-family: var(--hb-sans);
	font-size: clamp(0.9rem, 1vw, 1rem);
	font-weight: 500;
	color: var(--hb-text-sub);
	margin: 0;
	white-space: pre-wrap;
}

/* お電話 / LINE カード */
.hubride-contact-info {
	background: var(--hb-bg-alt);
}
.hubride-contact-info__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	max-width: 800px;
	margin: 0 auto;
}
.hubride-contact-info__card {
	text-align: center;
	padding: 2.5rem 2rem;
	background: #fff;
	border: 1px solid var(--hb-border);
	border-radius: var(--hb-radius);
}
.hubride-contact-info__title {
	font-family: var(--hb-sans);
	font-size: clamp(0.9rem, 1.1vw, 1.2rem);
	font-weight: 700;
	margin: 0 0 1rem;
}
.hubride-contact-info__tel {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--hb-text);
	text-decoration: none;
	letter-spacing: 0.05em;
}
.hubride-contact-info__line-btn {
	display: inline-block;
	padding: 0.7rem 2rem;
	background: rgba(6, 199, 85, 0.75);
	color: #fff;
	font-weight: 600;
	border: 1px solid #06c755;
	border-radius: 12px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1), 0 2px 12px rgba(0, 0, 0, 0.06);
	text-decoration: none;
	transition: opacity 0.2s;
}
.hubride-contact-info__line-btn:hover {
	opacity: 0.85;
}

@media (max-width: 599px) {
	.hubride-contact-info__grid {
		grid-template-columns: 1fr;
	}
}


/* ============================================================
   Company Page — 企業情報
   ============================================================ */

/* 会社情報ページ（/company/） slug ベースで指定。page-id 依存を排除。 */
.page-slug--company .hubride-section {
	border-top: none !important;
}
.page-slug--company .hubride-section__label,
.page-slug--company .hubride-section__title {
	text-align: left;
}
.page-slug--company .hubride-cta-block .hubride-section__label,
.page-slug--company .hubride-cta-block .hubride-cta-block__title {
	text-align: center;
}
.page-slug--company .hubride-section { padding-top: 3rem; padding-bottom: 3rem; }
.page-slug--company .hubride-section:first-child { padding-top: 6rem; }

/* Vision / Mission */
.hubride-company-vm__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
}
.hubride-company-vm__card {
	text-align: center;
	padding: 4rem 2rem;
	background: var(--hb-bg-alt);
	border-radius: var(--hb-radius);
}
.hubride-company-vm__kicker {
	display: block;
	font-family: var(--hb-sans);
	font-size: 0.8rem;
	letter-spacing: 0.2em;
	color: #999;
	margin-bottom: 1.2rem;
	text-transform: uppercase;
}
.hubride-company-vm__title {
	font-family: var(--hb-sans);
	font-weight: 700;
	font-size: clamp(1.2rem, 2.4vw, 1.7rem);
	line-height: 1.8;
	letter-spacing: 0.08em;
	margin: 0;
}

/* 会社概要 + アクセス 2カラムレイアウト */
.hubride-company-layout {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 3rem;
	align-items: start;
	text-align: left;
}
@media (max-width: 1280px) {
	.hubride-company-layout {
		grid-template-columns: 1fr;
	}
}

/* 会社概要テーブル */
.hubride-company-table {
	width: 100%;
	max-width: none;
	margin: 0 auto;
	border-collapse: collapse;
}
.hubride-company-table th,
.hubride-company-table td {
	padding: 1.2rem 1.5rem;
	border: none;
	font-family: var(--hb-sans);
	font-size: clamp(0.95rem, 1.2vw, 1.3rem);
	font-weight: 500;
	line-height: 2;
	text-align: left;
	vertical-align: top;
}
.hubride-company-table th {
	width: 140px;
	font-weight: 700;
	white-space: nowrap;
	color: var(--hb-text);
	background: transparent;
}
.hubride-company-table td {
	color: var(--hb-text-sub);
}

/* アクセス見出し */
.hubride-company-access__label {
	font-family: var(--hb-sans);
	font-size: clamp(0.8rem, 1vw, 1.1rem);
	letter-spacing: 0.2em;
	color: #999;
	text-transform: uppercase;
	margin: 0 0 0.6rem;
}
.hubride-company-access__heading {
	font-family: var(--hb-sans) !important;
	font-weight: 700 !important;
	font-size: clamp(1.2rem, 1.6vw, 1.8rem) !important;
	letter-spacing: 0.04em !important;
	line-height: 1.5 !important;
	margin: 0 0 1.5rem !important;
	background: none !important;
	border: none !important;
	padding: 0 !important;
}

/* アクセス */
.hubride-company-access__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
}
.hubride-company-access__card {
	padding: 2.5rem 2rem;
	background: #fff;
	border: 1px solid var(--hb-border);
	border-radius: var(--hb-radius);
}
.hubride-company-access__name {
	font-size: clamp(1.1rem, 1.4vw, 1.5rem);
	font-weight: 700;
	margin: 0 0 0.8rem;
}
.hubride-company-access__address {
	font-family: var(--hb-sans);
	font-size: clamp(0.9rem, 1.1vw, 1.2rem);
	font-weight: 500;
	color: var(--hb-text-sub);
	line-height: 2;
	margin: 0 0 1rem;
}
.hubride-company-access__routes {
	list-style: none;
	padding: 0;
	margin: 0 0 1.5rem;
}
.hubride-company-access__routes li {
	font-family: var(--hb-sans);
	font-size: clamp(0.85rem, 1vw, 1.1rem);
	font-weight: 500;
	color: var(--hb-text-sub);
	padding: 0.3rem 0;
	padding-left: 1.2em;
	position: relative;
}
.hubride-company-access__routes li::before {
	content: "●";
	font-size: 0.5em;
	position: absolute;
	left: 0;
	top: 0.7em;
	color: #bbb;
}
.hubride-company-access__map {
	margin-top: 0.5rem;
}

@media (max-width: 599px) {
	.hubride-company-vm__grid,
	.hubride-company-access__grid {
		grid-template-columns: 1fr;
	}
	.hubride-company-table th {
		display: block;
		width: 100%;
		padding-bottom: 0.3rem;
		border-bottom: none;
	}
	.hubride-company-table td {
		display: block;
		padding-top: 0;
		padding-left: 1.5rem;
	}
}

/* ============================================================
   Reveal animations — Company & Policy pages
   既存の .hubride-reveal IO (top.js) に乗せて、内側コンテンツが
   セクション進入時に fade + translate で出現。
   ============================================================ */
/* 会社情報ページ：テーブル + アクセスカード */
.hubride-company-info .hubride-company-layout__table,
.hubride-company-info .hubride-company-layout__access {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}
.hubride-company-info.is-revealed .hubride-company-layout__table {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.3s;
}
.hubride-company-info.is-revealed .hubride-company-layout__access {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.45s;
}

/* ポリシー系ページ（privacy-policy / security / anti-social / disclaimer）：本文 */
.hubride-privacy .hubride-privacy__body {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}
.hubride-privacy.is-revealed .hubride-privacy__body {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
	.hubride-company-info .hubride-company-layout__table,
	.hubride-company-info .hubride-company-layout__access,
	.hubride-privacy .hubride-privacy__body {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* ============================================================
   /contact/thanks/ サンクスページ
   /contact/ と同じ hero (label/title/lead) を中央配置で流用。
   ============================================================ */
.hubride-thanks {
	padding: 5rem 0 7rem;
	text-align: center;
}
.hubride-thanks .hubride-section__label {
	font-family: var(--hb-sans);
	font-size: clamp(0.8rem, 1vw, 1.1rem);
	letter-spacing: 0.28em;
	color: var(--hb-text-sub);
	text-transform: uppercase;
	margin: 0 0 1.2rem;
}
.hubride-thanks .hubride-section__title {
	font-family: var(--hb-sans);
	font-size: clamp(1.4rem, 2.5vw, 2.8rem) !important;
	font-weight: 700 !important;
	letter-spacing: 0.04em !important;
	line-height: 1.6 !important;
	color: var(--hb-text);
	margin: 0 0 1.6rem;
}
.hubride-thanks .hubride-section__lead {
	font-family: var(--hb-sans);
	font-size: clamp(0.95rem, 1.2vw, 1.3rem);
	font-weight: 500;
	line-height: 2;
	color: var(--hb-text-sub);
	max-width: none;
	margin: 0 0 3rem;
}
.hubride-thanks__cta {
	margin: 0;
	display: flex;
	justify-content: center;
}

/* ---- リビール（lead→CTA の順に遅延表示） ---- */
.hubride-thanks .hubride-section__lead,
.hubride-thanks .hubride-thanks__cta {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}
.hubride-thanks.is-revealed .hubride-section__lead {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.3s;
}
.hubride-thanks.is-revealed .hubride-thanks__cta {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.5s;
}
@media (prefers-reduced-motion: reduce) {
	.hubride-thanks .hubride-section__lead,
	.hubride-thanks .hubride-thanks__cta {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

@media (max-width: 600px) {
	.hubride-thanks {
		padding: 3rem 0 5rem;
	}
	.hubride-thanks .hubride-section__lead {
		margin-bottom: 2.2rem;
	}
}
