body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: #f7f3e8;
  color: #222;
}

.hero,
main {
  max-width: 960px;
  margin: auto;
  padding: 24px;
}

.eyebrow {
  color: #2f6f4e;
  font-weight: bold;
}

.card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 12px #0002;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}

.category {
  color: #2f6f4e;
  font-weight: bold;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.card a {
  color: #2f6f4e;
  font-weight: bold;
}

.card img,
.no-image {
  transition: transform 0.3s ease;
}

.card:hover img,
.card:hover .no-image {
  transform: scale(1.03);
}

.controls {
  background: #fffaf0;
  border: 1px solid #eadfca;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
}

.controls label {
  display: grid;
  gap: 8px;
  font-weight: bold;
}

input {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid #aaa;
  border-radius: 10px;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

button {
  padding: 8px 14px;
  border: 1px solid #888;
  border-radius: 999px;
  background: white;
  cursor: pointer;
}

button.active {
  background: #2f6f4e;
  color: white;
}

.buttons button {
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.buttons button:hover {
  transform: translateY(-3px);
}

.card {
  overflow: hidden;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #ddd;
}

.card-body {
  padding: 16px;
}

.empty {
  background: white;
  border-radius: 16px;
  padding: 20px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.links a {
  display: inline-block;
  color: #2f6f4e;
  background: #edf7f1;
  border-radius: 999px;
  padding: 8px 12px;
  text-decoration: none;
  font-weight: bold;
}

.no-image {
  width: 100%;
  height: 260px; /* imgと同じ高さ */
  display: flex;
  align-items: center;
  justify-content: center;

  background: #f3f3f3;
  color: #999;
  font-size: 1.2rem;
  font-weight: bold;

  border-radius: 12px;
}

.no-image {
  width: 100%;
  height: 260px; /* imgと同じ高さ */
  display: flex;
  align-items: center;
  justify-content: center;

  background: #f2f2f2;
  color: #999;
  font-size: 1.1rem;
  font-weight: 600;

  border-radius: 12px;
}

#map {
  width: 100%;
  height: 500px;
  border-radius: 24px;
  margin: 32px 0;
  overflow: hidden;
  animation: popIn 0.8s ease;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

#search {
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

#search:focus {
  transform: scale(1.02);
  box-shadow: 0 0 0 4px rgba(92, 150, 97, 0.2);
}

/* ページ表示時にふわっと出る */
body {
  animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
