:root {
    --lyric-container-width: 660px;
    --lyric-container-max-width: 85%;

    --chant-display:none;
    --chant-color:inherit;
    --chant-weight:normal;
}

.lyrics-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#lyrics-headline {
    font-size: 40px;
    font-weight: bold;
}

.song-select-container {
    width: var(--lyric-container-width);
    max-width: var(--lyric-container-max-width);
    margin: 10px auto;
    padding: 1rem;

    display: flex;
    flex-direction: column;
    align-items: center;

    background: var(--con-color);
    border-radius: 20px;
}

#song-select-headline {
    font-size: 30px;
    font-weight: bold;
}

/* 以下selectのCSSです */
#song-select {
    height: 35px;
    width: 500px;
    max-width: 100%;
    margin: 10px;
    padding-left: 10px;

    background: white;
    border: 1px solid black;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
    overflow: hidden;

    cursor: pointer;
}

.youtube-player {
    width: var(--max-size);
    max-width: 100%;
    aspect-ratio: 16 / 9;

    display: block;
    margin: auto;

    border: none;
}

#chant-iframe {
    padding-top: 1rem;
}

#lyric-container {
    width: var(--lyric-container-width);
    max-width: var(--lyric-container-max-width);
    margin: 10px;
    margin-bottom: 20px;
    padding: 1rem;

    background: var(--con-color);
    border-radius: 20px;
}

.segment-control {
    width: 100%;

    display: inline-flex;
    justify-content: center;

    border: 2px solid var(--base-color);
    border-radius: 999px;
    overflow: hidden;
}

.segment-control button {
    width: var(--max-size);
    padding: 8px 0px;

    border: none;
    background: white;
    color: var(--base-color);
    font-size: 18px;
    font-weight: bold;

    cursor: pointer;

    transition: 0.2s;
}

.segment-control button.active {
    background: var(--base-color);
    color: white;
}

#lyric-text {
    margin-top: 20px;
    padding: 1.5rem;

    font-size: 16px;
    background: white;
    border-radius: 20px;
    line-height: 1.8;
}

.chant-only{
    display: var(--chant-display);
    color: var(--chant-color);
    font-weight: var(--chant-weight);
}

.chant-shared{
    color: var(--chant-color);
    font-weight: var(--chant-weight);
}



@media(max-width: 768px){
#lyrics-headline {
    font-size: 30px;
}

#song-select-headline {
    font-size: 25px;
}

#song-select {
    height: 40px;
    width: 360px;

    background: white;
    border: 1px solid black;
    border-radius: 18px;
    font-size: 20px;
    font-weight: normal;
}
}