/* ============================================
   Empathy Template - style.css
   温かみのあるピンク＋コーラル系の洗練されたデザイン
   対象ペルソナ: コーチ / カウンセラー / 講師
============================================ */

/* ------------------------------------------
   CSS変数
------------------------------------------ */
:root {
	/* カラー - 薄い水色メイン + ダスティピンクアクセント（可愛くなりすぎない男性向け） */
	--color-primary: #7EB8D4;           /* メインの水色 */
	--color-primary-dark: #4A8BAD;      /* 濃い水色 */
	--color-secondary: #D4EAF5;         /* 薄い水色 */
	--color-accent: #db9b9b;            /* ダスティピンク（アクセント） */
	--color-accent-dark: #c36c6c;       /* 濃いダスティピンク */
	--color-soft: #F2F9FC;              /* 背景用の最も薄い水色 */
	--color-text: #3D4852;              /* テキスト（ダークグレー） */
	--color-text-light: #6B7C8A;        /* サブテキスト */
	--color-white: #ffffff;
	--color-header-bg: #4A8BAD;         /* ヘッダー背景（濃い水色） */
	
	/* グラデーション */
	--gradient-primary: linear-gradient(135deg, #7EB8D4 0%, #9BC8DE 100%);
	--gradient-accent: linear-gradient(135deg, #c36c6c 0%, #db9b9b 100%);
	--gradient-soft: linear-gradient(135deg, #F2F9FC 0%, #E6F3FA 100%);
	
	/* フォント */
	--font-en: 'Montserrat', sans-serif;
	--font-jp: 'Noto Sans JP', sans-serif;
	
	/* z-index */
	--z-header: 100;
	--z-mobile-nav: 90;
	--z-modal: 200;
}

/* ------------------------------------------
   ユーティリティ
------------------------------------------ */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

/* アクセントカラー（ピンク）テキスト */
.text-accent {
	color: var(--color-accent-dark);
}

/* ------------------------------------------
   共通コンポーネント
------------------------------------------ */
body {
	font-family: var(--font-jp);
	font-size: 1.6rem;
	color: var(--color-text);
	background-color: var(--color-white);
}

/* セクションラベル（ピンク背景+白文字のラベル風デザイン） */
.philosophy__label,
.strength__label,
.corporate__label,
.about__label,
.service__label,
.voice__label,
.cta__label,
.personal__label {
	display: inline-block;
	font-family: var(--font-en);
	font-size: 1.2rem;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--color-white);
	background: var(--gradient-accent);
	padding: 0.5rem 1.5rem;
	border-radius: 30px;
	margin-bottom: 1.5rem;
}

/* セクションタイトル */
.philosophy__title,
.strength__title,
.corporate__title,
.about__title,
.service__title,
.voice__title,
.cta__title {
	font-size: 2.8rem;
	font-weight: 700;
	line-height: 1.4;
	margin-bottom: 2rem;
}
@media (min-width: 768px) {
	.philosophy__title,
	.strength__title,
	.corporate__title,
	.about__title,
	.service__title,
	.voice__title,
	.cta__title {
		font-size: 3.4rem;
	}
}

.sp_only {
	display: block;
}
@media (min-width: 768px) {
	.sp_only {
		display: none;
	}
}

/* ------------------------------------------
   ヘッダー
------------------------------------------ */
.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: var(--z-header);
	background-color: var(--color-primary-dark); /* フッターと同じ色 */
	box-shadow: 0 1px 10px rgba(0,0,0,0.1);
}

.header__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 2rem;
	max-width: 1400px;
	margin: 0 auto;
}

.header__logo {
	font-family: var(--font-en);
	font-size: 2rem;
	font-weight: 600;
	letter-spacing: 0em;
	line-height: 1.3;
	color: var(--color-white);
}

.header__nav {
	display: none;
}
@media (min-width: 768px) {
	.header__nav {
		display: block;
		flex-shrink: 0;
	}
}

.header__nav-list {
	display: flex;
	gap: 3rem;
}

.header__nav-link {
	font-size: 1.4rem;
	font-weight: 500;
	color: var(--color-white); /* 背景が濃い色になったので白に */
	transition: color 0.3s ease;
}
@media (any-hover: hover) {
	.header__nav-link:hover,
	.header__nav-link:focus-visible {
		color: var(--color-secondary); /* ホバー時は明るい色に */
	}
}

.header__menu-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: var(--gradient-soft);
	box-shadow: 0 4px 15px color-mix(in srgb, var(--color-primary) 20%, transparent);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}
.header__menu-btn::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0);
	width: 100%;
	height: 100%;
	background: var(--gradient-primary);
	border-radius: 50%;
	transition: transform 0.3s ease;
	z-index: 0;
}
@media (any-hover: hover) {
	.header__menu-btn:hover {
		box-shadow: 0 6px 20px color-mix(in srgb, var(--color-primary) 30%, transparent);
	}
	.header__menu-btn:hover::before {
		transform: translate(-50%, -50%) scale(1);
	}
	.header__menu-btn:hover .header__menu-icon {
		fill: var(--color-white);
	}
}
@media (min-width: 768px) {
	.header__menu-btn {
		display: none;
	}
}

.header__menu-icon,
.header__close-icon {
	fill: var(--color-primary-dark); /* ボタン背景が薄いのでアイコンは濃い色に */
	position: relative;
	z-index: 1;
	transition: fill 0.3s ease;
}

.header__close-icon {
	display: none;
}

.header__menu-btn.is-active {
	background: var(--gradient-primary);
}

.header__menu-btn.is-active::before {
	display: none;
}

.header__menu-btn.is-active .header__menu-icon {
	display: none;
}

.header__menu-btn.is-active .header__close-icon {
	display: block;
	fill: var(--color-white);
}

/* ------------------------------------------
   モバイルナビ
------------------------------------------ */
.mobile-nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	z-index: var(--z-mobile-nav);
	background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease, visibility 0.4s ease;
	overflow: hidden;
}

.mobile-nav::before {
	content: '';
	position: absolute;
	top: 10%;
	right: -10%;
	width: 50vw;
	height: 50vw;
	background: radial-gradient(circle, color-mix(in srgb, var(--color-white) 15%, transparent) 0%, transparent 70%);
	pointer-events: none;
	border-radius: 50%;
}

.mobile-nav::after {
	content: '';
	position: absolute;
	bottom: 10%;
	left: -15%;
	width: 40vw;
	height: 40vw;
	background: radial-gradient(circle, color-mix(in srgb, var(--color-secondary) 20%, transparent) 0%, transparent 70%);
	pointer-events: none;
	border-radius: 50%;
}

.mobile-nav.is-active {
	opacity: 1;
	visibility: visible;
}

.mobile-nav__list {
	text-align: center;
	position: relative;
	z-index: 1;
}

.mobile-nav__item {
	margin-bottom: 0;
	transform: translateY(20px);
	opacity: 0;
	transition: transform 0.4s ease, opacity 0.4s ease;
}

.mobile-nav.is-active .mobile-nav__item {
	transform: translateY(0);
	opacity: 1;
}

