/* estimate-total.css（2026/09 新価格表示）設置先: /common/css/estimate-total.css */

.estimate #bottomFix .newPriceBox {
	float: left;
	width: 100%;
	text-align: center;
	padding: 8px 0 6px;
}
.estimate #bottomFix .newPriceBox .npLead {
	font-size: 17px;
	font-weight: 700;
	color: #312E2E;
	margin: 0 0 6px;
	line-height: 1.3;
}
.estimate #bottomFix .newPriceBox .npLead .priceDown strong {
	font-size: 30px;
	font-weight: 900;
	color: #EA5450;
	margin: 0 2px;
}
.estimate #bottomFix .newPriceBox .npPrice {
	margin: 0;
	line-height: 1.2;
}
.estimate #bottomFix .newPriceBox .estTotal {
	font-size: 42px;
	font-weight: 900;
	color: #EA5450;
	letter-spacing: .02em;
}
.estimate #bottomFix .newPriceBox .yen {
	font-size: 20px;
	font-weight: 900;
	color: #EA5450;
	margin-left: 2px;
}
.estimate #bottomFix .newPriceBox .npTax {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: #312E2E;
	margin: 4px 0 0;
}

@media screen and (max-width: 768px) {
	.estimate #bottomFix .newPriceBox { padding: 2px 0 0; }
	.estimate #bottomFix .newPriceBox .npLead { font-size: 12px; margin: 0 0 2px; }
	.estimate #bottomFix .newPriceBox .npLead .priceDown strong { font-size: 20px; }
	.estimate #bottomFix .newPriceBox .estTotal { font-size: 28px; }
	.estimate #bottomFix .newPriceBox .yen { font-size: 14px; }
	.estimate #bottomFix .newPriceBox .npTax { font-size: 11px; margin: 2px 0 0; }
}

/* ===== 2026/09/30 設備保証画像・レイアウト ===== */
/* 保証画像は最終項目を選ぶまで非表示（calc.jsが #bottomFix に is-done を付ける） */
.estimate #bottomFix .hoshoImg { display: none; }
.estimate #bottomFix .hoshoImg img {
	width: 100%;       /* #bottomFix img の width:200px を上書き */
	max-width: 100%;
	height: auto;
	display: block;
}

/* ---------- PC ---------- */
@media screen and (min-width: 769px) {
	/* 3列グリッド：左［写真＋選択項目＋保証画像］／中［金額］／右［ボタン］
	   すべて縦方向中央揃え → 金額とボタンは互いに中央、2つ合わせて左列に対して中央 */
	.estimate #bottomFix .estpriceArea {
		display: grid;
		grid-template-columns: 400px 1fr 250px;
		column-gap: 20px;
		align-items: center;
	}
	.estimate #bottomFix .estpriceArea::before,
	.estimate #bottomFix .estpriceArea::after { content: none; display: none; } /* clearfixの疑似要素をグリッドから除外 */
	.estimate #bottomFix .flexboxSP { display: contents; }
	.estimate #bottomFix .leftCol { float: none; width: auto; }
	.estimate #bottomFix .leftCol::after { content: ""; display: block; clear: both; }
	.estimate #bottomFix .estpriceArea .box {
		float: none;
		width: auto;
		margin: 0;
	}
	.estimate #bottomFix #bottomSubmit {
		float: none;
		width: 250px;
		margin: 0;
	}
	.estimate #bottomFix .hoshoImg.sp,
	.estimate #bottomFix .bottomSubComment.sp { display: none; }
	.estimate #bottomFix.is-done .hoshoImg.pc {
		display: block;
		clear: both;
		padding: 8px 0 0;
	}
	/* 注意書き：金額の下で中央揃え */
	.estimate #bottomFix .bottomSubComment.pc {
		text-align: center;
		margin: 8px 0 0;
	}
}

/* ---------- SP ---------- */
@media screen and (max-width: 768px) {
	/* 枠を解除して従来のレイアウトのまま */
	.estimate #bottomFix .leftCol {
		float: none;
		width: auto;
		display: contents;
	}
	/* 「諸経費込み！」の下に、帯と同じ横幅で中央配置 */
	.estimate #bottomFix.is-done .hoshoImg.sp {
		display: block;
		clear: both;
		width: 100%;
		text-align: center;
		padding: 8px 0 0;
	}
}