@charset "utf-8";
/* CSS Document */

.professor-headwe {
    margin-bottom: 50px;
    display: flex;
    gap: 25px;
    @media (width <= 999px) {
        margin-bottom: 25px;
        display: block;
    }
    .professor-headwe_name {
        width: calc(100% - 300px);
        order: 2;
        position: relative;
        @media (width <= 999px) {
            width: 100%;
            order: 1;
        }
        &::before {
            background: var(--color-main-light);
            content: "";
            top: 0;
            left: 0;
            width: 350px;
            height: 250px;
            z-index: -1;
            display: block;
            position: absolute;
            @media (width <= 999px) {
                display: none;
            }
        }
        &::after {
            background: var(--color-main);
            content: "";
            top: 50px;
            bottom: unset;
            left: 50px;
            width: 350px;
            height: 250px;
            z-index: -1;
            display: block;
            position: absolute;
            @media (width <= 999px) {
                display: none;
            }
        }
        div {
            width: 350px;
            height: 250px;
            margin: 50px 0 0 50px;
            display: flex;
            justify-content: center;
            align-items: center;
            @media (width <= 999px) {
                width: unset;
                height:  unset;
                margin: 0 0 50px 0;
            }
            h2 {
                margin-bottom: 0;
                text-align: unset;
                font-size: 3.0rem;
                color: #fff;
                text-align: center;
                @media (width <= 999px) {
                    color: #000;
                }
                &::before {
                    display: none;
                    @media (width <= 999px) {
                        display: block;
                    }
                }
                &::after {
                    display: none;
                    @media (width <= 999px) {
                        display: block;
                    }
                }
            }
        }
    }
    .professor-headwe_img {
        width: 300px;
        order: 1;
        @media (width <= 999px) {
            width: 100%;
            order: 2;
            text-align: center;
        }
        img {
            width: 100%;
            height: auto;
            vertical-align: bottom;
            @media (width <= 999px) {
                width: 70%;
            }
        }
    }
}
.professor-list {
    font-size: 1.5rem;
    li {
        list-style-type: none!important;
        border-bottom: 1px solid #ccc;
        margin: 0 0 20px 0!important;
        padding-bottom: 10px;
        display: grid;
        grid-template-columns: 150px 1fr;
        gap: 25px;
        @media (width <= 999px) {
            border-bottom: 0;
            grid-template-columns: 1fr;
            gap: 10px;
        }
        /*.professor-list_year {
            background: var(--color-main);
            padding: 10px 15px 7px 15px;
            text-align: center;
            color: #fff;
            @media (width <= 999px) {
                text-align: unset;
            }
        }*/
        .professor-list_year {
            font-weight: bold;
            color: var(--color-main);
        }
        .professor-list_text {
            display: flex;
            align-items: center;
            @media (width <= 999px) {
                padding-bottom: 0;
            }
        }
    }
}