@charset "UTF-8";
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 18px 10px 0;
  color: #263c35;
  font-family: "Yu Gothic", "Meiryo", sans-serif;
  background: linear-gradient(180deg, #dff1ff 0%, #f4fbe9 60%, #eff8d8 100%);
}
.site {
  width: min(100%, 960px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 15px;
  background: #f8fce9;
  box-shadow: 0 5px 22px rgba(42, 91, 77, .18);
}
.site-header { padding: 0; background: #dff1ff; }
.site-header a, .site-header img { display: block; width: 100%; }
.site-header img { height: auto; }

.main-nav {
  padding: 8px 16px 12px;
  background: linear-gradient(#dff1ff, #eaf7ed);
}
.nav-row {
  display: grid;
  gap: 9px;
  margin: 0 auto 9px;
}
.nav-row:last-child { margin-bottom: 0; }
.nav-row-five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.nav-row-six { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.nav-row a {
  min-height: 49px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 5px;
  border: 2px solid rgba(255,255,255,.95);
  border-radius: 13px;
  box-shadow: 0 2px 4px rgba(25,55,70,.24), inset 0 1px 2px rgba(255,255,255,.8);
  color: #17352d;
  text-decoration: none;
  text-align: center;
  font-size: clamp(13px, 1.55vw, 18px);
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}
.nav-row a:hover { filter: brightness(1.06); transform: translateY(-1px); }
.nav-home { color: white !important; background: linear-gradient(#69b9ff,#0871d7); }
.nav-lime { background: linear-gradient(#d8ff70,#8bcf26); }
.nav-orange { background: linear-gradient(#ffd58b,#ff9b19); }
.nav-purple { background: linear-gradient(#f0caff,#c57ce9); }
.nav-green { background: linear-gradient(#c9f7a4,#79c94a); }
.nav-blue { background: linear-gradient(#b8dfff,#5ba8f2); }

.family-scene { width: 100%; background: #e9f8dc; }
.family-scene img { display: block; width: 100%; height: auto; }

.activities {
  padding: 13px 20px 18px;
  background: linear-gradient(180deg, #f4f9d9, #fffde9);
}
.activity-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.activity-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 3px solid white;
  border-radius: 15px;
  text-decoration: none;
  color: white;
  box-shadow: 0 2px 6px rgba(41, 67, 48, .3);
  transition: transform .15s ease, filter .15s ease;
}
.activity-card:hover { transform: translateY(-3px); filter: brightness(1.04); }
.activity-card img {
  display: block;
  width: 100%;
  height: 126px;
  object-fit: cover;
  background: #fff;
}
.activity-card span {
  display: flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  padding: 5px 2px;
  font-weight: 800;
  font-size: clamp(14px, 1.55vw, 18px);
  text-align: center;
  white-space: nowrap;
}
.activity-card.blue span { background: linear-gradient(#42a7ff,#0871d8); }
.activity-card.green span { background: linear-gradient(#70c85a,#218a42); }
.activity-card.orange span { background: linear-gradient(#ffb64e,#e56c16); }
.activity-card.purple span { background: linear-gradient(#c88beb,#7934b5); }

.volunteer {
  margin: 0;
  padding: 18px 28px 20px;
  text-align: center;
  color: #405a37;
  background: linear-gradient(180deg, #f4f9d9, #eaf7c6);
  border-top: 1px solid #d7e9a8;
}
.volunteer-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.volunteer h2 {
  margin: 0;
  color: #467a37;
  font-size: clamp(18px, 2.2vw, 24px);
}
.small-leaf { color: #e99b40; font-size: 22px; }
.volunteer p { margin: 7px auto 9px; max-width: 760px; font-size: 15px; }
.contact {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 25px;
  font-size: 15px;
  font-weight: 700;
}
.contact a { color: #235e9a; }
.site-footer {
  min-height: 62px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 8px 20px 12px;
  background: #eff8d7 url("../images/footer-original.jpg") center bottom / 100% auto no-repeat;
}
.site-footer a {
  padding: 4px 9px;
  border-radius: 12px;
  background: rgba(255,255,255,.8);
  color: #416d3f;
  font-size: 13px;
}

@media (max-width: 700px) {
  body { padding: 6px 5px 0; }
  .site { border-radius: 9px; }
  .main-nav { padding: 6px 8px 9px; }
  .nav-row { gap: 5px; margin-bottom: 6px; }
  .nav-row a { min-height: 42px; padding: 5px 2px; border-radius: 9px; font-size: clamp(10px, 2vw, 14px); }
  .activities { padding: 10px 10px 14px; }
  .activity-grid { gap: 9px; }
  .activity-card img { height: 100px; }
  .activity-card span { min-height: 36px; font-size: clamp(11px, 2.2vw, 15px); }
  .volunteer { padding: 14px 12px 16px; }
  .volunteer p, .contact { font-size: 13px; }
}
@media (max-width: 440px) {
  .nav-row { gap: 4px; }
  .nav-row a { white-space: normal; font-size: 10px; }
  .activity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .activity-card img { height: 110px; }
  .activity-card span { font-size: 14px; }
  .contact { flex-direction: column; gap: 3px; }
}
