body {
    padding: 8px;

}

.card-img-overlay{
    padding: 0;
    top: calc(50% - 0.5rem);
    text-align: center;
    font-weight: bold;
}

.tooltip-img {
    width: 154px;  /* 固定幅 */
    height: 64px; /* 固定高さ */
    object-fit: cover !important; /* 画像のアスペクト比を維持しつつ、指定されたサイズに収める */
    background-color:white;
    opacity: 1 !important; /* 不透明に設定 */
}

/* !importantは他のスタイルより優先される */
/* bootstrapのスタイルが優先されているので!importantを入れないと表示が変更できない */
.tooltip-inner {
    max-width: 800px !important;
    width: auto !important;
    text-align: left !important;
    white-space: pre-wrap !important; /* 左詰めの時スペースがあればそのまま利用 */
    position: relative !important;
    background-color: #000000 !important;
    color: #ffffff !important;
    opacity: 1 !important; /* 不透明に設定 */
  }
  
.stickarrow-primary {
    width: 100%;
    height: 8px;
    border-bottom: 3px solid #007bff;
    border-right: 3px solid #007bff;
    transform: skew(45deg);
}

.thead {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 100;
}

/* スピナーのスタイル設定 */
.spinner-wrapper {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(249,249,249,.8);
}

/* ------------------ */
/* システムメニュー用 */
/* ------------------ */
/* ドロップダウン見出し: クリック不可・hoverでも色が変わらない */
.dropdown-item.dropdown-item-header {
    pointer-events: none;
    cursor: default;
    background-color: transparent;
    color: var(--bs-secondary-color);
    font-weight: 600;
}

/* 見出しの hover/focus を無効化（Bootstrap対策） */
.dropdown-item.dropdown-item-header:hover,
.dropdown-item.dropdown-item-header:focus {
    background-color: transparent;
    color: var(--bs-secondary-color);
}

/* 子アイテム: インデント＋少し小さめの表示で階層感 */
.dropdown-item.dropdown-item-child {
    padding-left: 2.25rem;
    font-size: 0.95rem;
}

/* 子アイテムのアイコンだけ、ほんの少し薄く */
.dropdown-item.dropdown-item-child i {
    opacity: 0.85;
}

/* お知らせベルマーク */
.notification-area {
    display: inline-flex;
    align-items: center;
}
.notification-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 32px;
}
.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(20%, -20%);
    min-width: 18px;
    padding: 0.25em 0.4em;
    font-size: 0.65rem;
    line-height: 1;
    white-space: nowrap;
}
.notification-bell-active {
    display: inline-block;
    transform-origin: 50% 0;
    animation: notification-bell-ring 2.5s ease-in-out infinite;
}
@keyframes notification-bell-ring {
    0%, 40%, 100% { transform: rotate(0deg); }
    5% { transform: rotate(18deg); }
    10% { transform: rotate(-16deg); }
    15% { transform: rotate(14deg); }
    20% { transform: rotate(-10deg); }
    25% { transform: rotate(6deg); }
    30% { transform: rotate(0deg); }
}

/* 印刷時の設定 */
@page {
    size: A4 landscape;
}
@media print {
    /* 印刷時に表示する要素 */
    .table {
        width: 100%;
        height: auto;
        zoom: 0.68;
        overflow-y: auto;
    }
}