.mobile-nav.is-active .mobile-nav__item:nth-child(1) { transition-delay: 0.08s; }
.mobile-nav.is-active .mobile-nav__item:nth-child(2) { transition-delay: 0.14s; }
.mobile-nav.is-active .mobile-nav__item:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav.is-active .mobile-nav__item:nth-child(4) { transition-delay: 0.26s; }
.mobile-nav.is-active .mobile-nav__item:nth-child(5) { transition-delay: 0.32s; }
.mobile-nav.is-active .mobile-nav__item:nth-child(6) { transition-delay: 0.38s; }

.mobile-nav__link {
	font-size: 1.6rem;
	display: block;
	font-family: var(--font-en);
	font-weight: 700;
	letter-spacing: 0.05em;
	color: var(--color-white);
	padding: 1.5rem 2.5rem;
	position: relative;
	transition: all 0.3s ease;
}

.mobile-nav__link::after {
	content: '';
	position: absolute;
	bottom: 0.8rem;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 2px;
	background-color: var(--color-white);
	border-radius: 1px;
	transition: width 0.3s ease;
}

@media (any-hover: hover) {
	.mobile-nav__link:hover,
	.mobile-nav__link:focus-visible {
		transform: scale(1.05);
	}
	.mobile-nav__link:hover::after,
	.mobile-nav__link:focus-visible::after {
		width: 60%;
	}
}

/* モバイルナビ CTAボタン */
.mobile-nav__cta {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1.2rem;
	margin-top: 2.5rem;
	position: relative;
	z-index: 1;
}

.mobile-nav__cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 1rem 2rem;
	font-size: 1.3rem;
	font-weight: 600;
	border-radius: 50px;
	transition: opacity 0.3s ease;
}

.mobile-nav__cta-btn svg {
	fill: currentColor;
}

.mobile-nav__cta-btn--line {
	color: var(--color-white);
	background-color: #06C755;
}

.mobile-nav__cta-btn--mail {
	color: var(--color-white);
	background-color: var(--color-primary-dark);
}

.mobile-nav__cta-btn--phone {
	color: var(--color-primary-dark);
	background-color: var(--color-white);
}

/* モバイルナビ SNS */
.mobile-nav__sns {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	margin-top: 2rem;
	position: relative;
	z-index: 1;
}

.mobile-nav__sns-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4.4rem;
	height: 4.4rem;
	background-color: color-mix(in srgb, var(--color-white) 20%, transparent);
	border-radius: 50%;
	transition: background-color 0.3s ease;
}

.mobile-nav__sns-link svg {
	fill: var(--color-white);
	transition: fill 0.3s ease;
}

/* ------------------------------------------
   メインビジュアル（100vh対応 & 50/50レイアウト）
------------------------------------------ */
.mv {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center; /* 縦方向中央揃えはSP用、PCはflexで制御 */
	overflow: hidden;
	padding-top: 0; /* ヘッダーとの余白を削除 */
	margin-top: 0;
}

.mv__bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--gradient-soft);
	z-index: -2;
}

/* 心電図アニメーション（ECG波形） */
.mv__ecg-line {
	width: 100%;
	max-width: 350px;
	height: 50px;
	margin: .5rem 0;
}

@media (min-width: 768px) {
	.mv__ecg-line {
		max-width: 450px;
		margin: 2rem 0;
	}
}

.ecg-svg {
	width: 100%;
	height: 100%;
}

.ecg-path {
	fill: none;
	stroke: var(--color-primary);
	stroke-width: 2px;
	stroke-linecap: round;
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
	/* 25%を表示し、75%を非表示にする */
	stroke-dasharray: 25 75;
	stroke-dashoffset: 25;
	opacity: 0;
}

/* パターン1: 最初に表示 */
.ecg-path--1 {
	animation: ecg-scroll 3s linear infinite, ecg-fade-1 9s linear infinite;
}

/* パターン2: 3秒後に表示 */
.ecg-path--2 {
	animation: ecg-scroll 3s linear infinite, ecg-fade-2 9s linear infinite;
}

/* パターン3: 6秒後に表示 */
.ecg-path--3 {
	animation: ecg-scroll 3s linear infinite, ecg-fade-3 9s linear infinite;
}

/* 心電図がスクロールするアニメーション（描画しながら消える） */
@keyframes ecg-scroll {
	0% {
		stroke-dashoffset: 25;
	}
	100% {
		stroke-dashoffset: -75;
	}
}

/* パターン1のフェード制御 */
@keyframes ecg-fade-1 {
	0%, 2% { opacity: 0; }
	5% { opacity: 0.6; }
	30% { opacity: 0.6; }
	33% { opacity: 0; }
	100% { opacity: 0; }
}

/* パターン2のフェード制御 */
@keyframes ecg-fade-2 {
	0%, 33% { opacity: 0; }
	36% { opacity: 0.6; }
	63% { opacity: 0.6; }
	66% { opacity: 0; }
	100% { opacity: 0; }
}

/* パターン3のフェード制御 */
@keyframes ecg-fade-3 {
	0%, 66% { opacity: 0; }
	69% { opacity: 0.6; }
	96% { opacity: 0.6; }
	99% { opacity: 0; }
	100% { opacity: 0; }
}

/* PC時は左側コンテンツエリアの下部に全幅で配置 */
@media (min-width: 768px) {
	.mv__ecg-line {
		top: auto;
		bottom: 18%;
		left: 0;
		width: 50vw; /* ビューポート幅の50%で確実に全幅に */
		transform: none;
		padding: 0;
	}
}

.mv__inner {
	display: flex;
	flex-direction: column; /* SP: 画像とテキストを縦並び */
	width: 100%;
	height: calc(100vh - 80px); /* ヘッダー分引く */
	max-width: none;
	padding: 0;
	margin: 0;
	padding-top: 80px; /* ヘッダー高さ分確保 */
}
@media (min-width: 768px) {
	.mv__inner {
		flex-direction: row; /* PC: 横並び 50/50 */
		width: 100%;
		height: 100vh;
		padding-top: 0;
	}
}

/* MV 画像エリア */
.mv__image-area {
	position: relative;
	width: 100%;
	height: 45%; /* SP: 画面の半分 */
	order: 2; /* SP: テキストの後に画像（テキスト→写真の順） */
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}
@media (min-width: 768px) {
	.mv__image-area {
		width: 50%;
		height: 100%;
		order: 2; /* PC: 右側に配置 */
		padding-left: 3rem;
		padding-right: 3rem;
		padding-bottom: 3rem;
		padding-top: 9rem;
	}
}

.mv__image {
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
	border: none;
	overflow: hidden; /* 角丸で画像をクリッピング */
}

.mv__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 20%;
}

.mv__image-deco {
	display: none; /* 50/50レイアウトでは削除 */
}

/* MV コンテンツエリア */
.mv__content {
	width: 100%;
	height: 55%; /* SP: 残り半分 */
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 2rem;
	text-align: center;
	order: 1; /* SP: テキストを先に（テキスト→写真の順） */
	z-index: 1;
}
@media (min-width: 768px) {
	.mv__content {
		width: 50%;
		height: 100%;
		align-items: flex-start;
		text-align: left;
		padding: 0 5%;
	}
}

@media screen and (min-width: 1080px) {
	.mv__content {
		padding: 0 5% 0 10%;
	}
}

