/*
 * 査定フォーム（/satei/）・送信完了（/satei/thanks/）・その他のお問い合わせ（/contact/）のCSS
 * functions.php で、この3ページだけ読み込む。
 */

body .wp-site-blocks > .msreal-satei,
body .wp-site-blocks > .msreal-satei + * {
	margin-block-start: 0;
}

body .msreal-satei > * {
	margin-block: 0;
}

.msreal-satei__body {
	box-sizing: border-box;
	display: grid;
	gap: 32px;
	max-width: calc(var(--wp--style--global--content-size) + 32px);
	margin: 0 auto;
	padding: clamp(32px, 5vw, 64px) 16px clamp(64px, 8vw, 96px);
}

body .msreal-satei__body > * {
	margin-block: 0;
}

@media (min-width: 960px) {
	.msreal-satei__body {
		grid-template-columns: minmax(0, 1fr) 300px;
		align-items: start;
	}

	.msreal-satei__aside {
		position: sticky;
		top: 120px;
	}

	.msreal-thanks .msreal-satei__body {
		grid-template-columns: minmax(0, 760px);
		justify-content: center;
	}
}

.msreal-satei__form {
	box-sizing: border-box;
	padding: clamp(24px, 4vw, 48px) clamp(16px, 4vw, 48px);
	background: var(--wp--preset--color--white);
	border-top: 3px solid var(--wp--preset--color--shinchu);
	border-radius: 4px;
}

/* ---------- 進み具合（1 物件のこと → 2 お客様のこと → 3 送信完了） ---------- */

.msreal-progress {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}

.msreal-progress li {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	color: #8a8a8a;
	font-size: 0.8125rem;
	font-weight: 700;
	text-align: center;
}

.msreal-progress li + li::before {
	content: "";
	position: absolute;
	top: 16px;
	right: 50%;
	width: 100%;
	height: 1px;
	background: #d6cfc2;
}

.msreal-progress__num {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border: 1px solid #d6cfc2;
	border-radius: 50%;
	background: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--maru);
	font-size: 0.9375rem;
}

.msreal-progress .is-current,
.msreal-progress .is-done {
	color: var(--wp--preset--color--ai);
}

.msreal-progress .is-current .msreal-progress__num {
	border-color: var(--wp--preset--color--ai);
	background: var(--wp--preset--color--ai);
	color: var(--wp--preset--color--white);
}

.msreal-progress .is-done .msreal-progress__num {
	border-color: var(--wp--preset--color--shinchu);
	background: var(--wp--preset--color--shinchu);
	color: var(--wp--preset--color--white);
}

.msreal-progress .is-current::before,
.msreal-progress .is-done::before {
	background: var(--wp--preset--color--shinchu);
}

/* ---------- フォームの部品 ---------- */

.msreal-form-step[hidden] {
	display: none;
}

.msreal-satei .msreal-form-step__title {
	margin: 0 0 24px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(184, 147, 90, 0.4);
	font-size: 1.25rem;
	outline: none;
}

/* JSが動かないとき：2つのステップを縦に並べ、次へ・戻るは隠す */
.wpcf7-form:not(.is-stepped) .msreal-form-step + .msreal-form-step {
	margin-top: 40px;
}

.wpcf7-form:not(.is-stepped) [data-step-go] {
	display: none;
}

.msreal-field {
	position: relative;
	margin: 0 0 24px;
}

.msreal-field-row {
	display: grid;
	gap: 0 16px;
}

@media (min-width: 600px) {
	.msreal-field-row {
		grid-auto-flow: column;
		grid-auto-columns: minmax(0, 1fr);
	}
}

.msreal-satei .msreal-field__label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px;
	color: var(--wp--preset--color--ai);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.5;
}

.msreal-req,
.msreal-opt {
	padding: 1px 6px;
	border-radius: 2px;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.6;
}

.msreal-req {
	background: var(--wp--preset--color--shinchu);
	color: var(--wp--preset--color--white);
}

.msreal-opt {
	border: 1px solid #cfc6b5;
	color: #777;
}

.msreal-satei .msreal-field__note {
	margin: 6px 0 0;
	color: #666;
	font-size: 0.75rem;
	line-height: 1.7;
}

.msreal-satei .wpcf7-form-control-wrap {
	display: block;
}

.msreal-satei input[type="text"],
.msreal-satei input[type="tel"],
.msreal-satei input[type="email"],
.msreal-satei select,
.msreal-satei textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #cfc6b5;
	border-radius: 3px;
	background: #fff;
	color: var(--wp--preset--color--sumi);
	font: inherit;
	font-size: 1rem; /* 16px未満だと iPhone で入力時に拡大されるため */
	line-height: 1.6;
}

.msreal-satei select {
	padding-right: 40px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2314233A' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center / 12px 8px;
	appearance: none;
}

.msreal-satei textarea {
	min-height: 160px;
	resize: vertical;
}

.msreal-satei input::placeholder,
.msreal-satei textarea::placeholder {
	color: #a8a8a8;
}

.msreal-satei input:focus-visible,
.msreal-satei select:focus-visible,
.msreal-satei textarea:focus-visible {
	border-color: var(--wp--preset--color--shinchu);
	outline: 2px solid var(--wp--preset--color--shinchu);
	outline-offset: 1px;
}

/* 物件の種類：ラジオボタンを押しやすいボタン型に */
.msreal-satei .wpcf7-radio {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 8px;
}

@media (min-width: 600px) {
	.msreal-satei .wpcf7-radio {
		grid-template-columns: repeat(4, 1fr);
	}
}

.msreal-satei .wpcf7-radio .wpcf7-list-item {
	margin: 0;
}

.msreal-satei .wpcf7-radio label {
	position: relative;
	display: block;
	cursor: pointer;
}

