/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-cdkrvhzwr4] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-cdkrvhzwr4] {
    flex: 1;
}

.sidebar[b-cdkrvhzwr4] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-cdkrvhzwr4] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-cdkrvhzwr4]  a, .top-row[b-cdkrvhzwr4]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-cdkrvhzwr4]  a:hover, .top-row[b-cdkrvhzwr4]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-cdkrvhzwr4]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-cdkrvhzwr4] {
        justify-content: space-between;
    }

    .top-row[b-cdkrvhzwr4]  a, .top-row[b-cdkrvhzwr4]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-cdkrvhzwr4] {
        flex-direction: row;
    }

    .sidebar[b-cdkrvhzwr4] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-cdkrvhzwr4] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-cdkrvhzwr4]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-cdkrvhzwr4], article[b-cdkrvhzwr4] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-cdkrvhzwr4] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-cdkrvhzwr4] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-12lpt4g8li] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-12lpt4g8li] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-12lpt4g8li] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-12lpt4g8li] {
    font-size: 1.1rem;
}

.bi[b-12lpt4g8li] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-12lpt4g8li] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-12lpt4g8li] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-12lpt4g8li] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-lock-nav-menu[b-12lpt4g8li] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu[b-12lpt4g8li] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu[b-12lpt4g8li] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu[b-12lpt4g8li] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-nav-menu[b-12lpt4g8li] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

.nav-item[b-12lpt4g8li] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-12lpt4g8li] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-12lpt4g8li] {
        padding-bottom: 1rem;
    }

    .nav-item[b-12lpt4g8li]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-12lpt4g8li]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-12lpt4g8li]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-12lpt4g8li] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-12lpt4g8li] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-12lpt4g8li] {
        display: none;
    }

    .nav-scrollable[b-12lpt4g8li] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/NoNavLayout.razor.rz.scp.css */
.page[b-t0pbj8hl2z] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-t0pbj8hl2z] {
    flex: 1;
}

.sidebar[b-t0pbj8hl2z] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-t0pbj8hl2z] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-t0pbj8hl2z]  a, .top-row[b-t0pbj8hl2z]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-t0pbj8hl2z]  a:hover, .top-row[b-t0pbj8hl2z]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-t0pbj8hl2z]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-t0pbj8hl2z] {
        justify-content: space-between;
    }

    .top-row[b-t0pbj8hl2z]  a, .top-row[b-t0pbj8hl2z]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-t0pbj8hl2z] {
        flex-direction: row;
    }

    .sidebar[b-t0pbj8hl2z] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-t0pbj8hl2z] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-t0pbj8hl2z]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-t0pbj8hl2z], article[b-t0pbj8hl2z] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-t0pbj8hl2z] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-t0pbj8hl2z] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/TopMenu.razor.rz.scp.css */
.navbar-toggler[b-j7vard58sy] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-j7vard58sy] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-j7vard58sy] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-j7vard58sy] {
    font-size: 1.1rem;
}

.bi[b-j7vard58sy] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-j7vard58sy] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-j7vard58sy] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-j7vard58sy] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-lock-nav-menu[b-j7vard58sy] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu[b-j7vard58sy] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu[b-j7vard58sy] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu[b-j7vard58sy] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-nav-menu[b-j7vard58sy] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

.nav-item[b-j7vard58sy] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-j7vard58sy] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-j7vard58sy] {
        padding-bottom: 1rem;
    }

    .nav-item[b-j7vard58sy]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-j7vard58sy]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-j7vard58sy]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-j7vard58sy] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-j7vard58sy] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-j7vard58sy] {
        display: none;
    }

    .nav-scrollable[b-j7vard58sy] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Pages/Manager/Billing/Billing.razor.rz.scp.css */
/* CSS for Billing component */

/* テーブルのセル（ヘッダーとデータ両方）の上下パディングを広げる */
.modern-table .mud-table-cell[b-lkmmo64vfj] {
    padding: 20px 16px !important; /* デフォルトより上下をかなり広めに */
}
/* /Components/Pages/Tests/ExportScoreResult.razor.rz.scp.css */
/* todo:参考資料をコピーしただけのため修正する */

/* フォント */
/*@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');*/

