body {
  margin: 0;
  padding: 0;
}

.header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 0px;
  position: fixed;
  z-index: 10;
  top: 0;
  right: 0px;
  background: rgba(0, 0, 0, 0.5);
  flex-wrap: wrap;
}

.header-logo {
  margin-left: 30px;
}

.header-logo > a {
  position: left;
  display: block;
}

.header-navlist {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.header-navitem > a {
  padding: 10px 15px;
  color: #f1e6e6;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s;
}

.header-navitem > a:hover {
  border-bottom: 2px solid #f1e6e6;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  padding: 10px 20px;
  z-index: 11;
}

.header img {
  max-width: 100%;
  height: auto;
  display: block;
}

.news-container {
  max-width: 900px;
  margin: 120px auto 40px; /* ヘッダー固定のため余白大きめに */
  padding: 0 20px;
}

.news-item {
  background: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.news-item h2 {
  font-size: 25px;
  margin-bottom: 10px;
  color: #333;
}

.news-item p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}

.date {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 1rem;
}

footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 1rem;
}

.footer_container {
  display: flex;
  justify-self: start;
  gap: 25px;
}

.footer_container img {
  width: 100%;
  max-width: 200px;
  height: auto;
  padding: 10px;
}

.footer_text_block {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  font-size: 14px;
}

.footer_container a {
  color: white;
  text-decoration: none;
}

.footer_container a:hover {
  color: skyblue;
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block; /* スマホでは表示 */
  }

  .header-nav {
    display: none; /* デフォルトでは非表示 */
    width: 100%;
  }

  .header-nav.active {
    display: block; /* トグル時に表示 */
  }

  .header-navlist {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0;
  }

  .header-navitem > a {
    display: block;
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
}
