/* ===== TOKENS ===== */
:root {
  --bg: #000;
  --bgs: #06080b;
  --bg2: #0a0c0f;
  --bg3: #0f1319;
  --bg4: #151a21;
  --tx: #fff;
  --txe: #e8eaed;
  --tx2: #c9ced4;
  --tx3: #9aa0a8;
  --tx4: #5a6068;
  --bd: #1e242c;
  --bd2: rgba(255, 255, 255, 0.08);
  --bdd: #2a3138;
  --ac: #3097d6;
  --ac2: #57aede;
  --ac3: #1d6ea3;
  --mw: 1160px;
  --nav: 56px;
  --hd: "Roboto Condensed", "Noto Sans JP", sans-serif;
  color-scheme: dark;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav); }
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  font-weight: 300;
  background: var(--bg);
  color: var(--tx);
  line-height: 2;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  word-break: auto-phrase; /* 日本語を文節単位で改行する（対応ブラウザのみ） */
}
strong, b { font-weight: 500; color: var(--txe); }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { text-wrap: balance; }
a { color: var(--ac); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--ac); outline-offset: 3px; }

/* ===== SCROLL REVEAL (JS が有効なときだけ隠す) ===== */
.js .sr { opacity: 0; transform: translateY(30px); transition: opacity 0.9s cubic-bezier(.2, .6, .2, 1), transform 0.9s cubic-bezier(.2, .6, .2, 1); }
.js .sr.vis { opacity: 1; transform: none; }
.sr-d1 { transition-delay: 0.08s; } .sr-d2 { transition-delay: 0.16s; } .sr-d3 { transition-delay: 0.24s; }
.sr-d4 { transition-delay: 0.32s; } .sr-d5 { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .sr { opacity: 1; transform: none; transition: none; }
}

/* ===== NAV ===== */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem;
  background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bd2);
}
.nav-logo img { height: 12px; width: auto; }
.nav-r { display: flex; align-items: center; gap: 2rem; }
.nav-contact { font-family: var(--hd); font-weight: 400; font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; transition: color 0.3s; }
.nav-contact:hover { color: var(--ac); }
.hamburger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 28px; height: 28px; background: none; border: none; padding: 0; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; transition: background 0.3s; }
.hamburger:hover span { background: var(--ac); }

