/* ==========================================================
   MULTIK v5 — styles.css
   Verkada-inspired. Dual business: Security + Visual/LED.
   Minimal, spacious, video-first. Japanese (Noto Sans JP).
   ========================================================== */

:root{
  /* Spec-locked palette (Round F) */
  --bg-dark:     #0A1628;
  --bg-tint:     #F5F5F7;
  --text-dark:   #1A1A1A;
  --accent:      #E67E22;
  --accent-deep: #C46F2A;
  --secondary:   #2C3E50;
  --divider:     #E5E5E7;

  --navy:        #0A1628;
  --navy-2:      #142438;
  --navy-3:      #1a2a4a;
  --ink:         #1A1A1A;
  --ink-2:       #2a2a2a;
  --ink-3:       #4a4a4a;
  --mute:        #6b7280;
  --mute-2:      #9aa3b5;
  --line:        #E5E5E7;
  --grey:        #F5F5F7;
  --grey-2:      #ECECEF;
  --white:       #ffffff;
  --orange:      #E67E22;
  --orange-2:    #f08a30;
  --orange-deep: #C46F2A;
  --orange-dim:  rgba(230,126,34,0.14);

  --f-jp:        "Inter", "Noto Sans JP", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --f-display:   "Inter", "Noto Sans JP", system-ui, -apple-system, sans-serif;
  --f-mono:      "IBM Plex Mono", ui-monospace, Menlo, monospace;

  /* Type scale (Round D) */
  --fs-h1:       clamp(40px, 5.4vw, 56px);
  --fs-h2:       clamp(32px, 4vw, 46px);
  --fs-h3:       clamp(24px, 2.4vw, 32px);
  --fs-h4:       clamp(20px, 1.8vw, 24px);
  --fs-body:     17px;
  --fs-caption:  14px;
  --fs-eyebrow:  13px;
  --tracking-eyebrow: 0.12em;
  --tracking-display: -0.025em;
  --leading-display:  1.15;
  --leading-body:     1.7;

  --maxw:        1240px;
  --pad-x:       clamp(20px, 4vw, 56px);
  --nav-h:       80px;
  --sec-pad:     clamp(96px, 13vw, 160px);

  /* Radii (Round F) */
  --r-input:     8px;
  --r-img:       12px;
  --r-card:      16px;
  --r-pill:      9999px;
  --r-sm:        4px;
  --r-md:        8px;
  --r-lg:        16px;

  /* Shadows (Round F) */
  --shadow-1:    0 1px 3px rgba(0,0,0,0.04);
  --shadow-2:    0 4px 12px rgba(0,0,0,0.08);
  --shadow-3:    0 8px 24px rgba(0,0,0,0.12);

  --t-fast:      160ms;
  --t-med:       280ms;
  --t-slow:      500ms;
  --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(--f-jp);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  font-size: var(--fs-body);
  line-height: var(--leading-body);
  font-feature-settings: "palt", "tnum";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
strong, b, .num, time, .timeline__year{ font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
img{ display: block; max-width: 100%; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; color: inherit; cursor: pointer; }

h1,h2,h3,h4,h5{
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-display);
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
h1{ font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
h2{ font-size: var(--fs-h2); line-height: 1.18; }
h3{ font-size: var(--fs-h3); }
h4{ font-size: var(--fs-h4); }

/* ===== 日本語 説明文の改行最適化 =====
   文節（フレーズ）単位の折返し + 禁則処理 + 行末の整え。
   word-break:auto-phrase は対応ブラウザ（Chromium系）で文節折返し、
   非対応では通常折返しにフォールバック（progressive enhancement）。 */
p,
.lede,
.hero__sub,
.page-hero__sub,
.co-hero__sub,
.subhero__lede,
.dualshow__note{
  line-break: strict;
  word-break: auto-phrase;
  text-wrap: pretty;
}

.eyebrow{
  display: inline-block;
  font-family: var(--f-mono);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--orange);
  text-transform: uppercase;
}
.eyebrow--light{ color: var(--orange-2); }

/* ========= BUTTONS ========= */
.btn{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .02em;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  box-shadow: var(--shadow-1);
  transition: background var(--t-med) var(--ease), color var(--t-med), border-color var(--t-med), transform var(--t-fast), box-shadow var(--t-med);
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn:active{ transform: translateY(0); box-shadow: var(--shadow-1); }
.btn--sm{ padding: 10px 20px; font-size: 13px; }
.btn--lg{ padding: 16px 36px; font-size: 15px; }

.btn--orange{
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.btn--orange:hover{ background: var(--orange-deep); border-color: var(--orange-deep); }

.btn--navy{
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn--navy:hover{ background: var(--navy-2); border-color: var(--navy-2); }

.btn--outline-navy{
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline-navy:hover{ background: var(--navy); color: #fff; }

.btn--outline-white{
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn--outline-white:hover{ background: #fff; color: var(--navy); border-color: #fff; }

.btn--ghost{
  background: transparent;
  color: var(--ink);
  padding: 10px 0;
  border-color: transparent;
  border-radius: 0;
  border-bottom: 1.5px solid var(--ink);
}
.btn--ghost:hover{ color: var(--orange); border-bottom-color: var(--orange); }

/* ========= NAV (Verkada-style mega-menu) ========= */
.nav{
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: transparent;
  transition: background 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
  border-bottom: 1px solid transparent;
}
.nav--scrolled{
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(255,255,255,0.06);
}
/* === PLFページのみ: ヘッダーをスクロール中も透過維持 === */
body.plf-page .nav--scrolled{
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
/* 透過時に白文字が背景へ埋もれないよう微シャドウで可読性確保 */
body.plf-page .nav__link,
body.plf-page .nav__logo-name,
body.plf-page .nav__logo-tag{ text-shadow: 0 1px 3px rgba(0,0,0,0.45); }
/* keep text white on dark scrolled nav */
.nav--scrolled .nav__link,
.nav--scrolled .nav__logo-name{ color: #fff; }
.nav--scrolled .nav__logo-tag{ color: rgba(255,255,255,0.65); }
.nav--scrolled .nav__cta .btn--outline-navy{ border-color: rgba(255,255,255,0.5); color: #fff; }
.nav--scrolled .nav__cta .btn--outline-navy:hover{ background: #fff; color: var(--navy); border-color: #fff; }

.nav__inner{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__logo{
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.nav__logo img{ height: 34px; width: auto; }
.nav__logo-text{ display: flex; flex-direction: column; line-height: 1; }
.nav__logo-name{
  font-size: 13px; font-weight: 700; color: #fff;
  transition: color var(--t-med);
}
.nav__logo-tag{
  font-family: var(--f-mono); font-size: 9px;
  color: rgba(255,255,255,0.65);
  letter-spacing: .08em;
  margin-top: 3px;
  transition: color var(--t-med);
}

.nav__links{
  display: flex; align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav__link{
  position: relative;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #fff;
  padding: 10px 0;
  transition: color var(--t-med);
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 5px;
  background: none; border: 0;
  cursor: pointer;
}
.nav__link::after{
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 4px;
  height: 2px;
  background: var(--orange);
  transition: right var(--t-med) var(--ease);
  pointer-events: none;
}
.nav__link:hover::after,
.nav__link[aria-expanded="true"]::after{ right: 0; }
.nav__link:hover{ color: #fff; }
.nav__link-caret{
  width: 10px; height: 10px;
  transition: transform var(--t-fast);
}
.nav__link[aria-expanded="true"] .nav__link-caret{ transform: rotate(180deg); }

/* Dropdown / Mega-menu */
.nav__menu{
  position: absolute;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(10, 22, 40, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 48px -24px rgba(0,0,0,0.5);
  padding: 44px var(--pad-x) 48px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--t-med), visibility var(--t-med), transform var(--t-med);
  z-index: 99;
}
.nav__menu-col h5{ color: var(--orange-2); }
.nav__menu-col a{ color: #fff; }
.nav__menu-col a:hover{ color: var(--orange-2); }
.nav__menu-col a span{ color: rgba(255,255,255,0.55); }
.nav__menu.is-open{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__menu-inner{
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  gap: 40px;
}
.nav__menu--mega .nav__menu-inner{ grid-template-columns: 1fr 1fr 1fr; }
.nav__menu-col h5{
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--orange);
  margin: 0 0 16px;
  text-transform: uppercase;
}
.nav__menu-col ul{ list-style: none; margin: 0; padding: 0; }
.nav__menu-col li + li{ margin-top: 2px; }
.nav__menu-col a{
  display: flex; align-items: baseline; gap: 8px;
  padding: 8px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  transition: color var(--t-fast), transform var(--t-fast);
}
.nav__menu-col a:hover{ color: var(--orange); transform: translateX(3px); }
.nav__menu-col a span{
  font-size: 12px;
  font-weight: 400;
  color: var(--mute);
}

.nav__cta{
  display: flex; gap: 18px; align-items: center;
  margin-left: auto;
}
.nav__links + .nav__cta{ margin-left: 0; }
.nav__cta-text{
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
  transition: color var(--t-fast);
}
.nav__cta-text:hover{ color: #fff; }

.nav__toggle{
  display: none;
  width: 40px; height: 40px;
  background: transparent; border: 0;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}
.nav__toggle span{
  width: 22px; height: 2px;
  background: #fff;
  transition: background var(--t-med);
}
.nav--scrolled .nav__toggle span{ background: var(--ink); }

@media (max-width: 1140px){
  .nav__links{ gap: 20px; }
}
@media (max-width: 880px){
  .nav__logo-tag{ display: none; }
  .nav__links{ gap: 14px; }
  .nav__link{ font-size: 14px; }
  .nav__menu--mega .nav__menu-inner{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .nav__logo-name{ font-size: 14px; }
  .nav__links{ gap: 10px; }
  .nav__link{ font-size: 12px; letter-spacing: 0; padding: 8px 0; }
  .nav__link-caret{ display: none; }
  .nav__menu{ padding: 28px var(--pad-x) 32px; }
  .nav__menu-inner{ gap: 22px; }
  .nav__menu--mega .nav__menu-inner{ grid-template-columns: 1fr; }
}
/* Mobile menu */
.nav__mobile{
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 98;
  padding: 24px var(--pad-x) 48px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--t-med) var(--ease);
}
.nav__mobile.is-open{ transform: translateX(0); }
.nav__mobile details{ border-bottom: 1px solid var(--line); padding: 4px 0; }
.nav__mobile summary{
  padding: 16px 4px;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
}
.nav__mobile summary::-webkit-details-marker{ display: none; }
.nav__mobile summary::after{
  content: "+";
  font-family: var(--f-mono);
  color: var(--orange);
  font-size: 20px;
}
.nav__mobile details[open] summary::after{ content: "−"; }
.nav__mobile ul{ list-style: none; margin: 0 0 12px; padding: 0 0 4px 4px; }
.nav__mobile ul a{
  display: block;
  padding: 10px 4px;
  font-size: 14px;
  color: var(--ink-2);
}
.nav__mobile > a{
  display: block;
  padding: 16px 4px;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.nav__mobile-cta{ margin-top: 32px; }
.nav__mobile-head{ display:block; font-family:var(--f-mono); font-size:11px; letter-spacing:.14em; color:var(--orange); padding:18px 4px 6px; }
@media (max-width: 880px){
  .nav__links{ display: none !important; }
  .nav__menu{ display: none !important; }
  .nav__toggle{ display: flex !important; }
}

/* ===== Simplified dropdown: vertical panel anchored under button ===== */
.nav__menu{
  background: var(--navy, #0A1628);
  padding: 5px;
  left: 0; right: auto;
  width: max-content;
  min-width: 150px;
  border: 1px solid rgba(255,255,255,0.12);
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 16px 30px -16px rgba(0,0,0,0.6);
}
.nav__menu-inner,
.nav__menu--mega .nav__menu-inner{
  display: block;
  max-width: none;
  margin: 0;
  gap: 0;
  grid-template-columns: none;
  padding: 0;
}
.nav__menu-col{ display: block; }
.nav__menu-col + .nav__menu-col{
  margin-top: 6px; padding-top: 6px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.nav__menu-col h5{ display: none; }
.nav__menu-col ul{ display: block; margin: 0; padding: 0; }
.nav__menu-col li + li{ margin: 0; }
.nav__menu-col a{
  display: block;
  padding: 7px 12px;
  font-size: 13px;
  line-height: 1.3;
  color: #fff !important;
  border-radius: 5px;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.nav__menu-col a span{ display: none; }
.nav__menu-col a:hover{ color: #fff !important; background: rgba(255,255,255,0.12); transform: none; }
@media (max-width: 560px){
  .nav__menu{ min-width: 140px; }
  .nav__menu-col a{ padding: 7px 10px; font-size: 12px; }
}

/* ========= HERO SLIDER (5 scenes) ========= */
.hero{
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
}
.hero__scenes{ position: absolute; inset: 0; z-index: 0; }
.hero__scene{
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 800ms ease-in-out;
}
.hero__scene.is-active{ opacity: 1; }
.hero__scene-bg{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.hero__scene-bg--soft{ opacity: 0.35; mix-blend-mode: screen; }
.hero__scene-fallback{
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #142438 0%, #0a1628 100%);
}
.hero__scene-video{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  /* slight cinematic grade */
  filter: saturate(1.05) contrast(1.02);
}
.hero__scene-overlay{
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,22,40,0.9) 0%, rgba(10,22,40,0.62) 48%, rgba(10,22,40,0.22) 78%, rgba(10,22,40,0.08) 100%),
    linear-gradient(180deg, rgba(10,22,40,0.14) 0%, rgba(10,22,40,0.56) 100%);
}
/* Stronger overlay for video-backed scenes so copy stays legible */
.hero__scene[data-scene="0"] .hero__scene-overlay,
.hero__scene[data-scene="1"] .hero__scene-overlay,
.hero__scene[data-scene="2"] .hero__scene-overlay,
.hero__scene[data-scene="3"] .hero__scene-overlay,
.hero__scene[data-scene="4"] .hero__scene-overlay{
  background:
    linear-gradient(90deg, rgba(10,22,40,0.88) 0%, rgba(10,22,40,0.62) 50%, rgba(10,22,40,0.34) 100%),
    linear-gradient(180deg, rgba(10,22,40,0.25) 0%, rgba(10,22,40,0.55) 100%);
}
.hero__grid-overlay{
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 60% 50%, black 40%, transparent 95%);
  pointer-events: none;
}

/* scene anims */
.hero__ai-box{ opacity: 0; animation: aiBoxIn 2.8s ease-out infinite; }
@keyframes aiBoxIn{
  0% { opacity: 0; transform: translateY(8px); }
  25% { opacity: 1; transform: translateY(0); }
  75% { opacity: 1; }
  100% { opacity: 0.2; }
}
.hero__pulse{
  transform-origin: center;
  animation: heroPulse 2.4s ease-in-out infinite;
}
@keyframes heroPulse{
  0%,100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero__step, .hero__prod{
  opacity: 0; transform: translateY(16px);
  animation: stepIn 600ms ease-out forwards;
}
@keyframes stepIn{ to { opacity: 1; transform: translateY(0); } }

/* content */
.hero__inner{
  position: relative; z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px var(--pad-x) 120px;
  width: 100%;
  padding-top: calc(var(--nav-h) + 48px);
}
.hero__content-wrap{
  position: relative;
  min-height: 440px;
}
.hero__content{
  max-width: 720px;
  position: absolute; top: 0; left: 0;
  opacity: 0;
  pointer-events: none;
}
.hero__content.is-active{
  opacity: 1;
  pointer-events: auto;
}
.hero__badge{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 10px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  margin-bottom: 28px;
  white-space: nowrap;
}
.hero__badge-mark{
  font-family: var(--f-mono);
  font-size: 10px; font-weight: 700;
  color: var(--orange-2);
  letter-spacing: .12em;
}
.hero__badge-div{ width: 1px; height: 12px; background: rgba(255,255,255,0.25); }
.hero__title{
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #fff;
  margin: 0 0 24px;
}
.hero__title em{ font-style: normal; color: var(--orange-2); }
.hero__sub{
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.8;
  color: rgba(255,255,255,0.84);
  max-width: 52ch;
  margin: 0 0 36px;
}
.hero__sub strong{ color: #fff; font-weight: 600; }
.hero__ctas{ display: flex; flex-wrap: wrap; gap: 14px; }

/* E5+E7+A4 hero animation */
.hero--e5 .hero__badge,
.hero--e5 .hero__title,
.hero--e5 .hero__ctas,
.page-hero--e5 h1,
.page-hero--e5 .page-hero__sub,
.page-hero--e5 .hero__badge,
.page-hero--e5 .page-hero__ctas,
.co-hero--e5 .co-hero__title,
.co-hero--e5 .co-hero__sub,
.co-hero--e5 .co-hero__badge{
  opacity:0; filter:blur(18px);
  transition: opacity 1.2s cubic-bezier(.22,1,.36,1), filter 1.2s cubic-bezier(.22,1,.36,1);
}
.hero--e5 .hero__badge,
.page-hero--e5 .hero__badge,
.co-hero--e5 .co-hero__badge{
  filter:none; transform:translateY(10px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}
.hero--e5 .hero__badge.e5-in,
.hero--e5 .hero__title.e5-in,
.hero--e5 .hero__ctas.e5-in,
.page-hero--e5 h1.e5-in,
.page-hero--e5 .page-hero__sub.e5-in,
.page-hero--e5 .hero__badge.e5-in,
.page-hero--e5 .page-hero__ctas.e5-in,
.co-hero--e5 .co-hero__title.e5-in,
.co-hero--e5 .co-hero__sub.e5-in,
.co-hero--e5 .co-hero__badge.e5-in{
  opacity:1; filter:blur(0px); transform:translateY(0);
}
/* A1 breathing */
@keyframes a1{0%,100%{opacity:1}50%{opacity:.75}}
.a1-breathe{ animation: a1 3s ease-in-out infinite; }
/* E7 typewriter cursor */
.tw-cursor{
  display:inline-block;width:2px;height:1.1em;
  background:var(--orange-2);margin-left:1px;vertical-align:text-bottom;
  animation:tw-blink .55s step-end infinite;
}
@keyframes tw-blink{50%{opacity:0}}
.hero__sub--tw{ min-height:3.6em; white-space:pre-line; }

/* reduced-motion: show everything immediately */
@media(prefers-reduced-motion:reduce){
  .hero--e5 .hero__badge,
  .hero--e5 .hero__title,
  .hero--e5 .hero__ctas,
  .page-hero--e5 h1,
  .page-hero--e5 .page-hero__sub,
  .co-hero--e5 .co-hero__title,
  .co-hero--e5 .co-hero__sub{
    opacity:1!important;filter:none!important;transform:none!important;
    transition:none!important;
  }
  .tw-cursor{animation:none;opacity:1;}
}

/* dots */
.hero__dots{
  position: absolute;
  right: clamp(20px, 3vw, 44px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: grid; gap: 22px;
}
.hero__dot{
  background: transparent; border: 0;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 4px 0;
  color: rgba(255,255,255,0.55);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .14em;
  font-weight: 600;
  transition: color var(--t-fast);
}
.hero__dot:hover{ color: #fff; }
.hero__dot-mark{
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.5);
  background: transparent;
  transition: background var(--t-med), border-color var(--t-med), transform var(--t-med);
  flex-shrink: 0;
}
.hero__dot-label{
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--t-med), transform var(--t-med);
  white-space: nowrap;
}
.hero__dot:hover .hero__dot-label,
.hero__dot.is-active .hero__dot-label{ opacity: 1; transform: translateX(0); }
.hero__dot.is-active{ color: #fff; }
.hero__dot.is-active .hero__dot-mark{
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.15);
  box-shadow: 0 0 0 4px rgba(230,126,34,0.18);
}

.hero__scroll{
  position: absolute;
  left: 50%; bottom: 24px;
  transform: translateX(-50%);
  display: grid; gap: 6px; justify-items: center;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .3em;
  color: rgba(255,255,255,0.5);
  z-index: 2;
  pointer-events: none;
}
.hero__scroll-line{
  width: 1px; height: 32px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5) 0%, transparent 100%);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine{
  0%,100%{ transform: scaleY(1); opacity: 1; }
  50%{ transform: scaleY(0.4); opacity: 0.3; }
}

@media (max-width: 1040px){
  .hero__content-wrap{ min-height: 400px; }
  .hero__dots{
    right: auto; left: 50%;
    top: auto; bottom: 72px;
    transform: translateX(-50%);
    grid-auto-flow: column;
    gap: 18px;
  }
  .hero__dot-label{ display: none; }
  .hero__scroll{ display: none; }
}

/* ========= SECTION WRAPPER ========= */
.section{ padding: var(--sec-pad) 0; }
.section--grey{ background: var(--grey); }
.section--navy{ background: var(--navy); color: #fff; }
.section--navy h2{ color: #fff; }
.section__inner{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.section__head{
  max-width: 760px;
  margin: 0 0 clamp(48px, 6vw, 80px);
  display: grid; gap: 14px;
}

/* ========= DUAL SHOWCASE (Section 3) — video-first 2 columns ========= */
.dualshow{
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 88vh;
  min-height: 88svh;
  background: var(--navy);
  color: #fff;
}
.dualshow__col{
  position: relative;
  overflow: hidden;
  min-height: 520px;
}
.dualshow__col::after{
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,22,40,0.3) 0%, rgba(10,22,40,0.75) 100%);
  transition: background var(--t-med);
}
.dualshow__col:hover::after{
  background: linear-gradient(180deg, rgba(10,22,40,0.15) 0%, rgba(10,22,40,0.55) 100%);
}
.dualshow__col-bg{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-fit: cover;
  transition: transform 800ms var(--ease);
}
.dualshow__col:hover .dualshow__col-bg{ transform: scale(1.04); }
img.dualshow__col-bg{
  object-fit: cover;
  object-position: center;
}
.dualshow__col-grid{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.9;
  transition: transform 800ms var(--ease);
}
.dualshow__col:hover .dualshow__col-grid{ transform: scale(1.04); }
.dualshow__col--security::after{
  background: linear-gradient(180deg, rgba(8,18,38,0.35) 0%, rgba(8,18,38,0.78) 100%);
}
.dualshow__col--security:hover::after{
  background: linear-gradient(180deg, rgba(8,18,38,0.18) 0%, rgba(8,18,38,0.58) 100%);
}
.dualshow__col--visual::after{
  background: linear-gradient(180deg, rgba(8,18,38,0.30) 0%, rgba(8,18,38,0.75) 100%);
}
.dualshow__col--visual:hover::after{
  background: linear-gradient(180deg, rgba(8,18,38,0.15) 0%, rgba(8,18,38,0.55) 100%);
}
.dualshow__col--plf::after{
  background: linear-gradient(180deg, rgba(8,18,38,0.35) 0%, rgba(8,18,38,0.78) 100%);
}
.dualshow__col--plf:hover::after{
  background: linear-gradient(180deg, rgba(8,18,38,0.18) 0%, rgba(8,18,38,0.58) 100%);
}
.dualshow__col--remote::after{
  background: linear-gradient(180deg, rgba(8,18,38,0.30) 0%, rgba(8,18,38,0.75) 100%);
}
.dualshow__col--remote:hover::after{
  background: linear-gradient(180deg, rgba(8,18,38,0.15) 0%, rgba(8,18,38,0.55) 100%);
}
/* モニターウォール（被写体）が上部にあるため上寄せで切り出す */
.dualshow__col--remote .dualshow__col-bg{ object-position: center 32%; }

/* ===== dualshow 大見出し・説明文ともに E5(blur-in) + A1(呼吸) ===== */
.dualshow__word,
.dualshow__note{
  opacity: 0; filter: blur(16px);
  transition: opacity 1.1s cubic-bezier(.22,1,.36,1), filter 1.1s cubic-bezier(.22,1,.36,1);
}
.dualshow__col.ds-in .dualshow__word{ opacity: 1; filter: blur(0); }
.dualshow__col.ds-in .dualshow__note{
  opacity: 1; filter: blur(0);
  transition-delay: .25s; /* 見出しの後に説明文 */
}
/* A1 呼吸（出現完了後にJSで付与） */
.dualshow__word.a1-breathe,
.dualshow__note.a1-breathe{ animation: a1breathe 3s ease-in-out infinite; }
@keyframes a1breathe{ 0%,100%{ opacity: 1; } 50%{ opacity: .75; } }

@media (prefers-reduced-motion: reduce){
  .dualshow__word, .dualshow__note{ opacity: 1; filter: none; transition: none; }
  .dualshow__word.a1-breathe, .dualshow__note.a1-breathe{ animation: none; }
}
.dualshow__col-inner{
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: clamp(40px, 6vw, 72px);
}
.dualshow__word{
  font-size: clamp(56px, 8vw, 112px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 0 0 10px;
  /* 明るい画像上でも見やすいよう黒系の影を付与 */
  text-shadow: 0 2px 14px rgba(0,0,0,.55), 0 1px 4px rgba(0,0,0,.45);
}
.dualshow__note{
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: rgba(255,255,255,0.8);
  margin: 0 0 28px;
  text-transform: uppercase;
}
.dualshow__arrow{
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
  color: #fff;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.35);
  transition: border-color var(--t-med), gap var(--t-med);
  align-self: flex-start;
}
.dualshow__col:hover .dualshow__arrow{
  gap: 14px;
  border-bottom-color: var(--orange-2);
}
@media (max-width: 860px){
  .dualshow{ grid-template-columns: 1fr; }
  .dualshow__col{ min-height: 60vh; }
}

/* ========= SUB-HERO（ページ内ヒーロー帯） ========= */
.subhero{
  position: relative; isolation: isolate; overflow: hidden;
  color: #fff; background: var(--navy);
  min-height: 64vh; min-height: 64svh;
  display: flex; align-items: flex-end;
  padding: clamp(64px,10vw,120px) 0 clamp(48px,7vw,88px);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.subhero__bg{
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 32%;
}
.subhero::after{
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,22,40,0.90) 0%, rgba(10,22,40,0.6) 48%, rgba(10,22,40,0.34) 100%),
    linear-gradient(180deg, rgba(10,22,40,0.22) 0%, rgba(10,22,40,0.82) 100%);
}
.subhero__inner{
  position: relative; width: 100%;
  max-width: 1240px; margin: 0 auto;
  padding: 0 clamp(20px,4vw,56px);
}
.subhero__title{
  font-size: clamp(36px,5.4vw,68px); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.12;
  margin: 14px 0 20px; color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,0.55), 0 1px 4px rgba(0,0,0,0.45);
}
.subhero__title em{ font-style: normal; color: var(--orange); }
.subhero__lede{
  font-size: clamp(15px,1.3vw,18px); line-height: 1.8;
  color: rgba(255,255,255,0.9); max-width: 58ch; margin: 0;
  text-shadow: 0 1px 6px rgba(0,0,0,0.45);
}

/* ========= AVTECH ソフト紹介（画像付き） ========= */
.sw-feature{
  display: grid; grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(28px,4vw,56px); align-items: center; margin-top: 44px;
}
.sw-feature__media{
  border-radius: 16px; overflow: hidden; background: #0A1628;
  box-shadow: 0 22px 54px rgba(10,22,40,0.18);
}
.sw-feature__media img{ display: block; width: 100%; height: auto; }
.sw-feature__body .eyebrow{ margin-bottom: 6px; }
.sw-feature__body h3{
  font-size: clamp(22px,2.4vw,30px); font-weight: 800;
  letter-spacing: -0.02em; color: var(--ink); margin: 4px 0 16px;
}
.sw-feature__list{ list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 11px; }
.sw-feature__list li{ position: relative; padding-left: 22px; color: var(--ink-3); line-height: 1.7; }
.sw-feature__list li::before{
  content: ""; position: absolute; left: 0; top: .62em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--orange);
}
.dl-groups{ display: grid; gap: 18px; }
.dl-group__label{
  display: flex; align-items: center; gap: 9px;
  font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 10px;
}
.dl-tag{ font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; letter-spacing: .04em; }
.dl-tag--free{ background: rgba(34,139,57,.12); color: #1e7e34; }
.dl-tag--paid{ background: var(--orange-dim); color: var(--orange-deep); }
.dl-row{ display: flex; flex-wrap: wrap; gap: 12px; }
.dl-btn{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px; border-radius: 10px;
  background: var(--navy); color: #fff; text-decoration: none;
  transition: background .2s, transform .2s;
}
.dl-btn:hover{ background: #16263f; transform: translateY(-1px); }
.dl-btn svg{ width: 22px; height: 22px; flex: none; fill: currentColor; }
.dl-btn__txt{ display: flex; flex-direction: column; line-height: 1.12; text-align: left; }
.dl-btn__txt small{ font-size: 10px; opacity: .72; letter-spacing: .02em; }
.dl-btn__txt b{ font-size: 15px; font-weight: 700; }

.sw-cards{ display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 52px; }
.sw-card{
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.sw-card:hover{ transform: translateY(-3px); box-shadow: 0 16px 40px rgba(10,22,40,0.12); }
.sw-card__media{ aspect-ratio: 16/10; overflow: hidden; background: #0A1628; }
.sw-card__media img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.sw-card__body{ padding: 22px 22px 26px; }
.sw-card__model{
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em;
  color: var(--orange); text-transform: uppercase;
}
.sw-card__body h4{ margin: 8px 0 10px; font-size: 18px; font-weight: 700; color: var(--ink); }
.sw-card__body p{ color: var(--ink-3); line-height: 1.7; font-size: 14px; }

@media (max-width: 860px){
  .sw-feature{ grid-template-columns: 1fr; }
  .sw-cards{ grid-template-columns: 1fr; }
}

/* ========= DEMO GALLERY (Section 4) ========= */
.demogal__head{
  max-width: 760px; margin-bottom: 48px;
}
.demogal__layout{
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}
.demogal__main{
  position: relative;
  aspect-ratio: 16/10;
  background: var(--navy);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.demogal__main-media{
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at 60% 40%, #1a2a4a 0%, #0a1628 100%);
}
.demogal__main-media svg{ opacity: 0.22; max-width: 50%; height: auto; }
.demogal__main-caption{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 32px;
  background: linear-gradient(180deg, transparent 0%, rgba(10,22,40,0.9) 100%);
  color: #fff;
}
.demogal__main-caption .lbl{
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--orange-2);
  margin: 0 0 6px;
}
.demogal__main-caption h3{
  color: #fff;
  font-size: clamp(20px, 2vw, 26px);
  margin: 0;
}
.demogal__main-soon{
  position: absolute;
  top: 20px; right: 20px;
  padding: 6px 12px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .16em;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,0.3);
}
.demogal__list{ display: grid; gap: 12px; }
.demogal__thumb{
  position: relative;
  display: grid; grid-template-columns: 112px 1fr; gap: 14px;
  padding: 10px;
  border-radius: var(--r-md);
  text-align: left;
  background: var(--grey);
  border: 1px solid transparent;
  transition: background var(--t-med), border-color var(--t-med);
  cursor: pointer;
}
.demogal__thumb:hover{ background: var(--grey-2); }
.demogal__thumb.is-active{
  background: #fff;
  border-color: var(--navy);
}
.demogal__thumb-media{
  aspect-ratio: 16/10;
  background: var(--navy);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
}
.demogal__thumb-media svg{ opacity: 0.35; }
.demogal__thumb-body{
  display: flex; flex-direction: column; justify-content: center;
}
.demogal__thumb-body .n{
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: .16em; color: var(--mute); margin-bottom: 2px;
}
.demogal__thumb-body h4{
  font-size: 13px; font-weight: 600; line-height: 1.4;
  margin: 0; color: var(--ink);
}

@media (max-width: 900px){
  .demogal__layout{ grid-template-columns: 1fr; }
}

/* ========= TIMELINE (Section 5) — minimal ========= */
.timeline{
  padding: clamp(96px, 12vw, 140px) 0;
  background: #fff;
}
.timeline__inner{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.timeline__track{
  position: relative;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
  padding: 40px 0 20px;
  border-top: 1px solid var(--line);
  margin-top: 16px;
}
.timeline__track::before{
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange) var(--active, 0%), var(--line) var(--active, 0%));
  transition: --active 300ms;
}
.timeline__year{
  position: relative;
  background: transparent; border: 0;
  padding: 12px 4px;
  font-family: var(--f-mono);
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  transition: transform var(--t-med), color var(--t-med), opacity var(--t-med);
  letter-spacing: 0.02em;
}
.timeline__track:hover .timeline__year:not(:hover){ opacity: 0.4; }
.timeline__track:hover .timeline__year:hover{ transform: translateY(-2px) scale(1.1); }
.timeline__year::before{
  content: "";
  position: absolute;
  left: 50%; top: -5px;
  transform: translateX(-50%);
  width: 9px; height: 9px;
  background: #fff;
  border: 1.5px solid var(--navy);
  border-radius: 50%;
  transition: background var(--t-med), border-color var(--t-med), transform var(--t-med);
}
.timeline__year:hover,
.timeline__year.is-active{
  color: var(--orange);
  transform: translateY(-2px);
}
.timeline__year:hover::before,
.timeline__year.is-active::before{
  background: var(--orange);
  border-color: var(--orange);
  transform: translateX(-50%) scale(1.4);
}
.timeline__panel{
  margin-top: 48px;
  min-height: 64px;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 500;
  color: var(--ink-2);
  line-height: 1.7;
  opacity: 0;
  transition: opacity 220ms;
}
.timeline__panel.is-show{ opacity: 1; }
.timeline__hint{
  margin-top: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--mute);
  letter-spacing: .14em;
}
@media (max-width: 760px){
  .timeline__track{ flex-wrap: wrap; gap: 18px 20px; padding: 24px 0 10px; border-top: 0; }
  .timeline__track::before{ display: none; }
  .timeline__year::before{ top: -14px; }
}

/* ========= WORKS GRID (Section 6) ========= */
.works__head{
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: clamp(28px, 4vw, 44px);
}
.works__heading h2{ margin-top: 14px; }
.works__actions{ display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
.works__title{
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .22em;
  color: var(--mute);
  text-transform: uppercase;
}
@media (max-width: 760px){
  .works__head{ flex-direction: column; align-items: flex-start; }
}
.works__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.work-cell{
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--navy-2);
  color: #fff;
  display: block;
  cursor: pointer;
}
.work-cell--tall{ grid-row: span 2; aspect-ratio: 1/2; }
.work-cell--wide{ grid-column: span 2; aspect-ratio: 2/1; }
.work-cell__media{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}
.work-cell:hover .work-cell__media{ transform: scale(1.04); }
.work-cell__overlay{
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,22,40,0) 32%, rgba(10,22,40,0.6) 66%, rgba(10,22,40,0.95) 100%);
  opacity: 1;
  transition: opacity 250ms var(--ease);
  display: flex; align-items: flex-end;
  padding: 24px;
}
.work-cell:hover .work-cell__overlay{ background: linear-gradient(180deg, rgba(10,22,40,0.05) 20%, rgba(10,22,40,0.6) 60%, rgba(10,22,40,0.94) 100%); }
.work-cell__label{
  color: #fff;
  font-size: 15px; font-weight: 700;
  transform: translateY(0);
  transition: transform 250ms var(--ease);
  text-shadow: 0 1px 12px rgba(0,0,0,0.35);
}
.work-cell:hover .work-cell__label{ transform: translateY(-2px); }

/* Intro panel cell inside the works grid */
.work-cell--intro{
  background: var(--navy);
  display: flex; flex-direction: column; justify-content: center;
  gap: 16px;
  padding: clamp(28px, 3.2vw, 44px);
  cursor: default;
}
.work-cell--intro .work-intro__eyebrow{
  font-family: var(--f-mono);
  font-size: 11px; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--orange-2);
}
.work-cell--intro h3{
  font-family: var(--f-display);
  font-weight: 800; letter-spacing: -0.01em;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.25; color: #fff; margin: 0;
}
.work-cell--intro p{
  font-size: 14px; line-height: 1.7;
  color: rgba(255,255,255,0.62); margin: 0; max-width: 34ch;
}
.work-cell--intro .work-intro__link{
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: #fff;
  margin-top: 4px;
}
.work-cell--intro .work-intro__link svg{ transition: transform var(--t-med) var(--ease); }
.work-cell--intro:hover .work-intro__link svg{ transform: translateX(3px); }
.work-cell__label small{
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--orange-2);
  letter-spacing: .16em;
  margin-bottom: 5px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
@media (max-width: 900px){
  .works__grid{ grid-template-columns: repeat(2, 1fr); }
  .work-cell--wide{ grid-column: span 2; }
  .work-cell--tall{ grid-row: span 1; aspect-ratio: 1/1; }
  .work-cell--intro{ grid-column: span 2; aspect-ratio: auto; }
}

/* ========= SERVICES LIST (Section 7) ========= */
.svcs{ background: #fff; }
.svcs__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 72px);
}
.svcs__col h3{
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--orange);
  margin: 0 0 24px;
  text-transform: uppercase;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.svcs__list{
  list-style: none; margin: 0; padding: 0;
}
.svcs__list li{ border-bottom: 1px solid var(--line); }
.svcs__list a{
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0;
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 600;
  color: var(--ink);
  transition: color var(--t-med), padding-left var(--t-med);
}
.svcs__list a:hover{
  color: var(--orange);
  padding-left: 8px;
}
.svcs__list a::before{
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--orange);
  transition: width var(--t-med) var(--ease);
}
.svcs__list a{ position: relative; }
.svcs__list a:hover::before{ width: 100%; }
.svcs__list .arrow{
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--mute);
  transition: color var(--t-med), transform var(--t-med);
}
.svcs__list a:hover .arrow{
  color: var(--orange);
  transform: translateX(6px);
}
@media (max-width: 900px){
  .svcs__grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .svcs__grid{ grid-template-columns: 1fr; }
}

/* ========= CONTACT (Section 8) ========= */
.contact{
  background: var(--navy);
  color: #fff;
  padding: clamp(96px, 13vw, 160px) 0;
  text-align: center;
}
.contact__inner{
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.contact h2{
  color: #fff;
  font-size: clamp(40px, 5.8vw, 72px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0 0 16px;
}
.contact__sub{
  font-size: clamp(15px, 1.2vw, 18px);
  color: rgba(255,255,255,0.75);
  margin: 0 0 40px;
}
.contact__cta{ display: inline-flex; }
.contact__lines{
  margin-top: 48px;
  display: flex; justify-content: center;
  gap: 24px 40px;
  flex-wrap: wrap;
  font-family: var(--f-mono);
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  letter-spacing: .04em;
}
.contact__lines a{ color: rgba(255,255,255,0.85); border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 2px; transition: color var(--t-med), border-color var(--t-med); }
.contact__lines a:hover{ color: var(--orange-2); border-bottom-color: var(--orange-2); }

/* ========= FOOTER ========= */
.foot{ background: #fff; border-top: 1px solid var(--line); padding: 72px 0 32px; }
.foot__inner{ max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); }
.foot__row{
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: clamp(24px, 3vw, 48px);
  margin-bottom: 56px;
}
@media (max-width: 1080px){
  .foot__row{ grid-template-columns: repeat(4, 1fr); }
  .foot__brand{ grid-column: 1 / -1; }
}
.foot__brand img{ height: 36px; margin-bottom: 20px; }
.foot__brand-name{ font-weight: 700; font-size: 14px; margin: 0 0 8px; color: var(--ink); }
.foot__brand-addr{
  font-size: 12px;
  line-height: 1.7;
  color: var(--mute);
  margin: 0;
}
.foot__col h5{
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--orange);
  margin: 0 0 16px;
  text-transform: uppercase;
}
.foot__col ul{ list-style: none; margin: 0; padding: 0; }
.foot__col li + li{ margin-top: 10px; }
.foot__col a{ font-size: 13px; color: var(--ink-2); transition: color var(--t-fast); }
.foot__col a:hover{ color: var(--orange); }
.foot__bottom{
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 11px;
  color: var(--mute);
  flex-wrap: wrap;
  font-family: var(--f-mono);
  letter-spacing: .04em;
}
@media (max-width: 820px){
  .foot__row{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px){
  .foot__row{ grid-template-columns: 1fr; }
}

/* ========= HOJYO CAME BANNER ========= */
.hojyocame{
  background: var(--navy);
  color: #fff;
  padding: clamp(64px, 9vw, 112px) 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.hojyocame__inner{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.hojyocame__card{
  position: relative;
  overflow: hidden;
  border-radius: var(--r-card);
  border: 1px solid rgba(255,255,255,0.12);
  background:
    radial-gradient(120% 140% at 88% 18%, rgba(230,126,34,0.30) 0%, rgba(230,126,34,0.05) 42%, transparent 68%),
    linear-gradient(180deg, #122742 0%, #0c1c33 100%);
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding: clamp(36px, 5vw, 64px);
}
.hojyocame__grid{
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(120% 120% at 85% 30%, #000 0%, transparent 75%);
          mask-image: radial-gradient(120% 120% at 85% 30%, #000 0%, transparent 75%);
  pointer-events: none;
}
.hojyocame__body{ position: relative; }
.hojyocame__tag{
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 22px;
}
.hojyocame__pill{
  font-family: var(--f-mono);
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--orange);
  padding: 5px 11px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.hojyocame__pill-sub{
  font-family: var(--f-mono);
  font-size: 12px; letter-spacing: 0.1em;
  color: var(--mute-2);
}
.hojyocame__wordmark{
  display: flex; align-items: baseline; gap: 14px;
  margin-bottom: 18px;
}
.hojyocame__brand{
  font-family: var(--f-display);
  font-weight: 800; letter-spacing: -0.02em;
  font-size: clamp(30px, 4vw, 46px);
  color: #fff; line-height: 1;
}
.hojyocame__ja{
  font-size: 14px; letter-spacing: 0.14em;
  color: var(--mute-2);
}
.hojyocame__copy{
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.75;
  color: rgba(255,255,255,0.82);
  max-width: 46ch;
  margin: 0 0 26px;
}
.hojyocame__copy strong{ color: #fff; font-weight: 700; }
.hojyocame__meta{
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--mute-2);
}
.hojyocame__meta b{ color: var(--orange-2); font-weight: 600; }
.hojyocame__dot{ color: rgba(255,255,255,0.25); }
.hojyocame__aside{
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
}
.hojyocame__url{
  font-family: var(--f-mono);
  font-size: 13px; letter-spacing: 0.04em;
  color: var(--mute-2);
}
.hojyocame__aside .btn svg{ transition: transform var(--t-med) var(--ease); }
.hojyocame__aside .btn:hover svg{ transform: translate(2px, -2px); }
.hojyocame__note{
  font-size: 13px; line-height: 1.6;
  color: rgba(255,255,255,0.5);
}
@media (max-width: 860px){
  .hojyocame__card{ grid-template-columns: 1fr; gap: 30px; }
  .hojyocame__aside{ border-top: 1px solid rgba(255,255,255,0.1); padding-top: 28px; }
}

/* ========= Reveal (IO) ========= */
.fade-up{ opacity: 0; transform: translateY(20px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.fade-up.is-visible{ opacity: 1; transform: translateY(0); }
.fade-in{ opacity: 0; transition: opacity 800ms var(--ease); }
.fade-in.is-visible{ opacity: 1; }

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

/* ========= FABLE5 MOTION PACK ========= */

/* 1. headline line reveal */
.rl-line{ display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.rl-inner{ display: block; transform: translateY(114%); transition: transform .9s cubic-bezier(.22, 1, .36, 1); }
.rl-play .rl-inner{ transform: translateY(0); }

/* 2. stats band (count-up) */
.stats{ background: var(--navy); color: #fff; padding: clamp(48px, 6vw, 80px) 0; }
.stats__grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.stat{ display: grid; gap: 12px; align-content: start; padding-left: 22px; border-left: 2px solid rgba(255,255,255,0.14); }
.stat__num{
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: clamp(48px, 5.4vw, 76px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.stat__num small{ font-size: .34em; font-weight: 700; color: var(--orange); margin-left: 8px; letter-spacing: .04em; }
.stat__lbl{ font-size: 13.5px; line-height: 1.85; color: rgba(255,255,255,0.62); }
@media (max-width: 760px){ .stats__grid{ grid-template-columns: 1fr; gap: 28px; } }

/* 3. parallax containers */
.ind-row__media{ overflow: hidden; border-radius: var(--r-lg, 14px); }
.ind-row__media img{ will-change: transform; }

/* 4. process progress line */
.process{ position: relative; padding-top: 18px; }
.process::before{
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--line, #E5E7EB);
}
.process::after{
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--orange);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 1.6s var(--ease) .25s;
}
.process.is-visible::after{ transform: scaleX(1); }

/* 5. case-card hover: photo zoom + lift */
.cam-card img, .wk-item img, .work-cell__media{ transition: scale .6s var(--ease); }
.cam-card:hover img, .wk-item:hover img{ scale: 1.045; }
.ind-row__media img{ transition: scale .6s var(--ease); }
.ind-row:hover .ind-row__media img{ scale: 1.04; }
.wk-item{ cursor: default; }
.wk-item .media-ph{ transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.wk-item:hover .media-ph{ border-color: rgba(230,126,34,0.55); }

/* 6. REC indicator */
.rec-dot{
  display: inline-block; flex-shrink: 0;
  width: 8px; height: 8px; border-radius: 50%;
  background: #FF4D4D;
  box-shadow: 0 0 8px rgba(255, 77, 77, 0.8);
  animation: recblink 2.2s ease-in-out infinite;
}
@keyframes recblink{ 0%, 100%{ opacity: 1; } 50%{ opacity: .22; } }

/* 7. button arrow slide */
.btn svg, .btn span[aria-hidden]{ display: inline-block; transition: transform .35s var(--ease); }
.btn:hover svg, .btn:hover span[aria-hidden]{ transform: translateX(5px); }

/* 8. cross-document view transitions */
@view-transition{ navigation: auto; }
::view-transition-old(root){ animation: vt-out .2s ease both; }
::view-transition-new(root){ animation: vt-in .32s ease both; }
@keyframes vt-out{ to{ opacity: 0; } }
@keyframes vt-in{ from{ opacity: 0; } }

/* 9. dark section support */
.section--navy .lede{ color: rgba(255,255,255,0.72); }
.section--navy .h-1{ color: #fff; }

/* 10. ghost section numbers */
[data-bigno]{ position: relative; }
[data-bigno]::before{
  content: attr(data-bigno);
  position: absolute; top: -8px; right: -4px;
  font-family: var(--f-mono); font-weight: 800;
  font-size: clamp(110px, 15vw, 220px);
  line-height: 1; letter-spacing: -0.05em;
  color: rgba(10, 22, 40, 0.045);
  pointer-events: none; z-index: 0;
}
[data-bigno] > *{ position: relative; z-index: 1; }

/* ========= MEDIA PLACEHOLDER (画像・動画 差し替え待ち / 生成プロンプト記載) ========= */
.media-ph{
  position: relative;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  gap: 14px;
  width: 100%;
  min-height: 240px;
  padding: clamp(24px, 3vw, 40px);
  border: 1.5px dashed rgba(10,22,40,0.28);
  border-radius: var(--r-lg, 14px);
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(10,22,40,0.025) 14px 15px),
    var(--grey, #F4F5F7);
  color: var(--ink, #1A2433);
  overflow: hidden;
}
.media-ph--dark{
  border-color: rgba(255,255,255,0.3);
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,0.04) 14px 15px),
    #122036;
  color: #fff;
}
.media-ph--16x9{ aspect-ratio: 16 / 9; min-height: 0; }
.media-ph--4x3{ aspect-ratio: 4 / 3; min-height: 0; }
.media-ph--wide{ aspect-ratio: 21 / 9; min-height: 0; }
.media-ph__tag{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono);
  font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange, #E67E22);
  white-space: nowrap;
}
.media-ph__tag svg{ flex-shrink: 0; }
.media-ph__file{
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .04em;
  opacity: .65;
  word-break: break-all;
}
.media-ph__prompt{
  font-size: 13px;
  line-height: 1.75;
  max-width: 64ch;
  margin: 0;
  opacity: .8;
}
.media-ph__prompt strong{ font-weight: 700; opacity: 1; }
.media-ph--filled{ border: 0; padding: 0; background: none; }
.media-ph--filled img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.media-ph--filled video{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.media-ph__demo{ position: absolute; right: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; padding: 6px 12px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: #fff; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.25); border-radius: 4px; }
.media-ph__note{ position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; margin: 0; padding: 10px 16px; font-size: 12px; line-height: 1.5; color: rgba(255,255,255,0.92); background: linear-gradient(to top, rgba(0,0,0,0.66), rgba(0,0,0,0)); letter-spacing: .02em; }


/* ========= PORTED FROM styles_v4 (service sub-pages components) ========= */
.h-1{
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.h-2{
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 800;
  line-height: 1.3;
}
.h-3{
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
  line-height: 1.4;
}

.lede{
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.85;
  color: var(--ink-2);
  max-width: 60ch;
}

/* ========= BUTTONS ========= */

/* ========= CTA BAND ========= */
.cta-band{
  background: var(--navy);
  color: #fff;
  padding: clamp(80px, 10vw, 120px) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before{
  content:""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 85% 30%, rgba(230,126,34,0.18) 0%, transparent 55%);
  pointer-events: none;
}
.cta-band__inner{
  position: relative; z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px){ .cta-band__inner{ grid-template-columns: 1fr; gap: 32px; } }
.cta-band h2{
  margin: 14px 0 18px;
  color: #fff;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
}
.cta-band h2 em{ font-style: normal; color: var(--orange-2); }
.cta-band p{
  color: rgba(255,255,255,0.75);
  line-height: 1.9;
  font-size: 15px;
  max-width: 52ch;
  margin: 0 0 28px;
}
.cta-band__card{
  padding: 32px 36px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-xl);
  display: grid; gap: 20px;
}
.cta-band__row{
  display: grid; gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.cta-band__row:last-of-type{ border-bottom: none; padding-bottom: 0; }
.cta-band__lbl{
  font-family: var(--f-mono);
  font-size: 10px; letter-spacing: .22em;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
}
.cta-band__val{
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  font-family: var(--f-mono);
}
.cta-band__val--sm{ font-size: 16px; }

/* PLF Benefits */
.benefits-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 760px){ .benefits-grid{ grid-template-columns: 1fr; } }
.benefit-col{
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  border-top: 3px solid var(--orange);
}
.benefit-col--mgmt{ border-top-color: var(--navy); }
.benefit-col__side{
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: .22em;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 20px;
}
.benefit-col--mgmt .benefit-col__side{ color: var(--navy); }
.benefit-col h3{
  margin: 0 0 20px;
  font-size: 18px; font-weight: 800;
  color: var(--navy);
}
.benefit-col ul{ list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.benefit-col li{
  display: grid; grid-template-columns: 24px 1fr; gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.75;
}
.benefit-col li:last-child{ border-bottom: none; padding-bottom: 0; }
.benefit-col li::before{
  content:"";
  width: 10px; height: 10px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  transform: translateY(7px);
}
.benefit-col--mgmt li::before{ border-color: var(--navy); }
.benefit-col li strong{
  display: block;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 15px;
}

/* Process steps */
.process{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
@media (max-width: 960px){ .process{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px){ .process{ grid-template-columns: 1fr; } }
.process-step{
  padding: 24px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: grid; gap: 10px;
}
.process-step__no{
  font-family: var(--f-mono);
  font-size: 28px; font-weight: 800;
  color: var(--orange);
  line-height: 1;
}
.process-step h4{
  margin: 0;
  font-size: 14px; font-weight: 800;
  color: var(--navy);
}
.process-step p{
  margin: 0;
  font-size: 12px;
  line-height: 1.75;
  color: var(--ink-2);
}

/* Product tiles (cameras page) */
.cam-products{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 960px){ .cam-products{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .cam-products{ grid-template-columns: 1fr; } }
.cam-card{
  display: block;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.cam-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow-2); }
.cam-card__img{
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--grey) 0%, var(--grey-2) 100%);
  display: grid; place-items: center;
  color: var(--navy-3);
  position: relative;
}
.cam-card__tag{
  position: absolute; top: 12px; left: 12px;
  padding: 3px 8px;
  background: var(--orange);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 9px; font-weight: 700;
  letter-spacing: .15em;
  border-radius: 3px;
}
.cam-card__body{ padding: 20px 22px; display: grid; gap: 8px; }
.cam-card h4{
  margin: 0;
  font-size: 16px; font-weight: 800;
  color: var(--navy);
}
.cam-card p{
  margin: 0;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--ink-2);
}
.cam-card__model{
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .15em;
  color: var(--mute);
}


.stagger > *,
[data-stagger] > *{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.stagger.is-visible > *,
[data-stagger].is-visible > *{ opacity: 1; transform: translateY(0); }
.stagger.is-visible > *:nth-child(1),
[data-stagger].is-visible > *:nth-child(1){ transition-delay: 0.00s; }
.stagger.is-visible > *:nth-child(2),
[data-stagger].is-visible > *:nth-child(2){ transition-delay: 0.10s; }
.stagger.is-visible > *:nth-child(3),
[data-stagger].is-visible > *:nth-child(3){ transition-delay: 0.20s; }
.stagger.is-visible > *:nth-child(4),
[data-stagger].is-visible > *:nth-child(4){ transition-delay: 0.30s; }
.stagger.is-visible > *:nth-child(5),
[data-stagger].is-visible > *:nth-child(5){ transition-delay: 0.40s; }
.stagger.is-visible > *:nth-child(6),
[data-stagger].is-visible > *:nth-child(6){ transition-delay: 0.50s; }

.stagger-x > *{
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.stagger-x.is-visible > *{ opacity: 1; transform: translateX(0); }
.stagger-x.is-visible > *:nth-child(1){ transition-delay: 0.00s; }
.stagger-x.is-visible > *:nth-child(2){ transition-delay: 0.15s; }
.stagger-x.is-visible > *:nth-child(3){ transition-delay: 0.30s; }
.stagger-x.is-visible > *:nth-child(4){ transition-delay: 0.45s; }

/* ===== 施工事例ギャラリー（works.html）一時非公開 — 2026-06-21 =====
   素材が揃い次第、このブロックを丸ごと削除すれば全導線（プルダウン/フッター/CTA）が復活する。
   全ページ共通で works.html へのリンクを非表示にする。 */
a[href="works.html"],
a[href="./works.html"],
a[href="/works.html"]{ display: none !important; }
li:has(> a[href="works.html"]),
li:has(> a[href="./works.html"]),
li:has(> a[href="/works.html"]){ display: none !important; }
/* ===== works.html 一時非公開 ここまで ===== */

/* ========= CLIENTS（主な取引先・trusted-by マーキー） ========= */
.clients{ padding: var(--sec-pad) 0; background: var(--navy); color: #fff; overflow: hidden; }
.clients .eyebrow{ color: var(--orange-2); }
.clients__head{ text-align: center; max-width: 760px; margin: 0 auto; padding: 0 24px; }
.clients__head h2{ color: #fff; margin: 10px 0 6px; font-size: clamp(26px,3vw,40px); letter-spacing: -0.02em; }
.clients__note{ font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; color: rgba(255,255,255,0.5); margin: 0; }
.clients__rows{ margin-top: clamp(24px,3vw,40px); display: flex; flex-direction: column; gap: 16px; }
.clients__marquee{ position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.clients__track{ display: flex; width: max-content; gap: 0; animation: clients-scroll 64s linear infinite; }
.clients__marquee--rev .clients__track{ animation-direction: reverse; }
.clients__marquee:hover .clients__track{ animation-play-state: paused; }
.clients__set{ display: flex; gap: 14px; padding-left: 14px; }
.client-chip{ flex: none; padding: 11px 22px; border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-pill); background: rgba(255,255,255,0.04);
  font-size: 14.5px; line-height: 1; color: rgba(255,255,255,0.86); white-space: nowrap; }
@keyframes clients-scroll{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){
  .clients__marquee{ -webkit-mask-image: none; mask-image: none; }
  .clients__track{ animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .clients__set[aria-hidden="true"]{ display: none; }
}
@media (max-width: 640px){ .client-chip{ font-size: 13px; padding: 9px 16px; } }
.sr-only{ position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ========= FAQ accordion（faq.html/compare/industries 共通） ========= */
.faq-list{ max-width: 880px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item{ border: 1px solid var(--line, #E5E7EB); border-radius: var(--r-lg, 14px); background: #fff; overflow: hidden; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.faq-item[open]{ border-color: rgba(230,126,34,0.5); box-shadow: 0 8px 28px rgba(10,22,40,0.06); }
.faq-item summary{ list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 20px 22px; font-size: 15.5px; font-weight: 700; user-select: none; }
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-q{ font-family: var(--f-mono); font-size: 13px; font-weight: 700; color: var(--orange, #E67E22); flex-shrink: 0; }
.faq-toggle{ margin-left: auto; flex-shrink: 0; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line, #E5E7EB); color: var(--ink-2, #3D4858); transition: transform .3s var(--ease), border-color .3s, color .3s; }
.faq-item[open] .faq-toggle{ transform: rotate(45deg); border-color: var(--orange); color: var(--orange); }
.faq-a{ padding: 0 22px 22px 22px; font-size: 14.5px; line-height: 2; color: var(--ink-2, #3D4858); }
.faq-a a{ color: var(--orange, #E67E22); }
