@charset "UTF-8";
/* ==========================================================
   SOSUI modern theme
   ========================================================== */
:root {
  --navy-950: #040d18;
  --navy-900: #071526;
  --navy-800: #0c2138;
  --navy-700: #13304f;
  --ink: #0f1b2a;
  --ink-soft: #4a5a6e;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-tint: #f4f7fb;
  --cyan: #19c3e6;
  --blue: #2f6bff;
  --green: #3ddc97;
  --ci-green: #66bc29;
  --ci-orange: #ef8200;
  --ci-purple: #7877c1;
  --grad: linear-gradient(100deg, #19c3e6 0%, #2f6bff 55%, #3ddc97 110%);
  --radius: 0;
  --container: 1200px;
  --header-h: 76px;
  --font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-en: "Inter", "Noto Sans JP", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sp-only { display: none; }
@media (max-width: 760px) { .pc-only { display: none; } }

/* ---------- arrow icon ---------- */
.arrow {
  display: inline-block; width: 18px; height: 10px; margin-left: 12px; position: relative;
  transition: transform .35s var(--ease);
}
.arrow::before { content: ""; position: absolute; left: 0; right: 2px; top: 50%; height: 1.5px; background: currentColor; transform: translateY(-50%); }
.arrow::after { content: ""; position: absolute; right: 1px; top: 50%; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: translateY(-50%) rotate(45deg); }
.arrow--ext { transform: rotate(-45deg); }
a:hover .arrow { transform: translateX(5px); }
a:hover .arrow--ext { transform: rotate(-45deg) translateX(5px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 28px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .06em;
  transition: background .3s, color .3s, box-shadow .3s, transform .3s var(--ease);
}
.btn--primary { color: #fff; background: var(--grad); background-size: 160% 100%; box-shadow: 0 10px 30px -10px rgba(47, 107, 255, .7); }
.btn--primary:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(25, 195, 230, .8); }
.btn--ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn--lg { height: 60px; padding: 0 36px; font-size: 16px; }

/* ==========================================================
   Header
   ========================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background .4s, box-shadow .4s, height .3s;
}
/* コーポレートカラーの3色ライン（旧サイトのヘッダー上部と同じ比率） */
.site-header::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--ci-green) 0 67%, var(--ci-orange) 67% 75%, var(--ci-purple) 75% 100%);
}
.site-header__inner { max-width: 1320px; height: 100%; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.site-logo { display: grid; }
.site-logo img { grid-area: 1 / 1; width: 150px; height: auto; transition: opacity .4s; }
.site-logo__color { opacity: 0; }
.site-header.is-solid { background: rgba(255, 255, 255, .97); box-shadow: 0 1px 0 rgba(15, 27, 42, .08); }
.site-header.is-solid .site-logo__white { opacity: 0; }
.site-header.is-solid .site-logo__color { opacity: 1; }

.gnav ul { display: flex; align-items: center; gap: 4px; }
.gnav a {
  position: relative; display: block; padding: 10px 14px; font-size: 14px; font-weight: 500; color: #fff;
  transition: color .3s;
}
.gnav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: scaleX(1); }
.site-header.is-solid .gnav a { color: var(--ink); }
.gnav__cta a { margin-left: 10px; padding: 9px 22px; border-radius: 999px; background: var(--grad); color: #fff !important; font-weight: 700; }
.gnav__cta a::after { display: none; }
.gnav__cta a:hover { box-shadow: 0 8px 24px -8px rgba(47, 107, 255, .8); }

.nav-toggle { display: none; }

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  display: flex; align-items: center;
  color: #fff;
  background:
    radial-gradient(1200px 600px at 85% 20%, rgba(47, 107, 255, .35), transparent 60%),
    radial-gradient(900px 500px at 10% 90%, rgba(25, 195, 230, .25), transparent 60%);
}
/* one molecule canvas fixed behind the whole page; the dark blocks are windows onto it,
   everything else scrolls over it (canvas is created by modern.js) */
