/* 全体の基本設定 */
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans JP", sans-serif;
  color: #222;
  line-height: 1.7;
  background-color: #ffffff;
}

/* 画像共通 */
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* セクション共通 */
section {
  padding: 60px 20px;
}

section:nth-of-type(odd) {
  background-color: #ffffff;
}

section:nth-of-type(even) {
  background-color: #f5f5f5;
}

section > div,
section > p {
  max-width: 1000px;
  margin: 0 auto;
}

/* 見出し */
h1, h2, h3 {
  margin: 0 0 20px;
  font-weight: 600;
}

h1 {
  font-size: 2.2rem;
  text-align: center;
}

h2 {
  font-size: 1.8rem;
  text-align: center;
}

h3 {
  font-size: 1.2rem;
}

/* 段落 */
p {
  margin: 0 0 16px;
  font-size: 1rem;
}

/* ヘッダー */
header {
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* ロゴ */
header > div {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
}

header > div span {
  font-size: 0.75rem;
  color: #4a5568;
}

/* ナビゲーション（共通） */
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

nav a {
  text-decoration: none;
  color: #2d3748;
  font-size: 0.95rem;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

nav a:hover,
nav a:focus {
  background-color: #2c7a7b;
  color: #ffffff;
}

/* ハンバーガーメニュー（初期は非表示） */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #2d3748;
}

/* 固定ページ用：スマホでハンバーガー表示 */
.page .menu-toggle {
  display: none;
}

@media (max-width: 600px) {
  .page .menu-toggle {
    display: block;
    position: absolute;
    top: 12px;
    right: 20px;
  }

  .page nav {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 12px;
  }

  .page nav.active {
    display: flex;
  }

  .page nav a {
    padding: 10px;
    font-size: 1rem;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
  }

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  p {
    font-size: 0.95rem;
  }

  section {
    padding: 40px 16px;
  }

  section:nth-of-type(2) > div,
  section:nth-of-type(3) > div {
    grid-template-columns: 1fr;
  }

  section:nth-of-type(5) p {
    text-align: left;
  }
}

/* メインビジュアル、カード、ボタンなどのスタイルは省略せず、必要に応じて追加 */
