body {
    background: #000;
}

#history {
    --accent: #f5a200;
    background: #282828;
    border-left: 6px solid #717171;
    border-right: 6px solid #717171;
    box-sizing: border-box;
    color: #fff;
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W4', 'Yu Gothic', YuGothic, Meiryo, sans-serif;
    margin: 0 auto;
    max-width: 760px;
}

#history .container {
    max-width: 760px;
    padding: 44px 48px 90px;
}

#history .history-header {
    margin-bottom: 44px;
}

#history .eyebrow {
    color: var(--accent);
    font-family: 'Alternate Gothic No3 D', 'Arial Narrow', Arial, sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .15em;
    margin-bottom: 20px;
}

#history .history-header h1 {
    color: #fff;
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W6', 'Yu Gothic', YuGothic, Meiryo, sans-serif;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: .02em;
    line-height: 1.45;
    margin-bottom: 24px;
}

#history .history-header .intro {
    color: rgba(255, 255, 255, .68);
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W4', 'Yu Gothic', YuGothic, Meiryo, sans-serif;
    font-size: 12px;
    line-height: 1.85;
}

#history .works-section {
    margin-bottom: 54px;
}

#history .section-heading {
    border-top-color: rgba(255, 255, 255, .22);
    padding: 26px 0 28px;
}

#history .section-heading h2 {
    color: var(--accent);
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W6', 'Yu Gothic', YuGothic, Meiryo, sans-serif;
    font-size: 18px;
    font-weight: 600;
}

#history .section-heading div p {
    color: rgba(255, 255, 255, .46);
}

#history .table-scroll {
    border-color: rgba(255, 255, 255, .18);
    scrollbar-color: rgba(245, 162, 0, .55) rgba(255, 255, 255, .06);
}

#history .works-table {
    font-size: 11px;
    min-width: 0;
}

#history .works-table thead th,
#history .works-table td {
    padding-left: 8px;
    padding-right: 8px;
}

#history .works-table .broadcast-date,
#history .works-table .duration,
#history .works-table .composer,
#history .works-table .work-title {
    font-size: 11px;
}

#history .works-table thead th {
    background: #191919;
    color: rgba(255, 255, 255, .62);
}

#history .works-table tbody tr.archive-row--studio:not(.period-row),
#history .works-table tbody tr.archive-row--drama:not(.period-row),
#history .works-table tbody tr.archive-row--related:not(.period-row) {
    background: #0d0d0d;
}

#history .works-table tbody tr.archive-row--studio:not(.period-row):hover,
#history .works-table tbody tr.archive-row--drama:not(.period-row):hover,
#history .works-table tbody tr.archive-row--related:not(.period-row):hover {
    background: #171717;
}

#history .archive-row--studio td:first-child {
    box-shadow: inset 3px 0 #717171;
}

#history .archive-row--drama td:first-child {
    box-shadow: inset 3px 0 #f0d15c;
}

#history .archive-row--related td:first-child {
    box-shadow: inset 3px 0 #8ab8d8;
}

#history .intro-category--drama {
    color: #f0d15c;
}

#history .intro-category--related {
    color: #8ab8d8;
}

#history .works-table .composer {
    color: #fff;
}

#history .works-table .work-title {
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W4', 'Yu Gothic', YuGothic, Meiryo, sans-serif;
}

#history .works-table .work-title .discography-link::after {
    color: var(--accent);
    content: '▶';
    display: inline-block;
    margin-left: .5em;
    position: relative;
    top: -2px;
}

#history .works-table .work-title .discography-link:hover,
#history .works-table .work-title .discography-link:focus-visible {
    color: var(--accent);
}

#history .sample-status--none {
    display: none;
}

.page-underlay-home {
    bottom: 0;
    display: block;
    position: fixed;
    top: 0;
    width: max(calc((100vw - 760px) / 2), 0px);
    z-index: 2;
}

.page-underlay-home--left { left: 0; }
.page-underlay-home--right { right: 0; }
.mobile-home-link { display: none; }

@media screen and (max-width: 760px) {
    #history {
        border-left: 0;
        border-right: 0;
    }

    .page-underlay-home {
        display: none;
    }

    #history .mobile-home-link {
        border: 1px solid rgba(255, 255, 255, .55);
        color: #fff;
        display: block;
        font-size: 12px;
        letter-spacing: .12em;
        margin: 48px auto 0;
        padding: 11px 18px;
        text-align: center;
        text-decoration: none;
        width: 118px;
    }
}

@media screen and (max-width: 568px) {
    #history .container {
        padding: 40px 20px 72px;
    }

    #history .history-header h1 {
        font-size: 1.7rem;
    }

    #history .works-table tbody tr.archive-row--studio:not(.period-row),
    #history .works-table tbody tr.archive-row--drama:not(.period-row),
    #history .works-table tbody tr.archive-row--related:not(.period-row) {
        background: #0d0d0d;
    }
}
