@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');


* {
    font-family: "Noto Sans JP", sans-serif;
}

body {
    overflow: hidden;
}

.bi {
    display: inline-block;
    width: 1rem;
    height: 1rem;
}

main {
    height: 100vh;
    height: -webkit-fill-available;
    max-height: 100vh;
    overflow-x: auto;
    overflow-y: scroll;
    position: relative;
}

#pageHeader {
    z-index: 1010;
}
/*
 * Sidebar
 */

#pageSidebar {
    z-index: 1050;
}

.sidebar {
    border: solid rgba(0, 0, 0, .15);
    border-width: 0 1px 0 0;
    height: 100vh;
    overflow-y: scroll;
    display: none;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.sidebar.show-anim {
    display: block;
    transform: translateX(0);
}

@media (max-width: 992px) {

    #pageSidebar {
        position: fixed;
        top: 40px;
        left: 0;
        height: 100%;
        background-color: #f8f9fa;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    #pageSidebar.active {
        transform: translateX(0);
    }

    #subSidebar {
        position: fixed;
        top: 40px;
        left: 70px;
        width: 250px;
        height: 100%;
        background-color: #f8f9fa;
    }

    #pageMain {
        margin-left: 0 !important;
    }
}


.dropdown-toggle { outline: 0; }

.btn-toggle {
    padding: .25rem .5rem;
    font-weight: 600;
    color: var(--bs-emphasis-color);
    background-color: transparent;
    font-size: 1rem;
}

.btn-toggle:hover,
.btn-toggle:focus {
    color: rgba(var(--bs-emphasis-color-rgb), .85);
    background-color: var(--bs-tertiary-bg);
}

.btn-toggle::before {
    width: 1.25em;
    line-height: 0;
    content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
    transition: transform .35s ease;
    transform-origin: .5em 50%;
}

[data-bs-theme="dark"] .btn-toggle::before {
    content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%28255,255,255,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
}

.btn-toggle[aria-expanded="true"] {
    color: rgba(var(--bs-emphasis-color-rgb), .85);
}
.btn-toggle[aria-expanded="true"]::before {
    transform: rotate(90deg);
}

.btn-toggle-nav a {
    padding: .1875rem .5rem;
    margin-top: .125rem;
    margin-left: 1.25rem;
    width: 100%;
}

.btn-toggle-nav li:hover,
.btn-toggle-nav li:focus {
    background-color: var(--bs-tertiary-bg);
}

.scrollarea {
    overflow-y: auto;
}

.nav-color {
    background-color: rgba(251, 113, 100, 1);
}

.sidebar-active {
    background-color: rgb(255, 223, 219);
}

/*
.nav-color {
    background-image: linear-gradient(90deg, rgba(251, 113, 100, 1), rgba(250, 165, 160, 1) 58%, rgba(249, 197, 197, 1));
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.sidebar-active {
    background-image: linear-gradient(90deg, rgba(255, 200, 194, 1), rgba(255, 241, 241, 1));
}

 */

.sidebar-category-icon svg {
    width: 23px;
    height: 23px;
    color: var(--bs-body-color);
}


.sidebar-category-icon:hover,
.sidebar-category-icon:focus {
    background-color: var(--bs-secondary-bg);
}

.home-svg svg {
    width: 30px;
    height: 30px;
}