/**
 * ABCom LP 改修用スタイル
 *
 * LP（page-abcom.php / Template Name: ABCom LP）専用に読み込む追加CSS。
 * 既存の tailwind (dist/output.css) / custom.css / style.css の後に読み込まれ、
 * 必要な箇所だけを上書きする用途で使う。
 *
 * 命名規約:
 *   このファイルで新規に定義するクラスには `ablp-` プレフィックスを付ける
 *   （例: .ablp-hero, .ablp-feature-slide）。既存クラス・Tailwind ユーティリティと
 *   衝突させないための規約。
 *
 * ※PR-1 では土台のみ。スタイル定義は後続 PR（見た目・モーション）で追加する。
 *   スタイルは各セクションごとに以下へ追記していく。
 */

/* ===================================================================
 * 問題提起（お悩み）セクション  #problem
 * 黒背景・大見出し＋サブ＋赤チェックのリスト。
 * チェックが左から描かれるモーション(#2)は PR-4 で付与する。
 * =================================================================== */
.ablp-problem {
	background-color: #000;
	color: #fff;
	padding-top: 6rem;
	padding-bottom: 6rem;
	overflow: hidden;
}

@media (min-width: 768px) {
	.ablp-problem {
		/* #25：デザイン要件「すべて黒」＝黒帯を画面全体(100vh)へ拡張し、下の「特徴」チラ見えを無くす（Heroと同じ全画面高さ）。
		   チェック項目が増減してもこの高さ以上を保ち、増えれば自然に伸びる。内容は縦中央寄せで印象を強調。 */
		min-height: 100vh;
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding-top: 6rem;
		padding-bottom: 6rem;
	}
}

.ablp-problem-inner {
	/* #25：横幅をヘッダー(.container)幅まで拡張（56rem制限を解除）＝特長❶と左右を揃え、拡大した文字で黒面を埋めて印象を強める */
	max-width: none;
	margin-left: auto;
	margin-right: auto;
	text-align: center; /* タイトル・サブタイトルを中央寄せ */
}

/* SP のみタイトルを「ひとつでも」で改行する */
.ablp-br-sp {
	display: none;
}

@media (max-width: 767px) {
	.ablp-br-sp {
		display: inline;
	}
}

.ablp-problem-title {
	font-size: 2.25rem; /* #25：全体拡大（タイトル＞サブ＞項目の大小関係は維持） */
	font-weight: 900;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

@media (min-width: 768px) {
	.ablp-problem-title {
		font-size: 3.75rem; /* #25 */
	}
}

.ablp-problem-lead {
	margin-top: 1rem;
	font-size: 1.375rem; /* #25 */
	font-weight: 700;
	color: #e2e8f0;
}

@media (min-width: 768px) {
	.ablp-problem-lead {
		font-size: 1.75rem; /* #25 */
	}
}

.ablp-problem-list {
	margin-top: 3rem;
	list-style: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	width: fit-content;   /* リスト幅を内容に合わせ、ブロックごと中央へ */
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	text-align: left;     /* 項目テキスト自体は左揃えのまま */
}

@media (min-width: 768px) {
	.ablp-problem-list {
		margin-top: 4rem;
	}
}

.ablp-problem-item {
	display: flex;
	align-items: center;
	gap: 1rem;
}

/* 赤チェックの枠（PR-4 でチェックの描画アニメを載せる土台） */
.ablp-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem; /* #25：項目テキスト拡大に合わせチェック枠も比例UP */
	height: 2.5rem;
	flex-shrink: 0;
	border: 2px solid #fff;
	border-radius: 2px;
	color: #e60028; /* brand red */
}

.ablp-check svg {
	width: 1.875rem; /* #25 */
	height: 1.875rem;
	stroke-width: 3;
}

.ablp-problem-item-text {
	font-size: 1.25rem; /* #25 */
	font-weight: 700;
	line-height: 1.6;
}

@media (min-width: 768px) {
	.ablp-problem-item-text {
		font-size: 1.5rem; /* #25 */
	}
}

/* ===================================================================
 * 解決・特徴セクション  #features
 * 見出し（旧「キャッチ」）＋3特長パネル（左テキスト／右 正方動画430）。
 * PC のスクロール切替(#16)・ページ数連動(#8) は PR-4。ここは静的（SP は縦積み）。
 * =================================================================== */
.ablp-features {
	background-color: #fff; /* セクション本体は白（#PR-4e：#3拡大演出と裏のグレー背景 .ablp-features-bg は撤去） */
	color: #111827;
	padding-top: 6rem;
	padding-bottom: 6rem;
}

@media (min-width: 768px) {
	.ablp-features {
		padding-top: 8rem;
		padding-bottom: 8rem;
	}
}

/* 見出しブロック */
.ablp-features-head {
	text-align: center;
	max-width: 60rem;
	margin: 0 auto 4rem;
}

.ablp-features-badge {
	display: inline-block;
	background: #000;
	color: #fff;
	font-weight: 700;
	font-size: 0.75rem;
	letter-spacing: 0.15em;
	padding: 0.35rem 1.25rem;
	border-radius: 999px;
	border: 2px solid #e60028;
}

.ablp-features-badge::first-letter {
	color: #e60028;
}

.ablp-features-title {
	margin-top: 1.5rem;
	font-weight: 900;
	line-height: 1.35;
	letter-spacing: -0.01em;
	font-size: 1.5rem;
}

@media (min-width: 768px) {
	.ablp-features-title {
		font-size: 2.5rem;
	}
}

.ablp-features-rule {
	width: min(100%, 52rem);
	height: 4px;
	background: #000;
	margin: 1.5rem auto 0;
}

/* 各特長パネル */
.ablp-feature {
	max-width: 72rem;
	margin: 0 auto;
	padding: 2.5rem 0;
}

/* 「特長」＋丸数字バッジ（比較A＝moe 承認版）。
 * 下線は「特長」に付けて右へ少し延長し、丸を左へ重ねることで
 * 下線の終端が丸に入り込んで“繋がって”見えるようにする。 */
.ablp-feature-no {
	display: inline-flex;
	align-items: flex-end;
	gap: 0.25rem;
	margin-bottom: 2rem;
	font-weight: 900;
	line-height: 1;
}

.ablp-feature-no-label {
	font-size: 1.5rem;
	line-height: 1;
	border-bottom: 2px solid #111827;
	padding-bottom: 2px;
	padding-right: 0.85rem; /* 下線を右へ延長 */
}

.ablp-feature-no-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.7rem;
	height: 1.7rem;
	border-radius: 50%;
	background: #111827;
	color: #fff;
	font-size: 1rem;
	line-height: 1;
	margin-left: -0.85rem; /* 丸を左へ重ね、下線の終端が丸に入り込む */
}

.ablp-feature-body {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: start; /* #PR-4e④：タイトル上部と右の動画上部を揃える（中央→上揃え）。サブ/説明は上から行数なりに流れる。MBは単列で影響なし */
}

@media (min-width: 1024px) {
	.ablp-feature-body {
		grid-template-columns: 1fr 1fr;
		gap: 3rem;
	}
	/* #PR-4e：タイトルの赤バー間の幅を最大(24rem)に固定＝文字数でバーが伸縮せず、スロット間で位置が揃う（ちらつき対策）。space-between でバーを両端へ。
	   ※ base の .ablp-feature-title{justify-content:center} が後方にあり同特異度だと後勝ちするため、
	     `.ablp-feature-body` を前置して特異度を上げ、確実に space-between を効かせる。 */
	.ablp-feature-body .ablp-feature-title {
		width: 24rem;
		max-width: 100%;
		margin-left: auto;
		margin-right: auto;
		justify-content: space-between;
	}
}

/* テキスト側：タイトルは赤バーで挟んで中央、サブ／説明は左揃え */
.ablp-feature-title {
	display: flex;
	justify-content: center;
	align-items: stretch;
	gap: 1.25rem;
	text-align: center;
	font-weight: 900;
	line-height: 1.4;
	font-size: 1.5rem;
}

@media (min-width: 768px) {
	.ablp-feature-title {
		font-size: 1.875rem;
	}
}

.ablp-feature-title::before,
.ablp-feature-title::after {
	content: "";
	flex: 0 0 4px;
	background: #e60028;
}

