/* =====================================================================
 * product.css — 機種検索TOP（2n）と型番詳細（2o）
 * ---------------------------------------------------------------------
 * 2o のデザインは Figma に無い（Figma にあるのは交換サービス 1枚だけ）。
 * 交換ページで確定した部品と数値だけを使って組んでいる。
 * 語彙は ~/journal/projects/sakabo/notes/2026-09-10_デザイン横展開の進め方.md §2 のカタログどおりで、
 * 新しい形は作っていない。
 *
 * 【面の配分】縦の抑揚はここで作る。
 *   FV                青い箱（型番・価格・在庫・電話・見積もり）
 *   スペック          地の上の白い箱（機種の写真もここに入れる）
 *   向いているご家庭  **全幅の青（水玉）に白いカード** ← このページの主役
 *   買い替え元／本文  地の上の白い箱
 *   施工事例          全幅の水色（写真が並ぶところ）
 *   同じ容量で比較    地の上の白いカード＋戻り導線
 *   FAQ               白いカード＋グレーの水玉
 *   ページ末尾        黄色のCTA帯
 *
 * 前半が 2o（/products/{型番}/）、後半が 2n（/products/）。
 * 分類バッジ（.pd-term）を両ページで使うので1つのファイルにまとめてある。
 *
 * 【2n の面の配分】
 *   FV 青い箱 ／ 絞り込み **全幅の青（水玉）** ← 主役 ／ 一覧・人気機種 地の上の白いカード
 * ===================================================================== */

/* 分類バッジ（機種一覧のカードで使う）。交換ページの地域バッジと同じ水色の面に青文字・角丸6。 */
.pd-term {
	padding: 2px 14px;
	border-radius: 6px;
	background: var(--fig-blue-30);
	color: var(--fig-blue-60);
	font-size: 14px;
	font-weight: var(--fw-bold);
	line-height: 1.7;
}

/* 青い面の上に置く白いカード（枠なし）。機種一覧の絞り込みで使う。 */
.pd-card {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 20px;
	border-radius: 20px;
	background: #fff;
}

/* =====================================================================
 * 型番詳細（2o）— single-product.php
 * 2026-10-15〜16 にjojiさんが案から選んだ組み合わせ
 *   FV＝白い箱（写真・型番・価格・電話と見積もり） ／ スペック＝タイル
 *   向いているご家庭＝チェック付きのカード ／ 買い替え＝「お使いの機種 → 後継」
 *   この機種について＝水色の面に引用符
 * ===================================================================== */

