/*画像 スライダー　実装*/

.slider1_2 {
    opacity: 0;
    transition: opacity .3s linear;
}

.slider1_2.slick-initialized {
    opacity: 1;
}

.slick-list {
    box-shadow: inherit;
    width: 100% !important;
    max-height: 550px;
}

.detail-img {
    object-fit: cover;
}

.slick-slide {
    height: 100% !important;
}

/*
.slick-track {
    align-items: start !important;
} */

.slider_outer2 {
    width: 100%;
    height: 650px;
    margin: 40px auto 0;
    position: relative;
    /* display: -webkit-flex;
    display: -ms-flex;
    display: flex; */
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: start;
    -ms-flex-line-pack: center;
    align-content: center;
}

.slider_outer2 .slider1_2 {
    width: 100%;
    margin: 0 auto;
    height: 550px;
}

.slider_outer2 .slick-track {
    height: 100%;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    align-items: center;
    -ms-flex-line-pack: center;
    align-content: center;
}

.slider_outer2 .slide-item img {
    width: 100%;
    height: 100%;
    max-width: 618px;
    max-height: 550px;
    object-fit: contain;
}

.slider_outer2 .thumb1_2 {
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: flex;
    /* justify-content: space-between; */
    /* flex-wrap: wrap; */
    padding-left: 0;
    margin-left: auto;
    list-style-type: none;
    gap: 5px;
}

.slider_outer2 .thumbnail-item {
    margin-top: 40px;
    box-sizing: border-box;
    position: relative;
}

.slider_outer2 .thumbnail-item:after {
    content: '';
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: .3s opacity linear;
}

.slider_outer2 .thumbnail-item.thumbnail-current:after {
    opacity: 0;
}

.slider_outer2 .thumbnail-item img {
    width: 100%;
    height: 100%;
    max-width: 65px;
    max-height: 65px;
    aspect-ratio: 1/1;
    object-fit: contain;
    margin: 0 auto;
}

.slider_outer2 .thumbnail-item.thumbnail-current img {
    border: 3px solid rgb(185, 185, 185);
}

.slick-prev {
    left: -30px;
    width: 32px !important;
    height: 32px !important;
}

.slick-prev:before {
    color: #9e9e9e;
    font-size: 30px;
}

.slick-next {
    right: -30px;
    width: 32px !important;
    height: 32px !important;
}


.slick-next:before {
    color: #9e9e9e;
    font-size: 30px;
}

.sunpou-img {
    width: 65%;
}

@media only screen and (max-width:1024px) {
    .slider_outer2 .thumbnail-item img {
        max-width: 110px;
    }
}

@media only screen and (max-width:770px) {
    .thumb1_2 {
        display: none !important;
    }
}

@media only screen and (max-width:450px) {
    .slider_outer2 .slide-item img,
    .slider_outer2 .slider1_2,
    .slick-list
    {
        max-height: 320px;
    }
    .slider_outer2{
        height: auto;
        margin-top: 30px;
    }
}