.ablp-feature-sub {
	margin-top: 1.5rem;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.6;
}

.ablp-feature-desc {
	margin-top: 1rem;
	font-size: 0.95rem;
	line-height: 1.9;
	color: #475569;
}

/* メディア（正方動画 430角） */
.ablp-feature-media {
	display: flex;
	justify-content: center;
}

.ablp-feature-video {
	width: 100%;
	max-width: 430px;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 1.25rem;
	background: #f1f5f9;
	/* Figma準拠：右〜右下方向のグレーの細いドロップシャドウ（PC/MB共通） */
	box-shadow: 3px 5px 2px rgba(110, 110, 110, 0.45);
}

/* Scroll インジケーター（PR-4 で #16 切替に連動させる） */
.ablp-feature-scroll {
	margin-top: 2rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: #111827;
}

/* ===================================================================
 * Hero（トップ）：ヘッダー＋アナウンスバーの下に動画を配置。
 * PC は残り画面いっぱい、SP は動画の自然比率（16:9・横切れ無し）。
 * PC/SP 動画の出し分けは abcom-lp.js。色反転/モーダル等は PR-4/6。
 * =================================================================== */

/* 固定ヘッダーを常に最上部へ密着（SPで上に隙間が出ないように） */
#navbar {
	top: 0;
	left: 0;
}

.ablp-hero {
	position: relative;
	background: #000;
	padding-top: 84px; /* 固定ヘッダー分（PC） */
}

@media (max-width: 767px) {
	.ablp-hero {
		padding-top: 0; /* #6/#21：MBは上部ヘッダー非表示のため余白なし（アナウンスバーが最上部） */
	}
}

/* アナウンスバー（ヘッダー直下・在フロー。クリック挙動は PR-6） */
.ablp-announce {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.7rem 1rem;
	background: rgba(255, 255, 255, 0.95);
	color: #111827;
	font-weight: 700;
	font-size: 0.95rem;
}

.ablp-announce-icon {
	width: 1.1rem;
	height: 1.1rem;
}

/* 動画エリア */
.ablp-hero-media {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #000;
}

@media (min-width: 768px) {
	/* PC: ヘッダー(84)を除いた残りを埋める（#PR-4e：アナウンスバー非表示のため -46px を撤去） */
	.ablp-hero-media {
		height: calc(100vh - 84px);
		min-height: 420px;
	}
}

@media (max-width: 767px) {
	/* SP: 動画は Figma 表示サイズの比率（390×427 = aspect-ratio 116/127）。cover で中央トリミング */
	.ablp-hero-video {
		height: auto;
		aspect-ratio: 116 / 127;
	}
}

.ablp-hero-video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* #24：PCは画面幅で動画内の文字が見切れないよう contain（全体表示）。比率維持で出る左右余白の背景は #0A0F3E（Figma指定）。MBは cover 維持。 */
@media (min-width: 768px) {
	.ablp-hero-media {
		background: #0A0F3E;
	}
	.ablp-hero-video {
		object-fit: contain;
	}
}

/* 動画リンクボタン（右下） */
.ablp-hero-cta-wrap {
	position: absolute;
	right: clamp(1rem, 4vw, 3rem);
	bottom: clamp(1.5rem, 5vw, 3rem);
	z-index: 20;
}

.ablp-hero-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.9rem;
	padding: 0.7rem 1.75rem 0.7rem 0.7rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	color: #fff; /* 白文字（Figma準拠） */
	font-weight: 700;
	font-size: 1rem;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
	transition: transform 0.2s ease, background 0.2s ease;
}

.ablp-hero-cta:hover {
	transform: translateY(-2px);
	background: rgba(255, 255, 255, 0.2);
}

/* 再生アイコン：白アウトライン円＋白の三角（赤やめ） */
.ablp-hero-cta-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 50%;
	border: 2px solid #fff;
	background: transparent;
	color: #fff;
}

.ablp-hero-cta-icon svg {
	width: 1.1rem;
	height: 1.1rem;
	fill: #fff;
}

/* ===================================================================
 * PR-3: 見た目・後半
 * 仕様・比較 / 活用シーン / 購入者様の声 / レビュー動画 / FAQ / CTA
 * 動画遷移・CPT連携は PR-5、モーションは PR-4 で扱う。
 * =================================================================== */
.ablp-data-section,
.ablp-voices-section {
	background: #ededed;
	padding: 6rem 0;
}

.ablp-scenes-section,
.ablp-reviews-section {
	background: #fff;
	padding: 6rem 0;
}

.ablp-section-heading h2,
.ablp-scenes-copy h2,
.ablp-voices-heading h2 {
	margin-top: 1rem;
	color: #111;
	font-size: clamp(1.8rem, 3vw, 3rem);
	font-weight: 900;
	line-height: 1.35;
}

.ablp-section-label {
	display: inline-block;
	border-radius: 999px;
	background: #111;
	color: #fff;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.13em;
	line-height: 1;
	padding: 0.45rem 1rem;
}

.ablp-spec-list > div {
	display: grid;
	grid-template-columns: minmax(7rem, 0.8fr) minmax(0, 1.4fr);
	gap: 1rem;
	border-bottom: 1px solid #fff;
	font-size: 0.875rem;
}

.ablp-spec-list dt,
.ablp-spec-list dd {
	margin: 0;
	padding: 0.75rem 1rem;
}

.ablp-spec-list dt {
	background: #f4f4f4;
	font-weight: 700;
}

.ablp-spec-list dd {
	background: #ededed;
	font-weight: 600;
}

.ablp-table-scroll {
	overflow-x: auto;
}

.ablp-comparison-table {
	border-collapse: separate;
	border-spacing: 2px;
	min-width: 34rem;
	width: 100%;
	font-size: 0.8rem;
	text-align: center;
}

.ablp-comparison-table th,
.ablp-comparison-table td {
	padding: 0.75rem 0.5rem;
}

.ablp-comparison-table thead th {
	background: #9c9c9c;
	color: #fff;
	font-weight: 700;
}

.ablp-comparison-table thead th:nth-child(2) {
	background: #111;
	color: #e60028;
}

.ablp-comparison-table tbody th {
	background: #f0f0f0;
	color: #333;
	font-weight: 700;
	text-align: left;
}

.ablp-comparison-table tbody td {
	background: #f7f7f7;
	color: #555;
}

.ablp-comparison-table tbody td:nth-child(2) {
	background: #fff0f2;
	color: #e60028;
	font-size: 1rem;
	font-weight: 900;
}

.ablp-scenes-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
	max-width: 72rem;
}

.ablp-scenes-copy p {
	margin-top: 1.5rem;
	color: #555;
	font-size: 1rem;
	line-height: 1.9;
}

.ablp-scene-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

.ablp-scene-grid img {
	aspect-ratio: 1;
	object-fit: cover;
	width: 100%;
}

.ablp-voices-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	max-width: 72rem;
	margin: 0 auto 2rem;
}

.ablp-voices-heading h2 {
	margin-top: 0;
}

.ablp-voices-heading span {
	color: #555;
	font-size: 0.9rem;
	font-weight: 700;
	white-space: nowrap;
}

.ablp-voices-heading span::before {
	color: #e60028;
	content: "▼";
	margin-right: 0.75rem;
}

.ablp-voice-list {
	max-width: 72rem;
	margin: 0 auto;
	background: #fff;
	padding: clamp(1.5rem, 4vw, 3rem);
}

.ablp-voice-card + .ablp-voice-card {
	border-top: 1px solid #777;
	margin-top: 2rem;
	padding-top: 2rem;
}

.ablp-voice-meta {
	border-left: 3px solid #e60028;
	color: #222;
	font-size: 0.95rem;
	font-weight: 700;
	padding-left: 1rem;
}

.ablp-voice-card h3 {
	color: #111;
	font-size: clamp(1.25rem, 2.3vw, 2rem);
	font-weight: 900;
	line-height: 1.35;
	margin-top: 1.25rem;
}

.ablp-voice-card > p:last-child {
	color: #666;
	font-size: 0.95rem;
	line-height: 1.9;
	margin-top: 1.5rem;
}

