/* ==========================================================================
   献立ページ（/menu/〇〇/）
   レシピページの部品（recipe-style.css）に上乗せ。トップページ・レシピページと同じ
   コーラルの丸枠ラベル・明朝の見出し・コーラルの短い下線・献立例カードでそろえる
   ========================================================================== */

/* ---------- ヘッダー：丸枠ラベル「献立」＋大きめのタイトル ---------- */
.bgh-menu__header {
	text-align: center;
	margin-bottom: 56px;
}

.bgh-menu__badge {
	margin: 0 0 16px;
	line-height: 1;
}

.bgh-menu__badge span {
	display: inline-block;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 10px;
	letter-spacing: 0.2em;
	color: #E15B45;
	border: 1px solid #E15B45;
	border-radius: 999px;
	padding: 4px 14px;
}

.bgh-menu__title,
.bgh-menu .bgh-menu__title {
	font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
	font-size: clamp(24px, 3.4vw, 34px);
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.06em;
	color: #201d19;
	margin: 0;
	/* SWELLの見出し装飾を打ち消す */
	background: none !important;
	border: none !important;
	padding: 0 !important;
	box-shadow: none !important;
}

.bgh-menu__title::before,
.bgh-menu__title::after {
	display: none !important;
	content: none !important;
}

/* 分類（秋・時短など）：タイトルの下に小さな丸いラベル */
.bgh-menu__types {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 18px 0 0;
	padding: 0;
}

.bgh-menu__types li {
	margin: 0;
	padding: 0;
}

.bgh-menu__types li::before {
	display: none;
}

.bgh-menu__types a {
	display: inline-block;
	font-family: "Noto Sans JP", sans-serif;   /* タイトル上の「献立」ラベルと同じ */
	font-weight: 400;
	padding: 3px 12px;
	border-radius: 999px;
	background: #f4f1ea;
	font-size: 11.5px;
	letter-spacing: 0.15em;
	color: #5c564d;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.bgh-menu__types a:hover {
	background: #E15B45;
	color: #fff;
}

.bgh-menu__desc {
	max-width: 560px;
	margin: 18px auto 0;
	font-size: 14px;
	line-height: 1.9;
	color: #5c564d;
}

/* ---------- 本体：写真・紹介文・レシピ・ほかの献立の端をそろえる ---------- */
.bgh-menu__body {
	max-width: 640px;
	margin: 0 auto;
}

.bgh-menu__photo {
	margin: 0 0 28px;
}

.bgh-menu__photo img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 3px;
}

/* 紹介文＋動画ボタン */
.bgh-menu__lead {
	margin: 0 0 64px;
	text-align: center;
}

.bgh-menu__intro {
	margin: 0 0 22px;
	font-family: "Noto Sans JP", sans-serif;   /* レシピページの紹介文と同じゴシック体 */
	font-weight: 400;
	font-size: 15px;
	line-height: 2;
	text-align: left;
	color: #2b2926;
}

/* 段取り・作る順番（v1.86.0〜）：紹介文の下に、ポイント欄と同じ左線のカード */
.bgh-menu .bgh-menu__plan {
	position: relative;
	margin: 0 0 22px;
	padding: 18px 22px 18px 26px;
	background: #f7f5f0;
	border-radius: 2px;
}

.bgh-menu .bgh-menu__plan::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 2.5px;
	background: #E15B45;
}

.bgh-menu .bgh-menu__plan-label {
	margin: 0 0 8px !important;
	padding: 0 !important;
	border: none !important;
	background: none !important;
	font-family: "Noto Serif JP", serif;
	font-size: 13px !important;
	font-weight: 700;
	line-height: 1.5 !important;
	letter-spacing: 0.2em;
	color: #E15B45;
}

.bgh-menu .bgh-menu__plan-label::before,
.bgh-menu .bgh-menu__plan-label::after {
	display: none !important;
}

.bgh-menu .bgh-menu__plan-text {
	margin: 0;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 14.5px;
	line-height: 1.9;
	color: #2b2926;
}

.bgh-menu__section {
	margin-bottom: 72px;
}

.bgh-menu__section:last-child {
	margin-bottom: 0;
}

/* 「この献立の動画を見る」：細い枠の丸いボタン。アイコンだけYouTubeの赤 */
.bgh-menu-video-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 20px 9px 16px;
	border: 1px solid #d9d3c6;
	border-radius: 999px;
	background: #fff;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 13px;
	letter-spacing: 0.05em;
	line-height: 1.4;
	color: #2b2926;
	text-decoration: none;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.bgh-menu-video-btn:hover {
	border-color: #E15B45;
	color: #E15B45;
}

.bgh-menu-video-btn__icon {
	flex: 0 0 auto;
	color: #e62117;
}

/* 各レシピのカード：レシピページの献立例カードと同じ形で、小さめに中央そろえ */
.bgh-menu .bgh-menu__recipes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 145px));
	justify-content: center;   /* 4品で写真の幅とそろう。3品以下は中央に寄せる */
	gap: 24px 20px;
}

.bgh-menu .bgh-menu-card__eyebrow {
	margin-top: 10px;
	font-size: 10px;
}

.bgh-menu .bgh-menu-card__title {
	margin-top: 4px;
	font-size: 14px;
	line-height: 1.6;
}

/* ほかの献立：3つ並びの小さめのカード */
.bgh-menu__others .bgh-menu-tile__name {
	font-size: 13px;
}

