*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* ========================================
   共通変数
======================================== */
:root {
	--btn-bg: #333550;
	--btn-hover: #e8243e;
	--text-main: #333;
	--font-serif: font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
}

body {
	background: #fff;
}

/*デスクトップ表示のときはヘッダー文の余白をつける*/
@media (min-width: 769px) {
	body {
		padding-top: 164px;
	}
}

/* ===== PCだけ改行 ===== */
.br-pc {
	display: none;
}

@media screen and (min-width: 768px) {
	.br-pc {
		display: block;
	}
}

/* ===== スマホだけ改行 ===== */
.br-sp {
	display: none;
}

@media screen and (max-width: 767px) {
	.br-sp {
		display: block;
	}
}

/* ===== HERO SECTION ===== */
.hero {
	position: relative;
	width: 100%;
	height: 80vh;
	min-height: 500px;
	overflow: hidden;
}

/* ===== SLIDES ===== */
.slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1.4s ease-in-out;
	will-change: opacity;
	background-size: cover; /* 画面いっぱいに広げ、隙間なく表示 */
	background-repeat: no-repeat; /* 繰り返しを禁止 */
	background-position: center; /* 画像の中央を基準に配置 */
	opacity: 0;
	transition: opacity 1.5s ease;
	z-index: 1;
}

.slide.active {
	opacity: 1;
	z-index: 2;
}

/* 背景画像 */
.slide__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transform: scale(1);
	transition: transform 7s ease-out;
}

.slide.active .slide__bg {
	transform: scale(1.05); /* Ken Burns effect */
}

.slide__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45); /* 黒の45%透明度 */
	z-index: 10; /* テキストより下、スライドより上に配置 */
}

/* ===== TEXT CONTENT ===== */
.slide__content {
	position: absolute;
	/* 「下半分」に配置するための設定 */
	top: 70%; /* 上から70%の位置（下半分） */
	left: 50%; /* 横方向中央の基準 */
	transform: translate(-50%, -50%); /* 自身のサイズ分戻して完全に中央寄せ */
	width: 90%; /* 横幅を広めに確保 */
	max-width: 700px;
	color: #fff;
	z-index: 20;
	text-align: center;
}

.slide__content p {
	/* 欧文には伝統的なGaramond系を、日本語にはNoto Serif JPを指定 */
	font-family: 'EB Garamond', 'Garamond', 'Noto Serif JP', serif;
	font-weight: 500;
	letter-spacing: 0.15em;
	line-height: 2.2;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
	/*white-space: nowrap;*/
}

.slide__content .line1 {
	text-align: left;
	font-size: 20px;
	margin-bottom: 1em;
}

.slide__content .line2 {
	text-align: left;
	font-size: 20px;
	opacity: 0.92;
}

/* ===== SLIDE INDICATORS ===== */
.hero__indicators {
	position: absolute;
	bottom: 5%;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
	z-index: 10;
}

.indicator {
	width: 28px;
	height: 2px;
	background: rgba(255, 255, 255, 0.35);
	cursor: pointer;
	transition:
		background 0.3s ease,
		width 0.3s ease;
	position: relative;
	overflow: hidden;
}

.indicator::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 0%;
	background: #fff;
	transition: width 0s linear;
}

.indicator.active {
	width: 44px;
	background: rgba(255, 255, 255, 0.2);
}

.indicator.active::after {
	width: 100%;
	transition: width 5s linear; /* スライド間隔と合わせる */
}