.mv__subtitle {
	display: inline-block;
	font-family: var(--font-en);
	font-size: 1.2rem;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--color-white);
	background: var(--gradient-accent);
	padding: 0.5rem 1.5rem;
	border-radius: 30px;
	margin-bottom: 1.5rem;
}

.mv__title {
	margin-bottom: 2rem;
}

.mv__title-line {
	display: block;
	font-size: clamp(2.4rem, 6vw, 4rem);
	font-weight: 700;
	line-height: 1.4;
}

.mv__title-line--accent {
	color: var(--color-accent-dark);
}

.mv__text {
	font-size: 1.5rem;
	line-height: 1.8;
	color: var(--color-text-light);
	margin-bottom: 3rem;
	max-width: 500px;
}

@media screen and (min-width: 768px) {
	.mv__text {
		font-size: 2rem;
	}
}

.mv__btn svg {
	fill: currentColor;
}

/* スクロールダウンアイコン */
.mv__scroll {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-en);
	font-size: 1.2rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	color: var(--color-white);
	animation: bounce 2s infinite;
	z-index: 10;
}
@media (min-width: 768px) {
	/* PCでは左側エリアの中心に配置したい場合、または全体の中央下 */
	.mv__scroll {
		left: 25%; /* 左半分の中央 */
		bottom: 3rem;
		color: var(--color-primary-dark);
	}
}

.mv__scroll svg {
	fill: var(--color-primary-dark);
}

@keyframes bounce {
	0%, 100% { translate: -50% 0; }
	50% { translate: -50% 10px; }
}

/* ------------------------------------------
   想い・理念（充実したストーリー形式）
------------------------------------------ */
.philosophy {
	padding:  6rem 0;
}
@media (min-width: 768px) {
	.philosophy {
		padding: 8rem 0;
	}
}

.philosophy__inner {
	padding: 0 2rem;
	max-width: 1000px;
	margin: 0 auto;
}

.philosophy__header {
	text-align: center;
	margin-bottom: 5rem;
}

.philosophy__story-lead {
	position: relative;
	text-align: center;
	padding: 4rem 3rem;
	background: linear-gradient(180deg, var(--color-primary-dark) 0%, #508eaf 50%, #6d99b1 100%);
	border-radius: 24px;
	max-width: 800px;
	margin: 0 auto 7rem;
}

/* 吹き出しの三角形 */
.philosophy__story-lead::after {
	content: "";
	position: absolute;
	bottom: -20px;
	left: 50%;
	transform: translateX(-50%);
	border-style: solid;
	border-width: 20px 15px 0 15px;
	border-color: #6d99b1 transparent transparent transparent;
}

.philosophy__lead {
	font-size: 2rem;
	font-weight: 700;
	line-height: 2;
	margin-bottom: 2rem;
	color: var(--color-white);
}
@media (min-width: 768px) {
	.philosophy__lead {
		font-size: 2.4rem;
	}
}

.philosophy__lead-sub {
	font-size: 1.5rem;
	color: rgba(255, 255, 255, 0.85);
}

.philosophy__story-main {
	margin-bottom: 5rem;
}

.philosophy__story-content {
	max-width: 800px;
	margin: 0 auto;
}

/* チャプター上部の画像 */
.philosophy__main-image {
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 24px;
	overflow: hidden;
	margin-bottom: 5rem;
}

.philosophy__main-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 20%;
}

.philosophy__chapter {
	margin-bottom: 4rem;
	padding-left: 1rem;
	border-left: 3px solid var(--color-secondary);
}

@media screen and (min-width: 768px) {
	.philosophy__chapter {
		padding-left: 2rem;
	}
}

.philosophy__chapter:last-child {
	margin-bottom: 0;
}

.philosophy__chapter-title {
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.5;
	margin-bottom: 1.5rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
}

.philosophy__chapter-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	font-family: var(--font-en);
	font-size: 2rem;
	font-weight: 600;
	color: var(--color-white);
	background: var(--gradient-primary);
	border-radius: 50%;
}

.philosophy__chapter-text {
	font-size: 1.5rem;
	line-height: 2;
	color: var(--color-text-light);
	margin-bottom: 1rem;
}

.philosophy__chapter-text:last-child {
	margin-bottom: 0;
}

.philosophy__message {
	text-align: center;
	padding: 4rem 3rem;
	background-color: var(--color-primary-dark);
	border-radius: 30px;
	max-width: 80rem;
	margin-inline: auto;
}

.philosophy__message-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 6rem;
	height: 6rem;
	margin: 0 auto 2rem;
	background-color: var(--color-white);
	border-radius: 50%;
	position: relative;
}

.philosophy__message-icon svg {
	fill: var(--color-accent);
	transition: fill 0.2s ease;
}

/* いいねボタン風マイクロインタラクション */
.philosophy__message-icon.is-animated svg {
	animation: heart-pop 0.6s cubic-bezier(0.17, 0.89, 0.32, 1.49) forwards;
}

/* ハートのポップアニメーション */
@keyframes heart-pop {
	0% {
		transform: scale(0.3);
		opacity: 0;
	}
	50% {
		transform: scale(1.3);
		opacity: 1;
	}
	70% {
		transform: scale(0.9);
	}
	85% {
		transform: scale(1.1);
	}
	100% {
		transform: scale(1);
		opacity: 1;
	}
}

/* パーティクルエフェクト用 */
.philosophy__message-icon::before,
.philosophy__message-icon::after {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	pointer-events: none;
	opacity: 0;
}

.philosophy__message-icon.is-animated::before {
	animation: heart-ring 0.8s ease-out forwards;
	border: 3px solid var(--color-primary);
}

.philosophy__message-icon.is-animated::after {
	animation: heart-ring 0.8s ease-out 0.1s forwards;
	border: 2px solid var(--color-secondary);
}

@keyframes heart-ring {
	0% {
		transform: scale(0.8);
		opacity: 0.8;
	}
	100% {
		transform: scale(2);
		opacity: 0;
	}
}

/* 小さなパーティクル（ハートの周りに飛び散る） */
.philosophy__message-icon .heart-particle {
	position: absolute;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--color-primary);
	opacity: 0;
	pointer-events: none;
}

.philosophy__message-icon.is-animated .heart-particle {
	animation: particle-burst 0.7s ease-out forwards;
}

.philosophy__message-icon.is-animated .heart-particle:nth-child(2) {
	animation-delay: 0.05s;
	background: var(--color-secondary);
}
.philosophy__message-icon.is-animated .heart-particle:nth-child(3) {
	animation-delay: 0.1s;
	background: var(--color-accent);
}
.philosophy__message-icon.is-animated .heart-particle:nth-child(4) {
	animation-delay: 0.08s;
	background: var(--color-primary-dark);
}
.philosophy__message-icon.is-animated .heart-particle:nth-child(5) {
	animation-delay: 0.12s;
	background: var(--color-secondary);
}
.philosophy__message-icon.is-animated .heart-particle:nth-child(6) {
	animation-delay: 0.06s;
}

