@charset "utf-8";

/* ============
OUR FARMS: 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;
}

.infograph__wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* 中央揃え */
    gap: 10px;
    /* アイテム間の余白 */
    list-style: none;
    padding: 0;
    margin: 0;
}

.lead__infograph {
    flex: 0 0 calc(33% - 10px);
    /* 1行に2個ずつ配置 */
    text-align: center;
}

.lead__infograph:nth-child(5) {
    flex: 0 0 100%;
    /* 5個目は1行に1個で中央配置 */
}

.value__pic {
    width: 100%;
    max-width: 120px;
    height: auto;
    margin-bottom: 10px;
}

@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__lead {
        margin: 60px 0;
    }

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

    .header__map {
        width: 40%;
    }

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

    .lead__txt {
        max-width: 800px;
    }

}

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

    @media (min-width: 769px) {
        .infograph__wrap {
            justify-content: space-between;
        }

        .lead__infograph {
            flex: 0 0 calc(20% - 15px);
            /* 5個を横一列 */
        }

        .lead__infograph:nth-child(5) {
            flex: 0 0 calc(20% - 15px);
            /* PC版では同じサイズ */
        }
    }
}

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

/* ============
OUR FARMS: contents
============ */
.section__farm {
    width: 100%;
    position: relative;
    margin-top: 60px;
}

.section__farm--natura {
    margin: 0;
}

.farm__wrap {
    width: var(--contentWidth);
    margin: 0 auto;
    font-size: 1.6rem;
}

.farm__name {
    font-size: 2.2rem;
    font-weight: 600;
}

.farm__introduction {
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 20px;
}

.section__farm--foresta .farm__name,
.section__farm--foresta .farm__introduction,
.section__farm--miel .farm__name,
.section__farm--miel .farm__introduction,
.section__farm--isabel .farm__name,
.section__farm--isabel .farm__introduction {
    text-align: right;
}

.section__farm--foresta .farm__place,
.section__farm--foresta .farm__altitude,
.section__farm--miel .farm__place,
.section__farm--miel .farm__altitude,
.section__farm--isabel .farm__place,
.section__farm--isabel .farm__altitude {
    justify-content: flex-end;
}

.farm__place {
    color: var(--primary-brown);
    font-weight: 600;
    margin-top: 20px;
    align-items: center;
    display: flex;
    align-items: center;
}

.farm__place::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 28px;
    background-image: url(../images/bean.svg);
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 4px;
}

.farm__altitude {
    color: var(--primary-green);
    font-weight: 600;
    margin-top: 10px;
    align-items: center;
    display: flex;
    align-items: center;
}

.farm__altitude::before {
    content: '';
    display: inline-block;
    width: 45px;
    height: 30px;
    background-image: url(../images/altitude.svg);
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 8px;
}

.farm__txt {
    margin-top: 20px;
    text-align: justify;
}

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

.farms__slider {
    position: relative;
    width: 100%;
    aspect-ratio: 375 / 206;
    height: auto;
}

.farms__slider li {
    position: absolute;
    inset: 0;
    opacity: 0;
    animation: farmSlide 12s infinite;
}

.farms__slider li:nth-child(1) {
    animation-delay: 0s;
}

.farms__slider li:nth-child(2) {
    animation-delay: 4s;
}

.farms__slider li:nth-child(3) {
    animation-delay: 8s;
}


@keyframes farmSlide {
    0% {
        opacity: 0;
    }

    8% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    41% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.farm__pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.section__farm--miel {
    margin-bottom: 80px;
}

/* farms__lead: PC 1024px */
@media screen and (min-width:1024px) {
    .section__farm {
        margin-top: 120px;
        position: relative;
        display: flex;
        justify-content: center;
    }

    .section__farm--foresta,
    .section__farm--miel,
    .section__farm--isabel {
        flex-direction: row-reverse;
    }

    .section__farm--natura {
        margin: 60px 0 0 0;
    }

    .farm__wrap {
        width: 100%;
        margin: 0;
        font-size: 1.8rem;
    }

    .section__farm--natura .farm__wrap,
    .section__farm--zafiro .farm__wrap,
    .section__farm--estrellas .farm__wrap {
        padding-left: 12.5%;
        padding-right: 4.9%;
    }

    .section__farm--foresta .farm__wrap,
    .section__farm--miel .farm__wrap,
    .section__farm--isabel .farm__wrap {
        padding-right: 12.5%;
        padding-left: 4.9%;
    }

    .farm__name {
        font-size: 3.2rem;
    }

    .farm__introduction {
        font-size: 2.4rem;
        margin-top: 30px;
    }

    .section__farm--foresta .farm__name,
    .section__farm--foresta .farm__introduction,
    .section__farm--miel .farm__name,
    .section__farm--miel .farm__introduction,
    .section__farm--isabel .farm__name,
    .section__farm--isabel .farm__introduction {
        text-align: left;
    }

    .section__farm--foresta .farm__place,
    .section__farm--foresta .farm__altitude,
    .section__farm--miel .farm__place,
    .section__farm--miel .farm__altitude,
    .section__farm--isabel .farm__place,
    .section__farm--isabel .farm__altitude {
        justify-content: flex-start;
    }

    .farm__info {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 40px;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .farm__place {
        font-weight: 600;
        margin-top: 0px;
        align-items: center;
        display: flex;
        align-items: center;
    }

    .farm__altitude {
        font-weight: 600;
        margin-top: 0px;
        align-items: center;
        display: flex;
        align-items: center;
    }

    .farm__txt {
        margin-top: 20px;
    }

    .farm__txt:first-of-type {
        margin-top: 30px;
    }

    .farm__picWrap {
        width: 100%;
        margin-top: 30px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .farm__award {
        display: block;
        width: 145px;
        height: 145px;
        object-fit: contain;
    }

    .farm__award--zafiro {
        margin-left: auto;
    }

    .section__farm--isabel {
        margin-bottom: 80px;
    }
}

/* farms__lead: PC 1024px */

/* slide animation */



.farms__slider li:nth-child(1) {
    animation-delay: 0s;
}

.farms__slider li:nth-child(2) {
    animation-delay: 4s;
}

.farms__slider li:nth-child(3) {
    animation-delay: 8s;
}


@keyframes farmSlide {
    0% {
        opacity: 0;
    }

    8% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    41% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.farm__pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
}