@charset "UTF-8";

:root{
    --main-w: 1440;
}

img{
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

.lpcomp{
    text-align: center;
    width: 100%;
}

.lpcomp__info{
    margin-top: min(max(120 / var(--main-w) * 100vw,60px), 120px);
}

.lpcomp_01{
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.lpcomp__item01{
    max-width: 1014px;
    width: 100%;
    margin: 0 auto;
}

.lpcomp__button{
    text-align: center;
    margin-top: 75px;
}

.lpcomp__button__item,.lpcomp_03__button__item{
    display: inline-block;
    width: min(max(325 / var(--main-w) * 100vw,250px), 325px);
    max-width: calc(100% - 30px);
}

.lpcomp__access{
    max-width: 1000px;
    width: calc(100% - 30px);
    margin: 0 auto;
    margin-top: 120px;
    margin-bottom: 100px;
}

.lpcomp__access__ttl{
    width: min(max(211 / var(--main-w) * 100vw,130px), 211px);
    margin: 0 auto;
    max-width: 100%;
}

.lpcomp__access__border{
    padding: 60px 40px;
    border: 4px solid #7ECEF4;
    border-radius: 25px;
    margin-top: 55px;
}

.lpcomp__access__border__info{
    width: 100%;
}

.lpcomp__access__border__iframe{
    width: 100%;
    height: auto;
    aspect-ratio: 920/296;
    margin-top: 45px;
}

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

.lpcomp_02{
    max-width: 1070px;
    width: 100%;
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 100px;
}

.lpcomp_03{
    text-align: center;
    padding: 80px 0;
    background-color: rgba(212, 236, 243, 0.52);
}

.lpcomp_03 img{
    max-width: 1000px;
    width: calc(100% - 30px);
    margin: 0 auto;
}

.lpcomp_03__button{
    margin: 32px 0 80px 0;
    text-align: center;
}

.lpcomp_03__button__item img{
    width: 100%;
}

.lpcomp_04{
    text-align: right;
    padding: 40px 30px;
    background-color: #7ECEF4;
}

.lpcomp_04 img{
    max-width: 581.39px;
    width: calc(100% - 30px);
}

.lpcomp_05{
    position: relative;
    padding: min(max(200 / var(--main-w) * 100vw,135px), 200px) 0 min(max(80 / var(--main-w) * 100vw,50px), 80px) 0;
    background: url(../img/milkfesbg.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: clamp(-140px, -140 / var(--main-w) * 100vw, -100px);;
}

.lpcomp_05::after{
    content: "";
    position: absolute;
    width: 100%;
    height: min(max(215 / var(--main-w) * 100vw,90px), 215px);
    left: 0;
    bottom: -2px;
    background: linear-gradient(to bottom,rgba(255,255,255,0) 0% , rgba(255,255,255,1) 100%);
}

.lpcomp_05 img{
    position: relative;
    z-index: 1;
    max-width: 1000px;
    width: calc(100% - 30px);
    margin: 0 auto;
}

.lpcomp__item02,.lpcomp__item03{
    display: none;
}

.lpcomp__button--sp{
    display: none;
}

@media (max-width: 510px){
    .lpcomp{
        width: 100%;
        margin: 0;
        background: unset;
        padding: 0;
    }

    .lpcomp__access{
        width: calc(100% - 30px);
        margin: 0 auto;
    }

    .lpcomp img{
        width: 100%;
    }

    .lpcomp_05{
        display: none;
    }

    .lpcomp__item02,.lpcomp__item03{
        display: block;
    }
    .lpcomp__info{
        max-width: calc(100% - 30px);
        margin: 0 auto;
        margin-top: 40px;
    }

    .lpcomp__button{
        margin-top: 24px;
    }

    .lpcomp__button--sp{
        display: block;
        margin-top: 20px;
    }

    .lpcomp__button__item{
        margin-top: 30px;
    }


    .lpcomp__button__item, .lpcomp_03__button__item{
        width: 66%;
    }

    .lpcomp__button__item--up{
        width: 48%;
    }

    .lpcomp__item02{
        margin-top: 56px;
    }

    .lpcomp__item03{
        margin-top: 80px;
    }

    .lpcomp__access{
        margin-top: 80px;
    }

    .lpcomp__access__border{
        padding: 42px 15px 52px 15px;
        margin-top: 40px;
    }

    .lpcomp__access__border__iframe{
        aspect-ratio: 315/200;
    }

    .lpcomp_03{
        padding: 80px 15px 60px 15px;
        background-color: rgba(212, 236, 243, 0.52);
        margin-top: 80px;
    }

    .lpcomp_01::after{
        content: "";
        position: absolute;
        width: 100%;
        height: min(max(215 / var(--main-w) * 100vw,65px), 215px);
        left: 0;
        bottom: -2px;
        background: linear-gradient(to bottom,rgba(255,255,255,0) 0% , rgba(255,255,255,1) 100%);
    }
}