﻿body {
  background-color: #f9f9f9;
  margin: 0;
  padding: 0;
  color: #3d3333;
  line-height: 1.6;
}

h1 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 20px;
  color: #d80b24;
}

h2 {
  background-color: transparent;
}

.search-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.search-form input[type=text] {
  flex: 1;
  max-width: 500px;
  height: 40px;
  padding: 0 12px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}
.search-form button {
  height: 40px;
  padding: 0 20px;
  font-size: 15px;
  background-color: #d80b24;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.search-form button:hover {
  background-color: #8f0818;
}

.area-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}
.area-buttons button {
  padding: 6px 12px;
  font-size: 14px;
  background-color: #f0f0f0;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: background-color 0.3s;
  cursor: pointer;
}
.area-buttons button:hover {
  background-color: #e0e0e0;
}
.area-buttons button.active {
  background-color: #d80b24;
  color: white;
  border-color: #d80b24;
}

#loading {
  text-align: center;
  margin: 20px 0;
}

#shopList {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  opacity: 1;
  transition: opacity 0.5s;
}
#shopList.fade-out {
  opacity: 0;
}
#shopList li {
  background-color: #fff;
  border: 1px solid #f1f1f1;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  padding: 20px;
}
#shopList li h2 {
  font-size: 18px;
  margin: 0 0 8px;
  color: #d80b24;
}
#shopList li p {
  margin: 4px 0;
  font-size: 14px;
  color: #444;
}
#shopList li a {
  color: #1558d6;
  text-decoration: none;
  word-break: break-word;
}
#shopList li a:hover {
  text-decoration: underline;
}

#prefectureButtons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 15px;
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 22px;
  }
  .search-form {
    flex-direction: column;
    align-items: center;
  }
  .search-form input[type=text],
  .search-form button {
    width: 90%;
    max-width: 100%;
  }
  .search-form input[type=text] {
    min-height: 44px;
  }
  .search-form button {
    min-height: 44px;
  }
  #shopList {
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 480px) {
  body {
    padding: 0 !important;
  }
  h1 {
    font-size: 20px !important;
  }
  .search-form {
    flex-direction: column;
    padding: 0 20px !important;
    gap: 10px;
  }
  .search-form input[type=text] {
    width: 100% !important;
    font-size: 15px !important;
    padding: 10px 12px !important;
  }
  .search-form button {
    width: 100% !important;
    font-size: 15px !important;
    padding: 10px 12px !important;
  }
  .area-buttons {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 0 20px 20px !important;
  }
  .area-buttons button {
    padding: 6px 10px !important;
    font-size: 13px !important;
    min-width: 80px;
    cursor: pointer;
  }
  #prefectureButtons {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 0 20px 20px !important;
  }
  #prefectureButtons button {
    padding: 6px 10px !important;
    font-size: 13px !important;
    min-width: 80px;
    cursor: pointer;
  }
  #shopList {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    padding: 0 20px !important;
  }
  #shopList li {
    padding: 16px !important;
  }
  #shopList li h2 {
    font-size: 16px !important;
    background-color: transparent !important;
  }
  #shopList li p {
    font-size: 13px !important;
  }
}/*# sourceMappingURL=style.css.map */