/* ==========================================================================
   top.css — TOPページ（front-page.php）
   ========================================================================== */

/* FV
   ----------------------------------------------------------------------- */
.fv {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: calc(100svh - var(--header-h) - var(--wp-admin--admin-bar--height, 0px));
	min-height: 560px;
	max-height: 860px;
	overflow: hidden;
	color: #fff;
	background: var(--color-primary-dark);
}

.fv__media,
.fv__poster,
.fv__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.fv__poster,
.fv__video {
	object-fit: cover;
	object-position: 50% 40%;
}

.fv__video {
	opacity: 0;
	transition: opacity 0.8s ease;
}

.fv__video.is-playing {
	opacity: 1;
}

/* 文字の可読性確保（左からの暗めグラデーション＋下部） */
.fv::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		/* コピーは右寄せ（動画の人物は主に左〜中央）→ 右側を暗くして可読性を確保 */
		linear-gradient(260deg, rgb(10 30 20 / 0.66) 0%, rgb(10 30 20 / 0.3) 50%, rgb(0 0 0 / 0.05) 75%),
		linear-gradient(0deg, rgb(0 0 0 / 0.4), transparent 40%);
	pointer-events: none;
}

.fv__inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	text-align: right;
	padding-bottom: 72px;
}

/* キャッチコピー: 水平・右寄せ。各行が左からスライドインする（行ごとに時間差） */
.fv__catch {
	font-size: clamp(1.875rem, 1rem + 4vw, 3.5rem);
	white-space: nowrap;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.06em;
	text-shadow: 0 2px 20px rgb(0 0 0 / 0.3);
}

/* 英字のみのコピー（例: LET'S / ENJOY / GOLF!）は Oswald で大きく */
.fv__catch--en {
	font-family: var(--font-en);
	font-size: clamp(3.25rem, 1.6rem + 7vw, 7rem);
	font-weight: 600;
	line-height: 1.02;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.fv__catch-line {
	display: block;
	animation: enomoto-fv-slide-in 1s var(--ease) both;
	animation-delay: calc(0.3s + var(--i, 0) * 0.18s);
}

@keyframes enomoto-fv-slide-in {
	from {
		opacity: 0;
		transform: translateX(-80px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fv__catch-line {
		animation: none;
	}
}

.fv__sub {
	margin-top: clamp(20px, 3vw, 32px);
	font-family: var(--font-en);
	font-size: clamp(0.875rem, 0.8rem + 0.4vw, 1.125rem);
	font-weight: 500;
	letter-spacing: 0.2em;
	transform: rotate(-8deg);
	transform-origin: right;
}

/* 名前・肩書きは左下（キャッチコピーのみ右寄せ）。左側は人物に重なるため影で可読性を確保 */
.fv__name {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	align-self: flex-start;
	gap: 6px;
	margin-top: clamp(36px, 5vw, 56px);
	line-height: 1.2;
	text-align: left;
	text-shadow: 0 1px 12px rgb(0 0 0 / 0.45);
}

.fv__name-en {
	font-family: var(--font-en);
	font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.fv__name-ja {
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.2em;
}

/* Controls（スライド番号・一時停止・PLAY MOVIE） */
.fv__controls {
	position: absolute;
	right: var(--gutter);
	bottom: 28px;
	left: var(--gutter);
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 16px;
}

.fv__counter {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-en);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
}

.fv__counter-sep {
	opacity: 0.7;
}

.fv__progress {
	position: relative;
	display: block;
	width: 64px;
	height: 1px;
	margin-left: 8px;
	background: rgb(255 255 255 / 0.4);
}

.fv__progress-bar {
	position: absolute;
	top: 0;
	left: 0;
	height: 1px;
	width: 0;
	background: #fff;
}

.fv__pause {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	padding: 0;
	color: #fff;
	background: rgb(0 0 0 / 0.25);
	border: 1px solid rgb(255 255 255 / 0.6);
	border-radius: 50%;
}

.fv__pause-icon {
	width: 8px;
	height: 10px;
	border-inline: 2px solid currentColor;
}

.fv__pause[aria-pressed="true"] .fv__pause-icon {
	width: 0;
	height: 0;
	margin-left: 3px;
	border-block: 5px solid transparent;
	border-inline: 0;
	border-left: 8px solid currentColor;
}

.fv__play {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-left: auto;
	padding: 0;
	color: #fff;
	background: none;
	border: 0;
}

.fv__play-icon {
	position: relative;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border: 1px solid #fff;
	border-radius: 50%;
	transition: background-color var(--duration) ease, border-color var(--duration) ease;
}

.fv__play-icon::before {
	content: "";
	margin-left: 4px;
	border-block: 8px solid transparent;
	border-left: 13px solid #fff;
}

.fv__play:hover .fv__play-icon {
	background: var(--color-accent);
	border-color: var(--color-accent);
}

.fv__play-label {
	font-family: var(--font-en);
	font-size: 0.75rem;
	letter-spacing: 0.2em;
}

@media (min-width: 768px) {
	.fv__controls {
		bottom: 44px;
	}

	.fv__progress {
		width: 90px;
	}

	.fv__play-icon {
		width: 62px;
		height: 62px;
	}
}

@media (min-width: 1024px) {
	.fv__inner {
		padding-bottom: 40px;
	}
}

/* Movie modal */
.movie-modal {
	width: min(100% - 32px, 1080px);
	max-width: none;
	padding: 0;
	color: #fff;
	background: transparent;
	border: 0;
	overflow: visible;
}

.movie-modal::backdrop {
	background: rgb(0 0 0 / 0.85);
}

.movie-modal__inner {
	position: relative;
}

.movie-modal__frame {
	aspect-ratio: 16 / 9;
	background: #000;
}

.movie-modal__frame iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.movie-modal__close {
	position: absolute;
	top: -52px;
	right: 0;
	width: 44px;
	height: 44px;
	padding: 0;
	font-size: 2rem;
	line-height: 1;
	color: #fff;
	background: none;
	border: 0;
}

/* 01 ABOUT
   ----------------------------------------------------------------------- */
.top-about__grid {
	display: grid;
	gap: 40px;
	align-items: center;
}

.top-about__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 5 / 4;
	margin-inline: calc(var(--gutter) * -1);
}

.top-about__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 55% 30%;
}

.top-about__watermark {
	position: absolute;
	bottom: -0.12em;
	left: 12px;
	font-family: var(--font-en);
	font-size: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: rgb(255 255 255 / 0.6);
	pointer-events: none;
}

.top-about__title {
	margin-bottom: 20px;
	font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.75rem);
	line-height: 1.7;
}