/* #PR-4e：ユーザーの声「すべての声を見る」でFAQ式に下へ全件展開（Figma 1176-511・動作はFAQ同様）。既定は先頭3件、4件目以降(.ablp-voice-extra)は展開時のみ表示。データはPR-5 CPTで差替予定 */
.ablp-voices-more { cursor: pointer; }
.ablp-voices-more::before { display: inline-block; transition: transform 0.2s ease; }
.ablp-voices-more[aria-expanded="true"]::before { transform: rotate(180deg); }
.ablp-voice-extra { display: none; }
.ablp-voice-list.is-expanded .ablp-voice-extra { display: block; }

.ablp-reviews-section .ablp-section-heading {
	text-align: center;
}

.ablp-review-track {
	display: flex;
	gap: clamp(1rem, 4vw, 3rem);
	/* #PR-4e⑥：横スクロール(swipe)対応。収まる時は中央、溢れる時だけ先頭寄せ(safe)＝左端が届かなくなる問題を回避。溢れ時の初期位置はJSでメインを中央寄せ */
	justify-content: safe center;
	margin: 0 auto;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
	max-width: 54rem;
}

.ablp-review-track::-webkit-scrollbar { display: none; } /* #PR-4e⑥：スクロールバー非表示 */

.ablp-review-card {
	position: relative;
	flex: 0 0 min(42vw, 20rem);
	scroll-snap-align: center; /* #PR-4e⑥ */
	/* #PR-4f：カードは <button>（クリックで再生モーダル）。ボタン既定スタイルをリセット */
	appearance: none;
	-webkit-appearance: none;
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	font: inherit;
	color: inherit;
	text-align: inherit;
	cursor: pointer;
}

.ablp-review-card img {
	display: block;
	aspect-ratio: 9 / 16;
	object-fit: cover;
	width: 100%;
}

.ablp-review-play {
	align-items: center;
	background: rgba(255, 255, 255, 0.25);
	border: 2px solid #fff;
	border-radius: 999px;
	bottom: 1.25rem;
	color: #fff;
	display: inline-flex;
	height: 3.5rem;
	justify-content: center;
	left: 1.25rem;
	position: absolute;
	width: 3.5rem;
}

.ablp-review-play svg {
	fill: currentColor;
	height: 1.5rem;
	width: 1.5rem;
}

.ablp-review-dots {
	display: flex;
	gap: 1rem;
	justify-content: center;
	margin-top: 2rem;
}

.ablp-review-dots span {
	background: #bbb;
	border-radius: 999px;
	display: block;
	height: 0.35rem;
	width: 0.35rem;
}

.ablp-review-dots .is-active {
	background: #444;
	box-shadow: 0 0 0 2px #fff, 0 0 0 3px #444;
}

#faq {
	background: #ededed;
}

#faq .faq-category {
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

#faq .faq-category-btn {
	padding: 1.25rem 1.5rem;
}

.ablp-cta {
	background: #5c5c5c;
}

@media (max-width: 767px) {
	.ablp-data-section,
	.ablp-voices-section,
	.ablp-scenes-section,
	.ablp-reviews-section {
		padding: 4rem 0;
	}

	.ablp-data-grid,
	.ablp-scenes-layout {
		grid-template-columns: 1fr;
	}

	.ablp-data-card {
		padding: 1.25rem;
	}

	.ablp-spec-list > div {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.ablp-spec-list dt,
	.ablp-spec-list dd {
		padding: 0.65rem 0.75rem;
	}

	.ablp-voices-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.ablp-review-track {
		justify-content: flex-start;
		margin-left: 0.5rem;
		overflow-x: auto; /* #PR-4e⑥：MBは横スワイプ */
		overflow-y: hidden;
	}

	.ablp-review-card {
		flex-basis: min(70vw, 19rem);
	}
}
/* ===================================================================
 * PR-3 Figma再調整（PC PNG 2026-07-16）
 * =================================================================== */
.ablp-data-section {
	background: #efefef;
	padding: 7.5rem 0;
}

.ablp-spec-wrap {
	max-width: 78rem;
}

.ablp-spec-block {
	display: grid;
	grid-template-columns: 13rem minmax(0, 1fr);
	gap: 3rem;
	align-items: start;
}

.ablp-spec-block + .ablp-spec-block {
	margin-top: 4rem;
}

.ablp-spec-heading .ablp-section-label {
	margin-bottom: 2.25rem;
}

.ablp-spec-heading h2 {
	border-bottom: 3px solid #e60028;
	color: #000;
	display: inline-block;
	font-size: 2.25rem;
	font-weight: 900;
	line-height: 1.25;
	padding-bottom: 0.55rem;
}

.ablp-spec-panel,
.ablp-comparison-panel {
	background: #fff;
	padding: 3.5rem 3rem;
}

.ablp-spec-list > div {
	align-items: center;
	background: transparent;
	border: 0;
	grid-template-columns: 14rem minmax(0, 1fr);
	margin: 0 0 1.25rem;
}

.ablp-spec-list dt,
.ablp-spec-list dd {
	background: transparent;
	padding: 0;
}

.ablp-spec-list dt {
	color: #333;
	font-size: 1rem;
	font-weight: 600;
}

.ablp-spec-list dd {
	background: #eee;
	color: #111;
	font-size: 1.125rem;
	font-weight: 600;
	padding: 0.95rem 1.5rem;
}

.ablp-spec-note {
	color: #222;
	font-size: 0.75rem;
	font-weight: 600;
	margin-top: 2.5rem;
}

.ablp-comparison-panel {
	align-items: center;
	display: flex;
	justify-content: center;
	min-height: 25rem;
}

.ablp-table-scroll {
	overflow: visible;
	width: 100%;
}

.ablp-comparison-table {
	border-collapse: collapse;
	border-spacing: 0;
	margin: 0 auto;
	max-width: 36rem;
	min-width: 0;
	width: 100%;
}

.ablp-comparison-table th,
.ablp-comparison-table td {
	border: 1px solid #ccc;
	padding: 0.6rem;
	vertical-align: middle;
}

.ablp-comparison-table thead th,
.ablp-comparison-table thead th:nth-child(2) {
	background: #aaa;
	color: #111;
	font-size: 1rem;
	font-weight: 700;
	height: 3.8rem;
}

.ablp-comparison-table thead th:first-child {
	background: #000;
}

.ablp-comparison-table thead img {
	max-width: 5.5rem;
	width: 100%;
}

.ablp-comparison-table tbody th,
.ablp-comparison-table tbody td,
.ablp-comparison-table tbody td:nth-child(2) {
	background: #fff;
	color: #333;
	font-size: 0.8rem;
	font-weight: 700;
	text-align: center;
}

.ablp-comparison-table tbody th {
	border: 3px solid #111;
	color: #e60028;
}

.ablp-comparison-table tbody span {
	display: block;
	font-size: 0.65rem;
	font-weight: 500;
	margin-bottom: 0.35rem;
}

.ablp-scenes-section {
	background: #000;
	padding: 0;
}

.ablp-scenes-layout {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 0;
	max-width: none;
	min-height: 47rem;
	padding-left: max(1.5rem, calc((100% - 78rem) / 2));
	padding-right: max(1.5rem, calc((100% - 78rem) / 2));
}

.ablp-scenes-copy {
	align-self: start;
	padding-top: 4rem;
}

.ablp-scenes-copy .ablp-section-label {
	background: #000;
	border: 2px solid #e60028;
	color: #fff;
	font-size: 0.85rem;
	padding: 0.35rem 1.5rem;
}

.ablp-scene-grid {
	align-self: center;
	gap: 1rem;
	padding: 5rem 0;
}

.ablp-scene-grid img {
	aspect-ratio: 1 / 0.9;
}

.ablp-reviews-section {
	background: #000;
	color: #fff;
	padding: 7.5rem 0 5rem;
}

.ablp-review-heading {
	max-width: 78rem;
	margin: 0 auto 3.5rem;
}

.ablp-review-heading .ablp-section-label {
	background: #000;
	border: 2px solid #e60028;
	font-size: 0.85rem;
	padding: 0.35rem 1.5rem;
}

.ablp-review-track {
	align-items: center;
	gap: 2rem;
	max-width: none;
	overflow: hidden;
	width: 100vw;
	margin-left: calc(50% - 50vw);
}

.ablp-review-card {
	flex: 0 0 27rem;
}

.ablp-review-card.is-main {
	flex-basis: 29rem;
}

.ablp-review-card.is-side {
	opacity: 0.95;
}

.ablp-review-card img {
	aspect-ratio: 9 / 16;
}

.ablp-review-dots {
	margin-top: 2.5rem;
}

.ablp-review-dots span {
	background: #ddd;
}

.ablp-review-dots .is-active {
	background: transparent;
	box-shadow: 0 0 0 2px #000, 0 0 0 3px #ddd;
}

.ablp-review-more {
	align-items: center;
	background: #e60028;
	border-radius: 999px;
	color: #fff;
	display: flex;
	font-size: clamp(1.1rem, 2.3vw, 1.8rem);
	font-weight: 800;
	gap: 1rem;
	justify-content: center;
	margin: 4rem auto 0;
	max-width: 58rem;
	padding: 1.25rem 2rem;
	text-decoration: none;
}

.ablp-review-more svg {
	border: 2px solid currentColor;
	border-radius: 50%;
	fill: currentColor;
	height: 2rem;
	padding: 0.25rem;
	width: 2rem;
}

#faq {
	background: #efefef;
	padding: 7.5rem 0;
}

