* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
}

body {
  color: #333;
  background-color: #fff;
}

.navbar {
  background: #111;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: white;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #009c94;
}

img.logo {
  height: 4em;
}

#hero {
  height: 100vh;
  background: url("images/2025bannerNew.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 2rem;
}

#about p{
  text-align: center;
  padding: 2rem;;
}



/* Hamburger Menu Button */
.menu-btn {
  display: none;
  /* Hidden on desktop */
  position: relative;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  cursor: pointer;
  transition: all .5s ease-in-out;
  z-index: 1001;
  /* Ensure it's above other content */
}

.menu-btn__burger {
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 5px;
  transition: all .5s ease-in-out;
}

.menu-btn__burger::before,
.menu-btn__burger::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 5px;
  transition: all .5s ease-in-out;
}

.menu-btn__burger::before {
  transform: translateY(-8px);
}

.menu-btn__burger::after {
  transform: translateY(8px);
}

/* Responsive Styles */
@media (max-width: 768px) {
  #hero {
    height: 33vh;
    min-height: 150px;
    /* The background image and other properties are inherited.
           To fix the clipping, you can fine-tune the horizontal position.
           The first value is horizontal (x-axis): 0% is left, 50% is center, 100% is right.
           Adjust this value to perfectly frame your image's subject on mobile screens. */
    background-position: 50% top;
  }

  img.logo {
    height: 3em;
    /* Adjust logo height for smaller screens */
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-btn {
    display: flex;
  }

  /* Animate Hamburger to X */
  .menu-btn.open .menu-btn__burger {
    transform: translateX(-50px);
    background: transparent;
  }

  .menu-btn.open .menu-btn__burger::before {
    transform: rotate(45deg) translate(35px, -35px);
  }

  .menu-btn.open .menu-btn__burger::after {
    transform: rotate(-45deg) translate(35px, 35px);
  }

  section p {
    text-align: left;
  }
}

#links {
      padding: 3rem 1rem;
      text-align: center;
      background-color: #f4f4f4;
    }

    #links h2 {
      margin-bottom: 2rem;
    }

.link-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto;
}

.btn {
  background-color: #00b49c;
  padding: 0.8rem 2rem;
  border: none;
  color: #111;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.btn:hover {
  background-color: #009c8a;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn:active {
  background-color: #008a79;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

section {
  padding: 2rem 2rem;
  text-align: center;
}

section p {
  text-align: left;

}

section h2 {
  margin-bottom: 1rem;
}

.card-holder {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.card {
  background: #ffffff;
  padding: 2rem;
  width: 300px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

/* Modifier to make a card span the full width of its container */
.card.full-width {
  width: 100%;
}



.card p{
  display: block;
}

.card h3{
  margin-bottom: 1rem;
}

.card:hover {
  transform: translateY(-5px);
}

.card-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-name {
  text-align: right;
  margin-top: 1rem;
  font-weight: bold;
  font-style: italic;
  color: #666;
}


footer {
  text-align: center;
  padding: 2rem;
  background: #111;
  color: white;
}

/* Styles for the custom "kikaku" card */
.kikaku-card {
  background: #B9FFE5;
  width: 345px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  overflow: hidden;
  /* To make the image corners conform to the card's border-radius */
  text-align: left;
  /* Override the centered text from the parent section */
}

.kikaku-card:hover {
  transform: translateY(-5px);
}

.kikaku-card .card-img {
  width: 100%;
  /* Make image responsive to card width */
  height: 345px;
  object-fit: cover;
  /* Crop image to fit, preserving aspect ratio */

  /* Reset conflicting styles from the generic .card-img class */
  border-radius: 0;
  margin-bottom: 0;
  border: none;
  box-shadow: none;
}

.kikaku-card h3 {
  margin: 1.5rem 1.5rem 0.5rem;
}

.kikaku-card p {
  margin: 0 1.5rem 1.5rem;
}

.kikaku-card .kikaku-type {
  font-weight: bold;
  text-align: center;
}