.estimate-test-note {
	background: #fff4d6;
	border: 1px solid #caa21d;
	color: #5a442c;
	text-align: center;
	padding: 12px 16px;
	margin: 0 0 24px;
	font-size: 14px;
	font-weight: 500;
}

#estimate-top {
	padding-top: 40px;
	padding-bottom: 40px;
}

#estimate.estimate-card,
#estimate-top #estimate.estimate-card {
	position: relative;
	z-index: 3;
	max-width: 980px;
	margin: 0 auto;
	padding: 36px 40px 24px;
	background: #fbf6ea;
	border: 2px solid #efe3cc;
	border-radius: 28px;
	box-shadow: 0 8px 24px rgba(90, 68, 44, 0.06);
	overflow: hidden;
}

.estimate-card-paw {
	position: absolute;
	z-index: 1;
	pointer-events: none;
	line-height: 0;
}

.estimate-card-paw svg {
	display: block;
	width: 100%;
	height: 100%;
}

.estimate-card-paw-1 {
	top: 18px;
	left: 36px;
	width: 52px;
	height: 52px;
	transform: rotate(-22deg);
	opacity: 0.92;
}

.estimate-card-paw-2 {
	top: 68px;
	left: 92px;
	width: 38px;
	height: 38px;
	transform: rotate(18deg);
	opacity: 0.92;
}

.estimate-card-lead {
	position: relative;
	z-index: 2;
	margin: 4px 0 6px;
	text-align: center;
	font-size: 16px;
	font-weight: 700;
	color: #5a3d28;
	letter-spacing: 0.04em;
}

.estimate-card-title {
	position: relative;
	z-index: 2;
	margin: 0 0 8px;
	text-align: center;
	font-weight: bold !important;
	font-size: 40px;
	font-weight: 400;
	line-height: 1.4;
	color: #c9a24a;
	letter-spacing: 0.06em;
}

.estimate-card-title span {
	color: #5a3d28;
}

.estimate-card-sub {
	position: relative;
	z-index: 2;
	margin: 0 0 22px;
	text-align: center;
	font-size: 14px;
	font-weight: 500;
	color: #5a3d28;
}

.estimate-fields {
	display: grid;
	grid-template-columns: 1.15fr 1fr 0.95fr;
	gap: 12px;
	margin: 0 0 16px;
}

.estimate-field {
	position: relative;
	min-width: 0;
}

.estimate-field input,
.estimate-field select {
	-webkit-appearance: none;
	appearance: none;
	display: block;
	width: 100%;
	height: 48px;
	margin: 0;
	padding: 8px 14px;
	border: 2px solid #c4a06a;
	border-radius: 10px;
	background: #fff;
	color: #8a6a48;
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
}

.estimate-field input:focus,
.estimate-field select:focus {
	outline: 0;
	border-color: #c4a06a;
}

.estimate-field input::placeholder {
	color: #b08a62;
	opacity: 1;
}

#estimate.estimate-card .estimate-field-select select {
	padding: 8px 14px 8px 44px;
	text-indent: 0;
}

.estimate-field-icon {
	position: absolute;
	top: 24px;
	left: 14px;
	z-index: 2;
	width: 20px;
	height: 20px;
	margin-top: -10px;
	pointer-events: none;
	line-height: 0;
}

.estimate-field-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.estimate-field input.inp_error,
.estimate-field select.inp_error {
	border-color: #f88a8a;
	background: #f4d4d4;
}

#estimate.estimate-card .error_m {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	font-weight: normal;
	color: #ff4040;
}

.estimate-coupon {
	margin: 0 0 22px;
	line-height: 0;
}

.estimate-coupon img {
	display: block;
	width: 100%;
	height: auto;
}

.estimate-btn-wrap {
	margin: 8px 0 16px;
	text-align: center;
}

.estimate-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-width: 280px;
	padding: 14px 48px;
	border: 0;
	border-radius: 999px;
	background: #c45c2a;
	color: #fff;
	font-family: inherit;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.08em;
	cursor: pointer;
	box-shadow: 0 4px 0 #a84a20;
}

.estimate-submit:hover {
	opacity: 0.92;
}

.estimate-submit-icon {
	display: inline-block;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 8px 0 8px 14px;
	border-color: transparent transparent transparent #fff;
}

.estimate-remarks {
	margin: 0;
	padding: 0 8px 8px;
	text-align: center;
	font-size: 11px;
	line-height: 1.7;
	color: #7a6248;
}

.estimate-remarks a {
	color: inherit;
	text-decoration: underline;
}

