#student .studentlife,
#student .class,
#student .recruit {

    table {
        width: 100%;
        color: #464646;
        font-size: 13px;
        border-collapse: collapse;
        margin: 10px 0 0;

        caption {
            align: top;
            font-weight: 900;
            font-size: 16px;
            text-align: left;
            margin-bottom: .5rem;
        }
        tr, th, td {
            text-align: center;
            border: 1px solid #CCC;
            padding: 10px 5px;
            font-family: 'Lato',"Noto Sans JP", sans-serif;
                }

        th {
            text-align: center;
            background: #EDEDED;
        }
    }

    .content a {
        color: var(--h3-glay) !important;
        border-bottom: 1px solid var(--main-purple);
        padding-left: .3em;
        padding-bottom: .1em;
        margin-bottom: 1em;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        font-weight: 500;
        margin-top: 1em;
    }
    .content a span { color: var(--h3-glay) !important;}
    .ContactBlock a {
        justify-content:center;
        padding: 8px 0px!important;
    }

    a.new-tab::after {
        content: "\e89e";
        font-family: "Material Symbols Outlined";
        font-size: 16px;
    }

    a.pdf span::after {
        content: "\e415";
        font-family: "Material Symbols Outlined";
        font-size: 16px;
        color: var(--h3-glay);
        margin-left: .3em;
        position: relative;
        top: .12em;
        font-weight: 100;
    }
    ol, ol li {
        margin-left: 0;
        list-style-type: decimal!important;
    }
    ol aside {
        color: var(--text-glay);
        margin-top: .5rem;
        margin-left: -1rem;
    }
    #scholarships {
        section > section { margin-bottom: 2rem;}
        table tr td {text-align: left!important;}
    }
    .lead p { margin-bottom: .75rem;}
    a[target="_blank"]::after {
        content: "\e89e";
        color: var(--main-purple);
        font-family: "Material Symbols Outlined";
        font-size: 16px;
    }
}
.studentlife.notification #content {

    ul li::before {
        content: "\e5df";
        font-family: "Material Symbols Outlined";
        font-size: 16px;
        color: var(--main-purple);
    }
    a { display: inline;}

    section section section { margin-bottom: 3rem;}
}

/*　　　　　　　　　　　　　　　　　　　　
図書館*/
#student .studentlife.library #content {
    .caution {
        padding: 0 1rem 1rem;
        background: #fffbdd;
        margin: 1rem 0;
    }
    section > section > p {
        font-size: 16px!important;
        margin-bottom: 1rem;
    }

    ul li {
        position: relative;
        padding-left: 1rem;
    }
    ul li::before {
        position: absolute;
        content: "\e5df";
        font-family: "Material Symbols Outlined";
        font-size: 16px;
        color: var(--main-purple);
        left: -.25rem;
    }
    ul li a { padding-left: 1rem!important;}
/*smallのついてるaタグ*/
    li.twoline {
        list-style: none;
        position: relative;
        padding-left: 1.5em; /* 青いアイコンの分のスペース */
    }
    li.twoline a {
        display: block;
        padding-right: 2.5rem;
        position: relative;
    }
    li.twoline a::after {
            content: "\e89e";
            font-family: "Material Symbols Outlined";
            position: absolute;
            right: 1em;
            top: 50%;
            transform: translateY(-50%);
    }

    li.twoline a small {
        display: block;
        margin-top: 0.5em;
    }

}

nav ul.lib-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}
nav ul.lib-nav li {
    text-align: center;
    width: 24.5%;
}
ul.lib-nav li a {
    color: inherit !important;
    text-align: center;
    border-bottom: none;
    margin-bottom: 0;
    display: block;
    font-weight: normal;
    margin-top: 0;
    padding: 10px 0;
    background: #D69BC3;
}
ul.lib-nav li.now a {
    pointer-events: none;
    background: #E5C8DC;
}

#student .studentlife.library {
        #accordion_area {
            .accordion_block {
                padding: 1rem;
                border: 1px solid #CCC;
            }
            .accordion_block:first-of-type {
                border-radius: 10px 10px 0 0;
                border-bottom: none;
            }
            .accordion_block:last-of-type {
                border-radius: 0 0 10px 10px;
                border-top: none;
            }
            .accordion_block summary {
                position: relative;
                color: var(--h3-glay) !important;
                list-style: none;
                cursor: pointer;
            }
            .accordion_block summary::after {
                content: "▼";
                position: absolute;
                right: 1rem;
                transition: .3s;
            }
            .accordion_block section {
                padding: 0 .5rem 1rem 1rem;
            }
            dl {
                width: 95%!important;
                margin-left:auto!important;

                dt {
                    a {
                        font-size: 14px;
                        margin-bottom: .25em;
                    }
                }
                dd {
                    margin-left: 1rem;
                    font-size: 14px;
                }
        }
            .accordion_block[open] summary::after {
                transform: rotate(-60deg);
                transition: .3s;
            }
    }

    #pdf-container {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        }
        canvas {
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
        }
}

/*　　　　　　　　　　　　　　　　　　　　
学生便覧*/
#student .class #content {
    ul.column2 {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;

        li { width: 49%;}
    }
}

#student .recruit #content {
    ul li { position: relative;}
    ul li::before {
        position: absolute;
        content: "\e5df";
        font-family: "Material Symbols Outlined";
        font-size: 16px;
        color: var(--main-purple);
    }
    ul li a { padding-left: 1rem!important;}
    ul li a:has(small) { padding-bottom: 2rem!important;}
    ul li a small {
        position: absolute;
        bottom: .5rem;
    }

    .comment {
        display: flex;
        justify-content: space-around;
        align-items: last baseline;
        margin: 1rem 0;
    }
    .comment p {
            padding: .5rem;
            border: 1px solid #e8e8e8;
            border-radius: 15px;
    }
    .comment::before {
            content: "\f8e4";
            font-family: "Material Symbols Outlined";
            font-size: 30px;
            color: #E5C8DC;
            margin-right: 1rem;
    }
    .comment:nth-of-type(even)::before {
            margin-right: 0;
            margin-left: 1rem;
            order: 2;
    }
}


@media screen and (min-width: 1024px) {
    .studentlife.cafeteria .column2 {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;

        img {
            width: 49%;
            height: auto;
        }
    }
}

.unipa #content {
    .PC { display: none;}
    .UnipaAccess {
        h6 {
            font-size: 1.5em;
            color: #799cc7;
            margin: 1em;
            small {
                display: block!important;
                color: #333!important;
            }
        }
        > section {
            padding: 30px;
            border: 1px solid #CCC;
            margin: 30px auto;

            ul { text-align: left; }
        }
        > a {
            display: block;
            width: 80%!important;
            padding: 10px;
            border: 3px solid #CCC;
            margin: 0 auto;
        }
    }
}

/**************************************************
PC*/
@media print, screen and (min-width: 1024px) {
    .unipa #content {
        .SP { display: none!important;}
        .PC { display:block!important;}
        .PC.UnipaAccess > a {
        width: 560px!important;
        border: 3px solid #CCC;
    }
    }
}