@charset "UTF-8";
/* ==========================================================
   TOPページ（front-page.php）
   ========================================================== */

/* ----- 共通：ピンクのふんわりグラデーション背景 ----- */
.p-top__mv,
.p-top__contact {
	--bg-layer:
		radial-gradient(ellipse 45% 60% at 12% 25%, rgba(242, 178, 178, .38), transparent 70%),
		radial-gradient(ellipse 40% 55% at 88% 20%, rgba(245, 200, 185, .38), transparent 70%),
		radial-gradient(ellipse 50% 60% at 55% 55%, rgba(250, 225, 212, .65), transparent 75%),
		radial-gradient(ellipse 30% 40% at 95% 85%, rgba(242, 185, 185, .3), transparent 70%),
		#fdf5f2;
}

.p-top__mv {
	background: var(--bg-layer);
}

/* ----- メインビジュアル ----- */
.p-top__mv {
	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	height: min(100vh, 720px);
	min-height: 520px;
	overflow: hidden;
}
/* 下側を白にぼかす */
.p-top__mv::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 30%;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
}
/* 背景のにじみをゆっくり動かす */
.p-top__mv::before {
	content: "";
	position: absolute;
	inset: -10%;
	background:
		radial-gradient(circle at 30% 70%, rgba(240, 170, 175, .24), transparent 35%),
		radial-gradient(circle at 75% 60%, rgba(248, 205, 190, .28), transparent 35%);
	animation: coconiFloat 14s ease-in-out infinite alternate;
}
@keyframes coconiFloat {
	from { transform: translate(-3%, 2%) scale(1); }
	to   { transform: translate(3%, -2%) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
	.p-top__mv::before { animation: none; }
}

.p-top__mvText {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 85%;
	padding: 0 16px;
	text-align: center;
}
.p-top__catch {
	margin: 0;
	font-size: 15px;
	letter-spacing: .18em;
}
.p-top__logo {
	margin: 20px 0 0;
	font-size: 56px;
	font-weight: 400;
	line-height: 1;
	transition-delay: .3s;
}
.p-top__logo .c-logo {
	display: block;
	width: 200px;
	height: auto;
}
@media (max-width: 767px) {
	.p-top__mv {
		height: 80vh;
		min-height: 460px;
	}
	.p-top__catch {
		font-size: 13px;
		line-height: 2;
	}
	.p-top__logo .c-logo {
		width: 150px;
	}
}

/* ----- ABOUT / PROGRAM 共通（左：文章 右：画像） ----- */
.p-top__about {
	padding: 40px 0 120px;
}
.p-top__program {
	padding: 40px 0 120px;
}
.p-top__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}
.p-top__rowImg {
	max-width: 440px;
	justify-self: end;
}
.p-top__rowImg.-circle {
	max-width: 400px;
	justify-self: center;
}
.p-top__rowImg.-circle .c-img.-dummy {
	aspect-ratio: 1;
	border-radius: 50%;
}
.p-top__txt {
	font-size: 14.5px;
	line-height: 2.2;
}
.p-top__txt p {
	margin: 0 0 1.6em;
}
.p-top__rowText .c-btn {
	margin-top: 24px;
}

/* ABOUT */
.p-top__aboutTtl {
	margin: 0 0 40px;
	font-size: 22px;
	font-weight: 500;
	letter-spacing: .2em;
	color: var(--coconi-pink);
}

/* PROGRAM */
.p-top__programSub {
	margin: 0;
	font-size: 12px;
	letter-spacing: .12em;
}
.p-top__programTtl {
	margin: 8px 0 32px;
	font-family: var(--coconi-font-en);
	font-size: 36px;
	font-weight: 400;
	letter-spacing: 2px;
	color: var(--coconi-pink);
}

@media (max-width: 767px) {
	.p-top__about,
	.p-top__program {
		padding: 24px 0 140px;
	}
	/* SPは「タイトル → 画像 → 文章 → ボタン」の順に並べ替え */
	.p-top__row {
		grid-template-columns: 1fr;
		gap: 0;
		text-align: center;
	}
	.p-top__rowText {
		display: contents;
	}
	.p-top__rowText > * {
		order: 3;
	}
	.p-top__aboutTtl,
	.p-top__programSub,
	.p-top__programTtl {
		order: 1;
	}
	.p-top__rowImg,
	.p-top__rowImg.-circle {
		order: 2;
		justify-self: center;
		width: 85%;
		margin-bottom: 32px;
	}
	.p-top__row .c-btn {
		justify-self: center;
	}
	/* About の画像は小さめにして右寄せ */
	.p-top__about .p-top__rowImg {
		justify-self: end;
		width: 45%;
		margin-bottom: 8px;
	}
	.p-top__aboutTtl {
		margin-bottom: 28px;
		font-size: 16px;
		letter-spacing: .05em;
	}
	.p-top__programTtl {
		margin-top: 24px;
		margin-bottom: 28px;
		font-size: 21px;
	}

	
	.p-top__txt {
		font-size: 14px;
		text-align: left;
	}
}

/* ----- COLUMN ----- */
.p-top__column {
	padding: 40px 0 120px;
}
/* コラム一覧へ */
.p-top__columnMore {
	margin-top: 72px;
	text-align: center;
}
/* 3つ並んだカードを少しずつ遅らせて表示 */
.p-postList > li:nth-child(3n+2) { transition-delay: .15s; }
.p-postList > li:nth-child(3n)   { transition-delay: .3s; }
@media (max-width: 767px) {
	.c-secTtl__sub {font-size: 12px;}
	.p-top__column { padding: 64px 0 80px; }
	.p-top__columnMore { margin-top: 48px; }
	.p-postList > li:nth-child(n) { transition-delay: 0s; }
	.p-postList > li:nth-child(2n) { transition-delay: .15s; }
}

/* ----- CONTACT（ボックス・ボタンは common.css の .c-cta） ----- */
