@charset "UTF-8";

/* ==========================================================================
   External Link Confirm Modal
   ========================================================================== */
.c-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.c-modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.c-modal {
    background: #FFFFFF;
    border-radius: 16px;
    width: 960px;
    max-width: 90%;
    padding: 80px 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media screen and (max-width: 768px) {
    .c-modal {
        padding: 40px 20px;
    }
}

.c-modal__text {
    color: #333333;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 50px;
}

@media screen and (max-width: 768px) {
    .c-modal__text {
        font-size: 14px;
        margin-bottom: 30px;
    }
}

.c-modal__buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 100%;
}

.c-modal__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    height: 60px;
    background: #FFFFFF;
    border: 2px solid #7C1649;
    border-radius: 30px;
    color: #7C1649;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.8;
    letter-spacing: 0.72px;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
    box-sizing: border-box;
}

@media screen and (max-width: 768px) {
    .c-modal__btn {
        height: 50px;
        font-size: 16px;
    }
}

.c-modal__btn:hover {
    background-color: #7C1649;
    color: #FFFFFF;
}

.c-modal__btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.c-modal__icon {
    width: 14px;
    height: 12px;
    flex-shrink: 0;
}