#estimate.estimate-card .estimate-test-options {
	background: #fff8e1;
	border: 1px solid #ffe082;
	padding: 16px 18px 8px;
	margin: 0 0 18px;
	text-align: left;
	border-radius: 12px;
}

#estimate.estimate-card .estimate-test-options h3 {
	margin: 0 0 8px;
	font-size: 16px;
	color: #5a442c;
}

#estimate.estimate-card .estimate-test-options-note,
#estimate.estimate-card .estimate-test-options-meta {
	font-size: 13px;
	font-weight: normal;
	color: #5a442c;
	margin: 0 0 12px;
	line-height: 1.6;
}

#estimate.estimate-card .estimate-test-options label {
	display: block;
	margin: 12px 0 4px;
	font-weight: bold;
	color: #5a442c;
}

#estimate.estimate-card .estimate-test-options .select-box {
	position: relative;
	margin-bottom: 8px;
}

#estimate.estimate-card .estimate-test-options .select-box::after {
	position: absolute;
	content: "▼";
	top: 50%;
	right: 12px;
	transform: translateY(-50%);
	color: #5a442c;
	font-size: 12px;
	pointer-events: none;
}

#estimate.estimate-card .estimate-test-options select {
	width: 100%;
	height: 40px;
	padding: 8px 32px 8px 10px;
	border: 2px solid #c4a06a;
	border-radius: 10px;
	background: #fff;
	color: #5a442c;
}

#estimate.estimate-card .estimate-test-check {
	display: flex;
	align-items: center;
	font-weight: normal !important;
	margin-top: 16px !important;
}

#estimate.estimate-card .estimate-test-check input[type="checkbox"] {
	width: auto;
	height: auto;
	margin-right: 8px;
	border: 0;
}

.estimate-test-result {
	background: #faf6ee;
	border: 1px solid #caa21d;
	padding: 16px 20px;
	margin: 0 0 30px;
	text-align: left;
}

.estimate-test-result h3 {
	margin: 0 0 12px;
	color: #5a442c;
	font-size: 18px;
}

.estimate-test-ok,
.estimate-test-warn,
.estimate-test-note-inline {
	padding: 10px 12px;
	margin-bottom: 10px;
	line-height: 1.6;
}

.estimate-test-ok {
	background: #e8f5e9;
	border: 1px solid #a5d6a7;
}

.estimate-test-warn {
	background: #ffebee;
	border: 1px solid #ef9a9a;
}

.estimate-test-note-inline {
	background: #fff8e1;
	border: 1px solid #ffe082;
}

.estimate-test-pre {
	background: #f5f5f5;
	padding: 12px;
	overflow: auto;
	font-size: 12px;
	white-space: pre-wrap;
	word-break: break-word;
}

#estimate-complete .session10text {
	text-align: center;
	line-height: 1.8;
	color: #5a442c;
}

#estimate-complete .session10text .detail {
	font-size: 12px;
	color: #c00;
}

#estimate-complete .phone_box {
	border: solid #c00 3px;
	padding: 20px 30px;
	width: 60%;
	margin: 30px auto 0;
	line-height: 1.72;
	text-align: center;
}

#estimate-complete .phone_box .phone_text {
	font-weight: bold;
}

#estimate-complete .phone_box .phone_num {
	font-size: 40px;
	font-weight: bold;
	color: #c00;
}

#estimate-complete #simulation_plan.plan {
	display: block;
	margin-top: 0;
}

#estimate-complete .plan_list ul li {
	position: relative;
}

#estimate-complete .simulation_text {
	text-align: center;
	color: #5a442c;
	margin-bottom: 20px;
}

@media (max-width: 768px) {
	#estimate.estimate-card,
	#estimate-top #estimate.estimate-card {
		padding: 28px 16px 18px;
		border-radius: 20px;
	}

	.estimate-card-paw-1 {
		top: 10px;
		left: 12px;
		width: 36px;
		height: 36px;
	}

	.estimate-card-paw-2 {
		top: 46px;
		left: 48px;
		width: 26px;
		height: 26px;
	}

	.estimate-card-lead {
		font-size: 13px;
		padding: 0 24px;
	}

	.estimate-card-title {
		font-size: 28px;
	}

	.estimate-card-sub {
		font-size: 12px;
		padding: 0 8px;
	}

	.estimate-fields {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.estimate-submit {
		width: 100%;
		min-width: 0;
		font-size: 16px;
		padding: 14px 24px;
	}

	.estimate-remarks {
		font-size: 10px;
		text-align: left;
	}

	#estimate-complete .phone_box {
		width: 100%;
		padding: 15px 8px;
	}

	#estimate-complete .phone_box .phone_num {
		font-size: 28px;
	}
}
