.swim-home-notice {
    width: min(520px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    max-height: none;
    margin: auto;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: visible;
}

.swim-home-notice::backdrop {
    background: rgba(0, 0, 0, 0.62);
}

.swim-home-notice__panel {
    position: relative;
    max-height: 70vh;
    overflow: auto;
    background: #fff;
    border-radius: 12px;
}

.swim-home-notice__close {
    position: sticky;
    top: 8px;
    float: right;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 8px 8px -52px 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #1d2327;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
}

.swim-home-notice__close:hover,
.swim-home-notice__close:focus {
    background: #f0f0f1;
    outline: 2px solid #2271b1;
    outline-offset: 2px;
}

.swim-home-notice__link {
    display: block;
}

.swim-home-notice__image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    background: #fff;
}
