@charset "utf-8";

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
}

/* PC用 */
.hero-pc {
    width: 100%;
    position: relative;
    line-height: 0; /* 追加 */
    font-size: 0;   /* 追加 */
}

.slideshow-pc {
    width: 100%;
    position: relative;
    line-height: 0; /* 追加 */
    font-size: 0;   /* 追加 */
}

.hero-sp {
    display: none;
}

/* 画像共通 */
.slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 1s ease;
    display: block;
    vertical-align: top; /* 追加 */
}

.slide-img:first-child {
    position: relative;
    opacity: 1;
}

.slide-img.active {
    opacity: 1;
}

/* スマホ用 */
@media (max-width: 959px) {
    .hero-pc {
        display: none;
    }
    
    .hero-sp {
        display: block;
        width: 100%;
        position: relative;
        line-height: 0; /* 追加 */
        font-size: 0;   /* 追加 */
    }
    
    .slideshow-sp {
        width: 100%;
        position: relative;
        line-height: 0; /* 追加 */
        font-size: 0;   /* 追加 */
    }
}