.menu {
  position: fixed; inset: 0; z-index: 200; overflow-y: auto;
  background: rgba(0, 0, 0, 0.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s;
}
.menu.open { opacity: 1; visibility: visible; }
.menu-inner { max-width: 900px; margin: 0 auto; padding: 6rem 2.5rem 4rem; }
.menu-close { position: fixed; top: 0.6rem; right: 2rem; z-index: 210; background: none; border: none; color: #fff; font-size: 2rem; line-height: 1; padding: 0.25rem; transition: color 0.3s; }
.menu-close:hover { color: var(--ac); }
.menu-label { font-family: var(--hd); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.24em; color: var(--ac); text-transform: uppercase; margin-bottom: 1.2rem; }
.menu-list a { display: flex; align-items: baseline; gap: 1rem; padding: 0.9rem 0 0.9rem 1rem; border-bottom: 1px solid var(--bd); color: var(--tx2); transition: color 0.3s; }
.menu-list li:first-child a { border-top: 1px solid var(--bd); }
.menu-list a:hover { color: var(--ac); }
.menu-no { font-family: var(--hd); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.16em; color: var(--tx4); min-width: 1.6rem; }
.menu-nm { font-family: var(--hd); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.08em; color: #fff; }
.menu-list a:hover .menu-nm { color: var(--ac); }
.menu-en { font-family: var(--hd); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em; color: var(--tx3); text-transform: uppercase; }
.menu-contact { display: inline-block; margin-top: 2.5rem; font-family: var(--hd); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #000; background: #fff; padding: 0.85rem 2.5rem; transition: background 0.3s; }
.menu-contact:hover { background: rgba(255, 255, 255, 0.78); }

/* ===== UTILS ===== */
.wrap { max-width: var(--mw); margin: 0 auto; padding: 0 2.5rem; }
main { padding-top: var(--nav); }
.sec { padding: 7rem 0; border-top: 1px solid var(--bd2); position: relative; }
.sec-alt { background: var(--bgs); }
.label { font-family: var(--hd); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.34em; color: var(--ac); margin-bottom: 1.1rem; }
.stitle { font-family: var(--hd); font-size: clamp(1.6rem, 3.4vw, 2.9rem); font-weight: 700; line-height: 1.25; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 2.2rem; }
.stitle::after { content: ""; display: block; width: 56px; height: 2px; background: var(--ac); margin-top: 1.3rem; }
.intro { font-size: 1rem; color: var(--tx2); line-height: 1.95; max-width: 820px; }
.sub-hd { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin: 5rem 0 1.8rem; padding-top: 2.2rem; border-top: 1px dashed var(--bdd); }
.sub-hd-en { font-family: var(--hd); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.28em; color: var(--ac); text-transform: uppercase; }
.sub-hd-ti { font-family: var(--hd); font-size: 1.35rem; font-weight: 700; letter-spacing: 0.06em; }
/* 必ず見出しの下の行に回す。幅は padding で 820px 相当に抑える（max-width だと見出しの横に収まってしまう） */
.sub-hd-ds { flex: 0 0 100%; padding-right: calc(100% - 820px); font-size: 0.92rem; color: var(--tx3); line-height: 1.9; }
.ic { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ===== BUTTONS ===== */
.cta-btn { display: inline-block; font-family: var(--hd); background: rgba(255, 255, 255, 0.18); color: #fff; padding: 0.85rem 2.5rem; font-size: 0.95rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; transition: background 0.3s, color 0.3s; }
.cta-btn:hover { background: #fff; color: #000; }
.cta-btn-primary { background: #fff; color: #000; }
.cta-btn-primary:hover { background: rgba(255, 255, 255, 0.78); }
.cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== HERO ===== */
.hero { position: relative; min-height: calc(100svh - var(--nav)); display: flex; align-items: flex-end; padding: 8rem 0 6.5rem; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
/* 動画は明るく情報量が多いので、見出しが乗る左側と下端を暗くする */
.hero-media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.6) 38%, rgba(0, 0, 0, 0.15) 72%, rgba(0, 0, 0, 0.1) 100%),
  linear-gradient(to top, #000 4%, rgba(0, 0, 0, 0.55) 34%, rgba(0, 0, 0, 0.15) 62%, rgba(0, 0, 0, 0.5) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse 90% 70% at 72% 30%, rgba(29, 110, 163, 0.16) 0%, transparent 68%); pointer-events: none; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--ac3), transparent); }
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero-logo { width: min(420px, 78vw); height: auto; margin-bottom: 2.2rem; }
.hero-eyebrow { font-family: var(--hd); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.36em; text-transform: uppercase; color: var(--ac); margin-bottom: 1.6rem; }
.hero h1 { font-family: var(--hd); font-size: clamp(2.3rem, 5.4vw, 4.4rem); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.1; margin-bottom: 1.4rem; }
.hero-sub { font-family: var(--hd); font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 700; letter-spacing: 0.14em; margin-bottom: 1.1rem; }
.hero-lead { color: var(--tx2); font-size: 1.02rem; max-width: 660px; letter-spacing: 0.04em; }
.hero .cta-row { margin-top: 3rem; }

/* ===== BAND ===== */
.band { position: relative; height: clamp(220px, 30vw, 420px); border-top: 1px dashed var(--bdd); border-bottom: 1px dashed var(--bdd); background: var(--bgs); overflow: hidden; }
.band img, .band video { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.2); }
/* 下部のドローン動画（16:9）。横は動画の全幅、縦は機体が動く範囲（上から 24〜78%）を常に収める:
   幅 533px 未満は動画と同じ 16:9、それ以上は高さ 300px、幅 900px 以上は 3:1 */
.band.band-drone { height: max(33.333vw, min(56.25vw, 300px)); }
.band-drone video { object-position: 50% 54%; }

/* ===== PROJECT FILM（コンセプト冒頭の映像） ===== */
.film { margin: 0 0 4.5rem; }
.film-frame { position: relative; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--bd); overflow: hidden; }
.film-frame::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--ac); z-index: 2; pointer-events: none; }
.film-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-play { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 1.1rem; padding: 0; border: 0; color: #fff; background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5)); }
.film-play[hidden] { display: none; }
.film-play-ic { width: 76px; height: 76px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, 0.7); background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background 0.3s, border-color 0.3s, transform 0.3s; }
.film-play-ic .ic { width: 26px; height: 26px; fill: currentColor; stroke: none; margin-left: 4px; }
.film-play:hover .film-play-ic, .film-play:focus-visible .film-play-ic { background: var(--ac); border-color: var(--ac); transform: scale(1.05); }
.film-play-tx { display: flex; flex-direction: column; align-items: flex-start; font-family: var(--hd); line-height: 1.5; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8); }
.film-play-lb { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; }
.film-play-dur { font-size: 0.8rem; letter-spacing: 0.12em; color: var(--tx2); }
.film-cap { display: flex; align-items: baseline; gap: 0.4rem 1rem; flex-wrap: wrap; margin-top: 1rem; font-size: 0.88rem; color: var(--tx3); line-height: 1.7; }
.film-cap-lb { font-family: var(--hd); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.28em; color: var(--ac); text-transform: uppercase; }
.film-cap-meta { margin-left: auto; font-family: var(--hd); font-size: 0.78rem; letter-spacing: 0.08em; color: var(--tx4); }

/* ===== 01 CONCEPT: Sim to Real ===== */
.s2r { display: grid; grid-template-columns: minmax(0, 1fr) 190px minmax(0, 1fr); margin-top: 3.2rem; }
.s2r-panel { border: 1px solid var(--bd); background: var(--bg2); padding: 1.8rem 1.8rem 1.6rem; display: flex; flex-direction: column; position: relative; }
.s2r-panel-rb { border-color: var(--ac3); background: linear-gradient(180deg, rgba(29, 110, 163, 0.14), rgba(29, 110, 163, 0.04) 60%), var(--bg2); }
.s2r-panel-rb::before { content: ""; position: absolute; top: -1px; left: -1px; right: -1px; height: 2px; background: var(--ac); }
.s2r-hd { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.s2r-brand-img { height: 14px; width: auto; }
.s2r-tag { font-family: var(--hd); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; padding: 0.2rem 0.6rem; border: 1px solid var(--bdd); color: var(--tx3); white-space: nowrap; }
.s2r-panel-rb .s2r-tag { border-color: var(--ac); background: var(--ac); color: #fff; }
.s2r-ti { font-size: 1.5rem; font-weight: 700; letter-spacing: 0.06em; line-height: 1.5; }
.s2r-ds { font-size: 0.9rem; color: var(--tx3); margin-top: 0.3rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--bd); }
.s2r-list { display: flex; flex-direction: column; gap: 0.85rem; margin: 1.3rem 0; flex: 1; }
.s2r-item { display: flex; align-items: center; gap: 0.9rem; }
.s2r-ic { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--bg4); border: 1px solid var(--bdd); color: var(--txe); }
.s2r-ic .ic { width: 19px; height: 19px; }
.s2r-panel-rb .s2r-ic { background: var(--ac3); border-color: var(--ac); color: #fff; }
.s2r-item-nm { font-weight: 700; font-size: 0.95rem; color: var(--txe); line-height: 1.5; }
.s2r-item-ds { font-size: 0.8rem; color: var(--tx3); line-height: 1.6; }
.s2r-out { font-size: 0.85rem; color: var(--tx2); }
.s2r-out b { font-family: var(--hd); font-weight: 700; color: var(--ac); letter-spacing: 0.08em; margin-right: 0.5rem; }
.s2r-link { display: inline-flex; gap: 0.35rem; margin-top: 0.8rem; font-size: 0.8rem; color: var(--ac); }
.s2r-link:hover { color: var(--ac2); }
.s2r-mid { display: flex; flex-direction: column; justify-content: space-around; padding: 1.5rem 0.9rem; }
.s2r-flow { text-align: center; }
.s2r-flow-ti { font-family: var(--hd); font-weight: 700; font-size: 1.3rem; letter-spacing: 0.04em; color: var(--ac2); line-height: 1.2; }
.s2r-flow-ds { font-size: 0.72rem; color: var(--tx3); margin-top: 0.3rem; line-height: 1.6; }
.s2r-arrow { position: relative; height: 12px; margin: 0.9rem 0; }
.s2r-arrow::before { content: ""; position: absolute; left: 0; right: 6px; top: 50%; height: 1px; background: var(--ac); }
.s2r-arrow::after { content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%); border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid var(--ac); }
.s2r-arrow-rev { transform: scaleX(-1); }
.s2r-base { grid-column: 1 / -1; display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; margin-top: 1rem; padding: 1.1rem 1.6rem; background: var(--ac3); border-top: 2px solid var(--ac); }
.s2r-base .ic { color: #fff; flex-shrink: 0; }
.s2r-base-ti { font-family: var(--hd); font-weight: 700; letter-spacing: 0.14em; color: #fff; white-space: nowrap; }
.s2r-base-ds { font-size: 0.92rem; color: rgba(255, 255, 255, 0.88); line-height: 1.7; }

/* ===== 02 EVOLUTION ===== */
.evo-rows { display: flex; flex-direction: column; gap: 3.5rem; margin-top: 3.5rem; }
.evo-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 3rem; align-items: center; }
.evo-row:nth-child(even) .evo-media { order: -1; }
.evo-media { position: relative; border: 1px solid var(--bd); border-top: 2px solid var(--ac3); background: var(--bg3); aspect-ratio: 16 / 9; overflow: hidden; }
.evo-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(.2, .6, .2, 1); }
.evo-row:hover .evo-media img { transform: scale(1.03); }
.evo-row-now .evo-media { border-color: var(--ac3); border-top-color: var(--ac); }
.evo-no { display: flex; align-items: baseline; gap: 0.9rem; margin-bottom: 0.4rem; }
.evo-d { font-family: var(--hd); font-weight: 700; font-size: 3rem; line-height: 1; color: var(--tx); }
.evo-row-now .evo-d { color: var(--ac); }
.evo-en { font-family: var(--hd); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.24em; color: var(--ac); text-transform: uppercase; }
.evo-ti { font-size: 1.25rem; font-weight: 700; letter-spacing: 0.06em; margin: 0.6rem 0 0.5rem; }
.evo-ds { font-size: 0.92rem; color: var(--tx2); line-height: 1.9; }
.evo-spec { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1.2rem; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--bd); font-size: 0.82rem; }
.evo-spec dt { font-family: var(--hd); font-weight: 700; letter-spacing: 0.16em; color: var(--tx4); text-transform: uppercase; }
.evo-spec dd { color: var(--tx2); }
.evo-point { margin-top: 3.5rem; padding: 1.3rem 1.6rem; border: 1px solid var(--bd); border-left: 3px solid var(--ac); background: var(--bg2); font-size: 0.95rem; color: var(--tx2); line-height: 1.9; }
.evo-point b { font-family: var(--hd); font-weight: 700; letter-spacing: 0.2em; color: var(--ac); margin-right: 0.8rem; }

/* ===== 03 WHY ===== */
.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 3rem; }
.why-card { background: var(--bg2); border: 1px solid var(--bd); display: flex; flex-direction: column; }
.why-hd { display: flex; align-items: baseline; gap: 0.8rem; padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--bd); }
.why-no { font-family: var(--hd); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.2em; color: var(--ac); }
.why-ti { font-size: 1.08rem; font-weight: 700; }
.why-en { font-family: var(--hd); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.18em; color: var(--tx3); text-transform: uppercase; margin-left: auto; }
.why-body { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; flex: 1; }
.why-col { padding: 1.1rem 1.4rem 1.3rem; }
.why-col-lb { font-family: var(--hd); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.45rem; }
.why-col-lb::before { content: ""; width: 14px; height: 2px; background: currentColor; }
.why-col-before .why-col-lb { color: var(--tx4); }
.why-col-after { background: var(--bg3); }
.why-col-after .why-col-lb { color: var(--ac2); }
.why-col p { font-size: 0.88rem; line-height: 1.8; color: var(--tx3); }
.why-col-after p { color: var(--txe); }
.why-arrow { display: flex; align-items: center; justify-content: center; width: 30px; color: var(--ac); background: linear-gradient(90deg, var(--bg2) 50%, var(--bg3) 50%); }
.why-arrow .ic { width: 18px; height: 18px; }
.why-msg { margin-top: 2.5rem; font-family: var(--hd); font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 700; letter-spacing: 0.06em; line-height: 1.7; }
.why-msg em { font-style: normal; color: var(--ac2); }

