/* project.css */
/* このサイトの基本レイアウトやフロントのみの装飾CSS
--------------------------------------------------------------*/
/*非表示(エディタ画面では表示)*/
.no {display:none!important;}
/* --------------------------------------------------------------
共通レイアウト
-------------------------------------------------------------- */


/* --------------------------------------------------------------
ヘッダー
-------------------------------------------------------------- */


/* --------------------------------------------------------------
グローバルナビゲーション
-------------------------------------------------------------- */


/* --------------------------------------------------------------
フッター
-------------------------------------------------------------- */


/* --------------------------------------------------------------
ボタン
-------------------------------------------------------------- */


/* --------------------------------------------------------------
共通コンポーネント
-------------------------------------------------------------- */


/* --------------------------------------------------------------
WordPressブロック調整
-------------------------------------------------------------- */


/* --------------------------------------------------------------
ページ別
-------------------------------------------------------------- */


/* --------------------------------------------------------------
ユーティリティ
-------------------------------------------------------------- */

/* academy-box：PC用の3段階フレーム */
@media screen and (min-width: 960px) {
	.academy-box {
		--academy-gold: #d8ad63;
		--academy-gold-light: #f3d58f;
		--academy-gold-line: rgba(216, 173, 99, 0.68);
		--academy-navy: rgba(5, 20, 40, 0.88);
		--academy-text: #f7f0df;
		--academy-column-gap: clamp(52px, 5vw, 84px);
		
		background-color: #061528;
		background-image: url("https://academy.crearlife.com/wp-content/uploads/2026/07/planback01S.jpg");
		background-repeat: no-repeat;
		background-position: center;
		background-size: 100% 100%;

		position: relative;
		padding-block: clamp(64px, 7vw, 108px);
		color: var(--academy-text);
		isolation: isolate;
	}

	/* 上部タイトル */
	.academy-box > .wp-block-heading {
		display: grid;
		grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr);
		align-items: center;
		gap: clamp(20px, 3vw, 42px);
		width: min(1180px, calc(100% - 40px));
		max-width: none !important;
		margin: 0 auto 120px;
		font-family:
			"Hiragino Mincho ProN",
			"Yu Mincho",
			serif;
		font-size: clamp(2rem, 3.8vw, 4rem);
		font-weight: 500;
		line-height: 1.45;
		letter-spacing: 0.06em;
		white-space: nowrap;
		text-shadow: 0 0 18px rgba(216, 173, 99, 0.18);
		background:
		linear-gradient(
			180deg,
			#fff0ba 0%,
			#e7bd68 30%,
			#b9782e 62%,
			#f2d38a 100%
		);
		color: transparent;
		-webkit-background-clip: text;
		background-clip: text;
		-webkit-text-fill-color: transparent;
		filter:
		drop-shadow(0 1px 0 rgba(255, 248, 220, 0.22))
		drop-shadow(0 2px 1px rgba(5, 17, 38, 0.7))
		drop-shadow(0 0 4px rgba(73, 112, 165, 0.16));
	}

	.academy-box > .wp-block-heading::before,
	.academy-box > .wp-block-heading::after {
		content: "";
		display: block;
		height: 1px;
		background: linear-gradient(
			90deg,
			transparent,
			var(--academy-gold-line),
			transparent
		);
	}

	/* 3カラム全体 */
	.academy-box > .wp-block-columns {
		align-items: stretch !important;
		gap: var(--academy-column-gap);
		width: min(1180px, calc(100% - 40px));
		max-width: none !important;
		margin: 0 auto !important;
		overflow: visible;
	}

	/* 各段階のフレーム */
	.academy-box > .wp-block-columns > .wp-block-column {
		position: relative;
		min-width: 0;
		min-height: 280px;
		padding: 85px 24px 40px;
		border: 1px solid var(--academy-gold-line);
		border-radius: 8px 8px 18px 18px;
		corner-shape: scoop;
		background:
			linear-gradient(
				180deg,
				rgba(12, 35, 63, 0.92),
				var(--academy-navy)
			);
		box-shadow:
			0 20px 45px rgba(0, 0, 0, 0.28),
			inset 0 0 35px rgba(216, 173, 99, 0.035);
		overflow: visible;
	}
	
	/* 他のCSSから継承されたカラム装飾を初期化 */
	.academy-box > .wp-block-columns > .wp-block-column::before,
	.academy-box > .wp-block-columns > .wp-block-column::after {
		content: none;
		position: static;
		inset: auto;
		z-index: auto;
		width: auto;
		height: auto;
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: 0;
		outline: 0;
		background: none;
		box-shadow: none;
		clip-path: none;
		-webkit-clip-path: none;
		mask: none;
		-webkit-mask: none;
		filter: none;
		opacity: 1;
		transform: none;
	}

	/* 内側の二重枠と上部装飾線 */
	.academy-box > .wp-block-columns > .wp-block-column::before {
		content: "";
		position: absolute;
		z-index: 0;
		inset: 8px;
		border: 1px solid rgba(216, 173, 99, 0.3);
		border-radius: 3px 3px 11px 11px;
		background: linear-gradient(
			90deg,
			transparent,
			var(--academy-gold-line),
			transparent
		) top 14px center / calc(100% - 40px) 1px no-repeat;
		pointer-events: none;
	}

	/* カラム間の矢印 */
	.academy-box > .wp-block-columns > .wp-block-column:not(:last-child)::after {
		content: "";
		position: absolute;
		top: 52%;
		right: calc((var(--academy-column-gap) / -2) - 14px);
		width: 28px;
		height: 28px;
		border-top: 2px solid var(--academy-gold);
		border-right: 2px solid var(--academy-gold);
		filter: drop-shadow(0 0 7px rgba(216, 173, 99, 0.45));
		transform: translateY(-50%) rotate(45deg);
	}

	/* 各カラム先頭の円形画像 */
	.academy-box
		> .wp-block-columns
		> .wp-block-column
		> .wp-block-image:first-child {
		position: absolute;
		z-index: 2;
		top: -90px;
		left: 50%;
		width: 160px;
		height: 160px;
		margin: 0;
		padding: 10px;
		border: 1px solid var(--academy-gold);
		border-radius: 50%;
		background:
			radial-gradient(
				circle,
				rgba(216, 173, 99, 0.12),
				rgba(5, 20, 40, 0.98) 68%
			);
		box-shadow:
			0 0 0 7px rgba(216, 173, 99, 0.1),
			0 12px 30px rgba(0, 0, 0, 0.4),
			0 0 28px rgba(216, 173, 99, 0.13);
		transform: translateX(-50%);
	}

	.academy-box
		> .wp-block-columns
		> .wp-block-column
		> .wp-block-image:first-child
		img {
		display: block;
		width: 100%;
		height: 100%;
		border: 1px solid rgba(216, 173, 99, 0.55);
		border-radius: 50%;
		object-fit: cover;
	}

	/* カラム内テキスト共通 */
	.academy-box > .wp-block-columns > .wp-block-column > p {
		position: relative;
		z-index: 1;
		margin: 0;
		color: var(--academy-text);
		font-family:
			"Hiragino Mincho ProN",
			"Yu Mincho",
			serif;
		font-size: clamp(1rem, 1.3vw, 1.2rem);	
	}

	.academy-box > .wp-block-columns > .wp-block-column > p + p {
		margin-top: 20px;
	}

	/* 各カラムの最初の段落を段階タイトルにする */
	.academy-box
		> .wp-block-columns
		> .wp-block-column
		> p:first-of-type {
			margin-bottom: 24px;
			padding-bottom: 22px;
			border-bottom: 1px solid rgba(216, 173, 99, 0.38);
			color: var(--academy-gold-light);
			font-size: clamp(0.92rem, 1.6vw, 1.3rem);
			line-height: 1.65;
			letter-spacing: 0.02em;
			text-align: center;
	}

	.academy-box
		> .wp-block-columns
		> .wp-block-column
		> p:first-of-type::after {
		content: "✦";
		position: absolute;
		bottom: -11px;
		left: 50%;
		padding-inline: 9px;
		color: var(--academy-gold);
		background: #091a31;
		font-size: 0.72rem;
		transform: translateX(-50%);
	}

	/* 下部メッセージ */
	.academy-box > p.has-text-align-center:last-child {
		position: relative;
		width: min(1080px, calc(100% - 80px));
		max-width: none !important;
		margin: 56px auto 0 !important;
		padding: 20px 70px;
		border-top: 1px solid var(--academy-gold-line);
		border-bottom: 1px solid var(--academy-gold-line);
		border-radius: 999px;
		box-shadow:
			inset 0 0 20px rgba(216, 173, 99, 0.04),
			0 0 20px rgba(0, 0, 0, 0.18);
		font-family:
			"Hiragino Mincho ProN",
			"Yu Mincho",
			serif;
		font-size: clamp(1.5rem, 2.7vw, 2.7rem);
		line-height: 1.5;
		letter-spacing: 0.07em;
        background: linear-gradient(
            180deg,
            #fff0ba 0%,
            #e7bd68 30%,
            #b9782e 62%,
            #f2d38a 100%
            );
            color: transparent;
        -webkit-background-clip: text;
        background-clip: text;
        filter: drop-shadow(0 1px 0 rgba(255, 248, 220, 0.22))
                drop-shadow(0 2px 1px rgba(5, 17, 38, 0.7))
                drop-shadow(0 0 4px rgba(73, 112, 165, 0.16));
	}

	.academy-box > p.has-text-align-center:last-child::before,
	.academy-box > p.has-text-align-center:last-child::after {
		position: absolute;
		top: 50%;
		color: var(--academy-gold);
		font-size: 1.1rem;
		transform: translateY(-50%);
	}

	.academy-box > p.has-text-align-center:last-child::before {
		content: "◇ ─";
		left: 24px;
	}

	.academy-box > p.has-text-align-center:last-child::after {
		content: "─ ◇";
		right: 24px;
	}
}

