/*メインビジュアルここから*/
.about-mv {
    width: 100vw;
    height: 80vh;
    object-fit: cover;
}

/*タブレットサイズ以下ここから*/
@media only screen and (max-width: 767.98px) {
    .about-mv {
        height: 40vh;
    }
}

/*スマホサイズ以下ここから*/
@media only screen and (max-width: 575.98px) {
    .about-mv {
        height: 30vh;
    }
}

/*メインビジュアルここまで*/

/*aboutページコンテンツ、共通タグここから*/

.about-content {
    background-color: var(--c-gray-5);
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.about-page-text p {
    line-height: 1.75;
}

.about-page-text p:not(:last-child) {
    margin-bottom: 1rem;
}

.about-page-h4 {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-style: normal;
    font-weight: 500;
    font-size: 1.5rem;
}

.about-page-h4::before {
    display: inline-block;
    background-image: url(/assets/home/icon_title.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 0.5rem;
    height: 0.5rem;
    content: "";
    margin-top: 0.6em;
}

.about-page-h5 {
    font-style: normal;
    font-weight: 500;
    font-size: 1.25rem;
}

/*aboutページコンテンツ、共通タグここまで*/

/*タブレットサイズ以下ここから*/
@media only screen and (max-width: 767.98px) {
    .about-content {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

/*aboutここから*/
.about-page-about-wrapper {
    background: var(--c-gray-5);
}

.about-page-about {
    display: flex;
    position: relative;
    align-items: flex-start;
    gap: 8%;
    margin-inline: auto;
    padding-top: 8rem;
    padding-inline-end: 6rem;
    max-width: 1920px;
}

.about-page-about-img {
    position: relative;
    margin-block: auto;
    aspect-ratio: 619 / 458;
    width: calc(43vw);
    max-width: 780px;
}

.about-page-about-img picture,
.about-page-about-img picture img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-page-about-img picture:first-of-type {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 71%;
}

.about-page-about-img picture:last-of-type {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: 56%;
}

.about-page-about-text {
    flex: 1;
    margin-block: auto;
}

/*デスクトップサイズ以下ここから*/
@media only screen and (max-width: 991.98px) {
    .about-page-about-wrapper {
        padding-inline: var(--s-container-inline);
        padding-block-start: var(--s-container-block);
    }

    .about-page-about {
        flex-direction: column-reverse;
        padding-inline-end: 0;
        padding-block: 0;
    }

    .about-page-about-img {
        margin-top: 2.5rem;
        margin-left: -6rem;
        width: calc(100% + 4rem);
    }

    .about-page-about-img picture:first-of-type {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 2;
        width: 63%;
    }

    .about-page-about-img picture:last-of-type {
        position: absolute;
        top: 46%;
        right: 0;
        z-index: 1;
        width: 63%;
    }
}

/*タブレットサイズ以下ここから*/
@media only screen and (max-width: 767.98px) {
    .about-page-about-img {
        margin-left: -4rem;
    }
}

/*スマホサイズ以下ここから*/
@media only screen and (max-width: 575.98px) {
    .about-page-about-img {
        margin-left: -1.5rem;
        width: calc(100% + 1.5rem);
    }
}

/*aboutここまで*/

/*教育目標ここから*/
.educational-goals {
    margin-bottom: 8rem;
}

.educational-goals-content {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
}

.educational-goals-content > div {
    flex: 1 1 60%;
}

.educational-goals-content Picture {
    flex: 1 1 40%;
    max-width: 400px;
}

/*デスクトップサイズ以下ここから*/
@media only screen and (max-width: 991.98px) {
    .educational-goals {
        margin-bottom: 4rem;
    }

    .educational-goals-content {
        flex-direction: column;
        gap: 2rem;
    }

    .educational-goals-content > div {
        flex: none;
    }

    .educational-goals-content Picture {
        flex: none;
        min-width: 100%;
    }
}

/*教育目標ここまで*/

/*学びの特色(3つの分野を融合して学ぶ)ここから*/
.field-wrapper {
    margin-bottom: 6rem;
}

.field {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 4rem;
    border-radius: 0.25rem;
    background-color: var(--c-gray-10);
    padding: 4rem;
}

.field-content {
    border: 1px solid var(--c-gray-30);
    padding: 2rem;
}

.field .about-page-h5 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

/*デスクトップサイズ以下ここから*/
@media only screen and (max-width: 991.98px) {
    .field-wrapper {
        margin-bottom: 4rem;
    }

    .field {
        grid-template-columns: 1fr;
        align-items: center;
        gap: 2.5rem;
        padding: 1.25rem;
    }

    .field Picture {
        margin: 0 auto;
        max-width: 32rem;
    }

    .field-content {
        padding: 1.25rem;
    }
}

/*学びの特色(3つの分野を融合して学ぶ)ここまで*/

/*学びの特色(実習・研究環境が整っている)ここから*/

.environment {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
    gap: 4rem;
}

.environment-content .about-page-h4 {
    margin-bottom: 1.5rem;
}

.environment-content .about-page-h5 {
    margin: 2rem 0 1rem;
}

.environment-content .about-page-text {
    margin-bottom: 2rem;
}

/*デスクトップサイズ以下ここから*/
@media only screen and (max-width: 991.98px) {

    .environment {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .environment-content .about-page-h4 {
        margin-bottom: 2rem;
    }
}

/*学びの特色(実習・研究環境が整っている)ここまで*/
