/* 全体 */
body {
  font-family: "Noto Sans CJK JP", sans-serif;
  color: #333;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* ヘッダー */
header {
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header img {
  width: 100px;
}

header nav {
  margin-top: 10px;
}

header nav a {
  color: #333;
  text-decoration: none;
  margin: 0 10px;
  font-size: 16px;
  font-weight: bold;
  transition: color 0.3s ease;
}

header nav a:hover {
  color: #008000;
}

/* メインコンテンツ */
main {
  padding: 80px 20px 20px;
}

section {
  background-color: #fff;
  margin: 10px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

section h2 {
  color: #008000;
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: bold;
}

section p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

section ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

section li {
  margin-bottom: 8px;
}

section a {
  color: #008000;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

section a:hover {
  color: #00578a;
}

section .icon {
  font-size: 24px;
  margin-right: 8px;
}

/* フッター */
footer {
  background-color: #008000;
  color: #fff;
  padding: 20px;
  text-align: center;
}

footer p {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.6;
}

footer a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
  font-size: 16px;
  font-weight: bold;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #00578a;
}

/* アニメーション */
.animated {
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInUp {
  from {
    transform: translate3d(0, 100%, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

/* 使用例 */
header h1 {
  animation: fadeIn 1s ease-in-out;
}

section {
  animation: slideInUp 1s ease-in-out;
}

/* メディアクエリ */
@media screen and (max-width: 768px) {
  header nav {
    display: flex;
    justify-content: center;
  }

  header nav a {
    margin: 0 5px;
  }

  main {
    flex-direction: column;
  }
}
