/* ==========================================================
   Nirvana front-page.css
   トップページ専用（front-page.php のみで読み込み）
   ========================================================== */

/* ---------- HERO ---------- */
.hero {
	position: relative;
	aspect-ratio: 1440 / 725;
	/* min-height: 520px; */
	overflow: hidden;
	background: #f1f1f1;
	container-type: inline-size;
	/* height: 100vh; */
}
.hero__bg,
.hero__bg picture,
.hero__bg img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
.hero__bg img {
	object-fit: cover;
}
.hero__copy {
	position: absolute;
	right: 3%;
	bottom: 11%;
	width: 36%;
}
/* ヒーロー内のイラスト（位置・大きさはここの数値で調整） */
.hero__cat {
	position: absolute;
	height: auto;
	pointer-events: none;
}
.hero__cat--1 { /* 右上：お皿を持った猫 */
	left: 78%;
	top: 26%;
	width: 13%;
}
.hero__cat--2 { /* 左下：踊る猫 */
	left: 9%;
	top: 69%;
	width: 11%;
}
.hero__title {
	font-size: 2cqw;
	font-weight: 500;
	line-height: 1.7;
	letter-spacing: 0.08em;
}
.hero__lead {
	margin-top: 1.6cqw;
	font-size: 1.00cqw;
	letter-spacing: 0.08em;
	line-height: 2.1;
}

/* お皿の猫：上下にポコポコ（2段階を行き来） */
/* @keyframes cat-hop {
	0%   { transform: translateY(-4px); }
	50%  { transform: translateY(4px); }
	100% { transform: translateY(-4px); }
}
.hero__cat--1 {
	animation: cat-hop 6s steps(1, end) infinite;
} */

/* 踊る猫：3つのポーズをカクカク切り替え */
/* @keyframes cat-dance {
	0%   { transform: rotate(-2deg); }
	50%  { transform: rotate(2deg); }
	100% { transform: rotate(-2deg); }
}
.hero__cat--2 {
	transform-origin: 50% 90%;
	animation: cat-dance 4s step-end infinite;
}

@media (prefers-reduced-motion: reduce) {
	.hero__cat { animation: none; }
} */

/* ---------- PICK UP ---------- */
.pickup {
	padding-block: 88px 100px;
}
.pickup__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0 48px;
}
.product-card {
	display: flex;
	flex-direction: column;
}
.product-card__thumb {
	aspect-ratio: 4 / 3;
	margin-bottom: 36px;
	background: var(--c-gray);
	overflow: hidden;
}
.product-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.product-card__title {
	font-size: 22px;
	font-weight: 500;
	text-align: center;
	letter-spacing: 0.12em;
}
.product-card__desc {
	margin-top: 14px;
	font-size: 16px;
	line-height: 1.8;
}
.product-card__more {
	margin-top: 6px;
	text-align: right;
	font-size: 13px;
}
.product-card__more a {
	display: inline-block;
	padding-bottom: 2px;
	border-bottom: 2px solid var(--c-green-dark);
	letter-spacing: 0.06em;
}
.product-card__more a:hover {
	opacity: 0.6;
}
.product-card__price {
	margin-top: 22px;
	text-align: right;
	font-size: 18px;
	letter-spacing: 0.04em;
}
.product-card__buy,
.product-card__cartjs {
	margin-top: 14px;
}
.product-card__buy {
	display: flex;
	align-items: center;
	gap: 14px;
}
.product-card__qty-label {
	font-size: 14px;
}
.product-card__qty {
	width: 52px;
	height: 44px;
	border: 1px solid #ccc;
	background: #fff;
}
.btn--cart {
	flex: 1;
	min-width: 0;
	height: 52px;
	font-size: 14px;
}
.product-card__buy .btn--block {
	height: 52px;
}
/* カラーミー カートJS が出力する要素の調整用（実コード確認後に詳細化） */
.product-card__cartjs {
	text-align: right;
}

.pickup__more {
	margin-top: 64px;
	text-align: center;
}

/* ---------- FEATURES ---------- */
.features {
	padding-block: 72px 80px;
	background: var(--c-green-dark);
	color: #fff;
}
.features__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-bottom: 56px;
}
.features__item {
	text-align: center;
}
.features__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	/* width: min(100%, 150px); */
	aspect-ratio: 1;
	margin: 0 auto;
	/* border-radius: 50%; */
	/* background: var(--c-leaf); */
	overflow: hidden;
}
.features__icon img {
	width: 100%;
	height: auto;
	/* object-fit: cover; */
}
.features__name {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: 0.06em;
}
.features__text {
	margin-top: 8px;
	font-size: 11px;
	line-height: 1.7;
	text-align: left;
}