@keyframes particle-burst {
	0% {
		transform: translate(0, 0) scale(1);
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

/* パーティクルの方向（各パーティクルに異なる方向を設定） */
.philosophy__message-icon.is-animated .heart-particle:nth-child(1) {
	animation-name: particle-1;
}
.philosophy__message-icon.is-animated .heart-particle:nth-child(2) {
	animation-name: particle-2;
}
.philosophy__message-icon.is-animated .heart-particle:nth-child(3) {
	animation-name: particle-3;
}
.philosophy__message-icon.is-animated .heart-particle:nth-child(4) {
	animation-name: particle-4;
}
.philosophy__message-icon.is-animated .heart-particle:nth-child(5) {
	animation-name: particle-5;
}
.philosophy__message-icon.is-animated .heart-particle:nth-child(6) {
	animation-name: particle-6;
}

@keyframes particle-1 {
	0% { transform: translate(0, 0) scale(1); opacity: 1; }
	100% { transform: translate(-25px, -35px) scale(0); opacity: 0; }
}
@keyframes particle-2 {
	0% { transform: translate(0, 0) scale(1); opacity: 1; }
	100% { transform: translate(25px, -30px) scale(0); opacity: 0; }
}
@keyframes particle-3 {
	0% { transform: translate(0, 0) scale(1); opacity: 1; }
	100% { transform: translate(35px, 10px) scale(0); opacity: 0; }
}
@keyframes particle-4 {
	0% { transform: translate(0, 0) scale(1); opacity: 1; }
	100% { transform: translate(-35px, 5px) scale(0); opacity: 0; }
}
@keyframes particle-5 {
	0% { transform: translate(0, 0) scale(1); opacity: 1; }
	100% { transform: translate(15px, 35px) scale(0); opacity: 0; }
}
@keyframes particle-6 {
	0% { transform: translate(0, 0) scale(1); opacity: 1; }
	100% { transform: translate(-20px, 30px) scale(0); opacity: 0; }
}

.philosophy__message-text {
	font-size: 1.8rem;
	font-weight: 500;
	line-height: 2;
	color: var(--color-white);
}
@media (min-width: 768px) {
	.philosophy__message-text {
		font-size: 2rem;
	}
}

/* ------------------------------------------
   強み
------------------------------------------ */
.strength {
	padding:  6rem 0;
	background: var(--gradient-soft);
}
@media (min-width: 768px) {
	.strength {
		padding: 8rem 0;
	}
}

.strength__inner {
	padding: 0 2rem;
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
}

.strength__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
}
@media (min-width: 768px) {
	.strength__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.strength__card {
	padding: 3rem 2rem;
	background-color: var(--color-white);
	border-radius: 24px;
	text-align: center;
	box-shadow: 0 10px 40px color-mix(in srgb, var(--color-primary) 10%, transparent);
	transition: translate 0.3s ease;
	max-width: 40rem;
	margin: 0 auto;
}
@media (any-hover: hover) {
	.strength__card:hover {
		translate: 0 -8px;
	}
}

.strength__card-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 6rem;
	height: 6rem;
	margin: 0 auto 1.5rem;
	background: var(--gradient-accent);
	border-radius: 50%;
}

.strength__card-icon svg {
	fill: var(--color-white);
}

.strength__card-title {
	font-size: 1.8rem;
	font-weight: 700;
	line-height: 1.5;
	margin-bottom: 1rem;
}

.strength__card-text {
	font-size: 1.4rem;
	line-height: 1.9;
	color: var(--color-text-light);
	margin-bottom: 2rem;
}

/* 強み画像: 4:3アスペクト比 */
.strength__card-image {
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: 16px;
	overflow: hidden;
}

.strength__card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ------------------------------------------
   法人向けCTAバナー
------------------------------------------ */
.corporate-banner {
	margin-top: 4rem;
	background-color: var(--color-white);
	border-radius: 20px;
	max-width: 800px;
	margin-inline: auto;
}

.corporate-banner__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding: 2.5rem 3rem;
	border-radius: 20px;
	border: 1px solid color-mix(in srgb, var(--color-primary) 12%, transparent);
}
@media (max-width: 767px) {
	.corporate-banner__inner {
		flex-direction: column;
		text-align: center;
		padding: 2rem;
		gap: 1.5rem;
	}
}

.corporate-banner__content {
	display: flex;
	align-items: center;
	gap: 1.2rem;
}
@media (max-width: 767px) {
	.corporate-banner__content {
		flex-direction: column;
		gap: 0.8rem;
	}
}

.corporate-banner__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 5.4rem;
	height: 5.4rem;
	background: var(--gradient-accent);
	border-radius: 50%;
	flex-shrink: 0;
}

.corporate-banner__icon svg {
	fill: var(--color-white);
}

.corporate-banner__text {
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--color-text);
	line-height: 1.5;
}

.corporate-banner__btn {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 1.2rem 2.4rem;
	background: var(--gradient-accent);
	color: var(--color-white);
	font-size: 1.4rem;
	font-weight: 600;
	border: none;
	border-radius: 50px;
	cursor: pointer;
	white-space: nowrap;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.corporate-banner__btn svg {
	fill: var(--color-white);
	transition: transform 0.3s ease;
}

.corporate-banner.is-open .corporate-banner__btn-arrow {
	transform: rotate(180deg);
}

@media (any-hover: hover) {
	.corporate-banner__btn:hover {
		opacity: 0.85;
		transform: translateY(-2px);
	}
}

/* ------------------------------------------
   法人・経営者の方へ
------------------------------------------ */
.corporate {
	padding:  6rem 0;
	overflow: hidden;
}
@media (min-width: 768px) {
	.corporate {
		padding: 8rem 0;
	}
}

.corporate__inner {
	padding: 0 2rem;
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
}

.corporate__message {
	display: flex;
	gap: 2rem;
	padding: 4rem 3rem;
	background: linear-gradient(180deg, var(--color-primary-dark) 0%, #3A7A9D 100%);
	border-radius: 24px;
	text-align: left;
	margin-bottom: 5rem;
}
@media (max-width: 767px) {
	.corporate__message {
		flex-direction: column;
		align-items: center;
		text-align: left;
	}
}


.corporate__message-body p {
	font-size: 1.5rem;
	line-height: 2;
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 1.5rem;
}

.corporate__message-body p:last-child {
	margin-bottom: 0;
}

.corporate__message-emphasis {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
	padding-top: 3rem;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	font-weight: 500;
	color: var(--color-white) ;
}

@media screen and (min-width: 768px) {
	.corporate__message-emphasis {
		flex-direction: row;
		justify-content: center;
		gap: 3rem;
}
}

.corporate__message-emphasis-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4.4rem;
	height: 4.4rem;
	background-color: rgba(255, 255, 255, 0.15);
	border-radius: 50%;
	flex-shrink: 0;
	margin-top: 0.2rem;
}

.corporate__message-emphasis-icon svg {
	fill: var(--color-white);
}

/* 法人お客様の声アコーディオン */
.corporate-voice {
	text-align: center;
	max-width: 80rem;
	margin-inline: auto;
}

.corporate-voice__title {
	font-size: 1.8rem;
	font-weight: 700;
	margin-bottom: 2rem;
	color: var(--color-text);
}

.corporate-voice__list {
	display: flex;
	flex-direction: column;
	gap: 1.8rem;
	text-align: left;
}

.corporate-voice__item {
	background-color: var(--color-white);
	border-radius: 16px;
	box-shadow: 0 4px 20px color-mix(in srgb, var(--color-primary) 8%, transparent);
	overflow: hidden;
	transition: box-shadow 0.3s ease;
}

.corporate-voice__item[open] {
	box-shadow: 0 8px 30px color-mix(in srgb, var(--color-primary) 15%, transparent);
}

.corporate-voice__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 2rem 2.5rem;
	cursor: pointer;
	list-style: none;
	position: relative;
	transition: background-color 0.2s ease;
	background-color: var(--color-secondary);
}

