/* ========================================================= */
/* 訪問福祉理美容サービス固有のスタイル (css/fukushi.css) */
/* ========================================================= */

/* 1. ページビジュアルとコンセプト */
#fukushi-visual-concept {
	padding: 0;
}

.visual-area {
	background-image: url('images/fukushi_visual_main.jpg'); /* 実際の画像に置き換え */
	background-size: cover;
	background-position: center;
	height: 45vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	background-color: #81c784; /* 温かいグリーン */
	color: #fff;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
	overflow: hidden;
	position: relative; /* 既存の設定ですが、念のため確認 */
	z-index: 2; /* 他の要素より手前に配置し、::beforeが確実にこの要素内にとどまるようにする */
}
.visual-area:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.1); /* 半透明の黒 (10%の透明度) */
	z-index: 1; /* テキストの下に配置 */
}

.visual-area h1 {
	font-size: 36px;
	margin-bottom: 5px;
	color: #fff;
	font-weight: 700; /* 太字で強調 */
}

.visual-area p {
	font-size: 18px;
	font-weight: 500;
	text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.9);
}

.concept-text {
	padding: 60px 20px;
	text-align: center;
	background-color: #fff;
}

.concept-text h3 {
	font-size: 24px;
	margin-bottom: 20px;
	color: #00796b; /* 信頼感のあるティール */
	border-bottom: 3px solid #b2dfdb; /* 淡い線 */
	display: inline-block;
	padding-bottom: 5px;
}

.concept-text p {
	max-width: 900px;
	margin: 0 auto;
	font-size: 16px;
}

/* 2. サービスが選ばれる理由 */
#fukushi-reason {
	background-color: #e0f2f1; /* 優しいミントグリーンの背景 */
}

.reason-list-grid {
	display: flex;
	gap: 30px;
	justify-content: space-around;
}

.reason-card {
	flex: 1;
	text-align: center;
	padding: 30px;
	background-color: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.3s;
}

.reason-icon {
	font-size: 36px;
	color: #4caf50; /* アイコンを強調する明るいグリーン */
	display: block;
	margin-bottom: 15px;
}

.reason-card h4 {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 10px;
	color: #00796b;
}

/* 3. ご利用開始までの流れ */
#fukushi-flow {
	background-color: #fff;
	padding-bottom: 80px; /* 矢印のためのスペース確保 */
}

.flow-steps {
	display: flex;
	justify-content: space-between;
	text-align: center;
	gap: 20px;
	position: relative;
	/* 矢印コンテナの高さ調整 */
	padding-bottom: 20px;
}

/* ステップ間の区切り線（矢印）の親コンテナ */
.flow-steps::after {
	content: '';
	position: absolute;
	top: 55px; /* カードの上端からの位置 */
	left: 10%;
	right: 10%;
	height: 1px;
	background: #b2dfdb; /* 淡い線 */
	z-index: 0;
}

/* 矢印（各ステップの前に配置） */
.step-item:not(:last-child)::after {
	content: '▶'; /* 矢印記号 */
	position: absolute;
	top: 50px;
	right: -25px; /* ステップ間のスペースを考慮 */
	font-size: 20px;
	color: #4db6ac; /* アクア色 */
	z-index: 1; /* 手前の線より上 */
}

.step-item {
	flex: 1;
	padding: 20px 10px;
	border: 2px solid #b2dfdb;
	border-radius: 8px;
	position: relative;
}

.step-number {
	display: block;
	font-size: 18px;
	font-weight: bold;
	color: #e57373; /* 温かいコーラルピンクで強調 */
	margin-bottom: 10px;
}

/* 4. サービス内容と料金 */
#fukushi-menu-price {
	background-color: #f8f8f8;
}

#fukushi-menu-price h3 {
	font-size: 22px;
	margin: 30px 0 15px;
	border-left: 5px solid #00796b;
	padding-left: 10px;
}

.price-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 30px;
}

.price-table th, .price-table td {
	padding: 15px;
	border: 1px solid #ddd;
	text-align: left;
}

.price-table th {
	background-color: #4db6ac; /* 落ち着いたアクア色 */
	color: #fff;
	font-weight: 500;
}

.price-table tr:nth-child(even) {
	background-color: #e8f5e9; /* 薄い緑色 */
}

.price-table th:nth-child(1) {
	width: 30%; /* メニュー名を30%の幅に固定 */
	text-align: center;
}
.price-table th:nth-child(2) {
	width: 20%; /* 料金を20%の幅に固定 */
	text-align: center;
}
.price-table td:nth-child(1),
.price-table td:nth-child(2) {
	text-align: center;
}

.caution-note {
	text-align: right;
	font-size: 14px;
	color: #666;
}

.caution-important {
	font-size: 18px;
	font-weight: bold;
	color: #d32f2f; /* 注意喚起の赤 */
	margin-top: 20px;
}

.caution-list {
	list-style: disc;
	padding-left: 20px;
	margin-left: 20px;
	font-size: 15px;
	color: #555;
}

/* 5. 相談・お問い合わせCTA */
#fukushi-cta-contact {
	background-color: #00796b;
	padding: 50px 0;
	text-align: center;
}

