@charset "UTF-8";
/**
 * ゲートページ（食べる・作る／買う）
 *
 * 2026リニューアルに合わせ、全面の背景写真＋半透明パネルをやめて
 * 白地・カード枠線ベースの構成にしている（配色は common2026.css の --t-* を使用）。
 */
.gBody {
	padding: 60px 0 70px;
	background: #fff;
}

/* 旧デザインの背景写真は使わない */
.gBody-gourmet,
.gBody-buy {
	background-image: none;
}

.gate {
	padding: 0;
	background: none;
	box-shadow: none;
}

.gate_title {
	margin-bottom: 20px;
}

.gate_text {
	text-align: center;
	margin-bottom: 40px;
	color: var(--t-text);
}

/* 「食べる・作る」は5枚、「買う」は3枚。auto-fit で空トラックを畳み、
   どちらも1行に収まるよう最小幅は5列（食べる・作る）が入る値にしている */
.gate_list {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
	gap: 20px;
	max-width: 1080px;
	margin: 0 auto;
	padding: 0;
}

.gate_list > li {
	width: auto;
	margin: 0;
}

.gate_list > li > a {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--t-border);
	border-radius: 8px;
	background: #fff;
	color: var(--t-text);
	text-decoration: none;
	box-shadow: none;
	transition: border-color .2s, box-shadow .2s;
}

.gate_list > li > a:hover {
	border-color: var(--t-green);
	box-shadow: 0 4px 12px rgba(16, 69, 51, .12);
}

.gate_image {
	overflow: hidden;
}

.gate_image > img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 25 / 14;
	object-fit: cover;
	transition: transform .5s;
}

.gate_haedline {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 76px;
	margin: 0;
	padding: 14px 10px;
	background: #fff;
	color: var(--t-green);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
}

@media screen and (min-width:1000px) {
	a:hover .gate_image > img {
		transform: scale(1.1);
	}
}

@media screen and (max-width:999px) {
	.gate_list {
		grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
		gap: 18px;
	}

	.gate_haedline {
		min-height: 68px;
		font-size: 17px;
	}
}

@media screen and (max-width:767px) {
	.gBody {
		padding: 32px 0 40px;
	}

	.gate_text {
		text-align: left;
		margin-bottom: 24px;
	}

	.gate_list {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
		max-width: none;
	}

	.gate_haedline {
		min-height: 56px;
		padding: 10px 6px;
		font-size: 16px;
	}
}

/* 「食べる・作る」のカードを「コラム」「食べる」「作る」の3グループに分けて並べる
   （.gate_list 自体は /buy/ と共通なので、ここは page-gourmet.php 専用の追加クラス）
   グループごとに「小さなラベル見出し＋カード列」を縦に積む。
   カード幅がグループ間で揃うよう auto-fit ではなく auto-fill（空トラックを残す）にしている */
.gate_groups {
	max-width: 1080px;
	margin: 0 auto;
}

.gate_group + .gate_group {
	margin-top: 36px;
}

.gate_group_title {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 14px;
	color: var(--t-green);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: .08em;
}

.gate_group_title > span {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

/* ラベル左の「●」 */
.gate_group_title > span::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--t-green);
}

/* ラベル右に伸びる罫線 */
.gate_group_title::after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	background: var(--t-border);
}

.gate_list-group {
	grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
	max-width: none;
}

/* 外部リンク（target="_blank"）は見出しの末尾に別窓アイコン（icomoon の icon-blank）を付ける */
.gate_list > li > a[target="_blank"] .gate_haedline::after {
	content: "\e904";
	font-family: 'icomoon';
	font-weight: normal;
	font-size: .7em;
	margin-left: .35em;
	line-height: 1;
}

@media screen and (max-width:999px) {
	.gate_list-group {
		grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	}
}

@media screen and (max-width:767px) {
	.gate_group + .gate_group {
		margin-top: 28px;
	}

	.gate_group_title {
		gap: 10px;
		margin-bottom: 10px;
		font-size: 15px;
	}

	.gate_list-group {
		grid-template-columns: repeat(2, 1fr);
	}
}
