.sr-only {
  position: absolute;
  width: 0px;
  height: 0px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
/* 表單錯誤紅框 */
input.error, select.error, textarea.error {
  border: 2px solid red;
  outline: none;
}

/* 錯誤訊息樣式（可選） */
.errorMsg {
  color: red;
  font-size: 0.875rem;
  margin-top: 2px;
  display: none; /* 預設隱藏，JS 控制顯示 */
}
#landuseprove-phone {
  width: 70%;
}

.landuseprove table {
  width: 90%;
  margin: 0 auto;
  border: 1px solid #aaa;
}
.landuseprove table thead {
  display: none;
}
.landuseprove table td {
  display: block;
  border-bottom: 1px solid #aaa;
  padding: 10px;
  box-sizing: border-box;
  margin: 0 auto;
}
.landuseprove .table-location {
  text-align: center;
}
.landuseprovetable .errorMsg {
  right: 50%;
}
.landuseprove table td:nth-child(4n + 1),
.landuseprove table td:nth-child(4n + 2),
.landuseprove table td:nth-child(4n + 3) {
  border-bottom: 0px;
}
.landuseprove table tbody tr:first-of-type td:nth-child(1),
.landuseprove table tbody tr:first-of-type td:nth-child(4) {
  color: #f00;
}
.landuseprove table tbody td::before {
  content: attr(data-th);
  display: block;
  margin: 0 5px 5px 0;
  text-align: left;
  font-size: 14px;
}
.landuseprove table td input {
  padding: 5px;
  width: 75%;
  box-sizing: border-box;
  border-radius: 5px;
  border: 1px solid #bbb;
  text-align: center;
}
.landuseprove table tfoot {
  color: #f00;
}
.landuseprove .item tfoot p {
  font-size: 14px;
}
.lineBulletinPic button {
  position: absolute;
  top: 5px;
  right: 0;
  border-radius: 5px;
  border: 1px solid #aaa;
}
#annex-area,
#annex-default-area {
  width: 100%;
  margin: 35px auto 10px;
  text-align: center;
}
#annex-area .item,
#annex-default-area .item {
  text-align: left;
  width: 100%;
}
#annex-area .imgParent,
#annex-default-area .imgParent {
  width: 45%;
  display: inline-block;
}
#annex img,
#annex-default-area img {
  width: 100%;
  vertical-align: middle;
}
#annex-default-area .imgParent {
  position: relative;
}
#annex-default-area .imgParent .deleteBtn {
  position: absolute;
  top: 5px;
  right: 5px;
}
#print-landuseprove-annex {
  width: 1080px;
  padding: 0;
  text-align: center;
}
#print-landuseprove-annex .printAnnexParent {
  display: inline-block;
  width: 30%;
  margin: 5px;
}
#print-landuseprove-annex img {
  width: 100%;
  vertical-align: middle;
}
.print.landuseprovebook-out {
  font-size: 18px;
  width: 1080px;
  box-sizing: border-box;
  padding: 0;
}
.print-content.landuseprovebook {
  width: 1080px;
  box-sizing: border-box;
}
.landuseprovebook tbody {
  border-top: 1px solid #000;
  border-left: 1px solid #000;
}
.landuseprovebook td,
.landuseprovebook th {
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  padding: 10px 10px;
  margin: 20px 0;
  box-sizing: border-box;
  vertical-align: middle;
}
#landuseprove-phone::before {
  content: attr(data-tel);
}
.landuseprovebook tr:first-of-type td:nth-child(2) {
  width: 15%;
}
.landuseprovebook tr:first-of-type td:nth-child(4) {
  width: 28%;
}
.landuseprovebook tr:first-of-type th:nth-child(odd) {
  width: 10%;
}
.landuseprovebook .table-landLocation span {
  display: inline-block;
  padding: 0 25px;
  box-sizing: border-box;
}
.landuseprovebook p {
  font-size: 20px;
  margin: 20px 0;
}
.landuseprovebook .table-content p:nth-last-of-type(1) {
  text-indent: 0px;
  text-align: right;
}
.landuseprovebook .table-applyPerson {
  text-align: right;
}
.landuseprovebook .table-applyPerson span {
  display: inline-block;
  padding: 10px 0;
  font-size: 20px;
}
.landuseprovebook .table-applyPerson span::after {
  content: "（簽名蓋章）";
  margin-left: 150px;
}
.btn-group .print-btn {
  display: none;
}
@media screen and (min-width: 768px) {

  #landuseprove-phone {
    width: 70%;
  }

  #landuseprove-phone {
    max-width: none;
  }
  .landuseprove table {
    width: 60%;
    margin: 0 auto;
    border: 1px solid #aaa;
  }
  .landuseprove table thead {
    display: table-header-group;
  }
  .landuseprove table td {
    display: table-cell;
  }
  .landuseprove table td,
  .landuseprove table th {
    width: 20%;
    text-align: center;
    padding: 20px 5px;
    box-sizing: border-box;
  }
  .landuseprove table th,
  .landuseprove table td:nth-child(4n + 1),
  .landuseprove table td:nth-child(4n + 2),
  .landuseprove table td:nth-child(4n + 3) {
    border-bottom: 1px solid #aaa;
  }
  .landuseprove table th:hover,
  .landuseprove table tr:hover {
    background-color: #ddd;
  }
  .landuseprove table tbody tr:first-of-type td:nth-child(1)::before,
  .landuseprove table tbody tr:first-of-type td:nth-child(4)::before {
    content: "*";
    color: #f00;
    display: inline-block;
  }
  .landuseprove table tbody td::before {
    content: "";
  }
  .landuseprove table tfoot {
    display: none;
  }
  #print-landuseprove-annex {
    margin-top: 50px;
  }
  #landuseprove-btn-group {
    margin-top: 30px;
  }
  #annex-area,
  #annex-default-area {
    width: 60%;
    margin: 10px auto;
    text-align: center;
  }
  #annex-area .imgParent,
  #annex-default-area .imgParent {
    width: 30%;
    margin: 0 5px;
    display: inline-block;
  }
}
