/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.78;
  color: #2e3936;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.g-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.g-header {
  background: #f6f4ee;
  border-bottom: 1px solid #dfe6e2;
}
.g-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px;
}
.g-logo {
  font-size: 0.92rem;
  color: #23584f;
  font-weight: 500;
  transition: opacity .2s;
}
.g-logo:hover { opacity: 0.7; }

/* ===== Hero ===== */
.g-hero {
  padding: 72px 0 56px;
  background: #f6f4ee;
  text-align: center;
}
.g-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: #23584f;
  margin-bottom: 14px;
}
.g-title {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  color: #1f2d2b;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
  font-weight: 700;
}
.g-lead {
  color: #4a564f;
  line-height: 2;
  font-size: 1rem;
  max-width: 640px;
  margin: 0 auto;
}

/* ===== Gallery list ===== */
.g-list {
  padding: 72px 0 64px;
  background: #FFFFFF;
}
.g-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.g-card {
  display: block;
  background: #FFFFFF;
  border: 1px solid #e6e6e0;
  border-radius: 8px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  cursor: pointer;
}
.g-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(31, 45, 43, 0.1);
  border-color: #23584f;
}
.g-card-empty {
  cursor: default;
  background: #FAF8F3;
  border-style: dashed;
}
.g-card-empty:hover {
  transform: none;
  box-shadow: none;
  border-color: #e6e6e0;
}
.g-thumb {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: #d5cfc0;
}
.g-thumb-dark {
  background: linear-gradient(135deg, #3D5D4D 0%, #2C4438 50%, #1F2F26 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 2rem;
  letter-spacing: 0.3em;
}
.g-thumb-dark::after {
  content: '燈';
}
.g-thumb-empty {
  background: #e8e4da;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a09a87;
  font-size: 1rem;
  letter-spacing: 0.2em;
  font-weight: 500;
}
.g-card-body {
  padding: 22px 22px 24px;
}
.g-tag {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.15em;
  padding: 4px 12px;
  background: #edf5f1;
  color: #23584f;
  border-radius: 999px;
  margin-bottom: 12px;
  font-weight: 600;
}
.g-tag-empty {
  background: #e8e4da;
  color: #a09a87;
}
.g-card-title {
  font-size: 1.12rem;
  color: #1f2d2b;
  margin-bottom: 10px;
  line-height: 1.55;
  font-weight: 700;
}
.g-card-empty .g-card-title {
  color: #a09a87;
}
.g-card-desc {
  font-size: 0.92rem;
  color: #66716d;
  line-height: 1.8;
  margin-bottom: 14px;
}
.g-card-empty .g-card-desc {
  color: #a8a395;
}
.g-card-spec {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.g-card-spec span {
  font-size: 0.74rem;
  color: #66716d;
  padding: 3px 10px;
  background: #f6f4ee;
  border-radius: 3px;
}
.g-card-link {
  font-size: 0.92rem;
  color: #23584f;
  font-weight: 700;
}
.g-card:hover .g-card-link {
  text-decoration: underline;
}

/* ===== Note ===== */
.g-note {
  margin-top: 48px;
  padding: 24px 28px;
  background: #f6f4ee;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #66716d;
  line-height: 1.85;
}
.g-note p { margin: 4px 0; }

/* ===== CTA ===== */
.g-cta {
  padding: 72px 0;
  background: #23584f;
  color: #FFFFFF;
  text-align: center;
}
.g-cta h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  margin-bottom: 14px;
  font-weight: 700;
}
.g-cta p {
  margin-bottom: 28px;
  opacity: 0.92;
}
.g-btn {
  display: inline-block;
  padding: 14px 36px;
  background: #FFFFFF;
  color: #23584f;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform .15s, box-shadow .15s;
}
.g-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* ===== Footer ===== */
.g-footer {
  padding: 28px 24px;
  text-align: center;
  background: #1f2d2b;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .g-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .g-grid { grid-template-columns: 1fr; }
  .g-hero { padding: 56px 0 40px; }
  .g-list { padding: 56px 0 48px; }
  .g-cta { padding: 56px 0; }
}
