.arrow-box-parent {
    position: relative;
    display: inline-block;
}

.arrow-box {
    display: none;
    position: absolute;
    z-index: 100;
    text-align: center;
    width: 130px;
    padding: 8px;
    margin-top: 10px;
    border-radius: 8px;
    background: #333;
    color: #fff;
    font-size: 14px;
    left: 50%;
    transform: translateX(-50%);
}

    .arrow-box:after {
        position: absolute;
        bottom: 100%;
        left: 50%;
        width: 0;
        height: 0;
        margin-left: -10px;
        border: solid transparent;
        border-color: rgba(51, 51, 51, 0);
        border-bottom-color: #333;
        border-width: 10px;
        pointer-events: none;
        content: " ";
    }

.arrow-box-parent:hover .arrow-box,
.arrow-box-parent:focus .arrow-box {
    display: block;
}

.arrow-box-right {
    right: 0;
    left: auto;
    transform: none; /* 제거 */
    margin-left: 10px; /* 오른쪽에 여유를 줌 */
}

    .arrow-box-right:after {
        left: 85%;
    }
