@charset "UTF-8";
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}

header {
  background-color: rgba(13, 13, 131, 0.103);
  padding: 20px;
  border-bottom: 1px solid navy;
  margin-bottom: 3%;
}
header h1 {
  margin: 20;
  text-align: center;
  border-bottom: 5px solid black;
}
header .header-inputs {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
header .header-inputs .input-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
header .header-inputs label {
  font-weight: bold;
  font-size: 1.3em;
}
header .header-inputs input, header .header-inputs select {
  width: 100%;
  padding: 5px;
  font-size: 1em;
  border-radius: 5px;
}
@media screen and (min-width: 801px) {
  header .header-inputs {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }
  header .header-inputs .input-group {
    width: 48%;
    flex-direction: row;
    align-items: center;
  }
  header .header-inputs .input-group label {
    width: 30%;
    padding-right: 10px;
    white-space: nowrap;
  }
  header .header-inputs .input-group input, header .header-inputs .input-group select {
    width: 70%;
  }
}

main {
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  border: 1px solid #dee2e6;
}
main .room {
  margin-bottom: 20px;
  padding: 0;
}
main .room-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
main .room-header .部屋名-input {
  width: 60%;
  padding: 5px;
  font-size: 1em;
}
main .room-header .deleteRoomBtn {
  margin-right: 3%;
  padding: 5px 10px;
  background-color: #dc3545;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
main .roomTable {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
main .roomTable th, main .roomTable td {
  border: 1px solid #dee2e6;
  padding: 3px;
  text-align: left;
  white-space: nowrap;
}
main .roomTable th {
  background-color: #f8f9fa;
}
main .roomTable input {
  width: 100%;
  padding: 3px;
  font-size: 1.1em;
  box-sizing: border-box;
}
main .roomTable .自動計算 {
  background-color: #e9ecef;
}
main .roomTable .deleteBtn {
  background-color: #dc3545;
  color: #fff;
  border: none;
  padding: 3px 5px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 0.7em;
}
main .button-common {
  margin-top: 2vh;
  width: 300px;
  margin-left: 5%;
  padding: 10px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-bottom: 20px;
}
main #addRoomBtn,
main #saveBtn {
  background-color: #28a745;
}
main #summarySection {
  width: 100%;
}
main .full-width {
  width: 100%;
  border: 1px solid #dee2e6;
}
main #summaryTable,
main #uniqueProductTable {
  margin-top: 20px;
}
main #summaryTable th,
main #uniqueProductTable th {
  background-color: #f1f1f1;
}
main #summaryTable td, main #summaryTable th,
main #uniqueProductTable td,
main #uniqueProductTable th {
  padding: 2px;
  text-align: left;
}
main #summaryTable th, main #summaryTable td,
main #uniqueProductTable th,
main #uniqueProductTable td {
  border: 1px solid #dee2e6;
  white-space: nowrap;
}

footer {
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  border: 1px solid #dee2e6;
}
footer .table-responsive {
  overflow-x: auto;
}
footer .button-common {
  margin-top: 3vh;
  width: 300px;
  margin-left: 5%;
  padding: 10px;
  background-color: #28a745;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-bottom: 20px;
}
footer #savedTable {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
footer #savedTable th, footer #savedTable td {
  border: 1px solid #dee2e6;
  padding: 10px;
  text-align: left;
  white-space: nowrap;
}
footer #savedTable th {
  background-color: #f1f1f1;
}
footer #savedTable .timestamp {
  white-space: pre-wrap;
  word-wrap: break-word;
}

@media screen and (max-width: 800px) {
  .header-inputs {
    flex-direction: column;
  }
  .header-inputs .input-group {
    width: 100%;
  }
  .roomTable thead th:nth-child(6),
  .roomTable thead th:nth-child(7),
  .roomTable thead th:nth-child(8),
  .roomTable tbody td:nth-child(6),
  .roomTable tbody td:nth-child(7),
  .roomTable tbody td:nth-child(8),
  .roomTable tfoot td:nth-child(6),
  .roomTable tfoot td:nth-child(7),
  .roomTable tfoot td:nth-child(8),
  .roomTable tfoot {
    display: none;
  }
  .roomTable th,
  .roomTable td,
  .deleteRoomBtn {
    font-size: 0.8em;
    white-space: nowrap;
  }
  .roomTable th:nth-child(1),
  .roomTable td:nth-child(1) {
    width: 20%;
  }
  .roomTable th:nth-child(2),
  .roomTable td:nth-child(2) {
    width: 25%;
  }
  .roomTable th:nth-child(3),
  .roomTable td:nth-child(3) {
    width: 15%;
  }
  .roomTable th:nth-child(4),
  .roomTable td:nth-child(4) {
    width: 15%;
  }
  .roomTable th:nth-child(5),
  .roomTable td:nth-child(5),
  .roomTable th:nth-child(9),
  .roomTable td:nth-child(9) {
    width: 10%;
  }
  .roomTable input[type=text], .roomTable input[type=number] {
    width: 100%;
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 1em;
    box-sizing: border-box;
  }
  footer {
    font-size: 0.8em;
    max-width: 100%;
    box-sizing: border-box;
  }
  .table-responsive {
    overflow-x: auto;
  }
  #savedTable {
    width: 100%;
  }
}
.footer2 {
  background-color: #f1f1f1;
  text-align: center;
  padding: 20px;
  margin-top: 20px;
  border-top: 1px solid #ccc;
}/*# sourceMappingURL=styles.css.map */