@charset "utf-8";

/* ============
COMMUNITY: HEADER
============ */
.article__header {
    text-align: center;
    font-family: "Montserrat";
    font-size: 2.6rem;
    font-weight: 500;
    line-height: normal;
    margin-top: 40px;
}

.lead__lead {
    font-size: 2.2rem;
    font-weight: 600;
    line-height: normal;
    text-align: center;
}

.lead__txt {
    margin-top: 20px;
}

.lead__wrap {
    width: var(--contentWidth);
    margin: 40px auto;
}

.header__map {
    display: block;
    width: var(--contentWidth);
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

.footer {
    margin-top: 0;
}

@media (min-width: 768px) {
    .header__wrap {
        max-width: 1200px;
        width: var(--contentWidth);
        margin: 0 auto;
    }

    .article__header {
        font-size: clamp(24px, 3.33vw, 48px);
    }

    .lead__wrap {
        width: 60%;
    }

    .lead__lead {
        margin: 60px 0;
    }

    .lead__flex {
        display: flex;
        justify-content: center;
        gap: 0 5%;
    }

    .header__map {
        width: 30%;
        margin-top: 100px;
    }

    .lead__lead {
        font-size: 2.8rem;
        text-align: left;
    }

    .lead__txt {
        max-width: 800px;
    }

}

@media (min-width: 1024px) {
    .lead__lead br {
        display: none;
    }
}


/* === Main Header END === */

/* ============
section: Project contents
============ */
.project__wrap {
    width: var(--contentWidth);
    margin: 40px auto;
}

.project__title {
    font-size: 2.2rem;
    font-weight: 600;
    line-height: normal;
}

.project__enTitle {
    display: block;
    font-family: "Montserrat", Poppins, sans-serif;
    font-size: 1.7rem;
    font-weight: 500;
    line-height: normal;
    color: var(--gray-high);
    margin-left: 2rem;
    margin-top: 8px;
}

.project__txt {
    margin-top: 20px;
}

.project__description {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 16px;
    gap: 15px;
}

.description__icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
}

.description__content {
    flex: 1;
    text-align: start;
    margin-top: 20px;
}

.description__title {
    font-family: "Montserrat", Poppins, sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
}

.description__title span {
    font-family: "Zen Kaku Gothic New", "Noto Sans", sans-serif;
    font-weight: 600;
}

.description__txt {
    margin-top: 4px;
}


/* PCレイアウト（769px以上） */
@media (min-width: 769px) {
    .project__wrap {
        max-width: 1080px;
        width: var(--contentWidth);
        margin: 80px auto 40px;
    }

    .project__title {
        font-size: 2.8rem;
    }

    .project__enTitle {
        font-size: 1.8rem;
        margin-left: 26px;
    }

    .project__txt {
        margin-top: 32px;
    }

    .description__wrap {
        width: 88%;
        margin: 40px auto;
    }

    .project__description {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        margin-bottom: 40px;
        gap: 20px;
    }

    .description__icon {
        width: 60px;
        height: 60px;
        font-size: 12px;
    }

    .description__content {
        text-align: left;
        margin: 0;
    }

    .description__title {
        font-size: 2rem;
    }

}


/* ============
section: Project photos
============ */
.project__images {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.project-swiper {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.project-swiper .swiper-wrapper,
.project-swiper .swiper-slide {
    height: 100%;
}

.project-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* 丸ぽちなし */
.project-swiper .swiper-pagination {
    display: none !important;
    pointer-events: none !important;
}


/* ============
PC（769px以上）：スライダーをやめて4枚並列表示
============ */
@media (min-width: 769px) {
    .project__images {
        max-width: none;
        margin-top: 80px;
    }

    .project-swiper {
        aspect-ratio: auto;
        height: auto;
    }

    .project-swiper .swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
        transform: none !important;
        transition: none !important;
    }

    .project-swiper .swiper-slide {
        width: auto !important;
        margin-right: 0 !important;
        height: auto;
        /* gridなので高さは中で固定する */
    }

    .project-swiper .swiper-slide {
        aspect-ratio: 3 / 2;
        overflow: hidden;
    }

    .project-swiper .swiper-wrapper,
    .project-swiper .swiper-slide {
        height: auto;
    }

    .project-swiper .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}