@charset "UTF-8";

body {
    position: relative;
    width: 375px;
    margin: 0 auto;
}


#popup {
    color: #fff;
    width: 300px;
    display: block;
    position: absolute;
    top: 284px;
    left: 50%;
    transform: translate(-50%, 0%);
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    text-align: left;
}


.popup__text {
    margin: 0 auto 10px;
    white-space: normal;
}

.popupbutton__container {
    display: flex;
    justify-content: center;
    position: relative;
}

.popup__button {
    font-size: 14px;
    color: #000;
    font-weight: 700;
    padding: 5px;
    border-radius: 20%;
    background-color: #f0f0f0;
    margin: 0 auto;
}

.arrow-up {
    position: absolute;
    z-index: 995;
    display: none;
    width: 20px;
    height: 30px;
    background-color: red;
    clip-path: polygon(50% 0%,
            /* 上端中央（三角の先端） */
            100% 50%,
            /* 三角の右下角 */
            75% 50%,
            /* 四角の右上角 */
            75% 100%,
            /* 四角の右下角 */
            25% 100%,
            /* 四角の左下角 */
            25% 50%,
            /* 四角の左上角 */
            0% 50%
            /* 三角の左下角 */
        );
    margin: 40px;

    /* 🔽 点滅アニメーション */
    animation: blink 1s step-start infinite;
}

.arrow-left {
    position: absolute;
    z-index: 995;
    display: none;
    width: 20px;
    height: 30px;
    background-color: red;
    clip-path: polygon(50% 0%,
            /* 上端中央（三角の先端） */
            100% 50%,
            /* 三角の右下角 */
            75% 50%,
            /* 四角の右上角 */
            75% 100%,
            /* 四角の右下角 */
            25% 100%,
            /* 四角の左下角 */
            25% 50%,
            /* 四角の左上角 */
            0% 50%
            /* 三角の左下角 */
        );
    margin: 40px;

    /* 🔄 回転して左向きにする */
    transform: rotate(-90deg);
    transform-origin: center;

    /* 🔽 点滅アニメーション */
    animation: blink 1s step-start infinite;
}

/* 点滅アニメーション定義 */
@keyframes blink {
    50% {
        opacity: 0;
    }
}




.pierce-effect {
    animation: blinkpierce 1s step-start infinite;
}

@keyframes blinkpierce {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}


.svg-Point {
    display: none;
    position: absolute;
    height: 5px;
    width: 5px;
    border-radius: 50%;
    background-color: red;
}

.svg__Point__Arrow {
    display: none;
    position: absolute;
    width: 148px;
    height: 2px;
    background-color: #000;
    transform: rotate(-54.6deg);
    /* ← 斜めにする */
    transform-origin: left center;
    /* ← 回転軸を左端に */
}

/* 矢じり（矢の先端） */
.svg__Point__Arrow::after {
    content: "";
    display: block;
    position: absolute;
    right: -3px;
    top: -3.5px;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid #000;
    /* ← 矢印の色 */
}



.svg__Point__Text {
    display: none;
    position: absolute;
    font-size: 12px;
    color: #000;
    font-weight: 500;
}


.svg__Start__Text {
    display: none;
    position: absolute;
    font-size: 12px;
    color: #000;
    font-weight: 500;
}


#drawButton.active {
    background-color: green;
    color: white;
}


.svg-Point_next1 {
    display: none;
    position: absolute;
    height: 5px;
    width: 5px;
    border-radius: 50%;
    background-color: red;
}

.svg__Point__Arrow_next1 {
    display: none;
    position: absolute;
    width: 84px;
    height: 2px;
    background-color: #000;
    transform: rotate(-180deg);
    /* ← 斜めにする */
    transform-origin: left center;
    /* ← 回転軸を左端に */
}

/* 矢じり（矢の先端） */
.svg__Point__Arrow_next1::after {
    content: "";
    display: block;
    position: absolute;
    right: -3px;
    top: -4.5px;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid #000;
    /* ← 矢印の色 */
}


.svg__Point__Text_next {
    display: none;
    position: absolute;
    font-size: 12px;
    color: #000;
    font-weight: 500;
}

.svg__SquareDesign {
    display: none;
    position: absolute;
    border: 2px dotted gray;
    width: 95px;
    height: 95px;
}