.msreal-satei .wpcf7-radio input {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.msreal-satei .wpcf7-radio .wpcf7-list-item-label {
	display: block;
	padding: 12px 8px;
	border: 1px solid #cfc6b5;
	border-radius: 3px;
	background: #fff;
	color: var(--wp--preset--color--ai);
	font-weight: 700;
	text-align: center;
}

.msreal-satei .wpcf7-radio input:checked + .wpcf7-list-item-label {
	border-color: var(--wp--preset--color--ai);
	background: var(--wp--preset--color--ai);
	color: var(--wp--preset--color--white);
}

.msreal-satei .wpcf7-radio input:focus-visible + .wpcf7-list-item-label {
	outline: 2px solid var(--wp--preset--color--shinchu);
	outline-offset: 2px;
}

/* 同意のチェック */
.msreal-satei .msreal-field--agree {
	padding: 16px;
	background: var(--wp--preset--color--kinari);
	border-radius: 3px;
	font-weight: 700;
}

.msreal-field--agree .wpcf7-list-item {
	margin: 0;
}

.msreal-field--agree label {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
}

.msreal-field--agree input[type="checkbox"] {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--wp--preset--color--ai);
}

/* ハニーポット（人には見せない） */
.msreal-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* 入力もれ・エラー */
.msreal-field.is-missing input,
.msreal-field.is-missing select,
.msreal-field.is-missing textarea,
.msreal-field.is-missing .wpcf7-list-item-label,
.msreal-satei .wpcf7-not-valid,
.msreal-satei .wpcf7-not-valid .wpcf7-list-item-label {
	border-color: #b3261e;
}

.msreal-tip,
.msreal-satei .wpcf7-not-valid-tip {
	display: block;
	margin-top: 6px;
	color: #b3261e;
	font-size: 0.8125rem;
	font-weight: 700;
}

/* 文が空のときは枠も出さない（入力中に「確認中」の状態で空の枠が見えるため） */
.msreal-satei .wpcf7 form .wpcf7-response-output:empty {
	display: none;
}

.msreal-satei .wpcf7 form .wpcf7-response-output {
	margin: 16px 0 0;
	padding: 12px 16px;
	border-width: 1px;
	border-radius: 3px;
	font-size: 0.875rem;
}

/* 次へ・戻る・送信 */
.msreal-form-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	justify-content: center;
	margin-top: 32px;
}

/*
 * ボタン（2026-10-14 悠一さん「フォームの次へや送信ボタンも揃えて」）
 * サイトの査定ボタンと同じ形：丸い真鍮のボタン、下に濃い真鍮のふち、押すと沈む（site.css の「査定ボタン」）。
 * 「戻る」は白い丸いボタンに薄いふち。送信ボタンは CF7 の input なので矢印は付けない（次へも合わせて付けない）
 */
