/*
Theme Name:STORY child
Theme URI:
Description:WordPressテーマ「STORY」の自作子テーマです。
Template:story_tcd041-202604
Author:
Author URI:http://tcd-theme.com/
Version:2.1.6
*/

.gallery01-item {
    opacity: 1;
    overflow: hidden;
    position: relative;
    height: 72px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: opacity 0.5s ease-in-out;
    -moz-transition: opacity 0.5s ease-in-out;
    -ms-transition: opacity 0.5s ease-in-out;
    -o-transition: opacity 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out;
    z-index: 10;
}
.gallery01-item:hover {
    opacity: 0.5;
}
.gallery01-item img {
    margin: auto;
    max-width: 100%;
    max-height: 100%;
    position: absolute;
    top: -100%;
    bottom: -100%;
    left: -100%;
    right: -100%;
    width: auto;
    height: auto;
    z-index: 10;
}

.gallery01-item-inner {
    background: #eaeaea;
    border-left: 3px solid #fff;
    box-sizing: border-box;
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery01_single .slick-arrow {
    background: #585757;
}

@media only screen and (max-width: 767px) {
    .gallery-category {
        background: transparent;
    }

    .gallery_single {
        background: #eaeaea;
        padding: 0;
        position: relative;
    }

    .gallery01_single {
        width: 215px;
        width: 162px;
        margin: 0 50px;
        width: calc(100% - 100px);
        box-sizing: border-box;
    }
    .gallery01_single.slick-slider {
        position: static;
    }
    .gallery01_single .slick-arrow {
        border: none;
        width: 50px;
        height: 48px;
    }
    .gallery01_single .slick-prev {
        top: 0;
        left: 0;
        transform: translate(0px, 0px);
    }
    .gallery01_single .slick-next {
        top: 0;
        right: 0;
        transform: translate(0px, 0px);
    }

    .gallery01-item {
        background: transparent;
        box-sizing: border-box;
        margin: 0;
        height: 48px;
    }
    .gallery01-item:hover {
        opacity: 1;
    }
}