/* 矢印リンク（トップページの「その他の献立を見る」と同じ形。献立ページではトップのCSSを読まないのでここにも定義） */
.bgh-menu .bgh-link-arrow {
	display: inline-flex;
	font-family: "Noto Sans JP", sans-serif;   /* トップページ「すべてのジャンルを見る」と同じ */
	font-weight: 400;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	letter-spacing: 0.08em;
	color: #201d19;
	text-decoration: none;
	padding-bottom: 4px;
	border-bottom: 1px solid #201d19;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.bgh-menu .bgh-link-arrow__icon {
	display: inline-block;
	transition: transform 0.2s ease;
}

.bgh-menu .bgh-link-arrow:hover {
	color: #E15B45;
	border-color: #E15B45;
}

.bgh-menu .bgh-link-arrow:hover .bgh-link-arrow__icon {
	transform: translateX(4px);
}

.bgh-menu__more {
	margin: 32px 0 0;
	text-align: center;
}

/* ==========================================================================
   献立一覧（[bgh_menu_list]・/menu-type/〇〇/）
   ========================================================================== */
.bgh-menu-list {
	max-width: 960px;
	margin: 0 auto;
}

.bgh-menu-list__filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0 0 32px;   /* 件数表示をやめたので、ボタンと献立の間を少し広げる */
}

.bgh-menu-chip {
	appearance: none;
	-webkit-appearance: none;
	margin: 0;
	padding: 8px 20px;
	border: 1px solid #d9d3c6;
	border-radius: 999px;
	background: #fff;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 13.5px;
	letter-spacing: 0.05em;
	line-height: 1.4;
	color: #2b2926;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.bgh-menu-chip,
.bgh-menu-chip:visited {
	display: inline-block;
	text-decoration: none !important;
}

.bgh-menu-chip:hover {
	border-color: #E15B45;
	color: #E15B45;
}

.bgh-menu-chip[aria-pressed="true"] {
	background: #E15B45;
	border-color: #E15B45;
	color: #fff;
}

.bgh-menu-list__count[hidden] {
	display: none !important;
}

.bgh-menu-list__count {
	margin: 0 0 28px;
	text-align: center;
	font-size: 12.5px;
	letter-spacing: 0.05em;
	color: #8a8378;
}

.bgh-menu-list__num {
	font-family: "Oswald", sans-serif;
	font-size: 15px;
	margin-right: 2px;
	color: #2b2926;
}

.bgh-menu-list__none,
.bgh-menu-list__empty {
	margin: 24px 0 0;
	text-align: center;
	font-size: 14px;
	color: #8a8378;
}

.bgh-menu-list__none[hidden] {
	display: none;
}

@media (max-width: 680px) {
	.bgh-menu__header {
		margin-bottom: 36px;
	}

	.bgh-menu__photo {
		margin-bottom: 22px;
	}

	.bgh-menu__lead {
		margin-bottom: 48px;
	}

	.bgh-menu__intro {
		font-size: 14.5px;
		line-height: 1.9;
	}

	.bgh-menu__section {
		margin-bottom: 56px;
	}

	.bgh-menu .bgh-menu__recipes {
		grid-template-columns: repeat(2, minmax(0, 150px));
		gap: 20px 16px;
	}

	.bgh-menu .bgh-menu-card__eyebrow {
		font-size: 9.5px;
		margin-top: 8px;
	}

	.bgh-menu .bgh-menu-card__title {
		font-size: 13px;
	}

	/* 分類ボタンは横スクロールにせず折り返す。小さめに */
	.bgh-menu-list__filters {
		gap: 8px;
	}

	.bgh-menu-chip {
		padding: 7px 15px;
		font-size: 13px;
	}
}

/* ---------- 献立一覧の献立名：写真の幅に対する文字の大きさを「ほかの献立」とそろえる ----------
   「ほかの献立」は写真幅 約190px に 13px（写真幅の約7%）。一覧でも写真幅の7%にする
   （PCで最大15px、スマホで最小12px）。一覧では見出し（h3）なので、SWELLの見出しの文字サイズに負けないよう !important */
.bgh-menu-list .bgh-menu-tile {
	container-type: inline-size;
}

.bgh-menu-list .bgh-menu-tile__name,
.post_content .bgh-menu-list .bgh-menu-tile__name {
	font-size: 13px !important;                       /* 古いブラウザ向け */
	font-size: clamp(12px, 7cqi, 15px) !important;
	font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif !important;   /* 献立ページのタイトルと同じ明朝体 */
	font-weight: 600 !important;
	line-height: 1.55 !important;
	letter-spacing: 0.04em !important;
}

/* ---------- 人気レシピ一覧 [bgh_popular_list]：写真の左上に順位（トップページの人気レシピと同じ色） ---------- */
.bgh-popular-list .bgh-menu-tile__thumb {
	position: relative;
}

.bgh-popular-rank {
	position: absolute;
	top: 8px;
	left: 8px;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #c9c2b4;
	color: #fff;
	font-family: "Noto Serif JP", serif;
	font-size: 13px;
	line-height: 1;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.bgh-popular-rank--1 { background: #c8a24a; }
.bgh-popular-rank--2 { background: #a9a9a9; }
.bgh-popular-rank--3 { background: #b08355; }

@media (max-width: 680px) {
	.bgh-popular-rank {
		top: 6px;
		left: 6px;
		width: 24px;
		height: 24px;
		font-size: 12px;
	}
}
