/* 共通パーツ */
.section__title {
    font-size: 50px;
    font-family: var(--main-font-family);
    color: var(--main-color);
    font-weight: 400;

    @media screen and (max-width: 768px) {
        font-size: 65px;
        line-height: 1.2;
    }
}

.section__sub-title {
    font-size: 18px;
    font-family: var(--sub-font-family);
    color: var(--main-color);
    margin-top: 23px;
    font-weight: 500;

    @media screen and (max-width: 768px) {
        margin-top: 12px;
        font-size: 31px;
    }
}

/* main */
.body {
    position: relative;
}

/* link */
.link {
    position: fixed;
    width: min(max(47.4px, 7.3vh), 79px);
    top: min(max(72px, 11.1vh), 120px);
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: min(max(12px, 1.85vh), 20px);
    z-index: 9999;
    top: calc(30vh);


    @media screen and (max-width: 768px) {
        width: 100%;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        flex-direction: row;
        gap: 0;
        align-items: stretch;
    }
}

.link__wrapper {
    width: 100%;

    @media screen and (max-width: 768px) {
        width: 50%;
        display: flex;
    }
}

.link__wrapper-pc {
    @media screen and (max-width: 768px) {
        display: none;
    }
}

.link__wrapper-sp {
    display: none;

    @media screen and (max-width: 768px) {
        display: flex;
        width: 50%;
    }
}

.link__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.link__img-1 {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 79 / 235;
    object-fit: cover;

    @media screen and (max-width: 768px) {
        display: none;
    }
}

.link__img-2 {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 79 / 209;
    object-fit: cover;

    @media screen and (max-width: 768px) {
        display: none;
    }
}

.link__img-3 {
    display: none;

    @media screen and (max-width: 768px) {
        display: block;
        width: 100%;
        height: auto;
    }
}

.link__img-4 {
    display: none;

    @media screen and (max-width: 768px) {
        display: block;
        width: 100%;
        height: auto;
    }
}

.link__btn {
    display: block;
    transition: opacity 0.3s ease, transform 0.2s ease;
    text-decoration: none;
    width: 100%;
    height: auto;

    @media screen and (max-width: 768px) {
        width: 100%;
        height: 100%;
    }

    &:hover {
        opacity: 0.9;
        transform: scale(1.02);
    }

    &:active {
        transform: scale(0.98);
        opacity: 0.8;
    }
}

.link__btn-1 {
    width: 100%;
    height: auto;

    @media screen and (max-width: 768px) {
        display: none;
    }
}

.link__btn-2 {
    width: 100%;
    height: auto;

    @media screen and (max-width: 768px) {
        display: none;
    }
}

.link__btn-3 {
    display: none;

    @media screen and (max-width: 768px) {
        display: block;
        width: 100%;
        height: 100%;
    }
}

.link__btn-4 {
    display: none;

    @media screen and (max-width: 768px) {
        display: block;
        width: 100%;
        height: 100%;
    }
}


/* fv */
.fv {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 54px;
    max-width: 1600px;
    margin-inline: auto;

    @media screen and (max-width: 1024px) {
        gap: 20px;
    }

    @media screen and (max-width: 768px) {
        gap: 0px;
    }
}

.fv__wrapper {
    position: relative;
    z-index: 10;
    margin-top: 108px;
    padding: 68px 0 0 30px;

    @media screen and (min-width: 769px) and (max-width: 1600px) {
        padding-left: calc(30px + (96px - 30px) * (100vw - 768px) / (1600px - 768px));
    }

    @media screen and (min-width: 1600px) {
        padding-left: 96px;
    }

    @media screen and (max-width: 1024px) {
        padding-top: 30px;
    }

    @media screen and (max-width: 768px) {
        margin-top: 0;
        padding: 43px 30px 33px 9vw;
    }
}

.fv__title {
    letter-spacing: 1.61px;
    line-height: 1.2;

    @media screen and (max-width: 768px) {
        font-size: 54px;
        line-height: 1.2;
    }
}

.fv__sub-title {
    font-size: 25px;
    font-family: var(--sub-font-family);
    color: var(--main-color);
    font-weight: 500;
    line-height: 1.2;

    @media screen and (max-width: 768px) {
        font-size: 38px;
    }
}

.fv__sub-text {
    font-size: 14px;
    color: var(--main-color);
    margin-top: 15px;
    font-weight: 600;
    line-height: 1.2;

    @media screen and (max-width: 768px) {
        font-size: 19px;
        margin-top: 10px;
    }
}

.fv__text {
    font-size: 14px;
    font-family: var(--main-font-family);
    color: var(--main-color);
    margin-top: 34px;
    font-weight: 400;
    line-height: 1.2;

    @media screen and (max-width: 1024px) {
        margin-top: 20px;
    }
}

.fv__break {
    display: none;

    @media screen and (max-width: 1024px) {
        display: block;
    }

    @media screen and (max-width: 768px) {
        display: none;
    }
}

