@charset "UTF-8";

/* ==================================================

お見積りシミュレーション（form.css に追加して読み込む）

*/
/* 白い全画面で開くため、上は閉じるボタンの分あける */
main {
	padding-top: 6rem;
}
.quote {
	margin: 0 auto;
	max-width: 80rem;
}
/* 背景が白なので、入力欄・選択肢は枠線で区切る */
.quote select,
.quote input[type="text"],
.quote input[type="tel"] {
	border: 1px solid #BBB;
}
.quote strong {
	font-weight: 700;
}
input[type="tel"] {
	display: block;
	padding: 1.5rem 2rem;
	width: 100%;
	border-radius: 0.5rem;
	background-color: #FFF;
	font-size: 1.6rem;
	color: #000;
}

/* ==================================================

PROGRESS

*/
.quote-progress {
	margin-bottom: 2rem;
}
.quote-progress p {
	margin-bottom: 0.6rem;
	text-align: right;
	font-weight: 600;
	font-size: 1.3rem;
	letter-spacing: 0.1em;
}
.quote-progress ol {
	display: flex;
	gap: 0.4rem;
}
.quote-progress li {
	flex: 1 1 0;
	height: 0.4rem;
	background-color: #CCC;
	transition: background-color 0.3s ease;
}
.quote-progress li.done {
	background-color: #C00;
}

/* ==================================================

STEP

*/
.quote-step {
	display: none;
}
.quote-step.active {
	display: block;
}
.quote-step h3 {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #999;
	font-weight: 700;
	font-size: 2rem;
	color: #000;
}
.quote-step .step-no {
	padding: 0.3rem 0.8rem;
	background-color: #000;
	font-weight: 600;
	font-size: 1.2rem;
	letter-spacing: 0.1em;
	color: #FFF;
}
.quote .note {
	margin-bottom: 1.5rem;
	font-size: 1.4rem;
	color: #666;
}
.quote .field {
	margin-bottom: 1.5rem;
}
.quote .field .title {
	margin-bottom: 0.5rem;
	font-weight: 600;
	font-size: 1.4rem;
}
.quote .field-group {
	margin-top: 2.5rem;
}

/* 選択肢 */
.radio-list {
	margin-bottom: 1.5rem;
}
.radio-list label {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	margin-bottom: 1rem;
	padding: 1.6rem 2rem;
	border: 2px solid #E0E0E0;
	border-radius: 0.5rem;
	background-color: #FFF;
	color: #000;
	cursor: pointer;
	transition: border-color 0.2s ease;
}
.radio-list label .name {
	flex: 1 1 auto;
}
.radio-list label .price {
	flex: 0 0 auto;
	font-weight: 600;
	white-space: nowrap;
}
.radio-list label.checked {
	border-color: #C00;
}
.radio-list label.disabled {
	opacity: 0.5;
	cursor: not-allowed;
}
.radio-list input[type="radio"] {
	flex: 0 0 2rem;
	width: 2rem;
	height: 2rem;
	border: 1px solid #999;
	border-radius: 50%;
	background-color: #FFF;
}
.radio-list input[type="radio"]:checked {
	border-color: #C00;
	background-color: #C00;
	box-shadow: inset 0 0 0 0.4rem #FFF;
}

/* ローン条件 */
.sub-block,
.sub-step {
	display: none;
}
.sub-block {
	margin-bottom: 1.5rem;
	padding: 2rem;
	border: 1px solid #CCC;
	border-radius: 0.5rem;
}
.sub-block.open,
.sub-step.open {
	display: block;
}
.sub-block .note {
	margin-bottom: 0;
}

/* 特別仕様・付属品 */
.quote-custom-list .custom-row {
	display: flex;
	gap: 1rem;
	margin-bottom: 1rem;
}
.quote-custom-list .c-name {
	flex: 3 1 0;
	min-width: 0;
}
.quote-custom-list .c-price {
	flex: 2 1 0;
	min-width: 0;
}
.quote-add-row {
	display: inline-block;
	padding: 1rem 2rem;
	border: 1px solid #BBB;
	border-radius: 0.5rem;
	background-color: #FFF;
	font-weight: 600;
	font-size: 1.4rem;
	color: #000;
}

/* ボタン */
.quote-nav {
	flex-wrap: wrap;
}
.quote-nav .btn-print {
	justify-content: center;
	background-color: #FFF;
	color: #000;
}
.quote-nav .btn-back,
.quote-nav .btn-print {
	border: 1px solid #000;
}
.quote-result-nav a,
.quote-result-nav button {
	width: 24rem;
}
/* 結果画面のボタン：文字は中央。矢印は「条件を変更する」の左だけ（文字に重ならないよう並べて置く） */
.form-foot.quote-result-nav button {
	justify-content: center;
	gap: 0.8rem;
	padding: 0 1.5rem;
}
.form-foot.quote-result-nav button i {
	position: static;
	margin-top: 0;
}

