/* ベース設定 */
body {
    font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
    background-image: url("images/background_leaf_sky_soft.png");
    background-size: cover;              /* 全体をカバー */
    background-repeat: no-repeat;        /* 繰り返さない */
    background-position: center top;     /* 上から中央寄せ */
    background-attachment: fixed;        /* スクロールしても背景は固定 */
    background-color: #fffefb;           /* 万が一画像が表示されないときの保険色 */
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.8;
    font-size: 1rem;
  }
  

h2.section-title {
  text-align: center;
  font-size: 1.8rem;
  margin-top: 2rem;
  color: #31faad;
}

.section-title-img {
  display: block;
  margin: 2rem auto 1.5rem;
  max-width: 90%;
  height: auto;
}

/* ヘッダー */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f8efbb;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo img {
  height: 80px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 15px;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  text-decoration: none;
  color: #4b6f63;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 1rem;
}

.nav-menu li a:hover {
  background-color: #cce5dd;
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #4b6f63;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 10px;
    width: 200px;
  }

  .nav-menu.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu li a {
    padding: 10px;
    font-size: 1.1rem;
  }
}

/* トップ画像 */
.top-visual img {
    width: 90%;              /* 横幅を80%にして */
    max-width: 1000px;        /* PCでも広がりすぎないように */
    max-height: 400px;       /* 縦も少し控えめに */
    height: auto;
    display: block;
    margin: 40px auto 2rem;     /* 中央寄せ */
    object-fit: cover;
  }
  

/* 各セクション共通 */
.section {
  padding: 2.5rem 1rem;
  max-width: 850px;
  margin: auto;
  text-align: center;
}

.section p, .section ul, .section ol {
  text-align: left;
  margin-bottom: 1.5rem;
}

.section ul, .section ol {
  padding-left: 1.5rem;
}

.section ul li,
.section ol li {
  margin-bottom: 0.8rem;
}

/* チェックツールリンク */
.tool-links {
  list-style: none;
  padding: 0;
  text-align: left;
}

.tool-links li {
  background-color: #f5f9f7;
  border-left: 6px solid #a8d5c3;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 10px;
}

.tool-links a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 1.05rem;
}

.tool-links a:hover {
  text-decoration: underline;
  color: #4b6f63;
}

/* フッター */
.footer {
  background-color: #e6f2ed;
  color: #333;
  text-align: center;
  padding: 1rem;
  margin-top: 3rem;
  font-size: 0.9rem;
}

/* スマホ対応調整 */
@media (max-width: 480px) {
  .section {
    padding: 2rem 1rem;
  }

  .tool-links li {
    font-size: 1rem;
  }

  .logo img {
    height: 55px;
  }
}
.footer {
    background-color: #e6f2ed;
    color: #333;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 3rem;
    font-size: 0.9rem;
  }
  
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    list-style: none;
    padding: 1rem 0 0;
    margin: 0;
  }
  
  .footer-links li a {
    text-decoration: none;
    color: #4b6f63;
    font-weight: bold;
    font-size: 0.95rem;
  }
  
  .footer-links li a:hover {
    text-decoration: underline;
  }
  p {
    font-weight: bold;
    font-size: 1.2rem; /* ← お好みで調整できるよ */
  }
  li {
    font-weight: bold;
    font-size: 1.15rem;  /* ← 少しだけ大きく */
    color: #2e5e4e;      /* 濃いめの緑とかで印象アップ */
  }
  .fade-in {
    animation: fadeIn 2s ease forwards;
    opacity: 0;
  }
  @keyframes fadeIn {
    to {
      opacity: 1;
    }
  }
  
  /* スクロールでふわっと表示 */
  .fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
  }
  .fade-up.in-view {
    opacity: 1;
    transform: translateY(0);
  }