/**
 * KVセクションのスタイル（フロントエンド用）
 */

.yonekou-kv-section {
	position: relative;
	width: 100%;
	height: 100vh;
	min-height: 100vh;
	max-height: 100vh;
	overflow: hidden;
	background-color: #f7f8f6;
}

.yonekou-kv-section__inner {
	position: relative;
	width: 100%;
	height: 100%;
	max-height: 100vh;
	overflow: hidden;
}

/* 背景の不定形シェイプ */
.yonekou-kv-section__background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.yonekou-kv-section__bg-shape {
	position: absolute;
	top: 60px;
	left: 8%;
	width: min(50vw, 700px);
	height: min(50vw, 700px);
	border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
	overflow: hidden;
	animation: morphShape 20s ease-in-out infinite;
}

.yonekou-kv-section__bg-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 2s ease-in-out;
	animation: zoomInOut 20s ease-in-out infinite;
}

.yonekou-kv-section__bg-image.is-active {
	opacity: 1;
	z-index: 1;
}

/* 形状が変化するアニメーション */
@keyframes morphShape {
	0%, 100% {
		border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
	}
	25% {
		border-radius: 38% 62% 48% 52% / 63% 45% 55% 37%;
	}
	50% {
		border-radius: 52% 48% 60% 40% / 46% 59% 41% 54%;
	}
	75% {
		border-radius: 45% 55% 39% 61% / 52% 38% 62% 48%;
	}
}

/* ゆっくりズームイン・アウトするアニメーション */
@keyframes zoomInOut {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.1);
	}
}

/* コンテンツエリア */
.yonekou-kv-section__content {
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	z-index: 2;
}

/* メインテキスト（KV） - 縦書き */
.yonekou-kv-section__main-text {
	display: flex;
	flex-direction: row-reverse;
	align-items: flex-end;
}

.yonekou-kv-section__catchcopy {
	writing-mode: vertical-rl;
	text-orientation: upright;
	font-size: 80px;
	font-weight: 400;
	line-height: 1.4;
	margin: 0;
}

/* サブテキスト - 縦書き */
.yonekou-kv-section__sub-text {
	writing-mode: vertical-rl;
	text-orientation: mixed;
	font-size: 24px;
	font-weight: 400;
	letter-spacing: 0.05em;
	line-height: 1.4;
	margin: 40px 0 0 0;
}

/* PC・タブレット表示時はbrタグを非表示 */
@media screen and (min-width: 769px) {
	.yonekou-kv-section__sub-text br {
		display: none;
	}
}


/* グローバルメニュー */
.yonekou-kv-section__menu {
	position: absolute;
	width: 400px;
	bottom: 10vh;
	left: 0;
	z-index: 2;
}

.yonekou-kv-section__menu .kv-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 20px 40px;
	max-width: 400px;
}

.yonekou-kv-section__menu .kv-menu li {
	margin: 0;
	padding: 0;
}

.yonekou-kv-section__menu .kv-menu a {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1.5;
	color: #3e3d35;
	text-decoration: none;
	transition: opacity 0.3s;
}

.yonekou-kv-section__menu .kv-menu a:hover {
	opacity: 0.7;
}

/* レスポンシブ対応 */
@media screen and (max-width: 1440px) {
	.yonekou-kv-section__bg-shape {
		width: min(45vw, 600px);
		height: min(45vw, 600px);
	}

	.yonekou-kv-section__content {
		right: 80px;
	}

	.yonekou-kv-section__catchcopy {
		font-size: 70px;
	}
}

@media screen and (max-width: 1024px) {
	.yonekou-kv-section {
		height: 70vh;
		min-height: 70vh;
		max-height: 70vh;
	}

	.yonekou-kv-section__inner {
		max-height: 70vh;
	}

	.yonekou-kv-section__bg-shape {
		width: min(55vw, 500px);
		height: min(55vw, 500px);
		left: 5%;
	}

	.yonekou-kv-section__content {
		right: 60px;
	}

	.yonekou-kv-section__catchcopy {
		font-size: 60px;
	}

	.yonekou-kv-section__sub-text {
		font-size: 20px;
	}

	.yonekou-kv-section__menu {
		display: none;
	}
}

@media screen and (max-width: 768px) {
	.yonekou-kv-section {
		height: 60vh;
		min-height: 60vh;
		max-height: 60vh;
	}

	.yonekou-kv-section__inner {
		max-height: 60vh;
	}

	.yonekou-kv-section__bg-shape {
		width: 50vw;
		height: 50vw;
		max-width: 300px;
		max-height: 300px;
		left: 5%;
		bottom: 10%;
		top: auto;
		transform: none;
	}

	.yonekou-kv-section__content {
		top: 50%;
		right: 0;
		left: auto;
		transform: translateY(-50%);
	}

	.yonekou-kv-section__catchcopy {
		font-size: 48px;
	}

	.yonekou-kv-section__sub-text {
		font-size: 16px;
	}

	.yonekou-kv-section__menu {
		display: none; /* スマホでは非表示 */
	}
}

@media screen and (max-width: 480px) {
	.yonekou-kv-section {
		height: 55vh;
		min-height: 55vh;
		max-height: 55vh;
	}

	.yonekou-kv-section__inner {
		max-height: 55vh;
	}

	.yonekou-kv-section__bg-shape {
		width: 80vw;
		height: 80vw;
		max-width: 350px;
		max-height: 350px;
	}

	.yonekou-kv-section__catchcopy {
		font-size: 40px;
	}

	.yonekou-kv-section__sub-text p {
		font-size: 13px;
	}
}
