.slider-container {
    max-width: 400px;
    margin: 20px auto;
    text-align: center;
}

input[type="range"] {
    width: 100%;
    height: 15px; /* スライダーの太さ */
    -webkit-appearance: none; /* デフォルトのスタイルを無効化 */
    background: #ddd; /* バーの背景色 */
    border-radius: 30px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px; /* スライダーのつまみの幅 */
    height: 20px; /* スライダーのつまみの高さ */
    background: #d31830; /* つまみの色（指定された色に変更） */
    border-radius: 50%;
    cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #d31830; /* つまみの色（指定された色に変更） */
    border-radius: 50%;
    cursor: pointer;
}

#amount-value {
    font-weight: bold;
    color: #e74c3c;
    display: inline-block;
    margin-bottom: 10px;
    font-size: 20px;
    white-space: nowrap; /* 改行させない */
}

#purchase-price {
    font-weight: bold;
    font-size: 28px; /* サイズを大きくして目立たせる */
    color: #d31830; /* 文字色を変更 */
}

.purchase-price-container {
    margin-top: 15px;
    font-size: 22px;
    color: #d31830; /* ラベルの色も指定の色に変更 */
    background-color: #ffe4e6; /* 背景色を薄い色にして目立たせる */
    padding: 10px;
    border-radius: 5px;
}

/* 吹き出しスタイル */
.label-bubble {
    position: relative;
    display: inline-block;
    background-color: #d31830; /* 吹き出しの背景色も変更 */
    color: #fff;
    padding: 10px 15px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
}

.label-bubble::after {
    content: "";
    position: absolute;
    top: 100%; /* 吹き出しの下方向に三角形を出す */
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px;
    border-style: solid;
    border-color: #d31830 transparent transparent transparent; /* 吹き出しの三角形の色を変更 */
}