.fv__img1-wrapper {
    position: absolute;
    top: 0;
    right: 0px;
    z-index: 2;

    @media screen and (min-width: 1600px) and (max-width: 1920px) {
        right: calc(160px * (100vw - 1600px) / (1920px - 1600px));
    }

    @media screen and (min-width: 1920px) {
        right: 160px;
    }

    @media screen and (max-width: 768px) {
        position: relative;
        margin-top: calc(10vw + 51px);
        margin-right: 7vw;
        border-top-right-radius: 100px;
        overflow: hidden;
        display: inline-block;
        width: calc(100% - 7vw);
        z-index: -1;
    }
}

.fv__img1 {
    width: min(896px, 55vw);
    height: min(891px, 55vw);
    aspect-ratio: 896 / 891;
    object-fit: cover;
    z-index: 2;
    display: block;
    position: relative;

    @media screen and (max-width: 768px) {
        aspect-ratio: 718 / 533;
        width: 100%;
        height: auto;
        object-fit: cover;
        z-index: -1;
    }
}

.fv__img1.u-pc {
    display: block;

    @media screen and (max-width: 768px) {
        display: none;
    }
}

.fv__img1.u-sp {
    display: none;

    @media screen and (max-width: 768px) {
        display: block;
    }
}

.fv__img2 {
    position: relative;
    width: min(595px, 40vw);
    height: min(432px, 30vw);
    aspect-ratio: 595 / 432;
    object-fit: cover;
    z-index: 1;

    @media screen and (max-width: 768px) {
        aspect-ratio: 234 / 304;
        height: 40vw;
        width: auto;
        object-fit: cover;
        margin-left: auto;
        margin-right: 18.5%;
    }
}

.fv__img2.u-pc {
    display: block;

    @media screen and (max-width: 768px) {
        display: none;
    }
}

.fv__img2.u-sp {
    display: none;

    @media screen and (max-width: 768px) {
        display: block;
    }
}

/* message */
.message {
    position: relative;
    padding-block: 183px 160px;
    max-width: 1600px;
    margin-inline: auto;

    @media screen and (max-width: 768px) {
        flex-direction: column-reverse;
        gap: 100px;
        padding: 220px 0 0;
    }
}

