/* ===== リセット・基本設定 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Sans", sans-serif;
  color: #222;
  background: #fff;
}

/* ===== スクリーンリーダー専用 ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ===== ヘッダー ===== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: transparent;
  border-bottom: 1px solid transparent;
  z-index: 100;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s ease, border-bottom 0.3s ease, box-shadow 0.3s ease;
}

.logo {
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 2px;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

nav a {
  margin-left: 32px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.3s ease, background 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

nav a.active {
  color: #000;
  font-weight: bold;
}

/* ===== ヒーロー ===== */
#hero {
  max-width: 100%;
  height: 100vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("resources/images/hero.jpg") center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-attachment: fixed;
  clip-path: polygon(0 0, 100% 0, 100% 97%, 0 100%);
}

.hero-sub {
  font-size: 13px;
  letter-spacing: 6px;
  color: #aaa;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 52px;
  font-weight: bold;
  letter-spacing: 4px;
  line-height: 1.3;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 15px;
  color: #bbb;
  letter-spacing: 2px;
}

.scroll-hint {
  margin-top: 48px;
  opacity: 0;
  animation:
    scrollHintIn 0.8s ease 1s forwards,
    bounce 2s 1.8s infinite;
}

.scroll-hint::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255, 255, 255, 0.6);
  border-bottom: 2px solid rgba(255, 255, 255, 0.6);
  transform: rotate(45deg);
}

@keyframes scrollHintIn {
  to {
    opacity: 1;
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

/* ===== 数字セクション ===== */
#numbers {
  background: #1a1a1a;
  max-width: 100%;
  padding: 80px 40px;
}

.numbers-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.number-value {
  font-size: 64px;
  font-weight: bold;
  color: #fff;
  letter-spacing: 2px;
  line-height: 1;
}

.number-unit {
  font-size: 20px;
  color: #fff;
  letter-spacing: 1px;
}

.number-label {
  font-size: 13px;
  color: #888;
  margin-top: 12px;
  letter-spacing: 2px;
}

/* ===== フルワイド写真バナー ===== */
.photo-banner {
  width: 100%;
  height: 360px;
  background-size: 110%;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: bannerZoom 20s ease alternate infinite;
}

@keyframes bannerZoom {
  from { background-size: 110%; }
  to { background-size: 120%; }
}

.photo-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.banner-text {
  position: relative;
  color: #fff;
  font-size: 22px;
  letter-spacing: 4px;
  font-weight: bold;
  text-align: center;
  padding: 0 40px;
}

/* ===== セクション共通 ===== */
section {
  padding: 100px 40px;
  max-width: 960px;
  margin: 0 auto;
}

.section-label {
  font-size: 11px;
  letter-spacing: 4px;
  color: #999;
  margin-bottom: 16px;
}

.section-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 48px;
  padding-bottom: 16px;
  border-bottom: 2px solid #eee;
}

#business,
#overview,
#contact {
  scroll-margin-top: 64px;
}


/* ===== 事業内容 ===== */
#business {
  background: #f8f8f8;
  max-width: 100%;
  padding: 140px 40px 100px;
}

