/* ダウンロード一覧ページ固有のスタイル */
.download-title {
	display: flex;
	align-items: center;
	color: #4c4948;
	font-family: 'Plus Jakarta Sans';
	font-size: 14px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	/* padding: 0 12px 20px; */
	padding: 114px 12px 20px;
}

.download-container {
	display: flex;
	max-width: 1728px;
	margin: 0 auto;
	padding: 50px 0;
	gap: 30px;
}
/* 左カラムのデザイン */
.download-sidebar {
	width: 20%;
	padding: 20px;
	background-color: #fff; /* 背景を白に */
	border-radius: 10px;
}

.download-sidebar h2 {
	font-size: 18px;
	font-weight: bold;
	color: #af9448; /* 緑色に変更 */
	margin-bottom: 20px;
}

/* カテゴリフィルターのスタイル */
.category-filter-download {
	list-style: none;
	padding: 0;
	margin: 0 0 30px 0;
	display: flex;
	flex-direction: column; /* 縦に並べる */
	gap: 10px;
}

.category-filter-download button {
	background: #f5f5f5;
	border: 1px solid #ddd;
	padding: 10px 15px;
	border-radius: 20px; /* より丸くする */
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 14px;
	width: 100%; /* 幅いっぱいに */
	text-align: left; /* 左揃え */
}

.category-filter-download button:hover {
	background: #e9e9e9;
}

.category-filter-download button.active {
	background: #af9448; /* グレーから緑色に変更 */
	color: white;
	border-color: #af9448;
}

/* 既存のスタイル */
.download-content {
	width: 80%;
}

.download-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}

.download-item {
	display: block;
	background: #fff;
	border-radius: 10px;
	padding: 20px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	text-align: center;
	text-decoration: none;
	color: inherit;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.download-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.download-item img {
	width: 100%;
	height: auto;
	border-radius: 10px;
}

.download-item h3 {
	font-size: 18px;
	margin: 15px 0;
	font-weight: bold;
}

.download-item p {
	font-size: 14px;
	color: #666;
	margin-bottom: 10px;
}

.tags {
	margin-bottom: 15px;
}

.tags .tag {
	display: inline-block;
	/* background: #e0e0e0; */
	color: #828282;
	padding: 5px 10px;
	border: 1px solid #828282;
	border-radius: 20px;
	font-family: 'Noto Sans JP';
	font-size: 10px;
	font-weight: bold;
}

.download-btn {
	display: inline-block;
	background: #af9448;
	color: #fff;
	padding: 10px 30px;
	border-radius: 5px;
	text-decoration: none;
	font-weight: bold;
	font-size: small;
}

.download-btn:hover {
	background: #9a8240;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
	.download-container {
		flex-direction: column;
	}
	.download-sidebar {
		width: 100%;
	}
	.download-content {
		width: 100%;
	}
	.download-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.download-title {
		margin: 30px 0 10px;
		padding: 0;
	}

	.download-grid {
		grid-template-columns: repeat(1, 1fr);
	}

	.category-filter-download button {
		width: 100%;
		text-align: center;
	}
}