/* ---------- FV ---------- */
.pd-fv { padding-top: 24px; }
.pd-fv__box { padding: 24px 20px; border-radius: 24px; background: #fff; border: 4px solid var(--fig-blue-40); }
.pd-fv__main { display: grid; gap: 16px; }
/* 〜1023 は「型番 → 写真 → 価格」の順。 */
.pd-fv__head { order: 1; }
.pd-fv__photo { order: 2; display: grid; place-items: center; }
.pd-fv__body { order: 3; }
.pd-fv__photo img { width: auto; max-height: 240px; }
.pd-fv__terms { display: flex; flex-wrap: wrap; gap: 6px; }
.pd-fv__terms span { padding: 3px 12px; border-radius: 6px; background: var(--fig-blue-20); font-size: 14px; font-weight: var(--fw-bold); color: var(--fig-blue-60); }
.pd-fv__terms .pd-fv__maker { background: var(--fig-blue-60); color: #fff; }
.pd-fv__model { margin-top: 10px; font-family: var(--font-num); font-size: 38px; line-height: 1.1; font-weight: 800; color: var(--fig-blue-80); word-break: break-all; }
/* 型番の後ろの「（メーカー・容量 機能）」（ワイヤー 2o の H1）。型番の下に小さく1行で出す。 */
.pd-fv__model-sub { display: block; margin-top: 8px; font-family: var(--font-base); font-size: 15px; line-height: 1.5; font-weight: var(--fw-bold); color: var(--fig-gray-70); word-break: normal; }
/* 補助金の対象バッジ（2o：価格の直上）。緑＝使える状態。 */
.pd-fv__subsidy { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 14px; }
.pd-fv__subsidy span { padding: 4px 12px; border-radius: 6px; background: var(--c-ok); color: #fff; font-weight: var(--fw-bold); }
.pd-fv__subsidy a { font-weight: var(--fw-bold); color: var(--fig-blue-60); text-decoration: underline; }
.pd-fv__label { margin-top: 14px; font-size: 14px; font-weight: var(--fw-bold); color: var(--fig-gray-70); }
.pd-fv__body > .pd-fv__label:first-child { margin-top: 0; }
/* 価格は白い面の上なのでオレンジ（黄色にしない）。 */
.pd-fv__price { font-size: 20px; font-weight: 800; color: var(--c-warm); }
.pd-fv__price b { font-family: var(--font-num); font-size: clamp(38px, 12vw, 48px); line-height: 1.15; white-space: nowrap; }
.pd-fv__price small { margin-left: 6px; font-size: 14px; font-weight: var(--fw-medium); color: var(--fig-gray-50); white-space: nowrap; }
.pd-fv__stock { margin-top: 6px; font-size: 15px; color: var(--fig-gray-70); word-break: auto-phrase; }
.pd-fv__stock b { color: var(--c-ink); }
/* 電話と見積もりは箱の中。上に区切り線を1本。 */
.pd-fv__cta { display: grid; gap: 14px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--fig-blue-30); }
.pd-fv__tel {
	display: grid;
	grid-template-columns: auto auto;
	justify-content: center;
	align-items: center;
	column-gap: 10px;
	padding: 12px 20px;
	border-radius: 999px;
	background: var(--fig-orange);
	color: #fff;
	box-shadow: 0 4px 0 #c94f00;
	text-align: left;
}
.pd-fv__tel svg { grid-row: span 2; width: 24px; height: 24px; }
.pd-fv__tel-num { font-family: var(--font-num); font-size: 26px; line-height: 1.1; font-weight: 800; white-space: nowrap; }
.pd-fv__tel small { font-size: 12px; font-weight: var(--fw-bold); white-space: nowrap; }
.pd-fv__quote {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 14px 20px;
	border-radius: 999px;
	background: var(--fig-blue-40);
	color: #fff;
	font-size: 17px;
	font-weight: var(--fw-bold);
	box-shadow: 0 4px 0 #1a7fcb;
	text-align: center;
	word-break: auto-phrase;
}
.pd-fv__tel:hover, .pd-fv__quote:hover { color: #fff; }

/* ---------- スペック（タイル） ---------- */
.pd-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.pd-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
.pd-tile,
.pd-size { display: grid; justify-items: center; gap: 4px; padding: 18px 12px; border-radius: 16px; background: #fff; border: 2px solid var(--fig-blue-30); text-align: center; }
.pd-tile__k { font-size: 13px; font-weight: var(--fw-bold); color: var(--fig-gray-50); }
.pd-tile__v { font-size: 22px; font-weight: 800; color: var(--fig-blue-80); white-space: nowrap; }
.pd-size { margin-top: -12px; font-size: 16px; color: var(--fig-blue-80); }
.pd-size .pd-tile__v { font-size: 16px; white-space: normal; word-break: keep-all; }

/* ---------- この機種が向いているご家庭（チェック付きのカード） ----------
 * 3枚は同じ大きさ（一番中身の多いカードに高さをそろえる）。中身は上から並べ、チェックの位置をそろえる。 */
.pd-target { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pd-target li {
	grid-column: span 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	min-width: 0;
	padding: 14px 8px;
	border-radius: 16px;
	background: #fff;
	font-size: 14px;
	line-height: 1.5;
	font-weight: var(--fw-bold);
	text-align: center;
	color: var(--c-ink);
	word-break: auto-phrase;
}
/* 容量・形状から作る自動の行が先頭に足されるので、カードは3〜5枚になる。
 * 4枚は 〜1023 が2列×2段・1024 以上は横一列、5枚以上は 〜599 が2列・600 以上は3列。
 * 列は「カード1枚＝2列ぶん」で切り、最後の段で余ったカードは半枚ずらして上の段のカードの間に置く（2026-10-16 jojiさんの指示）。 */
.pd-target:has(> li:nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pd-target:has(> li:nth-child(4)) > li:last-child:nth-child(odd) { grid-column: 2 / span 2; }
.pd-target__check { flex: none; position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--fig-blue-60); }
.pd-target__check::after { content: ""; position: absolute; left: 10px; top: 6px; width: 7px; height: 12px; border-right: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(45deg); }

/* ---------- この型番からの買い替えなら ---------- */
.pd-prev { padding: 24px 20px; border-radius: 20px; background: #fff; border: 4px solid var(--fig-blue-40); }
.pd-prev__lead { text-align: center; font-size: 16px; line-height: 1.8; font-weight: var(--fw-bold); color: var(--fig-blue-80); }
.pd-prev__list { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.pd-prev__list li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 16px 20px; border-radius: 14px; background: var(--fig-blue-20); }
.pd-prev__old,
.pd-prev__new { display: grid; justify-items: center; gap: 2px; }
.pd-prev__old small,
.pd-prev__new small { font-size: 12px; font-weight: var(--fw-bold); color: var(--fig-gray-50); }
.pd-prev__old b,
.pd-prev__new b { font-family: var(--font-num); font-size: 22px; }
.pd-prev__old b { color: var(--fig-gray-70); }
.pd-prev__old a b { color: var(--fig-blue-60); text-decoration: underline; }
.pd-prev__new b { color: var(--fig-blue-60); }
/* スマホは上下に積むので下向き、600 以上は右向き。 */
.pd-prev__arrow { width: 14px; height: 14px; border-top: 3px solid var(--fig-blue-40); border-right: 3px solid var(--fig-blue-40); transform: rotate(135deg); }

/* ---------- この機種について（水色の面に引用符） ---------- */
.pd-about { position: relative; padding: 28px 24px 24px 64px; border-radius: 20px; background: var(--fig-blue-20); border: 2px solid var(--fig-blue-30); font-size: 17px; line-height: 1.9; color: var(--c-ink); }
/* 本文（.entry-content は 16px・行間1.9）を面の指定にそろえる。 */
.pd-about .entry-content { font-size: inherit; line-height: inherit; color: inherit; }
.pd-about__q { position: absolute; left: 18px; top: 6px; font-family: Georgia, serif; font-size: 64px; line-height: 1; color: var(--fig-blue-40); }

/* ---------------------------------------------------------------------
 * 同じ容量で比較するなら（水平3件）
 * 交換ページの機種カードと同じ白いカード（角丸20・枠なし）。
 * ------------------------------------------------------------------- */
.pd-compare { display: grid; gap: 16px; margin: 0; list-style: none; padding: 0; }
.pd-compare__link {
	display: flex;
	flex-direction: column;
	gap: 6px;
	height: 100%;
	padding: 20px;
	border-radius: 20px;
	background: #fff;
	transition: transform .15s ease, box-shadow .15s ease;
}
.pd-compare__link:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pd-compare__maker {
	align-self: flex-start;
	padding: 2px 12px;
	border-radius: 6px;
	background: var(--fig-blue-30);
	color: var(--fig-blue-60);
	font-size: 13px;
	font-weight: var(--fw-bold);
}
.pd-compare__model {
	font-family: var(--font-num);
	font-size: 20px;
	line-height: 1.3;
	font-weight: 800;
	color: var(--fig-blue-60);
	word-break: break-all;
}
/* 金額はオレンジ。カードの中なので黄色の面までは敷かない
 * （3枚とも黄色にすると、どれが答えか分からなくなる）。 */
.pd-compare__yen {
	font-size: 22px;
	line-height: 1.3;
	font-weight: 900;
	color: var(--c-warm);
}
.pd-compare__note {
	font-size: 14px;
	line-height: 1.7;
	font-weight: var(--fw-medium);
	color: var(--fig-gray-70);
}

/* =====================================================================
 * 機種検索TOP（2n）— archive-product.php
 * ---------------------------------------------------------------------
 * 絞り込みの入力欄（.cs-filter / .cs-field / .cs-select）と、0件のときの
 * 白い箱（.cs-empty）・件数（.cs-count）は共通部品。ここには 2n 固有だけを書く。
 * ===================================================================== */

/* おひさまエコキュートのチェック。分類「機能」の中の1つだが、
 * ワイヤーがこれだけ単独で指定しているので独立させている。
 * 文字は 16px を下回らない（iPhone が拡大して戻らなくなる）。 */
.pd-check {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 16px;
	line-height: 1.6;
	font-weight: var(--fw-bold);
	color: var(--fig-blue-60);
	cursor: pointer;
}
.pd-check input { width: 22px; height: 22px; accent-color: var(--fig-blue-40); }

/* --- よく選ばれている機種（3件） ---
 * 順位の丸は交換ページ「工事の流れ」の 01〜04 と同じ扱い。 */
.pd-rank { display: flex; flex-direction: column; gap: 12px; margin: 0; list-style: none; padding: 0; }
.pd-rank__link {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 20px;
	border-radius: 20px;
	background: #fff;
	transition: transform .15s ease, box-shadow .15s ease;
}
.pd-rank__link:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pd-rank__no {
	flex: none;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--c-brand);
	color: #fff;
	font-family: var(--font-num);
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
}
.pd-rank__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pd-rank__model {
	font-family: var(--font-num);
	font-size: 18px;
	line-height: 1.3;
	font-weight: 800;
	color: var(--fig-blue-60);
	word-break: break-all;
}
.pd-rank__spec { display: flex; flex-wrap: wrap; gap: 6px; }
.pd-rank__term {
	padding: 1px 10px;
	border-radius: 6px;
	background: var(--fig-blue-30);
	color: var(--fig-blue-60);
	font-size: 13px;
	font-weight: var(--fw-bold);
}
.pd-rank__yen {
	margin-left: auto;
	white-space: nowrap;
	font-size: 20px;
	font-weight: 900;
	color: var(--c-warm);
}

/* --- 機種の一覧 ---
 * 交換ページの機種カードと同じ白いカード（角丸20・枠なし）。 */
.pd-list { display: grid; gap: 16px; margin: 0; list-style: none; padding: 0; }
.pd-item {
	display: flex;
	flex-direction: column;
	gap: 8px;
	height: 100%;
	padding: 20px;
	border-radius: 20px;
	background: #fff;
	transition: transform .15s ease, box-shadow .15s ease;
}
.pd-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
/* 商品画像は白抜きなので、余白ごと収める（切り取らない）。 */
.pd-item__img { display: block; }
.pd-item__img img { width: 100%; height: auto; max-height: 200px; object-fit: contain; }
.pd-item__terms { display: flex; flex-wrap: wrap; gap: 6px; }
.pd-item__model {
	font-family: var(--font-num);
	font-size: 20px;
	line-height: 1.3;
	font-weight: 800;
	color: var(--fig-blue-60);
	word-break: break-all;
}
.pd-item__yen {
	font-size: 22px;
	line-height: 1.3;
	font-weight: 900;
	color: var(--c-warm);
}
.pd-item__yen small {
	margin-left: 6px;
	font-size: 13px;
	font-weight: var(--fw-medium);
	color: var(--fig-gray-50);
}
/* 本体価格の下に小さく添える工事費と総額（2026-10-31）。 */
.pd-item__total,
.pd-fv__total {
	font-size: 13px;
	line-height: 1.5;
	font-weight: var(--fw-medium);
	color: var(--fig-gray-50);
}
.pd-fv__total { margin-top: 4px; font-size: 14px; }
.pd-item__stock {
	margin-top: auto;
	font-size: 14px;
	font-weight: var(--fw-medium);
	color: var(--fig-gray-50);
}
.pd-item__stock b { color: var(--fig-blue-60); font-weight: var(--fw-bold); }

/* --- メーカーから探す ---
 * 9社のロゴで出す（ワイヤー 2n「9社ロゴ小」）。幅は取扱メーカー一覧（.mk-card__logo）と同じく
 * 縦横比の0.3乗に比例させ、横長のロゴだけ細く縮んで見えないようにする。ロゴが無いメーカーは社名の文字。 */
/* 9社なので、スマホも3列（2列だと最後の1社だけが1行に残る）。 */
.pd-makers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; list-style: none; padding: 0; }
.pd-maker {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-height: 72px;
	padding: 12px;
	border-radius: 20px;
	background: #fff;
	text-align: center;
	transition: transform .15s ease, box-shadow .15s ease;
}
.pd-maker:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
/* 「料金表（容量・タイプ別）を見る」は 375 幅で1字ぶん収まらず2行に折れていた。左右の余白を詰めて1行にする。 */
@media (max-width: 599.98px) { .pd-makers__price { padding-inline: 20px; } }
/* 1行に固定するのは 360 以上だけ。320 では収まらず横にはみ出すので、そこは折り返す。 */
@media (min-width: 360px) and (max-width: 599.98px) { .pd-makers__price { white-space: nowrap; } }
.pd-maker__logo { display: flex; align-items: center; justify-content: center; height: 32px; width: 100%; }
.pd-maker__logo img { display: block; width: calc(min(84%, 120px) * pow(var(--ratio, 4) / 9, .3)); max-height: 100%; height: auto; }
.pd-maker__name {
	font-size: 16px;
	line-height: 1.4;
	font-weight: var(--fw-bold);
	color: var(--fig-blue-60);
}

/* ---------------------------------------------------------------------
 * 機種選びに迷ったら（2026-10-14 jojiさんが3案から A案）
 * 3つの疑問を「Q」付きのカードで並べ、下に電話・無料見積もり。
 * スマホは「Q｜疑問と札」の横並びを縦に3枚、600 以上は中央寄せの縦積みを横に3枚。
 * ------------------------------------------------------------------- */
.pd-help { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.pd-help > li { display: flex; }
.pd-help__card {
	display: grid;
	grid-template-columns: 40px 1fr;
	grid-template-areas: "q t" "q s";
	align-items: center;
	column-gap: 14px;
	row-gap: 4px;
	width: 100%;
	padding: 16px 18px;
	border: 2px solid var(--fig-blue-30);
	border-radius: 16px;
	background: #fff;
	color: inherit;
	text-decoration: none;
}
a.pd-help__card { transition: border-color .15s ease; }
a.pd-help__card:hover { border-color: var(--fig-blue-40); }
.pd-help__q {
	grid-area: q;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--fig-blue-40);
	color: #fff;
	font-family: var(--font-num);
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
}
.pd-help__t {
	grid-area: t;
	font-size: 16px;
	line-height: 1.6;
	font-weight: var(--fw-bold);
	color: var(--fig-blue-60);
	word-break: auto-phrase;
}
/* 記事があるときは「記事を読む」＋矢印、無いときは灰色の札。 */
.pd-help__more,
.pd-help__soon { grid-area: s; justify-self: start; font-size: 13px; font-weight: var(--fw-bold); line-height: 1.6; }
.pd-help__more { display: inline-flex; align-items: center; gap: 6px; color: var(--fig-blue-40); }
.pd-help__more::after {
	content: "";
	width: 11px;
	height: 13px;
	background: currentColor;
	-webkit-mask: no-repeat center / contain url("../img/icon-arrow-fa.svg");
	mask: no-repeat center / contain url("../img/icon-arrow-fa.svg");
}
.pd-help__soon { padding: 1px 10px; border-radius: 999px; background: var(--fig-gray-10); color: var(--fig-gray-50); }
/* ボタンの上の一文は「＼ ／」ではさむ（jojiさんの指示 2026-10-19。10-17 の丸い吹き出しから変更）。
 * 斜線は文の左右に置き、文が2行になっても両脇に残るよう flex で並べる。 */
.pd-help__lead {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	align-self: center;
	max-width: 100%;
	font-size: 16px;
	line-height: 1.7;
	font-weight: var(--fw-bold);
	color: var(--fig-gray-70);
	text-align: center;
}
.pd-help__lead::before,
.pd-help__lead::after { flex: none; font-size: 1.3em; font-weight: var(--fw-bold); color: var(--fig-blue-40); }
.pd-help__lead::before { content: "＼"; }
.pd-help__lead::after  { content: "／"; }
.pd-help__lead-t span { display: inline-block; word-break: auto-phrase; text-wrap: balance; } /* 文の切れ目で折り返す（スマホで「ま｜す。」と割れないように） */
.pd-help__lead b { color: var(--fig-blue-60); font-weight: var(--fw-bold); }
/* ボタン2つ（template-parts/hero-cta.php）。FV の外なので幅と並びをここで決める。 */
.pd-help ~ .hero__cta { width: 100%; max-width: 560px; margin: 0 auto; }
.pd-help ~ .hero__cta .hero__cta-btn { width: auto; }

/* =====================================================================
 * PC（600 以上。交換ページ・TOP と同じ）
 * ===================================================================== */
@media (min-width: 600px) {
	/* --- 型番詳細 --- */
	.pd-fv__box { padding: 36px 40px; }
	.pd-fv__model { font-size: 52px; }
	.pd-fv__price b { font-size: 64px; }
	.pd-fv__photo img { max-height: 300px; }
	.pd-size .pd-tile__v { font-size: 18px; }
	.pd-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.pd-tile { padding-inline: 6px; }
	.pd-tile:last-child:nth-child(odd) { grid-column: auto; }
	.pd-tiles .pd-tile__v { font-size: clamp(16px, 2.2vw, 24px); }
	.pd-target { gap: 20px; }
	.pd-target:has(> li:nth-child(5)) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.pd-target:has(> li:nth-child(5)) > li:last-child:nth-child(odd) { grid-column: span 2; }
	.pd-target:has(> li:nth-child(5)) > li:nth-last-child(2):nth-child(3n+1) { grid-column: 2 / span 2; }
	.pd-target:has(> li:nth-child(5)) > li:last-child:nth-child(3n+1) { grid-column: 3 / span 2; }
	.pd-fv__model-sub { font-size: 18px; }
	.pd-target li { min-height: 180px; padding: 24px; font-size: 19px; gap: 16px; }
	.pd-target__check { width: 44px; height: 44px; }
	.pd-target__check::after { left: 16px; top: 9px; width: 10px; height: 19px; border-width: 0 4px 4px 0; }
	.pd-prev { padding: 36px 40px; }
	.pd-prev__list li { flex-direction: row; flex-wrap: wrap; gap: 10px 40px; }
	.pd-prev__arrow { transform: rotate(45deg); }
	.pd-prev__old b, .pd-prev__new b { font-size: 26px; }
	.pd-about { padding: 36px 40px 32px 88px; }
	.pd-about__q { left: 28px; top: 12px; font-size: 80px; }

	/* --- 比較3件を横一列 --- */
	.pd-compare { grid-template-columns: repeat(3, 1fr); gap: calc(20 * var(--u)); }
	.pd-compare__link { padding: calc(24 * var(--u)); gap: calc(8 * var(--u)); }
	.pd-compare__model { font-size: max(calc(16 * var(--ff)), calc(24 * var(--u))); }
	.pd-compare__yen { font-size: max(calc(19 * var(--ff)), calc(28 * var(--u))); }
	.pd-compare__note { font-size: max(calc(14 * var(--ff)), calc(16 * var(--u))); }

	/* ----- 機種検索TOP（2n） ----- */
	.pd-check { font-size: max(calc(14 * var(--ff)), calc(18 * var(--u))); }

	.pd-rank__link { padding: calc(20 * var(--u)) calc(32 * var(--u)); gap: calc(24 * var(--u)); }
	.pd-rank__no { width: calc(44 * var(--u)); height: calc(44 * var(--u)); font-size: max(calc(15 * var(--ff)), calc(22 * var(--u))); }
	.pd-rank__model { font-size: max(calc(16 * var(--ff)), calc(24 * var(--u))); }
	.pd-rank__term { font-size: max(calc(14 * var(--ff)), calc(14 * var(--u))); }
	.pd-rank__yen { font-size: max(calc(19 * var(--ff)), calc(28 * var(--u))); }

	/* 3列。4列にすると1枚が狭く、型番が2行に折れる。 */
	.pd-list { grid-template-columns: repeat(3, 1fr); gap: calc(20 * var(--u)); }
	.pd-item { padding: calc(24 * var(--u)); }
	.pd-item__model { font-size: max(calc(16 * var(--ff)), calc(24 * var(--u))); }
	.pd-item__yen { font-size: max(calc(18 * var(--ff)), calc(26 * var(--u))); }
	.pd-item__stock { font-size: max(calc(14 * var(--ff)), calc(15 * var(--u))); }

	.pd-makers { grid-template-columns: repeat(3, 1fr); gap: calc(16 * var(--u)); }
	.pd-maker { min-height: calc(88 * var(--u)); }
	.pd-maker__name { font-size: max(calc(14 * var(--ff)), calc(18 * var(--u))); }

	.pd-help { grid-template-columns: repeat(3, 1fr); gap: calc(24 * var(--u)); }
	.pd-help__card { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; grid-template-areas: "q" "t" "s"; justify-items: center; align-items: center; text-align: center; row-gap: calc(12 * var(--u)); padding: calc(32 * var(--u)) calc(24 * var(--u)); }
	.pd-help__q { width: calc(52 * var(--u)); height: calc(52 * var(--u)); font-size: max(calc(18 * var(--ff)), calc(26 * var(--u))); }
	.pd-help__t { font-size: max(calc(15 * var(--ff)), calc(20 * var(--u))); }
	.pd-help__more, .pd-help__soon { justify-self: center; font-size: max(calc(13 * var(--ff)), calc(15 * var(--u))); }
	.pd-help__lead { gap: calc(12 * var(--u)); font-size: max(calc(16 * var(--ff)), calc(22 * var(--u))); }
	.pd-help ~ .hero__cta { grid-template-columns: 1fr 1fr; grid-auto-flow: row; max-width: calc(640 * var(--u)); gap: calc(24 * var(--u)); }
	.pd-help ~ .hero__cta .hero__cta-btn { min-height: calc(72 * var(--u)); font-size: max(calc(16 * var(--ff)), calc(22 * var(--u))); }
}

/* =====================================================================
 * 1024 以上：型番詳細の FV は写真を左に、型番と価格を右に積む。電話と見積もりは横並び
 * ===================================================================== */
@media (min-width: 1024px) {
	.pd-fv__box { padding: 40px 48px; }
	.pd-fv__main { grid-template-columns: auto auto; grid-template-areas: "photo head" "photo body"; justify-content: center; align-items: center; column-gap: 64px; row-gap: 16px; }
	.pd-fv__main--nophoto { grid-template-columns: auto; grid-template-areas: "head" "body"; }
	.pd-fv__photo { grid-area: photo; }
	.pd-fv__head { grid-area: head; align-self: end; }
	.pd-fv__body { grid-area: body; align-self: start; }
	.pd-fv__photo img { max-height: 340px; }
	.pd-fv__cta { grid-template-columns: 1fr 1fr; gap: 20px; }
	.pd-target:has(> li:nth-child(4)):not(:has(> li:nth-child(5))) { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}
