/* スライダー専用スタイル */
.simple-slider-container {
	width: 100%;
	overflow: hidden;
	position: relative;
}

.simple-slider-wrapper {
	display: flex;
	transition: transform 300ms ease-out;
	margin-top: 20px;
	will-change: transform;
}

.simple-slide {
	width: 300px;
	height: 353px;
	background: white;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	padding: 20px;
	margin-right: 30px;
	flex-shrink: 0;
	border-radius: 4px;
	transform-origin: center center;
	cursor: grab;
}

.simple-slide:active {
	cursor: grabbing;
}

.simple-slide a {
	text-decoration: none;
	color: #333;
}

.simple-slide:hover {
	background-color: #e3ffd6;
	transform: translateY(-10px);
	transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.simple-slide img {
	width: 100%;
	height: auto;
	max-height: 156px;
	object-fit: cover;
	border-radius: 4px;
	display: block;
}

.simple-slide h3 {
	font-size: 16px;
	font-weight: 700;
	margin: 21px 0;
	text-align: left;
}

.slider-controls {
	margin-top: 20px;
	padding: 10px 0;
	display: none; /* プログレスバーを非表示 */
}

.slider-progress {
	width: 100%;
	height: 4px;
	background-color: #e0e0e0;
	border-radius: 2px;
	overflow: hidden;
}

.slider-progress-bar {
	height: 100%;
	background-color: #5cb531;
	width: 0;
	transition: width 300ms ease-out;
}

.no-slides-message {
	width: 100%;
	padding: 50px 20px;
	text-align: center;
	color: #666;
	font-size: 16px;
}

/* ナビゲーションボタン */
.nav-buttons {
	display: flex;
	gap: 15px;
	margin-top: 20px;
	justify-content: center;
}

.nav-buttons button {
	background: none;
	border: 2px solid #828282;
	color: #828282;
	font-size: 18px;
	cursor: pointer;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	transition: background 0.3s ease;
}

.nav-buttons button:hover {
	background: #5cb531;
	border-color: #5cb531;
	color: #fff;
	font-size: 20px;
}

/* カテゴリフィルタ */
.category-filter {
	list-style: none;
	padding: 0;
	margin: 20px 0;
}

.category-filter li {
	margin: 5px 5px 10px 0;
	display: inline-flex;
}

.category-filter a {
	display: flow;
	padding: 8px 10px;
	width: fit-content;
	color: #fff;
	font-family: 'Noto Sans JP';
	font-size: 10px;
	font-style: normal;
	font-weight: 700;
	border-radius: 20px;
	background: var(--Gray-3, #828282);
	border: 2px solid #828282;
	cursor: pointer;
	transition: all 0.3s ease-in-out;
	text-align: center;
	white-space: nowrap;
	text-decoration: none;
	width: 100px; /* ボタンの幅を指定 */
}

.category-filter a:hover,
.category-filter a.active {
	background-color: #5cb531;
	color: #fff;
	border-color: #5cb531;
	text-decoration: none;
}

/* カテゴリタグ */
.category-item {
	text-align: left;
	font-size: 12px;
	color: #828282;
	margin-bottom: 20px;
	border-radius: 20px;
	border: 1px solid var(--Gray-3, #828282);
	background: #fff;
	padding: 8px 10px;
	margin-right: 5px;
	justify-content: center;
	align-items: center;
	gap: 10px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
	.simple-slide {
		width: calc(100% - 30px);
		height: auto;
		min-height: 350px;
		margin-right: 15px;
	}

	.simple-slide img {
		max-height: 180px;
	}

	.category-filter {
		margin: 20px auto;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 10px;
	}

	.category-filter li {
		margin-bottom: 0;
	}

	.category-filter a {
		display: block;
		width: 100px;
		font-size: 12px;
	}

	.nav-buttons {
		display: none;
	}
}

@media (max-width: 480px) {
	.simple-slide {
		width: calc(100% - 20px);
		margin-right: 10px;
		padding: 15px;
		min-height: 380px;
	}

	.simple-slide img {
		max-height: 200px;
	}

	.simple-slide h3 {
		font-size: 14px;
		margin: 15px 0;
	}

	.category-item {
		font-size: 10px;
		padding: 6px 8px;
	}
}