/* academy-box：スマホ・タブレット用 */
@media screen and (max-width: 959px) {
	.academy-box {
		--academy-gold: #d8ad63;
		--academy-gold-light: #f3d58f;
		--academy-gold-line: rgba(216, 173, 99, 0.68);
		--academy-navy: rgba(5, 20, 40, 0.9);
		--academy-text: #f7f0df;
		--academy-icon-size: clamp(132px, 36vw, 156px);
		--academy-icon-offset: clamp(66px, 18vw, 78px);

		position: relative;
		width: 100vw;
		max-width: none !important;
		margin-left: calc(50% - 50vw) !important;
		margin-right: calc(50% - 50vw) !important;
		padding: clamp(96px, 24vw, 124px) clamp(18px, 5vw, 36px)
			clamp(64px, 14vw, 96px);
		border: 1px solid rgba(216, 173, 99, 0.5);
		color: var(--academy-text);
		background-color: #061528;
		background-image: url("https://academy.crearlife.com/wp-content/uploads/2026/07/planback02S.jpg");
		background-repeat: no-repeat;
		background-position: center top;
		background-size: cover;
		box-shadow: inset 0 0 70px rgba(0, 0, 0, 0.32);
		isolation: isolate;
		box-sizing: border-box;
	}

	/* 上部タイトル */
	.academy-box > .wp-block-heading {
		display: grid;
		grid-template-columns: minmax(16px, 1fr) auto minmax(16px, 1fr);
		align-items: center;
		gap: clamp(8px, 3vw, 18px);
		width: 100%;
		max-width: none !important;
		margin: 0 auto clamp(100px, 26vw, 132px);
		font-family:
			"Hiragino Mincho ProN",
			"Yu Mincho",
			serif;
		font-size: clamp(1.65rem, 7vw, 2.4rem);
		font-weight: 500;
		line-height: 1.4;
		letter-spacing: 0.04em;
		text-shadow: 0 0 18px rgba(216, 173, 99, 0.18);
		background: linear-gradient(
			180deg,
			#fff0ba 0%,
			#e7bd68 30%,
			#b9782e 62%,
			#f2d38a 100%
		);
		color: transparent;
		-webkit-background-clip: text;
		background-clip: text;
		-webkit-text-fill-color: transparent;
		filter:
			drop-shadow(0 1px 0 rgba(255, 248, 220, 0.22))
			drop-shadow(0 2px 1px rgba(5, 17, 38, 0.7))
			drop-shadow(0 0 4px rgba(73, 112, 165, 0.16));
	}

	.academy-box > .wp-block-heading::before,
	.academy-box > .wp-block-heading::after {
		content: "";
		display: block;
		height: 1px;
		background: linear-gradient(
			90deg,
			transparent,
			var(--academy-gold-line),
			transparent
		);
	}

	/* 3カラムを縦1列に変更 */
	.academy-box > .wp-block-columns {
		display: flex !important;
		flex-direction: column;
		align-items: center !important;
		gap: clamp(150px, 40vw, 180px);
		width: min(100%, 520px);
		max-width: none !important;
		margin: 0 auto !important;
		overflow: visible;
	}

	/* 各段階のカード */
	.academy-box > .wp-block-columns > .wp-block-column {
		position: relative;
		flex-basis: auto !important;
		width: 100%;
		min-width: 0;
		min-height: none;
		margin: 0 !important;
		padding:
			calc(var(--academy-icon-offset) + 34px)
			clamp(22px, 7vw, 34px)
			clamp(32px, 8vw, 42px);
		border: 1px solid var(--academy-gold-line);
		border-radius: 12px 12px 21px 21px;
		corner-shape: scoop;
		background: linear-gradient(
			180deg,
			rgba(12, 35, 63, 0.94),
			var(--academy-navy)
		);
		box-shadow:
			0 18px 36px rgba(0, 0, 0, 0.28),
			inset 0 0 30px rgba(216, 173, 99, 0.035);
		overflow: visible;
		box-sizing: border-box;
	}

	/* 既存装飾を初期化 */
	.academy-box > .wp-block-columns > .wp-block-column::before,
	.academy-box > .wp-block-columns > .wp-block-column::after {
		content: none;
		position: static;
		inset: auto;
		width: auto;
		height: auto;
		margin: 0;
		padding: 0;
		border: 0;
		background: none;
		box-shadow: none;
		filter: none;
		transform: none;
	}

	/* 内側の二重枠 */
	.academy-box > .wp-block-columns > .wp-block-column::before {
		content: "";
		position: absolute;
		z-index: 0;
		inset: 8px;
		border: 1px solid rgba(216, 173, 99, 0.3);
		border-radius: 3px 3px 11px 11px;
		background: linear-gradient(
			90deg,
			transparent,
			var(--academy-gold-line),
			transparent
		) top 14px center / calc(100% - 40px) 1px no-repeat;
		pointer-events: none;
	}

	/* カード間の下向き矢印 */
	.academy-box
		> .wp-block-columns
		> .wp-block-column:not(:last-child)::after {
		content: "";
		position: absolute;
		z-index: 3;
		right: auto;
		bottom: -48px;
		left: 50%;
		width: 22px;
		height: 22px;
		border-right: 2px solid var(--academy-gold);
		border-bottom: 2px solid var(--academy-gold);
		filter: drop-shadow(0 0 7px rgba(216, 173, 99, 0.45));
		transform: translateX(-50%) rotate(45deg);
	}

	/* 円形アイコン */
	.academy-box
		> .wp-block-columns
		> .wp-block-column
		> .wp-block-image:first-child {
		position: absolute;
		z-index: 2;
		top: calc(0px - var(--academy-icon-offset));
		left: 50%;
		width: var(--academy-icon-size);
		height: var(--academy-icon-size);
		margin: 0 !important;
		padding: 8px;
		border: 1px solid var(--academy-gold);
		border-radius: 50%;
		background: radial-gradient(
			circle,
			rgba(216, 173, 99, 0.12),
			rgba(5, 20, 40, 0.98) 68%
		);
		box-shadow:
			0 0 0 6px rgba(216, 173, 99, 0.1),
			0 10px 25px rgba(0, 0, 0, 0.4),
			0 0 22px rgba(216, 173, 99, 0.13);
		transform: translateX(-50%);
		box-sizing: border-box;
	}

	.academy-box
		> .wp-block-columns
		> .wp-block-column
		> .wp-block-image:first-child
		img {
		display: block;
		width: 100%;
		height: 100%;
		border: 1px solid rgba(216, 173, 99, 0.55);
		border-radius: 50%;
		object-fit: cover;
	}

	/* カード内テキスト */
	.academy-box > .wp-block-columns > .wp-block-column > p {
		position: relative;
		z-index: 1;
		margin: 0;
		color: var(--academy-text);
		font-family:
			"Hiragino Mincho ProN",
			"Yu Mincho",
			serif;
		font-size: clamp(1rem, 4vw, 1.12rem);
		line-height: 2;
		letter-spacing: 0.035em;
	}

	.academy-box > .wp-block-columns > .wp-block-column > p + p {
		margin-top: 20px;
	}

	/* 段階タイトル */
	.academy-box
		> .wp-block-columns
		> .wp-block-column
		> p:first-of-type {
			margin-bottom: 24px;
			padding-bottom: 22px;
			border-bottom: 1px solid rgba(216, 173, 99, 0.38);
			color: var(--academy-gold-light);
			font-size: clamp(1rem, 4.8vw, 1.35rem);
			line-height: 1.65;
			letter-spacing: 0.01em;
			text-align:center;
	}

	.academy-box
		> .wp-block-columns
		> .wp-block-column
		> p:first-of-type::after {
		content: "✦";
		position: absolute;
		bottom: -11px;
		left: 50%;
		padding-inline: 9px;
		color: var(--academy-gold);
		background: #091a31;
		font-size: 0.72rem;
		transform: translateX(-50%);
	}

	/* 下部メッセージ */
	.academy-box > p.has-text-align-center:last-child {
		position: relative;
		width: min(100%, 520px);
		max-width: none !important;
		margin: clamp(52px, 14vw, 72px) auto 0 !important;
		padding: 18px 38px;
		border-top: 1px solid var(--academy-gold-line);
		border-bottom: 1px solid var(--academy-gold-line);
		border-radius: 999px;
		color: var(--academy-gold-light);
		background: rgba(5, 20, 40, 0.68);
		box-shadow:
			inset 0 0 20px rgba(216, 173, 99, 0.04),
			0 0 20px rgba(0, 0, 0, 0.18);
		font-family:
			"Hiragino Mincho ProN",
			"Yu Mincho",
			serif;
		font-size: clamp(1.25rem, 6vw, 2rem);
		line-height: 1.55;
		letter-spacing: 0.05em;
		box-sizing: border-box;
	}

	.academy-box > p.has-text-align-center:last-child::before,
	.academy-box > p.has-text-align-center:last-child::after {
		position: absolute;
		top: 50%;
		color: var(--academy-gold);
		font-size: 0.8rem;
		transform: translateY(-50%);
	}

	.academy-box > p.has-text-align-center:last-child::before {
		content: "◇";
		left: 14px;
	}

	.academy-box > p.has-text-align-center:last-child::after {
		content: "◇";
		right: 14px;
	}
    .academy-box > .wp-block-heading {
		display: block;
		width: 100%;
		margin-bottom: clamp(100px, 26vw, 124px);
		font-size: clamp(1.1rem, 5.5vw, 1.4rem);
		line-height: 1.4;
		letter-spacing: 0.02em;
		text-align: center;
		white-space: nowrap;
	}

	/* スマホ幅では左右線を非表示にしてタイトル幅を確保 */
	.academy-box > .wp-block-heading::before,
	.academy-box > .wp-block-heading::after {
		content: none;
	}
}


