  body {
      font-family: sans-serif;
      margin: 0;
      padding: 2rem;
      background: #fafafa;
    }

    header {
      position: absolute;
      top: 1rem;
      right: 2rem;
      font-size: 0.85rem;
    }

    header ul {
      display: flex;
      gap: 1rem;
      list-style: none;
      margin: 0;
      padding: 0;
    }

    header a {
      position: relative;
      text-decoration: none;
      color: #555;
      padding: 0.2rem 0.5rem;
      border-radius: 4px;
      transition: color 0.3s ease, background-color 0.2s ease;
    }

    header a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -2px;
      width: 100%;
      height: 1px;
      background: #999;
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.3s ease;
    }

    header a:hover {
      color: #000;
      background-color: rgba(0, 0, 0, 0.05);
    }

    header a:hover::after {
      transform: scaleX(1);
    }






header nav ul {
  display: flex;
  flex-wrap: wrap; /* ← モバイルで折り返しを許可 */
  justify-content: flex-end; /* 通常時は右寄せ */
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 0.5rem;
}

header nav ul li {
  white-space: nowrap; /* 改行させない */
}

header nav ul a {
  text-decoration: none;
  font-size: 1rem;
  padding: 0.2rem 0.5rem;
  color: #333;
}





.top-link {
  display: inline-block;
  margin-top: 3rem;
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
  text-decoration: none;
  color: #444;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 999px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  cursor: pointer;
}

.top-link:hover {
  background: #f0f0ff;
  transform: scale(1.05);
  box-shadow: 0 6px 10px rgba(160, 160, 255, 0.2);
  color: #333;
}


.button-wrapper {
  text-align: center;
}





















    .hero {
      background-image: url('top-image.jpg');
      background-size: cover;
      background-position: center;
      min-height: 60vh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: #333;
      font-family: 'Noto Serif JP', serif;
      padding: 2rem;
      margin-bottom: 4rem;
    }

    .hero-text-with-image {
      display: flex;
      align-items: center;
      gap: 2rem;
      background: rgba(255,255,255,0.6);
      padding: 1rem 2rem;
      border-radius: 1rem;
      flex-wrap: wrap;
    }

    .hero-illust {
      width: 300px;
      height: auto;
      object-fit: contain;
    }

    .hero-text h1 {
      font-size: 2rem;
      margin: 0;
    }

    .hero-text p {
      margin-top: 0.5rem;
      font-size: 1rem;
      font-style: italic;
      color: #666;
    }

    .gallery {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1rem;
      margin-bottom: 4rem;
    }

    .item {
      position: relative;
      overflow: hidden;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      opacity: 0;
      transform: scale(0.95);
      transition: all 0.6s ease-out;
    }

    .item.show {
      opacity: 1;
      transform: scale(1);
    }

    .item:hover {
      transform: scale(1.05);
    }

    .item a {
      display: block;
      text-decoration: none;
      color: inherit;
    }

    .item img {
      width: 100%;
      height: auto;
      display: block;
    }

    .title-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      background: rgba(0, 0, 0, 0.6);
      color: white;
      text-align: center;
      padding: 0.75rem 0.5rem;
      font-size: 1rem;
      line-height: 1.4;
      opacity: 0;
      transform: translateY(100%);
      transition: all 0.3s ease;
      white-space: normal;
    }

    .item:hover .title-overlay {
      opacity: 1;
      transform: translateY(0);
    }

    .info {
      max-width: 600px;
      margin: 0 auto 4rem;
      padding: 0 1rem;
      font-size: 0.95rem;
      color: #333;
    }

    .info h2 {
      font-size: 1.2rem;
      font-weight: normal;
      text-align: center;
      margin-bottom: 2rem;
      letter-spacing: 0.05em;
    }

    .info-item {
      margin-bottom: 1.5rem;
      border-bottom: 1px solid #e0e0e0;
      padding-bottom: 0.75rem;
    }

    .date {
      display: block;
      color: #999;
      font-size: 0.85rem;
      margin-bottom: 0.2rem;
    }

    .title {
      display: block;
      font-weight: 400;
    }

    footer {
      text-align: center;
      font-size: 0.75rem;
      color: #aaa;
      padding: 2rem 1rem;
      font-family: sans-serif;
    }

@media (max-width: 600px) {
  .hero-illust {
    width: 200px;
  }

  .hero-text-with-image {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
  }

  .hero-text {
    text-align: center;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

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


  .title-overlay {
    opacity: 1;
    transform: translateY(0);
  }

  header nav ul a {
    font-size: 0.8rem;
    padding: 0.2rem 0.3rem;
  }

  header nav ul {
    flex-wrap: wrap; /* または nowrap にして文字サイズを優先する */
    gap: 0.3rem;
  }




}


