body {
    padding: 15px;

}

.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);
}

#report-div-table thead,#devlist-div-table thead,#approval-div-table thead{
    position: sticky;
    top: 0;
    left: 0;
    z-index: 100;
}

.fixed1{
    margin-top: 15px;
}
.fixed1,.fixed2,.fixed3,.fixed4 {
    width: 100%;
    background: #e5f5e5;
    border: 1px solid #000;
    font-size: 80%;
    resize: none;
    overflow: hidden;
}

.small-width {
    width: 150px; /* ここでセルの幅を指定 */
}
.dropdown-menu {
    z-index: 200;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(0); }
    100% { transform: translateX(0); }
}

.shake {
    animation: shake 0.5s infinite;
}

/* スピナーのスタイル設定 */
.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);
}

/* 帳票テンプレート登録・編集画面   */
.drag_ul {
	margin: 0px; padding: 5px;
	background-color: silver; color: gray;
	font-size: 1.5rem; text-align: left;
	list-style: none;
    margin-left: 20px;
}

.drag_li {
	margin: 0px; padding: 5px 0px;
	background-color: whitesmoke;
	border-bottom: solid gray 1px;
	border-radius: 5px;
    position: relative;
}
.drag_li_summary {
	margin: 0px; padding: 5px 0px;
	background-color: lightblue;
	border-bottom: solid gray 1px;
	border-radius: 5px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 2px;
    height: 2px;
}

/* 印刷時の設定 */
@page {
    size: A4 landscape;
}
@media print {
    /* 印刷時に表示する要素 */
    #approval-div-table,#report-div-table{
        width: 100%;
        height: auto;
        zoom: 0.68;
        overflow-y: auto;
    }
    #title_block,#filter_block,#report_list_block,#checkbox_block{
        width: 100%;
        height: auto;
        zoom: 0.68;
    }
}

.btn-3d {
    background-color: #4a90e2;
    border: none;
    padding: 10px 10px;
    font-size: 15px;
    border-radius: 5px;
    color: white;
    box-shadow: 0 4px #357ABD;
    transition: all 0.3s ease;
}

.btn-3d:active {
    box-shadow: 0 2px #2c5aa0;
    transform: translateY(2px);
}

/* 無効状態でも影を残す + 見た目で「押せない感」 */
.btn-3d:disabled {
    background-color: #b3cdeb;        /* desaturated blue */
    color: #e6e6e6;                   /* 薄めの白で無効感 */
    box-shadow: 0 4px #9bb3d8;        /* 薄めのシャドウ */
    cursor: not-allowed;
    opacity: 1;
    filter: grayscale(30%);          /* 彩度下げて沈んだ印象に */
}

/* ホバー時に少し濃くする */
.btn-hover:hover {
    background-color: #3b7bd5;  /* 濃い青 */
    color: #e0eaff;             /* 明るめの文字色（青に合う） */
}