/* ==========================================================
   academy-flow：古地図・航海図風のフローセクション
========================================================== */

.academy-flow {
	--academy-flow-paper: #ead8ae;
	--academy-flow-paper-light: #f5e9cb;
	--academy-flow-card: rgba(247, 235, 203, 0.88);
	--academy-flow-ink: #241204;
	--academy-flow-ink-light: #765633;
	--academy-flow-accent: #916333;
	--academy-flow-line: rgba(116, 79, 42, 0.48);
	--academy-flow-line-light: rgba(116, 79, 42, 0.2);
	--academy-flow-gap: clamp(44px, 4.5vw, 72px);

	position: relative;
	padding:
		clamp(68px, 8vw, 112px)
		clamp(20px, 4vw, 48px);
	color: var(--academy-flow-ink);
	background-color: var(--academy-flow-paper);
	background-image:
		/* 上下を濃く残し、中央を明るくする */
		linear-gradient(
		to bottom,
		rgba(83, 52, 25, 0.28) 0%,
		rgba(83, 52, 25, 0) 12%,
		rgba(83, 52, 25, 0) 88%,
		rgba(83, 52, 25, 0.28) 100%
	),
		url("https://academy.crearlife.com/wp-content/uploads/2026/07/academy-flow-map-pc.webp");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	box-shadow:
		inset 0 0 90px rgba(83, 52, 25, 0.2),
		inset 0 0 0 1px rgba(113, 77, 40, 0.25);
	isolation: isolate;
	overflow: hidden;
	border: 3px solid var(--academy-flow-line);
}