.msreal-satei .msreal-btn {
	box-sizing: border-box;
	min-height: 56px;
	padding: 14px 32px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(#c4a068, #b8935a);
	color: var(--wp--preset--color--white);
	box-shadow: 0 4px 0 #8a6a35, 0 8px 16px rgba(0, 0, 0, 0.12);
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	cursor: pointer;
	transition: transform 0.12s, box-shadow 0.12s, filter 0.2s;
}

.msreal-satei .msreal-btn:not(:disabled):hover,
.msreal-satei .msreal-btn:not(:disabled):focus-visible {
	filter: brightness(1.05);
	transform: translateY(2px);
	box-shadow: 0 2px 0 #8a6a35, 0 4px 10px rgba(0, 0, 0, 0.1);
}

.msreal-satei .msreal-btn:not(:disabled):active {
	transform: translateY(3px);
	box-shadow: 0 1px 0 #8a6a35;
}

.msreal-satei .msreal-btn:focus-visible {
	outline: 2px solid var(--wp--preset--color--ai);
	outline-offset: 3px;
}

/* 押せないとき（同意にチェックが入るまで、CF7 が送信ボタンを押せなくする）は薄く */
.msreal-satei .msreal-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.msreal-satei .msreal-btn--next,
.msreal-satei .msreal-btn--submit {
	flex: 1 1 280px;
	max-width: 420px;
}

.msreal-satei .msreal-btn--back {
	flex: 0 1 auto;
	border: 1px solid #cfc6b5;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--ai);
	box-shadow: 0 4px 0 #ddd5c6;
}

.msreal-satei .msreal-btn--back:hover,
.msreal-satei .msreal-btn--back:focus-visible {
	border-color: var(--wp--preset--color--ai);
	background: var(--wp--preset--color--kinari);
	filter: none;
	box-shadow: 0 2px 0 #ddd5c6;
}

.msreal-satei .msreal-btn--back:active {
	box-shadow: 0 1px 0 #ddd5c6;
}

@media (prefers-reduced-motion: reduce) {
	.msreal-satei .msreal-btn {
		transition: none;
	}
}

/* スマホ：「戻る」と送信が横に入りきらないので、送信を上、「戻る」を下に */
@media (max-width: 479px) {
	.msreal-form-nav {
		flex-direction: column-reverse;
		align-items: stretch;
	}

	.msreal-satei .msreal-btn--next,
	.msreal-satei .msreal-btn--submit {
		flex: none;
		max-width: none;
	}

	.msreal-satei .msreal-btn--back {
		align-self: center;
		min-width: 140px;
	}
}

/* ---------- 右側：電話でのご相談 ---------- */

.msreal-satei__aside {
	box-sizing: border-box;
	padding: 24px;
	background: var(--wp--preset--color--ai);
	border-radius: 4px;
	color: var(--wp--preset--color--kinari);
}

.msreal-satei__aside p {
	margin: 0;
}

.msreal-satei__aside .msreal-satei__aside-title {
	font-family: var(--wp--preset--font-family--maru);
	font-size: 1.0625rem;
	font-weight: 700;
}

.msreal-satei__aside .msreal-satei__aside-tel {
	margin-top: 12px;
}

.msreal-satei__aside .msreal-tel {
	color: var(--wp--preset--color--kinari);
	font-family: var(--wp--preset--font-family--maru);
	font-size: 1.625rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
}

.msreal-satei__aside .msreal-satei__aside-hours {
	font-size: 0.75rem;
	opacity: 0.85;
}

.msreal-satei__aside .msreal-satei__aside-note {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid rgba(184, 147, 90, 0.4);
	font-size: 0.75rem;
	line-height: 1.8;
}

.msreal-satei__aside a {
	color: var(--wp--preset--color--kinari);
}

/* ---------- 送信完了 ---------- */

.msreal-thanks .msreal-thanks__title {
	margin: 0 0 24px;
	font-size: clamp(1.375rem, 3vw, 1.875rem);
	text-align: center;
}

.msreal-thanks__contact {
	margin-top: 32px;
	padding: 24px;
	background: var(--wp--preset--color--kinari);
	border-radius: 3px;
	text-align: center;
}

.msreal-thanks .msreal-thanks__contact p {
	margin: 0;
}

.msreal-thanks .msreal-thanks__company {
	font-family: var(--wp--preset--font-family--maru);
	font-weight: 700;
}

.msreal-thanks__tel .msreal-tel {
	color: var(--wp--preset--color--ai);
	font-family: var(--wp--preset--font-family--maru);
	font-size: 1.625rem;
	font-weight: 700;
	text-decoration: none;
}

.msreal-thanks .msreal-thanks__hours {
	font-size: 0.8125rem;
}

.msreal-thanks .msreal-section__more {
	margin-top: 32px;
	text-align: center;
}

/* ==========================================================================
 * 2026-10-17 作り直し（見本 docs/記録/査定試作_2_郵便番号と磨き）
 * 便箋の形のフォーム・道の形の進み具合・絵のついた物件の種類・入力済みの印・必須の残り・任意のまとめ・郵便番号で住所。
 * 入力欄の見た目はお問い合わせ（/contact/）にも効く。右側（msreal-satei__side）は査定だけ。
 * ========================================================================== */

.msreal-satei .msreal-satei__body {
	max-width: calc(1120px + 32px);
}

@media (min-width: 1024px) {
	.msreal-satei:not(.msreal-thanks) .msreal-satei__body {
		grid-template-columns: minmax(0, 1fr) 330px;
		gap: 48px;
	}
}

.msreal-satei .msreal-satei__form {
	position: relative;
	padding: 40px clamp(18px, 4.5vw, 56px) 44px;
	border-top: 0;
	border-radius: 6px;
	box-shadow: 0 1px 0 #e9e1d2, 0 18px 40px rgba(20, 35, 58, 0.07);
}

.msreal-satei .msreal-satei__form::before {
	content: "";
	position: absolute;
	top: 0;
	right: clamp(18px, 4.5vw, 56px);
	left: clamp(18px, 4.5vw, 56px);
	height: 3px;
	border-radius: 0 0 2px 2px;
	background: var(--wp--preset--color--shinchu);
}

/* 進み具合：3つの停留所を線でつなぐ（--p は 0〜1。JS が入力に合わせて伸ばす） */
.msreal-route {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0 0 32px;
	padding: 0 0 24px;
	border-bottom: 1px dashed #e3d7c0;
	list-style: none;
}

.msreal-route::before {
	content: "";
	position: absolute;
	top: 22px;
	right: 16.66%;
	left: 16.66%;
	height: 2px;
	background: linear-gradient(90deg, var(--wp--preset--color--ai) 0 calc(var(--p, 0) * 100%), #e3d5bc calc(var(--p, 0) * 100%) 100%);
	transition: background 0.3s;
}

.msreal-route li {
	position: relative;
	min-width: 0;
	margin: 0;
	color: #9a907e;
	font-size: 0.75rem;
	font-weight: 700;
	text-align: center;
}

.msreal-route__dot {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	box-sizing: border-box;
	width: 46px;
	height: 46px;
	margin: 0 auto 8px;
	border: 1.5px solid #e3d5bc;
	border-radius: 50%;
	background: var(--wp--preset--color--white);
	box-shadow: 0 0 0 6px #fff;
	color: #b5a88f;
}

.msreal-route__dot svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.msreal-route li.is-current {
	color: var(--wp--preset--color--ai);
}

.msreal-route li.is-current .msreal-route__dot {
	border-color: var(--wp--preset--color--ai);
	background: var(--wp--preset--color--ai);
	box-shadow: 0 0 0 6px #fff, 0 0 0 7px #dccfb6;
	color: var(--wp--preset--color--white);
}

.msreal-route li.is-done {
	color: #8a6a35;
}

.msreal-route li.is-done .msreal-route__dot {
	border-color: var(--wp--preset--color--shinchu);
	background: #fff8ea;
	color: #8a6a35;
}

/* 見出し */
.msreal-satei .msreal-form-step__title {
	margin: 0 0 4px;
	padding: 0;
	border: 0;
	color: var(--wp--preset--color--ai);
	font-family: var(--wp--preset--font-family--maru);
	font-size: clamp(1.25rem, 2.4vw, 1.45rem);
	font-weight: 800;
	line-height: 1.5;
}

.msreal-satei .msreal-form-step__lead {
	margin: 0 0 26px;
	color: #666;
	font-size: 0.8125rem;
}

/* 項目名・必須・任意 */
.msreal-satei .msreal-field__label {
	gap: 8px;
	font-size: 0.875rem;
}

.msreal-satei .msreal-req {
	padding: 0 6px;
	border-radius: 3px;
	background: var(--wp--preset--color--ai);
	font-size: 0.6875rem;
	line-height: 1.7;
}

.msreal-satei .msreal-opt {
	padding: 0;
	border: 0;
	color: #9a907e;
	font-weight: 400;
}

/* 入力済みの印（必須の項目を入れ終わると、項目名の横に真鍮のチェック） */
.msreal-field.is-done > .msreal-field__label::after {
	content: "";
	flex: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff8ea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8935A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 11px no-repeat;
	box-shadow: inset 0 0 0 1px #e2cfa8;
}

/* 入力欄 */
.msreal-satei input[type="text"],
.msreal-satei input[type="tel"],
.msreal-satei input[type="email"],
.msreal-satei select,
.msreal-satei textarea {
	min-height: 52px;
	padding: 12px 14px;
	border: 1px solid #dccfb6;
	border-radius: 8px;
	background-color: #fcfaf6;
	transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}

.msreal-satei select {
	padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8935A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 18px;
}

.msreal-satei input::placeholder,
.msreal-satei textarea::placeholder {
	color: #b3a993;
}

.msreal-satei input:focus,
.msreal-satei select:focus,
.msreal-satei textarea:focus,
.msreal-satei input:focus-visible,
.msreal-satei select:focus-visible,
.msreal-satei textarea:focus-visible {
	border-color: var(--wp--preset--color--shinchu);
	outline: 0;
	background-color: #fff;
	box-shadow: 0 0 0 4px rgba(184, 147, 90, 0.18);
}

/* 物件の種類：絵のついた札 */
.msreal-satei .wpcf7-radio {
	gap: 12px;
}

.msreal-satei .wpcf7-radio label {
	display: block;
}

.msreal-satei .wpcf7-radio .wpcf7-list-item-label {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: center;
	padding: 18px 8px 14px;
	border: 1.5px solid #e3d5bc;
	border-radius: 10px;
	background: #fff;
	font-size: 0.8125rem;
	transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}

.msreal-satei .wpcf7-radio .wpcf7-list-item-label::before {
	content: "";
	width: 36px;
	height: 36px;
	background: #8a6a35;
	-webkit-mask: var(--msreal-ic) center / contain no-repeat;
	mask: var(--msreal-ic) center / contain no-repeat;
}

.msreal-satei .wpcf7-radio .wpcf7-list-item:nth-child(1) {
	--msreal-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='1'/%3E%3Cpath d='M9 7h1.5M13.5 7H15M9 11h1.5M13.5 11H15M9 15h1.5M13.5 15H15M11 21v-3h2v3'/%3E%3C/svg%3E");
}

.msreal-satei .wpcf7-radio .wpcf7-list-item:nth-child(2) {
	--msreal-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5V20a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E");
}

.msreal-satei .wpcf7-radio .wpcf7-list-item:nth-child(3) {
	--msreal-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17l9-4 9 4-9 4z'/%3E%3Cpath d='M12 13V4l5 2-5 2'/%3E%3C/svg%3E");
}

.msreal-satei .wpcf7-radio .wpcf7-list-item:nth-child(4) {
	--msreal-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='12' r='1.2'/%3E%3Ccircle cx='12' cy='12' r='1.2'/%3E%3Ccircle cx='18' cy='12' r='1.2'/%3E%3C/svg%3E");
}

.msreal-satei .wpcf7-radio input:checked + .wpcf7-list-item-label {
	border-color: var(--wp--preset--color--ai);
	background: #f7f4ee;
	box-shadow: 0 0 0 3px rgba(20, 35, 58, 0.08);
	color: var(--wp--preset--color--ai);
}

.msreal-satei .wpcf7-radio input:checked + .wpcf7-list-item-label::before {
	background: var(--wp--preset--color--ai);
}

.msreal-satei .wpcf7-radio input:checked + .wpcf7-list-item-label::after {
	content: "";
	position: absolute;
	top: 8px;
	right: 8px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--wp--preset--color--ai) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* 郵便番号 */
.msreal-zip {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	align-items: center;
}

.msreal-zip .wpcf7-form-control-wrap {
	position: relative;
	width: 200px;
}

.msreal-zip .wpcf7-form-control-wrap::before {
	content: "〒";
	position: absolute;
	top: 50%;
	left: 14px;
	z-index: 1;
	color: #8a6a35;
	font-weight: 700;
	pointer-events: none;
	transform: translateY(-50%);
}

.msreal-satei .msreal-zip input {
	padding-left: 36px;
	letter-spacing: 0.08em;
}

.msreal-zip__status:empty {
	display: none;
}

.msreal-zip__status {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	padding: 3px 12px;
	border: 1px solid #e9d9b8;
	border-radius: 999px;
	background: #fff8ea;
	color: #8a6a35;
	font-size: 0.75rem;
	font-weight: 700;
}

.msreal-zip__status.is-miss {
	border-color: #e6d5d0;
	background: #fbf3f1;
	color: #8a4a3a;
}

.msreal-field.is-auto select,
.msreal-field.is-auto input {
	border-color: #e2cfa8;
	background-color: #fffbf2;
}

.msreal-satei .msreal-field__hint {
	margin: 6px 0 0;
	color: #8a6a35;
	font-size: 0.75rem;
	font-weight: 700;
}

.msreal-field__hint:empty {
	display: none;
}

/* 任意の項目をひとまとめに */
.msreal-optbox {
	margin: 4px 0 0;
	padding: 20px 22px 6px;
	border: 1px dashed #dccfb6;
	border-radius: 12px;
	background: #fbf8f2;
}

.msreal-satei .msreal-optbox__title {
	margin: 0 0 16px;
	color: var(--wp--preset--color--ai);
	font-family: var(--wp--preset--font-family--maru);
	font-size: 1rem;
	font-weight: 800;
}

.msreal-optbox__title span {
	margin-left: 10px;
	color: #8f7c5e;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.75rem;
	font-weight: 400;
}

.msreal-optbox .msreal-opt {
	display: none;
}

.msreal-satei .msreal-optbox input,
.msreal-satei .msreal-optbox select,
.msreal-satei .msreal-optbox textarea {
	background-color: #fff;
}

.msreal-optbox .msreal-field {
	margin-bottom: 16px;
}

/* 次へ・送信のまわり */
.msreal-satei .msreal-form-nav {
	margin-top: 32px;
	padding-top: 26px;
	border-top: 1px dashed #e3d7c0;
}

.msreal-satei .msreal-remain {
	flex-basis: 100%;
	margin: 0 0 4px;
	color: #555;
	font-size: 0.8125rem;
	text-align: center;
}

.msreal-remain:empty {
	display: none;
}

.msreal-remain strong {
	color: var(--wp--preset--color--ai);
}

.msreal-remain b {
	margin: 0 2px;
	color: #8a6a35;
	font-size: 1.0625rem;
}

.msreal-remain.is-ok {
	color: #8a6a35;
	font-weight: 700;
}

.msreal-satei .msreal-form-nav__note {
	flex-basis: 100%;
	order: 9;
	margin: 6px 0 0;
	color: #7a7266;
	font-size: 0.75rem;
	text-align: center;
}

/* 右側（査定だけ）：無料・お渡しするもの・送信のあと・電話 */
.msreal-satei__side {
	display: grid;
	gap: 18px;
	align-content: start;
	min-width: 0;
}

@media (min-width: 1024px) {
	.msreal-satei__side {
		position: sticky;
		top: 40px;
	}
}

.msreal-satei__free {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 16px 18px;
	border-radius: 10px;
	background: var(--wp--preset--color--ai);
	color: var(--wp--preset--color--kinari);
	font-size: 0.75rem;
	line-height: 1.7;
}

.msreal-satei__free svg {
	flex: none;
	width: 22px;
	height: 22px;
	margin-top: 1px;
	fill: none;
	stroke: #e7cf9f;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.msreal-satei__free b {
	display: block;
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--maru);
	font-size: 0.9375rem;
}

.msreal-satei__free.is-sp {
	display: none;
}

.msreal-satei__card {
	padding: 22px 22px 20px;
	border-radius: 10px;
	background: var(--wp--preset--color--white);
}

.msreal-satei .msreal-satei__card h2 {
	margin: 0 0 12px;
	color: var(--wp--preset--color--ai);
	font-family: var(--wp--preset--font-family--maru);
	font-size: 0.9375rem;
	font-weight: 800;
	line-height: 1.5;
}

.msreal-satei__gets {
	margin: 0;
	padding: 0;
	list-style: none;
}

.msreal-satei__gets li {
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr);
	gap: 0 10px;
	align-items: center;
	margin: 0;
	padding: 8px 0;
	border-bottom: 1px dashed #e8dec9;
	color: #333;
	font-size: 0.75rem;
	line-height: 1.6;
}