.bg-canvas {
  position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; will-change: transform;
  background: linear-gradient(180deg, var(--navy-950), var(--navy-900));
}
main, .site-footer { position: relative; z-index: 1; }
:where(main > *) { background-color: var(--bg); }
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; max-width: var(--container); margin: 0 auto; padding: calc(var(--header-h) + 40px) 24px 120px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px;
  font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: .2em; color: rgba(255, 255, 255, .8);
  background: rgba(255, 255, 255, .04);
}
.hero__eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(61, 220, 151, .7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); } 70% { box-shadow: 0 0 0 10px rgba(61, 220, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); } }
.hero__title {
  margin-top: 28px; font-size: clamp(38px, 6.4vw, 84px); font-weight: 900; line-height: 1.25; letter-spacing: .06em;
  font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;   /* 明朝で堅実さ・信用 */
}
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { max-width: 700px; text-wrap: pretty; margin-top: 28px; font-size: clamp(15px, 1.4vw, 17px); line-height: 2; color: rgba(255, 255, 255, .78); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 56px; max-width: 720px; }
.hero__tags a {
  display: block; padding: 6px 14px; border-radius: 6px; font-size: 13px; color: rgba(255, 255, 255, .75);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  transition: color .3s, background .3s, border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.hero__tags a:hover, .hero__tags a:focus-visible {
  color: #fff; border-color: rgba(25, 195, 230, .7);
  background: linear-gradient(100deg, rgba(25, 195, 230, .28), rgba(47, 107, 255, .28));
  box-shadow: 0 8px 22px -10px rgba(25, 195, 230, .8); transform: translateY(-2px);
}
.hero__scroll {
  position: absolute; z-index: 2; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-en); font-size: 11px; letter-spacing: .3em; color: rgba(255, 255, 255, .6);
}
.hero__scroll::after { content: ""; width: 1px; height: 48px; background: linear-gradient(rgba(255, 255, 255, .7), transparent); animation: scrollLine 2s var(--ease) infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* hero entrance */
.hero__inner > * { opacity: 0; transform: translateY(24px); animation: rise 1s var(--ease) forwards; }
.hero__inner > *:nth-child(2) { animation-delay: .12s; }
.hero__inner > *:nth-child(3) { animation-delay: .24s; }
.hero__inner > *:nth-child(4) { animation-delay: .36s; }
.hero__inner > *:nth-child(5) { animation-delay: .48s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ==========================================================
   Sections
   ========================================================== */
.section { padding: 120px 0; }
.section--tint { background: var(--bg-tint); }
.section--dark { background: rgba(7, 21, 38, .55); color: #fff; }
.section--glow { position: relative; overflow: hidden; }
.section--glow > .container { position: relative; z-index: 1; }
.section--glow::before { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -250px; background: radial-gradient(circle, rgba(47, 107, 255, .3), transparent 65%); pointer-events: none; }

.sec-head { margin-bottom: 48px; position: relative; }
.sec-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.sec-head__en {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-en); font-size: 13px; font-weight: 600; letter-spacing: .24em; color: var(--blue);
}
.sec-head__en::before { content: ""; width: 28px; height: 2px; background: var(--grad); }
.section--dark .sec-head__en { color: var(--cyan); }
.sec-head__ja { margin-top: 10px; font-size: clamp(26px, 3.2vw, 40px); font-weight: 700; line-height: 1.35; }

.link-more { display: inline-flex; align-items: center; font-weight: 700; font-size: 14px; letter-spacing: .06em; white-space: nowrap; color: var(--blue); }
.section--dark .link-more { color: #fff; }

/* ---------- pillars ---------- */
#services { padding: 0; }
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); border-left: 1px solid rgba(255, 255, 255, .08); }
.pillar {
  position: relative; display: flex; flex-direction: column; min-height: 132px; padding: 24px 24px 22px;
  border-right: 1px solid rgba(255, 255, 255, .08); overflow: hidden; isolation: isolate;
}
.pillar::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(47, 107, 255, .0), rgba(47, 107, 255, .25)); opacity: 0; transition: opacity .4s; }
.pillar::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.pillar:hover::before { opacity: 1; }
.pillar:hover::after { transform: scaleX(1); }
.pillar__no { font-family: var(--font-en); font-size: 13px; font-weight: 600; color: var(--cyan); letter-spacing: .1em; }
.pillar__title { margin-top: auto; font-size: 16px; font-weight: 700; line-height: 1.5; }
.pillar__en { margin-top: 6px; font-family: var(--font-en); font-size: 12px; color: rgba(255, 255, 255, .5); letter-spacing: .08em; }
.pillar .arrow { position: absolute; top: 26px; right: 28px; margin: 0; color: rgba(255, 255, 255, .6); }