.about-banner {
	padding: 32px 24px 52px;
	background: #efecd6;
	color: var(--c-text);
	text-align: center;
}
.about-banner__en {
	font-family: var(--font-en);
	font-size: clamp(24px, 3.4vw, 36px);
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.3;
	text-align: center;
}
.about-banner__en img {
	display: block;
	margin: 0 auto;
	width: 66%;
}
.about-banner__title {
	margin-top: 18px;
	font-size: 24px;
	font-weight: 500;
	letter-spacing: 0.1em;
}
.about-banner__text {
	margin-top: 24px;
	font-size: 16px;
	line-height: 1.9;
}
.about-banner__btn {
	margin-top: 28px;
}

/* ---------- GUIDE ---------- */
.guide {
	padding-block: 72px 88px;
	background: var(--c-cream);
	text-align: center;
}
.guide .sec-title {
	margin-bottom: 28px;
}
.guide__lead {
	font-size: 13px;
	line-height: 2;
}
.guide__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-top: 40px;
}
.guide__item a {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1;
	padding: 12px;
	background: var(--c-pink);
	font-size: 15px;
	letter-spacing: 0.08em;
	transition: opacity 0.25s;
}
.guide__item a:hover {
	opacity: 0.7;
}
.guide__btn {
	margin-top: 56px;
}
/* タブレット（横向き）769〜1024px */
@media (min-width: 769px) and (max-width: 1024px) {
	.hero {
		aspect-ratio: 1;
		height: auto;
	}
	.hero__cat--1 { left: 79%; top: 28%; width: 14%; }
	.hero__cat--2 { left: 9%;  top: 70%; width: 13%; }
	.hero__copy   {
		right: 5%;
		top: 64%;
		width: 38%;
	}
}
/* タブレット（縦向き）601〜768px */
@media (min-width: 601px) and (max-width: 768px) {
	.hero__cat--1 { left: 66%; top: 14%; width: 22%; }
	.hero__cat--2 { left: 5%;  top: 50%; width: 15%; }
}
/* ---------- SP ---------- */
@media (max-width: 768px) {
	.hero {
		aspect-ratio: 3 / 4;
		height: auto;
		min-height: 0;
	}
	.hero__copy {
		right: 5%;
		left: 5%;
		bottom: 4%;
		width: auto;
		/* padding: 4cqw 5cqw; */
		/* background: rgba(255, 255, 255, 0.82); */
	}
	.hero__title {
		font-size: max(15px, 5cqw);
	}
	.hero__lead {
		margin-top: 2.4cqw;
		font-size: max(11px, 3.2cqw);
		line-height: 1.9;
	}
	/* .hero__lead br {
		display: none;
	} */
	.hero__cat--1 { left: 74%; top: 16%; width: 21%; }
	.hero__cat--2 { left: 6%;  top: 52%; width: 20%; }
	.hero__title {
		font-size: 19px;
	}
	.hero__lead {
		margin-top: 12px;
		font-size: 12px;
		line-height: 1.9;
	}

	.pickup {
		padding-block: 56px 64px;
	}
	.pickup__list {
		grid-template-columns: 1fr;
		gap: 56px;
	}
	.product-card__thumb {
		margin-bottom: 24px;
	}
	.pickup__more {
		margin-top: 48px;
	}

	.features {
		padding-block: 56px;
	}
	.features__list {
		grid-template-columns: repeat(2, 1fr);
		gap: 36px 16px;
		margin-bottom: 40px;
	}
	/* .features__icon {
		width: min(100%, 120px);
	} */
	.about-banner {
		padding: 40px 16px;
	}
	.about-banner__text br {
		display: none;
	}
	.about-banner__en img {
		width: 100%;
	}
	.about-banner__title {
		font-size: 20px;
		line-height: 1.6;
	}
	.about-banner__text {
		margin-top: 24px;
		font-size: 14px;
		line-height: 1.8;
	}

	.guide {
		padding-block: 56px 64px;
	}
	.guide__lead br {
		display: none;
	}
	.guide__list {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
}
