body {
    padding: 15px;

}


/* 入庫処理ラベル読み込み専用 */
.labelread {
    border: 1px solid #000; 
    border-radius: 5px; 
    background-color: #fcf9f9; 
    padding: 5px; 
    width: 200px;
    height: 35px;
}


/* 入力必須のstyle */
.required-label {
    color: white;
    background-color: #ff3333; /* 濃い赤 */
    padding: 2px 4px;
    margin-left: 10px;
    border-radius: 3px;
    font-size: 12px;
}
/* 入力例のstyle */
.example-label {
    color: gray;
    padding: 2px 4px;
    margin-left: 10px;
    border-radius: 3px;
    font-size: 11px;
}

/* 入力フォームのstyle */

.form-label {
    font-weight: bold;
    color: #4CAF50; /* ラベルの色を緑に */
}
.form-group {
    margin-bottom: 1.5rem;
}
.input-group-text {
    border-color: #2196F3; 
    background-color: #FFFFE0; /* 入力グループの背景色を黄色に */
}

.btn-outline-secondary {
    border-color: #9C27B0; /* ボタンの枠線を紫に */
    color: #9C27B0; /* ボタンのテキストを紫に */
}
.btn-outline-secondary:hover {
    background-color: #9C27B0; /* ホバー時の背景色を紫に */
    color: #fff; /* ホバー時のテキストを白に */
}


.form-control {
    border-color: #2196F3; 
    background-color: #FFFFE0;
}



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

.sign-img {
    width: 100px;  /* 固定幅 */
    height: 100px; /* 固定高さ */
    object-fit: cover; /* 画像のアスペクト比を維持しつつ、指定されたサイズに収める */
}
.tooltip-img {
    width: 110px;  /* 固定幅 */
    height: 70px; /* 固定高さ */
    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);
}





.fixed1{
    margin-top: 15px;
}
.fixed1,.fixed2  {
    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);
}

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


/* menu.htmlのリンク */
:root {
    --link-color: #007bff; /* ここでリンクの色を定義 */
}
.breadcrumb {
list-style: none;
display: flex;
}
.breadcrumb li {
margin: 0 5px;
}
.breadcrumb li a {
text-decoration: none;
color: var(--link-color); /* リンクの色を変数から取得 */
}
.breadcrumb li a:hover {
text-decoration: underline;
}
.separator {
color: var(--link-color); /* 区切り記号の色をリンクの色と同じに設定 */
}
