/* ===== 浦安市 マンション成約御礼マップ — LPデザイン ===== */
:root {
	--navy: #1c3557;
	--navy-deep: #142845;
	--gold: #c8902a;
	--gold-dark: #ad7a1f;
	--bg-light: #f4f7fb;
	--text: #243b5a;
	--muted: #6b7c93;
	--line: #e3e9f1;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

#seiyaku-lp-body,
#seiyaku-lp-body * {
	font-family: 'Noto Sans JP', sans-serif;
}

#seiyaku-lp-body {
	margin: 0;
	background: #fff;
	line-height: 1.7;
}

#seiyaku-lp-body h1,
#seiyaku-lp-body h2,
#seiyaku-lp-body h3 {
	font-family: 'Noto Serif JP', serif;
	line-height: 1.3;
}

/* ---- Buttons ---- */
.btn {
	display: inline-block;
	text-decoration: none;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-weight: 700;
	text-align: center;
	transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.btn-gold {
	background: var(--gold);
	color: #fff;
	box-shadow: 0 4px 14px rgba(200, 144, 42, .35);
}

.btn-gold:hover {
	background: var(--gold-dark);
	transform: translateY(-1px);
}

.btn-outline {
	background: #fff;
	color: var(--navy);
	border: 1.5px solid var(--navy);
}

.btn-outline:hover {
	background: var(--navy);
	color: #fff;
}

.btn-sm {
	padding: 8px 16px;
	font-size: .9rem;
}

.btn-lg {
	padding: 15px 34px;
	font-size: 1.08rem;
}

.cta-micro {
	font-size: .82rem;
	color: var(--muted);
	margin: 10px 0 0;
}

/* ---- Header ---- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(28, 53, 87, .97);
	backdrop-filter: blur(6px);
}

.header-inner {
	max-width: 1080px;
	margin: 0 auto;
	padding: 10px 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.brand {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.brand-area {
	font-size: .68rem;
	color: var(--gold);
	letter-spacing: .04em;
}

#seiyaku-lp-body .brand-name {
	font-family: 'Noto Serif JP', serif;
	font-weight: 700;
	font-size: 1.15rem;
	color: #fff;
}

/* ---- Hero ---- */
.hero {
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 60%, #0f2138 100%);
	color: #fff;
	text-align: center;
	padding: 60px 20px 56px;
}

.hero-inner {
	max-width: 760px;
	margin: 0 auto;
}

.hero-eyebrow {
	color: var(--gold);
	font-weight: 500;
	letter-spacing: .06em;
	margin: 0 0 12px;
	font-size: .92rem;
}

.hero-title {
	font-size: clamp(1.7rem, 5vw, 2.6rem);
	margin: 0 0 18px;
}

.hero-sub {
	color: rgba(255, 255, 255, .85);
	margin: 0 auto 28px;
	max-width: 620px;
}

.hero-stats {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
	margin: 0 auto 30px;
}

.hero-stats .stat {
	display: flex;
	flex-direction: column;
	min-width: 110px;
	padding: 0 10px;
}

#seiyaku-lp-body .stat-num {
	font-size: 2.1rem;
	font-weight: 700;
	color: var(--gold);
	font-family: 'Noto Serif JP', serif;
}

.stat-num small {
	font-size: 1rem;
	margin-left: 2px;
}

.stat-label {
	font-size: .8rem;
	color: rgba(255, 255, 255, .8);
}

.stat-divider {
	width: 1px;
	height: 38px;
	background: rgba(255, 255, 255, .25);
}

/* ---- Sections ---- */
.section {
	max-width: 1080px;
	margin: 0 auto;
	padding: 54px 18px;
}

.section-head {
	text-align: center;
	margin-bottom: 28px;
}

.section-eyebrow {
	color: var(--gold);
	font-weight: 700;
	letter-spacing: .08em;
	font-size: .8rem;
	margin: 0 0 6px;
}

.section-title {
	font-size: clamp(1.4rem, 3.5vw, 2rem);
	margin: 0 0 10px;
	color: var(--navy);
}

.section-desc {
	color: var(--muted);
	margin: 0;
}

/* ---- Map ---- */
.map-toolbar {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	flex-wrap: wrap;
	margin-bottom: 14px;
}

