/* ==============================
   株式会社中央映画社 WORKページ
   index2.css の雰囲気に寄せた濃紺・ブルーアクセントのデザイン
================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #050816;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s;
}

.work-page {
  background: #050816;
  color: #fff;
  overflow: hidden;
}

/* ===================== 共通 ===================== */
.work-section,
.crew-price__inner,
.contact-cta__inner,
.work-hero__inner {
  width: min(1200px, 92%);
  margin: auto;
}

.work-section {
  position: relative;
  padding: 110px 0;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 60px;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 16px;
  color: #61d0ff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-heading h2,
.contact-cta h2 {
  margin-bottom: 18px;
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.section-heading p {
  color: #b9c1e8;
  font-size: 18px;
}

/* ===================== Hero ===================== */
.work-hero {
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: center;
  padding: 130px 0 90px;
  overflow: hidden;
  background-image: url("https://images.unsplash.com/photo-1485846234645-a62644f84728?auto=format&fit=crop&w=1800&q=85");
  background-position: center;
  background-size: cover;
}

.work-hero::before {
  position: absolute;
  top: -220px;
  right: -220px;
  width: 820px;
  height: 820px;
  background: radial-gradient(circle, #244cff66 0%, transparent 70%);
  content: "";
}

.work-hero::after {
  position: absolute;
  bottom: -280px;
  left: -220px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, #3ad6ff33 0%, transparent 70%);
  content: "";
}

.work-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 22, 0.92), rgba(5, 8, 22, 0.62)),
    linear-gradient(180deg, rgba(5, 8, 22, 0.35), #050816);
}

.work-hero__inner {
  position: relative;
  z-index: 2;
  animation: fadeUp 0.8s ease both;
}

.work-hero h1 {
  margin-bottom: 28px;
  font-size: clamp(64px, 9vw, 120px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}

.work-hero__lead {
  max-width: 840px;
  color: #cfd7ff;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 2;
}

/* ===================== What We Do ===================== */
.what-we-do {
  position: relative;
}

.what-we-do::before,
.strength::before {
  position: absolute;
  inset: 0 auto auto 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(82, 212, 255, 0.12), transparent 70%);
  transform: translateX(-50%);
  pointer-events: none;
  content: "";
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 2;
}

.service-card {
  position: relative;
  min-height: 300px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: linear-gradient(180deg, #10182f, #0a1020);
  transition: 0.35s;
}

.service-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(97, 208, 255, 0.1), transparent 42%);
  opacity: 0;
  transition: 0.3s;
  content: "";
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(97, 208, 255, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__icon {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 36px;
  margin-bottom: 34px;
  padding: 0 16px;
  border-radius: 999px;
  background: #18355b;
  color: #73d6ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.service-card h3,
.strength-card h3,
.price-card h3 {
  position: relative;
  z-index: 2;
  margin-bottom: 16px;
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.service-card h3 {
  font-size: 26px;
}

.service-card p,
.strength-card p {
  position: relative;
  z-index: 2;
  color: #c7d0f5;
  font-size: 15px;
}

/* ===================== Works Gallery ===================== */
.works-gallery {
  position: relative;
}

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

.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: #000;
  aspect-ratio: 4 / 3;
  transition: 0.35s;
}

.gallery-item:hover {
  transform: translateY(-6px);
  border-color: rgba(97, 208, 255, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.gallery-item::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(5, 8, 22, 0.75));
  content: "";
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

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

.gallery-item figcaption {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 2;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

/* ===================== Our Strength ===================== */
.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 2;
}

.strength-card {
  min-height: 260px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: linear-gradient(180deg, #10182f, #0a1020);
  transition: 0.3s;
}

.strength-card:hover {
  transform: translateY(-5px);
  border-color: rgba(97, 208, 255, 0.3);
}

.strength-card h3 {
  font-size: 26px;
}

/* ===================== Crew & Price ===================== */
.crew-price {
  position: relative;
  padding: 100px 0;
  background: #080d1d;
}

.crew-price::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(82, 212, 255, 0.08), transparent 38%),
    radial-gradient(circle at bottom left, rgba(36, 76, 255, 0.12), transparent 45%);
  content: "";
}

.crew-price__inner {
  position: relative;
  z-index: 2;
}

.section-heading--small {
  margin-bottom: 38px;
}

.section-heading--small h2 {
  font-size: clamp(28px, 3vw, 36px);
}

.section-heading--small p {
  font-size: 15px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.price-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(16, 24, 47, 0.72);
  transition: 0.3s;
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(97, 208, 255, 0.22);
}

.price-card h3 {
  min-height: 60px;
  font-size: 20px;
}

.price-card__price {
  margin-bottom: 2px;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.price-card__tax {
  margin-bottom: 20px;
  color: #73d6ff;
  font-size: 13px;
  font-weight: 700;
}

.price-card ul,
.price-note ul {
  list-style: none;
}

.price-card li,
.price-note li {
  position: relative;
  padding-left: 18px;
  color: #c7d0f5;
  font-size: 14px;
}

.price-card li + li,
.price-note li + li {
  margin-top: 7px;
}

.price-card li::before,
.price-note li::before {
  position: absolute;
  top: 0.82em;
  left: 0;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: #61d0ff;
  content: "";
}

.price-note {
  margin-top: 26px;
  padding: 24px 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.price-note p {
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 900;
}

/* ===================== Contact ===================== */
.contact-cta {
  position: relative;
  padding: 110px 0;
}

.contact-cta__inner {
  position: relative;
  overflow: hidden;
  padding: 64px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  background: linear-gradient(135deg, #19325f, #0d1425);
  text-align: center;
}

.contact-cta__inner::before {
  position: absolute;
  top: -250px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #61d0ff33 0%, transparent 70%);
  content: "";
}

.contact-cta .section-kicker,
.contact-cta h2,
.contact-button {
  position: relative;
  z-index: 2;
}

.contact-button {
  display: inline-block;
  min-width: 220px;
  margin-top: 12px;
  padding: 14px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #3e7bff, #52d4ff);
  box-shadow: 0 12px 30px rgba(82, 212, 255, 0.25);
  color: #fff;
  font-weight: 700;
}

.contact-button:hover {
  transform: translateY(-2px);
}

/* ===================== Animation ===================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===================== Mobile ===================== */
@media (max-width: 900px) {
  .work-hero {
    min-height: auto;
    padding: 150px 0 90px;
  }

  .work-section {
    padding: 90px 0;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .section-heading h2,
  .contact-cta h2 {
    font-size: 36px;
  }

  .section-heading p,
  .work-hero__lead {
    font-size: 16px;
  }

  .service-grid,
  .gallery-grid,
  .strength-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .strength-card {
    min-height: auto;
  }

  .price-card h3 {
    min-height: auto;
  }

  .crew-price {
    padding: 90px 0;
  }

  .contact-cta {
    padding: 90px 0;
  }

  .contact-cta__inner {
    padding: 44px 24px;
  }
}

@media (max-width: 480px) {
  .work-hero h1 {
    font-size: 56px;
  }

  .service-card,
  .strength-card,
  .price-card {
    padding: 28px 24px;
    border-radius: 24px;
  }

  .gallery-item {
    border-radius: 24px;
  }

  .contact-button {
    width: 100%;
  }
}