.top-about__lead {
	margin-bottom: 16px;
	font-weight: 700;
	color: var(--color-primary);
}

.top-about__text {
	margin-bottom: 28px;
	color: #3a403c;
}

@media (min-width: 1024px) {
	.top-about__grid {
		grid-template-columns: 1.05fr 1fr;
		gap: 72px;
	}

	.top-about__media {
		margin-inline: 0;
	}
}

/* 02 PHILOSOPHY
   ----------------------------------------------------------------------- */
.top-philo {
	position: relative;
	overflow: hidden;
}

/* 装飾曲線（大きな円弧）と小さな丸 */
.top-philo::before {
	content: "";
	position: absolute;
	top: -30%;
	right: -40%;
	width: 900px;
	height: 900px;
	border: 1.5px solid var(--color-accent-soft);
	border-radius: 50%;
	pointer-events: none;
}

.top-philo::after {
	content: "";
	position: absolute;
	top: 64px;
	right: 18%;
	width: 12px;
	height: 12px;
	background: var(--color-accent);
	border-radius: 50%;
	opacity: 0.7;
	pointer-events: none;
}

.top-philo .container {
	position: relative;
	z-index: 1;
}

.top-philo__grid {
	display: grid;
	gap: 40px;
}

.top-philo__title {
	margin-bottom: 20px;
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
	line-height: 1.6;
}

.top-philo__text {
	font-size: 0.9375rem;
	color: #3a403c;
}

.top-philo__media {
	overflow: hidden;
	aspect-ratio: 1.35 / 1;
	max-width: 480px;
	margin-inline: auto;
	border-radius: 50%;
	box-shadow: 0 20px 40px -20px rgb(0 0 0 / 0.25);
}

.top-philo__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.top-philo__points {
	display: grid;
	gap: 24px;
}

.top-philo__point {
	display: flex;
	align-items: center;
	gap: 18px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--color-border);
}

.top-philo__point-num {
	font-family: var(--font-num);
	font-size: 2.75rem;
	font-style: italic;
	font-weight: 200;
	line-height: 1;
	color: var(--color-accent);
}

.top-philo__point-text {
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.6;
}

