/* さくらハイム 概算見積もり
   サイトカラー：赤 #d9010e / 水色 #4bb6d1 / 黄 #fdf663 / 文字 #191103 */
.est-tool {
	--est-ink: #191103;
	--est-muted: #707070;
	--est-line: #b4e0eb;
	--est-paper: #fff;
	--est-accent: #d9010e;
	--est-accent-deep: #b4010b;
	--est-cyan: #4bb6d1;
	--est-cyan-soft: #b4e0eb;
	--est-yellow: #fdf663;
	margin: 3% auto;
	padding: 0;
	max-width: 820px;
	background: var(--est-paper);
	border: 2px solid var(--est-cyan);
	border-radius: 0;
	box-shadow: rgba(0, 0, 0, .12) 2px 4px 8px;
	position: relative;
}
.est-tool::before {
	content: "";
	position: absolute;
	inset: 6px;
	border: 1px solid var(--est-cyan-soft);
	pointer-events: none;
	z-index: 0;
}
.est-tool > * {
	position: relative;
	z-index: 1;
}

.est-tool__toggle {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 28px 24px 24px;
	background: transparent;
	border: 0;
	cursor: pointer;
	text-align: center;
}
.est-tool__toggle:hover {
	background: rgba(75, 182, 209, 0.08);
}
.est-tool.is-open .est-tool__toggle {
	border-bottom: 1px solid var(--est-line);
	padding-bottom: 20px;
}
.est-tool__illust {
	flex: none;
	width: 96px;
	height: 96px;
	margin: 0 auto;
	border-radius: 50%;
	overflow: hidden;
	background: #fff;
	border: 3px solid var(--est-cyan);
}
.est-tool__illust img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.est-tool__ttl-wrap {
	width: 100%;
}
.est-tool__ttl {
	display: block;
	margin: 0;
	font-family: "Noto Serif JP", serif;
	font-size: 26px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.4;
	color: var(--est-ink);
}
.est-tool__eyebrow {
	display: block;
	font-family: "Noto Serif JP", serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--est-cyan);
	margin-bottom: 0.35em;
}
.est-tool__cat {
	display: block;
}
.est-tool__open-label {
	display: none;
}
.est-tool__toggle-meta {
	display: block;
	margin-top: 0.6em;
	font-size: 12px;
	color: var(--est-muted);
	letter-spacing: 0.08em;
}
.est-tool__toggle-meta::before,
.est-tool__toggle-meta::after {
	content: "―";
	margin: 0 0.6em;
	color: var(--est-cyan-soft);
}
.est-tool__toggle-icon {
	width: 22px;
	height: 22px;
	position: relative;
	margin-top: 4px;
}
.est-tool__toggle-icon::before,
.est-tool__toggle-icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	background: var(--est-accent);
	transform: translate(-50%, -50%);
	transition: opacity 0.2s ease;
}
.est-tool__toggle-icon::before {
	width: 16px;
	height: 2px;
}
.est-tool__toggle-icon::after {
	width: 2px;
	height: 16px;
}
.est-tool.is-open .est-tool__toggle-icon::after {
	opacity: 0;
}

.est-tool__body {
	padding: 36px 40px 44px;
	text-align: center;
}

.est-tool__intro {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	margin: 0 auto 2em;
	padding: 0 0 1.6em;
	max-width: 36em;
	border-bottom: 1px solid var(--est-line);
}
.est-tool__intro-img {
	width: 110px;
	height: 110px;
	border-radius: 50%;
	overflow: hidden;
	background: #fff;
	border: 3px solid var(--est-cyan-soft);
}
.est-tool__intro-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.est-tool__lead {
	font-size: 15px;
	line-height: 1.95;
	margin: 0 0 0.5em;
	color: var(--est-ink);
}
.est-tool__note {
	font-size: 12px;
	color: var(--est-muted);
	margin: 0;
	line-height: 1.8;
}

