#university_info{
    display: flex;
    flex-direction: row;
}
#university_info #main{
    flex: 1;
}
#university_info #sub{
    width: 30%;
    min-width: 240px;
    padding: 0 0 100px 100px;
}

/* main */
#university_info #main h2{
    margin: 60px 0 40px;
}
#university_info #main h3{
    margin: 40px 0 20px;
    font-size: 1.8rem;
}
#university_info #main h2 span,
#university_info #main h3 span{
    display: inline-block;
    padding-bottom: 2px;
    position: relative;
}
#university_info #main h2 span::after,
#university_info #main h3 span::after{
    content: "";
    width: 100%;
    height: 2px;
    background: #af1e2b;
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
}

#university_info #main ul.univ_list{
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
#university_info #main ul.univ_list li{}
#university_info #main ul.univ_list li a{
    min-height: 80px;
    padding: 0 32px 0 16px;
    align-items: center;
    display: flex;
    border-radius: 4px;
    border: 1px solid #eee;
    text-decoration: none;
    color: #333;
    font-size: 2rem;
    transition: border .2s ease, opacity .2s ease;
    position: relative;
}
#university_info #main ul.univ_list li a::after{
    content: "\f0da";
    font-family: "font awesome 5 free";
    font-weight: 600;
    font-size: 1rem;
    /*color: #666;*/
    color: #fff;
    text-align: center;
    line-height: 16px;
    width: 16px;
    height: 16px;
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(0,-50%);
    transition: color .2s ease;
}
#university_info #main ul.univ_list li a::before{
    content: "";
    width: 16px;
    height: calc(100% + 2px);
    /*background: #eee;*/
    background: #af1e2b;
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
    display: block;
    position: absolute;
    top: 50%;
    right: -1px;
    transform: translate(0,-50%);
    transition: background .2s ease;
}



#university_info #main ul.univ_list li a .inner_pic{
    display: flex;
    align-items: center;
    gap: 16px;
}
#university_info #main ul.univ_list li a .inner_pic .img{
    width: 60px;
    line-height: 0;
}
#university_info #main ul.univ_list li a .inner_pic .info{}

/* sub */
#university_info #sub article + article{
    margin: 40px 0 0;
}
#university_info #sub h2 a{
    text-decoration: none;
    color: #333;
}
#university_info #sub ul.pagenav{
    padding: 0;
    list-style: none;
    border: 1px solid #eee;
    border-radius: 8px;
}
#university_info #sub ul.pagenav li + li{
    border-top: 1px dashed #eee;
}
#university_info #sub ul.pagenav li a{
    padding: 20px 40px 20px 16px;
    font-size: 1.6rem;
    text-decoration: none;
    display: block;
    position: relative;
    color: #333;
}
#university_info #sub ul.pagenav li a::after{
    content: "\f0d7";
    font-family: "font awesome 5 free";
    font-weight: 600;
    font-size: 1rem;
    line-height: 16px;
    text-align: center;
    color: #666;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    display: block;
    background: #eee;
    position: absolute;
    right: 10px;
    top: 50%;
}

/* single */
#univ_single{}
#univ_single .top{}
#univ_single .top .detail{}
#univ_single .top .detail .ttl{}
#univ_single .top .detail .date{}
#univ_single .main{}
#univ_single .main .info{}
#univ_single .main .info h2{}
#univ_single .main .info h2 span{}
#univ_single .main .info table{
    width: 100%;
    border-collapse: collapse;
}
#univ_single .main .info table tr{}
#univ_single .main .info table tr th,
#univ_single .main .info table tr td{
    padding: 16px;
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #ddd;
}
#univ_single .main .info table tr th{
    width: 160px;
    background: #f5f5f5;
}
#univ_single .main .info table.subject{
    margin: 40px 0 0;
}
#univ_single .main .info table.subject th{}
#univ_single .main .info table.subject th:nth-child(1){}
#univ_single .main .info table.subject th:nth-child(2){
    width: 100px;
}
#univ_single .main .info table.subject th:nth-child(3){
    width: auto;
}
#univ_single .main .info table.subject td{
    text-align: center;
}
#univ_single .main .info table.subject td span{
    white-space: nowrap;
}
#univ_single .main .info{
    font-size: 1.6rem;
    line-height: 1.8;
}
#univ_single .main .info a{
    text-decoration: none;
}
#univ_single .main .info a:hover{
    text-decoration: underline;
}
#univ_single .main .info ul.post_list{
    margin: 0;
    padding: 20px 40px 20px 60px;
    border: 1px solid #ddd;
    background: #fafafa;
    border-radius: 8px;
}
#univ_single .bottom{
    margin-top: 60px;
    padding: 60px 0;
    border-top: 1px solid #ddd;
}
#univ_single .bottom .link a{
    max-width: 240px;
    margin: 0 auto;
    padding: 16px 0;
    display: block;
    background: #eee;
    text-decoration: none;
    color: #333;
    text-align: center;
    transition: background 0.2s ease;
}

