@charset "utf-8";
/*--京department.css--*/
/* ##########PC########## */
.contents.department.index .topicpath{
    width: 100%;
    padding: 0 3vw;
    position: absolute;
    top: 0;
    left: 0;
}

    .contents.department.index .topicpath ul{
        padding: 1.25em 0 0 0;
    }


.page_info_site_search_box > .box_inner .h_nav > ul > li:nth-child(1),
.page_info_site_search_box > .box_inner .h_nav > ul > li:nth-child(4),
.page_info_site_search_box > .box_inner .h_nav > ul > li:nth-child(5){
    width: 100%;
}

.page_info_site_search_box > .box_inner .h_nav > ul > li:nth-child(2),
.page_info_site_search_box > .box_inner .h_nav > ul > li:nth-child(3){
    width: 50%;
}

.page_info_site_search_box > .box_inner .h_nav > ul > li:nth-child(5){
    display: flex;
    flex-wrap: wrap;
}

    .page_info_site_search_box > .box_inner .h_nav > ul > li:nth-child(5) > a{
        width: 100%;
        font-weight: 600;
    }

    .page_info_site_search_box > .box_inner .h_nav > ul > li:nth-child(5) > ul{
        width: 100%;
        display: flex;
    }

        .page_info_site_search_box > .box_inner .h_nav > ul > li:nth-child(5) > ul > li{
            width: 50%;
        }