/* ---------- news ---------- */
.news-wrap { display: grid; grid-template-columns: 1fr 360px; gap: 64px; align-items: start; }
.news__list { border-top: 1px solid var(--line); }
.news__list li { border-bottom: 1px solid var(--line); }
.news__list a { display: grid; grid-template-columns: 110px auto 1fr; align-items: center; gap: 16px; padding: 22px 8px; transition: background .3s, padding .3s; }
.news__list a:hover { background: var(--bg-tint); padding-left: 16px; }
.news__list time { font-family: var(--font-en); font-size: 14px; font-weight: 500; color: var(--ink-soft); letter-spacing: .04em; }
.news__text { grid-column: 3; font-size: 15px; }
.tag { grid-column: 2; justify-self: start; padding: 2px 10px; border-radius: 4px; font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.tag--new { color: #fff; background: var(--grad); }

.access-card { display: block; border-radius: var(--radius); overflow: hidden; background: var(--navy-900); color: #fff; box-shadow: 0 30px 60px -30px rgba(7, 21, 38, .5); }
.access-card__img { aspect-ratio: 310 / 174; overflow: hidden; }
.access-card__img img { width: 100%; height: 200%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.access-card:hover .access-card__img img { transform: scale(1.05); }
.access-card__body { padding: 28px; }
.access-card__body .sec-head__en { color: var(--cyan); }
.access-card__title { margin: 6px 0 18px; font-size: 22px; font-weight: 700; }
.access-card .link-more { color: #fff; }
/* light pillars band under the hero */
#services .pillars { border-left-color: var(--line); }
.section--compact { padding: 72px 0; }
@media (max-width: 900px) { .section--compact { padding: 56px 0; } }
#services .pillar { border-right-color: var(--line); color: var(--ink); }
#services .pillar__en { color: var(--ink-soft); }
#services .pillar .arrow { color: var(--blue); }
/* news on a dark window */
.section--dark .news__list, .section--dark .news__list li { border-color: rgba(255, 255, 255, .12); }
.section--dark .news__list a:hover { background: rgba(255, 255, 255, .05); }
.section--dark .news__list time { color: rgba(255, 255, 255, .6); }
.section--dark .access-card { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); box-shadow: none; }

/* ---------- cards ---------- */
.cards { display: grid; gap: 28px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card { display: block; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 1px 0 var(--line), 0 20px 40px -28px rgba(15, 27, 42, .35); transition: transform .45s var(--ease), box-shadow .45s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 1px 0 var(--line), 0 30px 50px -24px rgba(47, 107, 255, .35); }
.card__img { aspect-ratio: 16 / 9; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__img img { transform: scale(1.06); }
.card__body { padding: 22px 26px 26px; }
.card__en { font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--blue); text-transform: uppercase; }
.card__title { margin-top: 4px; font-size: 20px; font-weight: 700; }
.section--dark .card { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); box-shadow: none; color: #fff; }
.section--dark .card:hover { border-color: rgba(25, 195, 230, .5); box-shadow: 0 30px 50px -24px rgba(47, 107, 255, .45); }
.section--dark .card__en { color: var(--cyan); }

/* ---------- tiles (industry) ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; color: #fff; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 13, 24, 0) 35%, rgba(4, 13, 24, .85)); transition: background .4s; }
.tile:hover img { transform: scale(1.07); }
.tile:hover::after { background: linear-gradient(180deg, rgba(19, 48, 79, .25) 0%, rgba(4, 13, 24, .9)); }
.tile__no { position: absolute; top: 18px; left: 20px; font-family: var(--font-en); font-size: 13px; font-weight: 600; letter-spacing: .1em; padding: 2px 10px; border-radius: 999px; background: rgba(4, 13, 24, .7); }
.tile__label { position: absolute; left: 22px; right: 22px; bottom: 20px; font-size: 20px; font-weight: 700; line-height: 1.4; }
.tile__label::after { content: ""; display: block; width: 32px; height: 2px; margin-top: 12px; background: var(--grad); transition: width .5s var(--ease); }
.tile:hover .tile__label::after { width: 80px; }

/* ---------- needs ---------- */
.needs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; position: relative; }
.need {
  display: grid; grid-template-columns: 96px 48px 1fr auto; align-items: center; gap: 20px;
  padding: 14px 24px 14px 14px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08);
  transition: background .35s, border-color .35s, transform .35s var(--ease);
}
.need img { width: 96px; height: 72px; object-fit: cover; }
.need__no { font-family: var(--font-en); font-size: 22px; font-weight: 600; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .45); }
.need__text { font-size: 17px; font-weight: 700; }
.need .arrow { color: var(--cyan); }
.need:hover { background: rgba(47, 107, 255, .16); border-color: rgba(25, 195, 230, .5); transform: translateY(-3px); }

/* ---------- works ---------- */
.works { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.work { display: block; }
.work--wide { grid-column: span 2; grid-row: span 2; }
.work__img { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--bg-tint); }
.work--wide .work__img { aspect-ratio: auto; height: calc(100% - 42px); min-height: 280px; }
.work:nth-child(n+6) { grid-column: span 2; }
.work:nth-child(n+6) .work__img { aspect-ratio: 2 / 1; }
.work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.work:hover .work__img img { transform: scale(1.06); }
.work__label { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 15px; font-weight: 700; }
.work__label::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--grad); flex: none; }
.work:hover .work__label { color: var(--blue); }

