.year-notice {
    box-sizing: border-box;
    width: min(90vw, 480px);
    padding: 2rem 1.5rem;
    background-color: #000000;
    color: #ffffff;
    border: 1px solid #888;
    text-align: center;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
}

.year-notice::backdrop {
    background-color: rgba(0,0,0,0.6);
}

.year-notice-title {
    margin: 0 0 1rem;
    font-size: min(5vw, 24px);
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.year-notice-text {
    margin: 0 0 1.5rem;
    font-size: 16px;
    text-wrap: balance;
}

.year-notice-button {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    margin-top: 0.75rem;
    padding: 12px;
    border: 1px solid #ffffff;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.year-notice-latest {
    background-color: #ffffff;
    color: #000000;
    font-weight: bold;
}

.year-notice-stay {
    background-color: transparent;
    color: #ffffff;
}

.year-notice-latest:hover,
.year-notice-latest:focus {
    background-color: #dddddd;
}

.year-notice-stay:hover,
.year-notice-stay:focus {
    background-color: #333333;
}
