section.timetable {
    padding: 48px 0;
}

ul.timetable {
    list-style: none;
    margin: 0px auto;
    height: 40px;
    overflow: hidden;
    position: relative;
    width: 100%;
}
ul.timetable > li {
    background-color: #666;
    display: block;
    height: 40px;
    padding: 4px;
    position: absolute;
    top: 6px;
    transition: top 0.25s ease;
    width: 34%;
    z-index: 1;
}
ul.timetable > li:nth-of-type(1) {
    left: 0;
}
ul.timetable > li:nth-of-type(2) {
    left: 33%;
}
ul.timetable > li:nth-of-type(3) {
    right: 0;
}
ul.timetable > li.on {
    top: 0px;
    z-index: 2;
}
ul.timetable > li > button {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    border-color: #000;
    border-radius: 4px 4px 0 0;
    border-style: solid;
    border-width: 1px 1px 0 1px;
    font-size: 16px;
    font-weight: bold;
    height: 40px;
    text-indent: -9999px;
    outline: 0;
    width: 100%;
}
ul.timetable > li#button-honbu > button {
    background-image: url("/shoudoukan/images/tab_honbudoujou.png?v=2"), url("/shoudoukan/images/tab_bg_off.jpg");
    background-size: 101px 34px, cover;
}
ul.timetable > li.on#button-honbu > button {
    background-image: url("/shoudoukan/images/tab_honbudoujou.png?v=2"), url("/shoudoukan/images/tab_bg.jpg");
    background-size: 101px 34px, cover;
}
ul.timetable > li#button-narita > button {
    background-image: url("/shoudoukan/images/tab_narita.png?v=2"), url("/shoudoukan/images/tab_bg_off.jpg");
    background-size: 102px 34px, cover;
}
ul.timetable > li.on#button-narita > button {
    background-image: url("/shoudoukan/images/tab_narita.png?v=2"), url("/shoudoukan/images/tab_bg.jpg");
    background-size: 102px 34px, cover;
}
ul.timetable > li#button-tsubamezawa > button {
    background-image: url("/shoudoukan/images/tab_tsubamezawa.png?v=2"), url("/shoudoukan/images/tab_bg_off.jpg");
    background-size: 102px 34px, cover;
}
ul.timetable > li.on#button-tsubamezawa > button {
    background-image: url("/shoudoukan/images/tab_tsubamezawa.png?v=2"), url("/shoudoukan/images/tab_bg.jpg");
    background-size: 102px 34px, cover;
}

.timeline {
    overflow-x: scroll;
    width: 100vw;
}

table.timetable {
    border-collapse: collapse;
    border: 1px solid #666;
    display: none;
    margin: 0px auto;
    width: 100%;
}
table.timetable.on {
    display: table;
    animation: timetable 1s ease 0s;
}
table.timetable * {
    color: #333;
}
table.timetable th {
    background-color: #666;
    border: 1px solid #555;
    color: #fff;
    font-size: 9px;
    font-weight: bold;
    padding: 4px;
    vertical-align: top;
    /* width: 10%; */
    white-space: nowrap;
}
table.timetable th:first-child {
    width: 50px;
}
table.timetable th > span {
    color: #fff;
    display: block;
    font-size: 6px;
    font-weight: normal;
}
table.timetable tr:nth-of-type(n + 2) th {
    height: 84px;
}
table.timetable td {
    border-width: 0 1px 1px 0;
    border-color: #777 #555 #777 #777;
    border-style: solid;
    font-size: 8px;
    line-height: 120%;
    padding: 3px;
    text-align: center;
    vertical-align: top;
    min-width: 60px;
    height: 8px;
    white-space: nowrap;
    /* min-width: 30px; */
    /*width: calc((100% - 10%) / 6);*/
}
table.timetable td > span {
    background-color: #ff0000;
    border-radius: 4px;
    color: #ffffff;
    display: block;
    font-size: 6px;
    padding: 2px;
    text-align: center;
    width: 100%;
}
table.timetable td > time {
    display: inline-block;
    text-align: center;
    width: 100%;
}
table.timetable td.on {
    border-width: 1px !important;
}
table.timetable td.on.normal {
    background-color: #ffffef !important;
}
table.timetable td.on.gray {
    background-color: #ececec !important;
}
table.timetable td.on.yellow_orange {
    background-color: #fdd29b !important;
}
table.timetable td.on.orange {
    background-color: #fabc6c !important;
}
table.timetable td.on.green {
    background-color: #9de891 !important;
}
table.timetable td.on.blue {
    background-color: #dfdfff !important;
}
table.timetable td.on.chibi {
    background-color: #ffff00 !important;
}
table.timetable td.on.level {
    background-color: #efefff !important;
}
table.timetable td.on.level2 {
    background-color: #dfdfff !important;
}
table.timetable td.on.level3 {
    background-color: #cfcfff !important;
}
table.timetable td.on.all {
    background-color: #ffdfaf !important;
}
table.timetable tr:nth-of-type(3n) td {
    border-color: #efefef #cfcfcf #dfdfdf #efefef;
}
table.timetable tr:nth-of-type(6n) td {
    border-color: #efefef #cfcfcf #cfcfcf #efefef;
}
table.timetable tr:nth-of-type(3n) td {
    border-color: #777 #555 #666 #777;
}
table.timetable tr:nth-of-type(6n) td {
    border-color: #777 #555 #555 #777;
}
table#honbu thead tr th:nth-of-type(2),
table#honbu tr td:nth-of-type(1) {
    display: none;
}
/* table#narita thead tr th:last-of-type,
table#narita thead tr th:nth-last-child(2),
table#narita thead tr th:nth-of-type(2),
table#narita tr td:last-of-type,
table#narita tr td:nth-last-child(2),
table#narita tr td:nth-of-type(1) {
    display: none;
} */

table.information {
    border-collapse: collapse;
    border: 1px solid #cfcfcf;
    margin: 16px auto 0px auto;
    width: 100%;
}
table.information th {
    vertical-align: middle;
    width: 20%;
}
table.information td {
    width: 80%;
}
table.information th,
table.information td {
    border: 1px solid #cfcfcf;
    color: #fff;
    font-size: 11px;
    line-height: 150%;
    padding: 4px;
}
table.information th > span,
table.information td > span {
    background-color: transparent !important;
    color: #fff !important;
    display: inline-block !important;
    font-size: 12px;
    line-height: 150%;
    padding-right: 12px;
    text-align: left;
    width: auto !important;
}
table.information td > em {
    display: block;
    font-size: 12px;
    line-height: 150%;
    padding-left: 12px;
    position: relative;
}
table.information td > em > a {
    color: #fff;
}
table.information td > em::before {
    content: "・";
    position: absolute;
    top: 0;
    left: 0;
}

@keyframes timetable {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
