.ks-sen-gallery-wrap {
	margin-top: 24px;
}
.ks-sen-gallery-filter {
	margin: 16px 0 24px;
}
.ks-sen-gallery-filter-row {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	align-items: center;
}
.ks-sen-gallery-filter-item {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	margin-right: 8px;
}
.ks-sen-gallery-filter-label {
	font-size: 14px;
	font-weight: bold;
	color: #555;
	margin-right: 4px;
	white-space: nowrap;
}
.ks-sen-gallery-filter select {
	padding: 12px 16px;
	min-width: 260px;
	height: 48px;
	font-size: 16px;
	border: 1px solid #ccc;
	border-radius: 6px;
	background-color: #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
	box-sizing: border-box;
	cursor: pointer;
}
.ks-sen-gallery-filter select:hover {
	border-color: #e67e22;
}
.ks-sen-gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: 16px;
}
.ks-sen-gallery-card {
	display: flex;
	flex-direction: column;
	border: 1px solid #ddd;
	padding: 12px;
	text-align: center;
	background: #fff;
}
.ks-sen-gallery-card img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	display: block;
	margin-bottom: 8px;
}
.ks-sen-gallery-card .school-name {
	font-weight: bold;
	font-size: 14px;
	margin: 4px 0;
	min-height: 2.8em;
	display: flex;
	align-items: center;
	justify-content: center;
}
.ks-sen-gallery-card .school-pref {
	font-size: 12px;
	color: #666;
	margin: 0 0 8px;
}
.ks-sen-gallery-btn {
	display: inline-block;
	background: #e67e22;
	color: #fff;
	padding: 8px 16px;
	text-decoration: none;
	font-size: 13px;
	margin-top: auto;
}
.ks-sen-gallery-empty {
	text-align: center;
	padding: 40px 0;
	color: #888;
}
@media (max-width: 600px) {
	.ks-sen-gallery-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
	.ks-sen-gallery-filter-row {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
	}
	.ks-sen-gallery-filter-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
		margin-right: 0;
		width: 100%;
	}
	.ks-sen-gallery-filter select {
		width: 100%;
		min-width: 0;
	}
}