/* -------------------------画面範囲------------------------- */
.contents-full {
	height: 650px;
	width: 900px;
	margin: 50px auto auto auto;
	border: 2px solid #000000;
}

.contents-top {
	height: 150px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.contents-middle {
	height: 300px;
	display: flex;
	justify-content: center;
}

.contents-top-middle {
	height: 450px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.contents-bottom {
	height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.middle-product {
	width: 100px;
}

.middle-price {
	width: 80px;
}

.middle-mini {
	width: 50px;
}

.middle-button {
	text-align: center;
}

.middle-button,
.middle-num,
.middle-calcu {
	height: 50px;
	display: flex;
	align-items: center;
}

/* ------------------------部品------------------------- */
.num::-webkit-inner-spin-button,
.num::-webkit-outer-spin-button {
	-webkit-appearance: none;
}

div label {
	height: 50px;
	display: inline-block;
	display: flex;
	align-items: center;
	justify-content: center;
}

.button {
	height: 35px;
	margin: 0px 0px 0px 10px;
	font-size: medium;
}

.plus,
.minus {
	margin: 0px 5px 0px 5px;
}

.text {
	height: 30px;
	margin: 0px 0px 0px 0px;
}

.user {
	width: 200px;
	margin: 50px;
}

.biko {
	height: 100px;
	width: 300px;
	margin: 50px;
	resize: none;
}

.num {
	width: 50px;
}

.subtotal,
.total {
	width: 150px;
	pointer-events: none;
}

.non-Border {
	border: none;
	outline: none;
}

#tableWrapper {
  overflow-x: auto;
  overflow-y: auto;
  max-width: 100%;
  height: 450px;
  border: 1px solid #ccc;
}

#historyTable {
  min-width: 2000px;   /* スクロール可能な幅を確保 */
  width: 100%;
  table-layout: fixed; /* 各列を均等に扱い、折り返し可能に */
  border-collapse: collapse;
}

#historyTable th,
#historyTable td {
  white-space: normal;      /* 折り返しを有効に */
  word-break: break-word;   /* 長い単語でも折り返す */
  padding: 4px 8px;
  border: 1px solid #000;
  text-align: center;
}

#historyTable th {
  position: sticky;
  top: 0;
  background-color: #dddddd;
  z-index: 1;
}

#historyTable th:nth-child(1),
#historyTable td:nth-child(1) {
  width: 20px; /* チェックボックス列 */
}
#historyTable th:nth-child(2),
#historyTable td:nth-child(2) {
  width: 200px; /* 購入者列 */
}
#historyTable th:nth-child(9),
#historyTable td:nth-child(9) {
  width: 400px; /* 要望列 */
}
#historyTable th:nth-child(10),
#historyTable td:nth-child(10),
#historyTable th:nth-child(11),
#historyTable td:nth-child(11) {
  width: 150px; /* 日時列 */
}

.canceled {
	background-color: #aaa;
	color: #505050;
}

/* ------------------------- ------------------------- */