#schedule-table{
    margin-top: 30px;

    width: 1200px;
    min-height: 30px;

    background: #eee;
}

#schedule{
    width: 1150px;
    padding: 0;
    
    font-size: 14px;
    
}
#schedule .time-block > div{
    height: 360px;
}


/* top of table start */
#schedule .row{
    margin: 0;
}
#schedule .back-btn,
#schedule .time-block{
    display: inline-block;
    float: left;
    
    width: 140px;
    
    border: 0;
}
#schedule .back-btn{
    height: 30px;
}


#schedule .day-block{
    display: flex;
    float: right;
    position: relative;
    
    width: calc(100% - 140px);
    height: 30px;
    padding: 0;
}
#schedule .day-block li{
    display: inline-block;
    
    width: calc(100% / 6);
    
    text-align: center;
    vertical-align: middle;
    line-height: 30px;
    
    border: 1px solid #666;
}
/* top of table end */

/* time-block start */
#schedule .time-block_course{
    display: inline-block;
    padding: 100% 0;
    
    height: 100%;
    width: 50px;
    
    text-align: center;
    
    border: 1px solid #666;
    line-height: 100%;
}
#schedule .time-block_course span{
    position: relative;
    float: left;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#schedule .time-block_course span span{
    font-size: 30px;
}


#schedule .time-block_list{
    display: inline-block;
    float: right;
    
    padding: 0;
    
    height: 100%;
    width: 90px;
    
    font-weight: bold;
}
#schedule .time-block_list li{
    display: block;
    
    height: calc(100% / 5);
    
    border: 1px solid #666;
}
#schedule .time-block_list span{
    position: relative;
    float: left;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
/* time-block end */

/* main-grid start */
#schedule .main-grid{
    width: calc(100% - 140px);
}
#schedule .main-grid tr{
}

#schedule .main-grid td{
    display: inline-block;
    width: calc(100% / 6);
    height: 72px;
    
    border: 1px solid #666;
}


.schedule-block{
    background: #fff;
    padding: 2px;
    
    font-size: 14px;
}

.schedule-block .name{
    display: block;
    height: 50%;
}
.schedule-block .teacher{
    display: block;
    height: 25%;
    
    font-style: italic;
}
.schedule-block .time{
    font-weight: bold;
    
    float: left;
}
.schedule-block .place{
    float: right;
}



#schedule .day-block{
    background: #eee;
}

#schedule .main-grid{
    overflow: scroll;
}

#schedule .time-block{
    position: sticky;
    left: 0;
    
    background: #ddd;
}


body{
    /* overflow: visible; */
}

#schedule-table-wrapper{
    overflow: auto;
}
#schedule-table-wrapper::-webkit-scrollbar{
    /* width: 0; */
}

#schedule-wrapper{
    overflow: auto;
    
    margin: 120px auto 80px auto;
    
    height: 560px;
    
}

#day-block-wrapper{
    position: sticky;
    top: 0;
}

#schedule h1{
    /* width: calc(100vw - 60px); */
}

/* main-grid end */
