/**
 * 修正用CSS
 *
 * @copyright © 2025 株式会社和香園
 */

/* 締処理画面のチェックボックスのズレ修正 */
.custom-form-check {
  position: relative;
  display: block;
  padding-left: 1.7rem;
}

.custom-table-area {
  max-height: 320px;
  overflow-y: auto;
}

.custom-table-fixed {
  border-collapse: separate !important;
  border-spacing: 0;
}

.custom-table-fixed th {
  position: sticky;
  top: 0;
  z-index: 1;
}

.custom-table {
  width: 100%;
  margin-bottom: 1rem;
  color: #212529;
}

.custom-table th,
.custom-table td {
  vertical-align: top;
  border-top: 1px solid #dee2e6;
}

.custom-table .custom-thead-light th {
  color: #495057;
  background-color: #e9ecef;
  border-color: #dee2e6;
}

/* ヘッダー部分に新規登録ボタンを配置 */
.custom-main-header {
  display: flex;
  width: 100%;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #dee2e6;
  align-items: center;
}

.custom-headline {
  flex: 0 1 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  max-width: 50%;
}

.custom-create-button {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-start;
  margin-bottom: 0.5rem;
  margin-left: 15px;
}

.custom-login-user-name {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 0.5rem;
  margin-left: auto;
}

/* col-sm-1.5を設定 */
.col-sm-1_5 {
  flex: 0 0 10.5%;
  max-width: 10.5%;
}

.col-md-0_5,
.col-md-0_7,
.col-md-1_2,
.col-md-1_5,
.col-md-5_5 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

/* col-md-0.5を設定 */
.col-md-0_5 {
  flex: 0 0 6.8%;
  max-width: 6.8%;
}

/* col-md-0.7を設定 */
.col-md-0_7 {
  flex: 0 0 7.5%;
  max-width: 7.5%;
}

/* col-md-1.2を設定 */
.col-md-1_2 {
  flex: 0 0 10.0%;
  max-width: 10.0%;
}

/* col-md-1.5を設定 */
.col-md-1_5 {
  flex: 0 0 16%;
  max-width: 16%;
}

/* col-md-5.5を設定 */
.col-md-5_5 {
  flex: 0 0 43%;
  max-width: 43%;
}

/*----- select2入力欄のスタイル調整 -----*/
.custom-row {
  display: flex;
  flex-wrap: wrap;
}

.select2-container--default .select2-selection--single {
  background-color: #fff;
  border: 1px solid #ced4da !important;
  border-radius: 4px;
}

/*----- プレースホルダー左寄せ -----*/
.input-department-code::-moz-placeholder {
  text-align: left;
  font-size: 13px;
}

.input-department-code::placeholder {
  text-align: left;
  font-size: 13px;
}

.input-office-facility-code::-moz-placeholder {
  text-align: left;
  font-size: 13px;
}

.input-office-facility-code::placeholder {
  text-align: left;
  font-size: 13px;
}

.input-customer-start-code::-moz-placeholder {
  text-align: left;
  font-size: 13px;
}

.input-customer-start-code::placeholder {
  text-align: left;
  font-size: 13px;
}

.input-customer-end-code::-moz-placeholder {
  text-align: left;
  font-size: 13px;
}

.input-customer-end-code::placeholder {
  text-align: left;
  font-size: 13px;
}

.input-product-start-code::-moz-placeholder {
  text-align: left;
  font-size: 13px;
}

.input-product-start-code::placeholder {
  text-align: left;
  font-size: 13px;
}

.input-product-end-code::-moz-placeholder {
  text-align: left;
  font-size: 13px;
}

.input-product-end-code::placeholder {
  text-align: left;
  font-size: 13px;
}