/* ---------- CTA ---------- */
.cta {
  position: relative; padding: 96px 0; color: #fff;
  background: rgba(7, 21, 38, .55);
  clip-path: inset(0 0 -100000px 0);   /* keep the glow inside, let the canvas run down */
}
.cta::before { display: none; }
.cta--bare { padding: 0; }
.cta--bare::after { display: none; }   /* 上の紺の窓と続くので、光の四角い縁が出ないように */
.cta__inner, .quick a, .site-footer > .container { z-index: 1; }
.cta::after { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -250px; background: radial-gradient(circle, rgba(47, 107, 255, .3), transparent 65%); pointer-events: none; }
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%);
  mask-image: linear-gradient(90deg, transparent, #000 70%);
}
.cta__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta .sec-head__en { color: var(--cyan); }
.cta__title { margin-top: 12px; font-size: clamp(24px, 3vw, 36px); font-weight: 700; line-height: 1.5; }
.cta__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta__tel { font-family: var(--font-en); font-size: 30px; font-weight: 700; letter-spacing: .04em; display: flex; align-items: baseline; gap: 10px; }
.cta__tel span { font-size: 13px; letter-spacing: .2em; color: rgba(255, 255, 255, .6); }

/* ---------- quick links ---------- */
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 64px; padding-bottom: 64px; }
.quick a {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 22px 24px; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius);
  background: rgba(255, 255, 255, .04); color: #fff;
  font-weight: 700; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.quick svg { stroke: var(--cyan) !important; }
.quick svg { width: 26px; height: 26px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.quick a:hover { border-color: transparent; box-shadow: 0 16px 36px -20px rgba(47, 107, 255, .6), 0 0 0 1px rgba(47, 107, 255, .4); transform: translateY(-3px); }

/* ==========================================================
   Sub pages (共通の下層ページ部品)
   ========================================================== */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  padding: calc(var(--header-h) + 72px) 0 72px;
  background: radial-gradient(900px 500px at 85% -10%, rgba(47, 107, 255, .35), transparent 60%),
              radial-gradient(700px 400px at 0% 120%, rgba(25, 195, 230, .18), transparent 60%),
              rgba(4, 13, 24, .2);   /* 下に写真が流れるので薄め */
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 95%); mask-image: linear-gradient(180deg, #000, transparent 95%);
}
.page-hero .container { position: relative; }
.page-hero--compact { padding-bottom: 48px; }
.page-hero--compact .page-hero__title { font-size: clamp(24px, 3vw, 36px); }
.breadcrumb, .timeline { list-style: none; margin: 0; }
.breadcrumb { padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: rgba(255, 255, 255, .55); margin-bottom: 28px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: rgba(255, 255, 255, .3); }
.breadcrumb a:hover { color: #fff; }
.page-hero__en { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-en); font-size: 13px; font-weight: 600; letter-spacing: .24em; color: var(--cyan); text-transform: uppercase; }
.page-hero__en::before { content: ""; width: 28px; height: 2px; background: var(--grad); }
.page-hero__title { margin-top: 14px; font-size: clamp(30px, 4.4vw, 52px); font-weight: 700; line-height: 1.3; letter-spacing: .04em; }
.page-hero__lead { margin-top: 20px; max-width: 760px; color: rgba(255, 255, 255, .75); line-height: 2; }

.local-nav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.local-nav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.local-nav ul::-webkit-scrollbar { display: none; }
.local-nav a { display: block; white-space: nowrap; padding: 16px 18px; font-size: 14px; font-weight: 700; color: var(--ink-soft); border-bottom: 2px solid transparent; transition: color .3s, border-color .3s; }
.local-nav a:hover, .local-nav a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--blue); }
[id] { scroll-margin-top: calc(var(--header-h) + 64px); }

