.professor_info_box .name {
    font-size: 1.5rem;
}
.professor_info_box .name_and_position .position {
    font-size: 1.1rem;
}

.professor_info_box .name a {
    color: #484848;
    transition: 0.2s;
}
.professor_info_box .name a:hover {
    color: #005cc9;
}

.professor_info_box .joint_appointment_unit {
    margin-top: 1rem;
}

.professor_info_box .info .item {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 1rem;
}
.professor_info_box .info .title {
    min-width: 5rem;
}
.professor_info_box .info .value {
    padding-left: 1rem;
    overflow-wrap: anywhere;
    line-height: 1.5;
}

.professor_info_box .info .btn {
    display: inline-block;
    padding: 0.5rem;
    margin-right: 0.5rem;
    border-radius: 1rem;
    box-shadow: 0 1.5px 3px 0 rgba(0, 0, 0, 0.28);
    background: linear-gradient(to bottom, #efefef, #fcfcfc 8%, #dddddd 87%, #ededed);
    color: #484848;
    line-height: 1;
}
.professor_info_box .info .btn:hover {
    background: #c6c6c6;
}

.professor_info_box .info .lab_info {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}
.professor_info_box .info .lab_info .lab_ext {
    padding-left: 0.5rem;
    margin-left: 0.5rem;
    border-left: 1px solid #7b7f83;
}

.professor_info_tab_content .content.disabled {
    display: none;
}

.professor_info_tab_content ol {
    list-style: decimal;
}
.professor_info_tab_content ol li {
    margin-bottom: 1rem;
    padding-left: 1rem;
}

.professor_info_tab_content a {
    color: #005cc9;
}

/* Mobile Style */
@media only screen and (max-width: 768px) {

    .page_container {
        background-color: transparent;
    }

    .professor_info_box {
        position: relative;
        margin-top: 0.5rem;
    }

    .professor_info_box .profile {
        position: relative;
        z-index: 1;
        width: 6rem;
        height: 6rem;
    }
    .professor_info_box .profile img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top;
    }

    .professor_info_box .name_and_position {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 6rem;
        display: flex;
        padding-left: 6rem;
        box-sizing: border-box;
        background-color: #e1e2e3;
        color: #484848;
        line-height: 1.5;
    }
    .professor_info_box .name_and_position-zh {
        flex-direction: row;
        align-items: baseline;
    }
    .professor_info_box .name_and_position-en {
        flex-direction: column;
        line-height: 1.2;
    }
    .professor_info_box .name_and_position-zh .name,
    .professor_info_box .name_and_position-zh .position {
        margin-top: 2rem;
        margin-left: 1rem;
    }
    .professor_info_box .name_and_position-en .name {
        margin-top: 1.5rem;
        margin-left: 1rem;
        font-size: 1.25rem;
    }
    .professor_info_box .name_and_position-en .position {
        margin-left: 1rem;
    }

    .professor_info_box .info {
        margin-top: 1rem;
        padding: 0.5rem;
        box-sizing: border-box;
        border: 1px solid white;
    }
    .professor_info_box .info .upper {
        margin-bottom: 1.6rem;
        line-height: 1.2;
    }
    .professor_info_box .info .value {
        border-left: 2px solid white;
    }

    .professor_info_tab {
        padding: 0.5rem;
        box-sizing: border-box;
        margin-top: 0.5rem;
        background-color: #e1e2e3;
        font-size: 1.2rem;
    }

    .professor_info_tab .tab {
        position: relative;
        padding: 1rem 0;
        margin: 0 auto 0.5rem auto;
        border-radius: 3rem;
        background-color: #707070;
        text-align: center;
    }
    .professor_info_tab .tab::after {
        content: '▵';
        position: absolute;
        right: 1.5rem;
        top: 0.7rem;
        font-size: 1.5rem;
    }
    .professor_info_tab .tab.disabled::after {
        content: '▿';
        position: absolute;
        right: 1.5rem;
        top: 0.7rem;
        font-size: 1.5rem;
    }

    .professor_info_tab .tab .tape {
        display: none;
    }

    .professor_info_tab_content {
        display: none;
    }
    .professor_info_tab .professor_info_tab_content {
        display: block;
        margin-top: 0.5rem;
        background-color: #e1e2e3;
        color: #484848;
    }
    .professor_info_tab_content .content {
        width: 90%;
        margin: 0 auto;
        padding: 1rem 1rem 3rem 1rem;
        box-sizing: border-box;
        font-size: 1.125rem;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    .professor_info_tab_content .time_based_list .title {
        margin-bottom: 1rem;
    }

}

/* Desktop Style */
@media screen and (min-width: 769px) {

    .professor_info_box {
        display: flex;
        flex-direction: row;
        box-sizing: border-box;
        width: 90%;
        margin-top: 2.5rem;
        padding: 4% 5%;
        box-shadow: 0 3px 40px 0 rgba(0, 0, 0, 0.16);
        color: #393939;
        background-color: rgba(235, 235, 235, 0.97);
    }

    .professor_info_box .profile {
        width: 35%;
    }
    .professor_info_box .profile img {
        width: 100%;
    }

    .professor_info_box .info {
        padding-top: 3%;
        padding-left: 3%;
        width: 65%;
        box-sizing: border-box;
        color: #484848;
        font-size: 1.125rem;
    }

    .professor_info_box .position {
        margin-top: 0.625rem;
    }

    .professor_info_box .info .upper {
        margin-top: 2.5rem;
        margin-bottom: 1.6rem;
        line-height: 1.2;
    }

    .professor_info_box .info .value {
        border-left: 2px solid #484848;
    }

    .professor_info_tab {
        display: flex;
        flex-direction: row;
        position: relative;
        width: 90%;
        background-color: rgba(235, 235, 235, 0.97);
    }
    .professor_info_tab .tab {
        position: relative;
        width: 9.375rem;
        height: 2.5rem;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #393939;
        border-bottom: 0.5rem solid #cbcbcb;
        font-size: 1.125rem;
        cursor: pointer;
        transition: 0.2s;
    }
    .professor_info_tab .tab.disabled:hover {
        text-shadow: 0 0 0.875rem white, 0 0 0.9rem white;
    }

    .professor_info_tab .tab .tape {
        display: block;
        position: absolute;
        width: 9.375rem;
        height: 200%;
    }
    .professor_info_tab .tab.disabled .tape {
        display: none;
    }

    .professor_info_tab .tab .title {
        color: #393939;
        z-index: 1;
    }
    .professor_info_tab .tab.disabled .title {
        color: white;
    }

    .professor_info_tab_content .content {
        width: 90%;
        min-height: 50rem;
        box-sizing: border-box;
        padding: 2.5rem 3.75rem 5rem 3.75rem;
        color: #393939;
        background-color: rgba(235, 235, 235, 0.97);
        font-size: 1.125rem;
        line-height: 1.5;
        text-align: justify;
        overflow-wrap: anywhere;
    }

    .professor_info_tab_content .time_based_list {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-row-gap: 1rem;
        grid-column-gap: 2rem;
    }

    .professor_info_tab_content .time_based_list .time {
        display: flex;
        flex-direction: row;
    }
    .professor_info_tab_content .time_based_list .time span {
        flex: 1;
    }
    .professor_info_tab_content .time_based_list .time span:first-of-type {
        padding-right: 0.2rem;
    }
    .professor_info_tab_content .time_based_list .time span:last-of-type {
        padding-left: 0.2rem;
    }

}