.est-tool__steps {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 0;
	list-style: none;
	margin: 0 auto 2.2em;
	padding: 0;
	max-width: 520px;
}
.est-tool__steps li {
	flex: 1;
	text-align: center;
	padding: 0 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: #aaa;
	position: relative;
}
.est-tool__steps li:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 14px;
	left: calc(50% + 18px);
	right: calc(-50% + 18px);
	height: 2px;
	background: var(--est-cyan-soft);
}
.est-tool__steps li::before {
	content: attr(data-step-label);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin: 0 auto 8px;
	border: 2px solid var(--est-cyan-soft);
	border-radius: 50%;
	font-size: 13px;
	background: #fff;
	color: #888;
	position: relative;
	z-index: 1;
}
.est-tool__steps li.is-active {
	color: var(--est-ink);
}
.est-tool__steps li.is-active::before {
	border-color: var(--est-cyan);
	background: var(--est-cyan);
	color: #fff;
}
.est-tool__steps li.is-done {
	color: var(--est-cyan);
}
.est-tool__steps li.is-done::before {
	content: "✓";
	border-color: var(--est-cyan);
	background: #fff;
	color: var(--est-cyan);
	font-size: 12px;
}

.est-panel {
	display: none;
	text-align: center;
}
.est-panel.is-active {
	display: block;
}

.est-field {
	margin: 0 auto 1.5em;
	max-width: 520px;
	text-align: left;
}
.est-field > label {
	display: block;
	font-weight: 700;
	margin-bottom: 0.55em;
	letter-spacing: 0.06em;
	color: var(--est-ink);
	text-align: center;
	font-size: 15px;
}
.est-field > label span {
	color: var(--est-accent);
	font-size: 12px;
	margin-left: 8px;
	font-weight: 700;
}
.est-field input[type="text"],
.est-field input[type="email"],
.est-field input[type="tel"],
.est-field input[type="number"],
.est-field textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: 12px 14px;
	border: 0;
	border-bottom: 2px solid var(--est-cyan-soft);
	border-radius: 0;
	font-size: 15px;
	background: transparent;
	color: var(--est-ink);
	text-align: center;
}
.est-field textarea {
	text-align: left;
	border: 1px solid var(--est-cyan-soft);
	min-height: 110px;
	padding: 12px;
}
.est-field input:focus,
.est-field textarea:focus {
	outline: none;
	border-color: var(--est-cyan);
}
.est-hint {
	font-size: 12px;
	color: var(--est-muted);
	margin: 0.5em 0 0;
	line-height: 1.7;
	text-align: center;
}

.est-choices {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 12px;
}
.est-choices--stack {
	flex-direction: column;
	align-items: stretch;
	max-width: 420px;
	margin: 0 auto;
}
.est-choices label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 18px;
	border: 1px solid var(--est-cyan-soft);
	background: #fff;
	cursor: pointer;
	font-size: 14px;
	line-height: 1.55;
	color: var(--est-ink);
	text-align: left;
	max-width: 100%;
	transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.est-choices--stack label {
	justify-content: flex-start;
	padding-left: 16px;
}
.est-choices label:hover {
	border-color: var(--est-cyan);
}
.est-choices label:has(input:checked) {
	border-color: var(--est-cyan);
	background: rgba(75, 182, 209, 0.12);
	color: var(--est-ink);
	box-shadow: inset 4px 0 0 var(--est-cyan);
}

.est-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin-top: 2.2em;
}

.est-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 200px;
	padding: 14px 28px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.1em;
	border-radius: 0;
	cursor: pointer;
	border: 2px solid transparent;
	transition: 0.2s ease;
	font-family: "Noto Serif JP", serif;
}
.est-btn--primary {
	background: var(--est-yellow);
	border-color: var(--est-yellow);
	color: var(--est-ink);
	box-shadow: rgba(0, 0, 0, .18) 2px 3px 6px;
}
.est-btn--primary:hover {
	background: #f4ec3a;
	border-color: #f4ec3a;
}
.est-btn--ghost {
	background: transparent;
	border-color: var(--est-cyan);
	color: var(--est-cyan);
}
.est-btn--ghost:hover {
	background: var(--est-cyan);
	color: #fff;
}
.est-btn--mail {
	background: var(--est-accent);
	border-color: var(--est-accent);
	color: #fff;
	min-width: 240px;
}
.est-btn--mail:hover {
	background: var(--est-accent-deep);
	border-color: var(--est-accent-deep);
}
.est-btn:disabled {
	opacity: 0.55;
	cursor: wait;
}

