html,
body {
    /* height: 100%; */
    margin: 0;
    padding: 0;
    font-size: 10px;
    box-sizing: border-box;
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}
*,
*:before,
*:after {
    box-sizing: inherit;
}
ul,
ol {
    list-style: none;
    margin: 0;
    padding: 0;
}
a {
    text-decoration: none;
    color: inherit;
}
.font-noto {
    font-family: "Noto Sans JP", sans-serif;
}
.flex {
    display: flex;
    justify-content: center;
    align-items: center;
}
.left {
    width: auto;
    flex-grow: 1;
    height: 100%;
    font-size: 1.8rem;
    font-weight: 700;
}
.right {
    width: calc(44rem + 4rem);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}
.title-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 3.6rem;
}
.title {
    display: inline-block;
    font-size: 2.4rem;
}
.music-items .music-item + .music-item {
    margin-top: 1.4rem;
}
.modal {
    background-color: #fff;
    border-radius: 10px;
    position: relative;
    max-width: 800px;
    padding: 3.2rem 5.6rem 5.6rem;
}

.close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background-color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}
.music-player {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f5f5f5;
    padding: 2rem 2.4rem;
    border-radius: 5px;
    height: 6.4rem;
    margin-left: 4rem;
    width: 90%;
    margin-bottom: 1rem;
}
.lyrics-link {
    font-size: 1.3rem;
    border: 1px solid #fd7e00;
    background: #fd7e00;
    border-radius: 3px;
    color: #fff;
}
.lyrics-link:hover {
    opacity: 0.8;
}
.lyrics-link a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 2px 8px;
}

.play-button {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-right: 2.4rem;
}

.time {
    display: flex;
    align-items: center;
    color: #666666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    width: 7.6rem;
    cursor: pointer;
}
.time-slash {
    margin: 0 0.4rem;
}

.progress-bar {
    height: 5px;
    width: 21.1rem;
    margin: 0 0 0 2.4rem;
    background-color: #fff;
    position: relative;
}

.progress {
    width: 0%;
    height: 100%;
    background-color: #fd7e00;
    position: absolute;
    top: 0;
    left: 0px;
}

.volume {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

.volume-control {
    position: relative;
}

.volume-icon {
    z-index: 1;
}

.volume input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    transform: rotate(-90deg);
    background: #fff;
    position: absolute;
    bottom: 50px;
    left: -40px;
}

input[type="range"] {
    -webkit-appearance: none;
    background-color: #fff;
    width: 150px;
    height: 8px;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
    z-index: 0;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    background: linear-gradient(to left, #eee 0%, #eee 100%, #ff9933 100%);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    background-color: #fd7e00;
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

input[type="range"]::-moz-range-thumb {
    background-color: #fd7e00;
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.time {
    font-size: 1.6rem;
}
.overlay {
    display: none;
}
.show {
    display: flex;
}

@media screen and (max-width: 768px) {
    .modal {
        width: 90%;
        padding: 3.2rem 2.4rem;
        max-height: 90%;
        overflow: scroll;
    }
    .flex {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }
    .left {
        margin-bottom: 1rem;
    }
    .right {
        width: 100%;
    }
    .music-player {
        margin-left: 0;
        width: 100%;
    }
    .volume {
        width: 4rem;
    }
    .play-button {
        width: 3rem;
    }
    .close {
        padding: 0;
        width: 3rem;
        right: 1.2rem;
    }
}
