@charset "utf-8";

/* ------------------------------
    TOPページ
--------------------------------- */

/* メインビジュアル */
.mv {
    padding-top: 70px;
    padding-bottom: 100px;
    width: 100%;
}
.mv__content {
    display: grid;
    grid-template-rows: repeat(2, auto);
    grid-template-columns: 100%;
    margin-bottom: 60px;
}
.mv__photo-area {
    width: 90%;
    max-width: 800px;
    justify-self: right;
    grid-row: 1 / 2;
    grid-column: 1 / 2;
    z-index: -10;

    /* マスクをかける */
    mask-image: url("../img/mv-mask.svg");
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
    mask-position: center center;
    
    -webkit-mask-image: url("../img/mv-mask.svg");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    -webkit-mask-position: center center;
}
.mv__photo {
    opacity: 0.7;
}
.mv__img-area {
    width: 50%;
    grid-row: 1 / 3;
    grid-column: 1 / 2;
    padding-right: 20px;
    align-self: center;
    justify-self: right;

    max-width: 500px;
}
.mv__img {
    width: 100%;
}
.mv__text-area {
    position: relative;
    width: 80%;
    max-width: 700px;
    min-width: 320px;
    grid-row: 2 / 3;
    grid-column: 1 / 2;
    margin-top: -50px;
    justify-self: left;
    z-index: -20;
}
.mv__text-bg {
    width: 100%;

    img {
        width: 100%;
    }
}
.mv__text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);

    font-size: 18px;
    font-weight: 500;
    letter-spacing: 8px;
    line-height: 2.4;
    width: max-content;
}
.mv__btn-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
}
@media (min-width: 768px) {
    .mv {
        padding-bottom: 120px;
    }
    .mv__content {
        width: 100%;
        max-width: 1400px;
        height: calc(100vh - 90px);
        max-height: 700px;
        min-height: 680px;
        margin-left: auto;
        margin-right: auto;
        grid-template-rows: 30% 40% 30%;
        grid-template-columns: repeat(4, 25%);
        margin-bottom: 100px;
    }
    .mv__photo-area {
        width: 100%;
        max-width: 700px;
        height: 100%;
        grid-row: 1 / 3;
        grid-column: 2 / 5;
    }
    .mv__list {
        height: 100%;
    }
    .slick-list {
        height: 100%;
    }
    .slick-track {
        height: 100%;
    }
    .mv__photo {
        height: 100%;
        width: fit-content;
        margin-left: auto;
        margin-right: 0;

        img {
            height: 100%;
            object-fit: cover;
        }
    }
    .mv__img-area {
        width: 100%;
        height: 100%;
        grid-row: 2 / 3;
        grid-column: 2 / 4;
        padding-right: 0;
        display: flex;
        justify-content: center;
        justify-self: center;
    }
    .mv__img {
        height: 100%;
        width: auto;
        object-fit: cover;
    }
    
    .mv__text-area {
        width: 100%;
        grid-row: 2 / 4;
        grid-column: 1 / 3;
        align-self: end;
    }
    .mv__text {
        font-size: var(--font-size-sub-midashi);
    }
    .mv__btn-list {
        flex-direction: row;
        gap: 50px;
    }
}

/* Welcome */
.welcome {
    padding-top: 40px;
    padding-bottom: 100px;
}
.welcome__content {
    background: var(--color-white);
    border-radius: 30px;
    padding: 28px 20px;
}
.welcome__text {
    letter-spacing: 1.4px;
    line-height: 2;
    margin-bottom: 40px;
}
@media (min-width: 768px) {
    .welcome {
        padding-top: 60px;
        padding-bottom: 120px;
    }
    .welcome__content {
        border-radius: 50px;
        padding: 48px 64px;
    }
    .welcome__text {
        letter-spacing: 1.6px;
    }
}

/* 研究紹介 */
.research{
    padding-top: 40px;
    padding-bottom: 100px;
}
.research__word {
    text-align: center;
    margin-top: -20px;
    margin-bottom: 40px;
}
.research__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
}
.research__item {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: repeat(2, auto);
}
.research__img-area {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.research__img-bg {
    width: 70%;
    max-width: 250px;
}
.research__img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    height: 70%;
    object-fit: cover;
}
.research__text-area{
    background: var(--color-beige);
    border-radius: 30px;
    padding: 60px 20px 50px 20px;
    margin-top: -40px;
}
.research__title {
    font-size: var(--font-size-sub-midashi);
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 24px;
}
.research__text {
    letter-spacing: 1.4px;
    line-height: 2;
}

@media (min-width: 768px) {
    .research{
        padding-top: 60px;
        padding-bottom: 120px;
    }
    .research__word {
        margin-bottom: 60px;
    }
    .research__list {
        margin-bottom: 60px;
    }
    .research__item {
        background: var(--color-beige);
        border-radius: 50px;
        padding: 50px;
        grid-template-columns: repeat(2, auto);
        grid-template-rows: auto;
        gap: 2rem;
    }
    .research__item:nth-last-of-type(2n) {
        /* 画像とテキストの並びを逆に */
        .research__img-area {
            order: 2;
        }
        .research__text-area {
            order: 1;
        }
    }
    .research__img-bg {
        width: 350px;
    }
    .research__text-area{
        background: var(--color-beige);
        border-radius: 30px;
        padding: 0;
        margin-top: 0;
        align-self: center;
    }
    .research__title {
        margin-bottom: 2rem;
    }
    .research__text {
        letter-spacing: 1.6px;
    }

}

/* お知らせ */
.news {
    padding-top: 40px;
    padding-bottom: 100px;
}
.news__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-bottom: 40px;
}
.news__item {
    border-bottom: 1px solid var(--color-font);

    .news__summary {
        display: flex;
        align-items: center;
        justify-content: start;
        gap: 1.5em;
        padding-top: 1em;
        padding-bottom: 1em;
    }
}
@media (min-width: 768px) {
    .news {
        padding-top: 60px;
        padding-bottom: 120px;
    }
    .news__list {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        margin-bottom: 60px;
    }
}