﻿/* ---------------------------------------------------------------------------------------------

　   ベーススタイル

--------------------------------------------------------------------------------------------- */

@import url("base-style.css");

/* ---------------------------------------------------------------------------------------------

　   リセット & 共通設定

--------------------------------------------------------------------------------------------- */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	/* overflow-x: hidden; */
}

body {
	font-family: 'Helvetica Neue', sans-serif;
	font-size: var(--text-base);
	color: var(--text-gray);
	background-color: var(--bg-white);
	line-height: 1.6;
	overflow-x: hidden;
}

/* ---------------------------------------------------------------------------------------------

　   共通クラス

--------------------------------------------------------------------------------------------- */

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 16px;
	/* はみ出し防止 */
	box-sizing: border-box;
	/* 念のため */
}

.btn {
	display: inline-block;
	padding: 12px 24px;
	border-radius: 12px;
	font-weight: var(--font-weight-medium);
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	font-size: var(--text-base);
	line-height: 1.5;
}

.btn--green {
	background-color: var(--sky-blue);
	color: var(--text-strong);
}

.btn--skyblue {
	background-color: var(--sky-blue);
	color: var(--text-strong);
}

.btn--white {
	background-color: var(--bg-white);
	color: var(--sky-blue);
	border: 2px solid var(--sky-blue);
}

.btn--forest-green {
	background-color: var(--forest-green);
	color: var(--text-white);
}

.btn--deep-blue {
	background-color: var(--deep-blue);
	color: var(--text-white);
}

.subcopy {
	color: var(--text-gray);
	font-size: var(--text-base);
	text-align: center;
	margin-top: 1rem;
}

/* フワッとっ表示基本 */
.fade-seq {
	opacity: 0;
	transition: opacity 1.2s ease, transform 1.2s ease-out;
}

/* 下から */
.fade-up {
	transform: translateY(30px);
}

.fade-up.show {
	opacity: 1;
	transform: translateY(0);
}

/* 左から */
.fade-left {
	transform: translateX(-30px);
}

.fade-left.show {
	opacity: 1;
	transform: translateX(0);
}

/* 右から */
.fade-right {
	transform: translateX(30px);
}

.fade-right.show {
	opacity: 1;
	transform: translateX(0);
}

.zoom-hover {
	transition: transform 0.3s ease;
}