.msreal-satei__gets li:last-child {
	border-bottom: 0;
}

.msreal-satei__gets span {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: #f7f2e8;
	color: #8a6a35;
}

.msreal-satei__gets svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.msreal-satei .msreal-satei__how {
	margin: 12px 0 0;
	padding-top: 12px;
	border-top: 1px solid #efe7d8;
	color: #7a7266;
	font-size: 0.6875rem;
	line-height: 1.7;
}

.msreal-satei__how b {
	color: var(--wp--preset--color--ai);
}

.msreal-satei__next {
	position: relative;
	margin: 0;
	padding: 0 0 0 4px;
	list-style: none;
}

.msreal-satei__next::before {
	content: "";
	position: absolute;
	top: 12px;
	bottom: 14px;
	left: 10px;
	width: 1.5px;
	background: #e3d5bc;
}

.msreal-satei__next li {
	position: relative;
	margin: 0;
	padding: 0 0 12px 30px;
	color: #666;
	font-size: 0.6875rem;
	line-height: 1.6;
}

.msreal-satei__next li:last-child {
	padding-bottom: 0;
}

.msreal-satei__next li::before {
	content: "";
	position: absolute;
	top: 3px;
	left: 1px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--shinchu), 0 0 0 3px #fff;
}

.msreal-satei__next b {
	display: block;
	color: var(--wp--preset--color--ai);
	font-size: 0.75rem;
}

