/* style.css（共通スタイル） */
body {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  color: #555;
  margin: 0;
  padding: 0;
  background-color: #fdfaf5;
}

header,
footer {
  background-color: #e0dbc9;
  padding: 20px;
  text-align: center;
}

nav a {
  color: #4d774e;
  margin: 0 10px;
  text-decoration: none;
  font-size: 16px;
}

.hero {
  background: url('images/top_image.png') no-repeat center;
  background-size: cover;
  height: 500px;
  position: relative;
  margin-bottom: 30px;
}

.hero .overlay {
  background-color: rgba(255, 255, 255, 0.8);
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 15px 30px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.hero .overlay h2 {
  margin: 0;
  color: #4d774e;
  font-size: 1.5em;
}

.content,
.intro {
  padding: 20px;
  text-align: center;
}

.menu-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 20px;
}

.menu-item {
  background: white;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.menu-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.menu-item h3 {
  color: #4d774e;
  margin: 10px 0;
}

.menu-list li {
  padding: 5px 0;
}

.mini-access {
  background-color: #f3f1ea;
  padding: 15px;
  border-radius: 10px;
  margin: 20px auto;
  max-width: 600px;
}

form {
  max-width: 600px;
  margin: auto;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
  padding: 10px 20px;
  background-color: #4d774e;
  color: #fff;
  border: none;
  border-radius: 5px;
}

@media (max-width: 600px) {
  nav a {
    display: block;
    margin: 5px 0;
  }
}

.news-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 20px auto;
}

.news-list li {
  background: white;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.2s;
}

.news-list li:hover {
  transform: translateX(5px);
}