p.h2 {
  background-color: #0b119e;
  color: #ffffff;
}
.form-control-plaintext {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  padding: 0.375rem 0.75rem !important;
}
th, td input {
  padding: 0.5rem 0.5rem !important;
}
table#table_items td {
  padding: 0 !important;
}
::placeholder {
  opacity: 0.45 !important;
}


.progressbar {
  position: relative;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.progressbar li {
  position: relative;
  list-style-type: none;
  text-align: center;
  text-transform: uppercase;
  color: #999999;
  font-weight: bold;
  font-size: 14px;
}
.progressbar li.licol2 {
  width: 50%;
}
.progressbar li.licol3 {
  width: 33.333%;
}
.progressbar li.licol4 {
  width: 25%;
}
.progressbar li.licol5 {
  width: 20%;
}
.progressbar li.licol6 {
  width: 16.66%;
}
.progressbar li:before {
  display: block;
  width: 18px;
  height: 18px;
  margin: 7px auto 20px auto;
  content: '';
  text-align: center;
  border-radius: 50%;
  background-color: #F5F5F5;
}
.progressbar li:after {
  position: absolute;
  z-index: -1;
  top: 15px;
  left: -50%;
  width: 100%;
  height: 2px;
  content: '';
  background-color: #F5F5F5;
}
.progressbar li:first-child:after {
  content: none;
}
.progressbar li.active,
.progressbar li.complete{
  color: #0070BD;
}
.progressbar li.active:before,
.progressbar li.complete:before {
  background-color: #0070BD;
}
.progressbar li.active:after,
.progressbar li.complete:after {
  background-color: #0070BD;
}

/* 左右スクロールバー */
.wrapper1,.wrapper2{
  overflow-x: scroll;
  overflow-y: hidden;
  width: 100%; 
  box-sizing: border-box;
}

.wrapper1 {
  height: 30px;
  border-bottom: 2px solid #2807e5;
  padding-bottom: 5px;
  margin-bottom: 10px; 
}

.upper-scrollbar,.lower-scrollbar table {
  width: 1500px;
}

/* wrapper1のスクローバーデザイン */
.wrapper1::-webkit-scrollbar {
  height: 12px;
}

.wrapper1::-webkit-scrollbar-thumb {
  background-color: #888; 
  border-radius: 8px; 
}

.wrapper1::-webkit-scrollbar-thumb:hover {
  background-color: #555; 
}

/* wrapper2のスクローバーデザイン */
.wrapper2::-webkit-scrollbar {
  height: 12px;
}

.wrapper2::-webkit-scrollbar-thumb {
  background-color: #888; 
  border-radius: 8px; 
}

.wrapper2::-webkit-scrollbar-thumb:hover {
  background-color: #555; 
} 

/* アイテム情報入力画面に左右スコール設置 */
.item_upper_wrapper, .item_lower_wrapper {
  overflow-x: auto;
  white-space: nowrap;
}

.item_upper_wrapper {
  height: 40px; /* Adjust to fit upper scrollbar */
}

.upper-scrollbar {
  width: 180vw; /* Match the width of the lower table */
}

.lower-scrollbar {
  position: relative;
}

#table_items {
  border-collapse: collapse;
  table-layout: fixed;
}

#table_items th,
#table_items td {
    white-space: nowrap;
    text-align: center;
    vertical-align: middle;
    border: 1px solid #ddd;
}

/*　順番とアイテムカラムは固定にする */
#table_items th:nth-child(1),
#table_items td:nth-child(1) {
    position: sticky;
    left: 0;
    z-index: 3;
    background-color: #fff;
    min-width: 50px; /* Define a fixed width */
    max-width: 50px; /* Ensure the same width is applied */
    width: 50px; /* Consistent width across table */
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

#table_items th:nth-child(2),
#table_items td:nth-child(2) {
    position: sticky;
    left: 50px; /* Offset matches the width of the first column */
    z-index: 2;
    background-color: #fff;
    min-width: 250px; /* Adjust as needed */
    max-width: 250px;
    width: 250px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}
