/* --------------------------------------------------------------- Font ----- */
@font-face {
    font-family: 'LINE Seed JP';
    src: url("/fonts/LINESeedJP_OTF_Th.woff2") format("woff2");
    font-weight: 100;
}
@font-face {
    font-family: 'LINE Seed JP';
    src: url("/fonts/LINESeedJP_OTF_Rg.woff2") format("woff2");
    font-weight: normal;
}
@font-face {
    font-family: 'LINE Seed JP';
    src: url("/fonts/LINESeedJP_OTF_Bd.woff2") format("woff2");
    font-weight: bold;
}
@font-face {
    font-family: 'LINE Seed JP';
    src: url("/fonts/LINESeedJP_OTF_Eb.woff2") format("woff2");
    font-weight: 800;
}
@font-face {
    font-family: 'SF Pro JP';
    font-style: normal;
    font-weight: 600;
    src: url("/fonts/SFProJP_semibold.ttf") format("truetype");
}

@font-face {
    font-family: 'SF Pro JP';
    font-style: normal;
    font-weight: 400;
    src: url("/fonts/SFProJP_regular.ttf") format("truetype");
}
/* ------------------------------------------------------------ Generic ----- */
html {
    font-size: 13px;
}
/*
body {
    font-family: 'SF Pro JP', 'LINE Seed JP', sans-serif;
}
*/
a {
    text-decoration: none;
    font-weight: 600;
}
a:hover(:not(.btn)) {
    text-decoration: underline;
}

/* --------------------------------------------------------- Dark Theme ----- */
.dark-theme .text-muted {
    color: rgba(107, 119, 133, 0.5) !important;
}
.dark-theme .form-control:disabled {
    background-color: rgba(0, 0, 21, 0.1);
    border-color: rgba(255, 255, 255, 0.09);
}

/* ------------------------------------------------- Container > Footer ----- */
footer {
    font-size: 0.9rem;
}

/* ---------------------------------------------------------- Simplebar ----- */
.simplebar-content {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

/* --------------------------------------------------------------- Unit ----- */
.unit {
    font-size: 0.8em;
    margin-left: 0.1em;
    margin-right: 0.25em;
}

/* --------------------------------------------------------------- Card ----- */
.card .card-header {
    display: flex;
    align-items: center;
}
.card .card-header .card-header-actions {
    margin-left: auto;
    font-size: .875em;
}
.card .card-header .card-header-actions .card-header-action {
    padding-left: 0.5rem;
    color: #4f5d73;
}
.card-filter {
    background-color: rgba(0, 0, 0, .075);
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: .5rem;
    padding: 1rem;
    margin-bottom: 1rem;
}
.filter.filtering:after {
    content: 'あり';
    color: #fff;
    background-color: #3399ff;
    border-radius: 1em;
    padding: .25em .4em;
    font-size: 75%;
}
/* ------------------------------------------------------------ Loading ----- */
.loading-container {
    z-index: 9999;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color:rgba(0, 0, 0, .5);
}

/* ------------------------------------------------------------- Button ----- */
.btn.btn-sm {
    font-size: 0.8em;
}

/* --------------------------------------------------------------- Form ----- */
.has-error {
    color: rgb(229, 83, 83) !important;
}
.has-error input,
.has-error .drop-area {
    border-color: rgb(229, 83, 83) !important;
    background-color: rgba(229, 83, 83, .05) !important;
}
.input-group > :not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* ------------------------------------------------------ Form > Upload ----- */
.drop-area {
    border: 2px dashed rgba(177, 183, 193, 1);
    border-radius: 1rem;
    transition: all .1s linear;
    color: rgba(44, 56, 74, 0.95) !important;
}
.drop-area.focus {
    border-color: rgb(0, 157, 205);
    box-shadow: 0 0 0 0.25rem rgba(0, 157, 205, .25);
}
input[type="file"] {
    font-size: .9em;
    font-weight: bold;
    border-radius: 0.25rem;
    background-color: rgba(79, 93,115, .2);
}
input[type="file"]::file-selector-button {
    color: rgba(255, 255, 255, 0.87);
    background-color: #4f5d73;
    font-size: 0.8em;
    border: 1px solid #4f5d73;
    border-radius: 0.25rem;
    padding: 0.25rem 0.5rem;
}

/* -------------------------------------------------------------- Table ----- */
.table th {
    white-space: nowrap;
}
.table td {
    white-space: nowrap;
}
.table .sorting a {
    display: block;
    position: relative;
}

.table .sorting a:after {
    font-family: 'Font Awesome 6 Free';
    display: block;
    float: right;
    opacity: .5;
    right: 0;
    content: '\f0dc';
}

.table .sorting a.asc:after {
    content: '\f0de';
    opacity: .8;
}

.table .sorting a.desc:after {
    content: '\f0dd';
    opacity: .8;
}

.table tr[data-href] {
    cursor: pointer;
}

/* ----------------------------------------------------------------- Dl ----- */
.dl-horizontal dt {
    flex: 0 0 auto;
    width: 100%;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dl-horizontal dd {
    flex: 0 0 auto;
    width: 100%;
    text-align: left;
}
.dl-horizontal dd:not(.after-d-none):after {
    content: '';
    display: inline-block;
}
@media (min-width: 768px) {
    .dl-horizontal dt {
        width: 150px;
        text-align: right;
    }
    .dl-horizontal dd {
        width: calc(100% - 150px);
    }
}
/* ------------------------------------------------------------ Generic ----- */
