@charset "UTF-8";
/* コンテンツ */


.gallery_box {
    position: relative;
}   
.gallery-top {
    margin-bottom: 1.5em;
}
.gallery-top .swiper-slide {
    width: 100% !important;
    height: auto;
    text-align: center;
}
.gallery-top .swiper-slide section {
    width: 100% !important;
    height: auto;
    aspect-ratio:16 / 9;
    max-height: 640px;
}
.gallery-top .swiper-slide img {
    height: 100%;
}
.gallery-top .swiper-slide p {
    text-align: center;
    font-size: 1em;
    line-height: 1.5;
    margin-top: 0.5em;
}

.thumb_box {
    position: relative;
}
.gallery-thumbs .swiper-slide {
    width: auto !important;
    opacity: 1;
    height: 110px;
}
.gallery-thumbs .swiper-slide img {
    height: 100%;
    cursor: pointer;
}
.gallery-thumbs .swiper-slide-active {
    opacity: 0.4;
}
    
.swiper-button-prev {
    left: 0 !important;
    background: url("../../img/left.png") no-repeat center center !important;
    background-size:cover !important;
}
.swiper-button-next {
    right: 0 !important;
    background: url("../../img/right.png") no-repeat center center !important;
	background-size:cover !important;
}
.swiper-button-prev,
.swiper-button-next {
  top: calc(50% - 20px) !important;
  width: 18px;
  height: 40px;
  margin-top: 0 !important;
}
.swiper-button-prev,.swiper-button-nexr {
    transition: opacity 0.3s;
}
.swiper-button-prev:hover,.swiper-button-next:hover {
    opacity: 0.6;
}



@media screen and (max-width: 960px) {  
.gallery-top .swiper-slide section {
    aspect-ratio:3 / 2;
    max-height: none;
}

.gallery-top .swiper-slide p {
    text-align: left;
}

.gallery-thumbs .swiper-slide {
    height: 80px;
}
    
.swiper-button-prev {
    left: -4.5% !important;
}
.swiper-button-next {
    right: -4.5% !important;
}
.swiper-button-prev,
.swiper-button-next {
  top: calc(50% - 15px) !important;
  width: 13px;
  height: 30px;
  margin-top: 0 !important;
}
.swiper-button-prev,.swiper-button-nexr {
    transition: opacity 0.3s;
}
.swiper-button-prev:hover,.swiper-button-next:hover {
    opacity: 0.6;
}


}


@media screen and (max-width: 520px) {
.gallery-thumbs .swiper-slide {
    height: 50px;
}
    
.swiper-button-prev {
    left: -6% !important;
}
.swiper-button-next {
    right: -6% !important;
}


}