#business .inner {
  max-width: 960px;
  margin: 0 auto;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.business-card {
  background: #fff;
  padding: 40px 32px;
  border: 1px solid #e8e8e8;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.business-card:hover {
  transform: translateX(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

a.business-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.business-card h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.business-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}

/* ===== 事業詳細 ===== */
.business-detail {
  scroll-margin-top: 64px;
  padding: 64px 40px;
}


.business-detail:nth-child(even) {
  background: #f8f8f8;
  max-width: 100%;
  padding: 100px 40px;
}

.business-detail:nth-child(even) .section-label,
.business-detail:nth-child(even) .section-title,
.business-detail:nth-child(even) .detail-text,
.business-detail:nth-child(even) .work-photos,
.business-detail:nth-child(even) .product-gallery,
.business-detail:nth-child(even) .detail-features,
.business-detail:nth-child(even) .customer-voice {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.detail-text {
  font-size: 15px;
  color: #555;
  line-height: 2;
  letter-spacing: 0.5px;
  border-left: 3px solid #333;
  padding-left: 20px;
}

/* ===== 製品ギャラリー ===== */
.product-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.product-item:first-child {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.product-item .product-img-wrap {
  overflow: hidden;
}

.product-item img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: transform 0.4s ease;
}

.product-item:hover img {
  transform: scale(1.05);
}

.product-item:first-child .product-img-wrap {
  height: 100%;
}

.product-item:first-child img {
  aspect-ratio: auto;
  height: 100%;
}

.product-name {
  font-size: 13px;
  color: #666;
  text-align: center;
  margin-top: 12px;
  letter-spacing: 1px;
}

/* ===== 作業写真 ===== */
.work-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.work-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

/* ===== 社屋写真 ===== */
.company-photo {
  margin-bottom: 48px;
}

.company-photo img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

/* ===== 製品特徴グリッド ===== */
.detail-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.feature-item {
  background: #f8f8f8;
  padding: 32px 24px;
  border-left: 3px solid #333;
}

.feature-item h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.feature-item p {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
}

/* ===== お客様の声 ===== */
.customer-voice {
  margin-top: 40px;
  background: #f0f0f0;
  padding: 32px;
  border-radius: 4px;
}

.customer-voice h4 {
  font-size: 13px;
  color: #999;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.customer-voice p {
  font-size: 14px;
  color: #555;
  line-height: 2;
  font-style: italic;
}

/* ===== 当社の強み ===== */
#strength {
  scroll-margin-top: 64px;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.strength-item {
  padding: 40px 32px;
  border: 1px solid #e8e8e8;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.strength-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.strength-number {
  font-size: 48px;
  font-weight: bold;
  color: #eee;
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}

.strength-item h4 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.strength-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}

/* ===== 作業フロー ===== */
#flow {
  background: #f8f8f8;
  max-width: 100%;
  padding: 100px 40px;
  scroll-margin-top: 64px;
}

.flow-steps {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.flow-step {
  flex: 1;
  text-align: center;
  padding: 40px 24px;
  background: #fff;
  border: 1px solid #e8e8e8;
}

.flow-number {
  font-size: 36px;
  font-weight: bold;
  color: #ddd;
  display: block;
  margin-bottom: 16px;
}

.flow-step h4 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.flow-step p {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
  text-align: left;
}

.flow-arrow {
  width: 40px;
  min-width: 40px;
  height: 2px;
  background: #ccc;
  align-self: center;
  position: relative;
}

.flow-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  border: solid #ccc;
  border-width: 0 2px 2px 0;
  padding: 4px;
  transform: rotate(-45deg);
}

/* ===== お困りごと ===== */
#troubles {
  background: #1a1a1a;
  max-width: 100%;
  padding: 100px 40px;
  text-align: center;
  color: #fff;
}

#troubles .section-label {
  color: #666;
}

#troubles .section-title {
  color: #fff;
  border-bottom-color: #333;
}

.troubles-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
}

.trouble-item {
  background: #2a2a2a;
  padding: 32px;
  border-left: 3px solid #fff;
}

.trouble-item h4 {
  font-size: 15px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.trouble-item p {
  font-size: 13px;
  color: #aaa;
  line-height: 1.8;
}

.troubles-cta {
  margin-top: 48px;
}

.cta-btn {
  display: inline-block;
  padding: 16px 48px;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 3px;
  transition: background 0.3s, color 0.3s;
}

.cta-btn:hover {
  background: #fff;
  color: #1a1a1a;
}

.others-cta {
  text-align: center;
  margin-top: 48px;
}

.others-cta .cta-btn {
  border-color: #333;
  color: #333;
}

.others-cta .cta-btn:hover {
  background: #333;
  color: #fff;
}

/* ===== 代表挨拶 ===== */
#message {
  scroll-margin-top: 64px;
}

.message-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

.message-text-only {
  grid-template-columns: 1fr;
  max-width: 720px;
  position: relative;
}