.corporate-voice__summary::-webkit-details-marker {
	display: none;
}

/* 開閉矢印 */
.corporate-voice__summary::after {
	content: "";
	width: 1rem;
	height: 1rem;
	border-right: 2px solid var(--color-primary);
	border-bottom: 2px solid var(--color-primary);
	transform: rotate(45deg);
	flex-shrink: 0;
	transition: transform 0.3s ease;
}

.corporate-voice__item[open] .corporate-voice__summary::after {
	transform: rotate(-135deg);
}

@media (any-hover: hover) {
	.corporate-voice__summary:hover {
		background-color: color-mix(in srgb, var(--color-primary) 20%, transparent);
	}
}

.corporate-voice__summary-text {
	font-size: 1.4rem;
	font-weight: 600;
	line-height: 1.5;
	color: var(--color-text);
	flex: 1;
}

.corporate-voice__summary-author {
	font-size: 1.2rem;
	color: var(--color-primary-dark);
	font-weight: 500;
	white-space: nowrap;
	flex-shrink: 0;
}

.corporate-voice__detail {
	padding: 1rem 2.5rem 2.5rem;
}

.corporate-voice__detail p {
	font-size: 1.4rem;
	color: var(--color-text-light);
}

.corporate-voice__detail p:last-child {
	margin-bottom: 0;
}