.zoom-hover:hover {
	transform: scale(1.05);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.thanks {
	font-size: var(--text-xl);
	margin: 1rem 1rem 1rem 1rem;
	text-align: center;
}

/* PCなど大きい画面では何も表示しない */
.sp-br {
	display: none;
}

/* スマホ表示時だけ改行＋余白 */
@media screen and (max-width: 767px) {
	.sp-br {
		display: inline;
	}

	.sp-br::after {
		content: "\A";
		/* 改行コード */
		white-space: pre;
		/* \A を改行として扱う */
	}

	/* 改行後の行間を少し詰めたい場合 */
	.sp-br+* {
		margin-top: 0.25em;
		/* 改行後の要素に少し余白 */
		display: inline;
		/* インライン要素にすることで自然な折り返し */
	}
}

/* ---------------------------------------------------------------------------------------------

　   Header

--------------------------------------------------------------------------------------------- */

.header {
	height: 40px;
	background: #fff;
	display: flex;
	align-items: center;
	z-index: 1000;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.header__inner {
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.brand {
	display: flex;
	align-items: center;
	gap: 8px;
	/* 画像と文字の間隔はここで管理 */
}

.brand img {
	height: 10%;
	width: 10%;
	display: block;
}

.logo {
	font-size: var(--text-ms);
	font-weight: bold;
	white-space: nowrap;
	margin: 0;
	/* brand 内では margin は不要 */
}

/* 右側要素を端に寄せる */
.hamburger,
.nav {
	margin-left: auto;
}

.nav a {
	font-size: var(--text-ms);
	text-decoration: none;
	font-weight: var(--font-weight-medium);
	white-space: nowrap;
}

.nav ul {
	display: flex;
	gap: 32px;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* 共通：リンクのデフォルト色 */
.nav ul a {
	color: var(--text-gray);
	transition: background-color 0.3s ease;
}

/* 無料相談ボタンだけは白文字に */
.nav ul li.nav-btn-li a {
	color: var(--text-white);
}

/* 共通：hover時 */
.nav ul a:hover {
	background-color: var(--sky-blue);
	color: var(--text-white);
}

.nav-btn {
	margin-left: 5rem;
	padding: 8px 20px;
	font-size: var(--text-ms);
	border-radius: 6px;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	/* 改行を防止 */
	min-width: 120px;
	/* ボタン幅を確保して文字が改行しないように */
	height: auto;
}

/* PC　ナビのhover演出 */
@media (min-width: 769px) {

	.nav ul li a {
		display: inline-block;
		height: 40px;
		line-height: 40px;
		padding: 0 12px;
		box-sizing: border-box;
		/* transition: background-color 0.3s ease; */
		border-radius: 6px;
	}

	.nav-btn {
		display: inline-block;
		height: 40px;
		line-height: 40px;
		padding: 0 20px;
		border-radius: 999px;
		background-color: var(--sky-blue);
		color: var(--text-white);
		text-decoration: none;
		font-size: var(--text-ms);
		transition: all 0.3s ease;
		box-sizing: border-box;
	}

	.nav-btn:hover {
		transform: translateY(-2px);
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	}
}

/* PCの時ハンバーガーは非表示*/
.hamburger {
	display: none;
}

/* モバイル対応時に表示 */
@media (max-width: 768px) {

	/* ハンバーガーのスタイル */
	.hamburger {
		position: relative;
		width: 80px;
		height: 24px;
		background: none;
		border: none;
		cursor: pointer;
		z-index: 1000;
		display: flex;
		margin-left: auto;
	}

	.hamburger span {
		position: absolute;
		left: 0;
		width: 100%;
		height: 3px;
		background-color: #333;
		border-radius: 2px;
		transition: all 0.3s ease;
	}

	/* 各線の位置（通常時） */
	.hamburger span:nth-child(1) {
		top: 0;
	}

	.hamburger span:nth-child(2) {
		top: 50%;
		transform: translateY(-50%);
	}

	.hamburger span:nth-child(3) {
		bottom: 0;
	}

	/* アクティブ状態（×に変形） */
	.hamburger.active span:nth-child(1) {
		top: 50%;
		transform: rotate(45deg);
	}

	.hamburger.active span:nth-child(2) {
		opacity: 0;
	}

	.hamburger.active span:nth-child(3) {
		bottom: auto;
		top: 50%;
		transform: rotate(-45deg);
	}

	.nav {
		display: none;
		flex-direction: column;
		width: 100vw;
		background: var(--bg-white);
		position: absolute;
		top: 60px;
		left: 0;
		z-index: 999;
		padding: 1rem;
		border-top: 1px solid #ccc;
		box-sizing: border-box;
		overflow-x: hidden;
	}

	.nav.active {
		/* display: flex; */
		display: block;
	}

	.nav ul {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.nav-btn {
		display: none;
	}

	.nav ul .nav-btn {
		display: block;
		text-align: center;
		margin-top: 12px;
		padding: 10px 16px;
		border-radius: 8px;
		color: var(--text-white);
		background-color: var(--deep-blue);
		transition: all 0.3s ease;
	}

	.nav ul .nav-btn:hover {
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
		transform: translateY(-4px);
	}

	.nav ul li {
		width: 100%;
		box-sizing: border-box;
	}

	.nav-btn-li .nav-btn {
		display: block;
		width: 100%;
		text-align: center;
		padding: 12px;
		border-radius: 999px;
		box-sizing: border-box;
		margin: 0 auto;
	}

	.nav ul li a {
		display: block;
		padding: 12px;
		/* transition: background-color 0.3s ease; */
	}

	.nav ul li a:hover {
		/* background-color: var(--sky-blue);
    color:var(--text-white); */
		border-radius: 6px;
	}

	/* スマホ用：ナビゲーション時に白字を維持したいボタンだけ例外処理 */
	.nav-btn-li a {
		color: var(--text-white) !important;
		/* 無料相談ボタンは常に白文字 */
	}

}

/* ---------------------------------------------------------------------------------------------

　   Hero Section

--------------------------------------------------------------------------------------------- */
/* .hero {
  height: 100vh;       高さをブラウザ表示領域と同じに 
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 40%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0) 80%),url('../img/heroimage_pc.jpg') no-repeat center right / cover;
  color:var(--text-white);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-position: 60% center;       ← 指先が左に来すぎないよう調整 
  background-size: cover;   必要なら contain や 120% auto に変更してもOK 
} */
.hero {
	height: 100svh;
	/* 高さをブラウザ表示領域と同じに */
	color: var(--text-white);
	position: relative;
	background-color: #02011d;
}

.hero__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	margin: 20px auto 0;
	width: 100%;
	padding: 0 40px;
	gap: 40px;
	flex-wrap: wrap;
	/* モバイル対応 */
}

.hero video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero__text {
	/* flex: 1; */
	/* min-width: 320px; */
	position: absolute;
	top: 18%;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1;
}

.hero__text h1 {
	/*font-size: var(--text-4xl);*/
	margin-bottom: 20px;
	font-size: clamp(1.2rem, 7vh, 3rem);
	text-align: center;
}

.hero__text h1 span {
	display: block;
	font-size: .5em;
}

.hero__text .lead {
	/*font-size: var(--text-2xl);*/
	margin-bottom: 16px;
	color: var(--text-white);
	font-size: clamp(1rem, 4vh, 2rem);
	text-align: center;
}

#typewriter-cursor {
	display: inline-block;
	width: 1px;
	animation: blink 2.0s step-start infinite;
	color: var(--sky-blue);
}

@keyframes blink {
	50% {
		opacity: 0;
	}
}

.hero__text .desc {
	/*font-size: var(--text-lg);*/
	margin-bottom: 24px;
	color: var(--text-white);
	line-height: 1.8;
	font-size: clamp(0.9rem, 2.2vh, 1.5rem);
	text-align: center;
}

.hero__buttons {
	display: flex;
	gap: 16px;
	padding: 0.5rem 0.5rem;
	font-size: 1rem;
	justify-content: center;
}

.hero__buttons a {
	color: var(--text-white);
}

.btn--outline {
	border: 2px solid #fff;
}

.hero__features {
	display: flex;
	gap: 1rem;
	font-size: var(--text-ms);
	color: var(--text-white);
	margin-top: 2rem;
	flex-wrap: wrap;
	justify-content: center
}

.feature-label {
	background: rgba(0, 0, 0, 0.5);
	/* 半透明の黒 */
	color: var(--text-white);
	padding: 0.4em 1em 0.4em 2em;
	border-radius: 999px;
	/* 楕円形にする */
	font-size: var(--text-ms);
	display: inline-block;
	position: relative;
	white-space: nowrap;
}

/* MVの丸  */
.circle-indicator {
	width: 10px;
	height: 10px;
	background-color: var(--sky-blue);
	border-radius: 50%;
	position: absolute;
	left: 0.8em;
	top: 50%;
	transform: translateY(-50%);
	animation: sparkle 9s ease-in-out infinite;
	/* 1サイクル＝9秒 */
	opacity: 0.6;
}

/* アニメーション */
@keyframes sparkle {
	0% {
		opacity: 0.6;
		box-shadow: 0 0 0px var(--sky-blue);
	}

	10% {
		opacity: 1;
		box-shadow: 0 0 6px var(--sky-blue);
	}

	20% {
		opacity: 1;
		box-shadow: 0 0 6px var(--sky-blue);
	}

	100% {
		opacity: 0.6;
		box-shadow: 0 0 0px var(--sky-blue);
	}
}

/* 左から順に点滅させるための delay */
.feature-label:nth-child(1) .circle-indicator {
	animation-delay: 0s;
}

.feature-label:nth-child(2) .circle-indicator {
	animation-delay: 0.8s;
}

.feature-label:nth-child(3) .circle-indicator {
	animation-delay: 1.6s;
}

.hero__logo img {
	display: block;
	height: auto;
	margin-top: 1rem;
	margin-inline: auto;
}

/* ---------------------------------------------------------
   Heroセクション：レスポンシブ対応（スマホ〜タブレット）
--------------------------------------------------------- */
@media (max-width: 1024px) {

	/* .hero {
		height: auto;
		padding: 80px 20px 40px;
		background-position: center center;
	} */
	.hero {
		height: 90svh;
	}

	.hero__inner {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 0 20px;
	}

	.hero__text {
		flex: none;
		max-width: 100%;
		min-width: 320px;
	}

	.hero__text h1 {
		font-size: 2rem;
	}

	.hero__text .lead {
		font-size: 1.25rem;
	}

	.hero__text .desc {
		font-size: 1rem;
		line-height: 1.6;
	}

	.hero__buttons {
		flex-direction: column;
		/* align-items: center; */
		gap: 12px;
		padding: 0.5rem 0;
	}

	.hero__features {
		justify-content: center;
		gap: 8px;
		margin-top: 1.5rem;
	}

	.feature-label {
		font-size: 0.85rem;
		padding: 0.4em 0.8em 0.4em 2em;
	}
}

@media screen and (max-width: 768px) {
	/* .hero {
		background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 40%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0) 80%),
			url('../img/heroimage_sp.jpg') no-repeat center center / cover;
		background-position: center center;
		background-size: cover;
	} */

	.hero__logo img {
		height: auto;
		width: 72px;
		/* margin-top: 1rem; */
	}
}

@media (max-width: 400px) {

	/* 特徴ラベルの横並び＆圧縮 */
	.hero__features {
		flex-wrap: nowrap;
		justify-content: space-between;
		gap: 4px;
		margin-top: 1rem;
	}

	.feature-label {
		font-size: 0.65rem;
		padding: 0.3em 0.6em 0.3em 1.6em;
		border-radius: 999px;
		white-space: nowrap;
		flex: 1 1 auto;
		text-align: left;
	}

	.circle-indicator {
		width: 6px;
		height: 6px;
		left: 0.5em;
	}
}

@media (max-width: 480px) {
	.hero__text {
		top: 10%;
	}

	.hero__text h1 {
		font-size: 1.75rem;
	}

	.hero__text .lead {
		font-size: 1.1rem;
	}

	.hero__text .desc {
		font-size: 0.95rem;
	}

	.feature-label {
		font-size: 0.75rem;
	}

	.hero__buttons {
		flex-wrap: nowrap;
		gap: 8px;
		/* gapを狭くする */
		justify-content: center;
		/* 真ん中寄せ */
	}

	.hero__buttons .btn {
		font-size: 0.75rem;
		padding: 0.4em 0.8em;
		white-space: nowrap;
		/* テキスト改行を防止 */
		flex: 1;
		/* 均等に幅を分け合う */
		min-width: 0;
	}

	.btn--skyblue,
	.btn--outline {
		font-size: 0.75rem;
		padding: 0.4em 0.8em;
	}
}

/* ---------------------------------------------------------------------------------------------

　   Problems Section

--------------------------------------------------------------------------------------------- */

.problems {
	padding: 60px 0;
	background-color: var(--switch-bg2);
}

.problems__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 24px;
	margin-top: 32px;
}

.problem-card {
	background-color: var(--bg-white);
	padding: 20px;
	border: 1px solid #ddd;
	border-radius: 12px;
	text-align: center;
}

.problem-card p {
	color: var(--text-gray);
	font-size: var(--text-ms);
}

.problem-card span {
	display: inline-block;
	background-color: var(--span-bg);
	padding: 4px 16px;
	border-radius: 999px;
	/* 楕円形にする */
	color: var(--text-crimson);
	font-weight: bold;
	margin-top: 12px;
	/* 上のpとの間に余白 */
	font-size: var(--text-ms);
}

.problem-card img {
	margin-bottom: 1rem;
}

/* ---------------------------------------------------------------------------------------------

　   Features Section

--------------------------------------------------------------------------------------------- */

.features {
	padding: 60px 0;
	background-color: var(--bg-white);
}

.features__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	/* 3列固定 */
	gap: 24px;
	margin-top: 32px;
}

.feature-card {
	background: #fff;
	padding: 20px;
	border: 1px solid #ddd;
	border-radius: 8px;
}

.feature-card h5 {
	margin-top: 1rem;
	text-align: left;
}

.feature-box {
	display: flex;
	align-items: flex-start;
	gap: 40px;
	margin-top: 40px;
}

.feature-img {
	max-width: 500px;
	height: auto;
	object-fit: cover;
	flex-shrink: 0;
}

.feature-text {
	flex: 1;
}

.feature-text p {
	font-size: var(--text-base);
	margin-bottom: 2rem;
}

.feature-labels {
	display: flex;
	gap: 40px;
	margin-top: 16px;
}

.feature-labels div {
	background-color: var(--label-bg);
	padding: 16px 24px;
	border-radius: 12px;
	text-align: center;
	min-width: 300px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	/* 影追加 */
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.feature-labels p {
	color: var(--sky-blue);
	font-size: var(--text-xl);
	font-weight: bold;
	margin-bottom: 4px;
}

.feature-labels span {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: var(--text-ms);
}

.features_img h3,
.features_img p {
	text-align: center;
}

.features_img iframe {
	margin-top: 1.5rem;
	width: 70%;
	height: auto;
	aspect-ratio: 16/9;
	display: block;
	margin-inline: auto;
}

.fujisakireina-introduction p,
.fujisakireina-introduction video,
.fujisakireina-introduction img {
	margin: 2rem 0;
}

.fujisakireina-introduction video {
	width: 70%;
	display: block;
	margin-inline: auto;
}

@media screen and (max-width: 768px) {
	.feature-box {
		flex-direction: column;
		align-items: center;
	}

	.feature-labels {
		justify-content: center;
	}
}

@media (max-width: 1024px) {
	.features__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.features_img iframe,
	.fujisakireina-introduction video,
	.fujisakireina-introduction img {
		width: 100%;
	}
		.fujisakireina-introduction p {
			font-size: .75rem;
		}
}

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

@media screen and (max-width: 480px) {
	.feature-box {
		flex-direction: column;
		align-items: center;
		gap: 24px;
		text-align: center;
	}

	.feature-text h3 {
		font-size: 1.125rem;
		margin-bottom: 1rem;
	}

	.feature-text p {
		font-size: 0.9rem;
	}

	.feature-labels {
		flex-direction: column;
		align-items: center;
		gap: 16px;
	}

	.feature-labels div {
		min-width: auto;
		width: 100%;
		max-width: 280px;
		padding: 12px 16px;
	}

	.feature-labels p {
		font-size: 1.25rem;
	}

	.feature-labels span {
		font-size: 0.8rem;
	}
}

/* ---------------------------------------------------------------------------------------------

　   Use Cases Section

--------------------------------------------------------------------------------------------- */

.usecases {
	padding: 60px 0;
	background-color: var(--switch-bg3);
}

.usecases__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	/* 3列固定・幅制限・崩れ防止 */
	gap: 24px;
	margin-top: 32px;
}

.usecase-card {
	background: #fff;
	padding: 20px;
	border: 1px solid #ddd;
	border-radius: 8px;
}

.usecase-card img {
	width: 100%;
	height: 200px;
	/* ★ 任意の固定高さ */
	object-fit: cover;
	/* ★ はみ出しをトリミングして整える */
	display: block;
	margin-bottom: 1rem;
	border-radius: 6px;
}

.usecase-card p {
	margin: 1rem 0 2rem 0;
	font-size: var(--text-base);
}

.usecase-card span {
	color: var(--sky-blue);
	font-size: var(--text-ms);
	font-weight: bold;
}

.usecase-card ul {
	list-style-type: disc;
	list-style-position: outside;
	padding-left: 1.5rem;
	/* ・を表示する隙間を空ける */
	font-size: var(--text-ms);
	margin-top: 0.5em;
	display: block;
	/* flexやgridになっているとlist-style-typeが無効になってしまう */
}

.usecase-card li {
	color: var(--text-gray);
	/* テキストはグレー */
	/* list-style-position: outside; */
	display: list-item;
	/* 明示的に指定しておくと安全 */
}

.usecase-card li::marker {
	color: var(--sky-blue);
	/* discだけ緑に */
}

.For-example {
	display: flex;
	justify-content: space-between;
	margin-top: 32px;
}

.For-example img {
	max-width: calc((1200px / 2) - 2rem);
}

@media (max-width: 1024px) {
	.usecases__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.For-example {
		gap: 1.5rem;
		flex-direction: column;
	}

	.For-example img {
		width: 100%;
	}
}

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

/* ---------------------------------------------------------------------------------------------

　   Value Section

--------------------------------------------------------------------------------------------- */

.value {
	background: var(--bg-white);
	padding: 60px 0;
}

.value__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 24px;
	margin-top: 32px;
}

