/* 概算見積もりツール
   自社オリジナルの見積シート感：中央揃え・罫線・角枠。汎用SaaS UIは避ける */
.est-tool {
	--est-ink: #222;
	--est-muted: #777;
	--est-line: #d8d2c8;
	--est-paper: #fffcf8;
	--est-accent: #fc7400;
	--est-accent-deep: #d96200;
	margin: 3% auto;
	padding: 0;
	max-width: 820px;
	background: var(--est-paper);
	border: 2px solid #cfc7bb;
	border-radius: 0;
	box-shadow: none;
	position: relative;
}
.est-tool::before {
	content: "";
	position: absolute;
	inset: 6px;
	border: 1px solid #e6dfd4;
	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(252, 116, 0, 0.04);
}
.est-tool.is-open .est-tool__toggle {
	border-bottom: 1px solid var(--est-line);
	background: transparent;
	padding-bottom: 20px;
}
.est-tool__illust {
	flex: none;
	width: 96px;
	height: 96px;
	margin: 0 auto;
	border-radius: 50%;
	overflow: hidden;
	background: #fff;
	border: 2px solid var(--est-accent);
}
.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: "Cormorant Infant", "Noto Serif JP", serif;
	font-size: 28px;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1.4;
	color: var(--est-ink);
}
.est-tool__eyebrow {
	display: block;
	font-family: "Cormorant Infant", "Noto Serif JP", serif;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--est-accent);
	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.12em;
}
.est-tool__toggle-meta::before,
.est-tool__toggle-meta::after {
	content: "―";
	margin: 0 0.6em;
	color: #cbbfae;
}
.est-tool__toggle-icon {
	width: 22px;
	height: 22px;
	border: 0;
	border-radius: 0;
	position: relative;
	background: transparent;
	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, transform 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;
	background: transparent;
	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;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--est-line);
}
.est-tool__intro-img {
	width: 110px;
	height: 110px;
	border-radius: 50%;
	overflow: hidden;
	background: #fff;
	border: 2px solid #e0d8cc;
}
.est-tool__intro-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.est-tool__intro-txt {
	width: 100%;
}
.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;
	border: 0;
}
.est-tool__steps li {
	flex: 1;
	text-align: center;
	padding: 0 8px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: #aaa;
	position: relative;
	border: 0;
}
.est-tool__steps li:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 14px;
	left: calc(50% + 18px);
	right: calc(-50% + 18px);
	height: 1px;
	background: #ddd4c8;
}
.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: 1px solid #cfc7bb;
	border-radius: 50%;
	font-family: "Cormorant Infant", serif;
	font-size: 14px;
	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-accent);
	background: var(--est-accent);
	color: #fff;
}
.est-tool__steps li.is-done {
	color: var(--est-accent-deep);
}
.est-tool__steps li.is-done::before {
	content: "✓";
	border-color: var(--est-accent);
	background: #fff;
	color: var(--est-accent);
	font-size: 12px;
	font-family: inherit;
}

.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.08em;
	color: var(--est-ink);
	text-align: center;
	font-size: 14px;
}
.est-field > label span {
	display: inline;
	color: var(--est-accent);
	background: transparent;
	font-size: 12px;
	margin-left: 8px;
	padding: 0;
	border-radius: 0;
	font-weight: 700;
	letter-spacing: 0.04em;
}
.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 #d8d2c8;
	border-radius: 0;
	font-size: 15px;
	background: transparent;
	color: var(--est-ink);
	text-align: center;
	transition: border-color 0.2s;
}
.est-field textarea {
	text-align: left;
	border: 1px solid #d8d2c8;
	min-height: 110px;
	padding: 12px;
}
.est-field input:focus,
.est-field textarea:focus {
	outline: none;
	border-color: var(--est-accent);
	box-shadow: none;
}
.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--wrap label,
.est-choices--stack label {
	min-width: 0;
}
.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 #d8d2c8;
	border-radius: 0;
	background: #fff;
	cursor: pointer;
	font-size: 13px;
	line-height: 1.55;
	color: var(--est-ink);
	letter-spacing: 0.03em;
	text-align: left;
	max-width: 100%;
	transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.est-choices--stack label {
	justify-content: flex-start;
	padding-left: 16px;
}
.est-choices label:hover {
	border-color: #b9aea0;
}
.est-choices label:has(input:checked) {
	border-color: var(--est-accent);
	background: #fff8f2;
	color: var(--est-accent-deep);
	box-shadow: none;
}

