@charset "UTF-8";
/**
 * 入口ページ（体験する /experience/・とやまの食育 /shokuiku/）
 *
 * gourmet.css の .gate（食べる・作る／買う の入口）を土台に、
 * バナーが2枚のページ向けの幅調整、アイコン画像（SVG 等）のカード、
 * カード下の補足リンクを足している。gourmet.css の後に読み込むこと。
 */

/* 背景写真は使わない（gourmet.css の .gBody-gourmet / .gBody-buy と同じ扱い） */
.gBody-experience,
.gBody-shokuiku {
	background-image: none;
}

/* カードが2枚なので、横幅いっぱいに広がらないよう幅を絞る */
.gate_list-col2 {
	max-width: 720px;
}

/* 写真ではなくアイコン画像のカード。写真と同じ比率の枠に余白を取って収める */
.gate_image-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 25 / 14;
	background: var(--t-green-light);
}

.gate_image-icon > img {
	width: auto;
	height: 62%;
	aspect-ratio: auto;
	object-fit: contain;
}

/* 外部リンク（target="_blank"）は見出しの末尾に別窓アイコン（icomoon の icon-blank）を付ける。
   gourmet.css にも同じ規則があるが、このファイル単体でも成立するよう持っておく
   （同じ ::after に対する指定なので二重には出ない） */
.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;
}

/* 見出しは下の説明文とセットで見せるので、枠いっぱいに伸ばさない */
.gate_list-col2 .gate_haedline {
	flex: 0 0 auto;
	min-height: 0;
	padding-bottom: 4px;
}

.gate_caption {
	flex: 1;
	margin: 0;
	padding: 0 16px 18px;
	font-size: 13px;
	line-height: 1.6;
	color: #666;
	text-align: center;
	text-wrap: pretty;
}

/* カード下の補足リンク（配下ページ） */
.gate_subList {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 32px;
	margin: 32px auto 0;
	padding: 0;
	font-size: 14px;
}

.gate_subList a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--t-green);
	text-decoration: none;
}

.gate_subList a:hover {
	text-decoration: underline;
}

.gate_subList .icon {
	font-size: 16px;
}

@media screen and (max-width:767px) {
	/* 2列でも「むらまち交流ラボ」「とやまの食育ひろば」が途中で折れないよう少し詰める */
	.gate_list-col2 .gate_haedline {
		padding-bottom: 2px;
		font-size: 15px;
		letter-spacing: 0;
	}

	.gate_caption {
		padding: 0 10px 14px;
		font-size: 12px;
	}

	.gate_subList {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		margin-top: 24px;
	}
}
