.yokuchi-intro {
    position: relative;
    overflow: hidden;

    background: transparent;
}

.yokuchi-intro__container {
    width: 100%;
    max-width: 1440px;

    margin: 0 auto;
}

.yokuchi-intro__header {
    max-width: 1150px;
    margin-bottom: 55px;
}

.yokuchi-intro__title {
    position: relative;

    margin: 0 0 35px;
    padding-bottom: 22px;

    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 28px;
    line-height: 40px;
    font-weight: 500;

    letter-spacing: 8px;
    text-transform: uppercase;

    color: #1d1d1b;
}

.yokuchi-intro__title::after {
    content: '';

    position: absolute;
    left: 0;
    bottom: 0;

    width: 45px;
    height: 2px;

    background: #e64d4d;
}

.yokuchi-intro__description {
    max-width: 1100px;

    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    letter-spacing: 0;

    color: #6b6b6b;
}

.yokuchi-intro__description p {
    margin: 0;
}

.yokuchi-intro__gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.yokuchi-intro__image {
    overflow: hidden;

    width: 100%;
    height: 265px;
}

.yokuchi-intro__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* TABLET */

@media (max-width: 1024px) {
    .yokuchi-intro__gallery {
        gap: 14px;
    }

    .yokuchi-intro__image {
        height: 220px;
    }
}


/* MOBILE */

@media (max-width: 767px) {
    .yokuchi-intro__title {
        font-size: 18px;
        font-weight: 500;
        line-height: 25px;
        letter-spacing: 4px;
    }

    .yokuchi-intro__description {
        font-size: 16px;
        font-weight: 300;
        line-height: 24px;
        letter-spacing: 0;
    }

    .yokuchi-intro__gallery {
        display: flex;
        gap: 15px;
        width: calc(100% + 20px);
        margin-right: -20px;
        padding-right: 20px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .yokuchi-intro__gallery::-webkit-scrollbar {
        display: none;
    }

    .yokuchi-intro__image {
        flex: 0 0 82vw;
        max-width: 360px;
        height: auto;
        scroll-snap-align: start;
    }

    .yokuchi-intro__image img {
        height: auto;
        aspect-ratio: 16 / 10;
        object-fit: cover;
    }
}