/* ===== 04 USE CASES ===== */
.uc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; margin-top: 3rem; }
.uc { background: var(--bg2); border: 1px solid var(--bd); padding: 1.6rem 1.4rem 1.5rem; position: relative; overflow: hidden; display: flex; flex-direction: column; transition: border-color 0.3s; }
.uc::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--ac), var(--ac3)); }
.uc:hover { border-color: #3a424c; }
.uc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.3rem; }
.uc-ic { width: 46px; height: 46px; border-radius: 50%; background: var(--ac3); border: 1px solid var(--ac); display: flex; align-items: center; justify-content: center; color: #fff; }
.uc-no { font-family: var(--hd); font-weight: 700; font-size: 2rem; line-height: 1; color: var(--bdd); }
.uc-en { font-family: var(--hd); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2em; color: var(--ac); text-transform: uppercase; }
.uc-ti { font-size: 1.2rem; font-weight: 700; letter-spacing: 0.06em; margin: 0.15rem 0 0.2rem; }
.uc-lead { font-size: 0.9rem; font-weight: 500; color: var(--ac2); line-height: 1.7; margin-bottom: 0.8rem; }
.uc-ds { font-size: 0.85rem; color: var(--tx3); line-height: 1.85; flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 1.1rem; }
.chip { font-size: 0.72rem; color: var(--tx3); line-height: 1.5; padding: 0.24rem 0.55rem; background: var(--bg3); border: 1px solid var(--bd); }

/* ===== 05 ARCHITECTURE ===== */
.arch { display: grid; grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1.15fr) 22px minmax(0, 1fr); margin-top: 3.2rem; }
.arch-col { display: flex; flex-direction: column; }
.arch-tag { display: block; font-family: var(--hd); font-weight: 700; font-size: 10px; letter-spacing: 0.28em; color: var(--ac); text-transform: uppercase; margin-bottom: 0.7rem; }
.arch-tag span { color: var(--tx4); letter-spacing: 0.1em; font-weight: 400; text-transform: none; margin-left: 0.4rem; }
.arch-panel { border: 1px solid var(--bd); background: var(--bg2); padding: 0.9rem; flex: 1; display: flex; flex-direction: column; gap: 0.6rem; }
.arch-src { border: 1px solid var(--bd); background: var(--bg3); padding: 0.75rem 0.9rem; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.arch-src-nm { font-weight: 700; font-size: 0.9rem; color: var(--txe); line-height: 1.5; }
.arch-src-ds { font-size: 0.74rem; color: var(--tx3); margin-top: 0.2rem; line-height: 1.7; }
.arch-arrow { position: relative; }
.arch-arrow::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--bdd); }
.arch-arrow::after { content: ""; position: absolute; right: 1px; top: 50%; transform: translateY(-50%); border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-left: 7px solid var(--bdd); }
.arch-pf { border: 1px solid var(--ac3); background: var(--bg); padding: 1.5rem 1.2rem; flex: 1; position: relative; overflow: hidden; min-height: 460px; display: flex; flex-direction: column; }
.arch-pf-bg { position: absolute; left: 0; right: 0; bottom: 0; height: 48%; z-index: 0; -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 14%, #000 34%); mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 14%, #000 34%); }
.arch-pf-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; opacity: 0.7; }
.arch-pf-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.arch-pf-logo { width: 78%; max-width: 250px; height: auto; margin-top: 0.4rem; }
.arch-pf-sub { font-family: var(--hd); font-weight: 500; font-size: 1rem; letter-spacing: 0.06em; color: var(--txe); margin-top: 0.9rem; }
.arch-pf-desc { font-size: 0.85rem; color: var(--tx2); margin-top: 0.8rem; padding-top: 0.9rem; border-top: 1px dashed var(--bdd); line-height: 1.85; }
.arch-pf .chips { justify-content: center; margin-top: 1.2rem; }
.arch-pf .chip { background: rgba(15, 19, 25, 0.85); color: var(--txe); }
.arch-pf-foot { position: relative; z-index: 1; margin-top: auto; padding: 0.7rem 0.8rem; border: 1px solid var(--ac3); background: rgba(0, 0, 0, 0.7); font-size: 0.76rem; color: var(--txe); line-height: 1.7; text-align: center; }
.arch-pf-foot b { display: block; font-family: var(--hd); font-weight: 700; letter-spacing: 0.16em; color: var(--ac2); font-size: 0.7rem; text-transform: uppercase; }
.arch-uc { border: 1px solid var(--bd); background: var(--bg2); flex: 1; display: flex; flex-direction: column; }
.arch-uc-item { padding: 0.95rem 1rem; border-bottom: 1px solid var(--bd); flex: 1; display: flex; gap: 0.8rem; align-items: center; }
.arch-uc-item:last-child { border-bottom: none; }
.arch-uc-no { font-family: var(--hd); font-weight: 700; font-size: 1.3rem; color: var(--ac); line-height: 1; }
.arch-uc-nm { font-weight: 700; font-size: 0.95rem; color: var(--txe); line-height: 1.5; }
.arch-uc-ds { font-size: 0.74rem; color: var(--tx3); line-height: 1.7; }
.principle { display: flex; gap: 1.2rem; align-items: flex-start; margin-top: 2rem; padding: 1.2rem 1.5rem; background: var(--bg2); border: 1px solid var(--bd); border-top: 2px solid var(--ac); }
.principle-lb { font-family: var(--hd); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.24em; color: var(--ac); text-transform: uppercase; white-space: nowrap; padding-top: 0.2rem; }
.principle p { font-size: 0.9rem; color: var(--tx2); line-height: 1.85; }

