.closing_box {
    position: relative;
    top: auto;
    left: auto;
    width: 90%;
    box-sizing: border-box;
    margin: -30px auto 16px auto;
    padding: 8px 14px;
    font-size: var(--font-size-large);
}

.closing_bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-family-bold);
    font-weight: bold;
    color: var(--dark-grey-color);
}

.closing_warn {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
}

.closing_warn circle:first-child {
    fill: #d32f2f;
}

.closing_warn rect,
.closing_warn circle + rect + circle {
    fill: #ffffff;
}

.closing_expand,
.closing_collapse {
    color: var(--feye-blue);
    text-decoration: none;
    cursor: pointer;
}

.closing_expand:hover,
.closing_collapse:hover {
    text-decoration: underline;
}

.closing_box.is-expanded .closing_more {
    display: none;
}

.closing_body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease;
}

.closing_box.is-expanded .closing_body {
    grid-template-rows: 1fr;
}

.closing_letter {
    overflow: hidden;
    min-height: 0;
    max-width: 640px;
    margin: 0 auto;
    text-align: left;
    font-family: var(--font-family-normal);
    font-size: 14px;
    font-weight: normal;
    line-height: 1.6;
    color: var(--dark-grey-color);
}

.closing_letter p {
    margin: 0 0 10px 0;
}

.closing_letter .closing_greeting {
    margin-top: 14px;
    font-family: var(--font-family-bold);
    font-size: 16px;
}

.closing_letter .closing_signoff {
    margin-bottom: 4px;
}

.closing_collapse {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    font-size: var(--font-size-medium-plus);
    margin: 0 0 2px auto;
    width: max-content;
}

.closing_collapse svg,
.closing_expand svg {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media only screen and (max-width: 840px) {
    .closing_box {
        width: calc(100% - 20px);
        margin: -50px auto 12px auto;
        font-size: var(--font-size-medium-plus);
    }

    .closing_bar {
        gap: 6px;
    }

    .closing_warn {
        width: 18px;
        height: 18px;
    }

    .closing_body,
    .closing_box.is-expanded .closing_body {
        position: fixed;
        inset: 0;
        z-index: 100000;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 16px;
        box-sizing: border-box;
        background: rgba(0, 0, 0, 0.6);
        grid-template-rows: none;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, visibility 0s linear 0.25s;
    }

    .closing_box.is-expanded .closing_body {
        opacity: 1;
        visibility: visible;
        transition: opacity 0.25s ease, visibility 0s linear 0s;
    }

    .closing_letter {
        width: 100%;
        max-width: 480px;
        max-height: 85vh;
        overflow-y: auto;
        box-sizing: border-box;
        padding: 4px 18px 12px 18px;
        background-color: var(--background-color);
        border: var(--shadow-color) solid 1px;
        border-radius: 5px;
        box-shadow: 3px 3px 1px 0px rgba(0,0,0,0.5);
        transform: translateY(16px);
        transition: transform 0.25s ease;
    }

    .closing_box.is-expanded .closing_letter {
        transform: translateY(0);
    }

    .closing_box.is-expanded .closing_more {
        display: inline;
    }
}