@media (min-width: 1024px) {
	.top-philo::before {
		top: -300px;
		right: -380px;
	}

	.top-philo__grid {
		grid-template-columns: 1fr 1.1fr 1fr;
		align-items: center;
		gap: 48px;
	}
}

/* 03 FOR YOU
   ----------------------------------------------------------------------- */
.top-foryou__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.top-foryou__item {
	background: var(--color-bg);
}

.top-foryou__media {
	overflow: hidden;
	aspect-ratio: 4 / 3;
}

.top-foryou__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--ease);
}

.top-foryou__item:hover .top-foryou__media img {
	transform: scale(1.05);
}

.top-foryou__text {
	padding: 12px 12px 16px;
	font-size: clamp(0.75rem, 0.6rem + 0.6vw, 0.8125rem);
	letter-spacing: 0.02em;
	font-weight: 700;
	line-height: 1.6;
}

@media (min-width: 1024px) {
	.top-foryou__list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 24px;
	}

	.top-foryou__text {
		padding: 18px 20px 22px;
		font-size: 0.9375rem;
	}
}

/* 04 PROFILE + 05 ACHIEVEMENT
   ----------------------------------------------------------------------- */
.top-profile__grid {
	display: grid;
	gap: 24px;
}

.top-profile__box {
	padding: 40px 24px;
	background: var(--color-bg-gray);
}

.top-profile__box .section-heading {
	margin-bottom: 28px;
}

.top-profile__person {
	display: grid;
	gap: 24px;
}

.top-profile__media {
	overflow: hidden;
	aspect-ratio: 1;
	max-width: 240px;
	background: linear-gradient(160deg, var(--color-accent-soft), var(--color-bg) 70%);
}

.top-profile__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 0;
}

.top-profile__name {
	font-size: 1.375rem;
	letter-spacing: 0.12em;
}

.top-profile__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	margin-top: 4px;
	font-size: 0.75rem;
	color: var(--color-text-sub);
}

.top-profile__meta [lang="en"] {
	font-family: var(--font-en);
	letter-spacing: 0.08em;
}

.top-profile__text {
	margin-block: 16px 24px;
	font-size: 0.875rem;
	color: #3a403c;
}

.top-profile .achievement-list {
	margin-bottom: 24px;
}

@media (min-width: 768px) {
	.top-profile__person {
		grid-template-columns: 200px 1fr;
		align-items: start;
	}
}

@media (min-width: 1024px) {
	.top-profile__grid {
		grid-template-columns: 1.15fr 1fr;
		gap: 32px;
	}

	.top-profile__box {
		padding: 48px 40px;
	}
}

/* 07 STUDIO
   ----------------------------------------------------------------------- */
.top-studio .section-heading__lead {
	color: var(--color-text);
}

/* 08 ITEMS
   ----------------------------------------------------------------------- */
.top-items__head {
	position: relative;
}

.top-items__pose {
	display: none;
}

@media (min-width: 1024px) {
	.top-items__head .section-heading {
		padding-right: 260px;
	}

	.top-items__head .section-heading__link {
		margin-right: 0;
	}

	/* 下の商品を指差す切り抜き写真。見出し右上に置き、下端をカード列の手前に重ねる */
	.top-items__pose {
		position: absolute;
		right: 0;
		bottom: -40px;
		z-index: 1;
		display: block;
		width: 240px;
		height: auto;
		pointer-events: none;
	}

	.top-items__head .section-heading__link {
		position: relative;
		right: 0;
	}
}

.top-items__grid {
	position: relative;
	z-index: 2;
}

.top-items .card {
	background: var(--color-bg);
}

.top-items .card__body {
	padding: 12px 12px 16px;
}

@media (min-width: 1024px) {
	.top-items .card__body {
		padding: 14px 16px 20px;
	}
}

/* 10 Instagram
   ----------------------------------------------------------------------- */
.top-instagram__account {
	display: flex;
	align-items: center;
	gap: 24px;
}

.top-instagram__handle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-en);
	font-size: 0.875rem;
	letter-spacing: 0.04em;
}

.top-instagram__placeholder {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 4px;
}

.top-instagram__placeholder li {
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	font-size: 1.75rem;
	color: #c3c9c4;
	background: #e6e9e5;
}

@media (min-width: 768px) {
	.top-instagram__placeholder {
		grid-template-columns: repeat(6, minmax(0, 1fr));
		gap: 8px;
	}
}
