.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;
}

.monster-machine-header {
    display: flex;
    margin-top: 20px;
    margin-bottom: 15px;
}

.monster-machine-center {
    width: 70%;
    display: flex;
    flex-direction: column;
}

.monster-machine-left,
.monster-machine-right {
    width: 15%;
    text-align: center;
    align-content: center;
}

.monster-machine-left img,
.monster-machine-right img {
    width: 25%;
    cursor: pointer;
}

.monster-machine-ym {
    position: relative;
    aspect-ratio: 488 / 63;
}

.monster-machine-ym img {
    position: absolute;
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.75));
}

.monster-machine-ym p {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 20px;
}

.monster-machine-text {
    margin-top: 10px;
}

.monster-machine-text img {
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.75));
}

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

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