body {
    background: #000;
}

#discography {
    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;
}

#discography .discography-header {
    box-sizing: border-box;
    grid-column: 1 / -1;
    min-height: 205px;
    padding: 72px 36px 48px;
}

#discography .discography-header h1 {
    color: #fff;
    font-family: 'Alternate Gothic No3 D', 'Arial Narrow', Arial, sans-serif;
    font-size: 38px;
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.2;
    margin: 0 0 22px;
}

#discography .discography-header p {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    margin: 0;
}

#discography > section.disc-list.container {
    padding: 16px;
}

#discography > section.disc-list section.disc-image-container {
    margin-bottom: 12px;
}

#discography > section.disc-list section.disc-title-ja h1 {
    color: rgba(255, 255, 255, .76);
    font-size: 11px;
    line-height: 1.45;
}

#discography > section.disc-list section.disc-title-ja h2 {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

#discography .disc-title-ja .disc-subtitle {
    font-size: calc(1em - 1px);
}

#discography .disc-title-ja a {
    color: inherit;
    text-decoration: none;
}

#discography .disc-title-ja a:hover,
#discography .disc-title-ja a:focus-visible {
    color: #fff;
    opacity: .68;
    outline: none;
}

/* 曲目はジャケット選択後の詳細だけに表示する */
#discography .catalog-card-preview {
    display: none;
}

#discography > section.disc-list.is-expanded {
    border-right: 0;
    gap: 24px 30px;
    margin-bottom: 54px;
    padding: 28px 18px 42px;
    position: relative;
}

#discography > section.disc-list.is-expanded section.disc-image-container {
    align-self: start;
    margin-left: 0;
}

#discography > section.disc-list.is-expanded .catalog-card-label {
    color: rgba(255, 255, 255, .64);
    margin-top: 12px;
}

#discography > section.disc-list.is-expanded .catalog-card-track button {
    grid-template-columns: 28px minmax(0, 1fr) 18px;
    padding: 9px 6px;
}

#discography .catalog-card-track.is-active,
#discography .catalog-track.is-active {
    box-shadow: inset 3px 0 #717171;
}

#discography .catalog-card-track__number,
#discography .catalog-card-track__action,
#discography .catalog-panel__close,
#discography .catalog-status {
    color: rgba(255, 255, 255, .68);
}

#discography .catalog-panel__header {
    border-top: 0;
    padding-top: 0;
}

#discography .catalog-player-region,
#discography .catalog-explanation--selected,
#discography .catalog-purchase {
    border-left: 0;
    border-right: 0;
}

#discography .catalog-explanation {
    background: #0c0c0c;
}

#discography .catalog-purchase {
    background: #0c0c0c;
}

#discography .catalog-track-purchase {
    box-sizing: border-box;
    justify-content: flex-start;
    margin: 18px 0 0;
    max-width: 100%;
    min-width: 0;
    width: 280px;
}

#discography .catalog-card-close {
    appearance: none;
    background: transparent;
    border: 0;
    color: #fff;
    cursor: pointer;
    display: none;
    font-family: Arial, sans-serif;
    font-size: 32px;
    font-weight: 300;
    height: 38px;
    line-height: 34px;
    padding: 0;
    position: absolute;
    right: 14px;
    top: 12px;
    width: 38px;
    z-index: 3;
}

#discography > section.disc-list.is-expanded .catalog-card-close {
    display: block;
}

#discography .catalog-card-close:hover,
#discography .catalog-card-close:focus-visible {
    color: rgba(255, 255, 255, .65);
    outline: 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: 768px) {
    #discography {
        border-left: 0;
        border-right: 0;
    }

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

    #discography .discography-header {
        min-height: 170px;
        padding: 48px 22px 36px;
    }

    #discography .discography-header h1 {
        font-size: 34px;
    }

    #discography > section.disc-list.container {
        padding: 11px;
    }

    #discography > section.disc-list section.disc-title-ja h1 {
        font-size: .72rem;
    }

    #discography > section.disc-list section.disc-title-ja h2 {
        font-size: .86rem;
        line-height: 1.4rem;
    }

    #discography > section.disc-list.is-expanded {
        gap: 16px;
        margin-bottom: 38px;
        padding: 18px 14px 34px;
    }

    #discography .catalog-card-close {
        right: 6px;
        top: 4px;
    }

    #discography .catalog-track-purchase {
        width: 100%;
    }

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