.container {
  font-family: arial;
  font-size: 24px;
  margin: 25px;
  width: 950px;
  height: 400px;
  outline: dashed 1px black;
  /* 水平・垂直方向の中央揃え */
  display: flex;
  justify-content: center;
  align-items: center;
}

.child {
  width: 400px;
  height: 120px;
  background-color: rgb(236, 240, 240);
}

.center-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.center-table {
  margin: 0 auto;
  border-collapse: collapse;
  text-align: center;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.center-table th, .center-table td {
  padding: 10px;
  border: 1px solid #ccc;
}

.center-table thead th {
  position: sticky;
  top: 4rem;
  z-index: 10;
  background-color: var(--color-primary);
  color: var(--color-primary-content);
}

.center-table tbody tr {
  position: relative;
  z-index: 0;
}

.center-table tbody td {
  /* trに付けた role_color_class 等の背景色が透けて見えるように透過にする（table自体は白背景なので通常行は白のまま） */
  background-color: transparent;
}

.zebra-table tbody tr:nth-child(odd) {
  background-color: #fff;
}

.zebra-table tbody tr:nth-child(even) {
  background-color: #f2f2f2;
}

.navbar {
  position: sticky;
  top: 0;
  /* テーブルヘッダー(z-index: 10)と同値だとDOM順で後ろのテーブルヘッダーが勝ち、
     ナビバー内の管理者ドロップダウン等が裏に回り込むため、確実に上に来るよう高くする */
  z-index: 30;
}

.center-table th,
.center-table thead th {
  background-color: #c8dce8 !important;
  color: #777 !important;
  font-weight: normal !important;
}

.title {
  white-space: nowrap;
}

.center-table caption {
  caption-side: top;
  font-size: 1.5em;
  margin-bottom: 10px;
}
.radius-table{
    border-radius: 4px;
}
.menu-table {
  border-collapse: collapse;
}
.menu-table td,
.menu-table th {
  border: 1px solid #e0e0e0;
}
.kenmei-col {
  /* table-layout: auto では th/td 自体の width 指定はセル間の余白配分で無視されがちなので、
     中の div に固定幅を持たせてカラム幅を強制的に狭める */
  width: 60px;
  overflow-wrap: break-word;
}
.row-compact th,
.row-compact td {
  /* 注文部品詳細の上部（取引管理No./件名/TC/納入期日の各行）の高さを揃えて低くする */
  padding: 2px 10px !important;
}
.th-compact th {
  /* 「取引管理No.」が折り返さない大きさに統一（小さめ） */
  font-size: 0.75rem !important;
  white-space: nowrap;
}
.alert {
  overflow: hidden;
  transition:
    opacity 300ms ease,
    max-height 400ms ease,
    padding-top 300ms ease,
    padding-bottom 300ms ease;
  max-height: 120px;
}
.alert--dismissing {
  opacity: 0;
  max-height: 0 !important;
  padding-top: 0;
  padding-bottom: 0;
}
