/* テキスト */
.hymn_player_preview p,
.hymn_player_preview a,
.hymn_player_preview span,
.hymn_player_preview h1,
.hymn_player_preview h2,
.hymn_player_preview h3,
.hymn_player_preview h4,
.hymn_player_preview h5 {
    letter-spacing: 0.05em;
    color: var(--color-text-entry);
    font-family: var(--font-notosan);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.625;
}

.hymn_player_preview p {
    line-height: 1.625;
}

.hymn_player_preview h2 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

h1#page_base_title {
    color: var(--color-text-entry);
}

/* テキスト */

/* container */
.hymn_player_preview_container {
    padding: 0 80px;
    max-width: 1000px;
    box-sizing: border-box;
    margin: 0px auto 0;
    width: 100%;
}

/* container */


.hymn_player_preview_content p {
    margin-top: 8px;
    margin-bottom: 16px;
}

.hymn_player_preview_content:not(:first-child) {
    margin-top: 48px;
}

/* デフォルトのaudioを非表示 */
.hymn_player_preview_content audio {
    display: none;
}

/* カスタムプレイヤー */
.custom-player {
    background: #CECABA;
    padding: 0 24px;
    grid-template-columns: 32px 53px 6fr 62px 1fr;
    align-items: center;
    height: 64px;
    display: grid;
}

.custom-player .play-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-right: 16px;
}

.custom-player .play-btn svg {
    width: 24px;
    height: 24px;
}

.volume-icon svg {
    width: 24px;
    height: 24px;
}

.custom-player .play-btn:hover {
    opacity: 0.7;
}

.custom-player .time.current-time {
    padding-right: 8px;
}

.custom-player .time.duration {
    padding-right: 16px;
}

.custom-player .progress-container {
    height: 8px;
    background: #EDE8DA;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin-right: 8px;
    margin-top: 1.5px;
}

.custom-player .progress-bar {
    height: 100%;
    background: var(--color-text-entry);
    width: 0%;
    transition: width 0.1s linear;
}

.custom-player .volume-container {
    display: flex;
    align-items: center;
}

.custom-player .volume-icon {
    cursor: pointer;
    display: flex;
    align-items: center;
    padding-right: 4px;
}

.custom-player .volume-slider {
    width: 100%;
    min-width: 67px;
    box-sizing: border-box;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: #EDE8DA;
    outline: none;
    cursor: pointer;
    position: relative;
    margin-top: 2.5px;
    flex: 1;
    margin-top: 1.5px;
}


/* 背景グラデーションで音量を表現 */
.custom-player .volume-slider {
    background: linear-gradient(to right, var(--color-text-entry) 0%, var(--color-text-entry) var(--volume, 70%), #EDE8DA var(--volume, 70%), #EDE8DA 100%);
}

/* サム（丸いボタン）を非表示 */
.custom-player .volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 0;
    height: 0;
    opacity: 0;
}

.custom-player .volume-slider::-moz-range-thumb {
    width: 0;
    height: 0;
    opacity: 0;
    border: none;
}

/* カスタムプレイヤー */



@media (max-width: 1099px) {
    .hymn_player_preview_container {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    h1#page_base_title {
        margin-bottom: 20px;
    }

    .hymn_player_preview_container {
        padding: 0 22px;
        margin: 48px auto 0;
    }

    .hymn_player_preview h2 {
        font-weight: 500;
    }

    .hymn_player_preview_content p {
        margin-top: 4px;
        margin-bottom: 8px;
    }

    /* カスタムプレイヤー */
    .custom-player {
        padding: 0 8px;
        grid-template-columns: 24px 41px 4fr 44px 1fr;
    }

    .custom-player .play-btn svg {
        width: 14px;
        height: 14px;
    }

    .volume-icon svg {
        width: 16px;
        height: 16px;
    }

    .custom-player .time.current-time {
        padding-right: 8px;
        font-size: 12px;
    }

    .custom-player .time.duration {
        padding-right: 11px;
        font-size: 12px;
    }

    .custom-player .play-btn {
        padding-right: 4px;
    }

    .custom-player .volume-slider {
        min-width: 24px;
    }

    /* カスタムプレイヤー */
}