.prose { max-width: 820px; color: var(--ink); }
.prose p + p { margin-top: 1.2em; }
.prose strong { font-weight: 700; }
.lead-text { font-size: clamp(18px, 2vw, 22px); font-weight: 700; line-height: 1.8; }
.muted { color: var(--ink-soft); }
.note { font-size: 13px; color: var(--ink-soft); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--rev > :first-child { order: 2; }
.split__img { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -40px rgba(15, 27, 42, .6); }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.split h3, .block-title { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; line-height: 1.5; margin-bottom: 18px; }
.split + .split { margin-top: 96px; }

.spec { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec th, .spec td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec th { width: 200px; font-weight: 700; color: var(--ink-soft); white-space: nowrap; }
.spec tr:first-child th, .spec tr:first-child td { border-top: 1px solid var(--line); }
.spec ol, .spec ul { margin: 0; padding-left: 1.4em; }
.spec ul { list-style: disc; }
.spec ol { list-style: decimal; }
.section--dark .prose, .section--dark .prose p { color: rgba(255, 255, 255, .8); }
.section--dark .lead-text { color: #fff; }
.spec li + li { margin-top: 4px; }
.spec--compact th, .spec--compact td { padding: 10px 14px; font-size: 14px; }
.spec--compact th { width: 120px; }

.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--cyan), var(--blue)); opacity: .5; }
.timeline li { position: relative; display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 14px 0; }
.timeline li::before { content: ""; position: absolute; left: -28px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); }
.timeline time { font-family: var(--font-en); font-weight: 700; color: var(--blue); }