.value-card {
	background-color: var(--bg-white);
	padding: 20px;
	border: 1px solid var(--text-muted);
	border-radius: 12px;
	text-align: center;
}

.value-card .value-p-odd {
	font-size: var(--text-xl);
	color: var(--sky-blue);
	margin: 1rem 0 1rem 0;
}

.value-card .value-p-even {
	font-size: var(--text-xl);
	color: var(--deep-blue);
	margin: 1rem 0 1rem 0;
}

.value-card p {
	color: var(--text-gray);
	text-align: center;
}

.value-card img {
	margin-bottom: 1rem;
}

/* ---------------------------------------------------------------------------------------------

　   Pricing Section

--------------------------------------------------------------------------------------------- */

.pricing {
	padding: 60px 0;
	background-color: var(--switch-bg4);
}

.pricing__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
	margin-top: 32px;
}

.plan-card {
	background: var(--bg-white);
	border: 2px solid var(--sky-blue);
	padding: 24px;
	border-radius: 8px;
	color: var(--deep-blue);
}

.plan-card .price-text {
	font-size: var(--text-2xl);
	color: var(--deep-blue);
	font-weight: var(--font-weight-bold);
	text-align: center;
}

.plan-card .support-text {
	font-size: var(--text-ms);
	color: var(--text-gray);
	text-align: center;
}

