/* ============================================================
   film-types.css — フィルム種類ページ専用スタイル
============================================================ */

body { background: var(--bg); }

/* ── HERO ── */
.hero {
  background: linear-gradient(145deg, #f0f9ff 0%, #ffffff 60%, #fef9ee 100%);
  padding: 110px 48px 64px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -120px; right: -120px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { max-width: 1120px; margin: 0 auto; position: relative; z-index: 1; }

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--sky-dark); text-decoration: none; }
.breadcrumb span { color: var(--border); }

.hero-kicker {
  font-family: 'Outfit', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--sky); margin-bottom: 12px;
}
.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700; color: var(--ink);
  line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 16px;
}
.hero h1 span { color: var(--sky-dark); }
.hero-desc { font-size: 15px; color: var(--muted); max-width: 560px; line-height: 1.85; margin-bottom: 36px; }

.quick-links { display: flex; flex-wrap: wrap; gap: 8px; }
.ql {
  font-size: 12px; font-weight: 500;
  padding: 7px 16px; border-radius: 100px;
  border: 1.5px solid var(--border); color: var(--ink-mid);
  text-decoration: none; transition: all 0.15s; background: var(--white);
}
.ql:hover { border-color: var(--sky); color: var(--sky-dark); background: var(--sky-lt); }

/* ── フィルムグリッド ── */
.films-section { padding: 80px 48px; max-width: 1120px; margin: 0 auto; }
.films-grid { display: flex; flex-direction: column; gap: 32px; }

/* 各フィルムカード */
.film-card {
  scroll-margin-top: 84px;
  background: var(--white); border-radius: 20px;
  border: 1.5px solid var(--border);
  overflow: hidden;
  display: grid; grid-template-columns: 280px 1fr;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.film-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.08); }

.film-panel {
  padding: 32px 28px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.film-panel::after {
  content: ''; position: absolute; bottom: -40px; right: -40px;
  width: 140px; height: 140px; border-radius: 50%;
  background: rgba(255,255,255,0.12); pointer-events: none;
}
.film-num { font-family: 'Outfit', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.15em; color: #fff; margin-bottom: 20px; text-shadow: 0 1px 4px rgba(0,0,0,0.4); }
.film-icon { width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,0.25); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.film-icon svg { width: 28px; height: 28px; stroke: #fff; stroke-width: 1.8; }
.film-name { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 8px; text-shadow: 0 1px 6px rgba(0,0,0,0.4); }
.film-name-en { font-size: 11px; color: rgba(255,255,255,0.85); font-family: 'Outfit', sans-serif; letter-spacing: 0.08em; text-shadow: 0 1px 4px rgba(0,0,0,0.4); }

.film-info { padding: 32px 36px; }
.film-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.film-tag { font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: 100px; background: var(--bg); color: var(--ink-mid); }

.film-effect-title { font-family: 'Outfit', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.film-effect-text { font-size: 14px; color: var(--ink-mid); line-height: 1.85; margin-bottom: 24px; }

.film-facilities { margin-bottom: 24px; }
.ff-title { font-family: 'Outfit', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.ff-list { display: flex; flex-wrap: wrap; gap: 6px; }
.ff-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-mid); background: var(--bg); border: 1px solid var(--border); padding: 5px 12px; border-radius: 8px; }
.ff-item svg { width: 13px; height: 13px; stroke: var(--sky); flex-shrink: 0; }

.film-cta { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--sky-dark); text-decoration: none; transition: gap 0.15s; }
.film-cta:hover { gap: 14px; }

/* 写真ギャラリー */
.film-photos { margin-bottom: 24px; }
.film-photos-title { font-family: 'Outfit', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.film-photos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.film-photo-item { border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; }
.film-photo-item:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.film-photo-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 写真ライトボックス */
.photo-lightbox {
  display: none; position: fixed; inset: 0; z-index: 500;
  background: rgba(5,15,30,0.92);
  align-items: center; justify-content: center;
}
.photo-lightbox.open { display: flex; }
.photo-lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 12px; box-shadow: 0 24px 64px rgba(0,0,0,0.4); }
.photo-lb-close {
  position: absolute; top: 20px; right: 24px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%; color: #fff; font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s; backdrop-filter: blur(4px);
}
.photo-lb-close:hover { background: rgba(255,255,255,0.28); }
.photo-lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%; color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s; backdrop-filter: blur(4px);
}
.photo-lb-nav:hover { background: rgba(255,255,255,0.28); }
.photo-lb-nav.prev { left: 20px; }
.photo-lb-nav.next { right: 20px; }
.photo-lb-nav svg { width: 20px; height: 20px; stroke: #fff; stroke-width: 2.5; }
.photo-lb-counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font-size: 13px; color: rgba(255,255,255,0.6); font-family: 'Outfit', sans-serif; }

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--sky) 0%, #0369a1 100%);
  padding: 80px 48px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.cta-inner { position: relative; z-index: 1; }
.cta-band h2 { font-family: 'Outfit', sans-serif; font-size: clamp(24px, 3.5vw, 38px); font-weight: 700; color: #fff; letter-spacing: -0.02em; margin-bottom: 12px; }
.cta-band p { font-size: 15px; color: rgba(255,255,255,0.75); margin-bottom: 36px; line-height: 1.8; }

/* ── FOOTER ── */
footer { background: var(--ink); padding: 48px 48px 28px; }
.footer-inner { max-width: 1120px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-logo { font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 8px; }
.footer-desc { font-size: 12px; color: rgba(255,255,255,0.60); }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { font-size: 12px; color: rgba(255,255,255,0.75); text-decoration: none; transition: color 0.15s; }
.footer-nav a:hover { color: #fff; }
.footer-copy { max-width: 1120px; margin: 20px auto 0; font-size: 11px; color: rgba(255,255,255,0.38); text-align: center; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .nav { padding: 0 20px; }
  .hero { padding: 90px 20px 48px; }
  .films-section { padding: 48px 20px; }
  .cta-band { padding: 56px 20px; }
  footer { padding: 40px 20px 24px; }
  .footer-inner { flex-direction: column; gap: 20px; }
}
@media (max-width: 900px) {
  .film-card { grid-template-columns: 1fr; }
  .film-panel { padding: 24px; flex-direction: row; align-items: center; gap: 16px; }
  .film-num { margin-bottom: 0; }
}