/* ===== 06 HOW IT WORKS ===== */
.loop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 14px; }
.loop-step { border-top: 1px solid var(--bd); padding: 22px 4px 26px; }
.loop-step-hd { display: flex; align-items: baseline; gap: 11px; }
.loop-step-no { font-family: var(--hd); font-weight: 700; font-size: 22px; color: var(--ac); }
.loop-step-ti { font-weight: 700; font-size: 1rem; letter-spacing: 0.05em; color: var(--txe); }
.loop-step-tx { margin-top: 8px; font-size: 0.85rem; line-height: 1.9; color: var(--tx3); }
.loop-out { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; margin-top: 0.6rem; padding: 1rem 1.4rem; border: 1px solid var(--ac3); background: rgba(29, 110, 163, 0.1); font-size: 0.9rem; color: var(--txe); }
.loop-out .ic { color: var(--ac); flex-shrink: 0; }

.tl { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.75rem; }
.tl::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: linear-gradient(90deg, var(--ac3), var(--ac2)); }
.tl-item { position: relative; padding-top: 1.7rem; }
.tl-item::before { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--ac); border: 3px solid var(--bg); box-shadow: 0 0 0 2px var(--ac3); }
.tl-item-human::before { background: #fff; box-shadow: 0 0 0 2px var(--ac2); }
.tl-when { font-family: var(--hd); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; color: var(--ac); text-transform: uppercase; }
.tl-ti { font-weight: 700; font-size: 0.95rem; color: var(--txe); line-height: 1.5; margin: 0.25rem 0 0.4rem; }
.tl-tx { font-size: 0.8rem; color: var(--tx3); line-height: 1.8; }
.tl-badge { display: inline-block; margin-top: 0.5rem; font-size: 0.68rem; font-weight: 500; padding: 0.1rem 0.5rem; background: #fff; color: #000; }
.tl-note { margin-top: 2rem; font-size: 0.92rem; color: var(--tx2); }
.tl-note b { color: var(--ac2); font-weight: 500; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; }
.step { background: var(--bg2); border: 1px solid var(--bd); border-top: 2px solid var(--ac3); padding: 1.3rem 1.3rem 1.4rem; position: relative; }
.step:not(:last-child)::after { content: ""; position: absolute; right: -0.75rem; top: 50%; width: 0.75rem; height: 1px; background: var(--bdd); }
.step-no { font-family: var(--hd); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.24em; color: var(--ac); }
.step-ti { font-weight: 700; font-size: 1.05rem; margin: 0.35rem 0 0.2rem; }
.step-ds { font-size: 0.8rem; color: var(--tx3); line-height: 1.7; }
.step-q { margin-top: 1rem; padding-top: 0.8rem; border-top: 1px solid var(--bd); font-size: 0.9rem; color: var(--txe); line-height: 1.7; }

/* ===== 07 CATALOG ===== */
.dom-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; margin: 2.5rem 0 2rem; }
.dom { background: var(--bg2); border: 1px solid var(--bd); padding: 1.2rem 0.6rem; text-align: center; color: var(--tx); transition: border-color 0.3s, background 0.3s; }
.dom:hover { border-color: #3a424c; background: var(--bg3); }
.dom[aria-pressed="true"] { border-color: var(--ac); background: var(--bg3); box-shadow: 0 0 0 1px var(--ac); }
.dom-ic { height: 28px; display: flex; align-items: center; justify-content: center; margin-bottom: 0.5rem; color: #fff; }
.dom[aria-pressed="true"] .dom-ic { color: var(--ac); }
.dom-nm { display: block; font-size: 0.9rem; font-weight: 500; line-height: 1.5; }
.dom-en { display: block; font-family: var(--hd); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.16em; color: var(--tx3); margin-top: 0.35rem; text-transform: uppercase; }
.pg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.pc { background: var(--bg2); border: 1px solid var(--bd); display: flex; flex-direction: column; position: relative; overflow: hidden; transition: border-color 0.3s; }
.pc[hidden] { display: none; }
.pc::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--ac), transparent); opacity: 0; transition: opacity 0.3s; }
.pc:hover { border-color: #3a424c; }
.pc:hover::before { opacity: 1; }
.pc-img { position: relative; height: 180px; overflow: hidden; border-bottom: 1px dashed var(--bdd); background: var(--bg3); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9) brightness(0.85); transition: transform 0.6s cubic-bezier(.2, .6, .2, 1); }
.pc:hover .pc-img img { transform: scale(1.04); }
.pc-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 12, 15, 0.45), transparent 50%); pointer-events: none; }
.pc-body { display: flex; flex-direction: column; flex: 1; padding: 1.2rem 1.4rem; }
.pc-badge { align-self: flex-start; font-size: 0.72rem; font-weight: 500; padding: 0.1rem 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; background: var(--bg3); color: var(--tx3); margin-bottom: 0.65rem; }
.pc h3 { font-size: 1.05rem; font-weight: 500; color: var(--txe); margin-bottom: 0.4rem; line-height: 1.5; }
.pc .chips { flex: 1; align-content: flex-start; margin-top: 0.6rem; }
.cat-cta { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; margin-top: 2rem; background: var(--bg2); border: 1px solid var(--bd); border-top: 2px solid var(--ac); padding: 1.3rem 1.7rem; }
.cat-cta-tx { flex: 1; min-width: 220px; }
.cat-cta-ti { font-family: var(--hd); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.3em; color: var(--ac); text-transform: uppercase; }
.cat-cta-ds { font-size: 0.9rem; color: var(--tx2); margin-top: 0.15rem; }
.cat-cta .cta-btn { padding: 0.7rem 1.8rem; font-size: 0.85rem; }
/* 5項目を空きマスなく並べる: PC は上段3・下段2、タブレットは 2列で最後を横長、スマホは 1列 */
.spec-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.75rem; }
.spec { grid-column: span 2; }
.spec:nth-child(n+4) { grid-column: span 3; }
@media (max-width: 900px) { .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .spec, .spec:nth-child(n+4) { grid-column: span 1; } .spec:last-child { grid-column: span 2; } }
@media (max-width: 600px) { .spec-grid { grid-template-columns: 1fr; } .spec:last-child { grid-column: span 1; } }
.spec { background: var(--bg2); border: 1px solid var(--bd); padding: 1.1rem 1.3rem; }
.spec-hd { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.5rem; }
.spec-lb { font-family: var(--hd); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.1em; color: var(--ac); border: 1px solid var(--bd); background: var(--bg3); padding: 0.1rem 0.5rem; white-space: nowrap; }
.spec-nm { font-weight: 700; font-size: 0.95rem; }
.spec-items { font-size: 0.82rem; color: var(--tx3); line-height: 1.8; }
.spec-use { display: flex; gap: 0.5rem; margin-top: 0.6rem; padding-top: 0.6rem; border-top: 1px solid var(--bd); font-size: 0.85rem; color: var(--txe); line-height: 1.7; }
.spec-use::before { content: "→"; color: var(--ac); }

