:root {
    --main-bg-color: #F2EBEE;
    --content-bg-color: #fff;
    --text-color: #000;

    --bright-color: #F27E93;
    --light-color: #F27EBE;
    --dark-color: #9498F2;
    --accent-color: #94C6F2;
    --base-color: #F2EBEE;
}

body{
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--main-bg-color);
}

.primary-background{
    background-color: var(--main-bg-color);
}

body.controller-Users main .container{
    display: flex;
    align-items: center;
    min-height: 100vh;
}

.page-header .page-title,
header h2 {
    font-size: 140%;
    font-weight: 700;
    margin-bottom: 2rem;
}

#sidebar {
    background: linear-gradient(to bottom, rgba(148, 152, 242, 0.2), rgba(242, 126, 147, 0.2), rgba(242, 126, 190, 0.2));
    box-shadow: 0 0px 2px rgba(0, 0, 0, 0.2);
}

.nav-pills .nav-link {
    color: #F2EBEE;
}

.white-box {
    padding: 60px 60px;
    background-color: var(--content-bg-color);
    color: var(--text-color);
    border-radius: 15px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.products.form,
.users.form{
    width: 480px;
    margin-left: auto;
    margin-right: auto;
    padding: 60px 60px;
    border-radius: 20px;
    box-shadow: 0 12px 20px rgba(0,0,0,0.12);
    background-color: var(--content-bg-color);
    color: var(--text-color);
}

.products.form{
    width: 100%;
}

.table>:not(caption)>*>*{
    padding: 1rem 1rem;
}

.bold{
    font-weight: bold;
}

.g-recaptcha{
    width: 100%;
}

#loader .loading{
    --tw-text-opacity: 1;
    color: rgb(0 0 0 / var(--tw-text-opacity));
    background-color: rgb(255 255 255 / 1.0);
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%!important;
    display: flex;
    z-index: 100;
    top: 0!important;
    left: 0px;
    position: absolute;
    --bs-text-opacity: 1;
    color: rgba(var(--bs-black-rgb),var(--bs-text-opacity))!important;
}

.fa-spinner:before {
    content: "\f110";
}
#loader .loading i.fa-spinner{
    font-weight: 900;
    
    -webkit-animation-name: fa-spin;
    animation-name: fa-spin;
    -webkit-animation-duration: var(--fa-animation-duration,2s);
    animation-duration: var(--fa-animation-duration,2s);
    -webkit-animation-iteration-count: var(--fa-animation-iteration-count,infinite);
    animation-iteration-count: var(--fa-animation-iteration-count,infinite);
    -webkit-animation-timing-function: var(--fa-animation-timing,linear);
    animation-timing-function: var(--fa-animation-timing,linear);
    
    -webkit-animation-delay: var(--fa-animation-delay,0s);
    animation-delay: var(--fa-animation-delay,0s);
    -webkit-animation-direction: var(--fa-animation-direction,normal);
    animation-direction: var(--fa-animation-direction,normal);
    
    font-family: "Font Awesome 6 Free";
    
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: var(--fa-display,inline-block);
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.hr-text {
    line-height: 1em;
    position: relative;
    outline: 0;
    border: 0;
    color: black;
    text-align: center;
    height: 1.5em;
    opacity: .5;
}
.hr-text:before {
    content: '';
    background: linear-gradient(to right, transparent, #000, transparent);
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
}
.hr-text:after {
    content: attr(data-content);
    position: relative;
    display: inline-block;
    color: var(--text-color);

    padding: 0 .5em;
    line-height: 1.5em;
    background-color: #fcfcfa;
}



main.main {
    display: none;
    height: 100vh;
    max-height: 100vh;
    overflow-x: auto;
    overflow-y: hidden;
}

.dropdown-toggle { outline: 0; }

/* 折り畳み可能リストのサイドバー用 */
.btn-toggle {
padding: .25rem .5rem;
font-weight: 600;
color: var(--bs-emphasis-color);
background-color: transparent;
}
.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;
}
.btn-toggle-nav a:hover,
.btn-toggle-nav a:focus {
background-color: var(--bs-tertiary-bg);
}

form.horizontal-wide .form-group{
    margin-bottom: 1.5rem !important;
}