#faq .text-center {
	margin: 0 auto 2.75rem;
	max-width: 78rem;
	text-align: left;
}

#faq .text-center > span {
	background: #000;
	border: 2px solid #e60028;
	color: #fff;
	font-size: 0.85rem;
	padding: 0.35rem 1.5rem;
}

#faq .text-center > h2 {
	border-bottom: 3px solid #e60028;
	display: inline-block;
	font-size: 2.25rem;
	margin-top: 2rem;
	padding-bottom: 0.55rem;
}

#faq .space-y-6 {
	max-width: 78rem;
}

#faq .faq-category {
	background: transparent;
	margin-top: 1.75rem;
}

#faq .faq-category-btn {
	background: #fff;
	font-size: 2rem;
	padding: 1.75rem 2rem;
}

#faq .faq-category-btn > span > span:last-child {
	display: none;
}

#faq .faq-category-btn > span:last-child {
	background: #ddd;
	height: 3.5rem;
	width: 3.5rem;
}

#faq .faq-category-icon {
	height: 2.1rem;
	stroke-width: 3;
	width: 2.1rem;
}

.ablp-cta {
	background: #5a5a5a;
	padding: 7.5rem 0;
}

.ablp-cta h2 {
	font-size: clamp(2.25rem, 4.3vw, 4.3rem);
	line-height: 1.25;
}

.ablp-cta .mt-10 {
	gap: 4rem;
	margin-top: 4rem;
}

.ablp-cta .mt-10 > a {
	border-radius: 999px;
	font-size: clamp(1.2rem, 2.4vw, 2rem);
	min-width: min(37vw, 32rem);
	padding: 1.25rem 3rem;
}

.ablp-cta .mt-10 > a:first-child {
	background: #fff;
	border: 2px solid #e60028;
	color: #e60028;
}

.ablp-cta .mt-10 > a i {
	display: none;
}

@media (max-width: 767px) {
	.ablp-data-section,
	#faq,
	.ablp-reviews-section,
	.ablp-cta {
		padding: 4.5rem 0;
	}

	.ablp-spec-block {
		grid-template-columns: 1fr;
		gap: 1.75rem;
	}

	.ablp-spec-block + .ablp-spec-block {
		margin-top: 3rem;
	}

	.ablp-spec-heading h2,
	#faq .text-center > h2 {
		font-size: 1.8rem;
	}

	.ablp-spec-panel,
	.ablp-comparison-panel {
		padding: 1.25rem;
	}

	.ablp-spec-list > div {
		gap: 0.4rem;
		grid-template-columns: 1fr;
		margin-bottom: 1rem;
	}

	.ablp-spec-list dd {
		font-size: 0.95rem;
	}

	.ablp-scenes-layout {
		grid-template-columns: 1fr;
		min-height: 0;
		padding-bottom: 2.5rem;
	}

	.ablp-scenes-copy {
		padding-top: 2.5rem;
	}

	.ablp-scene-grid {
		padding: 2.5rem 0 0;
	}

	.ablp-review-track {
		gap: 1rem;
		justify-content: flex-start;
		padding-left: 1rem;
	}

	.ablp-review-card,
	.ablp-review-card.is-main {
		flex-basis: 68vw;
	}

	#faq .faq-category-btn {
		font-size: 1.35rem;
		padding: 1.25rem;
	}

	#faq .faq-category-btn > span:last-child {
		height: 2.7rem;
		width: 2.7rem;
	}

	.ablp-cta .mt-10 {
		gap: 1rem;
	}

	.ablp-cta .mt-10 > a {
		min-width: 0;
	}
}
/* ===================================================================
 * PR-3 PCスクリーンショット再調整（2026-07-16）
 * =================================================================== */
.ablp-section-label b {
	color: #e60028;
	font-weight: inherit;
}

.ablp-spec-heading .ablp-section-label {
	border: 2px solid #e60028;
	border-radius: 999px;
	font-size: 0.9rem;
	letter-spacing: 0;
	line-height: 1;
	padding: 0.55rem 1.45rem;
}

.ablp-scenes-section {
	background: #fff;
}

.ablp-scenes-layout {
	min-height: 0;
	padding-bottom: 4rem;
	padding-top: 4rem;
}

.ablp-scenes-copy {
	align-self: center;
	padding: 0 2rem 0 0;
}

.ablp-scenes-copy .ablp-section-label {
	background: #000;
	border: 2px solid #e60028;
	border-radius: 999px;
	font-size: 0.75rem;
	padding: 0.3rem 1.05rem;
}

.ablp-scenes-copy h2 {
	color: #000;
	font-size: clamp(1.55rem, 2.35vw, 2.25rem);
	font-weight: 900;
	line-height: 1.28;
	margin-top: 2.5rem;
}

.ablp-scenes-copy p {
	color: #222;
	font-size: 0.9rem;
	line-height: 2;
	margin-top: 1.5rem;
	max-width: 21rem;
}

.ablp-scene-grid {
	align-self: center;
	gap: 1.25rem;
	padding: 0;
}

.ablp-scene-grid img {
	aspect-ratio: 1;
}

.ablp-reviews-section {
	background: #fff;
	padding: 5.5rem 0;
}

.ablp-review-heading {
	margin: 0 auto 2.5rem;
	max-width: 62rem;
	text-align: center;
}

.ablp-review-heading h2 {
	border-bottom: 3px solid #e60028;
	color: #000;
	display: inline-block;
	font-size: clamp(1.5rem, 2.3vw, 2rem);
	font-weight: 900;
	line-height: 1.35;
	padding-bottom: 0.5rem;
}

.ablp-review-track {
	gap: 1.2rem;
	justify-content: center;
	margin: 0 auto;
	max-width: 54rem;
	width: auto;
}

.ablp-review-card,
.ablp-review-card.is-main {
	flex-basis: 16rem;
}

.ablp-review-card.is-side {
	opacity: 0.55;
}

.ablp-review-card.is-main {
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
	opacity: 1;
}

.ablp-review-play {
	bottom: 1rem;
	left: 1rem;
}

.ablp-review-dots {
	margin-top: 1.5rem;
}

.ablp-review-dots span {
	background: #bbb;
	height: 0.25rem;
	width: 0.25rem;
}

.ablp-review-dots .is-active {
	background: #000;
	box-shadow: none;
}

.ablp-review-more {
	font-size: 1.35rem;
	margin-top: 2.5rem;
	max-width: 33rem;
	padding: 0.95rem 2rem;
}

#faq {
	padding: 5rem 0 4.5rem;
}

#faq .text-center {
	margin-bottom: 1.5rem;
}

#faq .text-center > span {
	border-radius: 999px;
	font-size: 0.75rem;
	padding: 0.3rem 1.05rem;
}

#faq .text-center > h2 {
	font-size: 1.8rem;
	margin-top: 1.75rem;
	padding-bottom: 0.4rem;
}

