









/* ボタンの輪郭 */
.wp-block-button.is-style-outline .wp-block-button__link {
    background-color: transparent !important;
    border: 2px solid currentColor !important;
}

















/* WAV用 */
.wav-player {
    border: 2px solid #cc0077;
	
    max-width: 640px;
    margin: 25px auto;
    background: linear-gradient(135deg, #ffffff, #fff0f5);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
}


/* inst用 */
.inst-player {
    border: 2px solid #e0ffe9;
	
    max-width: 640px;
    margin: 25px auto;
    background: linear-gradient(135deg, #ffffff, #e0ffe9);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
}

/* MP3用 */
.mp3-player {
    border: 2px solid #0077cc;
	
    max-width: 640px;
    margin: 25px auto;
    background: linear-gradient(135deg, #ffffff, #e0f7ff);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
}

.mp3-player h3 {
    text-align: center;
    margin-bottom: 15px;
    color: #0073e6;
    font-weight: 700;
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;           /* ボタン間のスペース */
    flex-wrap: nowrap;   /* 改行させない */
    overflow-x: auto;    /* 横スクロール可能 */
    -webkit-overflow-scrolling: touch; /* スムーズスクロール */
    padding: 5px 0;
}

/* ボタン共通 */
.controls button {
    flex: 0 0 auto;      /* ボタン幅を固定に近い状態 */
    padding: 8px 10px;   /* 小さめに調整 */
    font-size: 14px;     /* スマホでも収まるサイズ */
    border-radius: 6px;
    background: #0073e6;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}
.controls button:hover {
    background: #005bb5;
}

/* アクティブ状態（リピート・シャッフル） */
.controls button.active {
    background: #00bfa5;
}

/* スマホ画面向けにさらに縮小 */
@media (max-width: 480px) {
    .controls button {
        padding: 6px 8px;
        font-size: 12px;
    }
}


.progress-container {
    width: 100%;
    height: 10px;
    background: #ddd;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 20px;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    width: 0%;
    background: #0073e6;
    transition: width 0.1s linear;
}

audio { display: none; } 

ul.playlist {
    list-style: none;
    padding: 0;
    margin: 0;
}
ul.playlist li {
    padding: 12px 18px;
    margin-bottom: 6px;
    background: #fff;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    font-weight: 500;
    font-size: 16px;
}
ul.playlist li:hover { background: #d0ebff; }
ul.playlist li.playing {
    background: #0073e6;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}



.time-display {
    text-align: center;
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
}