/* ご相談前・ご相談後・感想フォーマット（複製版共通） */
.voice-step__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	margin-bottom: 2rem;
}
@media (max-width: 767px) {
	.voice-step__row {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
}


/* 感想部分: アイコン + テキスト横並び */
.voice-step--impression {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	padding-top: 1.5rem;
	padding-left: 0;
	border-top: 1px dashed color-mix(in srgb, var(--color-primary) 50%, transparent);
	border-left: none;
}

.voice-step__impression-icon {
	flex-shrink: 0;
	width: 4.8rem;
	height: 4.8rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.voice-step__impression-icon svg {
	width: 100%;
	height: 100%;
	fill: var(--color-primary);
}

/* 3つ目のアコーディオンの感想アイコンはピンク */
.corporate-voice__item:nth-child(3) .voice-step__impression-icon svg {
	fill: var(--color-accent);
}

.voice-step__impression-body {
	flex: 1;
}

.voice-step__label {
	font-size: 1.3rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	padding: 0.3rem 1rem;
	display: inline-block;
	border-radius: 4px;
}

.voice-step__label--before {
	background-color: color-mix(in srgb, var(--color-primary) 12%, transparent);
	color: var(--color-primary-dark);
}

.voice-step__label--after {
	background-color: color-mix(in srgb, #2E7D32 12%, transparent);
	color: #2E7D32;
}

.voice-step__label--impression {
	background-color: color-mix(in srgb, #F57C00 12%, transparent);
	color: #E65100;
}

.voice-step p:not(.voice-step__label) {
	font-size: 1.4rem;
	line-height: 2;
	color: var(--color-text-light);
}

.voice-step p:last-child {
	margin-bottom: 0;
}


/* ------------------------------------------
   プロフィール
------------------------------------------ */
.about {
	padding:  6rem 0;
}
@media (min-width: 768px) {
	.about {
		padding: 8rem 0;
	}
}

.about__inner {
	display: flex;
	flex-direction: column;
	gap: 4rem;
	padding: 0 2rem;
	max-width: 1100px;
	margin: 0 auto;
}
@media (min-width: 768px) {
	.about__inner {
		flex-direction: row;
		align-items: flex-start;
		gap: 5rem;
	}
}

.about__images {
	position: relative;
	flex-shrink: 0;
	width: 80%;
	max-width: 320px;
	margin: 0 auto;
}
@media (min-width: 768px) {
	.about__images {
		width: 40%;
		max-width: none;
		margin: 0;
	}
}

.about__image {
	border-radius: 24px;
	overflow: hidden;
}

.about__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about__image--main {
	width: 100%;
	aspect-ratio: 3 / 4;
}

.about__image--sub {
	position: absolute;
	bottom: -2rem;
	right: -2rem;
	width: 45%;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	border: 4px solid var(--color-white);
	box-shadow: 0 8px 30px color-mix(in srgb, var(--color-primary) 20%, transparent);
	overflow: hidden;
}

.about__content {
	flex: 1;
}

.about__text {
	margin-bottom: 2rem;
}

.about__name {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
}

.about__name span {
	font-size: 1.4rem;
	font-weight: 400;
	color: var(--color-text-light);
	margin-left: 0.5rem;
}

.about__text p {
	font-size: 1.5rem;
	line-height: 2;
	margin-bottom: 1rem;
}

.about__text p:last-child {
	margin-bottom: 0;
}

.about__info {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	padding: 2rem;
	background: var(--gradient-soft);
	border-radius: 20px;
}

.about__info-item {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.about__info-label {
	font-weight: 600;
	color: var(--color-primary-dark);
}

.about__info-value {
	font-size: 1.4rem;
	line-height: 1.6;
}

.about__company-link {
	color: var(--color-primary-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ------------------------------------------
   私をもっと知る - ショーケース
------------------------------------------ */


.showcase__wrapper {
	padding: 4rem 2rem 0;
	max-width: 1100px;
	margin: 0 auto;
}
@media (min-width: 768px) {
	.showcase__wrapper {
		padding: 5rem 2rem 0;
	}
}

.showcase__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.2rem;
}
@media (min-width: 768px) {
	.showcase__grid {
		grid-template-columns: repeat(2, 1fr);
		grid-auto-rows: minmax(180px, auto);
		gap: 1.5rem;
	}
	
	/* Bentoサイズバリエーション */
	.showcase__card--wide {
		grid-column: span 2;
	}
	.showcase__card--tall {
		grid-row: span 2;
	}
	.showcase__card--large {
		grid-column: span 2;
		grid-row: span 2;
	}
}

/* ショーケースカード共通 */
.showcase__card {
	background: var(--gradient-soft);
	border-radius: 24px;
	padding: 2.5rem 2rem;
	text-align: center;
	display: flex;
	flex-direction: column;
}
.showcase__card--keywords {
	padding: 2.5rem 4rem;
}

.showcase__card-title {
	font-size: 1.6rem;
	font-weight: 700;
	margin-bottom: 2rem;
	color: var(--color-text);
	flex-shrink: 0;
}



/* ===== カード1: カードスタックランキング ===== */
.ranking-cards {
	position: relative;
	height: 320px;
	margin-top: 4rem;
}

.ranking-card {
	position: absolute;
	width: 140px;
	padding: 1rem 0.8rem;
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.15);
	display: flex;
	align-items: center;
	gap: 0.6rem;
	opacity: 0;
	transform: translateY(20px);
}

.ranking-card--1 {
	background: linear-gradient(135deg, #FFF7E6 0%, #FFE4B5 100%);
	border-left: 4px solid #FFD700;
	top: 0;
	left: calc(50% - 70px);
	z-index: 5;
}

.ranking-card--2 {
	background: linear-gradient(135deg, #F5F5F5 0%, #E8E8E8 100%);
	border-left: 4px solid #C0C0C0;
	top: 55px;
	left: calc(50% - 92px);
	z-index: 4;
}

.ranking-card--3 {
	background: linear-gradient(135deg, #FDF5E6 0%, #DEB887 100%);
	border-left: 4px solid #CD853F;
	top: 110px;
	left: calc(50% - 49px);
	z-index: 3;
}

.ranking-card--4 {
	background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
	border-left: 4px solid #66BB6A;
	top: 165px;
	left: calc(50% - 84px);
	z-index: 2;
}

.ranking-card--5 {
	background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
	border-left: 4px solid #42A5F5;
	top: 220px;
	left: calc(50% - 56px);
	z-index: 1;
}

.ranking-card__rank {
	font-family: var(--font-en);
	font-size: 1.6rem;
	font-weight: 800;
	line-height: 1;
	color: var(--color-text);
}

.ranking-card--1 .ranking-card__rank {
	color: #B8860B;
}

.ranking-card--2 .ranking-card__rank {
	color: #808080;
}

.ranking-card--3 .ranking-card__rank {
	color: #8B4513;
}

.ranking-card--4 .ranking-card__rank {
	color: #388E3C;
}

.ranking-card--5 .ranking-card__rank {
	color: #1976D2;
}

.ranking-card__name {
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--color-text);
	white-space: nowrap;
}

/* ===== カード: スケジュールタイムライン ===== */
.schedule-timeline {
	display: flex;
	flex-direction: column;
	gap: 1.6rem;
	margin-top: 1rem;
	padding-left: 0.5rem;
}

.schedule-item {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	position: relative;
	opacity: 0;
	transform: translateX(-20px);
}

.schedule-item:not(:last-child)::after {
	content: '';
	position: absolute;
	left: 53px;
	top: 12px;
	width: 2px;
	height: calc(100% + 1.6rem);
	background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-accent) 100%);
	opacity: 0.4;
}

.schedule-item__time {
	font-family: var(--font-en);
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--color-primary);
	min-width: 40px;
	text-align: right;
}

.schedule-item__dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
	flex-shrink: 0;
	position: relative;
	z-index: 1;
}

.schedule-item__text {
	font-size: 1.1rem;
	font-weight: 500;
	color: var(--color-text);
}

/* ===== カード2: レーダーチャート ===== */
.radar-chart {
	position: relative;
	width: 100%;
	max-width: 220px;
	margin: 0 auto;
	aspect-ratio: 1 / 1;
}

.radar-chart__svg {
	width: 100%;
	height: 100%;
}

.radar-chart__grid {
	fill: none;
	stroke: var(--color-text-light);
	stroke-width: 1;
	opacity: 0.3;
}

.radar-chart__grid--half {
	stroke-dasharray: 4 2;
}

.radar-chart__data {
	fill: color-mix(in srgb, var(--color-primary) 40%, transparent);
	stroke: var(--color-primary-dark);
	stroke-width: 2;
	transition: all 0.8s ease-out;
}

.radar-chart__axis {
	stroke: var(--color-text-light);
	stroke-width: 1;
	opacity: 0.2;
}

.radar-chart__labels {
	position: absolute;
	inset: -10px;
}

.radar-chart__label {
	position: absolute;
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--color-text);
	white-space: nowrap;
}

/* ===== カード3: 脳内メーカー（脳の形風） ===== */
.brain-maker {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2.4rem;
}

.brain-maker__head {
	position: relative;
	width: 220px;
	height: 180px;
	margin-bottom: 40px;
}

/* 吹き出しの点々 */
.brain-maker__head::after {
	content: '';
	position: absolute;
	bottom: -20px;
	left: 20%;
	width: 22px;
	height: 22px;
	background: #A2C4DE;
	border-radius: 50%;
	box-shadow: 
		-15px 18px 0 -6px #8AB6D6,
		-25px 32px 0 -10px #7BA9CC;
}

.brain-maker__brain {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(145deg, #D8E9F5 0%, #A2C4DE 100%);
	border-radius: 60% 40% 55% 45% / 55% 50% 50% 45%;
	overflow: hidden;
}

.brain-word {
	position: absolute;
	left: var(--x);
	top: var(--y);
	font-size: 1rem;
	font-weight: 700;
	color: var(--color-text);
	opacity: 0;
	transform: scale(0);
}



.brain-maker__legend {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.8rem 0.5rem;
}

.brain-maker__legend-item {
	font-size: 1rem;
	color: var(--color-text-light);
}

/* ===== カード4: ハッシュタグ風キーワード ===== */
.keywords {
	flex: 1;
	align-content: center;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.8rem;
	padding: 0.5rem 0;
}

@media screen and (min-width: 768px) {
	.keywords {
	flex: 1;
	align-content: center;
		padding: 2rem 0 0;
	}
}

.keyword {
	display: flex;
	align-items: center;
	gap: 0.2rem;
	padding: 0.6rem 1.2rem;
	background: var(--color-white);
	border: 2px solid var(--color-primary);
	border-radius: 30px;
	opacity: 0;
	transform: scale(0);
}

@media (any-hover: hover) {
	.keyword:hover {
		background: var(--color-primary);
		transform: scale(1.05);
	}
	.keyword:hover .keyword__hash,
	.keyword:hover .keyword__text {
		color: white;
	}
}

.keyword__hash {
	font-family: var(--font-en);
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--color-primary);
	transition: color 0.3s ease;
}

.keyword__text {
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--color-text);
	transition: color 0.3s ease;
}

/* ------------------------------------------
   私のこと - 二択カード
------------------------------------------ */
.personal {
	padding:  6rem 0;
}
@media (min-width: 768px) {
	.personal {
		padding: 8rem 0;
	}
}

.personal__inner {
	padding: 0 2rem;
	max-width: 1000px;
	margin: 0 auto;
	text-align: center;
}

.personal__label {
	display: inline-block;
	font-family: var(--font-en);
	font-size: 1.2rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-white);
	margin-bottom: 1rem;
}

.personal__title {
	font-size: 2.8rem;
	font-weight: 700;
	line-height: 1.4;
	margin-bottom: 1rem;
}
@media (min-width: 768px) {
	.personal__title {
		font-size: 3.4rem;
	}
}

.personal__lead {
	font-size: 1.5rem;
	color: var(--color-text-light);
	margin-bottom: 4rem;
}

.personal__cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}
@media (min-width: 768px) {
	.personal__cards {
		grid-template-columns: repeat(3, 1fr);
		gap: 2.5rem;
	}
}

/* カード本体 */
.personal__card {
	perspective: 1000px;
	cursor: pointer;
}

.personal__card-inner {
	position: relative;
	width: 100%;
	max-width: 300px;
	margin-inline: auto;
	aspect-ratio: 1 / 1;
	transform-style: preserve-3d;
	transition: transform 0.6s ease;
}

.personal__card.is-flipped .personal__card-inner {
	transform: rotateY(180deg);
}

/* カード表面・裏面共通 */
.personal__card-front,
.personal__card-back {
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 2rem;
	border-radius: 24px;
	backface-visibility: hidden;
}

/* 表面 */
.personal__card-front {
	background-color: var(--color-white);
	border: 3px solid var(--color-secondary);
}

