:root {
    --logo-image: url("/api/css-proxy?url=https%3A%2F%2Fscp-jp-storage.wdfiles.com%2Flocal--files%2Ffile%253A9122253-21-z1ty%2Fdepartment_of_traces.png");
    --header-title: "痕迹部门";
    --header-subtitle:"";

     --header-height-on-desktop: 12rem;
     --header-height-on-mobile: 10rem;

    --pale-gray-monochrome: 238, 240, 234;
    --pale-accent: 151, 116, 89;
    --bright-accent: 151, 116, 89;
    --medium-accent: 78, 60, 46;
    --dark-accent: 63, 48, 37;

    --visited-link-color: 121, 86, 59;
}

#header {
    --search-icon-color: var(--swatch-primary);
    --search-focus-textbox-bg-color: var(--swatch-secondary-color);
    --login-line-divider-color: var(--swatch-primary);
    --login-username-color: var(--swatch-primary);
    --login-myaccount-color: var(--swatch-primary);
}

#header::before {
    background-size: auto 9rem;
}

#header h1 {
    align-items: flex-end;
}
#header h1 a {
    margin-bottom: 2rem;
}

#extra-div-1 {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height-on-desktop);
    background-image: url(/api/css-proxy?url=https%3A%2F%2Fscp-jp-storage.wdfiles.com%2Flocal--files%2Ffile%253A6903570-74-r06f%2Fpublicdomainq-0062947rhh.jpg);
    background-size: cover;
    background-color: rgb(var(--pale-gray-monochrome));
}

.limit {
    margin-bottom: -1rem;
}

.anchor {
    position: -webkit-sticky;
    position: sticky;
    height: 0;
    top: 0;
    z-index: 9999;
}

.sidebox {
    background-color: rgb(var(--pale-gray-monochrome));
    border-top: solid 0.125rem rgb(var(--swatch-primary));
    padding: .14rem 1rem .14rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
    width: calc((100vw - (var(--body-width-on-desktop) + 10rem))/2);
    max-height: calc(100vh - 18rem) !important;
    position: absolute;
    top: 0;
    left: 103.5%;
    z-index: 5;
    overflow: auto;
    box-sizing: border-box;
}

@media (max-width: 80.625rem) {
    .sidebox {
        width: auto;
        max-width: 50vw !important;
        color: rgba(0, 0, 0, 0);
        background-color: rgba(0, 0, 0, 0);
        box-shadow: 0 0 0 0 rgb(var(--swatch-primary));
        border: none;
        right: calc(((100vw - 1em - var(--body-width-on-desktop)) / 2) * -1);
        left: initial;
        pointer-events: none;
        transition: max-width 0.2s ease-in-out 0.1s, color 0.2s ease-in-out 0.1s, box-shadow 0.5s ease-in-out 0.1s, background-color 0s ease-in-out 0s;
        overflow-x: hidden;
        overflow-y: hidden;
        scrollbar-width: thin;
    }
    .sidebox::-webkit-scrollbar {
        width: 0.5em;
    }
    .sidebox * {
        opacity: 0;
        transition: opacity 0.2s ease-in-out 0.1s;
    }
    .sidebox::before,
    .sidebox::after {
        content: " ";
        position: absolute;
        pointer-events: all;
        right: 0;
    }
    .sidebox::before {
        top: calc(50% - 0.75rem);
        width: 0;
        height: 0;
        border-top: 0.75rem solid transparent;
        border-bottom: 0.75rem solid transparent;
        border-right: 0.75rem solid rgb(var(--swatch-primary));
        transition: border 0.1s ease-in-out 0.1s;
        z-index: 10;
    }
    .sidebox::after {
        top: 0;
        max-width: 0.75rem;
        width: 100%;
        height: 100%;
        box-shadow: 0.125rem 0 0 0 rgb(var(--swatch-primary));
        max-height: calc(100vh - 18rem) !important;
        background-color: rgb(var(--pale-gray-monochrome));
        z-index: -1;
        transition: box-shadow 0.5s ease-in-out 0.1s, max-width 0.5s ease-in-out 0.1s, border-top-left-radius 0.5s ease-in-out 0.1s, border-bottom-left-radius 0.5s ease-in-out 0.1s;
    }
    .sidebox:hover,
    .sidebox:active {
        color: rgb(var(--swatch-text-general));
        background-color: rgb(var(--pale-gray-monochrome));
        pointer-events: all;
        overflow-y: scroll;
        transition: max-width 0.5s ease-in-out 0.2s, color 0.5s ease-in-out 0.2s, box-shadow 0.5s ease-in-out 0.1s, background-color 0s ease-in-out 0.6s, right 0.5s ease-in-out 0.1s;
    }
    .sidebox:hover *,
    .sidebox:active * {
        opacity: 1;
        transition: opacity 0.5s ease-in-out 0.2s;
    }
    .sidebox:hover::before,
    .sidebox:active::before {
        border-top: 0vw solid transparent;
        border-bottom: 0vw solid transparent;
    }
    .sidebox:hover::after,
    .sidebox:active::after {
        box-shadow: 0 -0.125rem 0 0 rgb(var(--swatch-primary));
        right: 0;
        max-width: 100% !important;
        border-top-left-radius: 0rem;
        border-bottom-left-radius: 0rem;
    }
}
@media only screen and (max-width:56.25rem) {
    .anchor {
        top: calc(var(--topbar-height-on-mobile) + 0.75rem);
    }
    .sidebox,
    .sidebox:hover,
    .sidebox:active {
        right: calc(((100vw - (100% - 3rem))/2) * -1 + 2em);
    }
    .sidebox::before,
    .sidebox::after {
        content: " ";
        position: absolute;
        pointer-events: all;
        right: 0;
    }
}

.report-box {
    margin: 1em 0;
    padding: 1em;
    background: rgb(var(--pale-gray-monochrome));
    box-shadow: 0px 0px 3px 1px rgb(var(--swatch-primary));
}

.watermark {
    background-image: url("/api/css-proxy?url=https%3A%2F%2Fscp-jp-storage.wdfiles.com%2Flocal--files%2Ffile%253A9122253-22-xp66%2Fdepartment_of_traces2.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 120%;
}