/* ==================================================

RESULT

*/
.quote-result {
	display: none;
}
.quote-result.active {
	display: block;
}
.quote-result .grand {
	margin-bottom: 3rem;
	padding: 2.4rem 2rem;
	border-top: 4px solid #C00;
	background-color: #F5F5F5;
	text-align: center;
	color: #000;
}
.quote-result .grand .t {
	font-weight: 700;
	font-size: 1.6rem;
}
.quote-result .grand .v {
	margin-top: 0.5rem;
	font-weight: 700;
	font-size: 4.4rem;
	line-height: 1.2;
	color: #C00;
}
.quote-result .grand .v span {
	margin-left: 0.2rem;
	font-size: 2rem;
	color: #000;
}
.quote-result h3 {
	margin: 3rem 0 1rem;
	font-weight: 700;
	font-size: 1.8rem;
	color: #000;
}
.quote-result table {
	width: 100%;
	border-bottom: 1px solid #999;
}
.quote-result table th,
.quote-result table td {
	padding: 1.2rem 0;
	border-top: 1px solid #999;
	vertical-align: middle;
	text-align: left;
	font-size: 1.5rem;
}
.quote-result table td {
	padding-left: 2rem;
	text-align: right;
	white-space: nowrap;
}
.quote-result table tr.sub th,
.quote-result table tr.sub td {
	border-top-color: #DDD;
	font-size: 1.4rem;
	color: #666;
}
.quote-result table tr.sub th {
	padding-left: 1.5rem;
}
.quote-result table tr:not(.sub) th,
.quote-result table tr:not(.sub) td {
	font-weight: 600;
	color: #000;
}
.quote-result table tr.total th,
.quote-result table tr.total td {
	font-weight: 700;
	font-size: 1.7rem;
	color: #C00;
}
.quote-result .by-user {
	font-size: 1.2rem;
	color: #999;
}
.quote-result .small-note {
	margin-top: 0.8rem;
	font-size: 1.2rem;
	color: #666;
}

/* 月々支払額一覧 */
.sched {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}
.sched table {
	flex: 1 1 0;
	min-width: 20rem;
	border: 1px solid #EEE;
	background-color: #FFF;
}
.quote-result .sched table th,
.quote-result .sched table td {
	padding: 0.3rem 0.8rem;
	border-top: 0;
	border-bottom: 1px solid #EEE;
	font-weight: 400;
	font-size: 1.2rem;
	color: #333;
}
.quote-result .sched table thead th {
	background-color: #000;
	text-align: center;
	white-space: nowrap;
	font-weight: 600;
	color: #FFF;
}
.sched table td.c {
	text-align: center;
	color: #888;
}
.sched table td.r {
	text-align: right;
}

.quote-result .notes {
	margin-top: 3rem;
	padding: 2rem;
	border-radius: 0.5rem;
	background-color: #F5F5F5;
}
.quote-result .notes p {
	margin-bottom: 0.5rem;
	font-size: 1.2rem;
	line-height: 1.7;
	color: #666;
}
.quote-result .notes p:last-child {
	margin-bottom: 0;
}
.quote-result .made-date {
	margin-top: 1rem;
	text-align: right;
	font-size: 1.2rem;
	color: #666;
}

/* ==================================================

SP

*/
@media screen and (max-width: 781px) {
	input[type="tel"] {
		padding: 1rem 1rem;
		font-size: 1.4rem;
	}
	.quote-step h3 {
		font-size: 1.8rem;
	}
	.quote .note {
		font-size: 1.3rem;
	}
	.radio-list label {
		gap: 1rem;
		padding: 1.2rem 1.4rem;
		font-size: 1.4rem;
	}
	.sub-block {
		padding: 1.5rem;
	}
	.quote-result-nav a,
	.quote-result-nav button {
		width: 30rem;
	}
	.quote-result .grand .v {
		font-size: 3.6rem;
	}
	.quote-result h3 {
		font-size: 1.6rem;
	}
	.quote-result table th,
	.quote-result table td {
		font-size: 1.4rem;
	}
	.quote-result table tr.sub th,
	.quote-result table tr.sub td {
		font-size: 1.3rem;
	}
	.quote-result table tr.sub th {
		padding-left: 1rem;
	}
	.sched table {
		flex-basis: 100%;
	}
}

/* ==================================================

PDF（印刷）

*/
@media print {
	main {
		padding: 0;
	}
	.quote select,
	.quote input[type="text"],
	.quote input[type="tel"] {
		border: 0;
	}
	.quote-progress,
	.quote-nav,
	.form-close {
		display: none !important;
	}
	.quote-result .grand,
	.quote-result .notes {
		border: 1px solid #999;
	}
}