/* 印刷ボタンのスタイル */
.print-button[b-p1hs05libn] {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #3b82f6;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    z-index: 1000;
    transition: all 0.2s;
}

    .print-button:hover[b-p1hs05libn] {
        background-color: #2563eb;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    }

@media print {
    .print-button[b-p1hs05libn] {
        display: none;
    }
}


/* 印刷設定 */
@page {
    size: A4 portrait;
    margin: 0;
}

*[b-p1hs05libn] {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body[b-p1hs05libn] {
    font-family: 'Noto Sans JP', sans-serif;
    color: #231815;
    /* background: #f5f5f5; */
}

.report-page[b-p1hs05libn] {
    width: 210mm;
    /* height: 297mm;*/
    max-height: none;
    background: white;
    padding: 10mm 6mm 6mm 6mm;
    overflow: hidden;
    box-sizing: border-box;
    margin: 0 auto;
}

/* ヘッダー */
.header[b-p1hs05libn] {
    text-align: right;
    margin-bottom: 1mm;
}

.issue-date[b-p1hs05libn] {
    font-size: 6pt;
    color: #666;
}

/* 窓あき封筒エリアとロゴ */
.top-area[b-p1hs05libn] {
    display: flex;
    gap: 3mm;
    margin-bottom: 2mm;
    padding-bottom: 2mm;
    border-bottom: 2px solid #e0e0e0;
}

.window-area[b-p1hs05libn] {
    width: 90mm;
    height: 35mm;
    flex-shrink: 0;
    display: flex;
    align-items: flex-end;
}

.window-frame[b-p1hs05libn] {
    width: 100%;
    height: 100%;
    border: 2px dashed #bdc3c7;
    border-radius: 3px;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.03) 0%, rgba(52, 152, 219, 0.08) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2mm 2mm 4mm 2mm;
}

.window-content[b-p1hs05libn] {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1mm;
}

.window-line[b-p1hs05libn] {
    font-size: 9pt;
    line-height: 1.4;
    color: #231815;
    display: flex;
    align-items: baseline;
}

.window-label[b-p1hs05libn] {
    font-size: 7pt;
    color: #666;
    margin-right: 1.5mm;
    min-width: 16mm;
    font-weight: 400;
}

.window-name[b-p1hs05libn] {
    font-size: 12pt;
    font-weight: 700;
    margin-top: 0.5mm;
}

/* ロゴとテスト情報 */
.header-info[b-p1hs05libn] {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo[b-p1hs05libn] {
    margin-bottom: 1.5mm;
}

    .logo img[b-p1hs05libn] {
        height: 50px;
    }

.test-info[b-p1hs05libn] {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 1mm;
}

.info-label[b-p1hs05libn] {
    font-size: 8pt;
    color: #666;
}

.info-value[b-p1hs05libn] {
    font-size: 10pt;
    font-weight: 700;
    color: #231815;
}

.main-title[b-p1hs05libn] {
    font-size: 16pt;
    font-weight: 700;
    color: #231815;
}

/* メインレイアウト */
.main-layout[b-p1hs05libn] {
    display: flex;
    flex-direction: column;
    gap: 0.8mm;
}

/* 上部行：得点・偏差値・順位 + 成績推移 */
.top-row[b-p1hs05libn] {
    display: grid;
    grid-template-columns: 2.3fr 0.7fr;
    gap: 1mm;
    align-items: stretch;
}

/* 下部行：出題項目別 + 教科ごとの総評 */
.bottom-row[b-p1hs05libn] {
    display: flex;
    flex-direction: column;
    gap: 1mm;
}

/* セクションタイトル */
.section-title[b-p1hs05libn] {
    font-size: 10pt;
    font-weight: 700;
    margin-bottom: 0.8mm;
    padding-bottom: 0.4mm;
    border-bottom: 2px solid #e0e0e0;
}

.diamond[b-p1hs05libn] {
    color: #3498db;
    margin-right: 0.3em;
}

/* 得点・偏差値・順位 */
.score-section[b-p1hs05libn] {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: stretch;
}

.score-table[b-p1hs05libn] {
    width: 100%;
    height: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

    .score-table thead[b-p1hs05libn] {
        background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    }

    .score-table th[b-p1hs05libn] {
        padding: 1mm;
        color: white;
        font-size: 10pt;
        font-weight: 700;
        text-align: center;
    }

    .score-table .label-col[b-p1hs05libn] {
        background: #2c3e50;
        text-align: left;
        padding-left: 3mm;
    }

    .score-table .total-col[b-p1hs05libn] {
        background: var(--total-color);
    }

    .score-table .japanese-col[b-p1hs05libn] {
        background: var(--japanese-color);
    }

    .score-table .math-col[b-p1hs05libn] {
        background: var(--math-color);
    }

    .score-table td[b-p1hs05libn] {
        padding: 1mm 0.8mm;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
        font-size: 8pt;
        font-variant-numeric: tabular-nums;
    }

    .score-table .label-cell[b-p1hs05libn] {
        background: #f8f9fa;
        font-weight: 700;
        text-align: left;
        padding-left: 2mm;
        font-size: 8pt;
        width: 25%;
    }

    .score-table .total-cell[b-p1hs05libn] {
        background: var(--total-bg);
        color: var(--total-color);
        font-weight: 700;
        font-size: 13pt;
    }

    .score-table .japanese-cell[b-p1hs05libn] {
        background: var(--japanese-bg);
        color: var(--japanese-color);
        font-weight: 700;
        font-size: 13pt;
    }

    .score-table .math-cell[b-p1hs05libn] {
        background: var(--math-bg);
        color: var(--math-color);
        font-weight: 700;
        font-size: 13pt;
    }

    .score-table .unit[b-p1hs05libn] {
        font-size: 11pt;
        font-weight: 400;
        color: #666;
    }

    .score-table .sub-label[b-p1hs05libn] {
        font-size: 6pt;
        color: #999;
        font-weight: 400;
    }

    .score-table .sub-value[b-p1hs05libn] {
        font-size: 7pt;
        color: #666;
        font-weight: 400;
    }

/* 成績の推移 */
.trend-section[b-p1hs05libn] {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-left: 0;
}

.trend-legend[b-p1hs05libn] {
    font-size: 6pt;
    color: #6b7280;
    margin-bottom: 0.5mm;
    display: flex;
    gap: 3mm;
    padding: 0.5mm 1mm;
    background: #f9fafb;
    border-radius: 3px;
}

.legend-item[b-p1hs05libn] {
    display: inline-flex;
    align-items: center;
    gap: 1mm;
}

.legend-bar[b-p1hs05libn] {
    display: inline-block;
    width: 10px;
    height: 8px;
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.legend-star[b-p1hs05libn] {
    display: inline-block;
    color: #ef4444;
    font-size: 9pt;
    line-height: 1;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.2));
}

.trend-graphs[b-p1hs05libn] {
    display: flex;
    flex-direction: column;
    gap: 0.5mm;
    flex: 1;
}

.trend-graph[b-p1hs05libn] {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s;
}

.graph-header[b-p1hs05libn] {
    padding: 0.8mm 2mm;
    color: white;
    text-align: center;
    font-size: 9pt;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.total-bg[b-p1hs05libn] {
    background: linear-gradient(135deg, var(--total-dark) 0%, var(--total-color) 50%, var(--total-light) 100%);
}

.japanese-bg[b-p1hs05libn] {
    background: linear-gradient(135deg, var(--japanese-dark) 0%, var(--japanese-color) 50%, var(--japanese-light) 100%);
}

.math-bg[b-p1hs05libn] {
    background: linear-gradient(135deg, var(--math-dark) 0%, var(--math-color) 50%, var(--math-light) 100%);
}

.graph-content[b-p1hs05libn] {
    padding: 0.3mm;
    background: linear-gradient(to bottom, #ffffff 0%, #f9fafb 100%);
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trend-canvas[b-p1hs05libn] {
    display: block;
}

/* 出題項目別の成績 */
.items-section[b-p1hs05libn] {
    margin-bottom: 0.8mm;
}

    .items-section > h2.section-title[b-p1hs05libn] {
        font-size: 9pt;
        margin-bottom: 0.8mm;
    }

/* 教科別サマリー表 */
.subject-summary[b-p1hs05libn] {
    margin-bottom: 2mm;
}

.summary-table[b-p1hs05libn] {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e0e0e0;
    font-size: 7pt;
}

    .summary-table thead[b-p1hs05libn] {
        background: #f5f5f5;
    }

    .summary-table th[b-p1hs05libn] {
        padding: 1mm;
        border: 1px solid #e0e0e0;
        font-weight: 700;
        text-align: center;
    }

    .summary-table td[b-p1hs05libn] {
        padding: 1mm;
        border: 1px solid #e0e0e0;
        text-align: center;
    }

    .summary-table .subject-name-cell[b-p1hs05libn] {
        font-weight: 700;
        text-align: left;
        padding-left: 2mm;
    }

    .summary-table .math-text[b-p1hs05libn] {
        color: var(--math-color);
    }

    .summary-table .japanese-text[b-p1hs05libn] {
        color: var(--japanese-color);
    }

    .summary-table .total-text[b-p1hs05libn] {
        color: var(--total-color);
    }

    .summary-table .total-row[b-p1hs05libn] {
        background: #fafafa;
        font-weight: 700;
    }

    .summary-table .score-cell[b-p1hs05libn] {
        font-size: 8pt;
        font-weight: 700;
    }

    .summary-table .unit[b-p1hs05libn] {
        font-size: 6pt;
        color: #999;
        font-weight: 400;
    }

.subject-block[b-p1hs05libn] {
    margin-bottom: 1mm;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

    .subject-block:last-child[b-p1hs05libn] {
        margin-bottom: 0;
    }

.subject-header[b-p1hs05libn] {
    padding: 0.6mm 1.5mm;
    color: white;
    letter-spacing: 0.5px;
}

.subject-name[b-p1hs05libn] {
    font-size: 8pt;
    font-weight: 700;
}

.items-table[b-p1hs05libn] {
    width: 100%;
    border-collapse: collapse;
    border: none;
}

    .items-table thead[b-p1hs05libn] {
        background: linear-gradient(to bottom, #f9fafb 0%, #f3f4f6 100%);
    }

    .items-table th[b-p1hs05libn] {
        padding: 0.5mm;
        font-size: 6pt;
        font-weight: 700;
        text-align: center;
        border-bottom: 1px solid #d1d5db;
        color: #374151;
        line-height: 1.2;
    }

    .items-table .q-col[b-p1hs05libn] {
        width: 8%;
    }

    .items-table .item-col[b-p1hs05libn] {
        width: 28%;
    }

    .items-table .score-col[b-p1hs05libn] {
        width: 16%;
    }

    .items-table .avg-col[b-p1hs05libn] {
        width: 16%;
    }

    .items-table .rate-col[b-p1hs05libn] {
        width: 32%;
    }

    .items-table td[b-p1hs05libn] {
        padding: 0.3mm;
        text-align: center;
        border-bottom: 1px solid #f5f5f5;
        font-size: 6pt;
        font-variant-numeric: tabular-nums;
        line-height: 1.2;
    }

    .items-table .unit[b-p1hs05libn] {
        font-size: 5pt;
        color: #999;
    }

/* 正答率バーと星マーク */
.rate-cell[b-p1hs05libn] {
    padding: 0.5mm;
}

.rate-container[b-p1hs05libn] {
    position: relative;
    width: 100%;
    height: 14px;
    background: repeating-linear-gradient( 90deg, transparent, transparent 19.5%, #d0d0d0 19.5%, #d0d0d0 20%, transparent 20%, transparent 39.5%, #d0d0d0 39.5%, #d0d0d0 40%, transparent 40%, transparent 59.5%, #d0d0d0 59.5%, #d0d0d0 60%, transparent 60%, transparent 79.5%, #d0d0d0 79.5%, #d0d0d0 80%, transparent 80%, transparent 99.5%, #d0d0d0 99.5%, #d0d0d0 100% ), #f0f0f0;
    border-radius: 2px;
    overflow: visible;
}

.rate-bar[b-p1hs05libn] {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.math-bar[b-p1hs05libn] {
    background: linear-gradient(90deg, var(--math-color) 0%, var(--math-light) 100%);
}

.japanese-bar[b-p1hs05libn] {
    background: linear-gradient(90deg, var(--japanese-color) 0%, var(--japanese-light) 100%);
}

.avg-star[b-p1hs05libn] {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #ffd700;
    font-size: 9pt;
    line-height: 1;
    text-shadow: 0 0 2px rgba(0,0,0,0.3);
    z-index: 2;
}

.rate-text[b-p1hs05libn] {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 6pt;
    font-weight: 700;
    color: #231815;
    text-shadow: -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white;
    z-index: 3;
}

.chart-note[b-p1hs05libn] {
    font-size: 6pt;
    color: white;
    background: linear-gradient(135deg, #357abd 0%, #4a90e2 100%);
    padding: 0.6mm;
    margin-top: -1px;
}

.note-star[b-p1hs05libn] {
    color: #ffd700;
}

/* 塾長からのコメント */
.comment-section[b-p1hs05libn] {
    margin-bottom: 0;
}

    .comment-section > h2.section-title[b-p1hs05libn] {
        font-size: 9pt;
        margin-bottom: 0.6mm;
    }

.comment-grid[b-p1hs05libn] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5mm;
}

.comment-box[b-p1hs05libn] {
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
}

.comment-header[b-p1hs05libn] {
    padding: 0.6mm 1.2mm;
    color: white;
    font-size: 8pt;
    font-weight: 700;
}

.comment-text[b-p1hs05libn] {
    padding: 1mm;
    font-size: 6pt;
    line-height: 1.5;
    min-height: 15mm;
    overflow: hidden;
}

/* 印刷最適化 */
@media print {
    body[b-p1hs05libn] {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .report-page[b-p1hs05libn] {
        page-break-inside: avoid;
        /* page-break-after: always; */
        max-height: 297mm;
        overflow: hidden;
    }

    @page {
        size: A4 portrait;
        margin: 5mm;
    }
}
