@charset "UTF-8";
/* IMOKO */

body.is-imoko {
	background: var(--c-cream);
}

.p-imoko-cream .c-sec-title__en,
.p-imoko-menu .c-sec-title__en,
.p-imoko-premium .c-sec-title__en,
.p-imoko-bottom .c-sec-title__en {
	color: var(--c-imoko-orange);
}

/* ===== Hero（FV + About 共通背景） ===== */
.p-imoko-hero {
	background:
		url("../img/imoko/imoko-back-fv.webp") center top / 100% 100% no-repeat,
		linear-gradient(transparent 90%, var(--c-cream) 90%);
}

.p-fv--imoko .p-fv__title-wrap {
	top: 7.6vw;
}

.p-fv--imoko .p-fv__title {
	line-height: 1.4;
}

.p-fv--imoko .p-fv__title-line {
	margin-top: -3vw;
	margin-left: 1vw;
}

.p-fv--imoko .p-fv__speech {
	font-size: clamp(11px, 1.667vw, 26px); /* 24px @1440 */
}

.p-imoko-about {
	padding: 0 0 calc(var(--wave) + clamp(80px, 8vw, 120px));
}

.p-imoko-about .l-container {
	--container: 1150px;
	grid-template-columns: minmax(0, 500px) minmax(0, 578px);
	justify-content: space-between;
}

/* ===== Story / Sweet potato ===== */
.p-imoko-cream {
	padding: clamp(50px, 5vw, 80px) 0 calc(var(--wave) + clamp(60px, 6vw, 90px));
	background: var(--c-cream);
}

.p-imoko-story .l-container {
	--container: 1100px;
	grid-template-columns: minmax(0, 498px) minmax(0, 520px);
	justify-content: space-between;
}

/* デザインの向きに合わせて左右反転 */
.p-imoko-story__deco {
	top: -8%;
	left: -6%;
	transform: scaleX(-1);
	width: 3.958vw;
	min-width: 36px;
}

.p-imoko-potato {
	margin-top: clamp(50px, 5vw, 80px);
}

/* カード（焼き比べ・メニュー共通） */
.p-imoko-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(16px, 2.292vw, 33px);
	margin-top: clamp(24px, 2.5vw, 36px);
}