.est-sub {
	margin: 1.4em auto;
	padding: 1.2em 1em 0.6em;
	max-width: 520px;
	background: #fff;
	border: 1px dashed #d0c8bc;
	border-radius: 0;
	text-align: center;
}
.est-sub__ttl {
	font-family: "Noto Serif JP", serif;
	font-weight: 700;
	color: var(--est-ink);
	margin: 0 0 0.9em;
	letter-spacing: 0.1em;
}
.est-sub .est-field > label {
	font-size: 13px;
}

.est-info-box {
	max-width: 520px;
	margin: 1.6em auto;
	padding: 1.1em 1.2em;
	background: #fff;
	border-top: 2px solid var(--est-accent);
	border-bottom: 1px solid var(--est-line);
	text-align: left;
}
.est-info-box p {
	margin: 0 0 0.5em;
	text-align: center;
	letter-spacing: 0.08em;
}
.est-info-box ul {
	margin: 0;
	padding-left: 1.2em;
}
.est-info-box li {
	margin-bottom: 0.35em;
	font-size: 13px;
	color: #555;
	line-height: 1.7;
}

.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: 14px;
	font-weight: 700;
	letter-spacing: 0.14em;
	border-radius: 0;
	cursor: pointer;
	border: 2px solid transparent;
	transition: 0.2s ease;
}
.est-btn--primary {
	background: var(--est-accent);
	border-color: var(--est-accent);
	color: #fff;
	box-shadow: none;
}
.est-btn--primary:hover {
	background: var(--est-accent-deep);
	border-color: var(--est-accent-deep);
}
.est-btn--ghost {
	background: transparent;
	border-color: #b9aea0;
	color: #555;
}
.est-btn--ghost:hover {
	border-color: #888;
	color: #222;
}
.est-btn--mail {
	background: var(--est-ink);
	border-color: var(--est-ink);
	color: #fff;
	box-shadow: none;
	min-width: 240px;
}
.est-btn--mail:hover {
	background: var(--est-accent);
	border-color: var(--est-accent);
}
.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 #cfc7bb;
	border-radius: 0;
	text-align: center;
	position: relative;
}
.est-result__box::before {
	content: "概算";
	position: absolute;
	top: 12px;
	right: 12px;
	width: 48px;
	height: 48px;
	border: 2px solid rgba(252, 116, 0, 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(252, 116, 0, 0.75);
	transform: rotate(12deg);
	pointer-events: none;
}
.est-result__visual {
	width: 84px;
	height: 84px;
	margin: 0 auto 1em;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid #e0d8cc;
	background: #fffcf8;
}
.est-result__visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.est-result__label {
	font-family: "Cormorant Infant", "Noto Serif JP", serif;
	font-weight: 500;
	margin: 0 0 0.4em;
	letter-spacing: 0.18em;
	color: var(--est-muted);
	font-size: 13px;
}
.est-result__price {
	font-family: "Cormorant Infant", "Noto Serif JP", serif;
	font-size: 34px;
	font-weight: 600;
	color: var(--est-ink);
	margin: 0.15em 0 0.2em;
	letter-spacing: 0.04em;
	line-height: 1.35;
}
.est-result__price span {
	color: var(--est-accent-deep);
}
.est-result__price small {
	font-size: 15px;
	margin-left: 4px;
	color: var(--est-muted);
	font-weight: 600;
	font-family: inherit;
}
.est-result__mid {
	font-size: 13px;
	color: var(--est-muted);
	margin: 0 0 1.3em;
	letter-spacing: 0.06em;
}
.est-result__list {
	list-style: none;
	margin: 0 auto 1em;
	padding: 0.4em 0 0;
	max-width: 100%;
	text-align: left;
	border-top: 1px solid var(--est-line);
	background: transparent;
	border-radius: 0;
}
.est-result__list li {
	display: flex;
	justify-content: space-between;
	gap: 1em;
	padding: 0.7em 0.2em;
	border-bottom: 1px dotted #d8d2c8;
	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%;
	letter-spacing: 0.04em;
}
.est-result__list li strong {
	font-weight: 600;
	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;
	background: transparent;
	border: 0;
	border-top: 1px solid var(--est-line);
	border-radius: 0;
	text-align: center;
}
.est-result__next p {
	margin: 0;
	font-size: 13px;
	line-height: 1.9;
	color: #555;
	letter-spacing: 0.04em;
}
.est-result__next strong {
	display: block;
	margin-bottom: 0.35em;
	color: var(--est-accent-deep);
	letter-spacing: 0.12em;
}

/* お問合せステップ */
.est-contact {
	max-width: 520px;
	margin: 0 auto;
	background: #fff;
	border: 2px solid #cfc7bb;
	border-radius: 0;
	padding: 1.8em 1.5em 1.8em;
	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__head--text {
	gap: 8px;
}
.est-contact__img {
	width: 88px;
	height: 88px;
	border-radius: 50%;
	overflow: hidden;
	background: #fffcf8;
	border: 2px solid #e0d8cc;
}
.est-contact__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.est-contact__lead {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--est-ink);
	line-height: 1.9;
	letter-spacing: 0.06em;
}
.est-contact__points {
	display: block;
	margin: 0.4em 0 0;
	padding: 0;
	list-style: none;
	font-size: 12px;
	letter-spacing: 0.08em;
	color: var(--est-muted);
}
.est-contact__points li {
	display: inline;
	font-weight: 600;
	color: var(--est-muted);
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
}
.est-contact__points li:not(:last-child)::after {
	content: " ／ ";
	color: #cbbfae;
}
.est-contact .est-field {
	text-align: left;
}
.est-contact .est-field input,
.est-contact .est-field textarea {
	max-width: 100%;
	background: transparent;
}
.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: #b33a2b;
	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 #cfc7bb;
	border-radius: 0;
	max-width: 420px;
	margin: 0 auto;
}
.est-done__ttl {
	font-family: "Cormorant Infant", "Noto Serif JP", serif;
	font-size: 26px;
	font-weight: 600;
	color: var(--est-accent-deep);
	margin: 0 0 0.8em;
	letter-spacing: 0.12em;
}

