@import url('Common.css');

#target table {
  width: 96%;
  border-collapse: collapse;
  border: 1px solid rgb(85, 85, 85);
  margin: 10px 2% 10px;
  table-layout: fixed;
  background-color: #FCFCFC;
}
#target th {
  border: 1px solid rgb(85, 85, 85);
  text-align: center;
  color: rgb(51, 51, 51);
  height: 2rem;
  padding: 0px;
  font-weight: normal;
}
#target tbody th {
  background: linear-gradient(135deg, #F0FFF0 90%, var(--accent-color) 90%);
}
#target td {
  border: 1px solid rgb(100, 100, 100);
  height: 3rem;
  padding: 0;
  text-align: left;
}
#target td.deletetd {
  text-align: center;
  padding: 0;
}
input[type="text"] {
  border: none;
  width: 100%;
  height: 100%;
  padding: 0 0.5rem;
  background: transparent;
  font-size: 1rem;
}
textarea {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  font-size: 1rem;
}
/* 削除チェック時の行背景色 */
/* 削除チェック時の行背景色を強制 */
#target tr.delete-marked {
  background: #ccc !important;
}
.gray {
  background-color: #ccc;
}
.hozon {
  width: 12rem;
  height: 2rem;
  line-height: 2rem;
  margin-bottom: 8rem;
  margin: 2rem auto;
  cursor: pointer;
}
table {
  counter-reset: th-counter;
}

th.Num::before {
  counter-increment: th-counter;
  content: counter(th-counter);
}

tr:first-child th:nth-child(1) {
    width: 5%;
}
tr:first-child th:nth-child(2) {
    width: 20%;
}
tr:first-child th:nth-child(3) {
    width: 67%;
}
tr:first-child th:nth-child(4) {
    width: 8%;
}
@media screen and (max-width: 767px) {
  #target table {
    width: 100%;
    margin: 10px 0%;
  }
  #target td {
    height: 7rem;
  }
  #target th.no {
    width: 2rem;
  }
  #target td input {
    font-size: 1rem;
  }
  #target td textarea {
    font-size: 1rem;
  }
  tr:first-child th:nth-child(2) {
    width: 30%;
}
tr:first-child th:nth-child(3) {
    width: 57%;
}
tr:first-child th:nth-child(4) {
    width: 15%;
}
textarea {
  margin-top: 3px;
}


  
}