.search-bar {
	position: relative;
	flex: 1;
	min-width: 240px;
}

#search-input,
#list-filter {
	width: 100%;
	padding: 12px 14px;
	font-size: 16px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #fff;
}

#search-input:focus,
#list-filter:focus {
	outline: 2px solid var(--gold);
	border-color: var(--gold);
}

#suggest {
	list-style: none;
	margin: 4px 0 0;
	padding: 0;
	position: absolute;
	z-index: 500;
	width: 100%;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(20, 40, 69, .12);
	max-height: 60vh;
	overflow-y: auto;
	overscroll-behavior: contain;
}

#suggest li {
	padding: 10px 14px;
	cursor: pointer;
}

#suggest li:hover {
	background: var(--bg-light);
}

#suggest .no-hit {
	color: var(--muted);
	cursor: default;
}

#map {
	width: 100%;
	height: 62vh;
	min-height: 380px;
	border-radius: 12px;
	box-shadow: 0 6px 26px rgba(20, 40, 69, .14);
	overflow: hidden;
	z-index: 1;
}

.legend {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
	padding: 14px 4px 0;
	color: var(--muted);
}

.legend .lg {
	position: relative;
	padding-left: 20px;
	font-size: .86rem;
}

.legend .lg::before {
	content: '';
	position: absolute;
	left: 0;
	top: 3px;
	width: 13px;
	height: 13px;
	border-radius: 50%;
}

.legend .low::before {
	background: #7fb37f;
}

.legend .mid::before {
	background: #5b8def;
}

.legend .high::before {
	background: var(--gold);
}

.legend .lg-note {
	font-size: .78rem;
	color: var(--muted);
	align-self: center;
}

.count-label {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	color: #fff;
	font-weight: 700;
	font-size: 11px;
}

/* ---- Mansion list (scrollable) ---- */
.list-section {
	background: var(--bg-light);
	max-width: none;
}

.list-head {
	max-width: 880px;
	margin: 0 auto 14px;
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
}

.list-head .section-title {
	margin: 0;
}

#seiyaku-lp-body .list-count {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 1rem;
	color: var(--muted);
	font-weight: 500;
}

.list-head #list-filter {
	max-width: 280px;
}

.list-scroll {
	max-width: 880px;
	margin: 0 auto;
	max-height: 440px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 12px;
}

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

.mansion-list li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 18px;
	border-bottom: 1px solid var(--line);
}

.mansion-list li:last-child {
	border-bottom: none;
}

.mansion-list li:hover {
	background: var(--bg-light);
}

#seiyaku-lp-body .mansion-list .town-head {
	position: sticky;
	top: 0;
	z-index: 2;
	display: block;
	padding: 7px 18px;
	background: var(--navy);
	color: #fff;
	font-family: 'Noto Serif JP', serif;
	font-weight: 700;
	font-size: .92rem;
	letter-spacing: .05em;
}

.mansion-list .town-head:hover {
	background: var(--navy);
}

.m-name {
	color: var(--navy);
	cursor: pointer;
	font-weight: 500;
}

.m-name:hover {
	color: var(--gold-dark);
	text-decoration: underline;
}

.m-count {
	color: var(--gold-dark);
	font-weight: 700;
	white-space: nowrap;
	background: rgba(200, 144, 42, .12);
	padding: 2px 10px;
	border-radius: 999px;
	font-size: .9rem;
}

/* ---- Strength ---- */
.strength-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.strength-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 24px 20px;
	box-shadow: 0 4px 16px rgba(20, 40, 69, .06);
}

.strength-card h3 {
	color: var(--navy);
	margin: 0 0 8px;
	font-size: 1.12rem;
}

.strength-card p {
	color: var(--muted);
	margin: 0;
	font-size: .95rem;
}

/* ---- Closing CTA ---- */
.closing-section {
	text-align: center;
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
	color: #fff;
	max-width: none;
}

#seiyaku-lp-body .closing-ps {
	font-family: 'Noto Serif JP', serif;
	font-size: clamp(1.3rem, 3.5vw, 1.8rem);
	font-weight: 700;
	margin: 0 0 12px;
}

.closing-text {
	color: rgba(255, 255, 255, .85);
	max-width: 600px;
	margin: 0 auto 26px;
}

