@charset "utf-8";

/*===========================================================================
  sumikae.css — ホーム住みかえ相談 専用スタイル
===========================================================================*/

/* ▼ KV（キービジュアル）
---------------------------------------------------------------------------*/
#kv {
	background: linear-gradient(150deg, #f8f4ee 0%, #ede3d2 55%, #e4d5bc 100%);
	min-height: 56vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 7rem 2rem 5rem;
	text-align: center;
	position: relative;
	overflow: hidden;
}

/* 装飾：薄い円形グラデーション */
#kv::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 25% 70%, rgba(180,153,85,0.10) 0%, transparent 55%),
		radial-gradient(ellipse at 75% 25%, rgba(23,51,90,0.06) 0%, transparent 50%);
	pointer-events: none;
}

.kv-inner {
	position: relative;
	z-index: 1;
	max-width: 680px;
	width: 100%;
}

/* ロゴ */
.kv-logo {
	width: min(400px, 75vw);
	margin: 0 auto 1rem;
}
.kv-logo img {
	width: 100%;
	height: auto;
	display: block;
}

/* サービス名バッジ */
.kv-badge {
	display: inline-block;
	border: 1px solid var(--primary-color);
	color: var(--primary-color);
	font-size: 0.85rem;
	letter-spacing: 0.18em;
	padding: 0.35em 1.6em;
	margin-bottom: 1.2rem;
	border-radius: 2px;
}

/* キャッチコピー */
.kv-catch {
	font-family: serif;
	font-size: clamp(1.25rem, 3.5vw, 1.8rem);
	line-height: 1.8;
	color: var(--accent-color);
	font-weight: 500;
	margin-bottom: 2rem;
}

/* CTAボタン */
.kv-cta {
	display: inline-block;
	background: var(--secondary-color);
	color: #fff;
	text-decoration: none;
	padding: 0.85em 3.2em;
	border-radius: 50px;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	transition: 0.3s;
	box-shadow: 0 4px 14px rgba(191,47,119,0.30);
}
.kv-cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(191,47,119,0.40);
	filter: none;
}

/* KV直下のページ内ナビ */
.kv-pagenav {
	background: var(--accent-color);
}
.kv-pagenav ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0;
	padding: 0;
}
.kv-pagenav ul li a {
	display: block;
	color: rgba(255,255,255,0.85);
	text-decoration: none;
	font-size: 1rem;
	letter-spacing: 0.06em;
	padding: 0.9em 1.4em;
	border-right: 1px solid rgba(255,255,255,0.15);
	transition: 0.25s;
}
.kv-pagenav ul li:first-child a { border-left: 1px solid rgba(255,255,255,0.15); }
.kv-pagenav ul li a:hover { background: rgba(255,255,255,0.12); color: #fff; filter: none; }


/* ▼ セクション共通 見出し
---------------------------------------------------------------------------*/
.s-heading {
	text-align: center;
	margin-bottom: 2.5rem;
}
.s-heading h2 {
	font-size: 30px;
	color: var(--accent-color);
	font-weight: 700;
	margin: 0 0 0.4em;
	padding: 0;
	display: block;
}
.s-heading h2::before { display: none; }
.s-heading .s-heading-en {
	display: block;
	font-size: 0.75rem;
	letter-spacing: 0.22em;
	color: var(--primary-color);
	margin-bottom: 0.8em;
}

/* 白抜きバリアント（暗背景上） */
.s-heading.light h2 { color: #fff; }
.s-heading.light .s-heading-en { color: rgba(255,255,255,0.65); }
.s-heading.light .s-heading-bar { background: rgba(255,255,255,0.55); }


/* ▼ 運営会社について
---------------------------------------------------------------------------*/
#about {
	background: #fff;
	padding-top: 0;
}
.about-inner {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
	gap: 2%;
}
.logo-area {
    width: 13%;
}
.text-area {
    width: 85%;
}
.about-label {
	display: inline-block;
	background: var(--accent-color);
	color: #fff;
	font-size: 0.85rem;
	letter-spacing: 0.14em;
	padding: 0.25em 0.9em;
	margin-bottom: 0.9em;
	border-radius: 2px;
}
.about-text {
	font-family: serif;
	font-size: 1.05rem;
	line-height: 2.1;
	color: #444;
	margin: 0 0 1.4em;
}
.about-group-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	background: #f5f0ea;
	border-left: 3px solid var(--primary-color);
	padding: 0.7em 1.4em;
	border-radius: 0 4px 4px 0;
	font-size: 0.88rem;
	color: var(--accent-color);
	margin-top: 1rem;
}

