:root {
    --color-fedex-violet: #4d148c;
    --color-violet-hover: #934edc;
    --color-light-violet: #ebdbff;
    --color-more-light-violet: #f3eaff;
    --color-chat-green: #1dcd00;
}

body {
    /* font-family: 'Zen Maru Gothic', sans-serif; */
    font-family: sans-serif;
}
.navbar h3 {
    margin-bottom: 0;
}
.notes {
    font-size: .7rem !important;
}
.wrapper, body[data-theme=dark] .wrapper,
.sidebar, body[data-theme=dark] .sidebar,
.sidebar-content, body[data-theme=dark] .sidebar-content,
.sidebar-link, a.sidebar-link {
    background: var(--color-fedex-violet);
}
body[data-theme=dark] .sidebar-header,
body[data-theme=dark] .sidebar-brand,
body[data-theme=dark] .sidebar-user-title,
body[data-theme=dark] .sidebar-user-title:hover,
body[data-theme=dark] .sidebar-user-title,
body[data-theme=dark] .sidebar-user-title:hover,
body[data-theme=dark] .sidebar-nav a,
body[data-theme=default] .sidebar-nav a,
body[data-theme=dark] .sidebar-user-subtitle,
body[data-theme=dark] .sidebar-user-subtitle,
body[data-theme=dark] .sidebar-item.active .sidebar-link:hover i,
body[data-theme=dark] .sidebar-item.active .sidebar-link:hover svg,
body[data-theme=dark] .sidebar-item.active>.sidebar-link i,
body[data-theme=dark] .sidebar-item.active>.sidebar-link svg,
body[data-theme=dark] .sidebar-item.active .sidebar-link:hover i,
body[data-theme=dark] .sidebar-item.active .sidebar-link:hover svg,
body[data-theme=dark] .sidebar-item.active>.sidebar-link i,
body[data-theme=dark] .sidebar-item.active>.sidebar-link svg,
body[data-theme=dark] .sidebar-link i,
body[data-theme=default] .sidebar-link i,
body[data-theme=dark] .sidebar-link svg,
body[data-theme=default] .sidebar-link svg,
body[data-theme=dark] a.sidebar-link i,
body[data-theme=default] a.sidebar-link i,
body[data-theme=dark] a.sidebar-link svg {
    color: white !important;
}
body[data-theme=default] .sidebar-item.active .sidebar-link:hover,
body[data-theme=default] .sidebar-item.active>.sidebar-link {
    border-left: none !important;
    background: var(--color-violet-hover) !important;
}
body[data-theme=light] .sidebar-item.active .sidebar-link:hover,
body[data-theme=light] .sidebar-item.active>.sidebar-link {
    border-left: none !important;
    background: var(--color-light-violet) !important;
}
body[data-theme=default] .sidebar-link:hover {
    background: var(--color-violet-hover) !important;
}
body[data-theme=light] .sidebar-link:hover {
    background: var(--color-light-violet) !important;
}
body[data-theme=light] .sidebar-item.active .sidebar-link:hover i,
body[data-theme=light] .sidebar-item.active .sidebar-link:hover svg,
body[data-theme=light] .sidebar-item.active>.sidebar-link i,
body[data-theme=light] .sidebar-item.active>.sidebar-link svg,
body[data-theme=light] .sidebar-link:hover,
body[data-theme=light] .sidebar-item.active .sidebar-link:hover,
body[data-theme=light] .sidebar-item.active>.sidebar-link,
body[data-theme=light] .sidebar-link:hover i,
body[data-theme=light] .sidebar-link:hover svg,
body[data-theme=light] .sidebar-dropdown .sidebar-item.active .sidebar-link,
body[data-theme=light] .sidebar-dropdown .sidebar-item .sidebar-link:hover {
    color: #495057;
}

