@charset "UTF-8";

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 50px;
}

.bio_table-ttl th,
.eco_table-ttl th,
.recycle_table-ttl th,
.other_table-ttl th {
  font-weight: bold;
  border-top: solid 1px;
  border-bottom: solid 1px;
}

.bio_table-ttl {
  background-color: rgba(153, 255, 135, 0.1);
}

.eco_table-ttl th {
  background-color: rgba(220, 105, 109, 0.1);
}

.recycle_table-ttl {
  background-color: rgba(148, 201, 208, 0.1);
}

.other_table-ttl{
  background-color: rgba(247, 208, 70, 0.1);
}



th,
td {
  padding: 15px;
  text-align: left;
}

td {
  vertical-align: top;
}

tr:nth-child(even) {
  background-color: #f9f9f9;
}

.state,
.company {
  font-size: 14px;
}

.state {
  background-color: rgba(51, 51, 51, 0.5);
  padding: 1px 20px;
  display: inline-block;
  margin-bottom: 7px;
  color: #fff;
  margin-right: 10px;
}

.category {
  font-size: 14px;
  padding: 1%;
  margin-right: 4%;
}


.category-recycle {
  background-color: #94C9D0;
}

.category-eco {
  background-color: #DC696D;
}

.category-bio {
  background-color: #A6D68C;
}

.category-other{
    background-color: #F7D046;
}

.company {
  color: rgba(51, 51, 51, 0.5);
}

.today {
  color: #FF6347;
  font-weight: 600;
}

/* ページネーション */
.Pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
}

.Pagination-Item-Link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  overflow: hidden;
  background: #fff;
  /* font-weight: bold; */
  transition: all 0.15s linear;
}

.Pagination-Item-Link-Icon {
  width: 20px;
}

.Pagination-Item-Link.isActive {
  background: #333333;
  color: #fff;
  pointer-events: none;
}

.Pagination-Item-Link:not(.isActive):hover {
  background: #333333;
  color: #fff;
}

.Pagination>*+* {
  margin-left: 10px;
}

@media screen and (max-width: 767px) {
  main {
    padding: 20px;
  }

  h2 {
    font-size: 24px;
  }

  table {
    font-size: 14px;
  }

  th,
  td {
    padding: 10px;
  }


  .company {
    font-size: 12px;
  }


  .today {
    font-size: 12px;
  }


  .Pagination {
    margin-top: 20px;
  }

  .table-wrapper {
    overflow-x: auto; 
    max-width: 100%; 
    display: block; 
    margin-bottom: 20px;
  }
  
  table {
    width: max-content; 
    border-collapse: collapse;
  }
  
  th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
  }

.Pagination{
  max-width: 300px;
}


}