@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

        .mp3-player-container {
            max-width: 600px;
            margin: 20px auto;
            padding: 20px;
            background: #5a4f9c;
            border-radius: 16px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        }

        .mp3-title {
            color: white;
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 20px;
            text-align: center;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        .mp3-controls-main {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
        }

        .mp3-btn {
            background: white;
            border: none;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            -webkit-tap-highlight-color: transparent;
        }

        .mp3-btn:active {
            transform: scale(0.95);
        }

        .mp3-btn:hover {
            transform: scale(1.05);
        }

        .mp3-btn-play {
            width: 64px;
            height: 64px;
        }

        .mp3-btn svg {
            width: 24px;
            height: 24px;
            fill: #667eea;
        }

        .mp3-btn-play svg {
            width: 32px;
            height: 32px;
        }

        .mp3-progress-container {
            margin-bottom: 15px;
        }

        .mp3-time-display {
            display: flex;
            justify-content: space-between;
            color: white;
            font-size: 13px;
            margin-bottom: 8px;
            font-variant-numeric: tabular-nums;
        }

        .mp3-seek-bar {
            width: 100%;
            height: 8px;
            -webkit-appearance: none;
            appearance: none;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 4px;
            outline: none;
            cursor: pointer;
        }

        .mp3-seek-bar::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 18px;
            height: 18px;
            background: white;
            border-radius: 50%;
            cursor: pointer;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        }

        .mp3-seek-bar::-moz-range-thumb {
            width: 18px;
            height: 18px;
            background: white;
            border-radius: 50%;
            cursor: pointer;
            border: none;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        }

        .mp3-controls-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 15px;
        }

        .mp3-control-group {
            display: flex;
            align-items: center;
            gap: 10px;
            background: rgba(255, 255, 255, 0.2);
            padding: 8px 12px;
            border-radius: 20px;
            backdrop-filter: blur(10px);
        }

        .mp3-volume-container {
            display: flex;
            align-items: center;
            gap: 8px;
            flex: 1;
        }

        .mp3-volume-btn {
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 0;
            display: flex;
            align-items: center;
            -webkit-tap-highlight-color: transparent;
        }

        .mp3-volume-btn svg {
            width: 20px;
            height: 20px;
            fill: white;
        }

        .mp3-volume-slider {
            width: 80px;
            height: 4px;
            -webkit-appearance: none;
            appearance: none;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 2px;
            outline: none;
            cursor: pointer;
        }

        .mp3-volume-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 14px;
            height: 14px;
            background: white;
            border-radius: 50%;
            cursor: pointer;
        }

        .mp3-volume-slider::-moz-range-thumb {
            width: 14px;
            height: 14px;
            background: white;
            border-radius: 50%;
            cursor: pointer;
            border: none;
        }

        .mp3-speed-select {
            background: transparent;
            color: white;
            border: none;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            outline: none;
            padding: 4px 8px;
            border-radius: 8px;
            -webkit-tap-highlight-color: transparent;
        }

        .mp3-speed-select option {
            background: #667eea;
            color: white;
        }

        .mp3-error {
            background: rgba(255, 59, 48, 0.9);
            color: white;
            padding: 12px;
            border-radius: 8px;
            margin-top: 15px;
            display: none;
            text-align: center;
            font-size: 14px;
        }

        .mp3-error.show {
            display: block;
        }

        .mp3-retry-btn {
            background: white;
            color: #667eea;
            border: none;
            padding: 8px 16px;
            border-radius: 6px;
            margin-top: 8px;
            cursor: pointer;
            font-weight: 600;
            -webkit-tap-highlight-color: transparent;
        }

        @media (max-width: 480px) {
            .mp3-player-container {
                padding: 15px;
            }

            .mp3-controls-bottom {
                flex-direction: column;
                gap: 10px;
            }

            .mp3-control-group {
                width: 100%;
                justify-content: center;
            }

            .mp3-volume-slider {
                width: 120px;
            }
        }