/**
 * souzoku.css — 相続不動産LP 専用スタイル
 *
 * - すべてのクラスは sz- プレフィックス付き（style.css / assetmanagement.css との衝突回避）
 * - :root 変数は style.css 定義済みのものを var(--...) で参照
 * - hero / final-cta の背景画像: assets/img/souzoku/hero.jpg（実画像は後で追加）
 *   ※ 参考 Unsplash URL（作業メモ）: https://images.unsplash.com/photo-1568605114967-8130f3a36994?auto=format&fit=crop&w=1600&q=70
 *   画像が存在しない場合も暗いグラデーションオーバーレイで可読性を維持。
 */

/* ================================================================
   リセット・基盤
   ================================================================ */
.sz-wrap {
	max-width: 1040px;
	margin: 0 auto;
	padding: 0 32px;
}

/* セクション共通の余白は各セクションブロックで個別に定義 */

.sz-worries,
.sz-checks,
.sz-cases,
.sz-reasons,
.sz-flow,
.sz-compare,
.sz-stories,
.sz-deadlines,
.sz-formsec,
.sz-faq {
	padding: 84px 0;
}

/* ================================================================
   共通見出し・テキスト部品
   ================================================================ */
.sz-eyebrow {
	font-family: 'Cormorant Garamond', serif;
	font-size: 14px;
	letter-spacing: .42em;
	color: var(--red);
	text-transform: uppercase;
	margin-bottom: 14px;
}

.sz-sec-h {
	font-family: 'Noto Serif JP', serif;
	font-weight: 900;
	font-size: clamp(22px, 2.7vw, 33px);
	line-height: 1.5;
	margin-bottom: 14px;
}

.sz-sec-lead {
	font-size: 14.5px;
	color: var(--muted);
	max-width: 680px;
	margin-bottom: 6px;
}

/* ================================================================
   1. HERO（案B：写真＋暗オーバーレイ）
   ================================================================ */
.sz-hero {
	position: relative;
	overflow: hidden;
	color: #fff;
	text-align: center;
	/* 実画像が 404 でも暗いグラデーションが残るため視認性は維持される */
	background:
		linear-gradient(rgba(15, 12, 10, .72), rgba(15, 12, 10, .82)),
		url('../img/souzoku/hero.jpg');
	background-size: cover;
	background-position: center;
}

/* ライン装飾オーバーレイ */
.sz-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: repeating-linear-gradient(
		90deg,
		transparent, transparent 119px,
		rgba(255, 255, 255, .025) 119px, rgba(255, 255, 255, .025) 120px
	);
}

.sz-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 820px;
	margin: 0 auto;
	padding: 96px 32px 88px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 86vh;
}

.sz-hero-tag {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	font-family: 'Cormorant Garamond', serif;
	font-size: 13px;
	letter-spacing: .42em;
	color: var(--gold-lt);
	margin-bottom: 30px;
	text-transform: uppercase;
}

.sz-hero-tag::before,
.sz-hero-tag::after {
	content: '';
	width: 34px;
	height: 1px;
	background: var(--gold-lt);
	opacity: .6;
}

/* rich_text の h1。Carbon Fields は <p> などでラップしないため直接スタイル。 */
.sz-h1 {
	font-family: 'Noto Serif JP', serif;
	font-weight: 900;
	font-size: clamp(24px, 3.3vw, 42px);
	line-height: 1.7;
	margin-bottom: 26px;
	color: #fff;
}

/* hero_h1 の em タグ（デフォルト値の「売るべきか、残すべきか」部分）を金色に */
.sz-h1 em {
	color: var(--gold-lt);
	font-style: normal;
}

/* hero_sub: nl2br で改行が入るため、テキストノードとして展開される */
.sz-sub {
	font-size: 14.5px;
	line-height: 1.95;
	color: rgba(255, 255, 255, .66);
	max-width: 600px;
	margin: 0 auto 34px;
}

/* ================================================================
   CTA ボタン（共通・ hero と final-cta で使用）
   ================================================================ */
.sz-cta-row {
	display: flex;
	gap: 13px;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 30px;
}

.sz-btn {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 14px;
	font-weight: 500;
	padding: 15px 30px;
	border-radius: 3px;
	text-decoration: none;
	display: inline-block;
	transition: .2s;
	cursor: pointer;
	border: none;
}