.msreal-satei .msreal-satei__tel p {
	margin: 0;
	color: #666;
	font-size: 0.6875rem;
}

.msreal-satei__tel .msreal-tel {
	display: inline-block;
	margin: 2px 0;
	color: var(--wp--preset--color--ai);
	font-family: var(--wp--preset--font-family--maru);
	font-size: 1.4rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-decoration: none;
}

.msreal-satei .msreal-satei__priv {
	margin: 0;
	padding: 0 4px;
	color: #7a7266;
	font-size: 0.6875rem;
	line-height: 1.7;
}

.msreal-satei__priv a {
	color: var(--wp--preset--color--ai);
}

@media (max-width: 1023px) {
	.msreal-satei__side .msreal-satei__free {
		display: none;
	}

	.msreal-satei__free.is-sp {
		display: flex;
		margin-bottom: 16px;
	}

	.msreal-route {
		margin-bottom: 24px;
		padding-bottom: 20px;
	}

	.msreal-route__dot {
		width: 40px;
		height: 40px;
	}

	.msreal-route::before {
		top: 19px;
	}

	.msreal-satei .wpcf7-radio .wpcf7-list-item-label {
		flex-direction: row;
		gap: 10px;
		justify-content: flex-start;
		padding: 14px 10px;
	}

	.msreal-satei .wpcf7-radio .wpcf7-list-item-label::before {
		width: 26px;
		height: 26px;
	}

	.msreal-satei .wpcf7-radio input:checked + .wpcf7-list-item-label::after {
		top: -7px;
		right: -7px;
		box-shadow: 0 0 0 2px #fff;
	}

	.msreal-optbox {
		padding: 16px 14px 4px;
	}

	.msreal-optbox__title span {
		display: block;
		margin: 4px 0 0;
	}
}