#faq .space-y-6 {
	max-width: 50rem;
}

#faq .faq-category {
	margin-top: 1.25rem;
}

#faq .faq-category-btn {
	font-size: 1.45rem;
	padding: 1.2rem 1rem;
}

#faq .faq-category-btn > span:last-child {
	height: 2rem;
	width: 2rem;
}

#faq .faq-category-icon {
	height: 1.25rem;
	width: 1.25rem;
}

.ablp-cta {
	padding: 5.5rem 0;
}

.ablp-cta h2 {
	font-size: clamp(2rem, 3.3vw, 2.85rem);
}

.ablp-cta .mt-10 {
	gap: 2.25rem;
	margin-top: 3rem;
}

.ablp-cta .mt-10 > a {
	font-size: 1.3rem;
	min-width: 17rem;
	padding: 0.95rem 2.25rem;
}

@media (max-width: 767px) {
	.ablp-scenes-copy {
		padding-right: 0;
	}

	.ablp-scenes-copy h2 {
		margin-top: 1.5rem;
	}

	.ablp-review-track {
		justify-content: flex-start;
		padding-left: 1rem;
	}

	.ablp-review-card,
	.ablp-review-card.is-main {
		flex-basis: 60vw;
	}

	.ablp-review-more {
		font-size: 1rem;
	}

	#faq .faq-category-btn {
		font-size: 1.2rem;
	}

	.ablp-cta .mt-10 > a {
		font-size: 1rem;
		min-width: 0;
	}
}

/* ===================================================================
 * PR-3 CTA 再構成（Figma PCCTA/SPCTA 準拠・2026-07-17）
 * 見出し＋区切り線＋各ボタン上に説明ラベル。PC=横並び / SP=縦積み。
 * 旧 .ablp-cta .mt-10 系ルールはマークアップ刷新で非マッチ（無効）。
 * =================================================================== */
.ablp-cta {
	background: #4d4d4d;
	color: #fff;
	text-align: center;
}

.ablp-cta-inner {
	max-width: 62rem;
}

.ablp-cta .ablp-cta-title {
	color: #fff;
	font-size: clamp(2rem, 3.6vw, 3rem);
	font-weight: 900;
	line-height: 1.35;
	letter-spacing: 0.02em;
	margin: 0;
}

.ablp-cta-divider {
	display: block;
	width: 3rem;
	height: 1px;
	background: rgba(255, 255, 255, 0.55);
	margin: 2.75rem auto;
}

.ablp-cta-actions {
	display: flex;
	justify-content: center;
	gap: clamp(1.5rem, 4vw, 3.5rem);
	margin-top: 2.5rem;
}

.ablp-cta-col {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: min(100%, 26rem);
}

.ablp-cta-note {
	color: #dcdcdc;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.5;
}

.ablp-cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	padding: 1.1rem 2rem;
	font-size: clamp(1.1rem, 1.6vw, 1.4rem);
	font-weight: 800;
	line-height: 1.2;
	transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.ablp-cta-btn:hover {
	transform: translateY(-2px);
}

.ablp-cta-btn--outline {
	background: #fff;
	color: #e60028;
}

.ablp-cta-btn--outline:hover {
	background: #ffe9ed;
}

.ablp-cta-btn--fill {
	background: #e60028;
	color: #fff;
}

.ablp-cta-btn--fill:hover {
	background: #b30022;
}

@media (max-width: 767px) {
	.ablp-cta-actions {
		flex-direction: column;
		align-items: center;
		gap: 2rem;
		margin-top: 2rem;
	}

	.ablp-cta-col {
		width: 100%;
		max-width: 22rem;
	}

	.ablp-cta-divider {
		margin: 2rem auto;
	}
}

/* ===================================================================
 * PR-3 レビュー動画（MB）再構成（Figma MBレビュー動画 準拠・2026-07-17）
 * 中央カードを大きく／左右はチラ見せで淡く。中央寄せ。
 * =================================================================== */
@media (max-width: 767px) {
	.ablp-reviews-section {
		padding: 3.5rem 0;
	}

	.ablp-review-heading {
		margin: 0 auto 2rem;
	}

	.ablp-review-heading h2 {
		font-size: 1.3rem;
		line-height: 1.5;
	}

	.ablp-review-track {
		justify-content: center;
		overflow: hidden;
		gap: 0.5rem;
		padding: 0;
	}

	.ablp-review-card.is-main {
		flex: 0 0 66vw;
		opacity: 1;
	}

	.ablp-review-card.is-side {
		flex: 0 0 15vw;
		opacity: 0.4;
	}

	.ablp-review-play {
		height: 2.75rem;
		width: 2.75rem;
		bottom: 0.75rem;
		left: 0.75rem;
	}

	.ablp-review-play svg {
		height: 1.1rem;
		width: 1.1rem;
	}
}

/* ===================================================================
 * PR-3 企業の声（MB）再構成（Figma SP企業の声 準拠・2026-07-17）
 * VOICE 見出し・リードは中央寄せ／「購入者様の声」見出しは横並び維持。
 * =================================================================== */
@media (max-width: 767px) {
	.ablp-scenes-copy {
		text-align: center;
		padding-top: 2.5rem;
	}

	.ablp-scenes-copy p {
		max-width: none;
		margin-left: auto;
		margin-right: auto;
	}

	.ablp-scene-grid {
		gap: 0.75rem;
		padding: 2rem 0 0;
	}

	.ablp-voices-heading {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 0.75rem;
	}

	.ablp-voices-heading h2 {
		font-size: 1.4rem;
	}

	.ablp-voices-heading span {
		font-size: 0.8rem;
	}

	.ablp-voice-card h3 {
		font-size: 1.15rem;
	}
}

/* ===================================================================
 * PR-3 レビュー動画 中央カードのタイトル帯（2026-07-17）
 * 静的表示。文言差し替え（動画タイトル）は PR-5 の CPT で対応予定。
 * ※サムネ画像に焼き込みか画像上のテキストかはデザイン部門へ要確認。
 * =================================================================== */
.ablp-review-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	padding: 0.6rem 0.85rem;
	background: rgba(245, 245, 245, 0.95);
	color: #222;
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1.4;
	text-align: left;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (max-width: 767px) {
	.ablp-review-caption {
		font-size: 0.78rem;
		padding: 0.5rem 0.7rem;
	}
}

/* #PR-4f レビュー動画 再生モーダル（画面内・YouTube iframe・16:9） */
.ablp-video-modal[hidden] { display: none; }
.ablp-video-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	background: rgba(0, 0, 0, 0.8);
}
.ablp-video-modal-inner {
	position: relative;
	width: 100%;
	/* #PR-4f：横向きスマホ等の低い画面でも 16:9 枠＋閉じるボタンがビューポート内に収まるよう、
	   幅を「56rem」と「画面高さから逆算した幅((画面高-余白)×16/9)」の小さい方に制限（Codex指摘P2）。
	   8rem=閉じるボタン(2.75rem)＋上下余白ぶんの確保。svh でモバイルUI表示時も担保、vh はフォールバック。 */
	max-width: min( 56rem, ( 100vh - 8rem ) * 16 / 9 );
	max-width: min( 56rem, ( 100svh - 8rem ) * 16 / 9 );
}
.ablp-video-modal-frame {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
}
.ablp-video-modal-frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.ablp-video-modal-close {
	position: absolute;
	top: -2.75rem;
	right: 0;
	background: none;
	border: 0;
	color: #fff;
	cursor: pointer;
	font-size: 2.25rem;
	line-height: 1;
	padding: 0 0.25rem;
}

/* #PR-4f レビュー カルーセル（transform方式・ショート風）
   縦長カードが枠に収まりネイティブscroll余地の出ないPCでも、track を translateX で動かして
   中央カードを viewport 中央へ寄せる＝PC/MB 共通でドラッグ/スワイプ切替できる。
   viewport が overflow:hidden でクリップ、track（position:relative）が可動レイヤー。
   中央強調（拡大＋不透明）とドット連動は JS が is-active を付与して制御。 */