.sidebar-nav a:hover {
    color: rgba(233,236,239,.75);
}
.breadcrumb {
    margin: 10px 0 0 1.5rem;
}
.pagination {
    margin-top: 1rem;
    margin-bottom: 0 !important;
}
.table, .table-responsive {
    margin-bottom: 0 !important;
}
a {
    color: var(--color-violet-hover);
}
/* .form-control,
.form-select,
.tagify,
.tagify__dropdown__wrapper,
.btn {
    border-radius: .4rem;
} */

/* バリデーションエラーの時のスタイルをbootstrap風のやり方を使わずにやる用 */
.custom-invalid-feedback {
    color: #dc3545;
    font-size: 80%;
    margin-top: 0.25rem;
    width: 100%;
}

/* readonlyがなぜか白くなるので。見た目disabledのreadonly用 */
.bg-disabled {
    background-color: #e9ecef;
    pointer-events: none;
}
.bg-disabled:hover {
    background-color: #e9ecef;
    pointer-events: none;
}

#btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    border-radius: 50%;
    height: 45px;
    width: 45px;
    opacity: 80%;
  }

.select2-container .select2-selection--single {
    height: 33px !important;
    border:1px solid #ced4da !important;
    border-radius: .4rem !important;
}

.select2-container .select2-selection--single.error {
    height: 33px !important;
    border:1px solid #dc3545 !important;
    border-radius: .4rem !important;
}

.dropdown-item.pdf_disabled {
    pointer-events: none;
    opacity: 0.6;
}

.cursor_point {
    cursor: pointer
}

/* レスポンシブ */
.pc_none{
    display: none;
}
.sp_none {
    display: block;
}

.pc_inline_none {
	display: none !important;
}
.sp_inline_none {
    display: inline-block !important;
}

/* choices.jsのmargin-bottomを消す */
.choices{
    margin-bottom: 0;
}

.bg-light-violet{
    background-color: var(--color-light-violet);
}

/* Bootstrapカスタム: 特大ボタン */
.btn-xlg {
  padding: 0.4rem 1.5rem;
  font-size: 1.25rem;
  line-height: 1.5;
  border-radius: 0.4rem;
}
.text-xlg {
    font-size: 1.35rem;
}

body[data-theme=light] .btn-outline-primary {
    --bs-btn-color: var(--color-violet-hover);
    --bs-btn-border-color: var(--color-violet-hover);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--color-violet-hover);
    --bs-btn-hover-border-color: var(--color-violet-hover);
    --bs-btn-focus-shadow-rgb: 59, 125, 221;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--color-violet-hover);
    --bs-btn-active-border-color: var(--color-violet-hover);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0,0,0,.125);
    --bs-btn-disabled-color: var(--color-violet-hover);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--color-violet-hover);
    --bs-gradient: none;
}

body[data-theme=light] .btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--color-violet-hover);
    --bs-btn-border-color: var(--color-violet-hover);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #6426a7;
    --bs-btn-hover-border-color: #6426a7;
    --bs-btn-focus-shadow-rgb: 88, 145, 226;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #6426a7;
    --bs-btn-active-border-color: #6426a7;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0,0,0,.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--color-violet-hover);
    --bs-btn-disabled-border-color: var(--color-violet-hover);
}

body[data-theme=light] .list-group-item.active {
    background-color: var(--color-light-violet);
    border-color: var(--color-light-violet);
    color: var(--bs-list-group-action-hover-color);
    z-index: 2;
}

body[data-theme=light] .alert-primary {
    --bs-alert-color: var(--color-fedex-violet);
    --bs-alert-bg: var(--color-more-light-violet);
    --bs-alert-border-color: var(--color-more-light-violet);
}

.text-xsm{
    font-size: 0.5rem;
}

.w-10{
    width:10%;
}
.w-30{
    width:30%;
}
.w-35{
    width:35%;
}
.w-70{
    width:70%;
}

/*  mobile & smart phone
---------------------------------------------- */
@media only screen and (max-width: 959px) {
    /* レスポンシブ */
    .pc_none{
        display: block;
    }
    .sp_none {
        display: none;
    }

    .pc_inline_none {
        display: inline-block !important;
    }
    .sp_inline_none {
        display: none !important;
    }
}
