html {
    overflow: hidden;
}

.gallery {
    position: absolute;
    z-index: 999;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: row-reverse;
    overflow: hidden;
}

.gallery img {
    height: 100vh;
    width: 25%;
    object-fit: cover;
    transition: transform 1s ease, opacity 1.5s ease;
    transform: translateY(-100%);
    opacity: 0;
}

.gallery img.active {
    opacity: 1;
}

.gallery img.passive {
    opacity: 0;
}

header.home {
    display: none;
    transition: top 1s ease; /* スライド時のアニメーション */
}

main.home {
    width: 100%;
    display: none;
    margin: 0px;
    margin-top: 155px;
}

img.home{
    width: 100%;
    height: 85vh;
    object-fit: cover;
    overflow: hidden;
}