/* ========== ギャラリーページ（完全レスポンシブ・高級塗料光沢） ========== */
.page-hero {
  padding: clamp(120px, 16vw, 160px) clamp(16px, 4vw, 32px) clamp(48px, 6vw, 72px);
  background: var(--color-white);
  text-align: center;
  position: relative;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-rainbow-h);
}

.section-gallery-full {
  padding: var(--section-padding);
  background: var(--color-white);
}

.gallery-full-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.gallery-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 2vw, 20px);
}

.gallery-full-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: var(--paint-card-shadow);
  transition: var(--transition);
  position: relative;
  background: var(--color-gray-light);
}

.gallery-full-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-full-item:hover {
  box-shadow: var(--paint-deep-gloss);
  transform: translateY(-6px);
}

.gallery-full-item:hover img {
  transform: scale(1.08);
}

/* 高級塗料クリアコート光沢＆拡大バッジ */
.gallery-full-item::after {
  content: '拡大して見る';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(15, 17, 21, 0.45) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  opacity: 0;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: opacity 0.35s ease;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.gallery-full-item:hover::after {
  opacity: 1;
}

@media (max-width: 960px) {
  .gallery-grid-full {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 520px) {
  .gallery-grid-full {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .gallery-full-item {
    border-radius: 8px;
  }
}