.sz-btn-primary {
	background: var(--red);
	color: #fff;
}

.sz-btn-primary:hover {
	background: var(--red-lt);
}

.sz-btn-ghost {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .5);
}

.sz-btn-ghost:hover {
	background: rgba(255, 255, 255, .1);
}

/* ================================================================
   バッジ
   ================================================================ */
.sz-badges {
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-wrap: wrap;
}

.sz-badge {
	font-size: 11.5px;
	letter-spacing: .06em;
	color: rgba(255, 255, 255, .85);
	border: 1px solid rgba(200, 162, 69, .45); /* = --gold-lt #c8a245 */
	border-radius: 99px;
	padding: 6px 15px;
}

/* ================================================================
   2. 悩み訴求
   ================================================================ */
.sz-worries {
	background: var(--cream);
}

.sz-wlist {
	list-style: none;
	margin-top: 34px;
	max-width: 840px;
}

.sz-wlist li {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	padding: 20px 4px;
	border-top: 1px solid var(--border);
}

.sz-wlist li:last-child {
	border-bottom: 1px solid var(--border);
}

.sz-wnum {
	font-family: 'Cormorant Garamond', serif;
	font-size: 25px;
	color: var(--gold);
	opacity: .7;
	min-width: 30px;
	padding-top: 2px;
}

.sz-wtext {
	font-size: 15px;
	font-weight: 500;
	color: var(--ink);
	line-height: 1.7;
}

/* ================================================================
   3. 最初に確認すべきこと
   ================================================================ */
.sz-checks {
	background: var(--white);
}

.sz-check-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1px;
	background: var(--border);
	border: 1px solid var(--border);
	margin-top: 34px;
}

.sz-check-item {
	background: var(--white);
	padding: 26px 24px;
}

.sz-check-n {
	font-family: 'Cormorant Garamond', serif;
	color: var(--red);
	font-size: 15px;
	letter-spacing: .1em;
	margin-bottom: 8px;
}

.sz-check-item h3 {
	font-family: 'Noto Serif JP', serif;
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 7px;
	line-height: 1.5;
}

.sz-check-item p {
	font-size: 13px;
	color: var(--muted);
	line-height: 1.7;
}

/* ================================================================
   4. 都心で多いケース
   ================================================================ */
.sz-cases {
	background: var(--cream);
}

.sz-case-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 18px;
	margin-top: 34px;
}

.sz-case-card {
	background: var(--white);
	border: 1px solid var(--border);
	padding: 28px 22px;
	text-align: center;
}

.sz-case-ic {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--warm);
	margin: 0 auto 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Cormorant Garamond', serif;
	color: var(--gold);
	font-size: 20px;
}

.sz-case-card h3 {
	font-family: 'Noto Serif JP', serif;
	font-size: 15.5px;
	font-weight: 600;
	margin-bottom: 6px;
}

.sz-case-card p {
	font-size: 12.5px;
	color: var(--muted);
}

/* ================================================================
   5. 選ばれる理由
   ================================================================ */
.sz-reasons {
	background: var(--ink);
	color: #fff;
}

.sz-reasons .sz-eyebrow {
	color: var(--gold-lt);
}

.sz-reasons .sz-sec-h {
	color: #fff;
}

.sz-reason-list {
	margin-top: 38px;
	display: grid;
}

.sz-reason {
	display: flex;
	gap: 24px;
	align-items: flex-start;
	padding: 26px 0;
	border-top: 1px solid rgba(255, 255, 255, .12);
}

