body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #dadada;
  color: #1b1b1b;
  scroll-behavior: smooth;
  padding-top: 50px;
}

.logo {
  max-width: 500px;
  height: auto;
  margin-bottom: 1rem;
}

.navbar {
  position: fixed;
  height: 40px;
  top: 0;
  width: 100%;
  background: linear-gradient(90deg, #68f0b7, #ff99de);
  z-index: 1000;
  padding: 0.75rem 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
}

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

.navbar a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
}

.navbar a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.team-icon {
  margin-left: auto;
  margin-right: 10%;
  display: flex;
  align-items: center;
  
}

.team-icon img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  display: block;
  max-width: 70px;
  max-height: 70px;
}



header.hero {
  height: 100vh;
  background: url('https://via.placeholder.com/1920x1080') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content h1 {
  font-size: 5rem;
  padding-top: 0;
  color: rgb(4, 110, 117);
}

.hero-content p {
  font-size: 2rem;
  color: rgb(4, 80, 23);
  padding-bottom: 30%;
}

/* ヒーローセクションを相対位置に */
header.hero {
  position: relative;
}

/* メンバー画像コンテナ */
.members-row {
  margin-top: 5px;
  position: absolute;
  bottom: 0px;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  z-index: 2;
  gap: 0;
}
.member-img {
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}



/* 各メンバー画像 */
.sizel {
  
  height: 300px;
  margin: 0;
}
.sizem {
  width: 290px;

}
.sizexl {
  width: 320px;
  
  margin: 0 ;
}

.members-row img:hover {
  transform: scale(1.05);
}

/* スマホサイズでも対応しやすい */
@media (max-width: 768px) {
  .members-row img {
    width: 60px;
    height: 60px;
  }
}


section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: auto;
}

h2 {
  position: relative;
  color: #003314;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #4fff58;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: #047067;
  border-radius: 2px;
}

.member-cards, .gallery-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.card, .gallery-item {
  background: #757575;
  border-radius: 12px;
  width: 250px;
  height: 340px;
  overflow: hidden;
  position: relative;
  color: #fff;
  padding: 1rem;
  box-sizing: border-box;
}

.card img {
  width: 100%;
  height: 60%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.news-list, .achievements-list {
  list-style: none;
  padding: 0;
}

.news-list li, .achievements-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #333;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
}

.schedule-table th, .schedule-table td {
  border: 1px solid #444;
  padding: 0.75rem;
  text-align: left;
}

.social-links a {
  margin: 0 1rem;
  color: #4fffd9;
  text-decoration: none;
  font-size: 1.2rem;
}

footer {
  background: #000;
  text-align: center;
  padding: 2rem;
  color: #888;
}

.slideshow-wrapper {
  width: 100%;
  max-width: 600px;
  overflow: hidden;
  margin: 20px auto;
  border-radius: 10px;
  position: relative;
}

.slideshow-track {
  display: flex;
  transition: transform 0.9s ease-in-out;
}

.slide {
  width: 100%;
  flex: 0 0 100%;
}

.slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .card, .gallery-item {
    width: 100%;
    height: 200px;
  }

  section {
    padding: 2rem 1rem;
  }

  .schedule-table th, .schedule-table td {
    font-size: 0.9rem;
  }

  .social-links a {
    display: inline-block;
    margin: 0.5rem;
  }

  .hamburger {
    display: block;
  }

  .nav-menu {
    flex-direction: column;
    align-items: center;
    width: 100%;
    display: none;
    background: linear-gradient(90deg, #68f0b7, #ff99de);
  }

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

  .nav-menu li {
    width: 100%;
    text-align: center;
  }

  .navbar {
    padding: 0.5rem 1rem;
    justify-content: space-between;
  }
}