#fukushi-cta-contact h2 {
	color: #fff;
}

#fukushi-cta-contact .btn-mega-cta {
	display: inline-block;
	padding: 20px 60px;
	background-color: #fff;
	color: #00796b;
	border-radius: 50px;
	transition: background-color 0.3s;
}

#fukushi-cta-contact .btn-mega-cta:hover {
	background-color: #ffc107; /* アクセントの黄色 */
}

#fukushi-cta-contact .cta-label {
	display: block;
	font-size: 24px;
	font-weight: bold;
}

#fukushi-cta-contact .cta-detail {
	font-size: 14px;
	color: #555;
}

@media (max-width: 768px) {
	/* ページビジュアル */
	.visual-area h1 {
		font-size: 32px;
		font-weight: 700;
	}

   .visual-area p {
		font-size: 20px; /* サブコピーはより小さく */
		/* モバイルでも影を適用 */
		text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
	}

	/* 選ばれる理由 */
	.reason-list-grid {
		flex-direction: column;
		gap: 20px; /* カード間の隙を調整 */
	}

	/* サービスの流れ（縦並びに変更） */
	#fukushi-flow {
		padding-bottom: 40px; /* 下部のパディングを調整 */
	}
	.flow-steps {
		flex-direction: column; /* ★縦並びにする★ */
		gap: 30px; /* 縦のステップ間の隙 */
		padding-bottom: 0;
	}

	.step-item {
		flex: unset; /* flexの比率を解除 */
		padding: 15px 15px;
		border: 2px solid #b2dfdb;
		border-radius: 8px;
		/* スマホではテキストを左寄せにして読みやすくする */
		text-align: left;
	}

	.step-number {
		display: inline-block; /* インライン化 */
		margin-bottom: 0;
		margin-right: 10px;
	}

	.step-item h4 {
		display: inline; /* タイトルをステップナンバーの横に配置 */
		font-size: 18px;
	}

	/* ステップ間の矢印を非表示に */
	.flow-steps::after {
		display: none;
	}

	/* 各ステップの下に縦の矢印を表示 */
	.step-item:not(:last-child) {
		margin-bottom: 20px; /* 矢印の下のスペース */
	}

	.step-item:not(:last-child)::after {
		content: '▼'; /* 縦の矢印に変更 */
		position: absolute;
		top: auto;
		bottom: -25px; /* 下部への配置を調整 */
		left: 50%;
		right: auto;
		transform: translateX(-50%);
		font-size: 20px;
		color: #4db6ac;
		z-index: 1;
	}

	/* 料金表（横スクロール可能に）*/
	#fukushi-menu-price .inner-wrap {
		/* 横スクロールではなく、リスト形式に変更する方がUXが良いため、
		   既存のテンプレートのカットサロンのようにリスト形式に変換します。 */
		overflow-x: hidden; /* 横スクロールを無効化 */
		padding: 0 10px; /* 左右の余白を調整 */
	}
	.price-table {
		min-width: unset; /* 最小幅設定を解除 */
		border: none;
		margin-bottom: 20px;
	}

	/* theadを非表示にする */
	.price-table thead {
		display: none;
	}

	/* tbodyとtrをブロック化 */
	.price-table tbody, .price-table tr {
		display: block;
		width: 100%;
	}

	/* 各行の下に余白を設定 */
	.price-table tr {
		margin-bottom: 1px;
		background-color: #fff;
		border-bottom: 1px solid #eee;

		/* メニュー名と料金 (1列目と2列目) のコンテナとして機能させる */
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 15px 20px;
	}
	/* 最終行のボーダーを削除 */
	.price-table tr:last-child {
		border-bottom: none;
	}

	/* tdをブロック化 */
	.price-table td {
		display: block;
		width: 100%;
		padding: 0;
		border: none;
		text-align: left;
	}

	/* 料金表のモバイル個別調整 */
	/* メニュー名と料金以外の列 (3列目と4列目) を非表示にする */
	.price-table tr td:nth-child(3),
	.price-table tr td:nth-child(4) {
		display: none !important;
	}

	/* メニュー名の部分 (1列目) */
	.price-table tr td:nth-child(1) {
		font-weight: 500;
		flex-grow: 1;
		padding-right: 10px;
		padding-left: 0;
		text-align: left; /* 左寄せに戻す */
	}

	/* 料金の部分 (2列目) - 黒系、固定幅、右揃え */
	.price-table tr td:nth-child(2) {
		color: #1a1a1a; /* 黒系 */
		font-weight: bold;
		flex-shrink: 0;
		width: 90px; /* 料金表示エリアを広めに固定し、右揃えで「～」の有無によるズレを吸収 */
		text-align: right; /* 料金を右揃えに */
		white-space: nowrap; /* 金額と「～」を改行させない */
		padding: 0;
	}

	/* 料金と備考の行ごとの背景色を削除 (trが背景を持つため) */
	.price-table tr:nth-child(even) {
		background-color: #f9f9f9;
	}

	/* 相談・お問い合わせCTA */
	#fukushi-cta-contact .btn-mega-cta {
		padding: 20px 30px;
	}
	#fukushi-cta-contact .cta-label {
		font-size: 20px;
	}
}