/* 経緯線・等高線を組み合わせた地図模様 */
/* 背景画像の中央を明るく保ち、外周だけ古紙感を強める */
.academy-flow::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	background:
		radial-gradient(
			ellipse at center,
			transparent 40%,
			rgba(77, 48, 24, 0.13) 100%
		),
		linear-gradient(
			180deg,
			rgba(255, 249, 225, 0.08),
			transparent 28%,
			transparent 72%,
			rgba(77, 48, 24, 0.08)
		);
	pointer-events: none;
}

/* 四隅に入る古地図風の枠 */
.academy-flow::after {
	content: "";
	position: absolute;
	z-index: -1;
	inset: clamp(12px, 2vw, 22px);
	border: 1px solid rgba(112, 75, 38, 0.36);
	box-shadow:
		inset 0 0 0 5px rgba(112, 75, 38, 0.055),
		0 0 0 1px rgba(255, 250, 229, 0.3);
	pointer-events: none;
}

/* 上部タイトル */
.academy-flow > .wp-block-heading {
	display: grid;
	grid-template-columns: minmax(24px, 1fr) auto minmax(24px, 1fr);
	align-items: center;
	gap: clamp(16px, 3vw, 36px);
	width: min(1180px, calc(100% - 40px));
	max-width: none !important;
	margin: 0 auto clamp(52px, 7vw, 86px);
	font-family:
		"Hiragino Mincho ProN",
		"Yu Mincho",
		serif;
	font-size: clamp(1.8rem, 3.3vw, 3.2rem);
	font-weight: bold;
	line-height: 1.5;
	letter-spacing: 0.07em;
	/*text-shadow:
		0 1px 0 rgba(255, 249, 223, 0.8),
		0 2px 3px rgba(92, 62, 33, 0.14),
		0 0 1px rgba(92, 62, 33, 0.18);
	background: linear-gradient(
		180deg,
		#7a5834 0%,
		#5f4024 28%,
		#8f6a42 62%,
		#4e331d 100%
	);
	color: transparent;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 1px 0 rgba(255, 248, 227, 0.22));*/
	color: #59391f;
	-webkit-text-fill-color: currentColor;
	-webkit-text-stroke: 0.2px rgba(75, 45, 20, 0.35);
	text-shadow:
		0 1px 0 rgba(255, 244, 210, 0.9),
		0 2px 0 rgba(119, 79, 40, 0.22),
		0 4px 7px rgba(72, 43, 20, 0.2);
}

