.company-modal-is-open {
    overflow: hidden;
}

.company-commemorative-modal {
    align-items: center;
    background: rgb(9 28 42 / 72%);
    display: none;
    inset: 0;
    justify-content: center;
    padding: 24px;
    position: fixed;
    z-index: 999999;
}

.company-commemorative-modal.is-visible {
    display: flex;
}

.company-commemorative-modal__dialog {
    margin: auto;
    max-height: calc(100vh - 48px);
    max-width: 560px;
    position: relative;
    width: 100%;
}

.company-commemorative-modal__content {
    background: #fff;
    border: 1px solid rgb(255 255 255 / 24%);
    border-radius: 24px;
    box-shadow: 0 24px 70px rgb(4 25 41 / 38%);
    overflow: hidden;
    position: relative;
}

.company-commemorative-modal .company-commemorative-modal__image {
    border-radius: 0;
    display: block;
    height: auto;
    max-height: calc(100vh - 48px);
    object-fit: contain;
    width: 100%;
}

.company-commemorative-modal .company-commemorative-modal__close {
    align-items: center;
    appearance: none;
    background: rgb(255 255 255 / 10%);
    border: 1px solid rgb(255 255 255 / 32%);
    border-radius: 50%;
    box-shadow: 0 6px 18px rgb(16 42 59 / 28%);
    color: #fff;
    cursor: pointer;
    display: flex;
    font: 300 34px/1 Arial, sans-serif;
    height: 46px;
    justify-content: center;
    padding: 0 0 4px;
    position: absolute;
    right: -18px;
    top: -18px;
    transition: background-color 160ms ease, transform 160ms ease;
    width: 46px;
    z-index: 2;
}

.company-commemorative-modal .company-commemorative-modal__close:hover,
.company-commemorative-modal .company-commemorative-modal__close:focus-visible {
    background: #14b8a6;
    outline: 3px solid rgb(255 255 255 / 70%);
    transform: scale(1.06);
}

@media (max-width: 600px) {
    .company-commemorative-modal {
        padding: 16px;
    }

    .company-commemorative-modal__dialog,
    .company-commemorative-modal .company-commemorative-modal__image {
        max-height: calc(100vh - 32px);
    }

    .company-commemorative-modal__content {
        border-radius: 20px;
    }

    .company-commemorative-modal .company-commemorative-modal__close {
        height: 42px;
        right: -8px;
        top: -12px;
        width: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .company-commemorative-modal .company-commemorative-modal__close {
        transition: none;
    }
}
