@charset "UTF-8";

:root {
    --background-color: #fff;
    --title-color: #fff;
    --primary-color: #406A9A;
    --secondary-color: #7FA6D9;
    --nav-hover-color: #3568A8;
    --before-use: #1f4e79;
    --in-use: #548235;
    --after-use: #bf9000;
    --in-use-flow: #385723;
    --after-use-flow: #7f6000;
    --name-width: 25%;
}
table.tbl-equipment th.name,table.tbl-equipment th.photo,
div.left-content table th, div.left-content table td, div.full-content table th, div.full-content table td{
color:#000;
}

.target-box {
  display: block; /* 初期状態:表示 */
  margin-bottom: 2em;
}
.checkbox-group {
  background: #eee;
  border-radius: 6px;
  padding: 1em 2em;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 0;
  align-items: center;
}
.checkbox-group label {
  display: flex;
  align-items: center;
  margin-bottom: 0 !important;
}
.checkbox-group button {
  background-color: var(--background-color);
  border: solid 1px #222;
  padding: 0.2em 0.5em 0.1em;
}

/* ほ場 */
table.tbl-facilities {
  width: 100% !important;
  border: 2px solid;
}
table.tbl-facilities th {
  background: #e2efda !important;
  border: 1px solid;
}
table.tbl-facilities td {
  padding: 1em !important;
  border: 1px solid;
}
table.tbl-facilities td.va-top {
  vertical-align: top;
  padding-top: 1em;
}
table.tbl-facilities th.location {
  width: 15% !important;
}
table.tbl-facilities th.type {
  width: 15% !important;
}
table.tbl-facilities th.purpose {
  width: 25% !important;
}
table.tbl-facilities th.overview {
  width: 20% !important;
}
table.tbl-facilities th.photo {
  width: 180px;
}
table.tbl-facilities img {
  width: 100%;
  min-width: 180px;
}


/* 機器 */
table.tbl-equipment {
  width: 100% !important;
  border: 2px solid;
}
table.tbl-equipment th {
  background: #e2efda !important;
  border: 1px solid;
}
table.tbl-equipment td {
  padding: 1em !important;
  border: 1px solid;
}
table.tbl-equipment td.va-top {
  vertical-align: top;
  padding-top: 1em;
height:100px;
}



table.tbl-equipment th.name {
  width: var(--name-width) !important;
min-width:140px;
}
table.tbl-equipment th.purpose {
  width: var(--purpose-width) !important;
}
table.tbl-equipment th.overview {
  width: var(--overview-width) !important;
}
table.tbl-equipment th.photo {
 /* width: 180px; */
}
table.tbl-equipment img {
  width: 100%;
 /* min-width: 180px; */
}

.purpose {
  text-indent: 1em;
  margin: 0;
}

@media (max-width: 760px) {
/*  table, thead, tbody, th, td, tr {
    display: block;
  }
  table {
    width: 100%;
  }
 th {
    display: none;
  } */
  table.tbl-facilities td,
  table.tbl-equipment td {
    position: relative;
/*    padding-left: 20% !important; */
  }
  table.tbl-facilities td::before,
  table.tbl-equipment td::before {
 /*   content: attr(data-label);
    position: absolute;
    left: 10px;
    font-weight: bold; */
  }
  ul.disc li {
    margin-bottom: 0em;
  }
  ul.disc {
    margin-bottom: 0em;
  }
  table.tbl-facilities td.p0 img,
  table.tbl-equipment td.p0 img {
    width: 200px;
    height: auto;
  }
}