.plan-card span {
	font-size: var(--text-ms);
	color: var(--text-gray);
}

.plan-card ul {
	list-style: none;
	/* デフォルトのリストマーカーを消す */
	padding-left: 0;
	margin: 1em 0;
}

.plan-card li {
	position: relative;
	padding-left: 1.5em;
	/* チェックマーク用の余白 */
	margin-bottom: 0.8em;
	color: var(--sky-blue);
	font-weight: bold;
	line-height: 1.5;
}

.plan-card li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0.1em;
	color: var(--sky-blue);
	/* チェックマークの色 */
	font-size: 1em;
	line-height: 1;
}

.plan-card button {
	display: block;
	/* ブロック要素化して中央配置可能に */
	width: 100%;
	/* li 要素と同じ横幅に */
	max-width: 320px;
	/* 必要なら最大幅も制限可（任意） */
	margin: 24px auto 0 auto;
	/* 上に余白・左右中央配置 */
	padding: 12px;
	background-color: var(--deep-blue);
	color: var(--text-white);
	border: none;
	border-radius: 6px;
	font-size: var(--text-base);
	font-weight: var(--font-weight-medium);
	cursor: pointer;
	transition: background-color 0.3s;
}

.plan-card button:hover {
	background-color: var(--sky-blue);
}