/* ▼ 私たちの強み
---------------------------------------------------------------------------*/
main .big-h2 {
    font-family: serif;
    font-size: 2.2rem;
    margin-bottom: 2%;
    letter-spacing: .1em;
    margin-right: -.1em;
}

/* ▼ 無料相談の仕組み
---------------------------------------------------------------------------*/
#system {
	background: #f5f0ea;
}
.system-lead {
	text-align: center;
	margin-bottom: 2rem;
}
.system-free-badge {
	display: inline-block;
	background: var(--secondary-color);
	color: #fff;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	padding: 0.55em 2.5em;
	border-radius: 50px;
	margin-bottom: 0.8rem;
}
.system-lead p {
	color: #555;
	margin: 2rem auto;
	font-size: 0.95rem;
}
.system-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.4rem;
	max-width: 900px;
	margin: 0 auto;
}
@media screen and (min-width: 600px) {
	.system-cards { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (min-width: 900px) {
	.system-cards { grid-template-columns: repeat(4, 1fr); }
}
.system-card {
	background: #fff;
	border-radius: 8px;
	padding: 2rem 1.5rem 1.8rem;
	text-align: center;
	box-shadow: 0 2px 10px rgba(0,0,0,0.06);
	position: relative;
}
.system-card .card-num {
	display: block;
	font-size: 0.65rem;
	letter-spacing: 0.2em;
	color: var(--primary-color);
	margin-bottom: 0.5em;
}
.system-card .card-icon {
	font-size: 2.2rem;
	display: block;
	margin-bottom: 0.9rem;
}
.system-card h3 {
	font-size: 0.98rem;
	color: var(--accent-color);
	font-weight: 700;
	margin: 0 0 0.7em;
}
.system-card p {
	font-size: 0.84rem;
	line-height: 1.75;
	color: #666;
	margin: 0;
}


/* ▼ ご利用の流れ
---------------------------------------------------------------------------*/
#flow-page {
	background: #fff;
}
.flow-steps {
	max-width: 1000px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
}
.flow-step {
	display: grid;
	width: calc((100% - 2rem * 2) / 3);
	margin-bottom: 0;
	position: relative;
}
/* ステップ間の縦ライン */
.flow-step + .flow-step { margin-top: 0; }
.flow-connector {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0.6rem 0;
}
.flow-connector-line {
	width: 2px;
	height: 40px;
	background: linear-gradient(to bottom, var(--primary-color), rgba(180,153,85,0.3));
	border-radius: 2px;
}
.flow-connector-arrow {
	color: var(--primary-color);
	font-size: 0.9rem;
	line-height: 1;
}

.flow-step-num {
	flex-shrink: 0;
	width: 60px;
	height: 60px;
	background: var(--accent-color);
	color: #fff;
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-size: 0.6rem;
	letter-spacing: 0.05em;
	line-height: 1.2;
}
.flow-step-num strong {
	font-size: 1.15rem;
	display: block;
	line-height: 1;
}
.flow-step-body {
	flex: 1;
	padding: 0.7rem 0 1.5rem;
	border-bottom: 1px dashed #ddd;
}
.flow-step-body h3 {
	font-size: 1.1rem;
	color: var(--accent-color);
	margin: 0 0 0.4em;
}
.flow-step-body p {
	font-size: 0.88rem;
	color: #666;
	margin: 0;
	line-height: 1.75;
}


/* ▼ よくあるご質問
---------------------------------------------------------------------------*/
#faq-page {
	background: var(--accent-color);
	color: #fff;
}
#faq-page .faq {
	max-width: 800px;
	margin: 0 auto;
	border-bottom: 1px solid rgba(255,255,255,0.25);
}
#faq-page .faq dt {
	border-top: 1px solid rgba(255,255,255,0.25);
	color: #fff;
}
#faq-page .faq dt::before {
	background: var(--primary-color);
	color: #fff;
}
#faq-page .faq dd {
	background: rgba(255,255,255,0.1);
	color: rgba(255,255,255,0.92);
}


