@charset "UTF-8";

/* =========================================
   共通設定 (Common Settings)
   ========================================= */

body {
    font-family: 'Noto Sans JP', sans-serif;
    padding-top: 64px;
}

.font-eng {
    font-family: 'Inter', sans-serif;
}

/* =========================================
   スクロールバー非表示 (Hide Scrollbar)
   ========================================= */

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* =========================================
   manual.html 用スタイル
   ========================================= */

main h2 {
    /* パープル系の薄いグラデーション */
    background: linear-gradient(to right, #faf5ff, #fff);
    /* パープル（紫）のアクセントボーダー */
    border-left: 5px solid #9333ea;
    padding: 10px 15px;
}

/* =========================================
   旧ボリュームチェッカー用アニメーション
   ========================================= */
/* （変更なしのため省略可能です） */
.volume-bar-container {
    width: 100%;
    height: 15px;
    background-color: #e9ecef;
    border-radius: 8px;
    position: relative;
    margin-top: 10px;
}

.target-zone {
    position: absolute;
    top: 0;
    bottom: 0;
    background-color: #adb5bd;
    border-left: 1px solid rgba(0, 0, 0, 0.2);
    border-right: 1px solid rgba(0, 0, 0, 0.2);
    pointer-events: none;
    z-index: 3;
    mix-blend-mode: multiply;
    border-radius: 8px;
}

.range-marker {
    position: absolute;
    top: -6px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid #333;
    transform: translateX(-50%);
    z-index: 5;
    transition: left 0.3s;
    pointer-events: none;
}

.target-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: rgba(255, 255, 255, 0.9);
    border-left: 1px solid rgba(0, 0, 0, 0.5);
    border-right: 1px solid rgba(0, 0, 0, 0.5);
    z-index: 20;
    transform: translateX(-50%);
    pointer-events: none;
}

.volume-bar {
    height: 100%;
    width: 0%;
    background-color: #28a745;
    position: relative;
    z-index: 2;
    border-radius: 8px;
    opacity: 0.9;
}

@keyframes demo-meter-move {
    0% {
        width: 5%;
        background-color: #ffc107;
    }

    10% {
        width: 40%;
        background-color: #ffc107;
    }

    20% {
        width: 25%;
        background-color: #ffc107;
    }

    30% {
        width: 60%;
        background-color: #ffc107;
    }

    35% {
        width: 75%;
        background-color: #28a745;
    }

    45% {
        width: 88%;
        background-color: #28a745;
    }

    50% {
        width: 93%;
        background-color: #28a745;
    }

    55% {
        width: 85%;
        background-color: #28a745;
    }

    60% {
        width: 50%;
        background-color: #ffc107;
    }

    70% {
        width: 75%;
        background-color: #28a745;
    }

    80% {
        width: 30%;
        background-color: #ffc107;
    }

    90% {
        width: 55%;
        background-color: #ffc107;
    }

    100% {
        width: 5%;
        background-color: #ffc107;
    }
}

.animate-demo-bar {
    animation: demo-meter-move 3s infinite ease-in-out;
}