.contents.department[class*="dept"] .topicpath,
.contents.department[class*="adv_"] .topicpath {
    box-sizing: border-box;
    width: 100%;
    padding: 7.5rem 3vw 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.department_header {
    padding: 6rem 0 3rem;
    width: 50rem;
    position: relative;
    margin: 0 auto;
}

.department_header::before {
    content: "";
    display: block;
    width: 100vw;
    height: 100%;
    background: rgba(0,189,221,0.8);
    position: absolute;
    top: 0;
    left: calc(50% - 50vw);
    z-index: -1;
}


.page_body .department_header .dph_h2_h3{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page_body .department_header h2 {
    text-align: center;
    background: #fff;
    margin: 0;
    padding: 0.2em 0.5em 0;
    line-height: 1.3;
}

.page_body .department_header h3 {
    margin: 0.8em 0 1.2em;
    text-align: center;
    background: #fff;
    color: #0f228b;
    padding: 0.1em 0.5em 0;
    font-size: 1.3em;
    line-height: 1.3;
}

.page_body .department_header h3::before,
.page_body .department_header h3::after{
    content: none;
}

.department_header p {
    margin: 0;
    font-weight: 500;
}

.department_header .department_about ul {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 3.5rem 2rem 1.5rem;
}

.department_header .department_about ul li {
    width: calc((100% - 10rem) / 2);
    padding: 0;
    margin-bottom: 0;
}

    .department_header .department_about ul li::before {
        content: none;
    }

.department_header .department_about ul li a {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #0d228d;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.9em 2em 0.8em;
    width: 20rem;
    border-radius: 100vh;
    background: #fff;
    text-decoration: none;
    position: relative;
    transition: .3s all ease;
}

.department_header .department_about ul li a::after {
    content: "";
    width: 1rem;
    aspect-ratio: 1 / 1;
    background-image: url(../shared/icon/icon_arrow_blue.png);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: calc(50% - 0.5rem);
    right: 0.75em;
}

.department_header .department_about ul li a:hover{
    background: #0d228d;
    color: #fff;
}

    .department_header .department_about ul li a:hover::after{
        filter: brightness(0) invert(1);
    }


.department_box {
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.department_box.for_senkoka{
    margin-bottom: 2.5rem;
}

.department_box > .box_inner {
}

.department_box > .box_inner .class_title {
    display: flex;
    align-items: flex-end;
}

    .department_box > .box_inner .class_title h2 {
        margin: 0 0.5em 0.3rem 0;
        color: #222;
        font-size: 2.5em;
        line-height: 1;
        padding-bottom: 0;
        background: none;
    }

    .department_box .box_inner .class_title p {
        margin: 0 0 0.3em 0;
        color: #0d228d;
        font-size: 1.3em;
        font-weight: 600;
        line-height: 1;
    }

    .department_box .box_inner .classes_box{
        margin: 2em 0 4em;
    }

    .department_box .box_inner .classes_box ul {
        display: flex;
        gap: 2em;
        margin: 0;
    }

        .department_box .box_inner .classes_box ul li {
            margin: 0;
            padding: 0;
            width: calc((100% - 4em) / 3);
        }

        .department_box .box_inner .classes_box ul li::before {
            content: none;
        }

        .department_box .box_inner .classes_box ul li a {
            display: flex;
            flex-direction: column;
            gap: 0.5em;
            text-decoration: none;
            color: #222;
        }

        .department_box .box_inner .classes_box ul li a .fig {
            border-radius: 0.5rem;
            overflow: hidden;
            position: relative;
        }

            .department_box .box_inner .classes_box ul li a .fig img{
                position: relative;
                z-index: 0;
                transition: .3s all ease;
            }

            .department_box .box_inner .classes_box ul li a:hover .fig img{
                filter: brightness(1.05);
                transform: scale(1.04);
            }

        .department_box .box_inner .classes_box ul li a .fig .lbl_campus{
            position: absolute;
            bottom: 0;
            left: 0;
            z-index: 1;
            color: #fff;
            display: inline-block;
            padding: 0 0.5em;
            font-weight: 600;
        }

        .department_box .box_inner .classes_box ul li a .fig .lbl_campus.for_kumamoto{
            background: #008BBB;
        }

        .department_box .box_inner .classes_box ul li a .fig .lbl_campus.for_yatsushiro{
            background: #d7147d;
        }

        .department_box .box_inner .classes_box ul li a dl{}

            .department_box .box_inner .classes_box ul li a dl dt{
                color: #222;
                font-size: 1.3em;
                font-weight: 600;
                position: relative;
                padding-right: 1.5rem;
            }

            .department_box .box_inner .classes_box ul li a dl dt::after{
                content: "";
                display: inline-block;
                width: 1rem;
                aspect-ratio: 1 / 1;
                background-image: url(../shared/icon/icon_arrow_gray.png);
                background-repeat: no-repeat;
                background-size: contain;
                position: absolute;
                top: 0.4em;
                right: 0;
            }

            .department_box .box_inner .classes_box ul li a dl dd{
                font-size: 0.9em;
            }

.font_s {
    display: inline-block;
    padding: 0 0.1em;
    font-size: 1.1em;
}


.index .content_title{
    margin-bottom: 0;
}

.content_body{
    padding-top: 0;
}

.content_body:has(.dept_bottom_box){
    padding-bottom: 0;
}

.dept_bottom_box{
    margin-top: 4rem;
    position: relative;
    padding: 4rem 0;
}

.index .dept_bottom_box,
.outline .dept_bottom_box{
    display: none;
}

    .dept_bottom_box::before{
        content: "";
        display: block;
        margin: 0 calc(50% - 50vw);
        width: 100vw;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 0;
        background-image:
            url(../shared/bg_box_common1.png),
            url(../shared/bg_box_common2.png);
        background-repeat:
            no-repeat,
            no-repeat;
        background-size:
            48.75rem auto,
            48.75rem auto;
        background-position:
            right top,
            left bottom;
    }

    .dept_bottom_box > .box_header{
        display: flex;
        justify-content: center;
        position: relative;
        z-index: 1;
        margin-bottom: 2em;
    }

        .dept_bottom_box > .box_header h2{
            margin: 0;
            font-size: 1em;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding-bottom: 0;
            background: none;
        }

            .dept_bottom_box > .box_header h2::before{
                content: "Department";
                font-family: "Open Sans", sans-serif;
                color: #00A0C6;
                font-size: 4em;
            }

    .dept_bottom_box > .box_inner{
        position: relative;
        z-index: 1;
    }

        .dept_bottom_box > .box_inner ul{
            margin: 0;
            display: flex;
            flex-wrap: wrap;
            gap: 2em;
        }

            .dept_bottom_box > .box_inner ul li{
                margin: 0;
                padding: 0;
                width: calc((100% - 4em) / 3);
            }

            .dept_bottom_box > .box_inner ul li::before{
                content: none;
            }

            .dept_bottom_box > .box_inner ul li a{
                display: flex;
                flex-direction: column;
                gap: 0.5em;
                text-decoration: none;
            }

                .dept_bottom_box > .box_inner ul li a .fig{
                    border-radius: 0.5rem;
                    overflow: hidden;
                }

                .dept_bottom_box > .box_inner ul li a .fig img{
                    transition: .3s all ease;
                }

                .dept_bottom_box > .box_inner ul li a:hover .fig img{
                    transform: scale(1.03);
                    filter: brightness(1.2);
                }

                .dept_bottom_box > .box_inner ul li a .lbl{
                    position: relative;
                    color: #0f228b;
                    font-weight: 600;
                    margin: 0 0.3em;
                }

                .dept_bottom_box > .box_inner ul li a .lbl::after{
                    content: "";
                    display: inline-block;
                    width: 1rem;
                    aspect-ratio: 1 / 1;
                    background-image: url(../shared/icon/icon_arrow_blue.png);
                    background-repeat: no-repeat;
                    background-size: contain;
                    position: absolute;
                    top: 0.2em;
                    right: 0;
                }

/*各学科、専攻のキャッチ部分*/
.dept_entrance_wrap{
    display: flex;
    justify-content: center;
}

.dept_entrance_box{
    min-width: 67.5rem;
    position: relative;
    margin: 0 auto;
    padding: 9.75rem 0 2.75rem 0;
}

.dept_entrance_box::before {
    content: "";
    display: block;
    width: 100vw;
    height: 100%;
    background: #00bddd;
    position: absolute;
    top: 0;
    left: calc(50% - 50vw);
    z-index: -1;
}

.dept_entrance_box .box_header{
    position: relative;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 3.75rem;
}

.dept_entrance_box .box_header .fig{
    width: 40rem;
    margin-left: -9rem;
}

.dept_entrance_box .box_header .fig img{
    border-radius: 1rem;
    max-width: 100%;
    height: auto;
}

.dept_entrance_box .box_header .text{
    width: 32.5rem;
    margin: 0 0 0 auto;
}

.dept_entrance_box .box_header .text p.dept_meta{
    margin: 1rem 0 1rem 0;
    color: #10218b;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-weight: 600;
}

.dept_entrance_box .box_header .text p.dept_meta .lbl_kind{
    padding: 0 1.3rem;
    margin-right: 1.3rem;
    position: relative;
}

.dept_entrance_box .box_header .text p.dept_meta .lbl_kind::before{
    content:"";
    width: 1rem;
    height: 1rem;
    background: #10218b;
    border-radius: 50%;
    position: absolute;
    top: calc(50% - 0.6rem);
    left: 0;
}

.dept_entrance_box .box_header .text p.dept_meta .lbl_kind::after{
    content:"";
    width: 1px;
    height: 1rem;
    background: #10218b;
    position: absolute;
    top: calc(50% - 0.5rem);
    right: 0;
}

.dept_entrance_box .box_header .text h2.dept_name_ja{
    font-size: 2.6em;
    margin: 0;
    background: none;
    padding-bottom: 0;
}

.dept_entrance_box .box_header .text p.dept_name_en{
    margin: 0 0 1.5em 0;
    font-weight: 600;
    color: #10218b;
}

.dept_entrance_box .box_header .dept_web{
    display: flex;
    margin-bottom: 3em;
}

.dept_entrance_box .box_header .dept_web a{
    display: block;
    color: #10218b;
    padding: 0.4em 2.5em 0.2em 1.5em;
    border: 1px solid #10218b;
    border-radius: 1.5em;
    position: relative;
    font-weight: 500;
    text-decoration: none;
    transition: .3s all ease;
}

.dept_entrance_box .box_header .dept_web a::after{
    content:"";
    width: 1rem;
    height: auto;
    aspect-ratio: 1 / 1;
    background-image: url(../shared/icon/icon_link.png);
    background-repeat: no-repeat;
    background-size: contain;
    margin-left: 0;
    position: absolute;
    top: calc(50% - 0.5rem);
    right: 0.75em;
}

.dept_entrance_box .box_header .dept_web a:hover{
    box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.3);
}

.dept_entrance_box .box_header .dept_nav{}

.dept_entrance_box .box_header .dept_nav ul{
    margin: 0;
}

.dept_entrance_box .box_header .dept_nav ul li{
    margin: 0 0 0.5em 0;
    padding-left: 0;
}

.dept_entrance_box .box_header .dept_nav ul li:before{
    display: none;
}

.dept_entrance_box .box_header .dept_nav ul li a{
    display: block;
    padding: 0.7em 1em 0.5em 1em;
    background: #0f228b;
    color: #fff;
    border-radius: 0.5em;
    position: relative;
    text-decoration: none;
    transition: .3s all ease;
}

.dept_entrance_box .box_header .dept_nav ul li a:hover{
    filter: brightness(1.1);
}

.dept_entrance_box .box_header .dept_nav ul li:first-child a::after{
    content: "";
    width: 1rem;
    height: auto;
    aspect-ratio: 1 / 1;
    background-image: url(../shared/icon/icon_arrow_w_d.png);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: calc(50% - 0.5rem);
    right: 0.75em;
}

.dept_entrance_box .box_header .dept_nav ul li a::after{
    content: "";
    width: 1rem;
    height: auto;
    aspect-ratio: 1 / 1;
    background-image: url(../shared/icon/icon_arrow_w_l.png);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: calc(50% - 0.5rem);
    right: 0.75em;
}

/*専攻科用*/
.dept_entrance_box .box_header .dept_nav ul li.msg_senkoka_kyoin{
    margin-top: 1em;
    display: flex;
    justify-content: center;
}

    .dept_entrance_box .box_header .dept_nav ul li.msg_senkoka_kyoin p{
        margin: 0;
    }

    .dept_entrance_box .box_header .dept_nav ul li.msg_senkoka_kyoin p::before{
        content: "※";
    }

.dept_entrance_box .box_inner{
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
}

.dept_entrance_box .box_inner .text{
    flex: 1;
}

.dept_entrance_box .box_inner .text .catch{
    font-size: 1.9em;
    color: #00a0c0;
    font-weight: 600;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}

.dept_entrance_box .box_inner .text p{
    margin: 0;
}

.dept_entrance_box .box_inner .text .catch p{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35em;
    line-height: 1.4;
}

    .dept_entrance_box .box_inner .text .catch p .line{
        background: #fff;
        padding: 0.2em 0.4em 0 0.4em;
    }

.dept_entrance_box .box_inner .fig{
    width: 28rem;
}

.dept_entrance_box .box_inner .fig img{
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
}

/*各学科では非表示など調整*/
.contents.department[class*="dept"] .topicpath,
.contents.department[class*="adv_"] .topicpath{
    padding-top: 7.5rem;
    z-index: 2;
}


.contents.department[class*="dept"] .content_page_title,
.contents.department[class*="adv_"] .content_page_title{
    display: none;
}

.contents.department[class*="dept"] .page_body h3,
.contents.department[class*="dept"] .page_body h3,
.contents.department[class*="adv_"] .page_body h3,
.contents.department[class*="adv_"] .page_body h3{
    padding-top: 0;
}

.contents.department[class*="dept"] .page_body h3::before,
.contents.department[class*="dept"] .page_body h3::after,
.contents.department[class*="adv_"] .page_body h3::before,
.contents.department[class*="adv_"] .page_body h3::after{
    content: none;
}

/*
.contents.department.index .page_title,
.contents.department[class*="dept"] .page_title,
.contents.department[class*="adv_"] .page_title{
    display: none;
}
*/

.page_body .dept_entrance_wrap + h2{
    margin-top: 2em;
}

.contents.department.sub-advance .page_title{
    display: block;
}

.dept_img_box{
}

    .dept_img_box > ul{
        display: flex;
        flex-wrap: wrap;
        gap: 2.5em;
    }

        .dept_img_box > ul > li{
            padding: 0;
            margin: 0;
            width: calc((100% - 5em) / 3);
            line-height: 1.6;
            display: flex;
            flex-direction: column;
            gap: 0.8em;
        }

        .dept_img_box > ul > li::before{
            content: none;
        }

        .dept_img_box > ul > li p{
            margin: 0;
        }

.curriculum_box{
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .curriculum_box > .box_header{
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 2.5em;
    }

        .curriculum_box > .box_header h4{
            margin: 0 0 0.5em 0;
            font-size: 1.3em;
            color: #0f228b;
            padding: 0;
        }

        .curriculum_box > .box_header h4::before{
            content: none;
        }

        .curriculum_box > .box_header p{
            margin: 0;
        }

        .curriculum_box > .box_header p:last-child{
            margin-top: 2em;
        }

    .curriculum_box > .box_inner{
        line-height: 1.4;
        width: 80%;
        display: flex;
        flex-wrap: wrap;
        gap: 2em;
    }

        .curriculum_box > .box_inner dl{
            width: calc((100% - 2em) / 2);
        }

        .curriculum_box > .box_inner dl dt{
            color: #0f228b;
            font-size: 1.1em;
            font-weight: 600;
            margin-bottom: 0.5em;
        }

        .curriculum_box > .box_inner dl dd ul{
            margin: 0;
        }

        .curriculum_box > .box_inner dl dd ul li::before{
            top: 0.55em;
        }

.department.index .child_page_list{
    display: none;
}

.btn_general_education{
    display: flex;
    justify-content: center;
}

    .btn_general_education a{
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        border: 2px solid #0d228d;
        text-decoration: none;
        box-shadow: 0.125rem 0.125rem 0 0 #0d228d;
        background: #fff;
        border-radius: 0.5rem;
        width: 28rem;
        padding: 0.5em 1.5em 0.7em;
        color: #222;
        transition: .3s all ease;
    }

    .btn_general_education a:hover{
        background: #0d228d;
        color: #fff;
        box-shadow: none;
    }

        .btn_general_education a .lbl1{
            font-size: 1.3em;
            font-weight: 600;
            position: relative;
        }

            .btn_general_education a .lbl1::before{
                content: "";
                display: inline-block;
                width: 1rem;
                aspect-ratio: 1 / 1;
                background-image: url(../shared/icon/icon_arrow_gray.png);
                background-repeat: no-repeat;
                background-size: contain;
                position: absolute;
                top: 0.4em;
                right: 0;
            }

            .btn_general_education a:hover .lbl1::before{
                filter: brightness(0) invert(1);
            }

        .btn_general_education a .lbl2{
            font-size: 0.9em;
            line-height: 1.5;
        }

.until2025_subjects{
    margin-top: 3em;
    border-radius: 0.25rem;
    padding: 1.5em;
    border: 1px solid rgba(0, 0, 0, 0.3);
}

    .until2025_subjects .wp-block-group__inner-container{
        display: flex;
        flex-wrap: wrap;
    }

    .page_body .until2025_subjects h3{
        padding: 0;
        margin: 0 1em 0 0;
        font-size: 1.1em;
    }

    .page_body .until2025_subjects h3::before,
    .page_body .until2025_subjects h3::after{
        content: none;
    }

    .page_body .until2025_subjects p{
        margin: 0;
        flex: 1;
        line-height: 1.4;
        font-size: 0.9em;
        padding-top: 0.1em;
    }

    .page_body .until2025_subjects ul{
        display: flex;
        flex-wrap: wrap;
        gap: 0.5em 1em;
        margin: 0.2em 0 0 0;
        border-top: 1px dotted rgba(0, 0, 0, 0.3);
        padding-top: 0.9em;

    }

        .page_body .until2025_subjects ul li{
            box-sizing: border-box;
            margin-bottom: 0;
            width: calc((100% - 2em) / 3);
        }

.general_education_imgs{
    justify-content: center;
    gap: 1em;
    align-items: flex-start !important;
    margin: 1.5em 1em 0;
}

    .general_education_imgs figure{
        width: calc((100% - 1em) / 2);
    }

.dept_general_education_nav{
    display: flex;
    justify-content: center;
    margin: 1.5em 1em 0;
    gap: 1em;
}

    .dept_general_education_nav dl{
        box-sizing: border-box;
        width: calc((100% - 1em) / 2);
        display: flex;
        flex-direction: column;
        align-items: center;
        border: 1px solid #ccc;
        padding: 0.8em 1em 1em 1em;
        border-radius: 0.5rem;
    }

        .dept_general_education_nav dl dt{
            font-weight: 500;
            font-size: 1.2em;
            margin-bottom: 0.3em;
        }

        .dept_general_education_nav dl dd{
            width: 100%;
        }

        .page_body .dept_general_education_nav ul{
            display: flex;
            flex-direction: column;
            gap: 0.75em;
            margin: 0;
        }

            .dept_general_education_nav ul li{
                margin: 0;
                padding: 0;
            }

                .dept_general_education_nav ul li::before{
                    content: none;
                }

                .dept_general_education_nav ul li a{
                    display: block;
                    padding: 0.4em 1em 0.2em 1em;
                    background: #0f228b;
                    color: #fff;
                    border-radius: 0.5em;
                    position: relative;
                    text-decoration: none;
                    transition: .3s all ease;
                }

                .dept_general_education_nav ul li a:hover{
                    filter: brightness(1.1);
                }

                .dept_general_education_nav ul li a::after{
                    content: "";
                    width: 1rem;
                    height: auto;
                    aspect-ratio: 1 / 1;
                    background-image: url(../shared/icon/icon_arrow_w_l.png);
                    background-repeat: no-repeat;
                    background-size: contain;
                    position: absolute;
                    top: calc(50% - 0.5rem);
                    right: 0.75em;
                }

.curriculum_table table{
    line-height: 1.4;
}

.curriculum_table table thead th:nth-child(1),
.curriculum_table table thead th:nth-child(3),
.curriculum_table table thead th:nth-child(4){
    width: 6em;
}

.curriculum_table table tbody th,
.curriculum_table table tbody td:nth-child(1),
.curriculum_table table tbody td:nth-child(3),
.curriculum_table table tbody td:nth-child(4){
    text-align: center;
}

.facility_list{
    display: flex;
    flex-wrap: wrap;
    gap: 0 2em;
}

    .facility_list li{
        box-sizing: border-box;
        width: calc((100% - 4em) / 3);
    }

.goto_dept_site{
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

    .goto_dept_site a{
        text-decoration: none;
        color: #0d228d;
        display: flex;
        align-items: center;
        padding: 1.1em 2.5em 1em;
        border: 1px solid #0d228d;
        border-radius: 100vh;
        line-height: 1;
        font-weight: 500;
        transition: .3s all ease;
    }

    .goto_dept_site a:hover{
        color: #fff;
        background: #0d228d;

    }

        .goto_dept_site a::after{
            content:"";
            width: 1rem;
            height: auto;
            aspect-ratio: 1 / 1;
            background-image: url(../shared/icon/icon_link.png);
            background-repeat: no-repeat;
            background-size: contain;
            margin-left: 0.5em;
            transition: .3s all ease;
        }

        .goto_dept_site a:hover::after{
            filter: brightness(0) invert(1);
        }


@media screen and (min-width:1px) and (max-width:1400px) {
}

/*ipad*/
@media screen and (min-width:1px) and (max-width:1024px){
    .dept_entrance_box{
        box-sizing: border-box;
        min-width: auto;
        min-width: initial;
        margin: 0 calc(50% - 50vw);
        width: 100vw;
        padding-left: 5vw;
        padding-right: 5vw;
    }

        .dept_entrance_box .box_header .fig{
            width: 50%;
            margin-left: -3vw;
        }

        .dept_entrance_box .box_header .text{
            width: 50%;
        }

}

/* ##########SP横向き########## */
@media screen and (min-width:1px) and (max-width:768px) {

}

/* ##########SP########## */
@media screen and (min-width:1px) and (max-width:575px) {
    .department_header{
        width: 90%;
        padding-top: 3em;
        padding-bottom: 1rem;
    }

    .page_body .department_header h2{
        font-size: 1.18em;
        margin: 0 0 0.65em 0;
        padding: 0.2em 0.4em 0.1em;
    }

    .page_body .department_header h3{
        font-size: 1em;
        display: flex;
        flex-direction: column;
        gap: 0.3em;
        align-items: center;
        margin: 0 0 1em 0;
        background: none;
    }

        .page_body .department_header h3 span[class^="lbl"]{
            background: #fff;
            padding: 0.2em 0.5em 0;
        }

        .page_body .department_header h3 span.lbl2{
            padding-left: 0.3em;
            padding-right: 0.3em;
        }

    .department_header .department_about ul{
        margin-top: 1.5rem;
        flex-direction: column;
        gap: 1rem;
    }

    .department_header .department_about ul li{
        width: 100%;
    }

    .department_header .department_about ul li a{
        width: auto;
    }

    .department_box{
        margin-top: 2.5rem;
        margin-bottom: 2.5rem;
    }

    .department_box.for_senkoka{
        margin-bottom: 0;
    }

    .department_box > .box_inner .class_title{
        flex-direction: column;
        align-items: center;
    }

        .department_box > .box_inner .class_title h2{
            font-size: 1.5em;
            padding: 0;
            margin: 0 0 0.4em 0;
        }

        .department_box .box_inner .class_title p{
            font-size: 1.05em;
            margin-bottom: 0;
        }

    .department_box .box_inner .classes_box{
        margin: 1.5em 0 3em;
    }

    .department_box.for_senkoka .box_inner .classes_box{
        margin-bottom: 0;
    }

        .department_box .box_inner .classes_box ul{
            flex-direction: column;
            gap: 1em;
        }

        .department_box .box_inner .classes_box ul li{
            width: 100%;
        }

        .department_box .box_inner .classes_box ul li a{
            flex-direction: row;
            gap: 1em;
        }

        .department_box .box_inner .classes_box ul li a .fig{
            width: 35%;
        }

            .department_box .box_inner .classes_box ul li a .fig .lbl_campus{
                font-size: 0.7em;
            }

        .department_box .box_inner .classes_box ul li a dl{
            flex: 1;
            line-height: 1.4;
            padding-top: 0.5em;
        }

            .department_box .box_inner .classes_box ul li a dl dt{
                font-size: 1.1em;
                margin-bottom: 0.2em;
            }

                .department_box .box_inner .classes_box ul li a dl dt::after{
                    top: 0.1em;
                }

    .dept_img_box > ul{
        gap: 1em;
    }

        .dept_img_box > ul > li{
            width: calc((100% - 1em) / 2);
            gap: 0.8em;
        }

        .dept_img_box > ul > li p{
            font-size: 0.9em;
        }

    .btn_general_education a .lbl1{
        font-size: 1.1em;
    }

    .dept_entrance_box{
        padding-top: 0;
        padding-left: 0;
        padding-right: 0;
    }

        .dept_entrance_box .box_header{
            flex-direction: column;
            margin-bottom: 2rem;
        }

            .dept_entrance_box .box_header .fig{
                width: 100%;
                margin-left: 0;
            }

            .dept_entrance_box .box_header .fig img{
                border-radius: 0;
            }

            .dept_entrance_box .box_header .text{
                box-sizing: border-box;
                width: 100%;
                padding: 0 5vw;
            }

            .dept_entrance_box .box_header .text p.dept_meta{
                margin-bottom: 0.5em;
            }

            .dept_entrance_box .box_inner{
                flex-direction: column;
            }

            .dept_entrance_box .box_header .text h2.dept_name_ja{
                font-size: 1.6em;
            }

            .dept_entrance_box .box_header .text p.dept_name_en{
                font-size: 0.9em;
            }

            .dept_entrance_box .box_header .dept_nav ul{
                display: flex;
                gap: 0.5em;
            }

            .dept_entrance_box .box_header .dept_nav ul li{
                width: calc((100% - 1em) / 3);
                margin: 0;
            }

                .dept_entrance_box .box_header .dept_nav ul li a{
                    font-size: 0.9em;
                }

            /*専攻科用*/
            .dept_entrance_box .box_header .dept_nav ul li.msg_senkoka_kyoin{
                margin-top: 0;
                margin-left: 0.5em;
                width: auto;
                flex: 1;
            }

                .dept_entrance_box .box_header .dept_nav ul li.msg_senkoka_kyoin p{
                    font-size: 0.9em;
                    position: relative;
                    padding-left: 1.2em;
                    line-height: 1.3;
                }

                .dept_entrance_box .box_header .dept_nav ul li.msg_senkoka_kyoin p::before{
                    position: absolute;
                    top: 0;
                    left: 0;
                }


        .dept_entrance_box .box_inner .text{
            padding: 0 5vw;
        }

        .dept_entrance_box .box_inner .text .catch{
            font-size: 1.4em;
            margin-top: 0;
        }

        .dept_entrance_box .box_inner .fig{
            box-sizing: border-box;
            width: 100%;
            padding: 0 5vw;
        }

    .curriculum_box > .box_inner{
        box-sizing: border-box;
        width: 100%;
        padding: 0 1em;
    }

    .dept_bottom_box{
        padding: 2.5rem 0;
    }

        .dept_bottom_box > .box_header h2{
            padding: 0;
        }

        .dept_bottom_box > .box_header h2::before{
            font-size: 2em;
        }

    .dept_bottom_box > .box_inner ul{
        gap: 1em;
    }

        .dept_bottom_box > .box_inner ul li{
            width: calc((100% - 1em) / 2);
        }

        .dept_bottom_box > .box_inner ul li a .lbl{
            margin: 0;
            font-size: 0.9em;
        }

    .general_education_imgs{
        gap: 1em;
        margin: 1em 0 0;
    }

    .dept_general_education_nav{
        margin: 1em 0 0;
        flex-direction: column;
    }

        .dept_general_education_nav dl{
            width: 100%;
            padding: 0.5em 0.7em 0.7em 0.7em;
        }

            .dept_general_education_nav dl dt{
                font-size: 1.1em;
            }

            .page_body .dept_general_education_nav ul{
                flex-direction: row;
            }

                .dept_general_education_nav ul li{
                    width: calc((100% - 0.75em) / 2);
                }

    .curriculum_table table thead th:nth-child(1),
    .curriculum_table table thead th:nth-child(3){
        width: 3em;
    }

    .curriculum_table table thead th:nth-child(4){
        width: 4em;
    }

    .facility_list{
        flex-direction: column;
    }

        .facility_list li{
            width: auto;
        }

    .until2025_subjects{
        margin-top: 2em;
        padding: 1em;
    }

        .until2025_subjects .wp-block-group__inner-container{
            flex-direction: column;
            align-items: center;
        }

        .page_body .until2025_subjects ul{
            box-sizing: border-box;
            line-height: 1.4;
            flex-direction: column;
            width: 100%;
            padding: 1em 0.5em 0.5em 0.5em;
        }

            .page_body .until2025_subjects ul li{
                width: auto;
            }
    
    .wp-block-image.fig_adv_bld{
        display: flex;
        justify-content: center;
    }

    .page_body .wp-block-image.fig_adv_bld figure{
        float: none !important;
        margin-left: 0;
        margin-right: 0;
        margin-top: 0;
        width: 70%;
    }

    .goto_dept_site a{
        padding: 1.1em 1.5em 1em;
    }

}


/* ##########印刷用########## */
@media print{

}