.academy-flow > .wp-block-heading::before,
.academy-flow > .wp-block-heading::after {
	content: "";
	display: block;
	height: 1px;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(116, 79, 42, 0.62),
		transparent
	);
}

/* カラム全体 */
.academy-flow > .wp-block-columns {
	position: relative;
	display: flex !important;
	align-items: stretch !important;
	gap: var(--academy-flow-gap);
	width: min(1180px, calc(100% - 40px));
	max-width: none !important;
	margin: 0 auto;
	background:
		repeating-linear-gradient(
			90deg,
			var(--academy-flow-line) 0 5px,
			transparent 5px 11px
		) center / 100% 1px no-repeat;
	overflow: visible;
}

/* 各カラム */
.academy-flow
	> .wp-block-columns
	> .wp-block-column {
	position: relative;
	z-index: 1;
	flex: 1 1 0 !important;
	min-width: 0;
	margin: 0 !important;
	padding:
		clamp(28px, 3vw, 38px)
		clamp(20px, 2.5vw, 30px)
		clamp(28px, 3vw, 33px);
	border: 1px solid var(--academy-flow-line);
	border-radius: 3px;
	color: var(--academy-flow-ink);
	background:
		linear-gradient(
			145deg,
			rgba(255, 250, 229, 0.58),
			transparent 46%
		),
		var(--academy-flow-card);
	box-shadow:
		0 14px 30px rgba(77, 48, 24, 0.13),
		inset 0 0 24px rgba(106, 68, 30, 0.055);
	box-sizing: border-box;
}