@media (pointer: fine){
    #university_info #main ul.univ_list li a:hover{
        /*border-color: #ddd;*/
        opacity: .6;
    }
    #university_info #main ul.univ_list li a:hover::before{
        background-color: #af1e2b;
    }
    #university_info #main ul.univ_list li a:hover::after{
        color: #fff;
    }
    
    #university_info #sub h2 a:hover{
        opacity: .6;
    }
    #university_info #sub ul.pagenav li a:hover{
        text-decoration: underline;
    }
    #university_info #sub ul.pagenav li a:hover::after{
        background: #af1e2b;
        color: #fff;
    }
    #univ_single .bottom .link a:hover{
        background: #ddd;
    }
    
}
@media screen and (max-width: 1023.98px){
    #university_info{
        flex-direction: column;
    }
    #university_info #main{
        padding: 0 0 40px;
    }
    #university_info #sub{
        width: calc(100% + 40px);
        min-width: inherit;
        margin-left: -20px;
        padding: 40px 20px;
        background: #f5f5f5;
    }
    #university_info #sub h2{
        max-width: 640px;
        margin: 0 auto;
        border: 1px solid #ddd;
        border-bottom: none;
    }
    #university_info #sub h2 a{
        padding: 10px 0;
        display: block;
        text-align: center;
        background: #fafafa;
        font-size: 1.6rem;
    }
    #university_info #sub ul.pagenav{
        max-width: 640px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        border: none;
        border-radius: 0;
        border-left: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
        background: #fff;
    }
    #university_info #sub ul.pagenav li,
    #university_info #sub ul.pagenav li + li{
        border: none;
        border-right: 1px solid #ddd;
        border-top: 1px solid #ddd;
    }
    #university_info #sub ul.pagenav li a{
        padding: 16px 20px;
    }
    #university_info #sub ul.pagenav li a::after{
        right: 20px;
        transform: rotate(180deg);
    }
}
@media screen and (max-width: 767.98px){
    #university_info #main h3{
        font-size: 1.6rem;
    }
    #university_info #main ul.univ_list{
        grid-template-columns: 1fr;
    }
    #university_info #main ul.univ_list li a{
        font-size: 2rem;
    }
    #university_info #sub ul.pagenav li a{
        font-size: 1.4rem;
    }
    #university_info #sub ul.pagenav li a::after{
        right: 10px;
    }
    #univ_single .main .info h2{
        margin: 40px 0 20px !important;
    }
    #univ_single .main .info h2 span{}
    #univ_single .main .info table.info_set tr{
        display: block;
    }
    #univ_single .main .info table.info_set tr th,
    #univ_single .main .info table.info_set tr td{
        width: 100%;
        margin-top: -1px;
        display: block;
    }
    #univ_single .main .info table.info_set tr th{
        padding: 4px 0;
    }
    #univ_single .main .info table.info_set tr td{
        padding: 10px 0;
    }
    #univ_single .main .info table.subject{
        width: inherit;
        margin: 40px 0 0;
        white-space: nowrap;
    }
    #univ_single .main .info table.subject th{
        padding: 4px 16px;
    }
    #univ_single .main .info table.subject td{
        padding: 10px 16px;
        text-align: left;
    }
    #univ_single .main .info{
        font-size: 1.6rem;
        line-height: 1.8;
    }
    #univ_single .main .info a{
        text-decoration: none;
    }
    #univ_single .main .info a:hover{
        text-decoration: underline;
    }
    #univ_single .main .info ul.post_list{
        margin: 0;
        padding: 20px 40px 20px 60px;
        border: 1px solid #ddd;
        background: #fafafa;
        border-radius: 8px;
    }
    #univ_single .bottom{
        margin-top: 60px;
        padding: 60px 0;
        border-top: 1px solid #ddd;
    }
    #univ_single .bottom .link a{
        max-width: 240px;
        margin: 0 auto;
        padding: 16px 0;
        display: block;
        background: #eee;
        text-decoration: none;
        color: #333;
        text-align: center;
        transition: background 0.2s ease;
    }
}
