.hero-wrapper {
  padding-bottom: 2rem;  /* グレーの土台ごと下にゆとりを足す（サイドメニューが下にくっつかないように） */
}

/* 活動記録セクション */
.activity-section {
  padding-bottom: 1rem;
}

.page-lead {
  margin-bottom: 2rem;
}

.activity-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: flex-start;  /* 横に並んだ子要素を左寄せにする */
}

.activity-card {
  display: inline-block;  /* 横に並ぶけど、幅や高さを指定できるスタイル */
  padding: 0.8rem 1.2rem;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.activity-card:hover {
  background: #f7f7f7;
}

/* 行事予定を見るリンク */
.schedule-wrapper {
  text-align: right;
  margin-top: 2rem;
}

.link-to-schedule {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;

  padding: 0.6rem 1rem;

  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;

  text-decoration: none;
  color: #228b22;
  font-weight: bold;
}

.link-to-schedule:hover {
  background: #f7f7f7;
  border-color: #ccc;
}

.link-to-schedule:visited {
  color: #228b22;  /* 緑のまま */
}

.link-to-schedule img {
  width: 20px;
  height: auto;
}

/* =========================
   スマホ表示用
   ========================= */

@media (max-width: 768px) {
  .activity-list {
    justify-content: center; /* 横に並んだ子要素を中央に寄せる */
  }
}