/* 内側の二重枠 */
.academy-flow
	> .wp-block-columns
	> .wp-block-column::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 7px;
	border: 1px solid var(--academy-flow-line-light);
	border-radius: 1px;
	pointer-events: none;
}

/* Font Awesomeの右向き矢印 */
.academy-flow
	> .wp-block-columns
	> .wp-block-column:not(:last-child)::after {
	content: "\f061";
	position: absolute;
	z-index: 3;
	top: 50%;
	right: calc((var(--academy-flow-gap) / -2) - 0.5em);
	color: var(--academy-flow-accent);
	font-family:
		"Font Awesome 6 Free",
		"Font Awesome 5 Free",
		"FontAwesome";
	font-size: clamp(1rem, 1.5vw, 1.3rem);
	font-weight: 900;
	line-height: 1;
	text-shadow:
		0 1px 0 rgba(255, 244, 212, 0.75),
		0 0 8px rgba(111, 73, 36, 0.14);
	transform: translate(50%, -50%);
}

/* 任意画像 */
.academy-flow
	> .wp-block-columns
	> .wp-block-column
	> .wp-block-image:first-child {
	position: relative;
	width: clamp(104px, 10vw, 136px);
	aspect-ratio: 1;
	margin: 0 auto clamp(22px, 3vw, 30px) !important;
	padding: 6px;
	border: 1px solid var(--academy-flow-line);
	border-radius: 50%;
	background: rgba(238, 218, 174, 0.72);
	box-shadow:
		0 0 0 5px rgba(116, 79, 42, 0.08),
		0 10px 22px rgba(71, 43, 20, 0.15);
	box-sizing: border-box;
}

