.gallery .sub_bg {
	padding: 60px 0;
}

.gallery .tab {
	margin-bottom: 50px;
}
.gallery .sub_category .swiper-slide {
	width: auto;
}
.gallery .sub_category .swiper-slide button {
	height: 64px;
	border-radius: 10px;
	background: var(--base);
	font-size: 24px;
	padding: 0 30px;
}
.gallery .sub_category .swiper-slide button.active {
	background: var(--key-color);
	color: var(--white);
	font-weight: bold;
}

.gallery .list {
	margin-top: 50px;
	gap: 60px 30px;
}
.gallery .list .item {
	width: calc(25% - 23px);
}
.gallery .list .item .thumb {
	position: relative;
	height: 0;
	padding-bottom: 100%;
	border-radius: 10px;
	overflow: hidden;
	box-sizing: border-box;
}
.gallery .list .item .thumb img {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 100%;
	transform: translate(-50%,-50%);
	object-fit: cover;
}
.gallery .list .item .thumb img:hover {
	transform: translate(-50%,-50%) scale(1.1);
}
.gallery .list .item .info {
	margin-top: 10px;
	gap: 10px;
}
.gallery .list .item .info .top {
	gap: 10px;
}
.gallery .list .item .info .top div {
	padding: 10px 16px;
	border-radius: 5px;
	box-sizing: border-box;
}
.gallery .list .item .info .top p {
	font-family: 'SUIT';
}
.gallery .list .item .info .store p {
	font-size: 24px;
	font-weight: 500;
	overflow: hidden; 
	text-overflow: ellipsis; 
	white-space: nowrap;
}



.gallery .detail .subject {
	border-radius: 10px;
	background: var(--base2);
	padding: 14px 20px;
	gap: 10px;
	margin-bottom: 40px;
	box-sizing: border-box;
}
.gallery .detail .subject a svg {
	vertical-align: middle;
}
.gallery .detail .subject strong {
	flex: 1;
	width: 100%;
	font-size: 24px;
	font-weight: 400;
	text-align: center;
	text-transform: uppercase;
}
.gallery .detail .cont {
	gap: 20px;
	margin-bottom: 40px;
}
.gallery .detail .cont > div {
	border-radius: 10px;
	overflow: hidden;
}
.gallery .detail .cont > div.date {
	font-size: 24px;
}
.gallery .detail .cont > div img {
	width: 100%;
}



.gallery .map {
	padding: 50px 0;
}




@media screen and (max-width: 1560px) {
	.gallery .list .item .info .store p {
		font-size: 20px;
	}
}
@media screen and (max-width: 1024px) {
	.gallery .list .item {
		width: calc(33.333% - 20px);
	}
	.gallery .sub_category .swiper-slide button {
		height: 50px;
		font-size: 18px;
		padding: 5px 25px 0;
	}
	.gallery .list .item .info .top {
		font-size: 14px;
	}
	.gallery .list .item .info .top div {
		padding: 5px 10px;
	}
	.gallery .list .item .info .store p {
        font-size: 18px;
    }


	.gallery .detail .subject strong,
	.gallery .detail .cont > div.date {
		font-size: 20px;
	}
}
@media screen and (max-width: 768px) {
	.gallery .list {
		margin-top: 30px;
		gap: 30px 15px;
	}
	.gallery .list .item {
		width: calc(50% - 8px);
	}
	.gallery .tab {
		margin-bottom: 30px;
	}
	.gallery .sub_category .swiper-slide button {
        height: 42px;
        font-size: 14px;
        padding: 5px 25px 0;
    }


	.gallery .detail .subject strong,
	.gallery .detail .cont > div.date {
		font-size: 18px;
	}
}
@media screen and (max-width: 480px) {
	.gallery .list .item .info .top {
		justify-content: end;
	}
	.gallery .list .item .info .top div {
		width: 100%;
		text-align: center;
		box-sizing: border-box;
	}
}
@media screen and (max-width: 380px) {
	.gallery .list .item {
		width: 100%;
	}
	
}