@charset "UTF-8";

body {
  margin: 0;
}

.gallery-section {
  font-family: "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
  color: #1e1e1e;
  margin: 100px 0;
}

.gallery-hero {
  max-width: 900px;
  margin: 0 auto 48px;
  padding: 24px 0;
}

.gallery-hero h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.gallery-hero p {
  margin: 0;
  line-height: 1.6;
  color: #555;
}

.project-card {
  border-top: 1px solid #e0e0e0;
  padding: 48px 0;
  max-width: 1100px;
  margin: 0 auto;
}

.project-card:first-of-type {
  border-top: none;
  padding-top: 0;
}

.project-figure {
  margin: 0 0 24px;
}

.project-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(15, 15, 15, 0.15);
}

.project-card:first-of-type .project-figure {
  height: 1100px;
  overflow: hidden;
}

.project-card:first-of-type .project-figure img {
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.project-card:nth-of-type(2) .project-figure {
  height: 1400px;
  overflow: hidden;
}

.project-card:nth-of-type(2) .project-figure img {
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.95rem;
  color: #777;
  margin-bottom: 18px;
}

.project-meta span {
  background: #f7f7f7;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #eaeaea;
}

.project-title {
  font-size: 1.4rem;
  margin: 0 0 12px;
}

.project-title a {
  color: #b78d4b;
}

.project-title a:hover {
  color: #8a6a2b;
}

.project-description {
  margin: 0 0 4px;
  line-height: 1.6;
}

.project-details {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  color: #444;
}

.project-details li {
  margin-bottom: 4px;
}