@layer layouts {

    .l-contentwrapper {
        padding: 40px 0;
    }

    .l-container {
        width: 90%;
        max-width: 1000px;
        margin: 0 auto;
    }

    .l-section {
        padding: 40px 0;
    }

    .l-overflow {
        overflow: hidden;
    }

    /* ページヘッダー */
    .l-page-header {
        position: relative;
        display: flex;
        align-items: center;
        height: 300px;
        background-color: var(--color-gray);
        overflow: hidden;
        margin-top: 80px;

        .l-container {
            max-width: 1240px;
        }
    }

    .l-page-header__bg {
        position: absolute;
        inset: 0;
        z-index: 0;
    }

    .l-page-header__bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .l-page-header .l-container {
        position: relative;
        z-index: 1;
    }

    .l-page-header__cat {
        display: flex;
        width: fit-content;
        align-items: center;
        gap: 12px;
        margin-bottom: 12px;
        padding: 4px 1em;
        background: var(--color-main);
        color: #fff;
        font-feature-settings: "palt" 1;
        font-kerning: normal;
    }

    .l-page-header__faculty {
        color: #fff;
        font-size: 1.6rem;
        font-weight: var(--font-weight-normal);
        line-height: 1.4;
    }

    .l-page-header__dept {
        color: #fff;
        font-size: 1.6rem;
        font-weight: var(--font-weight-normal);
    }

    .l-page-header__title {
        margin: 0;
        display: block;
        width: fit-content;
        padding: 4px 1.6rem;
        background: var(--color-navy);
        color: #fff;
        font-family: var(--font-family-mincho);
        font-weight: var(--font-weight-medium);
        font-size: 2.8rem;
    }

    /* パンくず */
    .l-breadcrumb {
        padding: 16px 0;
    }

    .l-breadcrumb__list {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        margin: 0;
        padding: 0;
        list-style: none;
        font-size: 1.2rem;
        line-height: 1.5;
        color: #888;
    }

    .l-breadcrumb__item {
        display: flex;
        align-items: center;
    }

    .l-breadcrumb__item:not(:last-child)::after {
        content: "/";
        margin: 0 .6em;
        color: #ccc;
    }

    .l-breadcrumb__item a {
        color: #6F0689;
        text-decoration: none;
    }

    .l-breadcrumb__item a:hover {
        text-decoration: underline;
    }

    @media screen and (max-width: 768px) {
        .l-contentwrapper {
            padding: 30px 0;
        }

        .l-container {
            width: 100%;
            max-width: 100%;
            margin: 0 auto;
            padding-left: 25px;
            padding-right: 25px;
        }

        .l-page-header {
            height: 180px;
            margin-top: 60px;
        }

        .l-page-header__title {
            font-size: 2.2rem;
        }

        .l-page-header__faculty,
        .l-page-header__dept {
            font-size: 1.4rem;
        }

        .l-breadcrumb {
            padding: 12px 0;
        }

    }
}