/* ---------------------------------------------------------------------------------------------

　   Flow Section

--------------------------------------------------------------------------------------------- */

.flow {
	padding: 60px 0;
}

.flow__grid {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 40px;
}

.flow-step {
	display: flex;
	align-items: center;
}

.flow-card {
	background-color: var(--bg-white);
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 14px;
	width: 200px;
	text-align: center;
	display: flex;
	flex-direction: column;
}

.flow-card p {
	font-size: var(--text-ms);
	margin: 1rem 0 1rem 0;
}

.flow-card .span-odd {
	margin: 1rem 0 1rem 0;
	font-size: var(--text-ms);
	font-weight: bold;
	color: var(--sky-blue);
}

.flow-card .span-even {
	margin: 1rem 0 1rem 0;
	font-size: var(--text-ms);
	color: var(--deep-blue);
}

.flow-card img {
	display: block;
	width: 60px;
	max-height: 60px;
	/* 高さが極端に大きくならないように制限 */
	object-fit: contain;
	/* 縦横比を保って収める */
	margin: 0 auto 0.2rem auto;
	/* 中央寄せ＋下に余白 */
}

.arrow {
	font-size: var(--text-xl);
	color: var(--text-crimson);
	margin: 0 0.2rem 0 0.2rem;
}

.arrow--mobile {
	display: none;
	transform: none !important;
	/* モバイルでは回転を無効化 */
}