#reviews .ablp-review-viewport {
	max-width: 60rem;
	margin-inline: auto;
	overflow: hidden;
}
#reviews .ablp-review-track {
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	gap: clamp(0.75rem, 2vw, 1.5rem);
	position: relative;
	max-width: none;
	margin-inline: 0;
	overflow: visible;
	cursor: grab;
	user-select: none;
	-webkit-user-select: none;
	touch-action: pan-y;
	transform: translateX(0);
	transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
	will-change: transform;
}
#reviews .ablp-review-track.is-dragging {
	cursor: grabbing;
	transition: none;
}
#reviews .ablp-review-card {
	flex: 0 0 min(78%, 21rem);
	opacity: 0.5;
	transform: scale(0.9);
	transform-origin: center center;
	transition: opacity 0.35s ease, transform 0.35s ease;
}
#reviews .ablp-review-card.is-active {
	opacity: 1;
	transform: scale(1);
}
#reviews .ablp-review-dots span {
	cursor: pointer;
}
/* 無限ループの瞬間リセット時は track/card のトランジションを一時無効化＝クローン位置への飛びを不可視に */
#reviews .ablp-review-track.ablp-no-anim,
#reviews .ablp-review-track.ablp-no-anim .ablp-review-card {
	transition: none !important;
}

/* ===================================================================
 * PR-3 解決・特徴（MB）順番調整（Figma MB準拠・2026-07-17）
 * 番号 → 動画 → タイトル → サブ → 説明文 の縦順にする。
 * =================================================================== */
@media (max-width: 767px) {
	.ablp-feature-media {
		order: -1;
	}
}

/* ===================================================================
 * PR-3 ラベル微修正（2026-07-17）
 * FAQ ラベルは Tailwind クラス由来で全体が白くなり頭文字 F も白かったため、
 * 頭文字 <b> をブランドレッドに戻す。FEATURES の赤枠は .ablp-features-badge に付与済み。
 * =================================================================== */
#faq .text-center > span b {
	color: #e60028;
	font-weight: inherit;
}

/* ===================================================================
 * PR-3 解決・特徴（MB）：特長番号ラベルを中央寄せ（Figma MB準拠・2026-07-17）
 * =================================================================== */
@media (max-width: 767px) {
	.ablp-feature-no {
		display: flex;
		justify-content: center;
	}
}

/* ===================================================================
 * PR-3 微調整（moe 指摘・2026-07-17）
 * =================================================================== */

/* --- セクション見出しの下線を「短い固定幅バー」に統一（全幅→先頭数文字ぶん） --- */
.ablp-spec-heading h2,
#faq .text-center > h2,
.ablp-review-heading h2 {
	border-bottom: 0;
	position: relative;
	padding-bottom: 0.7rem;
}

.ablp-spec-heading h2::after,
#faq .text-center > h2::after,
.ablp-review-heading h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 3em;
	height: 3px;
	background: #e60028;
}

#faq .text-center > h2::after {
	width: 4em;
}

/* --- SPEC & COMPARISON / FAQ ラベルを見出しの上（2行）に固定 --- */
.ablp-spec-heading .ablp-section-label,
#faq .text-center > span {
	display: block;
	width: fit-content;
}

/* --- 他社製品比較: PC はタイトル改行させない＋見出し列幅を確保 --- */
.ablp-spec-heading h2 {
	white-space: nowrap;
}

@media (min-width: 768px) {
	.ablp-spec-block {
		grid-template-columns: 15rem minmax(0, 1fr);
	}
}

/* --- 他社製品比較テーブル: 列を離して ABCom 列を黒/赤で強調（Figma準拠） --- */
.ablp-comparison-table {
	border-collapse: separate;
	border-spacing: 14px 0;
	table-layout: fixed;
	width: 100%;
	max-width: 40rem;
	min-width: 0;
	margin: 0 auto;
	text-align: center;
}

.ablp-comparison-table th,
.ablp-comparison-table td {
	border: 0;
	padding: 0.8rem 0.45rem;
	vertical-align: middle;
}

.ablp-comparison-table thead th {
	background: #b3b3b3;
	color: #333;
	font-weight: 700;
	font-size: 0.9rem;
	height: 3.6rem;
}

.ablp-comparison-table thead th:first-child {
	background: #000;
}

.ablp-comparison-table thead img {
	display: block;
	margin: 0 auto;
	width: 80%;
	max-width: 6rem;
}

.ablp-comparison-table tbody span {
	display: block;
	font-size: 0.68rem;
	font-weight: 600;
	margin-bottom: 0.3rem;
}

.ablp-comparison-table tbody th {
	background: #fff;
	border: 2px solid #e60028;
	border-top: 0;
	color: #e60028;
	font-weight: 800;
	font-size: 0.95rem;
}

.ablp-comparison-table tbody th span {
	color: #e60028;
}

.ablp-comparison-table tbody td {
	background: #fff;
	border: 1px solid #d6d6d6;
	border-top: 0;
	color: #333;
	font-weight: 700;
	font-size: 0.85rem;
}

.ablp-comparison-table tbody tr:first-child th {
	border-top: 2px solid #e60028;
}

.ablp-comparison-table tbody tr:first-child td {
	border-top: 1px solid #d6d6d6;
}

.ablp-comparison-table tbody td span {
	color: #8a8a8a;
}

/* --- 特徴(MB): Scroll ページ数表記は不要 --- */
@media (max-width: 767px) {
	.ablp-feature-scroll {
		display: none;
	}
}

/* --- 購入者の声(MB): 背景を白に＋レビュー動画との区切りに黒ライン --- */
@media (max-width: 767px) {
	.ablp-voices-section {
		background: #fff;
	}

	.ablp-review-heading {
		border-top: 2px solid #111;
		padding-top: 2.5rem;
	}
}

/* --- レビュー見出し: 左寄せ（2行目先頭を1行目と揃える）。SPは下線を2行目5文字目あたりまで --- */
.ablp-review-heading {
	text-align: left;
}

@media (max-width: 767px) {
	.ablp-review-heading h2::after {
		width: 5em;
	}
}

/* --- Hero(MB): 動画は元素材の 16:9 に枠を合わせて全幅表示（トリミング無し＝見切れ無し）＋動画リンクbtnを下部中央 --- */
@media (max-width: 767px) {
	.ablp-hero-media {
		height: auto;
	}

	.ablp-hero-video {
		aspect-ratio: 116 / 127;
		height: auto;
		object-fit: cover;
	}

	.ablp-hero-cta-wrap {
		right: auto;
		left: 50%;
		transform: translateX(-50%);
		bottom: clamp(1rem, 4vw, 2rem);
		width: max-content;
		max-width: calc(100% - 1.5rem);
	}
}

/* --- 他社製品比較(MB): 列幅を確保しヘッダーの長い社名の文字落ちを防ぐ --- */
@media (max-width: 767px) {
	.ablp-comparison-table {
		border-spacing: 8px 0;
	}

	.ablp-comparison-table thead th {
		height: auto;
		min-height: 0;
		font-size: 0.68rem;
		line-height: 1.25;
		padding: 0.5rem 0.2rem;
		white-space: normal;
		overflow: visible;
		word-break: break-word;
	}

	.ablp-comparison-table thead img {
		width: 90%;
	}

	.ablp-comparison-table tbody th,
	.ablp-comparison-table tbody td {
		font-size: 0.72rem;
		padding: 0.6rem 0.2rem;
	}

	.ablp-comparison-table tbody th {
		font-size: 0.78rem;
	}

	.ablp-comparison-table tbody span {
		font-size: 0.6rem;
	}
}

/* --- 他社比較: 2列目(トランシーバー)の見出しに旧CSSの font-size:1rem/背景/高さ が残っていたため、他列と完全に揃える --- */
.ablp-comparison-table thead th:nth-child(2) {
	background: #b3b3b3;
	color: #333;
	font-size: 0.9rem;
	height: 3.6rem;
}

@media (max-width: 767px) {
	.ablp-comparison-table thead th:nth-child(2) {
		font-size: 0.68rem;
		height: auto;
	}
}

/* ===================================================================
 * PR-4 モーション #2：問題提起チェックの描画アニメ（左0.8s→右0.4s＝計1.2s）
 * トリガは既存 .reveal→.is-visible（IntersectionObserver）を再利用。
 * =================================================================== */
