html { -webkit-text-size-adjust: 100%; }
body { font-feature-settings: "palt"; }
img { max-width: 100%; height: auto; }
a:focus-visible, button:focus-visible { outline: 2px solid #BC9B5D; outline-offset: 3px; }

/* 写真の拡大表示 */
#lightbox { position: fixed; inset: 0; z-index: 50; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,.92); }
#lightbox.open { display: flex; }
#lightbox img { max-width: 94vw; max-height: 86vh; width: auto; height: auto; object-fit: contain; }
#lightbox button { position: absolute; color: #fff; padding: 14px; font-size: 14px; letter-spacing: .1em; }
#lightbox .lb-close { top: 8px; right: 8px; }
#lightbox .lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
#lightbox .lb-next { right: 4px; top: 50%; transform: translateY(-50%); }
#lightbox .lb-count { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #ccc; font-size: 12px; }

@media (prefers-reduced-motion: reduce) {
  .slide { transition: none !important; }
  .gallery img { transition: none !important; }
}