/* ========================================
   セクション1: こだわりセクション
======================================== */
.kodawari {
	background-color: #fff;
	background-size: 80%; /* coverから変更 → 数値で大きさ調整 */
	background-position: center;
	background-repeat: no-repeat;
	padding: 80px 20px 60px;
	position: relative;
	margin-top: 40px; /* pxも追加 */
	margin-bottom: 40px; /* pxも追加 */
}
/* うっすら見せるためのオーバーレイ */
.kodawari::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.7); /* 白を82%重ねてうっすら効果 */
	z-index: 0;
}
.kodawari__inner {
	max-width: 1000px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

/* テキストブロック */
.kodawari__text-block {
	text-align: center;
	margin-bottom: 100px;
}

.kodawari__text-block p {
	font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
	font-size: 18px;
	line-height: 2.2;
	font-weight: 500;
	color: var(--text-main);
	margin-bottom: 1.4em;
}

.kodawari__text-block p:last-child {
	margin-bottom: 0;
}

/* 店舗カードグリッド */
.kodawari__stores {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

/* 各店舗カード */
.store-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

/* 店舗ボタン */
.store-card__btn {
	display: block;
	width: 100%;
	padding: 14px 8px;
	background-color: var(--btn-bg);
	color: #fff;
	font-family: Montserrat, Arial, Helvetica, 'Nimbus Sans L', sans-serif;
	font-size: 14px;
	letter-spacing: 0.1em;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.3s ease;
}

.store-card__btn:hover {
	background-color: var(--btn-hover);
}

/* Googleレビューボックス */
.store-card__review {
	width: 100%;

	padding: 10px 12px;
}

.review__header {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

/*.review__logo {
	width: 40px;
	height: 40px;
	object-fit: cover;
	border-radius: 50%;
	flex-shrink: 0;
}*/

.review__info {
	flex: 1;
	min-width: 0;
}

.review__name {
	font-family: var(--font-serif);
	font-size: 11px;
	font-weight: 700;
	color: #222;
	line-height: 1.4;
	margin-bottom: 4px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-align: center;
}

.review__stars {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	margin-bottom: 2px;
}

.review__score {
	font-size: 13px;
	font-weight: 700;
	color: #222;
	line-height: 1;
}

.stars {
	display: flex;
	gap: 1px;
}

.star {
	width: 14px;
	height: 14px;
	fill: #f5a623;
}

.star--half {
	fill: #f5a623;
}

.review__count {
	font-size: 10px;
	color: #666;
	margin-bottom: 2px;
	text-align: center;
}

.review__powered {
	font-size: 10px;
	color: #666;
	text-align: center;
}

.google-text {
	font-weight: 600;
}

/* レスポンシブ: タブレット */
@media (max-width: 768px) {
	.kodawari__stores {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
}

/* レスポンシブ: スマホ */
@media (max-width: 480px) {
	.kodawari__stores {
		grid-template-columns: 1fr;
	}

	.kodawari__text-block p {
		font-size: 14px;
		text-align: left;
	}
}

/* ========================================
   セクション2: メニューギャラリー＋CTAボタン
======================================== */
.menu-gallery {
	background: #fff;
	padding: 60px 20px;
	margin-top: 40;
	margin-bottom: 40;
}

/* 4枚グリッド */
.menu-gallery__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	max-width: 1000px;
	margin: 0 auto 48px;
}

.menu-gallery__item {
	position: relative;
	overflow: hidden;
	aspect-ratio: 2 / 3.5; /* 縦長の枠 */
}

.menu-gallery__item img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.menu-gallery__item:hover img {
	transform: scale(1);
}

/* しゃぶしゃぶ（3枚目）だけ最初から拡大 */
.menu-gallery__item:nth-child(3) img {
	transform: scale(1.05);
}

.menu-gallery__label {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	/* 欧文には伝統的なGaramond系を、日本語にはNoto Serif JPを指定 */
	font-family: 'EB Garamond', 'Garamond', 'Noto Serif JP', serif;
	font-size: 24px;
	font-weight: 500;
	color: #fff;
	letter-spacing: 0.12em;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
	z-index: 2;
	pointer-events: none;
}

/* CTAボタン */
.menu-gallery__cta {
	text-align: center;
}

.cta-btn {
	display: inline-block;
	padding: 16px 60px;
	background-color: var(--btn-bg);
	color: #fff;
	font-family: 'Montserrat', Arial, Helvetica, 'Nimbus Sans L', sans-serif;
	font-size: 15px;
	letter-spacing: 0.15em;
	text-decoration: none;
	transition: background-color 0.3s ease;
	margin-top: 50px;
}

.cta-btn:hover {
	background-color: var(--btn-hover);
}

/* ========================================
   セクション3: ブランディングセクション
======================================== */
.branding {
	padding: 80px 20px;
	margin-top: 40;
	margin-bottom: 40;
}

.branding__inner {
	max-width: 1000px;
	margin: 0 auto;
}

.branding__title {
	/* 欧文には伝統的なGaramond系を、日本語にはNoto Serif JPを指定 */
	font-family: 'EB Garamond', 'Garamond', 'Noto Serif JP', serif;
	font-size: 24px;
	font-weight: 500;
	color: var(--text-main);
	text-align: center;
	letter-spacing: 0.05em;
	line-height: 1.8;
	margin-bottom: 40px;
}

/* 画像2枚横並び */
.branding__images {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	height: 500px;
	margin-bottom: 40px;
}

.branding__img-wrap {
	overflow: hidden;
}

.branding__img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* テキスト */
.branding__body {
	border-top: 1px solid #ddd;
	padding-top: 32px;
}

.branding__body p {
	font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
	font-size: 16px;
	line-height: 2.2;
	color: var(--text-main);
}

/* レスポンシブ */
@media (max-width: 600px) {
	.branding__images {
		grid-template-columns: 1fr;
	}

	.branding__title {
		font-size: 15px;
	}
}

/* ========================================
   セクション4: 締めセクション
======================================== */
.closing {
	position: relative;
	width: 100%;
	min-height: 600px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	overflow: hidden;
	margin-top: 40px;
}

/* オーバーレイ */
.closing__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.4); /* 黒の45%透明度 */
	z-index: 1;
}

/* テキストコンテンツ */
.closing__content {
	position: relative;
	z-index: 2;
	padding: 40px 20px;
	max-width: 800px;
	width: 100%;
	align-self: flex-end; /* 下寄せ */
	margin-left: 100px; /* 左寄せ */
	margin-bottom: 20px; /* 下からの余白 */
}

.closing__content p {
	/* 欧文には伝統的なGaramond系を、日本語にはNoto Serif JPを指定 */
	font-family: 'EB Garamond', 'Garamond', 'Noto Serif JP', serif;
	font-size: 20px;
	color: #fff;
	line-height: 2.4;
	letter-spacing: 0.1em;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
	margin-bottom: 0.2em;
}

/* レスポンシブ */
@media (max-width: 600px) {
	.closing__content {
		margin-left: 0; /* スマホでは左寄せに戻す */
		text-align: left;
	}
	.closing__content p {
		font-size: 14px;
		line-height: 2.2;
		text-align: left;
	}
}

/* ========================================
   レスポンシブ最適化
======================================== */

/* 全体的な調整：スマホでの余白を最適化 */
@media (max-width: 768px) {
	.kodawari,
	.menu-gallery,
	.branding {
		padding: 60px 15px;
		margin: 20px 0;
	}
}

/* --- HERO SECTION --- */
@media (max-width: 768px) {
	.hero {
		height: 70vh; /* スマホでは少し短くしてコンテンツを見せやすく */
	}
	.slide__content {
		top: 60%; /* 文字位置を少し上に調整 */
		width: 90%;
	}
	.slide__content .line1,
	.slide__content .line2 {
		font-size: 16px; /* 文字サイズをスマホ向けに落とす */
		line-height: 1.8;
		text-align: left; /* スマホでは中央寄せの方が見栄えが良い場合が多いです */
		white-space: normal; /* 折り返しを許可 */
	}
}

/* --- KODAWARI SECTION (店舗カード) --- */
@media (max-width: 768px) {
	.kodawari {
		background-color: #fff;
		/* サイズを少し調整（100%だと横幅いっぱい、autoで高さ維持） */
		background-size: 200% auto !important;

		/* 【重要】基準を center から top に変更し、少しだけ(10%)下に下げる */
		background-position: center 10% !important;

		background-repeat: no-repeat !important;
		background-attachment: scroll !important;

		padding: 80px 20px;
		position: relative;
		margin: 40px 0;
	}
	.kodawari__text-block {
		position: relative;
		z-index: 1;
		margin-bottom: 60px; /* 下の店舗ボタンとの距離を少し詰める */
	}
	.kodawari::before {
		content: '';
		position: absolute;
		inset: 0;
		background: rgba(255, 255, 255, 0.8) !important;
		z-index: 0;
	}
	.kodawari__stores {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}
	.store-card__btn {
		display: inline-block; /* blockから変更 */
		width: auto; /* 100%から変更 */
		min-width: 250px; /* 最低限の幅を確保 */
		padding: 16px 40px; /* 左右に余白を持たせる */
		margin: 0 auto; /* 中央寄せ */
		background-color: var(--btn-bg);
		color: #fff;
		text-decoration: none;
		transition: 0.3s;
	}
}

@media (max-width: 480px) {
	.kodawari__stores {
		grid-template-columns: 1fr; /* スマホ縦は1列 */
	}
	.review__name {
		white-space: normal; /* 店名が長い場合に折り返しを許可 */
		font-size: 12px;
	}
	.store-card__btn {
		font-size: 15px; /* ボタンは押しやすく少し大きく */
		padding: 16px 8px;
	}
}

/* --- MENU GALLERY --- */
@media (max-width: 768px) {
	.menu-gallery__grid {
		grid-template-columns: 1fr; /* repeat(2, 1fr) → 1fr に変更 */
		gap: 10px;
	}
	.menu-gallery__item {
		aspect-ratio: 1 / 1.2;
	}
	.menu-gallery__label {
		font-size: 18px;
	}
}

/* レスポンシブ */
@media (max-width: 768px) {
	.menu-gallery__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.menu-gallery__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.menu-gallery__label {
		font-size: 18px;
	}

	.cta-btn {
		padding: 14px 36px;
		font-size: 14px;
	}
}

/* --- BRANDING SECTION --- */
@media (max-width: 768px) {
	.branding__title {
		font-size: 18px;
		padding: 0 10px;
	}
	.branding__images {
		height: 300px; /* 画像の高さを抑える */
	}
	.branding__body p {
		font-size: 14px;
		line-height: 1.8;
	}
	.branding {
		margin-bottom: 0;
	}
}

/* --- CLOSING SECTION --- */
@media (max-width: 768px) {
	.closing {
		min-height: 450px;
		align-items: center; /* スマホでは中央配置が見やすい */
		justify-content: center;
		margin-bottom: 0 !important; /* 下マージンを強制的に消す */
	}
	.closing__content {
		margin-left: 0; /* 左寄せ解除 */
		text-align: center; /* 中央寄せ */
		padding: 20px;
	}
	.closing__content p {
		font-size: 15px;
		line-height: 2;
	}
}