.message::before {
    content: "";
    position: absolute;
    background-image: url(../img/bg1.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 450px;
    height: auto;
    aspect-ratio: 617 / 472;
    bottom: -100px;
    left: 0%;

    @media screen and (min-width: 769px) and (max-width: 1600px) {
        width: calc(450px + (617px - 450px) * (100vw - 769px) / (1600px - 769px));
        left: calc(5% * (100vw - 769px) / (1600px - 769px));
    }

    @media screen and (min-width: 1600px) {
        width: 617px;
        left: 5%;
    }
    z-index: 0;

    @media screen and (max-width: 768px) {
        width: 70vw;
        height: auto;
        aspect-ratio: 552 / 460;
        bottom: -75px;
        left: 5%;
    }
}

.message::after {
    content: "";
    position: absolute;
    background-image: url(../img/bg2.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 300px;
    height: 368px;

    @media screen and (min-width: 769px) and (max-width: 1600px) {
        width: calc(300px + (444px - 300px) * (100vw - 768px) / (1600px - 768px));
    }

    @media screen and (min-width: 1600px) {
        width: 444px;
    }
    top: 0;
    right: 0;
    z-index: -2;

    @media screen and (max-width: 768px) {
        width: 420px;
        height: 339px;
        aspect-ratio: 420 / 339;
        right: 50%;
        transform: translateX(50%);
        top: -200px;
    }

    @media screen and (max-width: 570px) {
        width: 50vw;
        height: auto;
        top: -100px;
    }
}

.message__wrapper {
    padding-left: 30px;

    @media screen and (min-width: 769px) and (max-width: 1600px) {
        padding-left: calc(30px + (248px - 30px) * (100vw - 768px) / (1600px - 768px));
    }

    @media screen and (min-width: 1600px) {
        padding-left: 248px;
    }

    @media screen and (max-width: 768px) {
        padding-inline: max(7vw, 30px);
        padding-bottom: 0;
    }
}

.message__titles {
    position: relative;
    z-index: 10;
}

.message__titles::before {
    content: "";
    position: absolute;
    background-image: url(../img/message-img3.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 480px;
    height: 110px;
    aspect-ratio: 480 / 110;
    top: 100px;
    left: -150px;
    z-index: -1;

    @media screen and (max-width: 768px) {
        width: 60vw;
        height: auto;
        aspect-ratio: 480 / 110;
        top: 100px;
        left: 5%;
        z-index: -1;
    }

    @media screen and (max-width: 570px) {
        height: auto;
        top: 50px;
        aspect-ratio: 480 / 110;
        z-index: -1;
    }
}

.message__texts {
    position: relative;
    font-size: 14px;
    color: var(--sub-text-color);
    margin-top: 100px;
    z-index: 10;

    @media screen and (max-width: 768px) {
        margin-top: 100px;
    }

    @media screen and (max-width: 570px) {
        font-size: 14px;
    }
}

.message__text {
    position: relative;
    margin-top: 30px;
    z-index: 10;
    font-size: 15px;
    font-weight: 500;
    font-family: var(--third-font-family);

    @media screen and (max-width: 768px) {
        font-size: 26px;
    }

    @media screen and (max-width: 570px) {
        font-size: 16px;
    }
}

.message__imgs {
    position: absolute;
    width: min(900px, 65vw);
    right: 64px;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 48px;
    z-index: 1;

    @media screen and (min-width: 769px) and (max-width: 1600px) {
        gap: calc(330px - (330px - 48px) * (100vw - 768px) / (1600px - 768px));
    }

    @media screen and (max-width: 768px) {
        position: relative;
        width: 100%;
        height: fit-content;
    }
}   

.message__img1 {
    position: relative;
    display: block;
    width: min(557px, 40vw);
    height: min(445px, 30vw);
    aspect-ratio: 557 / 445;
    margin-left: auto;
    z-index: -1;

    @media screen and (max-width: 768px) {
        aspect-ratio: 301 / 304;
        position: absolute;
        width: auto;
        height: 40vw;
        top: 20px;
        right: 10%;
        object-fit: cover;
        z-index: 2;
    }
}

.message__img2 {
    position: relative;
    display: block;
    width: min(396px, 35vw);
    height: min(302px, 30vw);
    aspect-ratio: 396 / 302;
    margin-top: auto;
    z-index: 20;

    @media screen and (max-width: 768px) {
        aspect-ratio: 491 / 789;
        position: absolute;
        height: 50vw;
        width:auto;
        margin-top: 0;
        top: -250px;
        left: 15%;

        @media screen and (min-width: 375px) and (max-width: 768px) {
            top: calc(-100px - 150px * (100vw - 375px) / (768px - 375px));
        }

        @media screen and (min-width: 769px) {
            top: -100px;
        }
        aspect-ratio: 491 / 789;
    }
}

.message__img4 {
    position: relative;
    width: 166px;
    height: 107px;
    aspect-ratio: 166 / 107;
    object-fit: contain;
    z-index: 3;
    margin-left: 0px;
    margin-top: 80px;

    @media screen and (min-width: 1000px) and (max-width: 1600px) {
        margin-left: calc(0px + (20px - 0px) * (100vw - 1000px) / (1600px - 1000px));
    }

    @media screen and (min-width: 1600px) {
        margin-left: 20px;
    }

    @media screen and (max-width: 570px) {
        width: 100px;
        height: auto;
    }
}

.message__img1.u-pc {
    display: block;

    @media screen and (max-width: 768px) {
        display: none;
    }
}

.message__img1.u-sp {
    display: none;

    @media screen and (max-width: 768px) {
        display: block;
    }
}

.message__img2.u-pc {
    display: block;

    @media screen and (max-width: 768px) {
        display: none;
    }
}

.message__img2.u-sp {
    display: none;

    @media screen and (max-width: 768px) {
        display: block;
    }
}

.message__background {
    content: "";
    background-color: #FEFAFB;
    position: absolute;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    top: 300px;
    left: 50%;
    transform: translateX(-50%);
    width: 334px;
    height: 469px;
    border-radius: 60px;
    aspect-ratio: 334 / 469;
    z-index: -1;

    @media screen and (max-width: 768px) {
        top: 150px;
    }
}

/* about */
.about {
    position: relative;
    background-color: var(--background-color);
    padding-top: 180px;
    padding-bottom: 5px;
    overflow: visible;
    z-index: -1;

    @media screen and (max-width: 768px) {
        padding-top: 250px;
        padding-bottom: 100px;
    }

    @media screen and (max-width: 570px) {
        padding-top: 120px;
        padding-bottom: 50px;
    }
}

.about__container {
    max-width: 1600px;
    margin-inline: auto;
}

.about__texts {
    display: flex;
    flex-direction: row-reverse;
    width: max(55%, 650px);
    margin-inline: auto;
    gap: 90px;
    align-items: center;
    padding-bottom: 40px;

    @media screen and (max-width: 768px) {
        flex-direction: column;
        gap: 40px;
        width: calc(100% - 120px);
        margin-inline: auto;
    }

    @media screen and (max-width: 570px) {
        width: 100%;
        padding-inline: 30px;
    }
}

.about__titles {
    width: fit-content;

    @media screen and (max-width: 768px) {
        margin-left: auto;
    }
}

.about__title {
    position: relative;
}

.about__title::before {
    content: "";
    position: absolute;
    background-image: url(../img/star.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 33px;
    height: 24px;
    aspect-ratio: 33 / 24;
    top: -24px;
}

.about__sub-title {
    flex-shrink: 0;
    white-space: nowrap;
}

.about__text {
    font-size: 14px;
    color: var(--main-color);

    @media screen and (max-width: 768px) {
        font-size: 17px;
    }

    @media screen and (max-width: 570px) {
        font-size: 12px;
    }
}

.about__contents {
    /* max-width: 100%;
    width: 1309px;
    padding-inline: 291px;  */
    overflow: visible;

    @media screen and (max-width: 1024px) {
        display: flex;
        flex-direction: column;
        gap: 50px;
    }

    @media screen and (max-width: 570px) {
        gap: 50px;
    }
}

.about__content {
    display: flex;
    gap: 81px;
    align-items: center;
    overflow: visible;

    @media screen and (max-width: 1024px) {
        gap: 40px;
    }

    @media screen and (max-width: 768px) {
        flex-direction: column;
        gap: 77px;
    }

    @media screen and (max-width: 570px) {
        gap: 30px;
    }
}

.about__content:nth-child(even) {
    flex-direction: row-reverse;

    @media screen and (max-width: 768px) {
        flex-direction: column;
    }
}

.about__content:nth-child(odd) .about__content-texts {
    @media screen and (max-width: 1024px) {
        padding-inline: 0 30px;
    }

    @media screen and (max-width: 768px) {
        padding-inline: 9vw;
    }
}

.about__content:nth-child(even) .about__content-texts {
    @media screen and (max-width: 1024px) {
        padding-inline: 30px 0;
    }

    @media screen and (max-width: 768px) {
        padding-inline: 9vw;
    }
}

.about__content-texts {
    @media screen and (max-width: 768px) {
        width: 100%;
        padding-inline: 9ve;
    }
}

.about__content:last-child {
    @media screen and (max-width: 1024px) {
        padding-bottom: 30px;
    }
}

.about__content-sub {
    font-size: 17px;
    font-family: var(--main-font-family);
    color: var(--sub-text-color);
    line-height: 1.2;

    @media screen and (max-width: 768px) {
        font-size: 22px;
    }

    @media screen and (max-width: 570px) {
        font-size: 18px;
    }
}

.about__content-title {
    font-size: 30px;
    font-family: var(--sub-font-family);
    color: var(--black-color);
    margin-top: 18px;
    font-weight: 500;
    line-height: 1.3;

    @media screen and (max-width: 768px) {
        font-size: 36px;
    }

    @media screen and (max-width: 570px) {
        font-size: 20px;
    }
}

.about__content-text {
    margin-top: 35px;
    font-size: 16px;
    color: var(--text-color);
    font-family: var(--third-font-family);
    line-height: 2.375;
    font-weight: 500;

    @media screen and (max-width: 768px) {
        font-size: 26px;
        line-height: 1.85;
    }

    @media screen and (max-width: 570px) {
        font-size: 14px;
    }
}

.about__content:first-child .about__content-img {
    @media screen and (max-width: 768px) {
        margin-top: 0;
    }
}

.about__content-img {
    width: min(718px, 45vw);
    height: min(620px, 40vw);
    margin-top: -1.5vw;
    margin-bottom: -1.5vw;
    object-fit: cover;
    aspect-ratio: 718 / 620;

    @media screen and (max-width: 1024px) {
        width: min(600px, 50vw);
        height: auto;
        margin-block: 0;
    }

    @media screen and (max-width: 768px) {
        width: 83%;
        height: auto;
        margin-block: 56px 0;
    }

    @media screen and (max-width: 570px) {
        margin-top: 0;
    }
}

.about__content:nth-child(even) .about__content-img {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;

    @media screen and (max-width: 768px) {
        margin-left: auto;
    }
}

.about__content:nth-child(odd) .about__content-img {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;

    @media screen and (max-width: 768px) {
        margin-right: auto;
    }
}

/* exosome */
.exosome {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 54px;
    margin-bottom: 66px;

    @media screen and (max-width: 1350px) {
        margin-bottom: 0;

    }

    @media screen and (max-width: 768px) {
        overflow: hidden;
        gap: 77px;
    }

    @media screen and (max-width: 570px) {
        gap: 40px;
    }
}

.exosome__title {
    font-size: 54px;
    line-height: 1.2;
}

.exosome__img {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    aspect-ratio: 1600 / 678;

    @media screen and (max-width: 1350px) {
        width: 100%;
        height: auto;
        aspect-ratio: 1600 / 678;
    }


    @media screen and (max-width: 768px) {
        aspect-ratio: 768 / 455;
        position: relative;
        object-fit: cover;
        width: 100%;
        height: auto;
        z-index: -1;
    }
}

.exosome__img.u-pc {
    display: block;

    @media screen and (max-width: 768px) {
        display: none;
    }
}

.exosome__img.u-sp {
    display: none;

    @media screen and (max-width: 768px) {
        display: block;
    }
}

.exosome__wrapper {
    padding: 50px 30px 50px 30px;

    @media screen and (min-width: 769px) and (max-width: 1600px) {
        padding-top: calc(145px * (100vw - 768px) / (1600px - 768px));
        padding-right: calc(202px * (100vw - 768px) / (1600px - 768px));
        padding-left: calc(202px * (100vw - 768px) / (1600px - 768px));
    }

    @media screen and (min-width: 1600px) {
        padding-top: 145px;
        padding-right: 202px;
        padding-left: 202px;
    }

    @media screen and (min-width: 950px) and (max-width: 1600px) {
        padding-bottom: calc(50px + (125px - 50px) * (100vw - 950px) / (1600px - 950px));
    }

    @media screen and (min-width: 1600px) {
        padding-bottom: 125px;
    }
    display: flex;
    flex-direction: column;
    gap: 45px;
    max-width: 1400px;
    width: 100%;
    margin-right: auto;

    @media screen and (max-width: 768px) {
        padding: 0 max(10vw, 30px) 100px;
    }

    @media screen and (max-width: 570px) {
        padding: 0 30px 50px;
        gap: 30px;
    }
}

.exosome__titles {
    display: flex;
    gap: 10px;
    position: relative;

    @media screen and (max-width: 768px) {
        flex-direction: column;
        gap: 0;
    }
}

.exosome__titles::before {
    content: "";
    position: absolute;
    background-image: url(../img/message-img3.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 480px;
    height: 110px;
    top: -25px;
    aspect-ratio: 480 / 110;
    z-index: -1;

    @media screen and (max-width: 768px) {
        width: 70vw;
        height: auto;
        aspect-ratio: 480 / 110;
        top: 50px;
        z-index: -1;
    }

    @media screen and (max-width: 570px) {
        width: 40vw;
        height: auto;
        top: 50px;
    }
}

.exosome__sub-title {
    line-height: 1.2;
    @media screen and (max-width: 768px) {
        margin-top: 0;
    }
}

.exosome__text {
    font-size: 16px;
    font-family: var(--third-font-family);
    font-size: 16px;
    color: var(--text-color);
    font-weight: 500;
    line-height: 2.375;

    @media screen and (max-width: 768px) {
        font-size: 26px;
    }

    @media screen and (max-width: 570px) {
        font-size: 14px;
        line-height: 2;
    }
}

.exosome__text:nth-child(2) {
    margin-top: 45px;

    @media screen and (max-width: 570px) {
        margin-top: 20px;
    }
}


/* shop */
.shop {
    padding: 90px 0;
    position: relative;

    @media screen and (max-width: 768px) {
        padding: 60px 0;
    }

    @media screen and (max-width: 570px) {
        padding: 40px 0;
    }
}

.shop__wrapper {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 30px;

    @media screen and (min-width: 769px) and (max-width: 1600px) {
        padding-left: max(30px, calc(198px * (100vw - 768px) / (1600px - 768px)));
        padding-right: max(30px, calc(198px * (100vw - 768px) / (1600px - 768px)));
    }

    @media screen and (min-width: 1600px) {
        padding-left: 198px;
        padding-right: 198px;
    }

    @media screen and (max-width: 768px) {
        padding: 0 max(8vw, 30px);
    }

    @media screen and (max-width: 570px) {
        padding: 0 30px;
    }
}

.shop__titles {
    text-align: center;
    margin-bottom: 60px;
    position: relative;

    @media screen and (max-width: 768px) {
        margin-bottom: 50px;
    }

    @media screen and (max-width: 570px) {
        margin-bottom: 30px;
    }
}

.shop__titles::before {
    content: "";
    position: absolute;
    background-image: url(../img/message-img3.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 480px;
    height: 110px;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    aspect-ratio: 480 / 110;
    z-index: -1;

    @media screen and (max-width: 768px) {
        width: 70vw;
        height: auto;
        aspect-ratio: 480 / 110;
        top: 50px;
        z-index: -1;
    }

    @media screen and (max-width: 570px) {
        width: 40vw;
        height: auto;
        top: 50px;
    }
}

.shop__title {
    font-size: 24px;
    font-family: var(--sub-font-family);
    color: var(--main-color);
    font-weight: 500;
    line-height: 1.6;

    @media screen and (max-width: 768px) {
        font-size: 24px;
    }

    @media screen and (max-width: 570px) {
        font-size: 16px;
    }
}

.shop__title.section__title {
    @media screen and (max-width: 570px) {
        font-size: 16px;
    }
}

.shop__products {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 50px;

    @media screen and (max-width: 768px) {
        flex-direction: column;
        align-items: center;
        margin-inline: auto;
        gap: 30px;
        margin-bottom: 40px;
        width: fit-content;
        margin-inline: auto;
    }

    @media screen and (max-width: 570px) {
        gap: 25px;
        margin-bottom: 30px;
    }
}

.shop__product {
    display: flex;
    flex-direction: column;
    flex: 1;
    max-width: 300px;

    @media screen and (max-width: 768px) {
        max-width: 100%;
        width: 100%;
    }
}

.shop__product-img {
    width: 100%;
    min-height: 200px;
    max-height: 400px;
    background-color: #d3d3d3;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1 / 1;

    @media screen and (max-width: 768px) {
        max-width: 300px;
        min-height: 250px;
        max-height: 450px;
        margin-bottom: 15px;
    }

    @media screen and (max-width: 570px) {
        max-width: 100%;
        min-height: 200px;
        max-height: 350px;
        margin-bottom: 10px;
    }
}

.shop__product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    object-position: center;
}

.shop__product-name {
    font-size: 18px;
    font-family: var(--third-font-family);
    color: var(--text-color);
    font-weight: 400;
    line-height: 1.5;
    padding-left: 5px;
    width: fit-content;

    @media screen and (max-width: 768px) {
        font-size: 22px;
    }

    @media screen and (max-width: 570px) {
        font-size: 16px;
    }
}

.shop__link-wrapper {
    text-align: center;
}

.shop__link-btn {
    display: inline-block;
    font-size: 18px;
    font-family: var(--third-font-family);
    color: var(--main-color);
    text-decoration: none;
    font-weight: 500;
    padding: 15px 40px;
    border: 1px solid var(--border-accent-color);
    border-radius: 5px;
    transition: opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    background-color: transparent;
    cursor: pointer;

    @media screen and (max-width: 768px) {
        font-size: 22px;
        padding: 18px 50px;
    }

    @media screen and (max-width: 570px) {
        font-size: 16px;
        padding: 12px 30px;
    }

    &:hover {
        opacity: 0.8;
        background-color: rgba(197, 170, 201, 0.1);
    }
}

.shop__link-note {
    font-size: 13px;
    font-family: var(--third-font-family);
    color: var(--sub-text-color);
    margin-top: 15px;
    line-height: 1.5;

    @media screen and (max-width: 768px) {
        font-size: 15px;
        margin-top: 12px;
    }

    @media screen and (max-width: 570px) {
        font-size: 12px;
        margin-top: 10px;
    }
}

.shop__link-note-link {
    color: var(--sub-text-color);
    text-decoration: underline;
}

.shop__link-note-link:hover {
    opacity: 0.8;
}


/* news */
.news {
    background-image: url(../img/bg4.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    background-color: var(--news-bg-color);
    /* padding-bottomはJavaScriptで動的に設定 */

    @media screen and (max-width: 768px) {
        background-image: url(../img/bg2.png);
    }
}

.news__wrapper {
    max-width: 1400px;
    width: 100%;
    margin-right: auto;
}

.news__titles {
    padding: 90px 0 0 30px;

    @media screen and (min-width: 769px) and (max-width: 1600px) {
        padding-left: calc(198px * (100vw - 768px) / (1600px - 768px));
    }

    @media screen and (min-width: 1600px) {
        padding-left: 198px;
    }
    width: fit-content;
    margin-right: auto;

    @media screen and (max-width: 768px) {
        padding: 85px 0 0 max(8vw, 30px);
    }

    @media screen and (max-width: 570px) {
        padding: 30px 0 0 30px;
    }
}

.news__contents {
    position: absolute;
    top: 160px;
    right: 0;
    background-color: var(--card-bg-color);
    max-width: 75%;
    width: 1200px;
    margin-left: auto;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    padding: 52px 100px 57px 88px;

    @media screen and (min-width: 769px) and (max-width: 1600px) {
        padding-right: calc(200px * (100vw - 768px) / (1600px - 768px));
    }

    @media screen and (min-width: 1600px) {
        padding-right: 200px;
    }

    @media screen and (max-width: 768px) {
        max-width: 87.5%;
        margin-left: auto;
        padding: 67px 75px 67px 40px;
        top: 280px;
    }

    @media screen and (max-width: 570px) {
        padding: 20px;
        top: 150px;
    }
}

.news__archive-link-wrapper {
    text-align: right;
    margin-top: 20px;
}

.news__archive-link {
    font-size: 14px;
    font-family: var(--third-font-family);
    color: var(--main-color);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease, color 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.news__archive-link:hover {
    opacity: 0.8;
    color: var(--main-color);
    transform: translateX(3px);
}

.news__content {
    display: flex;
    align-items: center;
    gap: 69px;
    padding-block: 17px 20px;
    border-bottom: 1px solid var(--border-light-color);
    position: relative;
    transition: opacity 0.3s ease, transform 0.2s ease, background-color 0.3s ease;
    text-decoration: none;

    @media screen and (max-width: 570px) {
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
        padding-block: 10px;
    }

    &:hover {
        opacity: 0.85;
        transform: translateX(5px);
        background-color: rgba(255, 255, 255, 0.5);
    }
}

.news__content:last-child {
    border-bottom: none;
}

.news__date {
    font-size: 13px;
    font-family: var(--main-font-family);
    color: var(--main-color);
    font-weight: 400;

    @media screen and (max-width: 768px) {
        font-size: 18px;
    }

    @media screen and (max-width: 570px) {
        font-size: 12px;
    }
}

.news__title {
    font-size: 15px;
    font-family: var(--third-font-family);
    color: var(--text-color);
    font-weight: 400;
    flex: 1;

    @media screen and (max-width: 768px) {
        font-size: 22px;
    }

    @media screen and (max-width: 570px) {
        font-size: 14px;
    }
}

.news__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    border: 1px solid var(--border-accent-color);
    flex-shrink: 0;
    margin-left: auto;

    @media screen and (max-width: 768px) {
        width: 39px;
        height: 39px;
    }

    @media screen and (max-width: 570px) {
        width: 24px;
        height: 24px;
    }
}

.news__arrow .fa-solid.fa-arrow-right-long {
    font-size: 12px;
    line-height: 1;
    display: inline-block;
    margin: 0;
}


.blog {
    padding-top: 140px;

    @media screen and (max-width: 768px) {
        /* padding-top: 180px; */
        margin-top: 180px;
        padding-top: 0;
    }

    @media screen and (max-width: 570px) {

    }
}

.blog__wrapper {
    padding-inline: 50px;
    margin-inline: auto;
    max-width: 100%;
    width: 1204px;

    @media screen and (max-width: 768px) {
        padding-inline: 50px;
    }

    @media screen and (max-width: 570px) {
        padding-inline: 30px;
    }
}

.blog__titles {
    margin-left: auto;
    width: fit-content;
    position: relative;
    z-index: 3;
}

.blog__contents {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 150px;
    margin-top: 60px;
    background-color: var(--card-bg-color);
    padding-block: 40px;
    padding-inline: 136px 58px;
    margin-inline: auto;
    position: relative;

    @media screen and (max-width: 1024px) {
        padding: 40px;
        gap: 0 50px;
    }

    @media screen and (max-width: 768px) {
        grid-template-columns: repeat(1, 1fr);
        gap: 0;
        width: 100%;
        padding: 62px 28px 50px 60px;
        margin-top: 43px;
    }

    @media screen and (max-width: 570px) {
        padding: 20px;
        margin-top: 30px;
    }
}

.blog__archive-link-wrapper {
    grid-column: 1 / -1;
    text-align: right;
    margin-top: 20px;
}

.blog__archive-link {
    font-size: 14px;
    font-family: var(--third-font-family);
    color: var(--main-color);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease, color 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.blog__archive-link:hover {
    opacity: 0.8;
    color: var(--main-color);
    transform: translateX(3px);
}

.blog__content {
    display: flex;
    gap: 69px;
    padding-block: 17px 20px;
    width: fit-content;
    border-bottom: 1px solid var(--border-light-color);
    width: 100%;
    transition: opacity 0.3s ease, transform 0.2s ease, background-color 0.3s ease;
    text-decoration: none;
    color: inherit;

    @media screen and (max-width: 768px) {
        width: 100%;
    }

    @media screen and (max-width: 570px) {
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
        padding-block: 10px;
    }

    &:hover {
        opacity: 0.9;
        transform: translateX(5px);
        background-color: rgba(255, 255, 255, 0.3);
    }
}

.blog__date {
    font-size: 13px;
    color: var(--main-color);
    font-family: var(--main-font-family);
    font-weight: 400;

    @media screen and (max-width: 768px) {
        font-size: 18px;
    }

    @media screen and (max-width: 570px) {
        font-size: 12px;
    }
}

.blog__title {
    font-size: 15px;
    color: var(--text-color);
    font-family: var(--third-font-family);
    font-weight: 400;
    margin: 0;

    @media screen and (max-width: 768px) {
        font-size: 22px;
    }

    @media screen and (max-width: 570px) {
        font-size: 14px;
    }
}

.blog__title--empty {
    text-decoration: none;
}

.blog__content--empty .blog__date {
    display: none;
}

.news__title--empty {
    text-decoration: none;
}

.news__content--empty .news__date {
    display: none;
}

/* access */
.access {
    padding-top: 140px;
    padding-bottom: 110px;
    max-width: 1400px;
    padding-inline: 30px;
    margin-inline: auto;
}

@media screen and (max-width: 768px) {
    .access {
        padding-bottom: 65px;
        padding-inline: 0;
    }
}

@media screen and (max-width: 570px) {
    .access {
        padding-bottom: 30px;
    }
}

.access__wrapper {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
}

.access__contents {
    display: flex;
    align-items: center;
    width: fit-content;
    margin-inline: auto;
    gap: 6vw;
}

@media screen and (max-width: 768px) {
    .access__contents {
        flex-direction: column;
        gap: 40px;
        padding-inline: 30px;
    }
}

@media screen and (max-width: 570px) {
    .access__contents {
        gap: 20px;
    }
}

.access__titles {
    text-align: center;
    position: relative;
}

@media screen and (max-width: 768px) {
    .access__titles {
        order: 1;
    }
}

.access__titles::before {
    content: "";
    position: absolute;
    background-color: var(--card-bg-color);
    width: 686px;
    height: 686px;
    top: -180px;
    left: -177px;
    z-index: -1;
}

@media screen and (max-width: 768px) {
    .access__titles::before {
        top: -100px;
        right: 0;
        width: 70vw;
        height: auto;
        aspect-ratio: 552 / 460;
        left: auto;
    }
}

.access__titles-sp {
    display: none;
}

@media screen and (max-width: 768px) {
    .access__titles-sp {
        display: block;
        order: 1;
    }
}


@media screen and (max-width: 768px) {
    .access__titles-pc {
        display: none;
    }
}


.access__img {
    width: min(678px, 45vw);
    height: min(429px, 30vw);
    aspect-ratio: 678 / 429;
    object-fit: cover;
}

@media screen and (max-width: 768px) {
    .access__img {
        order: 2;
        width: 83%;
        height: auto;
        object-fit: cover;
    }
}


@media screen and (max-width: 768px) {
    .access__img2 {
        width: 196px;
        height: 26px;
        aspect-ratio: 196 / 26;
    }
}
@media screen and (max-width: 570px) {
    .access__img2 {
        width: 120px;
        height: 16px;
    }
}

.access__content {
    width: 350px;
    position: relative;
    margin-top: 120px;
}

@media screen and (max-width: 768px) {
    .access__content {
        order: 3;
        width: 100%;
    }
}

.access__title {
    position: relative;
}

.access__title::before {
    content: "";
    position: absolute;
    background-image: url(../img/star.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 33px;
    height: 24px;
    aspect-ratio: 33 / 24;
    top: -24px;
}

.access__texts {
    margin-top: 53px;
}

@media screen and (max-width: 768px) {
    .access__texts {
        margin-block: 43px 0;
        width: fit-content;
        margin-inline: auto;
    }
}

@media screen and (max-width: 570px) {
    .access__texts {
        margin-block: 30px 0;
    }
}

.access__text-address {
    font-size: 18px;
    color: var(--text-color);
    font-family: var(--third-font-family);
    font-weight: 400;
    margin-top: 35px;
}

@media screen and (max-width: 768px) {
    .access__text-address {
        margin-top: 30px;
        font-size: 26px;
    }
}

@media screen and (max-width: 570px) {
    .access__text-address {
        font-size: 16px;
        margin-top: 20px;
    }
}

.access__text-tel {
    font-size: 18px;
    color: var(--text-color);
    font-family: var(--third-font-family);
    font-weight: 400;
    margin-top: 15px;
}

@media screen and (max-width: 768px) {
    .access__text-tel {
        font-size: 26px;
        margin-top: 8px;
    }
}

@media screen and (max-width: 570px) {
    .access__text-tel {
        font-size: 16px;
        margin-top: 10px;
    }
}

.access__transport {
    margin-top: 25px;
}

@media screen and (max-width: 768px) {
    .access__transport {
        margin-top: 20px;
    }
}

@media screen and (max-width: 570px) {
    .access__transport {
        margin-top: 15px;
    }
}

.access__text-transport {
    font-size: 16px;
    color: var(--text-color);
    font-family: var(--third-font-family);
    font-weight: 400;
    line-height: 1.8;
    margin-top: 8px;
}

@media screen and (max-width: 768px) {
    .access__text-transport {
        font-size: 22px;
        line-height: 1.6;
        margin-top: 6px;
    }
}

@media screen and (max-width: 570px) {
    .access__text-transport {
        font-size: 14px;
        line-height: 1.5;
        margin-top: 5px;
    }
}
.access__text-transport:first-child {
    margin-top: 0;
}

.access__text-parking {
    font-size: 14px;
    color: var(--sub-text-color);
    font-family: var(--third-font-family);
    font-weight: 400;
    line-height: 1.6;
    margin-top: 15px;
}
@media screen and (max-width: 768px) {
    .access__text-parking {
        font-size: 18px;
        margin-top: 12px;
    }
}

@media screen and (max-width: 570px) {
    .access__text-parking {
        font-size: 12px;
        margin-top: 10px;
    }
}

.fa-solid {
    margin-right: 17px;
    color: var(--main-color);
}

.access__map {
    max-width: 1200px;
    width: 100%;
    margin-inline: auto;
    height: 345px;
    margin-top: 50px;
    border: 0;
}

@media screen and (max-width: 768px) {
    .access__map {
        aspect-ratio: 768 / 455;
        margin-top: 69px;
    }
}

/* 下部セクション用（既存） */
@media screen and (max-width: 570px) {
    .section__title {
        font-size: 32px;
    }

    .section__sub-title {
        font-size: 16px;
    }

    /* fv */
    .fv__wrapper {
        padding-inline: 30px;
    }

    .fv__sub-title {
        font-size: 20px;
    }

    .fv__sub-text {
        font-size: 12px;
    }

    .fv__text {
        font-size: 12px;
        margin-top: 16px;
    }

    .message {
        padding-top: 120px;
    }

    .message__wrapper {
        padding-inline: 30px;
        padding-bottom: 50px;
    }

    .message__texts {
        margin-top: 50px;
    }
    
    .message__text {
        margin-top: 20px;
    }
}

/* ページ最下部のh1タグ */
.page-h1 {
    font-size: 10px;
    font-family: var(--third-font-family);
    color: var(--sub-text-color);
    font-weight: 400;
    text-align: right;
    padding: 20px 30px;
    margin-top: 40px;
    line-height: 1.4;

    @media screen and (min-width: 769px) and (max-width: 1600px) {
        padding-right: calc(198px * (100vw - 768px) / (1600px - 768px));
        padding-left: calc(198px * (100vw - 768px) / (1600px - 768px));
    }

    @media screen and (min-width: 1600px) {
        padding-right: 198px;
        padding-left: 198px;
    }

    @media screen and (max-width: 768px) {
        font-size: 9px;
        padding: 15px max(8vw, 30px);
        margin-top: 30px;
    }

    @media screen and (max-width: 570px) {
        font-size: 8px;
        padding: 10px 30px;
        margin-top: 20px;
    }
}