.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { position: relative; padding: 32px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.feature:hover { border-color: transparent; box-shadow: 0 0 0 1px rgba(47, 107, 255, .35), 0 24px 48px -28px rgba(47, 107, 255, .55); transform: translateY(-3px); }
.feature__no { font-family: var(--font-en); font-size: 13px; font-weight: 700; letter-spacing: .14em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.feature__title { margin-top: 10px; font-size: 19px; font-weight: 700; line-height: 1.5; }
.feature p { margin-top: 12px; font-size: 15px; color: var(--ink-soft); }
.section--dark .feature { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .1); }
.section--dark .feature p { color: rgba(255, 255, 255, .7); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chips a, .chips span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; background: #fff; transition: border-color .3s, color .3s, background .3s; }
.chips a:hover { border-color: var(--blue); color: var(--blue); }

.case { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 1px 0 var(--line), 0 30px 60px -44px rgba(15, 27, 42, .55); }
.case + .case { margin-top: 40px; }
.case__img { position: relative; min-height: 320px; background: var(--navy-900); }
.case__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case__body { padding: 40px 40px 36px; }
.case__no { font-family: var(--font-en); font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--blue); }
.case__title { margin: 8px 0 22px; font-size: clamp(19px, 2vw, 23px); font-weight: 700; line-height: 1.5; }
.case__gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.case__gallery img { position: static; aspect-ratio: 4 / 3; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.product:hover { border-color: transparent; box-shadow: 0 0 0 1px rgba(47, 107, 255, .35), 0 20px 40px -26px rgba(47, 107, 255, .6); transform: translateY(-3px); }
.product__img { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 16px; background: #fff; border-bottom: 1px solid var(--line); }
.product__img img { max-height: 100%; width: auto; object-fit: contain; }
.product__body { padding: 14px 16px 18px; }
.product__name { font-weight: 700; font-size: 15px; line-height: 1.5; }
.product__desc { margin-top: 4px; font-size: 13px; color: var(--ink-soft); line-height: 1.6; }

.cat-head { display: flex; align-items: baseline; gap: 16px; margin: 72px 0 24px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cat-head:first-child { margin-top: 0; }
.cat-head h3 { font-size: 22px; font-weight: 700; }
.cat-head span { font-family: var(--font-en); font-size: 12px; letter-spacing: .2em; color: var(--blue); text-transform: uppercase; }

.figure { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.figure img { width: 100%; }
.figure figcaption { padding: 12px 16px; font-size: 13px; color: var(--ink-soft); border-top: 1px solid var(--line); }
figure { margin: 0; }

.message { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
.message__sign { margin-top: 32px; text-align: right; font-weight: 700; }
.message__sign small { display: block; font-weight: 400; color: var(--ink-soft); }

.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 760px; gap: 20px; }
.contact-card { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.contact-card__label { font-family: var(--font-en); font-size: 12px; letter-spacing: .2em; color: var(--blue); font-weight: 700; }
.contact-card__value { margin-top: 8px; font-family: var(--font-en); font-size: 24px; font-weight: 700; letter-spacing: .03em; word-break: break-all; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; }
.map iframe { width: 100%; height: 100%; border: 0; }

.product-detail { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.product-detail__img { padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; display: grid; place-items: center; }
.product-detail__img img { width: 100%; max-width: 460px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 40px; font-weight: 700; color: var(--blue); }

@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .page-hero { padding: calc(var(--header-h) + 48px) 0 56px; }
  .split, .message, .product-detail { grid-template-columns: 1fr; gap: 32px; }
  .split--rev > :first-child { order: 0; }
  .split + .split { margin-top: 64px; }
  .feature-list { grid-template-columns: 1fr; }
  .case { grid-template-columns: 1fr; }
  .case__img { min-height: 0; aspect-ratio: 16 / 10; }
  .case__body { padding: 28px 24px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .contact-cards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .spec th, .spec td { display: block; width: auto; padding: 0 4px; border: 0; }
  .spec th { padding-top: 16px; font-size: 13px; }
  .spec td { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
  .spec tr:first-child th { border-top: 1px solid var(--line); }
  .spec tr:first-child td { border-top: 0; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
  .local-nav a { padding: 14px 12px; font-size: 13px; }
}

/* ==========================================================
   Footer
   ========================================================== */
.site-footer { background: rgba(7, 21, 38, .55); color: rgba(255, 255, 255, .7); padding-top: 72px; font-size: 14px; }
.site-footer > .container { position: relative; }
.site-footer__inner { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; padding-bottom: 56px; }
.site-footer__brand img { width: 150px; margin-bottom: 18px; }
.site-footer__brand p { line-height: 1.9; }
.site-footer__contact { font-family: var(--font-en); font-size: 13px; color: rgba(255, 255, 255, .5); }
.site-footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 24px; }
.site-footer__nav a { transition: color .3s; }
.site-footer__nav a:hover { color: #fff; }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12px; color: rgba(255, 255, 255, .45); }
.pagetop { font-family: var(--font-en); letter-spacing: .14em; font-weight: 600; color: rgba(255, 255, 255, .7); }
.pagetop:hover { color: #fff; }

/* ==========================================================
   Scroll reveal
   ========================================================== */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* トップページ用：横・下から素早くスライドイン */
main { overflow-x: clip; }
.js .reveal--left, .js .reveal--right, .js .reveal--up { transition: opacity .35s cubic-bezier(.16, 1, .3, 1), transform .35s cubic-bezier(.16, 1, .3, 1); }
.js .reveal--left { transform: translateX(-120px); }
.js .reveal--right { transform: translateX(120px); }
.js .reveal--up { transform: translateY(90px); }
.js .reveal--left.is-in, .js .reveal--right.is-in, .js .reveal--up.is-in { transform: none; }
/* inside the dark windows nothing slides in: the content simply sits on the fixed background */
.js .section--dark .reveal, .js .section--dark .reveal--left, .js .section--dark .reveal--right, .js .section--dark .reveal--up { opacity: 1; transform: none; transition: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__inner > * { opacity: 1; transform: none; }
  .js .reveal, .js .reveal--left, .js .reveal--right, .js .reveal--up { opacity: 1; transform: none; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1080px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .pillar { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  #services .pillar { border-bottom-color: var(--line); }
  .news-wrap { grid-template-columns: 1fr; }
  .access-card { display: grid; grid-template-columns: 1fr 1fr; }
  .access-card__img { aspect-ratio: auto; }
  .works { grid-template-columns: repeat(3, 1fr); }
  .work--wide { grid-column: span 3; grid-row: auto; }
  .work:nth-child(n+6) { grid-column: auto; }
  .work:nth-child(n+6) .work__img { aspect-ratio: 4 / 3; }
  .work--wide .work__img { height: auto; aspect-ratio: 21 / 9; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 7px; width: 44px; height: 44px; padding: 0 10px;
    border: 0; background: transparent; cursor: pointer; position: relative; z-index: 2;
  }
  .nav-toggle span { display: block; height: 2px; background: #fff; transition: transform .35s var(--ease), background .3s; }
  .site-header.is-solid .nav-toggle span { background: var(--ink); }
  .nav-open .nav-toggle span { background: #fff !important; }
  .nav-open .nav-toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .nav-open .nav-toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .nav-open .site-logo__white { opacity: 1 !important; }
  .nav-open .site-logo__color { opacity: 0 !important; }

  .gnav {
    position: fixed; inset: 0; z-index: 1; padding: calc(var(--header-h) + 24px) 24px 40px;
    background: rgba(4, 13, 24, .97); backdrop-filter: blur(10px);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav-open .gnav { opacity: 1; visibility: visible; }
  .gnav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .gnav li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .gnav a, .site-header.is-solid .gnav a { padding: 18px 4px; font-size: 18px; color: #fff; }
  .gnav a::after { display: none; }
  .gnav__cta { border: 0 !important; margin-top: 28px; }
  .gnav__cta a { margin: 0; text-align: center; padding: 16px; }
  .site-logo { position: relative; z-index: 2; }

  .section { padding: 80px 0; }
  .sec-head { margin-bottom: 32px; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar { min-height: 120px; padding: 22px 20px 20px; }
  .pillar .arrow { top: 30px; right: 20px; }
  .cards--3 { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tile__label { font-size: 16px; left: 16px; bottom: 14px; }
  .needs { grid-template-columns: 1fr; }
  .works { grid-template-columns: 1fr 1fr; gap: 16px; }
  .work--wide { grid-column: span 2; }
  .quick { grid-template-columns: 1fr 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer__nav { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .site-header__inner { padding: 0 16px; }
  .sp-only { display: inline; }
  .hero__inner { padding: calc(var(--header-h) + 32px) 16px 110px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__tags { margin-top: 40px; }
  .hero__scroll { display: none; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { min-height: 0; padding: 22px 16px; flex-direction: row; align-items: baseline; gap: 14px; flex-wrap: wrap; }
  .pillar__title { margin-top: 0; font-size: 17px; }
  .pillar__en { width: 100%; margin: 0 0 0 34px; }
  .pillar .arrow { top: 50%; right: 16px; transform: translateY(-50%); }
  .sec-head--row { flex-direction: column; align-items: flex-start; }
  .news__list a { grid-template-columns: auto 1fr; gap: 6px 12px; padding: 18px 4px; }
  .news__text { grid-column: 1 / -1; }
  .access-card { grid-template-columns: 1fr; }
  .access-card__img { aspect-ratio: 16 / 9; }
  .tiles { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 16 / 9; }
  .need { grid-template-columns: 72px 1fr auto; gap: 14px; padding: 10px 16px 10px 10px; }
  .need img { width: 72px; height: 56px; }
  .need__no { display: none; }
  .need__text { font-size: 15px; }
  .works { grid-template-columns: 1fr; }
  .work--wide { grid-column: auto; }
  .work--wide .work__img { aspect-ratio: 4 / 3; }
  .cta { padding: 72px 0; }
  .cta__tel { font-size: 26px; }
  .cta__actions, .cta__actions .btn { width: 100%; }
  .quick { grid-template-columns: 1fr 1fr; gap: 10px; }
  .quick a { padding: 16px; font-size: 14px; gap: 10px; }
  .site-footer__bottom { flex-direction: column-reverse; align-items: flex-start; }
}

/* inline 列指定をスマホでは1列に */
@media (max-width: 640px) {
  main [style*="grid-template-columns"]:not(.case__gallery) { grid-template-columns: 1fr !important; }
}

/* ---------- お問い合わせフォーム ---------- */
.form-wrap { max-width: 880px; }
.form { margin-top: 40px; border-top: 1px solid var(--line); }
.form__row { display: grid; grid-template-columns: 240px 1fr; gap: 12px 32px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: start; }
.form__label { margin: 0; padding-top: 12px; font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.form-req { display: inline-block; padding: 1px 8px; border-radius: 2px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .05em; vertical-align: middle; }
.form__input { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 2px; background: #fff; font: inherit; font-size: 16px; color: inherit; transition: border-color .2s, box-shadow .2s; }
.form__input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(43, 108, 255, .15); }
textarea.form__input { resize: vertical; min-height: 180px; line-height: 1.8; }
.form__radios { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 10px; }
.form__radios label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.form__radios input { width: 18px; height: 18px; accent-color: var(--blue); }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 40px; }
.form__reset { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--ink-soft); text-decoration: underline; cursor: pointer; }
.form-confirm { margin-top: 32px; }
.form-confirm td { white-space: pre-wrap; word-break: break-word; }
.form-error, .msg { color: #d33a3a; font-weight: 700; }
@media (max-width: 760px) {
  .form__row { grid-template-columns: 1fr; gap: 10px; padding: 20px 0; }
  .form__label { padding-top: 0; }
}

/* ---------- BGM ボタン ---------- */
.bgm { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 2px; background: rgba(255, 255, 255, .04); color: #fff; font: 600 12px/1.2 var(--font-en); letter-spacing: .12em; cursor: pointer; transition: border-color .2s, background .2s; }
.bgm:hover { border-color: rgba(120, 200, 255, .6); }
.bgm__label small { display: block; margin-top: 2px; font-family: var(--font-ja, inherit); font-size: 10px; font-weight: 500; letter-spacing: .05em; color: rgba(255, 255, 255, .65); }
.bgm__icon { display: inline-flex; align-items: flex-end; gap: 2px; width: 16px; height: 14px; }
.bgm__icon i { flex: 1; height: 30%; background: #49c8ff; border-radius: 1px; }
.bgm.is-on .bgm__icon i { animation: bgm-eq .9s ease-in-out infinite; }
.bgm.is-on .bgm__icon i:nth-child(2) { animation-delay: -.3s; }
.bgm.is-on .bgm__icon i:nth-child(3) { animation-delay: -.6s; }
.bgm.is-on .bgm__icon i:nth-child(4) { animation-delay: -.15s; }
.bgm.is-wait { animation: bgm-wait 1.6s ease-in-out infinite; }
@keyframes bgm-eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
@keyframes bgm-wait { 0%, 100% { border-color: rgba(255, 255, 255, .18); } 50% { border-color: #49c8ff; } }


/* ==========================================================
   試作：動画背景のトップ（現場写真をゆっくり切り替えて動画風に）
   ========================================================== */
.hero-media {
  display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100lvh; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, var(--navy-950), var(--navy-900));
}
.bg-canvas { background: transparent; opacity: .9; }
.hero-media__reel { position: absolute; inset: 0; overflow: hidden; will-change: opacity; }
.hero-media__reel::after {   /* 紺のフィルターで文字とキラキラを読みやすく */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 13, 24, .82) 0%, rgba(4, 13, 24, .55) 55%, rgba(4, 13, 24, .35) 100%),
    linear-gradient(180deg, rgba(4, 13, 24, .2) 0%, rgba(7, 21, 38, .75) 100%);
}
.hero-media__slide {
  position: absolute; inset: -4%; background-size: cover; background-position: center; opacity: 0;
  will-change: opacity, transform;   /* 色味は画像側で調整済み（CSS の filter は重い） */
  animation: heroReel 24s linear infinite;
}
/* 1枚4秒で切り替え。1枚目を開いた瞬間から見せるため全体を1秒前倒し（2枚目以降も同じだけずらして、切り替わりに隙間を作らない） */
.hero-media__slide:nth-child(2) { animation-delay: 3s; }
.hero-media__slide:nth-child(3) { animation-delay: 7s; }
.hero-media__slide:nth-child(4) { animation-delay: 11s; }
.hero-media__slide:nth-child(5) { animation-delay: 15s; }
.hero-media__slide:nth-child(6) { animation-delay: 19s; }
.hero-media__slide:first-child { animation-delay: -1s; }
.hero-media[data-set="top"] .hero-media__slide:first-child { background-position: 78% center; }   /* 女の子が画面に入るように */   /* 開いた瞬間から1枚目が見えている */
@keyframes heroReel {
  0% { opacity: 0; transform: scale(1.12) translate3d(-1.5%, 0, 0); }
  4% { opacity: 1; }
  17% { opacity: 1; }
  21% { opacity: 0; transform: scale(1) translate3d(1.5%, 0, 0); }
  100% { opacity: 0; }
}
.hero-media__reel.is-paused .hero-media__slide { animation-play-state: paused; }
.hero-media__slide.is-still { animation: none; opacity: 1; inset: 0; }
.hero-media__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s; }
.hero-media.has-video .hero-media__video { opacity: 1; }
.hero-media.has-video .hero-media__slide { display: none; }
@media (max-width: 900px) {
  .hero-media__reel::after { background: linear-gradient(180deg, rgba(4, 13, 24, .55) 0%, rgba(4, 13, 24, .7) 60%, rgba(7, 21, 38, .85) 100%); }
}
@media (prefers-reduced-motion: reduce) { .hero-media__slide { animation: none; } .hero-media__slide:first-child { opacity: 1; } }
