.works-img{
	margin:5rem 0;
}

.before-after{
    gap: 5rem;
    justify-content: center;
}

.before-after a{
display: inline-block;
    width: 250px;
    text-align: center;
    border: 1px solid;
    position: relative;
    font-family: "Cormorant-Bolditalic", "游明朝","Yu Mincho",YuMincho,"Hiragino Mincho Pro",serif;
    font-size: 2.5rem;
    padding: 1rem;
}

.before-after a img{
width: 25px;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.works-text{
	margin:5rem auto;
	max-width:80%;
}

@media screen and (max-width:1600px) {

}

@media screen and (max-width:1400px) {

}

@media screen and (max-width:1200px) {

}

@media screen and (max-width:960px) {

}

@media screen and (max-width:767px) {
.before-after {
    gap: 2rem;
}
.before-after a {
    font-size: 1.8rem;
    padding: 1rem;
}
.before-after a img {
    width: 20px;
}
.works-text {
    margin: 3rem auto;
    max-width: 100%;
}
}



/* 20240912 */
.works-other-after-images {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap:min(16px, 3vw);
}

.works-other-after-images__item {
	overflow: hidden;
	aspect-ratio: 3/2;
}
.works-other-after-images__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media screen and (max-width:767px) {
	.works-other-after-images {
		/* grid-template-columns: repeat(1, 1fr); */
	}
}



#page__works .works-box:has(.works-other-after-images) .image-compare {
	margin-bottom: 2rem;
}