@media (max-width: 479px) {
	.msreal-zip .wpcf7-form-control-wrap {
		width: 170px;
	}

	/* 縦に並べたとき（column-reverse）の順：残り → 次へ・送信 → ひと言 → 戻る */
	.msreal-satei .msreal-remain {
		order: 4;
	}

	.msreal-satei .msreal-btn--next,
	.msreal-satei .msreal-btn--submit {
		order: 3;
	}

	.msreal-satei .msreal-form-nav__note {
		order: 2;
	}

	.msreal-satei .msreal-btn--back {
		order: 1;
	}

	.msreal-satei .msreal-btn {
		padding: 14px 20px;
		font-size: 1rem;
		letter-spacing: 0.03em;
	}
}

.msreal-satei__tel .msreal-tel {
	display: block;
}

.msreal-satei__hours {
	display: block;
	color: #666;
	font-size: 0.6875rem;
	line-height: 1.6;
}

/* ---------- 送信完了（2026-10-17 査定ページに合わせて作り直し） ---------- */

@media (min-width: 960px) {
	.msreal-thanks .msreal-satei__body {
		grid-template-columns: minmax(0, 760px);
		justify-content: center;
	}
}

.msreal-thanks__head {
	text-align: center;
}

.msreal-thanks__mark {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: var(--wp--preset--color--shinchu);
	box-shadow: 0 0 0 6px #fff, 0 0 0 7px #e6d5b5, 0 0 0 14px rgba(184, 147, 90, 0.1);
	color: var(--wp--preset--color--white);
}

.msreal-thanks__mark svg {
	width: 30px;
	height: 30px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.msreal-thanks .msreal-thanks__title {
	margin: 0 0 12px;
	color: var(--wp--preset--color--ai);
	font-family: var(--wp--preset--font-family--maru);
	font-size: clamp(1.4rem, 3vw, 1.75rem);
	font-weight: 800;
	line-height: 1.5;
	text-align: center;
}

.msreal-thanks .msreal-thanks__lead {
	margin: 0 0 28px;
	color: #555;
	font-size: 0.8125rem;
	line-height: 1.9;
}

/* このあとの流れ（3つを横に。スマホは縦） */
.msreal-thanks__next {
	padding: 22px 0 6px;
	border-top: 1px dashed #e3d7c0;
}

.msreal-thanks .msreal-thanks__next-t,
.msreal-thanks .msreal-thanks__help-t,
.msreal-thanks .msreal-thanks__more-t {
	margin: 0 0 14px;
	color: var(--wp--preset--color--ai);
	font-family: var(--wp--preset--font-family--maru);
	font-size: 1rem;
	font-weight: 800;
}

.msreal-thanks__next ol {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.msreal-thanks__next ol::before {
	content: "";
	position: absolute;
	top: 11px;
	right: 16.66%;
	left: 16.66%;
	height: 1.5px;
	background: #e3d5bc;
}

.msreal-thanks__next li {
	position: relative;
	min-width: 0;
	margin: 0;
	padding-top: 34px;
	color: #666;
	font-size: 0.6875rem;
	line-height: 1.6;
	text-align: center;
}

.msreal-thanks__next li::before {
	content: "";
	position: absolute;
	top: 2px;
	left: 50%;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--shinchu), 0 0 0 4px #fff;
	transform: translateX(-50%);
}

.msreal-thanks__next li.is-next::before {
	background: var(--wp--preset--color--ai);
	box-shadow: 0 0 0 4px #fff, 0 0 0 5px #dccfb6;
}

.msreal-thanks__next b {
	display: block;
	color: var(--wp--preset--color--ai);
	font-size: 0.8125rem;
}

.msreal-thanks__badge {
	display: inline-block;
	margin-bottom: 4px;
	padding: 0 8px;
	border-radius: 999px;
	background: var(--wp--preset--color--shinchu);
	color: var(--wp--preset--color--white);
	font-size: 0.625rem;
	font-weight: 700;
	line-height: 1.7;
}

/* メールが届かないとき */
.msreal-thanks__help {
	margin: 26px 0 0;
	padding: 20px 22px;
	border-radius: 10px;
	background: #fbf8f2;
}

.msreal-thanks .msreal-thanks__help p {
	margin: 0;
	color: #555;
	font-size: 0.75rem;
	line-height: 1.8;
}

.msreal-thanks .msreal-thanks__help .msreal-thanks__help-t {
	margin-bottom: 6px;
	color: var(--wp--preset--color--ai);
	font-size: 0.9375rem;
}

.msreal-thanks__tel {
	margin-top: 10px;
}

.msreal-thanks__tel .msreal-tel {
	display: block;
	color: var(--wp--preset--color--ai);
	font-family: var(--wp--preset--font-family--maru);
	font-size: 1.4rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-decoration: none;
}

/* ご連絡までのあいだに */
.msreal-thanks__more {
	margin: 26px 0 0;
	padding-top: 22px;
	border-top: 1px dashed #e3d7c0;
}

.msreal-thanks__more ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.msreal-thanks__more li {
	margin: 0;
}

.msreal-thanks__more li a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border: 1px solid #e3d5bc;
	border-radius: 999px;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--ai);
	font-size: 0.75rem;
	font-weight: 700;
	text-decoration: none;
}

.msreal-thanks__more li a::after {
	content: "›";
	color: var(--wp--preset--color--shinchu);
}

.msreal-thanks .msreal-thanks__home {
	margin: 22px 0 0;
	text-align: center;
}

.msreal-thanks__home a {
	border-bottom: 1px solid var(--wp--preset--color--shinchu);
	color: var(--wp--preset--color--ai);
	font-size: 0.8125rem;
	font-weight: 700;
	text-decoration: none;
}

