/* ===========================
   MJ Precision Gallery
=========================== */

.about-gallery{
    width:100%;
}

.main-swiper{
    width:100%;
    height:470px;
    border-radius:24px;
    overflow:hidden;
    background:#f8fafc;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
}

.main-swiper .swiper-slide{
    display:flex;
    justify-content:center;
    align-items:center;
    overflow:hidden;
}

.main-swiper img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    transition:transform .8s ease;
}

.main-swiper .swiper-slide-active img{
    transform:scale(1.05);
}

/* 좌우 버튼 */

.swiper-button-next,
.swiper-button-prev{

    width:46px;
    height:46px;

    background:white;
    border-radius:50%;

    box-shadow:0 5px 18px rgba(0,0,0,.15);

    color:#2563eb;

    transition:.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover{

    background:#2563eb;
    color:white;

}

.swiper-button-next:after,
.swiper-button-prev:after{

    font-size:18px;
    font-weight:bold;

}

/* 썸네일 */

.thumb-swiper{

    margin-top:18px;

}

.thumb-swiper .swiper-slide{

    opacity:.55;

    cursor:pointer;

    transition:.35s;

    border-radius:14px;

    overflow:hidden;

}

.thumb-swiper .swiper-slide img{

    width:100%;
    height:85px;

    object-fit:cover;
    object-position:center;

}

.thumb-swiper .swiper-slide-thumb-active{

    opacity:1;

    transform:scale(1.08);

    border:3px solid #2563eb;

    box-shadow:0 10px 18px rgba(37,99,235,.25);

}

.thumb-swiper .swiper-slide:hover{

    opacity:1;

    transform:translateY(-3px);

}

/* 반응형 */

@media(max-width:992px){

.main-swiper{

height:360px;

}

}

@media(max-width:768px){

.main-swiper{

height:280px;

border-radius:18px;

}

.thumb-swiper .swiper-slide img{

height:70px;

}

.swiper-button-next,
.swiper-button-prev{

display:none;

}

}

@media(max-width:480px){

.main-swiper{

height:230px;

}

.thumb-swiper .swiper-slide img{

height:58px;

}

}