/* ---- Contact Form ---- */
.contact-section {
	background: var(--bg-light);
}

.form-card {
	background: #fff;
	border-radius: 12px;
	padding: 36px 32px;
	max-width: 680px;
	margin: 0 auto;
	box-shadow: 0 4px 24px rgba(28, 53, 87, .08);
}

.form-group {
	margin-bottom: 22px;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

@media (max-width: 600px) {
	.form-row {
		grid-template-columns: 1fr;
	}
}

.form-label {
	display: block;
	font-size: .95rem;
	font-weight: 700;
	color: var(--navy);
	margin-bottom: 7px;
}

.required-mark {
	color: #d03030;
	margin-left: 2px;
}

#seiyaku-lp-body .form-input,
#seiyaku-lp-body .form-select,
#seiyaku-lp-body .form-textarea {
	width: 100%;
	padding: 13px 15px;
	border: 2px solid var(--line);
	border-radius: 8px;
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 1rem;
	color: var(--text);
	background: #f0f0f0;
	transition: border-color .2s, background .2s;
	appearance: none;
	-webkit-appearance: none;
	min-height: 50px;
}

.form-input.has-value,
.form-select.has-value,
.form-textarea.has-value,
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
	background: #fff;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
	outline: none;
	border-color: var(--navy);
	box-shadow: 0 0 0 3px rgba(28, 53, 87, .12);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
	border-color: #d03030;
}

.form-select {
	background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A5A5A' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 40px;
}

.form-textarea {
	min-height: 120px;
	resize: vertical;
	line-height: 1.7;
}

.form-error {
	font-size: .85rem;
	color: #d03030;
	margin-top: 4px;
	min-height: 18px;
}

.form-privacy {
	margin-top: 6px;
}

.checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
	margin-top: 3px;
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	accent-color: var(--navy);
}

.checkbox-text {
	font-size: .9rem;
	line-height: 1.6;
}

.form-link {
	color: var(--navy);
	text-underline-offset: 2px;
}

.btn-full {
	width: 100%;
	display: block;
}

.form-thanks {
	text-align: center;
	padding: 24px 0;
}

.thanks-icon {
	font-size: 2.5rem;
	color: #2a9d5c;
	line-height: 1;
	margin-bottom: 16px;
}

.thanks-title {
	font-size: 1.3rem;
	color: var(--navy);
	margin: 0 0 12px;
}

.thanks-text {
	color: var(--muted);
	line-height: 1.8;
	font-size: .95rem;
}

.thanks-text a {
	color: var(--navy);
}

.tel-cta {
	text-align: center;
	margin-top: 32px;
}

.tel-cta-text {
	font-size: .9rem;
	color: var(--muted);
	margin: 0 0 10px;
}

.tel-cta-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--navy);
	text-decoration: none;
	letter-spacing: .04em;
}

.tel-cta-link:hover {
	color: var(--gold);
}

.tel-hours {
	font-size: .82rem;
	color: var(--muted);
	margin: 8px 0 0;
}

/* ---- Footer ---- */
.site-footer {
	background: var(--navy-deep);
	color: rgba(255, 255, 255, .8);
}

.footer-inner {
	max-width: 1080px;
	margin: 0 auto;
	padding: 28px 18px;
	text-align: center;
}

.footer-brand {
	margin-bottom: 10px;
}

.footer-brand .brand-area {
	display: block;
}

.footer-brand .brand-name {
	color: #fff;
}

.footer-note {
	font-size: .8rem;
	color: rgba(255, 255, 255, .6);
	margin: 8px 0;
}

.footer-related {
	margin: 10px 0 4px;
}

.footer-related-link {
	font-size: .85rem;
	color: rgba(255, 255, 255, .7);
	text-decoration: underline;
}

.footer-related-link:hover {
	color: #fff;
}

.footer-copy {
	font-size: .8rem;
	color: rgba(255, 255, 255, .5);
	margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 700px) {
	.strength-grid {
		grid-template-columns: 1fr;
	}

	#map {
		height: 56vh;
	}

	.list-scroll {
		max-height: 60vh;
	}

	.hero {
		padding: 44px 18px 40px;
	}

	.map-toolbar {
		flex-direction: column;
	}

	.map-toolbar .btn-outline {
		width: 100%;
	}
}