.academy-flow
	> .wp-block-columns
	> .wp-block-column
	> .wp-block-image:first-child
	img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	filter:
		sepia(0.32)
		saturate(0.82)
		contrast(0.96);
	object-fit: cover;
}

/* カラム内の文章 */
.academy-flow
	> .wp-block-columns
	> .wp-block-column
	> p {
	position: relative;
	z-index: 1;
	margin: 0;
	color: var(--academy-flow-ink);
	font-family:
		"Hiragino Mincho ProN",
		"Yu Mincho",
		serif;
	font-size: clamp(0.98rem, 1.2vw, 1.1rem);
	line-height: 1.95;
	letter-spacing: 0.035em;
}

.academy-flow
	> .wp-block-columns
	> .wp-block-column
	> p + p {
	margin-top: 20px;
}

/* 各カラムの最初の段落をタイトルとして使用 */
.academy-flow
	> .wp-block-columns
	> .wp-block-column
	> p:first-of-type {
		margin-bottom: 22px;
		padding-bottom: 18px;
		border-bottom: 1px solid var(--academy-flow-line);
		color: var(--academy-flow-ink-light);
		font-size: clamp(1.08rem, 1.6vw, 1.35rem);
		font-weight: 600;
		line-height: 1.6;
		letter-spacing: 0.055em;
		text-align: center;
}

/* タイトル下の航路ポイント */
.academy-flow
	> .wp-block-columns
	> .wp-block-column
	> p:first-of-type::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 50%;
	width: 8px;
	height: 8px;
	border: 1px solid var(--academy-flow-accent);
	background: var(--academy-flow-paper-light);
	transform: translateX(-50%) rotate(45deg);
	box-sizing: border-box;
}

/* 任意の下部メッセージ */
.academy-flow > p.has-text-align-center:last-child {
	position: relative;
	width: min(960px, calc(100% - 80px));
	max-width: none !important;
	margin: clamp(46px, 6vw, 72px) auto 0 !important;
	padding: 18px 56px;
	border-top: 1px solid var(--academy-flow-line);
	border-bottom: 1px solid var(--academy-flow-line);
	color: var(--academy-flow-ink);
	background: rgba(245, 233, 203, 0.34);
	font-family:
		"Hiragino Mincho ProN",
		"Yu Mincho",
		serif;
	font-size: clamp(1.25rem, 2.2vw, 2rem);
	line-height: 1.65;
	letter-spacing: 0.065em;
	text-align: center;
}

