.table {
  width: 100%;
  border-right: 1px solid #D5D5D5;
  border-bottom: 1px solid #D5D5D5;
  border-collapse: collapse;
  table-layout: fixed;
}

.table.-normal{
  width: auto;
}

.table tr.is-clickable:hover td,
.table tr.is-clickable:hover td.is-id {
  background: #F4FAFF;
  color: #259CE9;
}

.table.is-editmode tr.is-clickable:hover td.is-edit {
  background: #fff;
}

.table th,
.table td {
  font-weight: normal;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  border-top: 1px solid #D5D5D5;
  border-left: 1px solid #D5D5D5;
  position: relative;
}

.table th {
  background-color: #F9F9F9;
  height: 48px;
  font-size: 14px;
  font-weight: bold;
}

.table th.arrow-down,
.table th.arrow-up {
  text-decoration: underline;
  background-image: none;
}

.table td .arrow-down,
.table td .arrow-up {
  background-image: none;
  text-decoration: none;
}

.table th.arrow-down:after,
.table th.arrow-up:after,
.table td .arrow-down:after,
.table td .arrow-up:after {
  position: absolute;
  content: '';
  display: block;
  top: 50%;
  right: 10px;
  width: 0;
  height: 0;
  border-style: solid;
  transform: translateY(-50%);
  -webkit- transform: translateY(-50%);
}

.table th.arrow-down:after,
.table td .arrow-down:after {
  border-width: 6px 5px 0 5px;
  border-color: #808080 transparent transparent transparent;
}

.table th.arrow-up:after,
.table td .arrow-up:after {
  border-width: 0 5px 6px 5px;
  border-color: transparent transparent #808080 transparent;
}

/* .table td:nth-of-type(4), */
.table th.is-hide,
.table td.is-hide {
  display: none;
}

.table td .box .data {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.table td .box .data.textarea,
.table td .box .data.textarea span {
  display: -webkit-box;
  white-space: inherit;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* 制限したい行数が3の場合 */
  overflow: hidden;
}

.table textarea.c-input__text {
  outline: none;
  padding: 14px 20px 14px 12px;
}

.table .c-input__text,
.table .c-input__select {
  display: none;
  font-size: 14px;
  line-height: 1.5;
  /* padding: 4px 0; */
  width: 100%;
}

.table .c-input__text.is-active,
.table .data.is-active {
  background: #fff;
  color: #000;
}

.table .c-input__text.price {
  text-align: right;
}

.table .c-input__select {
  position: relative;
  z-index: 10;
  border: 1px solid #ddd;
  background: #fff;
  position: absolute;
  top: 50px;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 100;
  display: none;
  box-shadow: 0 7px 15px 0 rgb(63 75 95 / 15%), 0 0 10px 0 rgb(109 123 135 / 5%);
}

.table .c-input__select.large {
  width: 300px;
}

.table .c-input__select option {
  font-size: 14px;
  padding: 4px 8px 4px 2px;
}

.table .c-input__select:focus {
  border: none;
  outline: none;
}

.table .icon {
  font-size: 12px;
  right: 8px;
  z-index: 2;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  -webkit- transform: translateY(-50%);
  opacity: 0;
}
.table .icon svg {
  color: #555555;
  fill: #555555;
}

.table .icon.is-active {
  color: #43d8ff;
}

.table td .data,
.table td input {
  padding: 14px 20px 14px 12px;
}
.table td [type="date"] {
  padding: 14px 12px 14px 12px;
}
.table td input {
  outline: none;
  border: none;
}
.table td.is-edit,
.table td.is-edit input,
.table td.is-edit .box .data {
  background: #fff;
  color: #000;
}

.table td.is-edit .icon {
  opacity: 1;
}

.is-select {
  color: #259CE9;
  background: #F4FAFF;
  border: 1px solid #1958B9;
  border-top: 1px solid #1958B9 !important;
  border-left: 1px solid #1958B9 !important;
  border-bottom: 1px solid #1958B9 !important;
}

.is-edit {
  background: #F4FAFF;
}

.is-readonly {
  color: rgba(0,0,0,.3);
  /* pointer-events: none; */
}
.is-readonly .data {
}

.table td.is-id {
  color: #000;
  background-color: #F9F9F9;
}

.table td.is-id .data {
  text-align: center;
  padding: 14px 8px;
  display: block !important;
}
.table tr {
  transition: all 0.2s ease-in-out;
}
.table tr.is-delete {
  opacity: 0;
}

.deletelink {
  cursor: pointer;
}

.table .sort-icon {
  margin-left: 5px;
}
.table .asc-icon::before {
  content: "▲";
}
.table .desc-icon::before {
  content: "▼";
}
.table .sorted-column {
  background-color: #f0f0f0;
}

.table + .table {
  margin-top: 20px;
}