.index-top {
    background: #000;
}

#notice-popover {
    margin: auto;
    display: none;
    position: fixed;
    z-index: 999;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    max-width: 600px;
}

#notice-popover .notice-contents {
    position: relative;
}

#notice-popover .notice-contents .notice-close {
    width: 40px !important;
    position: absolute;
    top: -3%;
    left: 95%;
    cursor: pointer;
}

.chart-img {
    position: relative;
}

.chart-img .monster-machine-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 15px;
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 25px;
}

.chart-switch {
    position: relative;
}

.chart-switch-btns {
    position: absolute;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.chart-switch-btns label {
    cursor: pointer;
    width: 50%;
    height: 100%;
    display: block;
}

.for-detail-btn img {
    cursor: pointer;
}

/* スマホ向け */
@media screen and (max-width: 500px) {
    #notice-popover {
        width: 90%;
    }

    #notice-popover .notice-contents .notice-close {
        left: 91%;
    }
}
