/* ae-m.jp トップ 2026 デザイン v2（スクロール操作性の改善版）。v1（ae-top-2026.css）をもとに、固定表示区間の短縮・三つの領域の静的化・自社アプリの余白・スマホの通常スクロール化を変更した。見た目と文言は変えていない。 */

/* Self-hosted Noto Sans JP (variable, page subset). See ../fonts/README.txt and ../fonts/OFL.txt */
@font-face {
  font-family: 'Noto Sans JP';
  src: url('../fonts/NotoSansJP-subset.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* VK ExUnit の「ページ上部へ戻る」。このテンプレートでは他の CSS を外すため、スタイルが当たらない。非表示にする。 */
#page_top {
  display: none;
}

    :root {
      --indigo: #1C4E8B;
      --indigo-deep: #0B1B36;
      --indigo-night: #0D121D;
      --indigo-mid: #2A63A8;
      --teal: #38939D;
      --ice: #EEF3FA;
      --white: #FFFFFF;

      --ink-dark: #0D121D;
      --ink-body: #3E485B;
      --ink-muted: #6C788E;
      --ink-on-dark: #FFFFFF;
      --ink-on-dark-sub: rgba(238, 243, 250, 0.78);
      --ink-on-dark-muted: rgba(238, 243, 250, 0.56);

      --rule-light: rgba(28, 78, 139, 0.16);
      --rule-dark: rgba(238, 243, 250, 0.16);

      --container-max: 1200px;
      --side-pad: 28px;
      --header-h: 80px;
      --font-sans: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', sans-serif;

      --p: 0;
      --page-bg: #0D121D;
    }

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

    html {
      scroll-behavior: smooth;
      font-family: var(--font-sans);
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      overflow-x: clip;
      background-color: var(--indigo-night);
    }

    body {
      background-color: var(--page-bg);
      color: var(--ink-dark);
      overflow-x: clip;
      line-height: 1.6;
      transition: background-color 120ms linear;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

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

    .container {
      width: 100%;
      max-width: calc(var(--container-max) + var(--side-pad) * 2);
      margin-inline: auto;
      padding-inline: var(--side-pad);
    }

    /* ============================================================
       HEADER (Glassmorphic, adapts to Indigo / Light sections)
       ============================================================ */
    .site-header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      height: var(--header-h);
      display: flex;
      align-items: center;
      background: rgba(11, 27, 54, 0.55);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      color: var(--white);
      transition: background-color 320ms ease, color 320ms ease, border-color 320ms ease;
    }

    .site-header.is-light {
      background: rgba(255, 255, 255, 0.82);
      border-bottom-color: rgba(28, 78, 139, 0.12);
      color: var(--ink-dark);
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .brand-logo {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      flex-shrink: 0;
    }

    .brand-mark-img {
      width: 34px;
      height: 34px;
      object-fit: contain;
      flex-shrink: 0;
    }

    .brand-logo-text {
      display: flex;
      flex-direction: column;
    }

    .brand-logo-sub {
      font-size: 10px;
      line-height: 1.2;
      font-weight: 500;
      letter-spacing: 0.06em;
      opacity: 0.8;
    }

    .brand-logo-main {
      font-size: 19px;
      line-height: 1.25;
      font-weight: 700;
      letter-spacing: -0.02em;
    }

    .header-nav {
      display: inline-flex;
      align-items: center;
      gap: 32px;
      padding: 10px 26px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.12);
      transition: background-color 320ms ease, border-color 320ms ease;
    }

    .site-header.is-light .header-nav {
      background: rgba(238, 243, 250, 0.9);
      border-color: rgba(28, 78, 139, 0.12);
    }

    .header-nav a {
      position: relative;
      font-size: 14px;
      font-weight: 500;
      letter-spacing: 0.02em;
      transition: opacity 200ms ease;
    }

    .header-nav a::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -4px;
      width: 100%;
      height: 2px;
      background: var(--teal);
      transform: scaleX(0);
      transform-origin: left center;
      transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .header-nav a:hover::after,
    .header-nav a:focus-visible::after {
      transform: scaleX(1);
    }

    /* Buttons */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      height: 46px;
      padding: 0 26px;
      border-radius: 999px;
      font-size: 15px;
      font-weight: 600;
      letter-spacing: 0.02em;
      cursor: pointer;
      border: 1px solid transparent;
      transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), background-color 220ms ease, box-shadow 220ms ease, border-color 220ms ease, color 220ms ease;
    }

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

    .btn:active {
      transform: scale(0.98);
    }

    .btn--indigo {
      background: var(--indigo);
      color: var(--white);
      box-shadow: 0 8px 24px rgba(28, 78, 139, 0.32);
    }

    .btn--indigo:hover {
      background: var(--indigo-mid);
      box-shadow: 0 12px 30px rgba(28, 78, 139, 0.45);
    }

    .btn--white {
      background: var(--white);
      color: var(--indigo-deep);
      box-shadow: 0 10px 28px rgba(11, 27, 54, 0.25);
    }

    .btn--white:hover {
      background: var(--ice);
      box-shadow: 0 14px 36px rgba(11, 27, 54, 0.35);
    }

    .btn--ghost-white {
      background: rgba(255, 255, 255, 0.08);
      color: var(--white);
      border-color: rgba(255, 255, 255, 0.32);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
    }

    .btn--ghost-white:hover {
      background: rgba(255, 255, 255, 0.16);
      border-color: var(--white);
    }

    .site-header:not(.is-light) .header-cta {
      background: var(--white);
      color: var(--indigo-deep);
    }

    .site-header.is-light .header-cta {
      background: var(--indigo);
      color: var(--white);
    }

    /* ============================================================
       ENAGA NO HALO (Original 5-Layer Image Component + Rig)
       ============================================================ */
    .halo {
      position: relative;
      width: 100%;
      aspect-ratio: 960 / 962;
      cursor: pointer;
      user-select: none;
      -webkit-tap-highlight-color: transparent;
      display: block;
    }

    .halo__float {
      position: relative;
      width: 100%;
      height: 100%;
      animation: halo-float 3.6s ease-in-out infinite;
      will-change: transform;
    }

    .halo__bounce {
      position: relative;
      width: 100%;
      height: 100%;
      transform-origin: center bottom;
    }

    .halo.is-bouncing .halo__bounce {
      animation: halo-jump 580ms cubic-bezier(0.28, 0.84, 0.42, 1);
    }

    .halo__layer {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: contain;
      pointer-events: none;
    }

    .wing--ul {
      transform-origin: 25.208% 29.730%;
      animation: wing-ul .42s ease-in-out infinite alternate;
    }
    .wing--ur {
      transform-origin: 82.396% 30.249%;
      animation: wing-ur .42s ease-in-out infinite alternate;
    }
    .wing--ll {
      transform-origin: 23.750% 49.064%;
      animation: wing-ll .42s ease-in-out infinite alternate;
      animation-delay: -.14s;
    }
    .wing--lr {
      transform-origin: 84.896% 49.896%;
      animation: wing-lr .42s ease-in-out infinite alternate;
      animation-delay: -.14s;
    }

    @keyframes wing-ul {
      from { transform: rotate(-16deg); }
      to { transform: rotate(12deg); }
    }
    @keyframes wing-ur {
      from { transform: rotate(16deg); }
      to { transform: rotate(-12deg); }
    }
    @keyframes wing-ll {
      from { transform: rotate(-12deg); }
      to { transform: rotate(9deg); }
    }
    @keyframes wing-lr {
      from { transform: rotate(12deg); }
      to { transform: rotate(-9deg); }
    }

    @keyframes halo-float {
      0%, 100% { transform: translateY(0px) rotate(-1.2deg); }
      50% { transform: translateY(-16px) rotate(1.4deg); }
    }

    @keyframes halo-jump {
      0% { transform: translateY(0) scale(1, 1); }
      20% { transform: translateY(10px) scale(1.06, 0.92); }
      52% { transform: translateY(-30px) scale(0.95, 1.05); }
      80% { transform: translateY(4px) scale(1.02, 0.98); }
      100% { transform: translateY(0) scale(1, 1); }
    }

    .halo__shadow {
      position: absolute;
      left: 50%;
      bottom: -4%;
      width: 54%;
      height: 11%;
      border-radius: 50%;
      background: radial-gradient(ellipse at center, rgba(5, 12, 26, 0.48) 0%, rgba(5, 12, 26, 0) 72%);
      filter: blur(8px);
      transform: translateX(-50%);
      animation: halo-shadow 3.6s ease-in-out infinite;
      pointer-events: none;
    }

    @keyframes halo-shadow {
      0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.72; }
      50% { transform: translateX(-50%) scale(0.76); opacity: 0.36; }
    }

    /* ============================================================
       TYPOGRAPHY UTILITIES & REVEALS
       ============================================================ */
    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.14em;
      color: var(--indigo);
    }

    .eyebrow::before {
      content: '';
      width: 24px;
      height: 2px;
      background: var(--indigo);
      border-radius: 2px;
    }

    .eyebrow--on-dark {
      color: var(--teal);
    }

    .eyebrow--on-dark::before {
      background: var(--teal);
    }

    .eyebrow--white {
      color: var(--ice);
    }

    .eyebrow--white::before {
      background: var(--teal);
    }

    .section-heading {
      margin-top: 20px;
      font-size: clamp(32px, 5.2vw, 68px);
      line-height: 1.16;
      font-weight: 800;
      letter-spacing: -0.03em;
      text-wrap: balance;
    }

    .mask-line {
      display: block;
      overflow: hidden;
      padding-bottom: 0.06em;
    }

    .mask-line > span {
      display: block;
      transform: translateY(108%);
      transition: transform 820ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .is-visible .mask-line > span {
      transform: translateY(0);
    }

    .is-visible .mask-line:nth-child(2) > span {
      transition-delay: 110ms;
    }

    .reveal-up {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .reveal-up.is-visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* ============================================================
       1. HERO: 180vh Sticky Indigo Scroll Stage (v2: was 320vh)
       ============================================================ */
    .hero-track {
      position: relative;
      height: 180vh;
      --p: 0;
      background: linear-gradient(155deg, #0D121D 0%, #0B1B36 42%, #1C4E8B 100%);
      color: var(--white);
    }

    .hero-sticky {
      position: sticky;
      top: 0;
      height: 100vh;
      min-height: 640px;
      overflow: hidden;
      display: flex;
      align-items: center;
      padding-top: var(--header-h);
    }

    .hero-bg {
      position: absolute;
      inset: 0;
      pointer-events: none;
      overflow: hidden;
    }

    .hero-orb {
      position: absolute;
      border-radius: 50%;
      filter: blur(90px);
      will-change: transform;
    }

    .hero-orb--teal {
      width: 52vw;
      height: 52vw;
      max-width: 720px;
      max-height: 720px;
      top: -18%;
      right: -10%;
      background: radial-gradient(circle, rgba(56, 147, 157, 0.42) 0%, rgba(28, 78, 139, 0.14) 58%, transparent 75%);
      transform: translate(calc(var(--p) * -10%), calc(var(--p) * 14%));
    }

    .hero-orb--indigo {
      width: 60vw;
      height: 60vw;
      max-width: 820px;
      max-height: 820px;
      bottom: -24%;
      left: -14%;
      background: radial-gradient(circle, rgba(42, 99, 168, 0.48) 0%, rgba(11, 27, 54, 0.2) 60%, transparent 78%);
      transform: translate(calc(var(--p) * 12%), calc(var(--p) * -10%));
    }

    .hero-particles {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      opacity: 0.42;
      transform: translateY(calc(var(--p) * -60px));
    }

    .hero-grid {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
      align-items: center;
      gap: 24px;
      width: 100%;
    }

    .hero-copy {
      position: relative;
      z-index: 3;
    }

    .hero-kicker {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.2em;
      color: var(--teal);
    }

    .hero-kicker::before {
      content: '';
      width: 32px;
      height: 2px;
      background: var(--teal);
    }

    .hero-scenes {
      position: relative;
      margin-top: 22px;
      min-height: clamp(160px, 24vw, 280px);
    }

    .hero-scene {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
      will-change: transform, opacity;
    }

    .hero-scene--1 {
      position: relative;
    }

    .hero-scene--2,
    .hero-scene--3 {
      opacity: 0;
      pointer-events: none;
    }

    .hero-title {
      font-size: clamp(38px, 6.2vw, 86px);
      line-height: 1.12;
      font-weight: 900;
      letter-spacing: -0.035em;
      color: var(--white);
      text-wrap: balance;
    }

    .hero-title--sub {
      font-size: clamp(32px, 5vw, 68px);
      line-height: 1.18;
      font-weight: 800;
      letter-spacing: -0.03em;
      color: var(--white);
      text-wrap: balance;
    }

    .hero-title-accent {
      color: #7ED4DC;
    }

    .hero-desc {
      margin-top: 22px;
      font-size: clamp(16px, 1.4vw, 19px);
      line-height: 1.75;
      color: var(--ink-on-dark-sub);
      max-width: 520px;
    }

    .hero-actions {
      margin-top: 32px;
      display: flex;
      align-items: center;
      gap: 14px;
      flex-wrap: wrap;
    }

    .hero-halo-col {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .hero-halo-glow {
      position: absolute;
      width: min(64vh, 520px);
      height: min(64vh, 520px);
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(56, 147, 157, 0.14) 45%, transparent 72%);
      pointer-events: none;
    }

    .hero-halo-stage {
      width: clamp(300px, 64vh, 560px);
      max-width: 100%;
      will-change: transform;
    }

    .hero-progress-bar {
      position: absolute;
      left: 50%;
      bottom: 26px;
      transform: translateX(-50%);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.18em;
      color: var(--ink-on-dark-muted);
      z-index: 4;
    }

    .hero-progress-track {
      width: 64px;
      height: 2px;
      background: rgba(255, 255, 255, 0.2);
      border-radius: 2px;
      overflow: hidden;
    }

    .hero-progress-fill {
      height: 100%;
      width: 100%;
      background: var(--teal);
      transform-origin: left center;
      transform: scaleX(var(--p));
    }

    /* ============================================================
       2. INTRO MESSAGE: Sticky Line-by-Line Illumination
       ============================================================ */
    .intro-track {
      position: relative;
      height: 150vh;
      color: var(--white);
    }

    .intro-sticky {
      position: sticky;
      top: 0;
      height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding-top: var(--header-h);
    }

    .intro-inner {
      max-width: 1080px;
    }

    .intro-statement {
      margin-top: 32px;
      font-size: clamp(30px, 5.4vw, 72px);
      line-height: 1.3;
      font-weight: 800;
      letter-spacing: -0.03em;
      text-wrap: balance;
    }

    .intro-line {
      display: block;
      /* 未点灯でも読めるようにする（#1C4E8B の上で白 78% ≈ 5.8:1。v1 の 16% は 1.5:1 で見えにくかった）。点灯後は白 ≈ 8.4:1 */
      color: rgba(255, 255, 255, 0.78);
      transform: translateY(14px);
      transition: color 420ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1), text-shadow 420ms ease;
    }

    .intro-line.is-lit {
      color: var(--white);
      transform: translateY(0);
      text-shadow: 0 0 36px rgba(56, 147, 157, 0.28);
    }

    /* ============================================================
       3. BUSINESS (Light Ice/White Surface)
       ============================================================ */
    .business-section {
      position: relative;
      padding-block: 140px;
      color: var(--ink-dark);
    }

    .split-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
      gap: 72px;
      align-items: start;
    }

    .split-body {
      margin-top: 24px;
      font-size: 18px;
      line-height: 1.8;
      color: var(--ink-body);
      max-width: 560px;
    }

    .service-list {
      margin-top: 56px;
    }

    .service-item {
      position: relative;
      display: grid;
      grid-template-columns: 88px minmax(0, 1fr);
      gap: 20px;
      padding: 34px 0;
      border-top: 1px solid var(--rule-light);
      align-items: start;
    }

    .service-item:last-child {
      border-bottom: 1px solid var(--rule-light);
    }

    .service-num {
      font-size: clamp(36px, 4vw, 52px);
      line-height: 1;
      font-weight: 800;
      letter-spacing: -0.04em;
      color: var(--indigo);
      opacity: 0.24;
      will-change: transform;
      transition: opacity 260ms ease, color 260ms ease;
    }

    .service-item:hover .service-num {
      opacity: 1;
    }

    .service-title {
      font-size: 22px;
      line-height: 1.35;
      font-weight: 700;
      color: var(--ink-dark);
    }

    .service-desc {
      margin-top: 10px;
      font-size: 16px;
      line-height: 1.75;
      color: var(--ink-body);
    }

    .business-visual {
      position: sticky;
      top: 120px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 40px;
      border-radius: 32px;
      background: linear-gradient(155deg, #0D121D 0%, #1C4E8B 100%);
      box-shadow: 0 28px 70px rgba(11, 27, 54, 0.22);
      overflow: hidden;
    }

    .business-visual::before {
      content: '';
      position: absolute;
      top: -30%;
      right: -20%;
      width: 320px;
      height: 320px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(56, 147, 157, 0.35) 0%, transparent 70%);
      pointer-events: none;
    }

    .business-halo {
      position: relative;
      z-index: 1;
      width: min(360px, 82%);
    }

    /* ============================================================
       4. THREE AREAS: static 3-column grid (v2: no pinning, no scroll animation)
       ============================================================ */
    .areas-section {
      position: relative;
      padding-block: 120px;
      color: var(--white);
    }

    .areas-head {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 32px;
      margin-bottom: 48px;
    }

    .areas-lead {
      font-size: 17px;
      line-height: 1.75;
      color: var(--ink-on-dark-sub);
      max-width: 460px;
    }

    .areas-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 24px;
      align-items: stretch;
    }

    /* 見出しの「せり上がり」アニメーションも付けない（最初から表示する） */
    .areas-section .mask-line > span {
      transform: none;
      transition: none;
    }

    .area-card {
      min-width: 0;
      padding: 40px 32px;
      border-radius: 28px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.14);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      display: flex;
      flex-direction: column;
      min-height: 360px;
      transition: border-color 260ms ease, background-color 260ms ease, box-shadow 260ms ease;
    }

    .area-card:hover {
      border-color: rgba(56, 147, 157, 0.7);
      background: rgba(255, 255, 255, 0.1);
      box-shadow: 0 24px 56px rgba(0, 0, 0, 0.28);
    }

    .area-num {
      font-size: 48px;
      line-height: 1;
      font-weight: 800;
      letter-spacing: -0.04em;
      color: var(--teal);
    }

    .area-title {
      margin-top: 20px;
      font-size: 26px;
      line-height: 1.3;
      font-weight: 700;
      color: var(--white);
    }

    .area-desc {
      margin-top: 16px;
      font-size: 16px;
      line-height: 1.8;
      color: var(--ink-on-dark-sub);
      flex: 1;
    }

    .area-link {
      margin-top: 28px;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-size: 15px;
      font-weight: 600;
      color: var(--white);
      transition: color 200ms ease;
    }

    .area-link svg {
      transition: transform 220ms ease;
    }

    .area-link:hover {
      color: #7ED4DC;
    }

    .area-link:hover svg {
      transform: translateX(5px);
    }

    /* ============================================================
       5. OUR APPS: 400vh Sticky 3D Device Showcase (v2: was 760vh)
       ============================================================ */
    .apps-intro {
      padding-top: 130px;
      padding-bottom: 56px;
      color: var(--white);
    }

    .apps-intro-desc {
      margin-top: 20px;
      font-size: 18px;
      line-height: 1.8;
      color: var(--ink-on-dark-sub);
      max-width: 580px;
    }

    .showcase-track {
      position: relative;
      height: 400vh;
      color: var(--white);
    }

    /* v2: 固定される箱は中身の高さだけにする（v1 は 100vh で、中身が縦中央に置かれ、自社アプリ一覧との間に大きな空白ができた）。
       top は JS が --showcase-top に入れる（画面の縦中央。JS が無いときは 96px）。 */
    .showcase-sticky {
      position: sticky;
      top: var(--showcase-top, 96px);
      display: flex;
      align-items: center;
      padding-block: 24px;
      transition: background 600ms ease;
    }

    /* v2: 光の層は、画面と同じ高さで固定する別の層に出す（固定される箱が低くなったため、箱の中に置くと光が箱の縁で切れて見える）。 */
    .showcase-glow-layer {
      position: sticky;
      top: 0;
      height: 100vh;
      margin-bottom: -100vh;
      display: flex;
      align-items: center;
      overflow: hidden;
      pointer-events: none;
    }

    .showcase-glow {
      position: absolute;
      width: 58vw;
      height: 58vw;
      max-width: 760px;
      max-height: 760px;
      border-radius: 50%;
      filter: blur(110px);
      pointer-events: none;
      opacity: 0.45;
      transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1), background 700ms ease;
    }

    .showcase-grid {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: 200px minmax(0, 0.92fr) minmax(0, 1.25fr);
      gap: 36px;
      align-items: center;
      width: 100%;
    }

    /* Vertical Progress Nav */
    .showcase-nav {
      position: relative;
      display: flex;
      flex-direction: column;
      gap: 14px;
      padding-left: 20px;
    }

    .showcase-nav-line {
      position: absolute;
      left: 5px;
      top: 6px;
      bottom: 6px;
      width: 2px;
      background: rgba(255, 255, 255, 0.16);
      border-radius: 2px;
    }

    .showcase-nav-fill {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background: var(--teal);
      transform-origin: top center;
      transform: scaleY(0);
    }

    .showcase-nav-btn {
      position: relative;
      display: flex;
      align-items: center;
      gap: 10px;
      background: none;
      border: none;
      color: rgba(255, 255, 255, 0.46);
      font-family: inherit;
      font-size: 13px;
      font-weight: 500;
      text-align: left;
      cursor: pointer;
      padding: 2px 0;
      transition: color 220ms ease, transform 220ms ease;
    }

    .showcase-nav-btn::before {
      content: '';
      position: absolute;
      left: -19px;
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: var(--indigo-deep);
      border: 2px solid rgba(255, 255, 255, 0.32);
      transition: background-color 220ms ease, border-color 220ms ease, transform 220ms ease;
    }

    .showcase-nav-btn.is-active {
      color: var(--white);
      font-weight: 700;
    }

    .showcase-nav-btn.is-active::before {
      background: var(--teal);
      border-color: var(--white);
      transform: scale(1.25);
    }

    /* Left Copy Stack */
    .showcase-copy-col {
      position: relative;
      min-height: 300px;
      display: flex;
      align-items: center;
    }

    .showcase-copy-item {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
      opacity: 0;
      transform: translateY(32px);
      pointer-events: none;
      transition: opacity 420ms ease, transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .showcase-copy-item.is-active {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }

    .showcase-copy-item.is-past {
      opacity: 0;
      transform: translateY(-32px);
    }

    .showcase-num {
      font-size: clamp(44px, 5vw, 68px);
      line-height: 1;
      font-weight: 900;
      letter-spacing: -0.04em;
      color: rgba(255, 255, 255, 0.16);
    }

    .showcase-title {
      margin-top: 8px;
      font-size: clamp(28px, 3.2vw, 44px);
      line-height: 1.2;
      font-weight: 800;
      letter-spacing: -0.025em;
      color: var(--white);
    }

    .showcase-desc {
      margin-top: 16px;
      font-size: 16px;
      line-height: 1.8;
      color: var(--ink-on-dark-sub);
    }

    .showcase-cta {
      margin-top: 26px;
      display: inline-flex;
      align-items: center;
      gap: 12px;
      font-size: 15px;
      font-weight: 600;
      color: var(--white);
    }

    .showcase-cta-circle {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: var(--indigo);
      border: 1px solid rgba(255, 255, 255, 0.25);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: background-color 220ms ease, transform 220ms ease;
    }

    .showcase-cta:hover .showcase-cta-circle {
      background: var(--teal);
      transform: scale(1.08);
    }

    /* 3D Device Stage */
    .showcase-device-col {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      perspective: 1400px;
    }

    .device-3d {
      position: relative;
      width: 100%;
      max-width: 580px;
      transform-style: preserve-3d;
      will-change: transform;
      transition: max-width 450ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .device-3d[data-device="tablet"] {
      max-width: 480px;
    }

    .device-3d[data-device="phone"] {
      max-width: 390px;
    }

    .device-frame {
      position: relative;
      padding: 14px;
      border-radius: 22px;
      background: linear-gradient(145deg, #243858 0%, #0D121D 100%);
      border: 1px solid rgba(255, 255, 255, 0.2);
      box-shadow: 0 36px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(28, 78, 139, 0.4);
    }

    .device-3d[data-device="laptop"] .device-base {
      display: block;
    }

    .device-base {
      display: none;
      width: 108%;
      height: 14px;
      margin-left: -4%;
      margin-top: 2px;
      border-radius: 0 0 14px 14px;
      background: linear-gradient(180deg, #3a4f70 0%, #162238 100%);
      box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
    }

    .device-screen {
      position: relative;
      width: 100%;
      aspect-ratio: 16 / 10;
      border-radius: 12px;
      overflow: hidden;
      background: #0B1B36;
    }

    .device-slide {
      position: absolute;
      inset: 0;
      opacity: 0;
      transform: scale(1.04) translateY(12px);
      transition: opacity 480ms ease, transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
      display: flex;
      align-items: center;
      justify-content: center;
      background: #0D121D;
    }

    .device-slide.is-active {
      opacity: 1;
      transform: scale(1) translateY(0);
      z-index: 2;
    }

    .device-slide img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .device-slide--cover img {
      object-fit: cover;
    }

    .device-slide--ezo {
      flex-direction: column;
      gap: 16px;
      background: linear-gradient(145deg, #0D121D 0%, #153460 100%);
      padding: 28px;
    }

    .device-slide--ezo img {
      width: 140px;
      height: 140px;
      object-fit: contain;
    }

    .device-badge {
      position: absolute;
      right: 12px;
      bottom: 12px;
      padding: 5px 12px;
      border-radius: 999px;
      background: rgba(11, 27, 54, 0.82);
      border: 1px solid rgba(255, 255, 255, 0.22);
      color: var(--ice);
      font-size: 11px;
      font-weight: 500;
      backdrop-filter: blur(6px);
    }

    .device-ezo-label {
      padding: 6px 14px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: var(--ice);
      font-size: 12px;
      font-weight: 500;
    }

    /* Halo peeking beside device */
    .showcase-halo {
      position: absolute;
      right: -34px;
      bottom: -36px;
      width: 136px;
      z-index: 5;
      pointer-events: auto;
    }

    /* ============================================================
       6. IMPLEMENTATION SUPPORT (Light Surface)
       ============================================================ */
    .support-section {
      padding-block: 140px;
      color: var(--ink-dark);
    }

    .support-grid {
      display: grid;
      grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
      gap: 72px;
      align-items: start;
    }

    .support-visual {
      position: sticky;
      top: 120px;
      padding: 44px;
      border-radius: 32px;
      background: linear-gradient(155deg, #0B1B36 0%, #1C4E8B 100%);
      box-shadow: 0 28px 70px rgba(11, 27, 54, 0.2);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .support-halo {
      width: min(350px, 84%);
    }

    .closing-banner {
      margin-top: 110px;
      padding-top: 84px;
      border-top: 1px solid var(--rule-light);
      text-align: center;
    }

    .closing-phrase {
      font-size: clamp(36px, 6.4vw, 84px);
      line-height: 1.15;
      font-weight: 900;
      letter-spacing: -0.035em;
      color: var(--indigo);
    }

    /* ============================================================
       7. COMPANY INFO (Deep Indigo)
       ============================================================ */
    .company-section {
      position: relative;
      padding-block: 130px;
      color: var(--white);
      overflow: hidden;
    }

    .company-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 48px;
    }

    .company-head {
      max-width: 720px;
    }

    .company-desc {
      margin-top: 24px;
      font-size: 18px;
      line-height: 1.8;
      color: var(--ink-on-dark-sub);
    }

    .company-halo {
      width: 240px;
      flex-shrink: 0;
    }

    .company-dl {
      margin-top: 68px;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 40px 56px;
      padding-top: 48px;
      border-top: 1px solid var(--rule-dark);
    }

    .company-dt {
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.08em;
      color: var(--teal);
    }

    .company-dd {
      margin-top: 10px;
      font-size: 17px;
      line-height: 1.75;
      color: var(--white);
    }

    .company-links {
      margin-top: 10px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .company-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 16px;
      font-weight: 500;
      color: #8FD3DA;
      transition: color 200ms ease;
    }

    .company-link:hover {
      color: var(--white);
    }

    /* ============================================================
       8. CONSULTATION FLOW (Light Surface)
       ============================================================ */
    .flow-section {
      padding-block: 130px;
      color: var(--ink-dark);
    }

    .flow-lead {
      margin-top: 20px;
      font-size: 18px;
      line-height: 1.8;
      color: var(--ink-body);
      max-width: 560px;
    }

    .flow-list {
      margin-top: 64px;
    }

    .flow-item {
      display: grid;
      grid-template-columns: 96px minmax(0, 1fr);
      gap: 24px;
      padding: 36px 0;
      border-top: 1px solid var(--rule-light);
      align-items: start;
    }

    .flow-item:last-child {
      border-bottom: 1px solid var(--rule-light);
    }

    .flow-circle {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      border: 2px solid var(--indigo);
      color: var(--indigo);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      font-weight: 800;
      transition: background-color 240ms ease, color 240ms ease, transform 240ms ease;
    }

    .flow-item:hover .flow-circle {
      background: var(--indigo);
      color: var(--white);
      transform: scale(1.08);
    }

    .flow-title {
      font-size: clamp(24px, 3vw, 36px);
      line-height: 1.25;
      font-weight: 800;
      letter-spacing: -0.02em;
      color: var(--ink-dark);
    }

    .flow-desc {
      margin-top: 12px;
      font-size: 17px;
      line-height: 1.75;
      color: var(--ink-body);
    }

    /* ============================================================
       9. FINAL CONTACT CTA (Full Indigo + Halo + Large White Button)
       ============================================================ */
    .contact-cta {
      position: relative;
      padding: 120px 0 140px;
      background: linear-gradient(155deg, #0D121D 0%, #0B1B36 45%, #1C4E8B 100%);
      color: var(--white);
      overflow: hidden;
      text-align: center;
    }

    .contact-cta::before {
      content: '';
      position: absolute;
      top: -20%;
      right: -10%;
      width: 520px;
      height: 520px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(56, 147, 157, 0.34) 0%, transparent 70%);
      pointer-events: none;
    }

    .contact-cta-inner {
      position: relative;
      z-index: 2;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .contact-halo {
      width: 280px;
      max-width: 72vw;
    }

    .btn-contact-xl {
      margin-top: 32px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 18px;
      min-height: 92px;
      padding: 22px 68px;
      border-radius: 999px;
      background: var(--white);
      color: var(--indigo-deep);
      font-size: clamp(22px, 2.8vw, 34px);
      font-weight: 800;
      letter-spacing: -0.01em;
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
      transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1), background-color 200ms ease, box-shadow 200ms ease;
    }

    .btn-contact-xl:hover {
      background: var(--ice);
      transform: translateY(-4px);
      box-shadow: 0 30px 72px rgba(0, 0, 0, 0.45);
    }

    .btn-contact-xl svg {
      transition: transform 220ms ease;
    }

    .btn-contact-xl:hover svg {
      transform: translateX(6px);
    }

    /* ============================================================
       FOOTER
       ============================================================ */
    .site-footer {
      background: var(--indigo-night);
      color: var(--ink-on-dark-sub);
      padding: 64px 0 48px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 36px;
      align-items: end;
    }

    .footer-label {
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.08em;
      color: var(--teal);
    }

    .footer-link {
      margin-top: 12px;
      display: inline-flex;
      align-items: baseline;
      gap: 8px;
      font-size: 19px;
      font-weight: 600;
      color: var(--white);
      transition: color 200ms ease;
    }

    .footer-link:hover {
      color: #8FD3DA;
    }

    .footer-link-sub {
      font-size: 13px;
      font-weight: 400;
      color: var(--ink-on-dark-muted);
    }

    .footer-brand {
      margin-top: 40px;
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .footer-brand-img {
      width: 38px;
      height: 38px;
      object-fit: contain;
    }

    .footer-brand-name {
      font-size: 20px;
      font-weight: 700;
      color: var(--white);
    }

    .footer-right {
      text-align: right;
    }

    .footer-legal {
      display: inline-flex;
      align-items: center;
      gap: 20px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    .footer-legal a {
      font-size: 14px;
      color: #8FD3DA;
      transition: color 200ms ease;
    }

    .footer-legal a:hover {
      color: var(--white);
    }

    .footer-copy {
      margin-top: 20px;
      font-size: 13px;
      color: var(--ink-on-dark-muted);
    }

    /* ============================================================
       RESPONSIVE (Mobile 390px+)
       ============================================================ */
    @media (max-width: 1024px) {
      .showcase-grid {
        grid-template-columns: 1fr;
        gap: 24px;
      }

      .showcase-nav {
        flex-direction: row;
        overflow-x: auto;
        padding-left: 0;
        padding-bottom: 8px;
        gap: 16px;
        scrollbar-width: none;
      }

      .showcase-nav::-webkit-scrollbar { display: none; }
      .showcase-nav-line, .showcase-nav-btn::before { display: none; }

      .showcase-copy-col {
        min-height: 210px;
        order: 3;
      }

      .showcase-device-col {
        order: 2;
      }

      .showcase-halo {
        width: 96px;
        right: -8px;
        bottom: -20px;
      }

      .split-grid,
      .support-grid {
        grid-template-columns: 1fr;
        gap: 48px;
      }

      .business-visual,
      .support-visual {
        position: relative;
        top: 0;
      }
    }

    @media (max-width: 820px) {
      :root {
        --side-pad: 20px;
        --header-h: 68px;
      }

      .header-nav {
        display: none;
      }

      .brand-logo-main {
        font-size: 16px;
      }

      .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 16px;
      }

      .hero-kicker {
        justify-content: center;
      }

      .hero-scenes {
        min-height: 130px;
      }

      .hero-desc {
        margin-inline: auto;
        font-size: 15px;
      }

      .hero-actions {
        justify-content: center;
      }

      .hero-halo-stage {
        width: clamp(220px, 42vh, 320px);
      }

      .areas-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        margin-bottom: 28px;
      }


      .business-section,
      .support-section,
      .company-section,
      .flow-section {
        padding-block: 88px;
      }

      .service-item {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 14px;
      }

      .company-top {
        flex-direction: column;
        align-items: flex-start;
      }

      .company-halo {
        width: 190px;
      }

      .company-dl {
        grid-template-columns: 1fr;
        gap: 28px;
      }

      .flow-item {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 16px;
      }

      .btn-contact-xl {
        width: 100%;
        min-height: 76px;
        padding: 18px 28px;
      }

      .footer-grid {
        grid-template-columns: 1fr;
      }

      .footer-right {
        text-align: left;
      }

      .footer-legal {
        justify-content: flex-start;
      }
    }

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

      .hero-track,
      .intro-track,
      .showcase-track {
        height: auto !important;
      }

      .hero-sticky,
      .intro-sticky {
        position: relative !important;
        height: auto !important;
        padding-block: 88px;
      }

      .showcase-sticky {
        position: relative !important;
        top: auto !important;
        height: auto !important;
        min-height: 0 !important;
        padding-block: 24px;
      }

      .showcase-glow-layer {
        position: absolute !important;
        inset: 0;
        height: auto !important;
        margin-bottom: 0 !important;
      }

      .intro-line {
        color: var(--white) !important;
        transform: none !important;
      }

      .mask-line > span,
      .reveal-up,
      .m-fade {
        opacity: 1 !important;
        transform: none !important;
      }
    }
      /* ===== Hoshu revisions (post-generation) ===== */
    /* indigo as the main surface */
    .hero-track{background:radial-gradient(110% 100% at 76% 42%,#2A63A8 0%,#1C4E8B 36%,#143D70 66%,#0D121D 100%) !important}
    .hero-orb--teal{background:radial-gradient(circle,rgba(56,147,157,.5) 0%,rgba(28,78,139,.2) 58%,transparent 75%) !important}
    .hero-orb--indigo{background:radial-gradient(circle,rgba(70,128,205,.6) 0%,rgba(28,78,139,.25) 60%,transparent 78%) !important}
    .contact-cta{background:radial-gradient(100% 120% at 50% 38%,#2A63A8 0%,#1C4E8B 45%,#12346A 100%) !important}
    .showcase-glow{opacity:.7 !important}
    /* Japanese line breaking */
    h1,h2,h3,.hero-title,.hero-title--sub,.intro-line,.section-heading,p,li{word-break:auto-phrase;line-break:strict}
    .hero-title{font-size:clamp(34px,4.5vw,66px) !important;white-space:nowrap}
    .hero-title--sub{font-size:clamp(30px,3.7vw,54px) !important;white-space:nowrap}
    .hero-desc{text-wrap:pretty;max-width:560px}
    .area-num,.showcase-num{color:#A8E6EC !important}
    .hero-kicker,.eyebrow--on-dark,.eyebrow--white{color:#A8E6EC !important}
    @media (min-width: 1025px){.showcase-grid{grid-template-columns:170px minmax(0,.8fr) minmax(0,1.55fr) !important}}
    @media (max-width: 1024px){.showcase-nav-btn{white-space:nowrap;flex-shrink:0}}
    .showcase-desc{font-size:17px;line-height:1.8}
    @media (max-width: 1024px){.showcase-desc{font-size:15px}}
    @media (max-width: 899px){
      .hero-title{font-size:min(8.4vw,40px) !important}
      .hero-title--sub{font-size:min(7vw,32px) !important}
    }
  
    /* ===== App banner slider (run5, smaller cards) ===== */
    .apps-intro { padding-bottom: 48px; }
    .app-banner-slider {
      margin-top: 44px;
      position: relative;
    }
    .app-banner-toolbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 16px;
    }
    .app-banner-label {
      margin: 0;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.14em;
      color: #A8E6EC;
    }
    .app-banner-arrows {
      display: flex;
      gap: 8px;
    }
    .app-banner-arrow {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      border: 1px solid rgba(238, 243, 250, 0.28);
      background: rgba(28, 78, 139, 0.55);
      color: #FFFFFF;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: background 160ms ease, border-color 160ms ease, opacity 160ms ease;
    }
    .app-banner-arrow:hover:not(:disabled) {
      background: #1C4E8B;
      border-color: #A8E6EC;
    }
    .app-banner-arrow:disabled {
      opacity: 0.35;
      cursor: default;
    }
    .app-banner-arrow:focus-visible {
      outline: 2px solid #A8E6EC;
      outline-offset: 3px;
    }
    .app-banner-rail {
      display: flex;
      gap: 12px;
      overflow-x: auto;
      overflow-y: hidden;
      scroll-snap-type: x mandatory;
      scroll-padding-inline: 0;
      -webkit-overflow-scrolling: touch;
      padding: 4px 2px 12px;
      cursor: grab;
      scrollbar-width: none;
    }
    .app-banner-rail::-webkit-scrollbar { display: none; height: 0; }
    .app-banner-rail.is-dragging {
      cursor: grabbing;
      scroll-snap-type: none;
    }
    .app-banner {
      flex: 0 0 210px;
      scroll-snap-align: start;
      scroll-snap-stop: always;
      background: linear-gradient(180deg, rgba(42, 99, 168, 0.42) 0%, rgba(11, 27, 54, 0.72) 100%);
      border: 1px solid rgba(238, 243, 250, 0.16);
      border-radius: 12px;
      overflow: hidden;
      color: var(--white);
      display: flex;
      flex-direction: column;
      min-height: 100%;
      box-shadow: 0 10px 28px rgba(11, 27, 54, 0.28);
      transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
    }
    .app-banner:hover,
    .app-banner:focus-visible {
      border-color: rgba(168, 230, 236, 0.7);
      transform: translateY(-4px);
      box-shadow: 0 16px 36px rgba(11, 27, 54, 0.42);
      outline: none;
    }
    .app-banner-thumb {
      position: relative;
      aspect-ratio: 16 / 9;
      background: #0B1B36;
      overflow: hidden;
    }
    .app-banner-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .app-banner--ezo .app-banner-thumb {
      display: flex;
      align-items: center;
      justify-content: center;
      background: radial-gradient(circle at 50% 42%, #2A63A8 0%, #1C4E8B 38%, #0B1B36 100%);
    }
    .app-banner--ezo .app-banner-thumb img {
      width: 46%;
      height: auto;
      object-fit: contain;
    }
    .app-banner-badge {
      position: absolute;
      left: 8px;
      bottom: 8px;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.02em;
      padding: 2px 6px;
      border-radius: 999px;
      background: rgba(13, 18, 29, 0.78);
      color: #EEF3FA;
    }
    .app-banner-body {
      padding: 10px 12px 12px;
      display: flex;
      flex-direction: column;
      flex: 1;
    }
    .app-banner-num {
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.08em;
      color: #A8E6EC;
    }
    .app-banner-name {
      margin: 2px 0 6px;
      font-size: 15px;
      line-height: 1.3;
      font-weight: 800;
      letter-spacing: -0.02em;
      color: #FFFFFF;
    }
    .app-banner-desc {
      margin: 0;
      font-size: 11px;
      line-height: 1.5;
      color: rgba(238, 243, 250, 0.78);
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      line-clamp: 2;
      overflow: hidden;
    }
    .app-banner-cta {
      margin-top: auto;
      padding-top: 8px;
      font-size: 11px;
      font-weight: 700;
      color: #A8E6EC;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .app-banner-cta svg { transition: transform 160ms ease; }
    .app-banner:hover .app-banner-cta svg { transform: translateX(4px); }
    @media (max-width: 820px) {
      .apps-intro { padding-top: 88px; padding-bottom: 40px; }
      .app-banner-slider { margin-top: 28px; }
      .app-banner { flex-basis: min(188px, 48vw); }
      .app-banner-name { font-size: 14px; }
    }
    @media (prefers-reduced-motion: reduce) {
      .app-banner,
      .app-banner-arrow,
      .app-banner-cta svg { transition: none !important; }
      .app-banner:hover { transform: none; }
    }

  

    /* ============================================================
       v2 追加分
       ============================================================ */

    /* ページ内ナビ（ヒーローの直下）。ヘッダーのナビと同じ丸いピル形。 */
    #service, #areas, #products, #future, #company {
      scroll-margin-top: calc(var(--header-h) + 8px);
    }

    .section-nav {
      position: relative;
      z-index: 3;
      padding: 22px 0 8px;
      color: var(--white);
    }

    .section-nav-list {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
      list-style: none;
    }

    .section-nav-list a {
      display: inline-flex;
      align-items: center;
      min-height: 42px;
      padding: 0 20px;
      border-radius: 999px;
      font-size: 14px;
      font-weight: 600;
      letter-spacing: 0.02em;
      color: var(--white);
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.18);
      transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
    }

    .section-nav-list a:hover {
      background: rgba(255, 255, 255, 0.16);
      border-color: var(--white);
    }

    .section-nav-list a:focus-visible {
      outline: 2px solid #A8E6EC;
      outline-offset: 3px;
    }

    .section-nav-list a.is-current {
      background: var(--white);
      border-color: var(--white);
      color: var(--indigo-deep);
    }

    /* タブレット横向き（821〜1024px）: 3D の箱が縦 1 列になり、固定される箱が画面より高くなるため、端末の幅を少し小さくして画面に収める。 */
    @media (min-width: 821px) and (max-width: 1024px) {
      .device-3d { max-width: 480px; }
      .device-3d[data-device="tablet"] { max-width: 440px; }
      .device-3d[data-device="phone"] { max-width: 340px; }
    }

    /* スマホ用の自社アプリ（横スワイプ）。PC では出さない。 */
    .showcase-swipe {
      display: none;
    }

    @media (max-width: 820px) {
      /* --- 固定表示をやめる（通常のスクロール） --- */
      .hero-track {
        height: auto;
      }

      .hero-sticky {
        position: relative;
        height: auto;
        min-height: 640px;
        min-height: max(640px, 100svh);
      }

      .hero-scene--2,
      .hero-scene--3 {
        display: none;
      }

      .hero-scene--1 {
        opacity: 1 !important;
        transform: none !important;
      }

      .hero-halo-stage {
        transform: none !important;
      }

      .intro-track {
        height: auto;
      }

      .intro-sticky {
        position: relative;
        height: auto;
        padding-block: 96px;
      }

      [data-parallax-num] {
        transform: none !important;
      }

      /* --- 三つの領域: 1 列 --- */
      .areas-section {
        padding-block: 88px;
      }

      .areas-grid {
        grid-template-columns: 1fr;
        gap: 16px;
      }

      .area-card {
        padding: 30px 24px;
        min-height: 0;
      }

      .area-title {
        font-size: 24px;
      }

      /* --- ページ内ナビ: 横に流す --- */
      .section-nav {
        padding: 16px 0 4px;
      }

      .section-nav-list {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 6px;
        scrollbar-width: none;
      }

      .section-nav-list::-webkit-scrollbar {
        display: none;
      }

      .section-nav-list a {
        flex: 0 0 auto;
        white-space: nowrap;
      }

      /* --- 自社アプリ: 横スワイプ（scroll-snap） --- */
      .showcase-track {
        display: none;
      }

      .showcase-swipe {
        display: block;
        padding-bottom: 72px;
        color: var(--white);
      }

      .showcase-swipe-rail {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        padding: 4px var(--side-pad) 16px;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: var(--side-pad);
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
      }

      .showcase-swipe-rail::-webkit-scrollbar {
        display: none;
      }

      .showcase-swipe-rail:focus-visible {
        outline: 2px solid #A8E6EC;
        outline-offset: -2px;
      }

      .swipe-card {
        flex: 0 0 min(86vw, 420px);
        scroll-snap-align: start;
        scroll-snap-stop: always;
        display: flex;
        flex-direction: column;
        gap: 22px;
        min-width: 0;
      }

      .swipe-card .device-frame {
        padding: 10px;
        border-radius: 18px;
        box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(28, 78, 139, 0.4);
      }

      .swipe-card .device-slide {
        opacity: 1;
        transform: none;
      }

      .swipe-card .showcase-title {
        margin-top: 10px;
      }

      .swipe-card .showcase-cta {
        margin-top: 20px;
      }

      .swipe-meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding-inline: var(--side-pad);
        margin-top: 4px;
      }

      .swipe-hint {
        font-size: 12px;
        letter-spacing: 0.04em;
        color: var(--ink-on-dark-muted);
      }

      .swipe-dots {
        display: flex;
        gap: 8px;
      }

      .swipe-dots span {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(238, 243, 250, 0.28);
        transition: background-color 200ms ease, transform 200ms ease;
      }

      .swipe-dots span.is-active {
        background: #A8E6EC;
        transform: scale(1.25);
      }

      /* --- ブロックが画面に入ったときの、簡単なフェードイン（JS が .m-fade を付け、IntersectionObserver で .is-in を付ける） --- */
      .m-fade {
        opacity: 0;
        transform: translateY(18px);
        transition: opacity 600ms ease, transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
      }

      .m-fade.is-in {
        opacity: 1;
        transform: none;
      }
    }

    /* v2 追記（2026-12-06）: 導入見出しの未点灯を明るくした件は上の .intro-line を直接変更。
       ヘッダー・フッターのロゴマーク（濃い紺〜ティール）が暗い背景で見えにくいので、白い角丸の下地を敷く。形と色はそのまま。明るいヘッダー（.is-light）では下地は不要。 */
    .site-header:not(.is-light) .brand-mark-img,
    .footer-brand-img {
      background: #FFFFFF;
      border-radius: 8px;
      padding: 3px 4px;
      box-sizing: content-box;
    }
