/* ============================================================
   OSHIN DRONE — ドローン×AI ソリューションサイト
   Dark tech aesthetic / single accent cyan
   ============================================================ */

:root {
  --bg: #070b12;
  --bg-2: #0b1220;
  --bg-3: #101a2c;
  --panel: rgba(255, 255, 255, 0.03);
  --panel-border: rgba(148, 195, 255, 0.12);
  --text: #e8eef7;
  --text-sub: #9fb0c7;
  --text-dim: #64748f;
  --accent: #33e0ff;
  --accent-2: #2f7bff;
  --accent-dim: rgba(51, 224, 255, 0.14);
  --warn: #ffd166;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-en: "Space Grotesk", "Noto Sans JP", sans-serif;
  --font-mono: "JetBrains Mono", "Menlo", monospace;
  --radius: 14px;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  font-family: var(--font-jp);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #04121a; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--font-mono); letter-spacing: 0.04em; }
.pc-only { display: inline; }
.sp-only { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn-arrow { font-family: var(--font-en); transition: transform 0.25s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #04121a;
  box-shadow: 0 0 0 rgba(51, 224, 255, 0);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(51, 224, 255, 0.35);
}
.btn-ghost {
  border-color: var(--panel-border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-header { padding: 10px 22px; font-size: 14px; background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: #04121a; }
.btn-header:hover { box-shadow: 0 4px 20px rgba(51, 224, 255, 0.4); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.site-header.scrolled {
  background: rgba(7, 11, 18, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--panel-border);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 24px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand-chip {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  padding: 5px 12px;
}
.brand-chip img { height: 40px; width: auto; display: block; }
.footer-chip { padding: 10px 16px; }
.footer-chip img { height: 50px; }
.nav-back { color: var(--accent) !important; }
.brand-mark { color: var(--accent); display: flex; }
.brand-text {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.06em;
}
.brand-text em { font-style: normal; color: var(--accent); }
.global-nav { display: flex; gap: 26px; margin-left: auto; }
.global-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sub);
  position: relative;
  padding: 4px 0;
}
.global-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.global-nav a:hover { color: var(--text); }
.global-nav a:hover::after { transform: scaleX(1); }

.nav-toggle { display: none; }
.mobile-nav { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(47, 123, 255, 0.14), transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(51, 224, 255, 0.08), transparent 60%),
    var(--bg);
}
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 195, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 195, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}
/* ヒーロー背景写真（ドローン×橋梁） */
.hero-photo {
  position: absolute;
  inset: 0;
  background-image: url("../images/hero-drone.jpg");
  background-size: cover;
  background-position: center right;
  opacity: 0.75;
  transform: scale(1.04);
  transition: transform 0.2s ease-out;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(7, 11, 18, 0.95) 20%, rgba(7, 11, 18, 0.62) 46%, rgba(7, 11, 18, 0.08) 76%),
    linear-gradient(rgba(7, 11, 18, 0.2), rgba(7, 11, 18, 0.45) 85%, var(--bg));
}
/* 背景の巨大アウトラインワード（ifask風） */
.hero-bigword {
  position: absolute;
  right: -0.06em;
  bottom: 4%;
  font-size: clamp(90px, 14vw, 220px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(148, 195, 255, 0.10);
  pointer-events: none;
  user-select: none;
  z-index: 1;
  line-height: 1;
}
/* ifask風「もし◯◯に困っているなら」 */
.hero-if {
  font-size: clamp(16px, 2.2vw, 23px);
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--text);
}
.hero-if mark {
  background: linear-gradient(120deg, rgba(51, 224, 255, 0.92), rgba(47, 123, 255, 0.92));
  color: #04121a;
  padding: 2px 10px;
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  display: inline-block;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.hero-if mark.swapping { opacity: 0; transform: translateY(6px); }

/* カーソル追従ドローン */
.cursor-drone {
  position: absolute;
  left: 0; top: 0;
  z-index: 3;
  pointer-events: none;
  will-change: transform;
  filter: drop-shadow(0 10px 24px rgba(51, 224, 255, 0.25));
}
.cd-rotor { animation: rotorSpin 0.18s linear infinite; }
.cd-rotor.r2 { animation-duration: 0.15s; }
@keyframes rotorSpin {
  0% { transform: scaleX(1); }
  50% { transform: scaleX(0.25); }
  100% { transform: scaleX(1); }
}
.cd-light { animation: blink 1.2s steps(1) infinite; }
.cd-beam {
  position: absolute;
  left: 50%; top: 78%;
  width: 1px; height: 60px;
  background: linear-gradient(rgba(51, 224, 255, 0.5), transparent);
  transform: translateX(-50%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 48px) 24px 80px;
  width: 100%;
}
.hero-eyebrow {
  color: var(--accent);
  font-size: 13px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: "";
  width: 42px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
.hero-title {
  font-size: clamp(34px, 5.6vw, 68px);
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: 0.01em;
  margin-bottom: 30px;
}
.hero-title span { display: block; }
.hero-title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.x-mark { display: inline !important; color: var(--accent); font-weight: 400; padding: 0 0.08em; }
.accent-line { display: inline !important; position: relative; }
.accent-line::after {
  content: "";
  position: absolute;
  left: 0; bottom: 6px;
  width: 100%; height: 10px;
  background: var(--accent-dim);
  z-index: -1;
}
.hero-rotator {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  padding: 10px 18px;
  margin-bottom: 26px;
  font-size: clamp(14px, 1.8vw, 17px);
}
.rotator-prefix { color: var(--accent); }
.rotator-text { color: var(--text-sub); min-height: 1.6em; }
.rotator-text.swap { animation: rotSwap 0.5s ease; }
@keyframes rotSwap {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}
.rotator-cursor { color: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero-lead {
  color: var(--text-sub);
  font-size: clamp(15px, 1.6vw, 17px);
  margin-bottom: 38px;
  max-width: 640px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-size: 12px;
}
.meta-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 10px;
  z-index: 2;
}
.scroll-cue i {
  width: 1px; height: 44px;
  background: linear-gradient(var(--accent), transparent);
  display: block;
  animation: cueDrop 1.8s ease-in-out infinite;
  transform-origin: top;
}
@keyframes cueDrop {
  0% { transform: scaleY(0); opacity: 0; }
  40% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(10px); opacity: 0; }
}

/* ---------- Ticker ---------- */
.ticker {
  border-top: 1px solid var(--panel-border);
  border-bottom: 1px solid var(--panel-border);
  overflow: hidden;
  background: var(--bg-2);
  padding: 14px 0;
}
.ticker-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: tickerMove 30s linear infinite;
}
.ticker-track span {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  white-space: nowrap;
}
.ticker-track span::before { content: "＋ "; color: var(--accent); }
@keyframes tickerMove { to { transform: translateX(-50%); } }

/* ---------- Sections common ---------- */
.section { padding: 110px 0; position: relative; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; }

.section-eyebrow {
  color: var(--accent);
  font-size: 13px;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 900;
  line-height: 1.45;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
.section-title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-lead { color: var(--text-sub); margin-bottom: 54px; font-size: 15.5px; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.18s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.42s; }
.reveal.d5 { transition-delay: 0.54s; }

/* ---------- Pains ---------- */
.pains { background: var(--bg); }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pain-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}
.pain-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.pain-card:hover {
  transform: translateY(-4px);
  border-color: rgba(51, 224, 255, 0.4);
  background: rgba(51, 224, 255, 0.04);
}
.pain-card:hover::before { opacity: 1; }
.pain-tag {
  display: inline-block;
  font-size: 11px;
  color: var(--accent);
  border: 1px solid rgba(51, 224, 255, 0.35);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 14px;
}
.pain-card p { color: var(--text); font-size: 15px; font-weight: 500; line-height: 1.75; }
.pain-note {
  margin-top: 46px;
  text-align: center;
  color: var(--text-sub);
  font-size: 15.5px;
}
.pain-note strong { color: var(--text); }

/* ---------- Approach（私たちの違い） ---------- */
.approach {
  background: var(--bg-2);
  border-top: 1px solid var(--panel-border);
}
.approach .section-lead strong { color: var(--accent); }
.approach-compare {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 20px;
  margin-bottom: 26px;
  align-items: stretch;
}
.ac-col {
  border-radius: var(--radius);
  padding: 30px 30px 26px;
}
.ac-old {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(148, 163, 191, 0.35);
  opacity: 0.85;
}
.ac-new {
  background: var(--panel);
  border: 1px solid rgba(51, 224, 255, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(51, 224, 255, 0.12);
}
.ac-label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.14em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.ac-old .ac-label { color: var(--text-dim); border: 1px solid rgba(148, 163, 191, 0.35); }
.ac-new .ac-label { color: #04121a; background: var(--accent); font-weight: 700; }
.ac-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.ac-line i { color: var(--text-dim); font-style: normal; }
.ac-node {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-sub);
  border: 1px solid rgba(148, 163, 191, 0.3);
  border-radius: 8px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.02);
}
.ac-node.ac-end { color: #ff8f8f; border-color: rgba(255, 143, 143, 0.4); }
.ac-col > p { font-size: 13.5px; color: var(--text-sub); line-height: 1.85; }
.ac-new > p strong { color: var(--accent); }

/* ループ図 */
.ac-loop {
  position: relative;
  margin: 0 auto 18px;
  max-width: 480px;
}
.loop-svg { width: 100%; height: auto; display: block; }
.loop-ring { animation: ringRotate 30s linear infinite; transform-origin: 240px 150px; }
@keyframes ringRotate { to { transform: rotate(360deg); } }
.loop-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--bg-3);
  border: 1px solid rgba(51, 224, 255, 0.45);
  border-radius: 10px;
  padding: 8px 14px;
  transform: translate(-50%, -50%);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}
.loop-node b { font-size: 13.5px; color: var(--text); }
.loop-node small { font-size: 10px; color: var(--text-dim); }
.ln-1 { left: 50%; top: 13%; }
.ln-2 { left: 90%; top: 50%; }
.ln-3 { left: 50%; top: 87%; }
.ln-4 { left: 10%; top: 50%; }
.loop-center {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.12em;
  line-height: 1.8;
}

/* AIの2軸 */
.ai-axes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.axis-card {
  background: linear-gradient(150deg, rgba(51, 224, 255, 0.06), rgba(47, 123, 255, 0.02));
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 32px 32px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.axis-card:hover { border-color: rgba(51, 224, 255, 0.45); transform: translateY(-4px); }
.axis-num {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent);
  border: 1px solid rgba(51, 224, 255, 0.4);
  border-radius: 6px;
  padding: 4px 12px;
  margin-bottom: 16px;
}
.axis-card h3 { font-size: 21px; font-weight: 900; margin-bottom: 12px; }
.axis-card p { font-size: 14px; color: var(--text-sub); line-height: 1.85; margin-bottom: 14px; }
.axis-note {
  display: block;
  font-size: 12.5px;
  color: var(--accent);
  border-left: 2px solid var(--accent);
  padding-left: 10px;
}

/* ---------- Solutions ---------- */
.solutions { background: var(--bg-2); }
.sol-list { display: flex; flex-direction: column; gap: 26px; }
.sol-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 0;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
  position: relative;
}
.sol-card-rev { grid-template-columns: 1fr 380px; }
.sol-card-rev .sol-img { order: 2; }
.sol-card:hover { border-color: rgba(51, 224, 255, 0.35); background: rgba(51, 224, 255, 0.03); transform: translateY(-3px); }
.sol-img {
  position: relative;
  min-height: 260px;
  overflow: hidden;
}
.sol-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.sol-card:hover .sol-img img { transform: scale(1.05); }
.sol-main { padding: 38px 40px; }
.sol-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 12px; }
.sol-num {
  font-size: 40px;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(51, 224, 255, 0.6);
  line-height: 1;
  flex-shrink: 0;
}
.sol-head h3 {
  font-size: 23px;
  font-weight: 700;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.sol-sub { font-size: 11px; color: var(--accent); letter-spacing: 0.16em; font-weight: 400; }
.sol-main > p { color: var(--text-sub); font-size: 15px; margin-bottom: 20px; max-width: 720px; }

/* HUDコーナー装飾 */
.hud-corner {
  position: absolute;
  width: 22px; height: 22px;
  border: 2px solid rgba(51, 224, 255, 0.75);
  z-index: 2;
}
.hud-corner.tl { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.hud-corner.br { bottom: 12px; right: 12px; border-left: none; border-top: none; }

/* 画像リビール（クリップ） */
.img-reveal img { clip-path: inset(0 100% 0 0); transition: clip-path 0.9s cubic-bezier(0.7, 0, 0.2, 1), transform 0.6s ease; }
.img-reveal.visible img, .img-reveal.img-in img { clip-path: inset(0 0 0 0); }

/* ---------- Gallery（現場と成果物） ---------- */
.gallery { background: var(--bg); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--panel-border);
  aspect-ratio: 16 / 10;
  margin: 0;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.gallery-item:hover { border-color: rgba(51, 224, 255, 0.45); transform: translateY(-4px); }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 44px 22px 18px;
  background: linear-gradient(transparent, rgba(5, 8, 13, 0.92) 62%);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.g-tag { font-size: 10.5px; color: var(--accent); letter-spacing: 0.18em; margin-bottom: 4px; }
.gallery-item figcaption strong { font-size: 17px; font-weight: 700; color: var(--text); }
.gallery-item figcaption span:last-child { font-size: 12.5px; color: var(--text-sub); }

/* 対象分野バンド */
.field-band {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 8px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.field-band-label {
  font-size: 11px;
  color: #04121a;
  background: var(--accent);
  border-radius: 4px;
  padding: 3px 10px;
  font-weight: 700;
  margin-right: 8px;
}
.field-band > span:not(.field-band-label) {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-sub);
  padding: 4px 12px;
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.field-band > span:not(.field-band-label):hover { color: var(--accent); border-color: rgba(51, 224, 255, 0.45); }
.sol-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sol-tags li {
  font-size: 12.5px;
  color: var(--text-sub);
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 999px;
  padding: 5px 14px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.sol-tags li:hover { color: var(--accent); border-color: rgba(51, 224, 255, 0.45); }

/* ---------- Fields ---------- */
.fields { background: var(--bg); }
.field-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.field-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.field-card:hover { transform: translateY(-4px); border-color: rgba(51, 224, 255, 0.4); }
.field-card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.field-card h3::before { content: "▸ "; color: var(--accent); }
.field-card p { font-size: 13px; color: var(--text-dim); line-height: 1.7; }

/* ---------- Flow ---------- */
.flow { background: var(--bg-2); }
.flow-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: flow;
}
.flow-step {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 30px 24px;
  position: relative;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.flow-step:hover { border-color: rgba(51, 224, 255, 0.4); transform: translateY(-4px); }
.flow-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -17px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-family: var(--font-en);
  font-size: 18px;
  z-index: 2;
}
.flow-num { font-size: 11.5px; color: var(--accent); letter-spacing: 0.18em; display: block; margin-bottom: 12px; }
.flow-step h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.flow-free {
  font-size: 10.5px;
  background: var(--accent);
  color: #04121a;
  border-radius: 4px;
  padding: 2px 8px;
  font-weight: 700;
}
.flow-step p { font-size: 13.5px; color: var(--text-sub); line-height: 1.8; }
.flow-cta { text-align: center; margin-top: 54px; }

/* ---------- Why ---------- */
.why { background: var(--bg); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.why-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 36px 34px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.why-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 3px; height: 100%;
  background: linear-gradient(var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.why-card:hover { border-color: rgba(51, 224, 255, 0.35); }
.why-card:hover::before { opacity: 1; }
.why-num { color: var(--accent); font-size: 12px; letter-spacing: 0.2em; display: block; margin-bottom: 14px; }
.why-card h3 { font-size: 20px; font-weight: 700; line-height: 1.5; margin-bottom: 14px; }
.why-card p { font-size: 14px; color: var(--text-sub); line-height: 1.85; }

/* ---------- Stats ---------- */
.stats {
  background: var(--bg-2);
  padding: 70px 0;
  border-top: 1px solid var(--panel-border);
  border-bottom: 1px solid var(--panel-border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-value {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  color: var(--text);
  display: block;
  line-height: 1.2;
}
.stat-value small { font-size: 0.45em; color: var(--accent); margin-left: 2px; }
.stat-label { font-size: 12.5px; color: var(--text-dim); display: block; margin-top: 6px; }

/* ---------- Recruit ---------- */
.recruit { background: var(--bg); }
.recruit-box {
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
.recruit-terminal {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--panel-border);
  padding: 12px 18px;
}
.term-dot { width: 11px; height: 11px; border-radius: 50%; background: #3a4356; }
.term-dot:nth-child(1) { background: #ff5f57; }
.term-dot:nth-child(2) { background: #febc2e; }
.term-dot:nth-child(3) { background: #28c840; }
.term-title { margin-left: 10px; font-size: 11.5px; color: var(--text-dim); }
.recruit-body { padding: 50px 54px 56px; }
.recruit-code { color: var(--accent); font-size: 14px; margin-bottom: 22px; }
.recruit-code::after { content: "▊"; animation: blink 1s steps(1) infinite; margin-left: 4px; }
.recruit-body h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 20px;
}
.recruit-lead { color: var(--text-sub); font-size: 15.5px; margin-bottom: 28px; max-width: 760px; }
.recruit-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.recruit-tags li {
  font-size: 12.5px;
  color: var(--accent);
  background: var(--accent-dim);
  border-radius: 6px;
  padding: 5px 12px;
}

/* ---------- FAQ ---------- */
.faq { background: var(--bg-2); }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item[open] { border-color: rgba(51, 224, 255, 0.35); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-weight: 700;
  font-size: 15.5px;
  position: relative;
  transition: color 0.25s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::before { content: "Q. "; color: var(--accent); font-family: var(--font-en); }
.faq-icon {
  position: absolute;
  right: 22px; top: 50%;
  width: 14px; height: 14px;
  transform: translateY(-50%);
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  transition: transform 0.3s ease;
}
.faq-icon::before { width: 14px; height: 2px; top: 6px; }
.faq-icon::after { width: 2px; height: 14px; left: 6px; }
.faq-item[open] .faq-icon::after { transform: scaleY(0); }
.faq-answer { padding: 0 24px 22px; }
.faq-answer p { color: var(--text-sub); font-size: 14.5px; line-height: 1.9; }
.faq-answer p::before { content: "A. "; color: var(--accent); font-family: var(--font-en); font-weight: 700; }

/* ---------- Contact ---------- */
.contact {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.contact-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(47, 123, 255, 0.12), transparent 65%),
    radial-gradient(ellipse 40% 35% at 80% 10%, rgba(51, 224, 255, 0.06), transparent 60%);
  pointer-events: none;
}
.contact .container { position: relative; z-index: 1; }
.contact-form {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 44px 42px;
  backdrop-filter: blur(6px);
}
.form-row { margin-bottom: 22px; }
.form-row label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 9px;
}
.req, .opt {
  font-size: 10.5px;
  border-radius: 4px;
  padding: 2px 8px;
  font-weight: 700;
}
.req { background: var(--accent); color: #04121a; }
.opt { background: rgba(255, 255, 255, 0.08); color: var(--text-dim); }
.form-row input, .form-row textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--font-jp);
  font-size: 15px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--text-dim); }
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(51, 224, 255, 0.15);
}
.btn-submit { width: 100%; justify-content: center; margin-top: 8px; }
.form-note { font-size: 12px; color: var(--text-dim); text-align: center; margin-top: 16px; }
.form-success {
  text-align: center;
  padding: 40px 10px;
  color: var(--text);
  font-size: 16px;
  line-height: 2;
}
.form-success strong { color: var(--accent); font-size: 20px; display: block; margin-bottom: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: #05080d; border-top: 1px solid var(--panel-border); }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-top: 60px;
  padding-bottom: 46px;
  flex-wrap: wrap;
}
.footer-brand .brand-text { font-size: 22px; }
.footer-company { color: var(--text-dim); font-size: 13px; margin-top: 14px; line-height: 1.9; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: var(--text-sub); font-size: 13.5px; transition: color 0.25s ease; }
.footer-nav a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(148, 195, 255, 0.07);
  text-align: center;
  padding: 20px 24px;
  color: var(--text-dim);
  font-size: 11.5px;
}

/* ---------- Sticky CTA (mobile) ---------- */
.sticky-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(7, 11, 18, 0.9);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--panel-border);
  transform: translateY(110%);
  transition: transform 0.35s ease;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { width: 100%; justify-content: center; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track, .scroll-cue i, .recruit-code::after, .cd-rotor, .cd-light { animation: none; }
  .cursor-drone { display: none; }
  .img-reveal img { clip-path: none; transition: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .field-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-list { grid-template-columns: repeat(2, 1fr); }
  .flow-step:not(:last-child)::after { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
  .sol-card, .sol-card-rev { grid-template-columns: 1fr; }
  .sol-card-rev .sol-img { order: 0; }
  .sol-img { min-height: 220px; aspect-ratio: 16 / 7; }
  .approach-compare { grid-template-columns: 1fr; }
  .ai-axes { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .pc-only { display: none; }
  .sp-only { display: inline; }

  .global-nav, .btn-header { display: none; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
    width: 44px; height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    align-items: center;
  }
  .nav-toggle span {
    width: 22px; height: 2px;
    background: var(--text);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(7, 11, 18, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--panel-border);
    padding: 18px 24px 26px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .mobile-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .mobile-nav a { padding: 12px 4px; font-size: 15px; color: var(--text-sub); border-bottom: 1px solid rgba(148, 195, 255, 0.07); }
  .mobile-nav a.btn { border: none; color: #04121a; justify-content: center; margin-top: 14px; }

  .section { padding: 76px 0; }
  .hero-inner { padding-top: calc(var(--header-h) + 24px); padding-bottom: 110px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { justify-content: center; }
  .pain-grid { grid-template-columns: 1fr; }
  .sol-main { padding: 26px 22px; }
  .sol-num { font-size: 32px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 14px; }
  .field-band { padding: 14px 16px; }
  .hero-photo { background-position: 68% center; opacity: 0.5; }
  .ac-col { padding: 22px 18px; }
  .loop-node { padding: 5px 9px; }
  .loop-node b { font-size: 11px; }
  .loop-node small { font-size: 9px; }
  .ln-2 { left: 86%; }
  .ln-4 { left: 14%; }
  .hero-bigword { font-size: 90px; bottom: 10%; }
  .cursor-drone { display: none; }
  .field-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .field-card { padding: 20px 16px; }
  .flow-list { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .recruit-body { padding: 34px 24px 40px; }
  .contact-form { padding: 30px 22px; }
  .footer-inner { flex-direction: column; gap: 30px; }
  .sticky-cta { display: block; }
  body { padding-bottom: 0; }
}
