* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 16px;
}

body {
  font-family: 'Roboto', sans-serif;
}

.container {
  width: 98%;
  margin: 0 auto;
  padding: 0;
}

section.construction,
section.industrial-waste,
section.residency,
section.others {
  max-height: 10000000px; /* 表示枠サイズ */
  overflow-y: auto;  /* スクロール有効 */
  display: none;     /* 最初は非表示 */
}

.date-list section h1 {
  position: fixed;
  top: 0;
  display: block;
  width: 100%;
  margin-bottom: 5px;
  border-bottom: 1px solid #ddd;
  background-color: #ffffff;
  font-size: 3rem;
  text-align: center;
}

.l-h {
  position: fixed;
  top: 69.6px;
  display: block;
  width: 100%;
  background-color: #ffffff;
}

ul.gnav-navi-1{
  background: #c71585;
  padding: 0;
  text-align: center;
}

ul.gnav-navi-1 li{
  display: inline-block;
}

ul.gnav-navi-1 li a{
  display: block;
  padding: 1em;
  color: #fff;
  text-decoration: none;
}

ul.gnav-navi-1 a::first-line{
  font-size: 16px;
  font-weight: bold;
}

h1 {
  width: 100%;
  font-size: 1.6rem;
  padding: 0 1%;
  text-align: center;
}

h2 {
  font-size: 1.5rem;
  padding: 0 1%;
}

h2 {
  font-size: 1.5rem;
  padding: 0 1%;
}

table {
  width: 98%;
  border-collapse: collapse;
  border: 1px solid #ddd;
  margin: 10px auto 20px;
}

th {
  border: 3px solid #ddd;
  background-color: #f2f2f2;
  vertical-align: center;
  font-size: 10.5px;
}

th.th-date {
  width: 2.5%;
}

th.th-conpany {
  width: 8%;
}

td {
  padding: 3px;
  border: 1px solid #ddd;
  font-size: 11px;
  text-align: center;
}

td select {
  width: 100%;
  padding: 3px 0;
  text-align: center;
  font-size: 11px;
}

td select option {
  width: 100%;
  font-size: 11px;
}

td input[type="text"] {
  width: 95%;
  padding: 3px 0;
  font-size: 11px;
  text-align: center;
}

td input[type="text"].td-conpany {
  text-align: center;
}

td input[class^="datepicker"] {
  width: 95%;
  font-size: 11px;
  text-align: center;
}

td textarea {
  width: 100%;
  max-width: 100%;
  padding: 5px 2px;
  font-size: 11px;
  resize: vertical;
}

td input[type="submit"] {
  text-align: center;
  font-size: 11px;
}

td button {
  font-size: 11px;
}

.table-container {
  width: 100%;
  margin: 20px auto;
  overflow-x: auto;
}

/* 固定ヘッダーのスタイル */
.fixed-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  display: none;
  z-index: 1000;
  width: 98%;
  box-shadow: 0px 2px 5px rgba(0,0,0,0.2);
}
.fixed-header table {
  width: 100%;
  margin: 0 auto;
}

.list-haader {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 auto;
  padding: 10px 0;
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
}

.list-haader li {
  width: 25%;
  padding: 5px;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  list-style: none;
}

.list-container {
  margin-top: 150px;
}

.scroll-area {
  max-height: 700px;
  overflow-y: auto; /* or auto */
  scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;    /* IE/Edge */
}

.scroll-area::-webkit-scrollbar {
  display: none;               /* Chrome, Safari */
}

.no-data {
  padding: 40px;
  text-align: center;
  font-size: 1.8rem;
  color: #aaa;
}

ul.list,
ul.list-1,
ul.list-2 {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

ul.list li {
  width: 25%;
  margin: 10px auto 25px;
  border: 2px solid black;
  border-right: 2px solid white;
  box-shadow: 2px 2px 3px black;
  padding: 5px;
  background-color: black;
  font-size: 3rem;
  font-weight: bold;
  color: white;
  text-align: center;
  list-style: none;
}

ul.list li:last-child {
  border-right: black;
}

ul.list-1 li {
  width: 25%;
  margin: 10px auto 25px;
  border: 2px solid red;
  border-right: 2px solid white;
  box-shadow: 2px 2px 3px red;
  padding: 5px;
  background-color: red;
  font-size: 3rem;
  font-weight: bold;
  color: white;
  text-align: center;
  list-style: none;
}

ul.list-1 li:last-child {
  border-right: red;
}

ul.list-2 li {
  width: 25%;
  margin: 10px auto 25px;
  border: 2px solid red;
  box-shadow: 2px 2px 3px red;
  padding: 5px;
  font-size: 3rem;
  font-weight: bold;
  color: red;
  text-align: center;
  list-style: none;
}

form.form {
  width: 100%;
  max-width: 400px;
  margin: 10% auto;
  padding: 40px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  font-family: 'Segoe UI', sans-serif;
}

.form-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 24px;
  color: #333;
}


.form input[type="password"] {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form input[type="password"]:focus {
  outline: none;
  border-color: #0077cc;
  box-shadow: 0 0 0 3px rgba(0, 119, 204, 0.1);
}

.form button[type="submit"] {
  width: 100%;
  padding: 12px;
  background-color: #0077cc;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form button[type="submit"]:hover {
  background-color: #005fa3;
}