.arrow--desktop {
	display: inline;
	transform: rotate(0deg);
	/* 必要なら調整 */
}

.support {
	text-align: center;
	margin-top: 60px;
	margin-bottom: 40px;
}

.support__title {
	font-weight: bold;
	color: var(--deep-blue);
	/* 濃い緑系 */
	font-size: var(--text-xl);
	margin-bottom: 8px;
}

.support .subcopy {
	color: var(--text-gray);
	font-size: var(--text-base);
	margin-bottom: 32px;
}

.support__items {
	display: flex;
	justify-content: center;
	gap: 60px;
	/* カードの間隔 */
	flex-wrap: wrap;
}

.support__item {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.support__highlight {
	font-weight: bold;
	font-size: var(--text-lg);
	color: var(--sky-blue);
	/* 明るめの緑 */
	margin-bottom: 4px;
}

.support__item span {
	color: var(--text-gray);
	font-size: var(--text-sm);
}

@media screen and (max-width: 480px) {
	.flow__grid {
		flex-direction: column;
		align-items: center;
	}

	.flow-step {
		flex-direction: column;
		align-items: center;
		margin-bottom: 20px;
	}

	.flow-card {
		width: 90%;
		max-width: 320px;
	}

	.arrow {
		display: none;
		/* 縦並びなので矢印は非表示に */
	}

	.arrow--desktop {
		display: none;
		transform: rotate(0deg);
		/* 必要なら調整 */
	}

	.arrow--mobile {
		display: block;
		font-size: var(--text-xl);
		color: var(--text-crimson);
		margin: 8px 0;
		transform: none !important;
		/* モバイルでは回転を無効化 */
	}

}

@media (max-width: 1024px) {
	.flow__grid {
		flex-direction: column;
		align-items: stretch;
	}

	.flow-step {
		flex-direction: column;
	}

	.arrow {
		transform: rotate(90deg);
		margin: 8px 0;
	}
}

@media (min-width: 1025px) {
	.flow__grid {
		align-items: stretch;
	}

	.flow-step {
		align-items: stretch;
	}

	.flow-card p {
		flex-grow: 1;
	}

	.arrow--desktop {
		margin-top: 70%;
	}
}

.support {
	background-color: var(--bg-light-gray);
	/* 薄いグレー背景 */
	border-radius: 12px;
	/* 角丸 */
	padding: 40px 24px;
	text-align: center;
	margin: 60px auto 40px auto;
	max-width: 960px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	/* 軽く立体感を追加（任意） */
}

.support__title {
	font-weight: bold;
	color: var(--deep-blue);
	font-size: var(--text-xl);
	text-align: center;
	margin-bottom: 8px;
}

.support .subcopy {
	color: var(--text-gray);
	font-size: var(--text-base);
	margin-bottom: 32px;
}

.support__items {
	display: flex;
	justify-content: center;
	gap: 60px;
	/* カードの間隔 */
	flex-wrap: wrap;
}

.support__item {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.support__highlight {
	font-weight: bold;
	font-size: var(--text-lg);
	color: var(--sky-blue);
	margin-bottom: 4px;
}

.support__item span {
	color: var(--text-gray);
	font-size: var(--text-sm);
}

@media (max-width: 600px) {
	.support__items {
		flex-direction: column;
		gap: 24px;
	}
}

/* ---------------------------------------------------------------------------------------------

　   Contact Section

--------------------------------------------------------------------------------------------- */

.contact {
	padding: 1rem 0;
	background-color: var(--switch-bg2);
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 24px;
}

.contact-form input,
.contact-form textarea {
	padding: 12px;
	border: 1px solid #ccc;
	background: var(--input-bg);
	border-radius: 4px;
	font-size: var(--text-base);
	color: var(--text-gray);
}

.contact a {
	color: var(--text-white);
}

.contact__btn {
	display: block;
	/* block にすることで margin auto が効くようになる */
	margin: 32px auto 0 auto;
	/* 上に余白をつけて中央配置 */
	width: fit-content;
	padding: 14px 32px;
	text-align: center;
	font-size: var(--text-base);
}

@media screen and (max-width: 480px) {
	.contact__btn {
		width: 100%;
		max-width: 320px;
		font-size: var(--text-sm);
	}
}

/* ---------------------------------------------------------------------------------------------

　   Footer

--------------------------------------------------------------------------------------------- */

.footer {
	background: var(--deep-blue);
	color: white;
	text-align: center;
	padding: 30px 0;
}

.footer__inner p {
	margin: 0;
}