/* 裏面 */
.personal__card-back {
	background: var(--color-primary-dark);
	transform: rotateY(180deg);
}

.personal__card-question {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 2rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--color-primary);
	width: 100%;
}
@media (min-width: 768px) {
	.personal__card-question {
		font-size: 2.2rem;
		min-height: 4em;
		display: flex;
		align-items: center;
		justify-content: center;
	}
}

.personal__card-options {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.personal__card-option {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	font-size: 1.4rem;
	font-weight: 500;
	color: var(--color-text);
}

.personal__card-option svg {
	fill: var(--color-primary-dark);
}

.personal__card-or {
	font-family: var(--font-en);
	font-size: 1.4rem;
	font-weight: 600;
	color: var(--color-text-light);
}

.personal__card-hint {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1.2rem;
	color: var(--color-text-light);
}

.personal__card-hint svg {
	fill: none;
	stroke: currentColor;
	width: 32px;
	height: 32px;
}

/* 裏面のスタイル */
.personal__card-answer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.8rem;
	font-size: 2.4rem;
	font-weight: 700;
	color: var(--color-white);
	margin-bottom: 1.5rem;
}

.personal__card-answer svg {
	fill: var(--color-white);
}

.personal__card-reason {
	font-size: 1.4rem;
	line-height: 1.8;
	color: var(--color-white);
}

/* ホバー効果 */
@media (any-hover: hover) {
	.personal__card:hover .personal__card-inner {
		transform: scale(1.03);
	}
	.personal__card.is-flipped:hover .personal__card-inner {
		transform: rotateY(180deg) scale(1.03);
	}
}

/* ------------------------------------------
   サービス
------------------------------------------ */
.service {
	padding:  6rem 0;
	background: var(--gradient-soft);
}
@media (min-width: 768px) {
	.service {
		padding: 8rem 0;
	}
}

.service__inner {
	padding: 0 2rem;
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
}

.service__list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
}
@media (min-width: 768px) {
	.service__list {
		grid-template-columns: repeat(3, 1fr);
	}
}

.service__card {
	position: relative;
	display: flex;
	flex-direction: column;
	background-color: var(--color-white);
	border-radius: 24px;
	overflow: hidden;
	text-align: left;
	box-shadow: 0 10px 40px color-mix(in srgb, var(--color-primary) 10%, transparent);
	transition: translate 0.3s ease;
	max-width: 40rem;
	margin-inline: auto;
}
@media (any-hover: hover) {
	.service__card:hover {
		translate: 0 -8px;
	}
}

.service__card-image {
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.service__card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.service__card-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 2rem 2.5rem 2.5rem;
}

