section {
  margin-bottom: 100px;
}
table {
  margin: 0 auto;
  width: 100%;
}
#shop-info table tr {
  border: #ddd 1px solid;
}
#shop-info table th {
  background-color: #fbf6e1;
  padding: 10px;
  text-align: left;
  width: 30%;
  border-right: #ddd 1px solid;
}
#shop-info table td {
  padding: 10px;
  width: 70%;
}
#map iframe {
  max-height: 667px;
}

#shop-photo ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px 10px;
  text-align: center;
}
#shop-photo ul li {
  width: calc((100% - 30px) / 4);
}
#shop-photo ul li p {
  margin-top: 10px;
}
#shop-photo ul li img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.shop-detail-box {
  padding-bottom: 0;
}
#information table tr {
  border: #ddd 1px solid;
}
#information table th {
  width: 20%;
  padding: 10px;
}
#information table td {
  width: 80%;
  padding: 10px 20px;
}
#information table td a {
  text-decoration: underline;
}
#information table td a:hover {
  opacity: 0.5;
}
#nearby ul {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 0;
  justify-content: space-between;
}

@media screen and (max-device-width: 767px) {
  .html-format {
    margin: 0;
  }
  .html-format ul>li {
    padding-left: 0;;
  }
  #map iframe {
    max-height: 300px;
  }
  #shop-photo ul {
    flex-direction: column;
    justify-content: center;
  }
  #shop-photo ul li {
    width: 100%;
  }
  #shop-photo ul li img {
    height: auto;
  }
  #nearby ul {
    display: block;
  }
  #nearby .nearby-list {
    flex-direction: column;
    justify-content: center;
    padding: 0;
  }
}