.est-tool .hp-field {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
}

.est-survey-note {
	margin: 6% auto 8%;
	padding: 4%;
	background: #fffcf8;
	border: 2px solid #cfc7bb;
	border-radius: 0;
	text-align: center;
}
.est-survey-note p {
	line-height: 1.9;
	margin: 0 auto 1em;
	max-width: 40em;
	color: #444;
}

/* 入口ブロック：中央揃えの見出し */
.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;
	letter-spacing: 0.04em;
}
.est-entry__block {
	margin: 0 auto 7%;
	max-width: 820px;
}
.est-entry__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin: 0 0 1.2em;
	padding: 0 0 1.4em;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--est-line, #d8d2c8);
	text-align: center;
	position: relative;
}
.est-entry__head::after {
	content: "◆";
	position: absolute;
	left: 50%;
	bottom: -0.55em;
	transform: translateX(-50%);
	background: #fff;
	padding: 0 0.5em;
	font-size: 10px;
	color: var(--est-accent, #fc7400);
	line-height: 1;
}
.est-entry__illust {
	flex: none;
	width: 108px;
	height: 108px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid var(--est-accent, #fc7400);
	box-shadow: none;
	background: #fff;
}
.est-entry__head-txt {
	width: 100%;
}
.est-entry__cat {
	font-family: "Cormorant Infant", "Noto Serif JP", serif;
	font-size: 34px;
	font-weight: 600;
	letter-spacing: 0.14em;
	color: #222;
	margin: 0 0 0.35em;
	padding: 0;
	border: 0;
	line-height: 1.35;
	text-align: center;
}
.est-entry__sub {
	font-size: 13px;
	color: #777;
	margin: 0 auto;
	max-width: 28em;
	letter-spacing: 0.06em;
	line-height: 1.9;
	text-align: center;
}
.est-entry .est-tool {
	margin: 0 auto;
}
.est-entry .est-tool__illust {
	display: none;
}
.est-entry .est-tool__eyebrow,
.est-entry .est-tool__cat {
	display: none;
}
.est-entry .est-tool__open-label {
	display: block;
	font-family: "Cormorant Infant", "Noto Serif JP", serif;
	font-size: 22px;
	font-weight: 600;
	color: var(--est-ink);
	letter-spacing: 0.14em;
}
.est-entry .est-tool__ttl {
	font-size: 22px;
}
.est-entry .est-tool__toggle {
	padding-top: 22px;
}
.est-entry__note {
	max-width: 820px;
	margin: 2% auto 0;
	padding: 1.2em 1.4em;
	background: #fffcf8;
	border: 1px solid #d8d2c8;
	font-size: 13px;
	line-height: 1.9;
	color: #555;
	border-radius: 0;
	text-align: center;
}

@media screen and (max-width: 768px) {
	.est-tool__body {
		padding: 28px 18px 36px;
	}
	.est-tool__intro {
		gap: 12px;
	}
	.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: 24px;
		letter-spacing: 0.1em;
	}
	.est-entry__lead {
		font-size: 14px;
	}
	.est-tool__ttl {
		font-size: 22px;
	}
	.est-entry .est-tool__open-label {
		font-size: 18px;
	}
	.est-tool__steps {
		max-width: 100%;
	}
	.est-tool__steps li {
		font-size: 11px;
		padding: 0 4px;
	}
	.est-tool__steps li:not(:last-child)::after {
		left: calc(50% + 14px);
		right: calc(-50% + 14px);
	}
	.est-result__price {
		font-size: 26px;
	}
	.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;
	}
}
