/* ========================================
   TOP お知らせカテゴリボタン
======================================== */

.front-notice-category-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin-top: 5px;
	margin-bottom: 45px;
}

.front-notice-category-buttons button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 120px;
	height: 44px;
	padding: 0 24px;
	border-radius: 8px;
	background-color: #fff;
	border: solid 1px;
	font-size: 15px;
	font-weight: bold;
	letter-spacing: 0.08em;
	text-decoration: none;
	transition: all 0.3s ease;
	cursor: pointer;
}

.front-notice-category-buttons button:hover {
	background-color: rgba(0, 0, 0, 0.02);
	opacity: 0.85;
}

/* すべて */
.front-notice-category-buttons .all {
	color: #666;
	border-color: #666;
}

.front-notice-category-buttons .all.active {
	background-color: #666;
	color: #fff;
}

/* お知らせ */
.front-notice-category-buttons .info-information {
	color: #0071bc;
	border-color: #0071bc;
}

.front-notice-category-buttons .info-information.active {
	background-color: #0071bc;
	color: #fff;
}

/* 重要 */
.front-notice-category-buttons .info-important {
	color: #dd2a14;
	border-color: #dd2a14;
}

.front-notice-category-buttons .info-important.active {
	background-color: #dd2a14;
	color: #fff;
}

/* 野菜 */
.front-notice-category-buttons .info-vegetable {
	color: #22b573;
	border-color: #22b573;
}

.front-notice-category-buttons .info-vegetable.active {
	background-color: #22b573;
	color: #fff;
}

/* 果実 */
.front-notice-category-buttons .info-fruit {
	color: #d4145a;
	border-color: #d4145a;
}

.front-notice-category-buttons .info-fruit.active {
	background-color: #d4145a;
	color: #fff;
}

/* ========================================
   TOP お知らせ一覧
======================================== */

#front-notice-list {
	transition: opacity 0.2s;
}

/* 1記事 */
#front-notice-list .vk_post {
	align-items: center;
}

/* 日付 */
#front-notice-list .postListText_date {
	min-width: 130px;
}

/* ラベル */
#front-notice-list .postListText_singleTermLabel {
	margin-right: 0;
	min-width: 126px;
}

#front-notice-list .postListText_singleTermLabel_inner {
	width: 5.8em;
	border-radius: 5px;
	padding: 0.1em 0 0.15em;
	font-size: 14px;
	display: inline-block;
	text-align: center;
	color: #fff;
}

/* ラベル色 */
#front-notice-list .information-category-info-fruit .postListText_singleTermLabel_inner {
	background-color: #d4145a !important;
}

#front-notice-list .information-category-info-vegetable .postListText_singleTermLabel_inner {
	background-color: #22b573 !important;
}

#front-notice-list .information-category-info-information .postListText_singleTermLabel_inner {
	background-color: #0071bc !important;
}

#front-notice-list .information-category-info-important .postListText_singleTermLabel_inner {
	background-color: #dd2a14 !important;
	letter-spacing: 1.2em;
	padding-left: 1.2em;
}

/* タイトル */
#front-notice-list .postListText_title {
	margin-bottom: 0;
}

/* hover */
#front-notice-list .postListText_title a {
	text-decoration: none;
	transition: color 0.3s ease;
}

#front-notice-list .postListText_title a:hover {
	color: #f75e32;
}

/* ========================================
   SP
======================================== */

@media (max-width: 576px) {

	.front-notice-category-buttons {
		gap: 14px;
	}

	/* 共通 */
	.front-notice-category-buttons button {
		width: calc(50% - 7px);
		max-width: none;
	}

	/* 「すべて」だけ1列 */
	.front-notice-category-buttons .all {
		width: 100%;
	}

	#front-notice-list .vk_post {
		display: block;
		padding: 14px 0;
	}

	#front-notice-list .vk_post .postListText_date,
	#front-notice-list .vk_post .postListText_singleTermLabel,
	#front-notice-list .vk_post .postListText_title {
		display: block !important;
		width: 100%;
	}

	#front-notice-list .postListText_date {
		margin-bottom: 8px;
	}

	#front-notice-list .postListText_singleTermLabel {
		margin-bottom: 8px;
		min-width: auto;
	}

	#front-notice-list .postListText_singleTermLabel:empty {
		display: none !important;
	}

	#front-notice-list .postListText_title {
		line-height: 1.6;
	}

}