.ablp-check-svg {
	width: 1.875rem; /* #25：チェック枠拡大に合わせ 1.875rem（.ablp-check svg と統一・値の食い違い解消／Codex指摘P2） */
	height: 1.875rem;
	display: block;
	overflow: visible;
}

.ablp-check-seg-left {
	stroke-dasharray: 8;
	stroke-dashoffset: 8;
}

.ablp-check-seg-right {
	stroke-dasharray: 16;
	stroke-dashoffset: 16;
}

/* #26：発火は「セクションが十分見えた時点(≈2/3)」で JS が .ablp-checks-run を付与＝早すぎ再生を防止（従来 .is-visible=10% から変更）。 */
.ablp-problem-inner.ablp-checks-run .ablp-check-seg-left {
	animation: ablp-check-draw 0.8s ease forwards;
}

.ablp-problem-inner.ablp-checks-run .ablp-check-seg-right {
	animation: ablp-check-draw 0.4s ease 0.8s forwards;
}

/* #26：3項目を上から1つずつ時間差で再生（各項目 +0.7s。right は左描画0.8s後なので +0.8s した値）。 */
.ablp-problem-inner.ablp-checks-run .ablp-problem-item:nth-child(2) .ablp-check-seg-left { animation-delay: 0.7s; }
.ablp-problem-inner.ablp-checks-run .ablp-problem-item:nth-child(2) .ablp-check-seg-right { animation-delay: 1.5s; }
.ablp-problem-inner.ablp-checks-run .ablp-problem-item:nth-child(3) .ablp-check-seg-left { animation-delay: 1.4s; }
.ablp-problem-inner.ablp-checks-run .ablp-problem-item:nth-child(3) .ablp-check-seg-right { animation-delay: 2.2s; }

@keyframes ablp-check-draw {
	to {
		stroke-dashoffset: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ablp-check-seg-left,
	.ablp-check-seg-right {
		stroke-dashoffset: 0;
		animation: none;
	}
}

/* ===================================================================
 * PR-4 モーション #16/#8/#4：特徴スロット切替（PC・スクロール駆動）
 * 3スロットを画面に固定（sticky ピン）し、スクロール進行に応じて 1 枚ずつ
 * クロスフェード表示（#16）。カウンター 01→02→03 は各スロットに静的表示（#8）。
 * 「Scroll」文字は slotStretchMotion のループ（#4・第一希望）。
 * ★ 発動条件：JS が PC かつ motion 許可時に .ablp-features-track へ .is-pinned を付与したときのみ。
 *   SP（<768px）／prefers-reduced-motion／JS 無効 のときは付与されず、従来どおり縦積み全表示。
 *   （デザイン仕様：モバイルは #4/#8/#16 不要）。既存 .reveal は SP のフェードインに使用。
 * =================================================================== */
@media (min-width: 768px) {
	.ablp-features-track.is-pinned {
		/* スロット数ぶんのスクロール量を確保（1スロット ≒ 1 画面ぶん・実機で微調整可） */
		height: 300vh;
	}
	.ablp-features-track.is-pinned .ablp-features-viewport {
		position: sticky;
		top: 0;
		height: 100vh;
		display: flex;
		align-items: center;
		justify-content: center;
		overflow: hidden;
	}
	.ablp-features-track.is-pinned .ablp-feature {
		position: absolute;
		left: 50%;
		top: 0; /* #PR-4e：中央寄せ(top:50%+translateY)→上寄せに。スロット高さが違ってもタイトルのY位置が動かない */
		width: 100%;
		max-width: 72rem;
		margin: 0;
		padding: 7rem 1.5rem 0; /* 上余白＝固定ヘッダー(py-6で約80px/py-3で約60px)を避けて全項目を見せる。数値だけで微調整可（大きくすると下がる） */
		transform: translateX(-50%);
		background: #fff; /* #PR-4e：不透明背景。切替時に前後スロットが半透明で重なる"ちらつき"を防ぐ */
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.35s ease, visibility 0.35s;
		pointer-events: none;
	}
	.ablp-features-track.is-pinned .ablp-feature.is-active {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		z-index: 2; /* #PR-4e：表示中スロットを前面に＝背後の退場スロットを覆いゴースト（ちらつき）を抑える */
	}
	.ablp-features-track.is-pinned .ablp-feature-scroll-label {
		display: inline-block;
		transform-origin: center bottom;
		animation: ablpSlotStretch 4s infinite;
	}
}

@keyframes ablpSlotStretch {
	0%, 60% { transform: translateY(0) scaleY(1); opacity: 1; }
	72% { transform: translateY(20px); opacity: 0; animation-timing-function: ease-in; }
	73% { transform: translateY(-20px); opacity: 0; }
	88%, 100% { transform: translateY(0) scaleY(1); opacity: 1; animation-timing-function: ease-out; }
}

/* #PR-4e：#3（解決・特徴セクションの入場スケール拡大）は不評のため撤去。#16 スロット切替・#4 は維持。 */

/* ===================================================================
 * #6/#21 MB下部追従アクションバー（LP・MBのみ）＋上部ヘッダー非表示＋全画面メニュー
 * - abcom-lp.css は LP 限定ロードのため、ここのルールは LP のみに効く（購入者/サポートは無影響）。
 * - スプシ#21回答＋moe判断：MBは上部ヘッダー(#navbar top row)を隠し、下部固定バー[見積/STORE/≡]のみ。
 * - ≡ は既存 #mobile-menu(#10) を全画面オーバーレイで開く（JSで #bottom-menu-btn を束ねる）。
 *   × は下部バーの ≡→× モーフで兼用（メニュー内蔵の×は MB 非表示）。図説 1267-499。
 * - 色反転(#1)：applyNavState の #navbar.ablp-nav-light に連動してバーを白基調へ。
 * - セレクタは #navbar 経由で id を2つに上げ、フッター内 inline <style>（後勝ち）より優先させる。
 * =================================================================== */
.ablp-bottombar { display: none; } /* 既定は非表示（PC・他ページ） */

@media (max-width: 767px) {
	/* 上部ヘッダーを非表示（#navbar は #1 状態保持のため DOM 温存し、見た目だけ消す） */
	#navbar {
		background: transparent !important;
		box-shadow: none !important;
		padding: 0 !important;
		pointer-events: none;
		/* #1反転時に付く backdrop-blur-md 等が position:fixed の内包ブロックを作り、
		   下部バーが viewport 基準を失って上端へ飛ぶ(=消える)のを防ぐ。MBでは#navbarは不可視なので無害。 */
		backdrop-filter: none !important;
		-webkit-backdrop-filter: none !important;
		transform: none !important;
		filter: none !important;
	}
	#navbar > .container { display: none !important; }

	/* 下部追従アクションバー（見積 / STORE / ≡） */
	.ablp-bottombar {
		display: flex;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 60;
		align-items: center;
		gap: 0.6rem;
		padding: 0.6rem 0.9rem calc(0.6rem + env(safe-area-inset-bottom));
		background: rgba(17, 17, 17, 0.72);
		-webkit-backdrop-filter: blur(8px);
		backdrop-filter: blur(8px);
		pointer-events: auto;
		transition: background 0.3s ease;
	}
	.ablp-bottombar-btn {
		flex: 1 1 0;
		text-align: center;
		padding: 0.85rem 0.5rem;
		border-radius: 999px;
		font-weight: 800;
		font-size: 0.95rem;
		line-height: 1;
		text-decoration: none;
	}
	.ablp-bottombar-btn.is-estimate { background: #fff; color: #e60028; border: 2px solid #e60028; }
	.ablp-bottombar-btn.is-store { background: #e60028; color: #fff; border: 2px solid #e60028; }
	.ablp-bottombar-burger {
		flex: 0 0 auto;
		width: 46px;
		height: 46px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		border: 1px solid rgba(255, 255, 255, 0.6);
		border-radius: 10px;
		background: transparent;
		color: #fff;
	}

	/* #mobile-menu を全画面オーバーレイ化（下からせり上がり）。id2つでフッター inline を上書き */
	#navbar #mobile-menu {
		position: fixed;
		inset: 0;
		width: 100%;
		height: 100vh;
		height: 100dvh;
		max-height: none;
		opacity: 1;
		visibility: hidden;
		overflow-y: auto;
		transform: translateY(100%);
		transition: transform 0.35s ease, visibility 0.35s;
		z-index: 55;
		pointer-events: auto;
	}
	#navbar #mobile-menu.is-open {
		max-height: none;
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
	}
	#navbar #mobile-menu .ablp-menu-body {
		padding: 4.5rem 1.5rem calc(5.5rem + env(safe-area-inset-bottom));
	}
	/* 全画面時のクローズは下部バーの ≡→× で兼用するため、メニュー内蔵の × は隠す */
	#navbar #mobile-menu .ablp-menu-close { display: none; }

	/* フッター最下部が下部バーに隠れないよう余白を追加（body で優先度を上げる） */
	body .ablp-footer { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); }

	/* 色反転(#1連動)：白ヘッダー状態＝下部バーも白基調へ */
	#navbar.ablp-nav-light .ablp-bottombar {
		background: rgba(255, 255, 255, 0.92);
		box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.08);
	}
	#navbar.ablp-nav-light .ablp-bottombar-burger {
		color: #111827;
		border-color: rgba(0, 0, 0, 0.35);
	}
}

