@charset "utf-8";
/* ポップアップウインドウ */
.popup,
.popup-arrow {
    position: absolute;
    top: 180px;
    left: 50%;
    transform: translateX(-50%);
    width: 350px;
    background-color: rgb(188, 0, 127);
    color: white;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    padding: 10px 10px;
    text-align: center;
    z-index: 1;
    /* display: none; 初期状態では非表示 */
    opacity: 0; /* 初期状態では非表示（透明度=0） */
    animation: fadeIn 1.5s forwards;
    animation-delay: 0.6s; /* ページ読み込み後の遅延時間 */
}
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}
.popup-arrow {
    background-color: rgba(171, 0, 90, 0.8); /* 透明度によるブランドカラーの色調ズレを近似色になるよう調整 */
}
.popup p,
.popup-arrow p {
    margin: 0;
}
.popup button,
.popup-arrow button {
    background-color: white;
    color: rgb(188, 0, 127); /* ブランドカラー */
    min-width: 120px;
    border: none;
    padding: 5px 20px;
    margin: 20px 10px 0px;
    cursor: pointer;
    border-radius: 20px 20px 20px 20px;
}
.popup-arrow::before {
    content: "";
    position: absolute;
    top: -14px; /* ポップアップの上端からの距離 */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 15px solid rgba(171, 0, 90, 0.8); /* 透明度によるブランドカラーの色調ズレを近似色になるよう調整 */
    z-index: 1;
}
.translucent {
    background-color: rgba(171, 0, 90, 0.8); /* 透明度によるブランドカラーの色調ズレを近似色になるよう調整 */
}

/* ポップアップリング */
.ring {
    position: absolute;
    top: 510px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 5px solid rgb(188, 0, 127);
    background-color: transparent;
    animation: pulse 1.5s infinite; /* 点滅速度、リピート */
    animation-delay: 0.6s; /* ページ読み込み後の遅延時間 */
    transform: translate(-50%, -50%);
    opacity: 0; /* 初期状態では非表示（透明度=0） */
    z-index: 1;
}
/* ポップアップリングの点滅と透明度 */
@keyframes pulse {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 1;
    }
}