@media (max-width: 599px) {
	.msreal-thanks__next ol {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	.msreal-thanks__next ol::before {
		top: 12px;
		right: auto;
		bottom: 12px;
		left: 9px;
		width: 1.5px;
		height: auto;
	}

	.msreal-thanks__next li {
		padding: 0 0 0 32px;
		text-align: left;
	}

	.msreal-thanks__next li::before {
		top: 3px;
		left: 0;
		transform: none;
	}

	.msreal-thanks__help {
		padding: 16px;
	}
}

/* ==========================================================================
 * その他のお問い合わせ（/contact/）2026-10-19 作り直し（見本 docs/記録/問合せ試作_2_磨き）
 * 査定と同じ便箋・右側の札。ご用件を絵のついた札に（短い説明は contact.js が足す）、物件のページから来たときは物件の札（[msreal_contact_about]）、
 * ご用件ごとの「書いていただくと早いこと」（押すと内容の欄に入る。contact.js）、送信のあとは便箋の中が受付の表示に変わる。
 * ========================================================================== */

.msreal-contact__head {
	display: flex;
	gap: 16px;
	align-items: center;
	margin: 0 0 28px;
	padding: 0 0 22px;
	border-bottom: 1px dashed #e3d7c0;
}

.msreal-contact__mark {
	display: grid;
	flex: none;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #fff8ea;
	box-shadow: inset 0 0 0 1.5px #e2cfa8;
	color: #8a6a35;
}

.msreal-contact__mark svg,
.msreal-contact__ok svg {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.msreal-satei .msreal-contact__head .msreal-form-step__title {
	margin: 0;
}

.msreal-satei .msreal-contact__head .msreal-form-step__lead {
	margin: 2px 0 0;
}

.msreal-contact b.msreal-nw {
	font-weight: inherit;
}

/* お問い合わせの物件・お部屋の札 */
.msreal-about {
	display: flex;
	gap: 14px;
	align-items: center;
	margin: 0 0 26px;
	padding: 12px 14px;
	border: 1px solid #e9ddc6;
	border-radius: 10px;
	background: #fffcf6;
}

.msreal-about__ph {
	flex: none;
	width: 64px;
	height: 48px;
	overflow: hidden;
	border-radius: 6px;
	background: linear-gradient(135deg, #c9b89a, #8f7a5b);
}

.msreal-about__ph img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.msreal-satei .msreal-about__tx {
	flex: 1;
	min-width: 0;
	margin: 0;
	line-height: 1.5;
}

.msreal-about__tx small {
	display: block;
	color: #8f7c5e;
	font-size: 0.6875rem;
}

.msreal-about__name {
	display: block;
	font-weight: 700;
	color: var(--wp--preset--color--ai);
	font-size: 0.9375rem;
}

.msreal-about__back {
	flex: none;
	color: var(--wp--preset--color--ai);
	font-size: 0.75rem;
	font-weight: 700;
}

/* ご用件：絵のついた札（査定の物件の種類と同じ形。絵だけ替える） */
.msreal-contact .wpcf7-radio .wpcf7-list-item:nth-child(1) {
	--msreal-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5V20a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E");
}

.msreal-contact .wpcf7-radio .wpcf7-list-item:nth-child(2) {
	--msreal-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='13' height='5' rx='1'/%3E%3Cpath d='M16 6.5h3v5h-7v3'/%3E%3Crect x='10.5' y='14.5' width='3' height='6.5' rx='1'/%3E%3C/svg%3E");
}

.msreal-contact .wpcf7-radio .wpcf7-list-item:nth-child(3) {
	--msreal-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='14' r='4.5'/%3E%3Cpath d='M11.2 10.8 20 2M16 6l3 3M14 8l2 2'/%3E%3C/svg%3E");
}

.msreal-contact .wpcf7-radio .wpcf7-list-item:nth-child(4) {
	--msreal-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3Cpath d='M8 9.5h8M8 12.5h5'/%3E%3C/svg%3E");
}

.msreal-contact .wpcf7-radio {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 600px) {
	.msreal-contact .wpcf7-radio {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.msreal-contact .wpcf7-radio .wpcf7-list-item {
	min-width: 0;
}

.msreal-contact .wpcf7-radio label {
	height: 100%;
}

.msreal-contact .wpcf7-radio .wpcf7-list-item-label {
	box-sizing: border-box;
	height: 100%;
	line-height: 1.5;
	text-align: center;
}

.msreal-contact .wpcf7-radio .wpcf7-list-item-label small {
	display: block;
	margin-top: -4px;
	color: #8f7c5e;
	font-size: 0.6875rem;
	font-weight: 400;
}

/* 売却のご相談は無料査定へ（ご用件の下） */
.msreal-satei .msreal-contact__tosatei {
	position: relative;
	margin: 14px 0 0;
	padding: 12px 16px 12px 48px;
	border-radius: 10px;
	background: #f7f4ee;
	color: #555;
	font-size: 0.75rem;
	line-height: 1.7;
}

.msreal-contact__tosatei::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 16px;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	background: #8a6a35;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='m7 15 4-4 3 3 5-6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='m7 15 4-4 3 3 5-6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.msreal-contact__tosatei a {
	color: var(--wp--preset--color--ai);
	font-weight: 700;
	white-space: nowrap;
}

/* 書いていただくと早いこと（押すと内容の欄に入る） */
.msreal-hints {
	margin: 0 0 10px;
}

.msreal-hints[hidden] {
	display: none;
}

.msreal-satei .msreal-hints__lead {
	margin: 0 0 8px;
	color: #7a7266;
	font-size: 0.75rem;
}

.msreal-hints__lead span {
	color: #a39885;
}

.msreal-hints button {
	margin: 0 6px 6px 0;
	padding: 5px 14px;
	border: 1px solid #e9d9b8;
	border-radius: 999px;
	background: #fff8ea;
	color: #8a6a35;
	font: inherit;
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.6;
	cursor: pointer;
	transition: background-color 0.15s, border-color 0.15s;
}

.msreal-hints button:hover,
.msreal-hints button:focus-visible {
	border-color: var(--wp--preset--color--shinchu);
	background: #fff;
}

.msreal-hints button.is-used {
	border-style: dashed;
	background: #fff;
	color: #b3a993;
}

.msreal-satei.msreal-contact textarea {
	height: 190px;
	min-height: 150px;
	line-height: 1.8;
}

/* 同意の枠は、査定の2ページ目と同じ形のまま */

/* 右側：売却のご相談は無料査定へ */
.msreal-contact__sell {
	padding: 20px 22px;
	border-radius: 10px;
	background: var(--wp--preset--color--ai);
	color: #e9e2d4;
	font-size: 0.75rem;
	line-height: 1.7;
}

.msreal-contact__sell b {
	display: block;
	margin: 0 0 4px;
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--maru);
	font-size: 1rem;
}

.msreal-contact__sell a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 14px 0 0;
	padding: 11px 16px;
	border-radius: 999px;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--ai);
	font-size: 0.8125rem;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.15s;
}

.msreal-contact__sell a:hover,
.msreal-contact__sell a:focus-visible {
	background: var(--wp--preset--color--kinari);
}

.msreal-contact__sell a span {
	color: #8a6a35;
}

/* 送信のあと：便箋の中を受付の表示に */
.msreal-contact__sent[hidden],
.msreal-contact__form[hidden] {
	display: none;
}

.msreal-contact__sent {
	padding: 8px 0 0;
	text-align: center;
	outline: 0;
}

.msreal-contact__ok {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin: 0 auto 14px;
	border-radius: 50%;
	background: var(--wp--preset--color--shinchu);
	box-shadow: 0 0 0 8px #fff8ea;
	color: var(--wp--preset--color--white);
}

.msreal-contact__ok svg {
	width: 30px;
	height: 30px;
	stroke-width: 2.4;
}

.msreal-satei .msreal-contact__sent-title {
	margin: 0 0 8px;
	color: var(--wp--preset--color--ai);
	font-family: var(--wp--preset--font-family--maru);
	font-size: clamp(1.3125rem, 2.6vw, 1.5625rem);
	font-weight: 800;
	line-height: 1.5;
}

.msreal-satei .msreal-contact__sent-lead {
	margin: 0 0 26px;
	color: #555;
	font-size: 0.875rem;
}

.msreal-contact__addr {
	color: var(--wp--preset--color--ai);
	font-weight: 700;
	overflow-wrap: anywhere;
}

.msreal-contact__flow {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-width: 460px;
	margin: 0 auto 26px;
	padding: 0;
	list-style: none;
}

.msreal-contact__flow::before {
	content: "";
	position: absolute;
	top: 10px;
	right: 25%;
	left: 25%;
	height: 2px;
	background: linear-gradient(90deg, var(--wp--preset--color--shinchu) 0 50%, #e3d5bc 50%);
}

.msreal-contact__flow li {
	position: relative;
	min-width: 0;
	margin: 0;
	color: #777;
	font-size: 0.75rem;
	line-height: 1.6;
}

.msreal-contact__flow li span {
	position: relative;
	z-index: 1;
	display: block;
	width: 22px;
	height: 22px;
	margin: 0 auto 8px;
	border-radius: 50%;
	background: #fff;
	box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--shinchu), 0 0 0 4px #fff;
}

.msreal-contact__flow li.is-done span {
	background: var(--wp--preset--color--shinchu);
}

.msreal-contact__flow li.is-next span {
	background: var(--wp--preset--color--ai);
	box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--ai), 0 0 0 4px #fff, 0 0 0 5px #dccfb6;
}