/* ==========================================================
   academy-flow：スマホ・タブレット
========================================================== */

@media screen and (max-width: 959px) {
	.academy-flow {
		--academy-flow-mobile-gap: clamp(64px, 16vw, 84px);

		width: 100vw;
		max-width: none !important;
		margin-left: calc(50% - 50vw) !important;
		margin-right: calc(50% - 50vw) !important;
		padding:
			clamp(72px, 18vw, 100px)
			clamp(18px, 5vw, 34px)
			clamp(64px, 15vw, 92px);
		background-image:
			linear-gradient(
				rgba(248, 237, 208, 0.08),
				rgba(105, 68, 31, 0.07)
			),
			url("https://academy.crearlife.com/wp-content/uploads/2026/07/academy-flow-map-mobile.webp");
		background-position: center top;
		background-size: cover;
		box-sizing: border-box;
	}

	.academy-flow > .wp-block-heading {
		display: block;
		width: 100%;
		margin-bottom: clamp(52px, 14vw, 74px);
		font-family:
			"Hiragino Mincho ProN",
			"Yu Mincho",
			serif;
		font-size: clamp(1.35rem, 6vw, 2rem);
		line-height: 1.5;
		letter-spacing: 0.04em;
		text-align: center;
		white-space: normal;
		text-shadow:
			0 1px 0 rgba(255, 249, 223, 0.75),
			0 2px 3px rgba(92, 62, 33, 0.12);
		/*background: linear-gradient(
		180deg,
		#7a5834 0%,
		#5f4024 34%,
		#8b6640 100%
		);
		color: transparent;
		-webkit-background-clip: text;
		background-clip: text;
		-webkit-text-fill-color: transparent;*/
		color: #59391f;
		-webkit-text-fill-color: currentColor;
		text-shadow:
			0 1px 0 rgba(255, 244, 210, 0.85),
			0 2px 0 rgba(119, 79, 40, 0.18),
			0 3px 5px rgba(72, 43, 20, 0.18);
	}

	.academy-flow > .wp-block-heading::before,
	.academy-flow > .wp-block-heading::after {
		content: none;
	}

	.academy-flow > .wp-block-heading::before,
	.academy-flow > .wp-block-heading::after {
		content: none;
	}

	.academy-flow > .wp-block-columns {
		display: flex !important;
		flex-direction: column;
		align-items: center !important;
		gap: var(--academy-flow-mobile-gap);
		width: min(100%, 520px);
		background:
			repeating-linear-gradient(
				180deg,
				var(--academy-flow-line) 0 5px,
				transparent 5px 11px
			) center / 1px 100% no-repeat;
	}

	.academy-flow
		> .wp-block-columns
		> .wp-block-column {
		flex-basis: auto !important;
		width: 100%;
		padding:
			clamp(26px, 7vw, 36px)
			clamp(22px, 7vw, 34px)
			clamp(30px, 8vw, 42px);
	}

	/* スマホでは下向き矢印 */
	.academy-flow
		> .wp-block-columns
		> .wp-block-column:not(:last-child)::after {
		content: "\f063";
		top: auto;
		right: auto;
		bottom: calc((var(--academy-flow-mobile-gap) / -2) - 0.5em);
		left: 50%;
		font-size: 1.15rem;
		transform: translate(-50%, 50%);
	}

	.academy-flow
		> .wp-block-columns
		> .wp-block-column
		> .wp-block-image:first-child {
		width: clamp(104px, 30vw, 132px);
	}

	.academy-flow
		> .wp-block-columns
		> .wp-block-column
		> p {
		font-size: clamp(0.98rem, 4vw, 1.08rem);
		line-height: 1.95;
	}

	.academy-flow
		> .wp-block-columns
		> .wp-block-column
		> p:first-of-type {
		font-size: clamp(1.08rem, 4.8vw, 1.32rem);
	}

	.academy-flow > p.has-text-align-center:last-child {
		width: min(100%, 520px);
		margin-top: clamp(44px, 12vw, 64px) !important;
		padding: 16px 28px;
		font-size: clamp(1.1rem, 5.2vw, 1.55rem);
	}
}