.service__card-title {
	font-size: 1.8rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

.service__card-text {
	flex: 1;
	font-size: 1.4rem;
	line-height: 1.8;
	color: var(--color-text-light);
	margin-bottom: 1.5rem;
}

.service__card-price {
	font-size: 2.2rem;
	font-weight: 700;
	color: var(--color-primary-dark);
}

.service__card-price span {
	font-size: 1.3rem;
	font-weight: 400;
	color: var(--color-text-light);
}

/* ------------------------------------------
   保険の見直し診断
------------------------------------------ */
.diagnosis {
	padding:  6rem 1rem;
}
@media (min-width: 768px) {
	.diagnosis {
		padding: 8rem 2rem;
	}
}

.diagnosis__inner {
	max-width: 800px;
	margin: 0 auto;
	padding: 4rem 2.5rem;
	text-align: center;
	background: var(--color-white);
	border-radius: 24px;
	border: 2px solid var(--color-primary);
}
@media (min-width: 768px) {
	.diagnosis__inner {
		padding: 5rem 4rem;
	}
}

.diagnosis__label {
	font-family: var(--font-en);
	font-size: 1.3rem;
	font-weight: 600;
	letter-spacing: 0.15em;
	color: var(--color-primary);
	margin-bottom: 1rem;
}

.diagnosis__title {
	font-size: 2.4rem;
	font-weight: 700;
	line-height: 1.4;
	margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
	.diagnosis__title {
		font-size: 3rem;
	}
}

.diagnosis__lead {
	font-size: 1.5rem;
	line-height: 2;
	color: var(--color-text-light);
	margin-bottom: 3rem;
}

.diagnosis__questions {
	position: relative;
	min-height: 220px;
	margin-bottom: 3rem;
}

.diagnosis__question {
	border-radius: 16px;
	text-align: left;
	display: none;
	animation: diagnosisQFadeIn 0.4s ease forwards;
}

.diagnosis__question.is-active {
	display: block;
}

@keyframes diagnosisQFadeIn {
	from {
		opacity: 0;
		transform: translateX(30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.diagnosis__q-number {
	font-family: var(--font-en);
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--color-primary);
	margin-bottom: 0.5rem;
}

.diagnosis__q-text {
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.7;
	color: var(--color-text);
	margin-bottom: 1.5rem;
}

.diagnosis__q-options {
	display: flex;
	gap: 1.2rem;
}

.diagnosis__q-btn {
	flex: 1;
	padding: 1.2rem 2rem;
	border: 2px solid color-mix(in srgb, var(--color-primary) 25%, transparent);
	border-radius: 12px;
	background: transparent;
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--color-text);
	cursor: pointer;
	transition: all 0.25s ease;
}

@media (any-hover: hover) {
	.diagnosis__q-btn:hover {
		border-color: var(--color-primary);
		background-color: color-mix(in srgb, var(--color-primary) 8%, transparent);
	}
}

.diagnosis__q-btn.is-selected[data-answer="yes"] {
	border-color: var(--color-primary);
	background: var(--gradient-accent);
	color: var(--color-white);
	border-color: var(--color-accent-dark);
}

.diagnosis__q-btn.is-selected[data-answer="no"] {
	border-color: var(--color-primary-dark);
	background-color: var(--color-primary-dark);
	color: var(--color-white);
}

/* 進捗バー */
.diagnosis__progress {
	margin-bottom: 3rem;
}

.diagnosis__progress-bar {
	width: 100%;
	height: 8px;
	background-color: color-mix(in srgb, var(--color-primary) 12%, transparent);
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: 0.8rem;
}

.diagnosis__progress-fill {
	width: 0%;
	height: 100%;
	background: var(--gradient-accent);
	border-radius: 4px;
	transition: width 0.4s ease;
}

.diagnosis__progress-text {
	font-size: 1.3rem;
	color: var(--color-text-light);
	font-weight: 500;
}

/* 結果 */
.diagnosis__result {
	display: none;
	animation: diagnosisSlideIn 0.5s ease forwards;
}

.diagnosis__result.is-visible {
	display: block;
}

@keyframes diagnosisSlideIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.diagnosis__result-inner {
	background: linear-gradient(180deg, var(--color-primary-dark) 0%, #3A7A9D 100%);
	border-radius: 24px;
	padding: 3.5rem 2.5rem;
	text-align: center;
}

.diagnosis__result-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 5.6rem;
	height: 5.6rem;
	background-color: rgba(255, 255, 255, 0.15);
	border-radius: 50%;
	margin: 0 auto 1.5rem;
}

.diagnosis__result-icon svg {
	fill: var(--color-white);
}

.diagnosis__result-count {
	font-size: 1.6rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 0.8rem;
}

.diagnosis__result-count span {
	font-size: 2.4rem;
	font-weight: 800;
	color: var(--color-white);
}

.diagnosis__result-title {
	font-size: 2rem;
	font-weight: 700;
	color: var(--color-white);
	margin-bottom: 1rem;
}

.diagnosis__result-text {
	font-size: 1.5rem;
	line-height: 2;
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 2.5rem;
	padding: 0 1.5rem;
}

.diagnosis__result-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 1.4rem 3rem;
	background-color: var(--color-white);
	color: var(--color-primary-dark);
	font-size: 1.5rem;
	font-weight: 700;
	border-radius: 50px;
	text-decoration: none;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.diagnosis__result-cta svg {
	fill: var(--color-primary-dark);
}

@media (any-hover: hover) {
	.diagnosis__result-cta:hover {
		transform: translateY(-2px);
		box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
	}
}

/* 戻るボタン */
.diagnosis__q-back {
	display: block;
	margin-top: 1.5rem;
	padding: 0.6rem 0;
	background: transparent;
	border: none;
	font-size: 1.3rem;
	color: var(--color-text-light);
	cursor: pointer;
	transition: color 0.2s ease;
	text-align: center;
	width: 100%;
}

.diagnosis__q-back::before {
	content: "\2190\00a0";
}

@media (any-hover: hover) {
	.diagnosis__q-back:hover {
		color: var(--color-primary);
	}
}

/* やり直しボタン */
.diagnosis__result-reset {
	display: inline-block;
	margin-top: 2rem;
	margin-left: 1.2rem;
	padding: 0.8rem 2rem;
	background: transparent;
	border: 1.5px solid rgba(255, 255, 255, 0.4);
	border-radius: 50px;
	font-size: 1.3rem;
	color: rgba(255, 255, 255, 0.8);
	cursor: pointer;
	transition: all 0.25s ease;
}

@media (any-hover: hover) {
	.diagnosis__result-reset:hover {
		background-color: rgba(255, 255, 255, 0.15);
		border-color: rgba(255, 255, 255, 0.7);
		color: var(--color-white);
	}
}

/* ------------------------------------------
   お客様の声
------------------------------------------ */
.voice {
	padding:  6rem 0;
}
@media (min-width: 768px) {
	.voice {
		padding: 8rem 0;
	}
}

.voice__inner {
	padding: 0 2rem;
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
}

.voice__list {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
	max-width: 900px;
	margin: 0 auto;
}

.voice__card {
	padding: 2.5rem;
	background-color: var(--color-soft);
	border-radius: 24px;
	text-align: left;
}
@media (min-width: 768px) {
	.voice__card {
		padding: 3rem 3.5rem;
	}
}

/* カード内部レイアウト: 相談前・相談後を左右、感想を下 */
.voice__card-body {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}
@media (min-width: 768px) {
	.voice__card-body {
		grid-template-columns: 1fr 1fr;
		gap: 1rem 2rem;
	}
	.voice__card-body > .voice-step:last-child {
		grid-column: 1 / -1;
	}
}

.voice__card-header {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid color-mix(in srgb, var(--color-primary) 50%, transparent);
}

.voice__card-avatar {
	width: 5rem;
	height: 5rem;
	border-radius: 50%;
	flex-shrink: 0;
	overflow: hidden;
}

.voice__card-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* アイコン版アバター（写真なしの場合） */
.voice__card-avatar--icon {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--gradient-accent);
}

.voice__card-avatar--icon-male {
	background: var(--gradient-primary);
}

.voice__card-avatar--icon svg {
	fill: var(--color-white);
}

.voice__card-author {
	font-size: 1.5rem;
	font-weight: 600;
}

.voice__card-icon {
	margin-bottom: 1rem;
}

.voice__card-icon svg {
	fill: var(--color-secondary);
}

.voice__card-text {
	font-size: 1.5rem;
	line-height: 1.9;
}

/* 女性用アバター（ピンク系） */
.voice__card-avatar--female {
	background: linear-gradient(135deg, #E8A0B0 0%, #D88090 100%);
}

/* 注記テキスト */
.voice__note {
	text-align: center;
	font-size: 1.4rem;
	color: var(--color-text-light);
	margin-top: 3rem;
}

/* ------------------------------------------
   CTA
------------------------------------------ */
.cta {
	position: relative;
	padding:  6rem 0;
	overflow: hidden;
}
@media (min-width: 768px) {
	.cta {
		padding: 8rem 0;
	}
}

.cta__inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4rem;
	padding: 0 2rem;
	max-width: 1100px;
	margin: 0 auto;
}

.cta__content {
	text-align: center;
}

.cta__label {
	color: var(--color-white);
}

.cta__title {
	color: var(--color-white);
}

.cta__text {
	font-size: 1.5rem;
	line-height: 1.9;
	color: color-mix(in srgb, var(--color-white) 90%, transparent);
	margin-bottom: 3rem;
}

.cta__buttons {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
	margin-bottom: 3rem;
}
@media (min-width: 768px) {
	.cta__buttons {
		flex-direction: row;
		gap: 2rem;
	}
}

.cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	padding: 1.6rem 3rem;
	font-size: 1.5rem;
	font-weight: 600;
	border-radius: 50px;
	transition: all 0.3s ease;
	min-width: 24rem;
	max-width: 40rem;
}
@media (any-hover: hover) {
	.cta__btn:hover,
	.cta__btn:focus-visible {
		translate: 0 -3px;
	}
}

.cta__btn svg {
	fill: currentColor;
}

.cta__btn--line {
	color: var(--color-white);
	background-color: #06C755;
	box-shadow: 0 4px 20px color-mix(in srgb, #06C755 30%, transparent);
}

.cta__btn--mail {
	color: var(--color-white);
	background-color: var(--color-primary-dark);
	box-shadow: 0 4px 20px color-mix(in srgb, var(--color-primary-dark) 30%, transparent);
}

.cta__btn--phone {
	color: var(--color-primary-dark);
	background-color: var(--color-white);
	box-shadow: 0 4px 20px color-mix(in srgb, var(--color-text) 10%, transparent);
}

.cta__sns {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
}

.cta__sns-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 5rem;
	height: 5rem;
	background-color: color-mix(in srgb, var(--color-white) 20%, transparent);
	border-radius: 50%;
	transition: background-color 0.3s ease;
}
@media (any-hover: hover) {
	.cta__sns-link:hover,
	.cta__sns-link:focus-visible {
		background-color: var(--color-white);
	}
	.cta__sns-link:hover svg,
	.cta__sns-link:focus-visible svg {
		fill: var(--color-primary-dark);
	}
}

.cta__sns-link svg {
	fill: var(--color-white);
	transition: fill 0.3s ease;
}

.cta__visual {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}

.cta__visual::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(34, 85, 117, 0.82);
	z-index: 1;
}

.cta__visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ------------------------------------------
   フッター
------------------------------------------ */
.footer {
	padding: 1.2rem 0;
	background-color: var(--color-text);
}

.footer__inner {
	padding: 0 2rem;
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
}

.footer__copyright {
	font-family: var(--font-en);
	font-size: 1.2rem;
	color: color-mix(in srgb, var(--color-white) 60%, transparent);
}