.p-imoko-cards__item {
	overflow: hidden;
	color: var(--c-white);
	background: var(--c-imoko-dark);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.p-imoko-cards__item > img {
	width: 100%;
	aspect-ratio: 338 / 230;
	object-fit: cover;
}

.p-imoko-cards__body {
	padding: 20px clamp(18px, 1.944vw, 28px) 24px;
}

.p-imoko-cards__en {
	font-family: var(--ff-en);
	font-size: 18px;
	font-weight: 300;
	letter-spacing: 0.14em;
	color: var(--c-imoko-orange);
}

.p-imoko-cards__title {
	margin-top: 2px;
	font-size: clamp(16px, 1.389vw, 20px);
	font-weight: 500;
	line-height: 1.6;
}

.p-imoko-cards__lines {
	margin-top: 12px;
	font-size: 12px;
	line-height: 2;
}

.p-imoko-cards--menu .p-imoko-cards__item {
	background: var(--c-imoko-card);
	box-shadow: 0 0 14px rgba(232, 166, 44, 0.25);
}

.p-imoko-cards--menu .p-imoko-cards__item > img {
	aspect-ratio: 338 / 300;
}

.p-imoko-cards--menu .p-imoko-cards__body {
	min-height: 186px;
	padding-top: 24px;
}

.p-imoko-cards--menu .p-imoko-cards__title {
	font-family: var(--ff-serif);
}

.p-imoko-cards__text {
	margin-top: 12px;
	font-size: 12px;
	line-height: 2;
	color: #c9c2b8;
}

/* ===== Menu ===== */
.p-imoko-menu {
	--wave-img: url("../img/imoko/imoko-back-menu.webp");
	--before: var(--c-cream);
	z-index: 2;
	padding: calc(var(--wave) + clamp(50px, 5vw, 70px)) 0 calc(var(--wave) + clamp(80px, 8vw, 120px));
	margin-top: calc(var(--wave) * -1);
}

/* ===== Premium（写真背景） ===== */
.p-imoko-premium {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-end; /* 文言は写真の下寄せ（芋の写真に重ならないように） */
	min-height: 72.569vw; /* 1045px @1440 */
	padding: 120px 0 calc(var(--wave) + clamp(50px, 5vw, 72px));
	margin-top: calc(var(--wave) * -1);
	color: var(--c-white);
	background: url("../img/imoko/imoko-back-premium.webp") center / cover no-repeat;
}

.p-imoko-premium__inner {
	width: 100%;
	padding-left: 7.5vw; /* 108px @1440 */
}

.p-imoko-premium .c-text {
	margin-top: 24px;
	font-size: 13px;
}

/* ===== Voice / Shop / Access ===== */
.p-imoko-bottom {
	--wave-img: url("../img/imoko/imoko-back-voice.webp");
	z-index: 2;
	padding: calc(var(--wave) + clamp(50px, 5vw, 70px)) 0 calc(var(--wave) + clamp(90px, 9vw, 130px));
	margin-top: calc(var(--wave) * -1 - 30px);
	color: var(--c-white);
}

.p-imoko-voice__list {
	--voice-img: url("../img/imoko/imoko-voice-left.svg");
	--voice-img-2: url("../img/imoko/imoko-voice-right.svg");
	--quote-img: url("../img/imoko/icon-quotationmark-orange.webp");
	margin-top: 32px;
	color: #222;
}

.p-imoko-voice__list .c-voice__item {
	width: clamp(280px, 22vw, 320px);
}

.p-imoko-info {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(24px, 2vw, 32px);
	align-items: start;
	margin-top: clamp(32px, 3vw, 48px);
}

.p-imoko-shop__table {
	width: 100%;
	margin-top: 24px;
	font-size: 13px;
	line-height: 1.7;
	background: var(--c-imoko-card);
	border: 1px solid #3c2f27;
	border-radius: 6px;
}

.p-imoko-shop__table th,
.p-imoko-shop__table td {
	padding: 18px 20px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid #3c2f27;
}

.p-imoko-shop__table tr:last-child th,
.p-imoko-shop__table tr:last-child td {
	border-bottom: 0;
}

.p-imoko-shop__table th {
	width: 28%;
	padding-left: 32px;
	font-weight: 700;
}

.p-imoko-shop__table td {
	color: #d8d2c9;
}

.p-imoko-shop__link {
	text-decoration: underline;
}

.p-imoko-access__map {
	margin-top: 24px;
	overflow: hidden;
	aspect-ratio: 590 / 540;
	background: var(--c-imoko-taupe);
	border-radius: 6px;
}

.p-imoko-access__map iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

.p-cta {
	--cta-before: var(--c-imoko-dark);
}

/* ===== SP ===== */
@media (max-width: 767px), (orientation: portrait) and (max-width: 1023px) {
	.p-imoko-hero {
		background-size: cover, auto;
	}

	.p-fv--imoko .p-fv__title-wrap {
		top: calc(var(--header-h) + 2vw);
		width: 66vw;
	}

	.p-fv--imoko .p-fv__title {
		font-size: min(5.6vw, 28px); /* 21px @375 */
	}

	.p-imoko-about {
		padding-top: 16px;
	}

	.p-imoko-about .l-container,
	.p-imoko-story .l-container,
	.p-imoko-info {
		grid-template-columns: 1fr;
	}

	.p-imoko-cards {
		grid-template-columns: 1fr;
		width: min(100%, 400px);
		margin-inline: auto;
	}

	.p-imoko-cards--menu .p-imoko-cards__body {
		min-height: 0;
	}

	/*
	 * SPは写真を横幅の1.2倍に拡大して上部に表示し、文言は芋の下（写真のグレー地の延長）に配置。
	 * 写真下端の色（#777 前後）を背景色にして継ぎ目を目立たせない。
	 */
	.p-imoko-premium {
		min-height: 0;
		padding: calc(120vw / 1.378 - 6vw) 0 140px; /* 写真の高さ（幅120% ÷ 縦横比）ぶん下げる */
		background: #777 url("../img/imoko/imoko-back-premium.webp") 62% top / 120% auto no-repeat;
	}

	.p-imoko-premium::before {
		position: absolute;
		inset: 0;
		content: "";
		background: linear-gradient(to bottom, rgba(119, 119, 119, 0) calc(120vw / 1.378 - 70px), #777 calc(120vw / 1.378));
	}

	.p-imoko-premium__inner {
		position: relative;
		padding-inline: var(--gutter);
	}

	.p-imoko-shop__table th,
	.p-imoko-shop__table td {
		padding: 14px 12px;
	}

	.p-imoko-shop__table th {
		padding-left: 16px;
	}
}

/* SP縦向き：画面いっぱいのFV */
@media (max-width: 767px) and (orientation: portrait), (orientation: portrait) and (max-width: 1023px) {
	.p-fv--imoko .p-fv__title-wrap {
		top: calc(var(--header-h) + 8vw);
		width: 72vw;
	}

	.p-fv--imoko .p-fv__title {
		font-size: min(6.4vw, 34px); /* 24px @375 */
	}

	.p-fv--imoko .p-fv__speech {
		font-size: min(4vw, 22px);
	}
}
