body {
  font-family: sans-serif;
  margin: 0;
  background: #ffffff;
  color: #222222;
}

header {
  background: #334466; /* 薄い紺色 */
  color: #ffffff;
  padding: 10px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 10;
}

.logo {
  width: 60px;
  height: auto;
}

nav ul.menu {
  list-style: none;
  display: flex;
  gap: 20px;
  margin-left: auto;
  flex-wrap: wrap;
  padding: 0;
  position: relative;
  z-index: 10;
}

.menu li {
  position: relative;
}

.menu a,
.dropdown-toggle {
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #f0f0f0;
  padding: 10px;
  list-style: none;
  border-radius: 4px;
  z-index: 10;
}

.dropdown-menu li a {
  color: #333333;
  display: block;
  padding: 5px 10px;
}

.dropdown-menu.active {
  display: block;
}

.slideshow {
  position: relative;
  height: 300px;
  overflow: hidden;
  z-index: 1;
}

.slide {
  position: absolute;
  width: 100%;
  height: 300px;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s;
  z-index: 1;
}

.slide.active {
  opacity: 1;
}

.emergency {
  background: #ffeeee;
  padding: 10px 20px;
  color: #cc0000;
}

.news {
  padding: 10px 20px;
  background: #f9f9f9;
}

.news ul {
  padding-left: 20px;
}

.population {
  background: #f9f9f9;
  padding: 10px 20px;
}

.population table {
  width: 100%;
  border-collapse: collapse;
  color: #222222;
}

.population th,
.population td {
  border: 1px solid #cccccc;
  padding: 8px;
}

.mayor {
  padding: 10px 20px;
  text-align: center;
}

.mayor-img {
  width: 200px;
  cursor: pointer;
}

footer {
  background: #e0e0e0;
  color: #333333;
  text-align: center;
  padding: 10px;
}

.hidden-text {
  color: #ffffff;
}

/* スマホ対応 */
@media (max-width: 600px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul.menu {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-top: 10px;
  }

  .slideshow {
    height: 200px;
  }

  .slide {
    height: 200px;
  }

  .mayor-img {
    width: 100%;
    max-width: 300px;
  }
}