.sz-reason:last-child {
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.sz-rn {
	font-family: 'Cormorant Garamond', serif;
	font-size: 30px;
	color: var(--gold-lt);
	min-width: 46px;
	line-height: 1;
}

.sz-reason h3 {
	font-family: 'Noto Serif JP', serif;
	font-size: 18px;
	font-weight: 600;
	color: #fff;
	margin-bottom: 8px;
}

.sz-reason p {
	font-size: 14px;
	color: rgba(255, 255, 255, .62);
	line-height: 1.85;
}

/* ================================================================
   6. 流れ
   ================================================================ */
.sz-flow {
	background: var(--white);
}

.sz-flow-list {
	counter-reset: sz-f;
	margin-top: 38px;
	max-width: 760px;
}

.sz-flow-step {
	position: relative;
	padding: 0 0 30px 62px;
	border-left: 2px solid var(--border);
	margin-left: 18px;
}

.sz-flow-step:last-child {
	border-left-color: transparent;
	padding-bottom: 0;
}

.sz-flow-step::before {
	counter-increment: sz-f;
	content: counter(sz-f);
	position: absolute;
	left: -19px;
	top: -4px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--red);
	color: #fff;
	font-family: 'Cormorant Garamond', serif;
	font-size: 17px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sz-flow-step h3 {
	font-family: 'Noto Serif JP', serif;
	font-size: 16.5px;
	font-weight: 600;
	margin-bottom: 5px;
}

.sz-flow-step p {
	font-size: 13.5px;
	color: var(--muted);
}

/* ================================================================
   7. 比較表
   ================================================================ */
.sz-compare {
	background: var(--cream);
}

.sz-ctable {
	width: 100%;
	border-collapse: collapse;
	margin-top: 34px;
	background: var(--white);
	font-size: 13.5px;
}

.sz-ctable th,
.sz-ctable td {
	border: 1px solid var(--border);
	padding: 16px 18px;
	text-align: left;
	vertical-align: top;
}

.sz-ctable thead th {
	background: var(--ink);
	color: #fff;
	font-family: 'Noto Serif JP', serif;
	font-weight: 600;
	letter-spacing: .04em;
}

.sz-ctable tbody th {
	background: var(--warm);
	font-family: 'Noto Serif JP', serif;
	font-weight: 600;
	white-space: nowrap;
	color: var(--ink);
}

.sz-ctable td {
	color: var(--ink-soft);
	line-height: 1.7;
}

/* ================================================================
   8. 相談事例
   ================================================================ */
.sz-stories {
	background: var(--white);
}

/* 「お悩みの声」リスト型（写真ブロック廃止・軽量・共感重視） */
.sz-voice-list {
	margin-top: 34px;
	border-top: 1px solid var(--border);
}

.sz-voice-item {
	display: grid;
	grid-template-columns: 116px 1fr;
	gap: 26px;
	align-items: start;
	padding: 26px 4px;
	border-bottom: 1px solid var(--border);
}

.sz-voice-tag {
	justify-self: start;
	width: 100%;
	margin-top: 5px;
	font-size: 11px;
	letter-spacing: .06em;
	color: var(--red);
	border: 1px solid var(--red);
	border-radius: 99px;
	padding: 4px 0;
	text-align: center;
	white-space: nowrap;
}

.sz-voice-q {
	position: relative;
	padding-left: 28px;
	font-family: 'Noto Serif JP', serif;
	font-weight: 600;
	font-size: 18px;
	line-height: 1.75;
	color: var(--ink);
}

.sz-voice-q::before {
	content: '\201C';
	position: absolute;
	left: -2px;
	top: -8px;
	font-family: 'Cormorant Garamond', serif;
	font-size: 42px;
	line-height: 1;
	color: var(--gold-lt);
}

.sz-voice-result {
	margin-top: 10px;
	padding-left: 28px;
	font-size: 13.5px;
	line-height: 1.85;
	color: var(--muted);
}

.sz-voice-arrow {
	color: var(--red);
	font-weight: 600;
	margin-right: 8px;
}

.sz-voice-foot {
	margin-top: 30px;
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
	justify-content: space-between;
}

.sz-voice-foot p {
	font-size: 13.5px;
	color: var(--ink);
}

.sz-voice-more {
	display: inline-block;
	font-size: 13.5px;
	font-weight: 500;
	letter-spacing: .04em;
	color: var(--red);
	border: 1px solid var(--red);
	border-radius: 3px;
	padding: 12px 26px;
	text-decoration: none;
	transition: background .2s, color .2s;
}

.sz-voice-more:hover {
	background: var(--red);
	color: #fff;
}

/* ================================================================
   9. 期限・税金
   ================================================================ */
.sz-deadlines {
	background: var(--ink);
	color: #fff;
}

.sz-deadlines .sz-eyebrow {
	color: var(--gold-lt);
}

.sz-deadlines .sz-sec-h {
	color: #fff;
}

/* sec-lead の白色バリアント */
.sz-sec-lead--light {
	color: rgba(255, 255, 255, .55);
	max-width: 680px;
}

.sz-dl-top {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 18px;
	margin-top: 34px;
}

.sz-dl-card {
	border: 1px solid rgba(200, 162, 69, .3); /* = --gold-lt #c8a245 */
	padding: 24px 22px;
	text-align: center;
}

.sz-dl-big {
	font-family: 'Cormorant Garamond', serif;
	font-size: 34px;
	color: var(--gold-lt);
	line-height: 1.1;
	margin-bottom: 6px;
}

.sz-dl-unit {
	font-size: 15px;
}

.sz-dl-card h3 {
	font-family: 'Noto Serif JP', serif;
	font-size: 14.5px;
	font-weight: 600;
	margin-bottom: 5px;
}

.sz-dl-card p {
	font-size: 12px;
	color: rgba(255, 255, 255, .55);
}

.sz-tax-list {
	margin-top: 26px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.sz-tax-list span {
	font-size: 12.5px;
	color: rgba(255, 255, 255, .8);
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 99px;
	padding: 7px 16px;
}

/* ================================================================
   10. フォーム
   ================================================================ */
.sz-formsec {
	background: var(--cream);
}

/* フォームセクションのヘッダーは中央揃え */
.sz-formsec .sz-eyebrow,
.sz-formsec .sz-sec-h,
.sz-formsec .sz-sec-lead {
	text-align: center;
}

.sz-formsec .sz-sec-lead {
	margin-left: auto;
	margin-right: auto;
}

.sz-form-card {
	background: var(--white);
	border: 1px solid var(--border);
	max-width: 760px;
	margin: 34px auto 0;
	padding: 42px 40px;
}

.sz-form-row {
	margin-bottom: 20px;
}

.sz-form-row label {
	display: block;
	font-size: 13.5px;
	font-weight: 600;
	margin-bottom: 7px;
}

.sz-form-req {
	color: var(--red);
	font-size: 11px;
	margin-left: 7px;
}

.sz-form-opt {
	color: var(--muted);
	font-size: 11px;
	margin-left: 7px;
}

.sz-form-row input,
.sz-form-row select,
.sz-form-row textarea {
	width: 100%;
	border: 1px solid var(--border);
	padding: 12px 14px;
	font-family: inherit;
	font-size: 14px;
	background: var(--cream);
	border-radius: 3px;
}

.sz-form-row textarea {
	min-height: 96px;
	resize: vertical;
}

.sz-form-submit {
	text-align: center;
	margin-top: 30px;
}

/* フォームセクション内のプライマリボタン */
.sz-formsec .sz-btn-primary {
	padding: 16px 40px;
	font-size: 15px;
}

.sz-placeholder-note {
	text-align: center;
	font-size: 12px;
	color: var(--muted);
	margin-top: 16px;
}

/* フォーム上の「選ぶだけ・約30秒」ヒント */
.sz-form-hint {
	text-align: center;
	font-size: 13px;
	font-weight: 500;
	color: var(--red);
	letter-spacing: .02em;
	margin-top: 6px;
}

/* ---- Contact Form 7（本番フォーム）をLPの体裁に合わせる ---- */
.sz-form-card .wpcf7-form p {
	margin-bottom: 20px;
}

.sz-form-card .wpcf7-form label {
	display: block;
	font-size: 13.5px;
	font-weight: 600;
	margin-bottom: 7px;
	line-height: 1.6;
}

.sz-form-card .wpcf7-form-control-wrap {
	display: block;
}

.sz-form-card .wpcf7-form input[type="text"],
.sz-form-card .wpcf7-form input[type="email"],
.sz-form-card .wpcf7-form input[type="tel"],
.sz-form-card .wpcf7-form input[type="number"],
.sz-form-card .wpcf7-form select,
.sz-form-card .wpcf7-form textarea {
	width: 100%;
	border: 1px solid var(--border);
	padding: 12px 14px;
	font-family: inherit;
	font-size: 14px;
	background: var(--cream);
	border-radius: 3px;
	box-sizing: border-box;
}

.sz-form-card .wpcf7-form textarea {
	min-height: 96px;
	resize: vertical;
}

/* 送信ボタン（中央・赤） */
.sz-form-card .wpcf7-form p:last-of-type {
	text-align: center;
	margin-top: 28px;
	margin-bottom: 0;
}

.sz-form-card .wpcf7-form input[type="submit"] {
	display: inline-block;
	background: var(--red);
	color: #fff;
	border: none;
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: .04em;
	padding: 16px 44px;
	border-radius: 3px;
	cursor: pointer;
	transition: background .2s;
}

.sz-form-card .wpcf7-form input[type="submit"]:hover {
	background: var(--red-lt);
}

/* バリデーション・送信結果メッセージ */
.sz-form-card .wpcf7-not-valid-tip {
	color: var(--red);
	font-size: 12px;
	margin-top: 5px;
}

.sz-form-card .wpcf7-response-output {
	margin: 20px 0 0 !important;
	padding: 12px 16px;
	font-size: 13px;
	border-radius: 3px;
}

/* ================================================================
   11. FAQ
   ================================================================ */
.sz-faq {
	background: var(--white);
}

.sz-faq-list {
	margin-top: 34px;
	max-width: 820px;
}

.sz-faq-item {
	border-top: 1px solid var(--border);
	padding: 22px 4px;
}

.sz-faq-item:last-child {
	border-bottom: 1px solid var(--border);
}

.sz-faq-q {
	display: flex;
	gap: 14px;
	font-family: 'Noto Serif JP', serif;
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.55;
}

.sz-faq-q::before {
	content: 'Q';
	font-family: 'Cormorant Garamond', serif;
	color: var(--red);
	font-size: 19px;
	line-height: 1;
	flex-shrink: 0;
}

.sz-faq-a {
	display: flex;
	gap: 14px;
	margin-top: 10px;
	font-size: 13.5px;
	color: var(--muted);
	line-height: 1.85;
}

.sz-faq-a::before {
	content: 'A';
	font-family: 'Cormorant Garamond', serif;
	color: var(--gold);
	font-size: 19px;
	line-height: 1;
	flex-shrink: 0;
}

/* ================================================================
   12. 最終CTA
   ================================================================ */
.sz-final {
	position: relative;
	overflow: hidden;
	color: #fff;
	text-align: center;
	/* 実画像が 404 でも暗いグラデーションが残るため視認性は維持される */
	background:
		linear-gradient(rgba(15, 12, 10, .8), rgba(15, 12, 10, .86)),
		url('../img/souzoku/hero.jpg');
	background-size: cover;
	background-position: center;
}

.sz-final-inner {
	position: relative;
	z-index: 1;
	padding: 90px 32px;
}

.sz-final-h {
	font-family: 'Noto Serif JP', serif;
	font-weight: 900;
	font-size: clamp(22px, 2.8vw, 34px);
	line-height: 1.65;
	margin-bottom: 20px;
}

/* final_cta_heading の em タグ（「どうするべきか」部分）を金色に */
.sz-final-h em {
	color: var(--gold-lt);
	font-style: normal;
}

.sz-final > .sz-final-inner > p {
	font-size: 14.5px;
	color: rgba(255, 255, 255, .7);
	margin-bottom: 34px;
}

/* ================================================================
   レスポンシブ（〜 600px）
   ================================================================ */
@media (max-width: 600px) {
	.sz-worries,
	.sz-checks,
	.sz-cases,
	.sz-reasons,
	.sz-flow,
	.sz-compare,
	.sz-stories,
	.sz-deadlines,
	.sz-formsec,
	.sz-faq {
		padding: 60px 0;
	}

	.sz-wrap {
		padding: 0 22px;
	}

	.sz-hero-inner {
		min-height: 80vh;
		padding: 80px 22px;
	}

	.sz-final-inner {
		padding: 64px 22px;
	}

	/* 事例「声」リスト：スマホはタグを上に積む */
	.sz-voice-item {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.sz-voice-tag {
		width: auto;
		justify-self: start;
		padding: 4px 14px;
		margin-top: 0;
	}

	.sz-voice-q {
		font-size: 16.5px;
	}

	.sz-voice-foot {
		flex-direction: column;
		align-items: flex-start;
	}

	.sz-reason {
		gap: 16px;
	}

	.sz-rn {
		min-width: 34px;
		font-size: 24px;
	}

	.sz-ctable {
		font-size: 12px;
	}

	.sz-ctable th,
	.sz-ctable td {
		padding: 11px 10px;
	}

	.sz-form-card {
		padding: 30px 22px;
	}
}
