img {
    display: block;
    max-width: 100%;
}

.single-image {
    display: block;
    width: 100%;
    max-height: 500px;
    object-fit: contain;
}

.badge {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.three-row-image-grid {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
}

.three-row-image-grid__vertical {
    max-height: 600px;
}

.two-row-image-grid-with-heading__thumb {
    width: 100%;
    object-fit: contain;
    max-height: 600px;
}

.hero-gallery__item {
    flex: 0 0 80%;
    scroll-snap-align: center;
}

.hero-gallery__img {
    width: 100%;
    max-height: 325px;
    object-fit: contain;
}

.top-img {
    width: auto;
    max-height: 270px;
    object-fit: contain;
}

.image-grid__thumb {
    width: 100%;
    object-fit: contain;
}

.two-row-image-grid {
    width: 100%;
    height: 500px;
    object-fit: contain;
    margin-top: var(--small-space);
}

.hero-gallery__smartphone-img {
    max-height: 550px;
}

.two-row-image-grid-with-heading__thumb--smartphone {
    width: 100%;
    object-fit: contain;
}

.contact-btn__icon {
    width: 30px;
    height: 30px;
}

.contact-btn__logo {
    width:auto;
    height:30px;
}

/* レスポンシブ */
@media (max-width: 1024px) {
    .top-img {
    height: 100%;
    }
}

@media (max-width: 900px) {
    .two-row-image-grid-with-heading__thumb--smartphone {
    max-height: 650px;
    }
}

@media (max-width: 700px) {
    .image-grid__thumb {
    width: auto;
    height: auto;
    object-fit: contain;
    }

    .two-row-image-grid {
    width: auto;
    height: auto;
    object-fit: contain;
    }
}