/* ===================================================================
 * #31 全体カラー再指定（PR-10・要望シート「カラーコード」タブ 全49行）
 * ブランドガイドラインの無彩色（K%）へ統一。セクションid でスコープし
 * Tailwind utility(0,1,0)・既存ルールを確実に上書きする。
 * LP専用色はここ／共有ヘッダー・フッター(#3-6,#44-49)は各 partial の
 * inline <style> で別途対応（LP組3ページへ適用）。#6 はデザイン確認待ち。
 * =================================================================== */

/* --- FEATURES（#7-#11） --- */
#features { color: #000000; }                                 /* FEATURESの基本文字色（旧 .ablp-features #111827）を無彩色化＝継承元を統一（2026-08-06） */
#features .ablp-features-badge { background-color: #000000; } /* #7 見出し帯背景を完全無彩色に統一 */
#features .ablp-features-title { color: #000000; }            /* #8 見出し文字（旧 #111827） */
#features .ablp-feature-title,
#features .ablp-feature-sub    { color: #000000; }            /* #9 タイトル・サブタイトル */
#features .ablp-feature-desc   { color: #707070; }            /* #10 本文テキスト（旧 #475569） */
#features .ablp-feature-scroll { color: #000000; }            /* #11 Scroll文字（旧 #111827） */
#features .ablp-feature-no-label { color: #000000; border-color: #000000; } /* #11関連：「特長」ラベル文字＋下線border（旧 #111827）＝#31漏れ・2026-08-06指摘 */
#features .ablp-feature-no-badge { background-color: #000000; } /* #11関連：番号丸〇の背景（旧 #111827）＝2026-08-06指摘② */
#features .ablp-features-rule { border-color: #000000; color: #000000; } /* #11関連：横棒の縁（旧 border #111827）＋未使用colorも無彩色統一＝2026-08-06指摘② */
#features .ablp-feature-video { background-color: #000000; }    /* 動画エリアの背景（旧 #111827）＝2026-08-06指摘② 無彩色統一 */

/* --- 共通セクションラベル（#7：黒帯を完全無彩色 #000000 に統一） --- */
/* base .ablp-section-label は background:#111。SPEC/VOICE は個別の背景上書きが無く
 * #111 が出るため無彩色へ統一（活用シーン/レビューは .xxx .ablp-section-label で
 * 既に #000＝(0,2,0)で本ルールより優先＝影響なし）。 */
.ablp-section-label { background-color: #000000; }           /* #7 SPEC & COMPARISON / VOICE の見出し帯 */

/* --- SPEC & COMPARISON（#12-17／ABCom列＝赤文字・黒帯は維持、枠線は Figma準拠で黒） --- */
#specs .ablp-spec-list dt,
#specs .ablp-spec-list dd { color: #000000; }                                         /* #12 性能一覧の文字（旧 #333/#111） */
#specs .ablp-comparison-table thead th { background-color: #a0a0a0; color: #000000; } /* #14 他社ヘッダー背景（旧 #b3b3b3/#aaa）／#15 文字（旧 #333） */
#specs .ablp-comparison-table thead th:first-child { background-color: #000000; }      /* ABComロゴ列の黒帯は維持（旧 #000） */
#specs .ablp-comparison-table tbody td { border-color: #a0a0a0; color: #000000; }      /* #13 枠線（旧 #d6d6d6/#ccc）／#17 他社列の文字（旧 #333） */
#specs .ablp-comparison-table tbody td span { color: #a0a0a0; }                        /* #16 他社列の小ラベル（旧 #8a8a8a） */
#specs .ablp-comparison-table tbody th { border-color: #000000; }                      /* ABCom列の枠線＝黒に統一（Figma準拠・旧 PC #e60028 / SP #111）。赤文字は維持 */

/* --- VOICE / 活用シーン（#18-19／白背景。#18 見出し h2 は既に #000 のため変更なし） --- */
#scenes .ablp-scenes-copy p { color: #707070; }                                        /* #19 本文（旧 #222） */

/* --- 購入者様の声（#20-23／白背景・meta 左の赤ボーダーは維持） --- */
.ablp-voices-section .ablp-voices-heading h2 { color: #000000; }                       /* #20 セクション見出し「購入者様の声」（旧 #111） */
.ablp-voices-section .ablp-voice-card h3 { color: #000000; }                           /* 各コメントのタイトル(h3)＝#111→#000000（デザイン部門2026-08-06 追加指摘） */
.ablp-voices-section .ablp-voice-meta { color: #000000; }                              /* #21 業種・社名（旧 #222） */
.ablp-voices-section .ablp-voice-card > p:last-child { color: #707070; }                /* #22 本文（旧 #666） */
.ablp-voices-section .ablp-voice-card + .ablp-voice-card { border-top-color: #a0a0a0; } /* #23 区切り線（旧 #777） */

/* --- レビュー動画（#24-26／白背景。#24 見出し h2 は既に #000 のため変更なし） --- */
#reviews .ablp-review-caption { color: #000000; background-color: #e5e5e5; }            /* #25 キャプション文字（旧 #222）／#26 キャプション背景（旧 rgba(245,245,245,.95)） */

/* --- FAQ（#27-41／Tailwind ユーティリティを #faq スコープで上書き。ブランド色の Q丸・FAQバッジは維持） --- */
/* #29 タイトル背景・#31 QAカード背景は既に #ffffff（bg-white）＝変更不要。 */
#faq { background-color: #e5e5e5; }                                    /* #30 FAQセクション全体の地（旧 #efefef＝指定 #e5e5e5 に正確化） */
#faq .text-slate-900 { color: #000000; }                               /* #27 見出し「よくある質問」／#35 質問(Q)文字 */
#faq .text-slate-800 { color: #000000; }                               /* #28 カテゴリラベル */
#faq .text-slate-600 { color: #707070; }                               /* #36・#38 回答(A)テキスト */
#faq .text-slate-500 { color: #707070; }                               /* #40 開閉アイコン文字・件数 */
#faq .bg-slate-50 { background-color: #f6f6f6; }                        /* #34 展開エリア＝カテゴリ展開時の各QAカードの後ろの面（旧 #e5e5e5） */
#faq .border-slate-200 { border-color: #eeeeee; }                      /* #32 区切り線／#33 カテゴリ外枠 */
#faq .faq-category-btn > span:last-child { background-color: #e5e5e5; } /* #39【修正②2026-08-06】丸背景 #a0a0a0→#e5e5e5（＋アイコンの視認性改善・デザイン部門要求変更／既存 span:last-child=#ddd も上書き） */
#faq .faq-category-content .bg-slate-100 { background-color: #e5e5e5; } /* #37 回答Aの丸背景 */
#faq .faq-category-btn:hover { background-color: #ffffff; }            /* #41 hover のグレーを無効化（白のまま） */

/* --- CTA（#42-43／#42 タイトルは既に白＝変更不要。ボタンの赤は維持） --- */
#contact .ablp-cta-note { color: #ffffff; }                            /* #43 ボタン上の注釈（旧 #dcdcdc≒text-slate-400） */