/* 不動産サポート サービスサイト
   文字は画像に焼き込まず、すべてHTMLのテキストで書く（後から料金や文言を直せるように）。 */

:root {
	--navy: #1f3a5f;
	--navy-dark: #152a45;
	--accent: #e07b2c;
	--accent-dark: #c4651b;
	--ink: #24303d;
	--muted: #5d6b7a;
	--line: #dde3ea;
	--bg-soft: #f4f7fa;
	--bg-warm: #fff8f0;
	--radius: 10px;
	--wrap: 1040px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
	color: var(--ink);
	line-height: 1.8;
	font-size: 16px;
	background: #fff;
	-webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy); }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { line-height: 1.45; margin: 0 0 .6em; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.section-warm { background: var(--bg-warm); }
.section-title { font-size: 1.7rem; text-align: center; margin-bottom: .4em; }
.section-lead { text-align: center; color: var(--muted); margin: 0 auto 2.2em; max-width: 720px; }
.small { font-size: .88rem; color: var(--muted); }
.center { text-align: center; }

/* ヘッダー */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.logo { text-decoration: none; color: var(--navy); font-weight: bold; font-size: 1.25rem; line-height: 1.2; }
.logo small { display: block; font-size: .7rem; font-weight: normal; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink); padding: 6px 10px; border-radius: 6px; font-size: .92rem; }
.nav a:hover, .nav a.current { background: var(--bg-soft); color: var(--navy); }
.nav a.btn { color: #fff; }
.nav-toggle { display: none; }

/* ボタン */
.btn {
	display: inline-block; text-decoration: none; text-align: center;
	background: var(--accent); color: #fff; font-weight: bold;
	padding: 12px 28px; border-radius: 999px; border: 0; cursor: pointer; font-size: 1rem;
}
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn-sm { padding: 6px 16px; font-size: .9rem; }
.btn-lg { padding: 16px 40px; font-size: 1.1rem; }
.btn-ghost { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btns.center { justify-content: center; }

/* ファーストビュー */
.hero {
	/* 写真の左側（白い壁）に見出しを重ねるため、左から濃紺のグラデーションをかける */
	background:
		linear-gradient(90deg, rgba(21,42,69,.94) 0%, rgba(21,42,69,.82) 42%, rgba(21,42,69,.25) 75%, rgba(21,42,69,.05) 100%),
		url(/assets/img/hero.jpg) center right / cover no-repeat,
		var(--navy);
	color: #fff; padding: 88px 0 80px;
}
.hero .eyebrow { display: inline-block; background: rgba(255,255,255,.15); padding: 2px 12px; border-radius: 999px; font-size: .9rem; margin-bottom: 16px; }
.hero h1 { font-size: 2.2rem; margin-bottom: .5em; }
.hero p { font-size: 1.08rem; color: rgba(255,255,255,.9); max-width: 680px; }
.hero .btn-ghost { color: #fff; border-color: #fff; }
.hero .btn-ghost:hover { background: #fff; color: var(--navy); }

/* ページ見出し（下層ページ） */
.page-head { background: var(--navy); color: #fff; padding: 40px 0 32px; }
.page-head h1 { font-size: 1.8rem; margin: 0; }
.page-head p { margin: .4em 0 0; color: rgba(255,255,255,.85); }
.breadcrumb { font-size: .82rem; color: rgba(255,255,255,.75); margin-bottom: 8px; }
.breadcrumb a { color: rgba(255,255,255,.85); }

/* カード */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 1.15rem; color: var(--navy); }
.card-img { display: block; width: calc(100% + 48px); max-width: none; margin: -24px -24px 18px; aspect-ratio: 8 / 5; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.card .label { display: inline-block; font-size: .78rem; font-weight: bold; color: var(--accent-dark); margin-bottom: 6px; }
.card ul { padding-left: 1.2em; margin: 0; }

/* お悩み（吹き出し） */
.voices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 860px; margin: 0 auto; }
.voice { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; position: relative; }
.voice::before { content: "“"; color: var(--accent); font-size: 1.6rem; line-height: 1; margin-right: 4px; vertical-align: -6px; }

/* 表 */
.table { width: 100%; border-collapse: collapse; background: #fff; }
.table th, .table td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.table thead th { background: var(--navy); color: #fff; font-weight: bold; }
.table tbody th { background: var(--bg-soft); width: 32%; font-weight: bold; }
.table .num { text-align: right; white-space: nowrap; }
.table-scroll { overflow-x: auto; }

/* 料金 */
.price-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.price-cards-3 { grid-template-columns: repeat(3, 1fr); }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--accent); }
.price-card .for { font-size: .88rem; color: var(--muted); min-height: 3.2em; }
.price-card h3 { font-size: 1.1rem; color: var(--navy); margin: 6px 0 12px; }
.price-card .amount { font-size: .9rem; border-top: 1px solid var(--line); padding-top: 10px; }
.price-card .amount strong { font-size: 1.4rem; color: var(--ink); }
.price-note { background: var(--bg-soft); border-radius: var(--radius); padding: 14px 18px; font-size: .9rem; margin-top: 18px; }

/* 料金（1プラン） */
.plan-box { max-width: 720px; margin: 0 auto; background: #fff; border: 2px solid var(--accent); border-radius: var(--radius); padding: 28px; text-align: center; }
.plan-name { font-weight: bold; color: var(--navy); font-size: 1.1rem; }
.plan-launch-label { display: inline-block; background: var(--accent); color: #fff; font-weight: bold; font-size: .9rem; padding: 2px 14px; border-radius: 999px; margin-bottom: 10px; }
.plan-prices { display: flex; justify-content: center; gap: 40px; margin: 6px 0 4px; }
.plan-prices span { display: block; font-size: .9rem; color: var(--muted); }
.plan-prices strong { font-size: 2.2rem; color: var(--ink); line-height: 1.2; }
.plan-regular { font-size: .9rem; color: var(--muted); }
.plan-includes { list-style: none; padding: 0; margin: 18px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; text-align: left; }
.plan-includes li::before { content: "✓"; color: var(--accent-dark); font-weight: bold; margin-right: 6px; }
@media (max-width: 640px) { .plan-includes { grid-template-columns: 1fr; } .plan-prices { gap: 20px; } .plan-prices strong { font-size: 1.8rem; } }

/* 流れ */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 14px; position: relative; }
.steps li::before { content: counter(step); display: block; width: 30px; height: 30px; line-height: 30px; text-align: center; border-radius: 50%; background: var(--navy); color: #fff; font-weight: bold; margin-bottom: 8px; }
.steps h3 { font-size: 1rem; margin-bottom: .3em; }
.steps p { font-size: .88rem; margin: 0; color: var(--muted); }

/* よくある質問 */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: bold; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q."; color: var(--accent); margin-right: 8px; }
.faq details > div { padding: 0 20px 16px 46px; }

/* 担当・運営 */
.profile { display: flex; gap: 24px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; max-width: 820px; margin: 0 auto; }
.profile .avatar { flex: 0 0 96px; height: 96px; border-radius: 50%; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--navy); font-weight: bold; }
.profile h3 { margin-bottom: .2em; }

/* 相談への誘導 */
.cta { background: var(--navy); color: #fff; text-align: center; padding: 56px 0; }
.cta h2 { font-size: 1.6rem; }
.cta p { color: rgba(255,255,255,.9); }

/* 注記 */
.notice { border-left: 4px solid var(--accent); background: var(--bg-warm); padding: 12px 16px; border-radius: 0 var(--radius) var(--radius) 0; font-size: .92rem; }
.sample-badge { display: inline-block; background: var(--accent); color: #fff; font-size: .8rem; font-weight: bold; padding: 2px 10px; border-radius: 999px; }

/* 月次レポートの見本 */
.report { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0 24px; }
.kpi { background: var(--bg-soft); border-radius: var(--radius); padding: 14px; }
.kpi .name { font-size: .85rem; color: var(--muted); }
.kpi .value { font-size: 1.6rem; font-weight: bold; }
.kpi .diff { font-size: .85rem; }
.up { color: #1d7f4e; }
.down { color: #b23b3b; }
.bar { height: 10px; background: var(--line); border-radius: 999px; overflow: hidden; margin-top: 6px; }
.bar span { display: block; height: 100%; background: var(--navy); }

/* フォーム */
.form { max-width: 760px; margin: 0 auto; }
.form .field { margin-bottom: 20px; }
.form .title { display: block; font-weight: bold; margin-bottom: 6px; }
.form .req { background: #c0392b; color: #fff; font-size: .72rem; padding: 1px 6px; border-radius: 4px; margin-left: 6px; vertical-align: 2px; }
.form .opt { background: var(--muted); color: #fff; font-size: .72rem; padding: 1px 6px; border-radius: 4px; margin-left: 6px; vertical-align: 2px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea, .form select {
	width: 100%; padding: 10px 12px; border: 1px solid #c7d0da; border-radius: 6px; font: inherit; background: #fff;
}
.form textarea { min-height: 140px; }
.form .choices { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.form .choices label { display: flex; gap: 8px; align-items: flex-start; font-weight: normal; }
.form .hint { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.form .errors { border: 1px solid #c0392b; background: #fdf0ee; color: #8e2a1f; border-radius: var(--radius); padding: 14px 18px; margin-bottom: 20px; }
.form .errors ul { margin: 0; padding-left: 1.2em; }
.confirm-table th { width: 30%; }

/* フッター */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.85); padding: 40px 0 24px; font-size: .9rem; }
.site-footer a { color: rgba(255,255,255,.9); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-cols { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 4px 28px; }
.copyright { margin-top: 28px; font-size: .8rem; color: rgba(255,255,255,.6); }

/* スマートフォン */
@media (max-width: 860px) {
	.cards, .price-cards { grid-template-columns: 1fr 1fr; }
	.steps { grid-template-columns: 1fr 1fr; }
	.kpis { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	body { font-size: 15px; }
	.section { padding: 44px 0; }
	.hero { padding: 48px 0 40px; background: linear-gradient(rgba(21,42,69,.86), rgba(21,42,69,.86)), url(/assets/img/hero.jpg) 70% center / cover no-repeat, var(--navy); }
	.hero h1 { font-size: 1.55rem; }
	.section-title { font-size: 1.35rem; }
	.cards, .cards-2, .price-cards, .voices, .steps, .kpis { grid-template-columns: 1fr; }
	.nav-toggle { display: block; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; font: inherit; }
	.nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; }
	.nav.open { display: flex; }
	.profile { flex-direction: column; }
	.table tbody th { width: 40%; }
	.footer-links { grid-template-columns: 1fr; }
	/* 表を縦に積む（列の多い表をスマートフォンで読みやすく） */
	.table-stack thead { display: none; }
	.table-stack tr { display: block; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
	.table-stack td { display: flex; justify-content: space-between; gap: 12px; border: 0; border-bottom: 1px solid var(--line); text-align: right; }
	.table-stack td:last-child { border-bottom: 0; }
	.table-stack td::before { content: attr(data-label); font-weight: bold; color: var(--muted); text-align: left; flex: 0 0 auto; }
	.table-stack td:first-child { display: block; text-align: left; background: var(--bg-soft); }
	.table-stack td:first-child::before { display: block; font-size: .8rem; }
}
