/* フォントの読み込み: M PLUS Rounded 1c (太さ Bold 700) */
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@700&display=swap');

.badge-wrapper {
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25));
    margin-left: 1em;
    font-family: 'M PLUS Rounded 1c', sans-serif; /* バッジ本体にフォントを適用 */
}

.new-badge {
    width: 70px; /* 円の幅を70pxに変更 */
    height: 70px; /* 円の高さを70pxに変更 */
    background-color: #ffb380;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
    user-select: none; /* テキスト選択を無効にする */
    -webkit-user-select: none; /* Safari/Chrome用のプレフィックス */
    -moz-user-select: none; /* Firefox用のプレフィックス */
    -ms-user-select: none; /* IE/Edge用のプレフィックス */
    letter-spacing: normal; /* 設置先の字送り設定をリセット */
    word-spacing: normal; /* 設置先の単語間隔設定をリセット */
}

    .new-badge::before {
        content: "";
        position: absolute;
        top: 50%;
        left: -8px; /* 突起の位置を調整 */
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 6px 11px 6px 0; /* 突起のサイズを縮小 */
        border-color: transparent #ffb380 transparent transparent;
    }

.text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    transform: translateY(3px);
    animation-name: blink-text;
    animation-duration: 1.8s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.new-text {
    font-size: 16px;
    font-weight: bold;
    border-bottom: 2px solid white;
    padding-bottom: 1px;
    margin-bottom: 3px;
}

.char-with-dot {
    position: relative;
    display: inline-block;
    padding-top: 0.6em;
    margin-top: -0.6em;
}

    .char-with-dot::before {
        content: '\30fb';
        position: absolute;
        top: 0.05em;
        left: 50%;
        transform: translateX(-50%);
        font-size: 0.8em;
        line-height: 1;
        color: white;
    }

.item-text {
    font-size: 12px; /* 文字サイズを縮小 */
    font-weight: bold;
}

@keyframes blink-text {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}