/* ▼ 会社概要
---------------------------------------------------------------------------*/
#company-page {
	background: #f5f0ea;
}
.company-table-wrap {
	max-width: 860px;
	margin: 0 auto;
	background: #fff;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.company-table-wrap table {
	width: 100%;
	border-collapse: collapse;
}
.company-table-wrap table th,
.company-table-wrap table td {
	padding: 0.95em 1.4em;
	border-bottom: 1px solid #eee;
	font-size: 0.92rem;
	line-height: 1.75;
	vertical-align: top;
}
.company-table-wrap table th {
	background: var(--accent-color);
	color: #fff;
	font-weight: 600;
	width: 30%;
	white-space: nowrap;
}
.company-table-wrap table tr:last-child th,
.company-table-wrap table tr:last-child td {
	border-bottom: none;
}
@media screen and (max-width: 600px) {
	.company-table-wrap table th { width: 38%; }
}


/* ▼ お問い合わせ
---------------------------------------------------------------------------*/
#contact-page {
	background: var(--secondary-color);
	color: #fff;
	text-align: center;
}
.contact-tel-box {
	background: rgba(255,255,255,0.12);
	border-radius: 10px;
	padding: 2rem 2.5rem;
	max-width: 860px;
	margin: 0 auto 2.5rem;
}
.contact-tel-box p {
	margin: 0 0 0.5em;
	font-size: 0.9rem;
	opacity: 0.9;
}
.contact-tel-num {
	display: block;
	font-size: clamp(1.9rem, 5vw, 2.8rem);
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	letter-spacing: 0.06em;
	line-height: 1.2;
}
.contact-tel-txt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2%;
}
.contact-tel-box .contact-mail-txt{
	margin-top: 3%;
}
.contact-mail-txt .contact-tel-num {
    font-size: 1.8rem;
}
@media screen and (max-width: 600px) {
	.contact-tel-txt {
		flex-direction: column;
	}
	.contact-tel-num {
		font-size: 5vw;
	}
	.contact-mail-txt .contact-tel-num {
		font-size: 3.5vw;
	}
	.flow-step {
		display: flex;
		width: 100%;
	}
	.flow-step-body {
		margin-left: 5%;
	}
	main .big-h2 {
		font-size: 6vw;
	}
	.about-inner {
		flex-direction: column-reverse;
		align-items: center;
	}
	.text-area {
		width: 100%;
	}
	.logo-area {
		width: 30%;
		margin-bottom: 5%;
	}
}
.contact-tel-num:hover { filter: none; opacity: 0.85; }
.contact-tel-note {
	display: block;
	font-size: 0.82rem;
	opacity: 0.8;
	margin-top: 0.4em;
}
/* OR区切り */
.contact-or {
	display: flex;
	align-items: center;
	gap: 1rem;
	max-width: 480px;
	margin: 0 auto 2.5rem;
	color: rgba(255,255,255,0.6);
	font-size: 0.88rem;
}
.contact-or::before, .contact-or::after {
	content: '';
	flex: 1;
	height: 1px;
	background: rgba(255,255,255,0.35);
}
/* フォーム */
.contact-form {
	max-width: 580px;
	margin: 0 auto;
	text-align: left;
}
.form-row {
	margin-bottom: 1.4rem;
}
.form-row label {
	display: block;
	font-size: 0.88rem;
	font-weight: 600;
	margin-bottom: 0.45em;
}
.form-row label .req {
	background: #fff;
	color: var(--secondary-color);
	font-size: 0.68rem;
	font-weight: 700;
	padding: 0.1em 0.55em;
	border-radius: 2px;
	margin-left: 0.5em;
	vertical-align: middle;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row textarea {
	width: 100%;
	padding: 0.8em 1em;
	background: rgba(255,255,255,0.15);
	border: 1px solid rgba(255,255,255,0.35);
	border-radius: 5px;
	color: #fff;
	font-size: 0.95rem;
	font-family: inherit;
	transition: 0.25s;
	outline: none;
}
.form-row input::placeholder,
.form-row textarea::placeholder {
	color: rgba(255,255,255,0.45);
}
.form-row input:focus,
.form-row textarea:focus {
	background: rgba(255,255,255,0.22);
	border-color: rgba(255,255,255,0.75);
}
.form-row textarea {
	height: 130px;
	resize: vertical;
}
.form-privacy {
	font-size: 0.82rem;
	opacity: 0.8;
	text-align: center;
	margin-bottom: 1.5rem;
}
.form-privacy a { color: #fff; }
.form-submit {
	display: block;
	width: 100%;
	padding: 1em;
	background: #fff;
	color: var(--secondary-color);
	border: none;
	border-radius: 50px;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	cursor: pointer;
	transition: 0.3s;
}
.form-submit:hover {
	background: var(--accent-color);
	color: #fff;
}
.tsuyomi-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}