    .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: 250px;
      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;
    }

@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);
  }





  .gallery {
    grid-template-columns: repeat(2, 1fr); /* 1列なら repeat(1, 1fr) */
  }



  .hero-text h1 {
    font-size: 1.4rem;
    white-space: nowrap;
  }






}