.est-result__box {
	max-width: 520px;
	margin: 0 auto;
	padding: 1.8em 1.4em 1.5em;
	background: #fff;
	border: 2px solid var(--est-cyan);
	text-align: center;
	position: relative;
}
.est-result__box::before {
	content: "概算";
	position: absolute;
	top: 12px;
	right: 12px;
	width: 48px;
	height: 48px;
	border: 2px solid rgba(217, 1, 14, 0.55);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: rgba(217, 1, 14, 0.8);
	transform: rotate(12deg);
	pointer-events: none;
}
.est-result__visual {
	width: 84px;
	height: 84px;
	margin: 0 auto 1em;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid var(--est-cyan-soft);
	background: #fff;
}
.est-result__visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.est-result__label {
	font-family: "Noto Serif JP", serif;
	font-weight: 700;
	margin: 0 0 0.4em;
	letter-spacing: 0.12em;
	color: var(--est-muted);
	font-size: 13px;
}
.est-result__price {
	font-family: "Noto Serif JP", serif;
	font-size: 30px;
	font-weight: 700;
	color: var(--est-ink);
	margin: 0.15em 0 0.2em;
	line-height: 1.35;
}
.est-result__price span {
	color: var(--est-accent);
}
.est-result__price small {
	font-size: 15px;
	margin-left: 4px;
	color: var(--est-muted);
	font-weight: 700;
}
.est-result__mid {
	font-size: 13px;
	color: var(--est-muted);
	margin: 0 0 1.3em;
}
.est-result__list {
	list-style: none;
	margin: 0 auto 1em;
	padding: 0.4em 0 0;
	text-align: left;
	border-top: 1px solid var(--est-line);
}
.est-result__list li {
	display: flex;
	justify-content: space-between;
	gap: 1em;
	padding: 0.7em 0.2em;
	border-bottom: 1px dotted var(--est-cyan-soft);
	font-size: 13px;
}
.est-result__list li:last-child {
	border-bottom: 0;
}
.est-result__list li span {
	color: var(--est-muted);
	flex: 0 0 38%;
}
.est-result__list li strong {
	font-weight: 700;
	text-align: right;
	color: var(--est-ink);
}
.est-result__note {
	font-size: 12px;
	color: var(--est-muted);
	line-height: 1.8;
	margin: 1em 0 0;
}
.est-result__next {
	margin: 1.4em auto 0;
	padding: 1em 0 0;
	max-width: 28em;
	border-top: 1px solid var(--est-line);
}
.est-result__next p {
	margin: 0;
	font-size: 13px;
	line-height: 1.9;
	color: #555;
}
.est-result__next strong {
	display: block;
	margin-bottom: 0.35em;
	color: var(--est-accent);
	letter-spacing: 0.1em;
}