.message-text-only::before {
  content: "\201C";
  font-size: 120px;
  color: #e0e0e0;
  position: absolute;
  top: -24px;
  left: -40px;
  line-height: 1;
  font-family: Georgia, serif;
}

.message-photo img {
  width: 100%;
  display: block;
}

.message-text p {
  font-size: 14px;
  color: #555;
  line-height: 2;
  margin-bottom: 20px;
}

.message-sign {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-top: 32px;
  letter-spacing: 2px;
}

/* ===== アクセスマップ ===== */
.map-wrap {
  margin-top: 48px;
}

.map-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.map-wrap iframe {
  display: block;
}

/* ===== 沿革 ===== */
#history {
  background: #f8f8f8;
  max-width: 100%;
  padding: 100px 40px;
}

.timeline {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  padding-left: 120px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 100px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #ddd;
}

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 6px;
  width: 8px;
  height: 8px;
  background: #333;
  border-radius: 50%;
}

.timeline-year {
  position: absolute;
  left: -120px;
  top: 0;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  letter-spacing: 2px;
  width: 80px;
  text-align: right;
}

.timeline-item p {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
}

/* ===== 会社概要 ===== */
.overview-table {
  width: 100%;
  border-collapse: collapse;
}

.overview-table tr {
  border-bottom: 1px solid #eee;
}

.overview-table th {
  width: 180px;
  padding: 20px 0;
  text-align: left;
  font-size: 13px;
  color: #888;
  font-weight: normal;
  letter-spacing: 1px;
}

.overview-table td {
  padding: 20px 0;
  font-size: 14px;
  color: #333;
  line-height: 1.8;
}

/* ===== お問い合わせ ===== */
#contact {
  background: #1a1a1a;
  max-width: 100%;
  padding: 100px 40px;
  text-align: center;
  color: #fff;
}

#contact .section-label {
  color: #666;
}

#contact .section-title {
  color: #fff;
  border-bottom-color: #333;
  display: inline-block;
  padding-right: 0;
}

#contact p {
  color: #999;
  font-size: 14px;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

.contact-phones {
  margin: 32px 0 48px;
  font-size: 15px;
  letter-spacing: 2px;
  line-height: 2.2;
}

.contact-phones a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid #555;
  transition: border-color 0.3s ease;
}

.contact-phones a:hover {
  border-color: #fff;
}

#contact-form input:focus,
#contact-form textarea:focus {
  border-color: #fff;
  transition: border-color 0.3s ease;
}

.contact-btn {
  display: inline-block;
  padding: 16px 48px;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 3px;
  transition:
    background 0.3s,
    color 0.3s;
}

.contact-btn:hover {
  background: #fff;
  color: #1a1a1a;
}

/* ===== フッター ===== */
footer {
  background: #111;
  color: #555;
  padding: 64px 40px 32px;
  font-size: 13px;
  letter-spacing: 1px;
}

.footer-tagline {
  text-align: center;
  font-size: 15px;
  color: #888;
  letter-spacing: 4px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #222;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  margin-bottom: 48px;
}

.footer-logo {
  font-size: 16px;
  color: #fff;
  font-weight: bold;
  margin-bottom: 16px;
}

.footer-info p {
  line-height: 2;
}

.footer-links a {
  display: block;
  color: #555;
  text-decoration: none;
  line-height: 2;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  text-align: center;
  font-size: 11px;
  color: #444;
  border-top: 1px solid #222;
  padding-top: 24px;
}

/* ===== ハンバーガーメニュー ===== */
.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: background 0.3s ease;
}

header.scrolled .menu-btn span {
  background: #222;
}