.msreal-contact__flow li b {
	display: block;
	color: var(--wp--preset--color--ai);
	font-size: 0.875rem;
}

.msreal-contact__nomail {
	max-width: 520px;
	margin: 0 auto 22px;
	padding: 16px 20px;
	border: 1px dashed #dccfb6;
	border-radius: 12px;
	background: #fbf8f2;
	color: #555;
	font-size: 0.8125rem;
	line-height: 1.8;
	text-align: left;
}

.msreal-contact__nomail b {
	display: block;
	margin-bottom: 2px;
	color: var(--wp--preset--color--ai);
	font-size: 0.875rem;
}

.msreal-contact__nomail-tel {
	display: block;
	margin-top: 6px;
}

.msreal-contact__nomail .msreal-tel {
	color: var(--wp--preset--color--ai);
	font-family: var(--wp--preset--font-family--maru);
	font-size: 1.3rem;
	font-weight: 800;
	text-decoration: none;
}

.msreal-contact__nomail small {
	display: block;
	color: #7a7266;
	font-size: 0.75rem;
}

.msreal-satei .msreal-contact__back {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	justify-content: center;
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 700;
}

.msreal-contact__back a {
	color: var(--wp--preset--color--ai);
}

/* 送信のあとは、右側の「送信のあとは」と電話を隠す（便箋の中に同じことが出るため） */
.msreal-contact.is-sent .msreal-satei__side .msreal-satei__card {
	display: none;
}

@media (max-width: 1023px) {
	.msreal-contact__head {
		gap: 12px;
		margin-bottom: 22px;
		padding-bottom: 18px;
	}

	.msreal-contact__mark {
		width: 44px;
		height: 44px;
	}

	.msreal-contact .wpcf7-radio .wpcf7-list-item-label {
		padding: 12px 10px;
		font-size: 0.8125rem;
		text-align: left;
	}

	.msreal-contact .wpcf7-radio .wpcf7-list-item-label::before {
		flex: none;
		width: 24px;
		height: 24px;
	}

	.msreal-contact .wpcf7-radio .wpcf7-list-item-label small {
		display: none;
	}

	.msreal-about {
		flex-wrap: wrap;
		gap: 10px 12px;
	}

	.msreal-about__ph {
		width: 52px;
		height: 40px;
	}

	.msreal-about__back {
		flex-basis: 100%;
		margin-top: -4px;
		text-align: right;
	}

	/* スマホは便箋の中の「売却のご相談は…」で足りるので、右側の藍の札は出さない */
	.msreal-contact__sell {
		display: none;
	}

	.msreal-satei .msreal-contact__sent-lead {
		text-align: left;
	}

	.msreal-satei .msreal-contact__back {
		flex-direction: column;
		align-items: center;
	}
}
