.modal-content {
    padding: 20px;
    width: 400px;
    max-width: 100%;
    margin-top: 10px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    border: 2px solid red;
    background-color: rgba(255, 255, 255, 0.9); /* 半透明の背景色 */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-radius: 10px;
}

.modal-content::before {
    content: "";
    position: absolute;
    top: -10px; /* Adjust based on the size of the arrow */
    left: 20px; /* Adjust the position of the arrow */
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid red;
    z-index: 1001;
}

.modal-content .alert::before {
    content: "\f071"; /* Font Awesome exclamation-triangle icon */
    font-family: "Font Awesome 5 Free"; /* Specify the font family */
    font-weight: 900; /* Set the font weight to solid */
    position: absolute;
    top: 10px; /* Adjust based on the size of the arrow */
    left: -10px; /* Adjust the position of the icon */
    font-size: 25px; /* Size of the icon */
    color: red; /* Color of the icon */
    background-color: rgba(255, 255, 255, 0.9); /* Background color to match the modal */
    padding: 0 5px; /* Add some padding to the sides */
    z-index: 1002;
}

.modal-content .alert {
    color: #d8000c;
    font-size: 12px;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    position: relative;
}

.modal-content .alert p {
    margin: 0;
    padding-left: 20px;
}

.modal-content .login-button {
    display: block;
    width: 100%;
    background-color: #e60012;
    color: white;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
    color: red;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}