/* スマホ表示用設定 */
@media (max-width: 768px) {
  section {
    padding: 60px 20px;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 32px;
  }

  #business {
    padding: 80px 20px 60px;
  }

  #numbers {
    padding: 48px 20px;
  }

  .business-detail {
    padding: 48px 20px;
  }

  .business-detail:nth-child(even) {
    padding: 60px 20px;
  }

  .menu-btn {
    display: flex;
  }

  /* スマホ表示中はナビを表示しない */
  nav a {
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  nav {
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #ddd;
    padding: 0 0;
    flex-direction: column;
    display: flex;
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.3s ease,
      padding 0.3s ease;
  }

  nav.open {
    max-height: 300px;
    padding: 16px 0;
  }

  nav.open a {
    opacity: 1;
    padding: 12px 40px;
    margin: 0;
  }

  .business-grid {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 16px;
  }

  .product-item:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .product-item:first-child .product-img-wrap {
    height: auto;
  }

  .product-item:first-child img {
    aspect-ratio: 3 / 2;
    height: auto;
  }

  .work-photos {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .detail-features {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .numbers-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .number-value {
    font-size: 48px;
  }

  .photo-banner {
    height: 240px;
    background-attachment: scroll;
  }

  .banner-text {
    font-size: 16px;
    letter-spacing: 2px;
  }

  .strength-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .flow-steps {
    flex-direction: column;
    gap: 0;
  }

  .flow-arrow {
    width: 2px;
    height: 32px;
    min-width: unset;
    align-self: center;
  }

  .flow-arrow::after {
    right: -4px;
    top: auto;
    bottom: 0;
    transform: rotate(45deg);
  }

  .message-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .troubles-grid {
    grid-template-columns: 1fr;
  }

  .message-text-only::before {
    font-size: 80px;
    left: -8px;
    top: -16px;
  }

  #flow,
  #troubles,
  #history,
  #contact {
    padding: 60px 20px;
  }

  footer {
    padding: 48px 20px 24px;
  }

  .footer-tagline {
    margin-bottom: 32px;
    padding-bottom: 32px;
  }

  .timeline {
    padding-left: 80px;
  }

  .timeline::before {
    left: 60px;
  }

  .timeline-year {
    left: -80px;
    font-size: 14px;
    width: 50px;
  }

  #hero {
    height: 90vh;
    background-attachment: scroll;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-desc {
    font-size: 13px;
  }
}

/* ===== スクロールアニメーション ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-left {
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-right {
  opacity: 0;
  transform: translateX(50px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-left.visible,
.fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 {
  transition-delay: 0.2s;
}
.delay-2 {
  transition-delay: 0.4s;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #ddd;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header.scrolled .logo {
  color: #222;
}

header.scrolled nav a {
  color: #555;
}

header.scrolled nav a::after {
  background: #222;
}

header.scrolled nav a.active {
  color: #000;
}

/* ===== お問い合わせフォーム ===== */
#contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: #2a2a2a;
  border: 1px solid #444;
  color: #fff;
  font-size: 14px;
  outline: none;
}

#contact-form textarea {
  height: 140px;
  resize: vertical;
}

#contact-form button {
  padding: 16px;
  background: #fff;
  color: #1a1a1a;
  border: none;
  font-size: 13px;
  letter-spacing: 3px;
  cursor: pointer;
  transition:
    background 0.3s,
    color 0.3s;
}

#contact-form button:hover {
  background: #aaa;
}

.error {
  border-color: #e05555 !important;
}

.error-msg {
  color: #e05555;
  font-size: 12px;
  margin-top: -8px;
}

/* ===== ヒーローアニメーション ===== */
.hero-anim {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 0.8s ease forwards;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-anim-1 {
  animation-delay: 0.3s;
}
.hero-anim-2 {
  animation-delay: 0.6s;
}

/* ===== トップに戻るボタン ===== */
#top-btn {
  position: fixed;
  width: 48px;
  bottom: 32px;
  right: 32px;
  height: 48px;
  background: #333;
  color: #fff;
  border: none;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

#top-btn.show {
  opacity: 1;
  pointer-events: auto;
}

#top-btn:hover {
  background: #555;
  transform: translateY(-4px);
  transition: all 0.3s ease;
}

/* ===== 画像拡大表示（ライトボックス） ===== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  cursor: zoom-out;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.lightbox.hidden {
  opacity: 0;
  pointer-events: none;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}