/* ===== 08 CONTACT ===== */
.close-sec { overflow: hidden; }
.close-sec::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70%; background: radial-gradient(ellipse 70% 55% at 50% 115%, rgba(48, 151, 214, 0.18), transparent); pointer-events: none; }
.close-sec .wrap { position: relative; z-index: 1; }
.close-sec .cta-row { margin-top: 2.5rem; }

/* ===== FOOTER ===== */
footer { border-top: 1px solid var(--bd2); padding: 2.5rem 2rem 2rem; text-align: center; font-size: 0.85rem; color: var(--tx3); }
.foot-logo { height: 10px; width: auto; margin: 0 auto 1.2rem; opacity: 0.7; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
  .uc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tl { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2rem; }
  .tl::before { display: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step::after { display: none; }
}
@media (max-width: 900px) {
  .s2r { grid-template-columns: 1fr; }
  .s2r-mid { flex-direction: row; gap: 1.5rem; padding: 1.2rem 0; }
  .s2r-flow { flex: 1; display: flex; flex-direction: column; align-items: center; }
  .s2r-arrow { width: 12px; height: 44px; margin: 0.6rem 0; order: 2; }
  .s2r-arrow::before { left: 50%; right: auto; top: 0; bottom: 6px; width: 1px; height: auto; }
  .s2r-arrow::after { left: 50%; right: auto; top: auto; bottom: 0; transform: translateX(-50%); border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 8px solid var(--ac); border-bottom: 0; }
  .s2r-arrow-rev { transform: scaleY(-1); }
  .s2r-flow-ti, .s2r-flow-ds { order: 1; }
  .evo-row { grid-template-columns: 1fr; gap: 1.3rem; }
  .evo-row:nth-child(even) .evo-media { order: 0; }
  .evo-media { order: -1; }
  .why-grid { grid-template-columns: 1fr; }
  .arch { grid-template-columns: 1fr; }
  .arch-arrow { height: 26px; }
  .arch-arrow::before { left: 50%; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .arch-arrow::after { left: 50%; right: auto; top: auto; bottom: 1px; transform: translateX(-50%); border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 7px solid var(--bdd); border-bottom: 0; }
  .arch-pf { min-height: 420px; }
  .loop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dom-grid { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
  .pg { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .nav { padding: 0 16px; }
  .nav-contact { display: none; }
  .menu-close { right: 12px; }
  .menu-inner { padding: 5rem 16px 3rem; }
  .hero { padding: 5rem 0 3.5rem; }
  .hero-media::after { background: linear-gradient(to top, #000 6%, rgba(0, 0, 0, 0.78) 42%, rgba(0, 0, 0, 0.6) 100%); }
  .hero h1 { font-size: 1.95rem; }
  .br-pc { display: none; }
  .pc-img { height: 150px; }
  .sec { padding: 4rem 0; }
  .sub-hd { margin-top: 3.5rem; }
  .film { margin-bottom: 3rem; }
  .film-play-ic { width: 60px; height: 60px; }
  .film-play-tx { display: none; }
  .film-cap-meta { margin-left: 0; }
  .s2r-panel { padding: 1.4rem 1.2rem; }
  .s2r-base { padding: 1rem 1.2rem; }
  .why-body { grid-template-columns: 1fr; }
  .why-arrow { width: auto; height: 26px; background: linear-gradient(180deg, var(--bg2) 50%, var(--bg3) 50%); }
  .why-arrow .ic { transform: rotate(90deg); }
  .why-en { display: none; }
  .uc-grid, .loop-grid, .steps { grid-template-columns: 1fr; }
  .tl { grid-template-columns: 1fr; row-gap: 1.6rem; padding-left: 1.8rem; }
  .tl::before { display: block; left: 7px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; background: linear-gradient(180deg, var(--ac3), var(--ac2)); }
  .tl-item { padding-top: 0; }
  .tl-item::before { left: -1.8rem; top: 0.3rem; }
  .dom-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principle { flex-direction: column; gap: 0.4rem; }
  .cat-cta .cta-btn { width: 100%; text-align: center; }
}
