/* -----------------------------------------------
 * ローディングオーバーレイ機能全般のスタイル定義
 * common.js showLoading() 関数が生成する要素に適用
 * ----------------------------------------------- */
/* 画面全体を覆うオーバーレイスタイル */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 背景色（JSで設定されることが多いが、ここで上書き可能） */
    /* background: rgba(255, 255, 255, 0.8); */
    /* z-index: 9999; （JSで設定されることが多い） */
    /* コンテンツを中央に配置 */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* スピナーとテキストを内包するボックスのスタイル */
.loading-content {
    /* ボックスのパディング、背景、角丸、影を設定 */
    padding: 20px;
    background-color: white; 
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    /* 内部要素（スピナーとテキスト）を縦に並べ、中央寄せにする */
    display: flex;
    flex-direction: column; 
    align-items: center;
    text-align: center;
}

/* Bootstrapのスピナーのスピナーのサイズ調整と配置 */
.loading-content .spinner-border {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
}

/* ドットアニメーションのスタイル */
#loading-dots {
    font-weight: bold;
    display: inline-block;
    width: 3ch; /* 3文字分の幅を確保し、アニメーション時のテキストの揺れを防ぐ */
    text-align: left;
    /* CSSアニメーションを適用する場合はここに定義 */
}

/* -----------------------------------------------
 * スクロールコンテナとテーブル配置の定義 (.table-responsive-scroll)
 * ----------------------------------------------- */
.table-responsive-scroll {
    max-height: calc(100vh - 334px);
    overflow-y: auto;
    padding: 0 1rem;
}
.table-responsive-scroll .table {
    margin: 0;                         
}

/* -----------------------------------------------
 * テーブルヘッダー固定の定義 (.table-responsive-scroll .table thead th)
 * ----------------------------------------------- */
.table-responsive-scroll .table thead th {
    position: sticky;
    top: 0;
    background-color: #f4f6f9;
    z-index: 10;
    cursor: pointer;
    padding: 0.75rem;
}

/* -----------------------------------------------
 * ログインページカスタマイズ
 * ----------------------------------------------- */
.login-box {
    width: auto !important;
}
.login-box .login-logo > a {
    font-size: 1.5rem !important;
}
.login-box .card.card-outline.card-primary {
    border-color: #0D6F05;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    width: 360px;
    margin-left: auto;
    margin-right: auto;
}

/* -----------------------------------------------
 * サイドメニュー（ロゴ）カスタマイズ
 * ----------------------------------------------- */
.brand-link {
    display: flex;
    align-items: center;
}
.brand-text.font-weight-light {
    font-size: 0.95rem;
    display: block;
    width: 100%;
    white-space: normal;
    word-break: break-word;
}


/* -----------------------------------------------
 * ソートリンクと最終カラムのスタイル調整
 * ----------------------------------------------- */
.table-responsive-scroll .table thead th a {
    text-decoration: none;
    color: inherit;
    width: 100%;
}
.table-responsive-scroll .table thead th:last-child {
    cursor: default;
}




 /* 操作無効化クラス */
.no-pointer {
    pointer-events: none;   /* クリック不可 */
    cursor: default;        /* マウスカーソルを通常矢印に */
}
.cursor-pointer { cursor: pointer; }

.date-range-group .form-control {
    border-radius: 0;
}

.date-range-group .form-control:first-child {
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.date-range-group .form-control:last-child {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

.date-range-group .separator {
    border-left: none;
    border-right: none;
    font-size: 0.9em;
    border-radius: 0;
}

.max-width-1 {
    max-width: 4.5rem;
}

.max-width-2 {
    max-width: 6rem;
}

.max-width-3 {
    max-width: 8rem;
}

.max-width-4 {
    max-width: 11rem;
}

.max-width-5 {
    max-width: 14rem;
}

.max-width-6 {
    max-width: 31rem;
}

.bg-purple {
    background-color: #7D5BA6;
    color: #fff;
}
.border-purple {
    border: 1px solid #7D5BA6 !important;
}
.text-purple {
    color: #7D5BA6 !important;
}

.bg-orange {
    background-color: #F4A261;
    color: #fff;
}
.border-orange {
    border: 1px solid #F4A261 !important;
}
.text-orange {
    color: #F4A261 !important;
}

.bg-pink {
    background-color: #E76F91;
    color: #fff;
}
.border-pink {
    border: 1px solid #E76F91 !important;
}
.text-pink {
    color: #E76F91 !important;
}

.bg-teal {
    background-color: #2A9D8F;
    color: #fff;
}
.border-teal {
    border: 1px solid #2A9D8F !important;
}
.text-teal {
    color: #2A9D8F !important;
}

.thumbnail {
    object-fit: contain;
    transition: transform 0.5s ease;
    position: relative;
}

/* .thumbnail:hover {
    transform: scale(1.8);
    z-index: 1;
} */

.thumbnail-1 {
    width: 150px;
    height: 150px;
}
.thumbnail-2 {
    width: 180px;
    height: 180px;
}
.thumbnail-3 {
    width: 200px;
    height: 200px;
}

.card-body .mx-n4 {
  margin-left: -1.25rem !important;
  margin-right: -1.25rem !important;
}


dt::after { content: "："; }
dt { text-align: right; }
@media (max-width: 767px) {
    dt {
        text-align: left;
        margin-bottom: 0.25rem;
    }
}