.est-contact {
	max-width: 520px;
	margin: 0 auto;
	background: #fff;
	border: 2px solid var(--est-cyan);
	padding: 1.8em 1.5em;
	text-align: center;
}
.est-contact__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin: 0 0 1.4em;
	padding-bottom: 1.2em;
	border-bottom: 1px solid var(--est-line);
}
.est-contact__img {
	width: 88px;
	height: 88px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid var(--est-cyan-soft);
}
.est-contact__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.est-contact__lead {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	color: var(--est-ink);
	line-height: 1.9;
}
.est-contact__points {
	display: block;
	margin: 0.4em 0 0;
	padding: 0;
	list-style: none;
	font-size: 12px;
	color: var(--est-muted);
}
.est-contact__points li {
	display: inline;
	font-weight: 700;
}
.est-contact__points li:not(:last-child)::after {
	content: " ／ ";
	color: var(--est-cyan-soft);
}
.est-agree {
	font-weight: 400 !important;
	font-size: 12px;
	line-height: 1.8;
	display: flex !important;
	align-items: flex-start;
	gap: 8px;
	color: #555;
	text-align: left !important;
}
.est-agree input {
	margin-top: 3px;
}
.est-error {
	color: var(--est-accent);
	font-size: 13px;
	margin: 0.5em 0 0;
	text-align: center;
}
.est-done {
	text-align: center;
	padding: 2.4em 1em;
	background: #fff;
	border: 2px solid var(--est-cyan);
	max-width: 420px;
	margin: 0 auto;
}
.est-done__ttl {
	font-family: "Noto Serif JP", serif;
	font-size: 24px;
	font-weight: 700;
	color: var(--est-accent);
	margin: 0 0 0.8em;
}

.est-tool .hp-field {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
}

.est-entry {
	margin: 8% auto 6%;
}
.est-entry__lead {
	text-align: center;
	font-size: 15px;
	line-height: 2;
	margin: 0 auto 5%;
	max-width: 36em;
	color: #555;
}
.est-entry__block {
	margin: 0 auto 3%;
	max-width: 820px;
}
.est-entry__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	margin: 0 0 1.2em;
	padding: 0 0 1.4em;
	border-bottom: 1px solid var(--est-line, #b4e0eb);
	text-align: center;
	position: relative;
}
.est-entry__head::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -3px;
	transform: translateX(-50%);
	width: 48px;
	height: 6px;
	background: var(--est-yellow, #fdf663);
	box-shadow: rgba(0, 0, 0, .2) 1px 2px 4px;
}
.est-entry__illust {
	flex: none;
	width: 108px;
	height: 108px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid var(--est-cyan, #4bb6d1);
	background: #fff;
}
.est-entry__cat {
	font-family: "Noto Serif JP", serif;
	font-size: 28px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #191103;
	margin: 0 0 0.35em;
	line-height: 1.35;
	text-align: center;
}
.est-entry__sub {
	font-size: 13px;
	color: #707070;
	margin: 0 auto;
	max-width: 28em;
	line-height: 1.9;
	text-align: center;
}
.est-entry .est-tool {
	margin: 0 auto;
}
.est-entry .est-tool__illust,
.est-entry .est-tool__eyebrow,
.est-entry .est-tool__cat {
	display: none;
}
.est-entry .est-tool__open-label {
	display: block;
	font-family: "Noto Serif JP", serif;
	font-size: 20px;
	font-weight: 700;
	color: var(--est-ink);
	letter-spacing: 0.08em;
}

@media screen and (max-width: 768px) {
	.est-tool__body {
		padding: 28px 18px 36px;
	}
	.est-tool__intro-img,
	.est-entry__illust,
	.est-tool__illust,
	.est-contact__img,
	.est-result__visual {
		width: 76px;
		height: 76px;
	}
	.est-entry__cat {
		font-size: 22px;
	}
	.est-tool__ttl {
		font-size: 20px;
	}
	.est-entry .est-tool__open-label {
		font-size: 17px;
	}
	.est-tool__steps li {
		font-size: 11px;
		padding: 0 4px;
	}
	.est-result__price {
		font-size: 22px;
	}
	.est-result__box::before {
		width: 40px;
		height: 40px;
		font-size: 11px;
		top: 8px;
		right: 8px;
	}
	.est-result__list li {
		flex-direction: column;
		gap: 0.2em;
		text-align: center;
	}
	.est-result__list li span,
	.est-result__list li strong {
		flex: none;
		text-align: center;
	}
	.est-btn {
		width: 100%;
		min-width: 0;
	}
	.est-contact {
		padding: 1.4em 1em 1.5em;
	}
}
