/* ==========================================================
   ZEFACT Corporate Site — style.css
   ========================================================== */
:root {
  --ink: #070b16;
  --navy: #0b1224;
  --panel: #111a33;
  --white: #ffffff;
  --bg: #f6f7fa;
  --red: #e60012;
  --red-deep: #b60005;
  --blue: #4da3ff;
  --cyan: #39d0ff;
  --text: #1c2333;
  --text-light: rgba(255, 255, 255, 0.82);
  --muted: #6f7787;
  --muted-light: rgba(255, 255, 255, 0.55);
  --line: #e3e6ee;
  --line-light: rgba(255, 255, 255, 0.12);
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-en: "Manrope", "Noto Sans JP", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 84px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-jp);
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  font-feature-settings: "palt";
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
em { font-style: normal; }
/* Phrase unit: Japanese headings only break between .ph spans, never inside them */
.ph { display: inline-block; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 5vw; }
.pc { display: inline; }
@media (max-width: 768px) { .pc { display: none; } }

::selection { background: var(--red); color: #fff; }

/* ==========================================================
   Preloader
   ========================================================== */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.7s var(--ease-out), visibility 0.7s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { text-align: center; }
.preloader__logo {
  width: 200px; margin: 0 auto 28px;
  opacity: 0; transform: translateY(14px);
  animation: preLogo 0.9s var(--ease-out) 0.1s forwards;
}
@keyframes preLogo { to { opacity: 1; transform: none; } }
.preloader__bar {
  width: 200px; height: 2px; margin: 0 auto;
  background: rgba(10, 15, 30, 0.1); overflow: hidden; border-radius: 2px;
}
.preloader__bar span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--red), #ff5a3c);
  animation: preBar 1s var(--ease-out) 0.25s forwards;
}
@keyframes preBar { to { width: 100%; } }

/* ==========================================================
   Header
   ========================================================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background 0.4s, box-shadow 0.4s, transform 0.5s var(--ease-out);
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); padding: 0 clamp(20px, 4vw, 48px);
}
.header__logo { position: relative; display: block; width: 168px; flex-shrink: 0; z-index: 1002; }
.header__logo-img { width: 100%; transition: opacity 0.4s; }
/* Light site: color logo everywhere; white logo only inside the mobile menu overlay */
.header__logo-img--light { position: absolute; inset: 0; opacity: 0; }
.header.is-solid, .header--solid { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(10, 15, 30, 0.06); }

.gnav { display: flex; align-items: center; gap: 32px; }
.gnav__list { display: flex; gap: clamp(16px, 2.2vw, 34px); }
.gnav__list a {
  position: relative; font-size: 14px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--text); transition: color 0.4s; padding: 8px 0;
}
.gnav__list a::after {
  content: ""; position: absolute; left: 0; bottom: 2px; width: 100%; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.gnav__list a:hover::after { transform: scaleX(1); transform-origin: left; }
.gnav__cta { font-size: 13px; }

/* Hamburger */
.menu-btn {
  display: none; position: relative; z-index: 1002;
  width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer;
}
.menu-btn span {
  position: absolute; left: 12px; width: 24px; height: 2px; background: var(--text);
  transition: transform 0.4s var(--ease-out), background 0.4s, top 0.4s;
}
.menu-btn span:nth-child(1) { top: 19px; }
.menu-btn span:nth-child(2) { top: 27px; }
.menu-btn[aria-expanded="true"] span { background: #fff; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .menu-btn { display: block; }
  .gnav {
    position: fixed; inset: 0; z-index: 1001;
    background: rgba(7, 11, 22, 0.96); backdrop-filter: blur(16px);
    flex-direction: column; justify-content: center; gap: 40px;
    opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease-out), visibility 0.5s;
  }
  .gnav.is-open { opacity: 1; visibility: visible; }
  .gnav__list { flex-direction: column; text-align: center; gap: 22px; }
  .gnav__list a { color: #fff !important; font-size: 18px; }
  /* Dark menu overlay: swap to the white logo and white hamburger */
  .header.menu-open .header__logo-img--light { opacity: 1; }
  .header.menu-open .header__logo-img--dark { opacity: 0; }
  /* backdrop-filter would turn the header into the containing block for the
     fixed fullscreen overlay — disable it while the menu is open */
  .header.menu-open {
    background: transparent; box-shadow: none;
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
}

/* ==========================================================
   Buttons & links
   ========================================================== */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 34px; font-size: 14px; font-weight: 700; letter-spacing: 0.06em;
  border-radius: 999px; overflow: hidden; transition: color 0.35s, border-color 0.35s, transform 0.3s;
  isolation: isolate; white-space: nowrap;
}
.btn--lg { padding: 19px 44px; font-size: 15px; }
.btn--red { background: linear-gradient(120deg, var(--red), var(--red-deep)); color: #fff; }
.btn--red::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, #0d1224, #232c4d);
  transform: translateX(-101%); transition: transform 0.45s var(--ease-expo);
}
.btn--red:hover::before { transform: translateX(0); }
.btn--ghost { border: 1px solid rgba(28, 35, 51, 0.35); color: var(--text); background: rgba(255, 255, 255, 0.6); }
.btn--ghost::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: translateY(101%); transition: transform 0.45s var(--ease-expo);
}
.btn--ghost:hover { color: #fff; border-color: var(--ink); }
.btn--ghost:hover::before { transform: translateY(0); }
.btn__arrow {
  width: 17px; height: 12px; position: relative; flex-shrink: 0;
  transition: transform 0.35s var(--ease-out);
}
.btn__arrow::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px;
  background: currentColor; transform: translateY(-50%); border-radius: 1px;
}
.btn__arrow::after {
  content: ""; position: absolute; right: 1px; top: 50%; width: 6px; height: 6px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.btn:hover .btn__arrow { transform: translateX(6px); }

.text-link {
  display: inline-flex; align-items: center; gap: 14px;
  font-weight: 700; font-size: 15px; letter-spacing: 0.04em; color: var(--text);
  padding-bottom: 6px; position: relative;
}
.text-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; opacity: 0.3; transition: opacity 0.3s;
}
.text-link:hover::after { opacity: 1; }
.text-link i {
  width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%;
  position: relative; transition: background 0.35s, border-color 0.35s; flex-shrink: 0;
}
.text-link i::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  /* -85% centers the chevron glyph (its visual center sits at +diag/4 of the box) */
  transform: translate(-85%, -50%) rotate(45deg); transition: color 0.35s;
}
.text-link:hover i { background: var(--red); border-color: var(--red); color: #fff; }

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  background: #f2f5f9; color: var(--text); overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg-img {
  width: 100%; height: 115%; object-fit: cover; opacity: 1;
  will-change: transform;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__grid-lines {
  position: absolute; inset: 0; opacity: 0.5;
  background-image:
    linear-gradient(rgba(20, 40, 80, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 40, 80, 0.05) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 75%);
}
/* Light veil: keeps the left text column readable over the bright video */
.hero__vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(246, 249, 252, 0.94) 0%, rgba(246, 249, 252, 0.82) 34%, rgba(246, 249, 252, 0.35) 62%, rgba(246, 249, 252, 0.05) 100%),
    linear-gradient(180deg, rgba(246, 249, 252, 0.6) 0%, transparent 22%, transparent 70%, #fff 100%);
}
.hero__inner {
  position: relative; z-index: 2; width: 100%;
  max-width: 1160px; margin: 0 auto; padding: calc(var(--header-h) + 40px) 5vw 120px;
}
.hero__badge {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-en); font-size: 13px; font-weight: 700; letter-spacing: 0.34em;
  color: var(--muted); margin-bottom: 30px;
  opacity: 0; animation: fadeUp 0.9s var(--ease-out) 1.15s forwards;
}
.hero__badge-line {
  width: 54px; height: 2px;
  background: linear-gradient(90deg, var(--red), var(--cyan));
}
.hero__title {
  font-size: clamp(38px, 6.6vw, 84px); font-weight: 900; line-height: 1.28;
  letter-spacing: 0.015em; margin-bottom: 34px;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .ph { white-space: nowrap; }
.hero__title .char {
  display: inline-block; transform: translateY(110%);
  animation: charUp 0.85s var(--ease-expo) forwards;
}
.hero__title em {
  background: linear-gradient(100deg, #ff2f22 5%, var(--red) 45%, #2b7fff 115%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
@keyframes charUp { to { transform: translateY(0); } }
.hero__lead {
  font-size: clamp(14px, 1.35vw, 17px); color: #3c4353; line-height: 2.1;
  margin-bottom: 44px;
  opacity: 0; animation: fadeUp 0.9s var(--ease-out) 1.3s forwards;
}
.hero__actions {
  display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 72px;
  opacity: 0; animation: fadeUp 0.9s var(--ease-out) 1.45s forwards;
}
.hero__features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 10px;
  max-width: 860px; overflow: hidden;
  box-shadow: 0 18px 44px -22px rgba(15, 30, 70, 0.18);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero__features li {
  background: rgba(255, 255, 255, 0.78); padding: 22px 26px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUpIn 0.8s var(--ease-out) calc(1.6s + var(--d) * 0.12s) forwards;
  transition: background 0.35s;
}
.hero__features li:hover { background: rgba(255, 255, 255, 0.98); }
.hero__features b {
  display: block; font-family: var(--font-en); font-size: 17px; font-weight: 800;
  letter-spacing: 0.02em; margin-bottom: 4px; color: var(--text);
}
.hero__features b::before {
  content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px;
  background: linear-gradient(135deg, var(--red), #2b7fff);
  margin-right: 10px; vertical-align: 1px;
}
.hero__features span { font-size: 12.5px; color: var(--muted); line-height: 1.6; display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fadeUpIn { to { opacity: 1; transform: none; } }

.hero__scroll {
  position: absolute; right: clamp(20px, 4vw, 48px); bottom: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-family: var(--font-en); font-size: 10px; letter-spacing: 0.3em; color: var(--muted);
}
.hero__scroll span { writing-mode: vertical-rl; }
.hero__scroll i {
  width: 1px; height: 72px; background: rgba(20, 30, 60, 0.16); position: relative; overflow: hidden;
}
.hero__scroll i::after {
  content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%;
  background: var(--red); animation: scrollLine 2s var(--ease-out) infinite;
}
@keyframes scrollLine { 0% { top: -100%; } 55% { top: 0; } 100% { top: 100%; } }

@media (max-width: 768px) {
  .hero__features { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
}

/* ==========================================================
   Marquee
   ========================================================== */
.marquee {
  background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 19px 0; overflow: hidden; position: relative;
}
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, #fff, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee__group span {
  font-family: var(--font-en); font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.32em; color: #9aa3b5;
  padding: 0 34px; white-space: nowrap; transition: color 0.4s;
}
.marquee__group span:hover { color: var(--text); }
.marquee__group i {
  width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0;
  background: var(--red); opacity: 0.55; font-size: 0; font-style: normal;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================
   Sections common
   ========================================================== */
.section { padding: clamp(90px, 11vw, 150px) 0; position: relative; }
.section--compact { padding: clamp(36px, 4.5vw, 64px) 0; }
.section--dark { background: var(--ink); color: #fff; }
.section--gray { background: var(--bg); }

.section-head { margin-bottom: clamp(48px, 6vw, 80px); max-width: 820px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head__en {
  font-family: var(--font-en); font-size: 13px; font-weight: 800; letter-spacing: 0.3em;
  color: var(--red); margin-bottom: 18px; display: flex; align-items: center; gap: 14px;
}
.section-head--center .section-head__en { justify-content: center; }
.section-head__en::before { content: ""; width: 34px; height: 2px; background: var(--red); }
.section-head--center .section-head__en::before { display: none; }
.section-head__title {
  font-size: clamp(28px, 4.2vw, 48px); font-weight: 900; line-height: 1.42; letter-spacing: 0.02em;
}
.section-head__title em { color: var(--red); }
.section-head--light .section-head__title em {
  background: linear-gradient(100deg, #ff4b3e, var(--cyan));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.section-head__lead { margin-top: 26px; font-size: 15px; color: var(--muted); line-height: 2.1; }
.section--dark .section-head__lead { color: var(--muted-light); }
.section-head__lead b { color: inherit; font-weight: 700; }
.section--dark .section-head__lead b { color: #fff; }

/* Reveal animation */
[data-reveal], [data-reveal-group] > * {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--rd, 0s);
}
.is-inview[data-reveal], [data-reveal-group].is-inview > * { opacity: 1; transform: none; }

/* ==========================================================
   About
   ========================================================== */
.about__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px);
  align-items: center; margin-bottom: clamp(70px, 8vw, 110px);
}
.about__catch { font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; line-height: 1.7; margin-bottom: 26px; }
.about__desc { font-size: 15px; color: var(--muted); margin-bottom: 20px; }
.about__text .text-link { margin-top: 14px; }
.about__visual { position: relative; }
.about__img-wrap {
  position: relative; overflow: hidden; border-radius: 6px;
  aspect-ratio: 4 / 3;
  box-shadow: 0 30px 60px -20px rgba(10, 18, 40, 0.35);
}
.about__img-wrap img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.about__img-wrap video { width: 100%; height: 100%; object-fit: cover; }
.about__img-deco {
  position: absolute; right: -26px; bottom: -26px; width: 55%; height: 55%;
  border: 2px solid var(--red); border-radius: 6px; z-index: -1; opacity: 0.5;
}
/* Mobile: keep the offset frame inside the viewport (iOS pans horizontally otherwise) */
@media (max-width: 860px) {
  .about__img-deco { right: 0; }
}
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } }

.about__points {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
  counter-reset: pt; margin-bottom: clamp(70px, 8vw, 100px);
}
.about__point {
  position: relative; padding: 34px 0 0; border-top: 1px solid var(--line);
  transition: border-color 0.4s;
}
.about__point::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 1px;
  background: var(--red); transition: width 0.8s var(--ease-out) 0.3s;
}
.is-inview .about__point::before { width: 100%; }
.about__point-num {
  font-family: var(--font-en); font-size: 15px; font-weight: 800; color: var(--red);
  display: block; margin-bottom: 14px;
}
.about__point h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; line-height: 1.6; }
.about__point p { font-size: 14px; color: var(--muted); }
@media (max-width: 768px) { .about__points { grid-template-columns: 1fr; } }

.about__stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
}
.stat {
  padding: 40px 20px; text-align: center; background: #fff;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; }
.stat__value {
  display: block; font-family: var(--font-en); font-size: clamp(34px, 4vw, 48px);
  font-weight: 800; line-height: 1.2; letter-spacing: 0.01em;
}
.stat__value em { color: var(--red); }
.stat__label { font-size: 13px; color: var(--muted); margin-top: 6px; display: block; }
@media (max-width: 640px) {
  .about__stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
}

/* ==========================================================
   AI Trend (dark)
   ========================================================== */
.trend { overflow: hidden; }
.trend__bg { position: absolute; inset: 0; opacity: 0.22; pointer-events: none; }
.trend__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--ink) 0%, transparent 30%, transparent 60%, var(--ink) 100%);
}
.trend__bg img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.trend .container { position: relative; z-index: 1; }

/* Timeline */
.timeline {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px;
  margin-bottom: clamp(70px, 8vw, 110px); padding-top: 24px;
}
.timeline__line {
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--line-light); overflow: hidden; border-radius: 2px;
}
.timeline__progress {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--red), var(--cyan));
  transition: width 0.2s linear;
}
.timeline__item { position: relative; padding-top: 26px; }
.timeline__item::before {
  content: ""; position: absolute; top: -5px; left: 0; width: 12px; height: 12px;
  border-radius: 50%; background: var(--ink); border: 2px solid var(--muted-light);
  transition: border-color 0.4s, box-shadow 0.4s;
}
.timeline__item--now::before {
  border-color: var(--red); box-shadow: 0 0 0 6px rgba(230, 0, 18, 0.18);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(230, 0, 18, 0.35); }
  70% { box-shadow: 0 0 0 12px rgba(230, 0, 18, 0); }
  100% { box-shadow: 0 0 0 0 rgba(230, 0, 18, 0); }
}
.timeline__year {
  font-family: var(--font-en); font-size: 26px; font-weight: 800; letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.timeline__year small { font-size: 13px; font-weight: 700; margin-left: 4px; color: var(--muted-light); }
.timeline__item--now .timeline__year { color: var(--cyan); }
.timeline__item h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; line-height: 1.6; }
.timeline__desc { font-size: 13.5px; color: var(--muted-light); margin-bottom: 16px; }
.timeline__tag {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em;
  padding: 5px 14px; border: 1px solid var(--line-light); border-radius: 999px;
  color: var(--text-light);
}
.timeline__item--now .timeline__tag { border-color: rgba(57, 208, 255, 0.5); color: var(--cyan); }
@media (max-width: 960px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }

/* Player cards */
.players {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin-bottom: clamp(70px, 8vw, 110px);
}
.player-card {
  position: relative; padding: 34px 30px 38px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-light);
  border-radius: 10px; overflow: hidden;
  transition: transform 0.5s var(--ease-out), background 0.5s, border-color 0.5s;
}
.player-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--red), var(--cyan));
  transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-out);
}
.player-card:hover { transform: translateY(-8px); background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.22); }
.player-card:hover::before { transform: scaleX(1); }
.player-card__name {
  font-family: var(--font-en); font-size: 12px; font-weight: 800; letter-spacing: 0.26em;
  color: var(--cyan); margin-bottom: 16px;
}
.player-card h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 12px; line-height: 1.6; }
.player-card p { font-size: 13.5px; color: var(--muted-light); }
@media (max-width: 860px) { .players { grid-template-columns: 1fr; } }

/* How-to */
.howto {
  background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line-light);
  border-radius: 14px; padding: clamp(34px, 5vw, 60px);
}
.howto__en {
  font-family: var(--font-en); font-size: 12px; font-weight: 800; letter-spacing: 0.28em;
  color: var(--red); margin-bottom: 16px;
}
.howto__title { font-size: clamp(20px, 2.4vw, 27px); font-weight: 800; line-height: 1.6; margin-bottom: 16px; }
.howto__desc { font-size: 14px; color: var(--muted-light); max-width: 760px; margin-bottom: 34px; }
.howto__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.howto__steps li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 13.5px; font-weight: 500; line-height: 1.7;
  padding: 20px; background: rgba(7, 11, 22, 0.5); border-radius: 10px;
  border: 1px solid transparent; transition: border-color 0.4s;
}
.howto__steps li:hover { border-color: rgba(57, 208, 255, 0.35); }
.howto__steps span {
  font-family: var(--font-en); font-size: 15px; font-weight: 800; color: #fff;
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  display: grid; place-items: center;
}
@media (max-width: 960px) { .howto__steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .howto__steps { grid-template-columns: 1fr; } }

/* ==========================================================
   Commitment
   ========================================================== */
.commit__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.commit-card {
  position: relative; padding: 40px 32px 100px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}
.commit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 50px -18px rgba(12, 20, 45, 0.18);
}
.commit-card__step {
  font-family: var(--font-en); font-size: 26px; font-weight: 800; color: var(--red);
  margin-bottom: 20px;
}
.commit-card__step span { font-size: 12px; letter-spacing: 0.2em; color: var(--muted); font-weight: 700; }
.commit-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 12px; }
.commit-card p { font-size: 14px; color: var(--muted); }
.commit-card__icon {
  position: absolute; right: 22px; bottom: 22px; width: 54px; height: 54px;
  border-radius: 12px; opacity: 0.9;
  background: linear-gradient(135deg, rgba(230, 0, 18, 0.08), rgba(57, 208, 255, 0.1));
  transition: transform 0.5s var(--ease-out);
}
.commit-card:hover .commit-card__icon { transform: rotate(8deg) scale(1.08); }
.commit-card__icon::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 24px; height: 24px;
  border: 2px solid var(--red); border-radius: 4px;
}
.commit-card__icon--strategy::after { border-radius: 50%; }
.commit-card__icon--operation::after { transform: rotate(45deg); }
.commit__more { text-align: center; margin-top: 54px; }
@media (max-width: 860px) { .commit__grid { grid-template-columns: 1fr; } }

/* ==========================================================
   Services
   ========================================================== */
.services { overflow: hidden; }
.services__deco {
  position: absolute; top: 0; right: -8%; width: 46%; height: 60%;
  opacity: 0.5; pointer-events: none;
  mask-image: linear-gradient(215deg, #000 30%, transparent 80%);
  -webkit-mask-image: linear-gradient(215deg, #000 30%, transparent 80%);
}
.services__deco img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.services .container { position: relative; z-index: 1; }
.services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card {
  position: relative; display: block; padding: 44px 40px 56px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; transition: transform 0.15s linear, box-shadow 0.5s, border-color 0.5s;
  transform-style: preserve-3d; will-change: transform;
}
.service-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(230, 0, 18, 0.05), rgba(57, 208, 255, 0.07));
  opacity: 0; transition: opacity 0.5s;
}
.service-card:hover { box-shadow: 0 30px 60px -22px rgba(12, 20, 45, 0.22); border-color: rgba(230, 0, 18, 0.25); }
.service-card:hover::before { opacity: 1; }
.service-card__en {
  font-family: var(--font-en); font-size: 11.5px; font-weight: 800; letter-spacing: 0.26em;
  color: var(--red); margin-bottom: 18px;
}
.service-card h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 800; margin-bottom: 14px; }
.service-card p { font-size: 14px; color: var(--muted); max-width: 90%; }
.service-card__num {
  position: absolute; top: 26px; right: 32px;
  font-family: var(--font-en); font-size: 52px; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(28, 35, 51, 0.14);
  transition: -webkit-text-stroke-color 0.4s, color 0.4s;
}
.service-card:hover .service-card__num { color: rgba(230, 0, 18, 0.1); -webkit-text-stroke-color: rgba(230, 0, 18, 0.35); }
.service-card__arrow {
  position: absolute; right: 32px; bottom: 28px; width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 50%;
  transition: background 0.4s, border-color 0.4s;
}
.service-card__arrow::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px;
  border-top: 1.5px solid var(--text); border-right: 1.5px solid var(--text);
  transform: translate(-85%, -50%) rotate(45deg); transition: border-color 0.4s;
}
.service-card:hover .service-card__arrow { background: var(--red); border-color: var(--red); }
.service-card:hover .service-card__arrow::after { border-color: #fff; }
@media (max-width: 768px) { .services__grid { grid-template-columns: 1fr; } .services__deco { display: none; } }

/* ==========================================================
   Contact
   ========================================================== */
.contact { overflow: hidden; background: var(--bg); }
.contact__glow {
  position: absolute; left: 50%; top: -30%; transform: translateX(-50%);
  width: 1100px; height: 700px; pointer-events: none;
  background:
    radial-gradient(ellipse 45% 45% at 40% 50%, rgba(230, 0, 18, 0.06), transparent 70%),
    radial-gradient(ellipse 45% 45% at 65% 45%, rgba(43, 127, 255, 0.07), transparent 70%);
  animation: glowFloat 9s ease-in-out infinite alternate;
}
@keyframes glowFloat {
  from { transform: translateX(-54%) translateY(0); }
  to { transform: translateX(-46%) translateY(40px); }
}
.contact .container { position: relative; z-index: 1; }
.contact__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
  max-width: 980px; margin: 0 auto;
}
.contact-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 16px; text-align: center; overflow: hidden;
  box-shadow: 0 14px 40px -24px rgba(15, 30, 70, 0.16);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -26px rgba(15, 30, 70, 0.28); }
.contact-card__media {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #eef1f6;
}
.contact-card__media video, .contact-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.contact-card:hover .contact-card__media video,
.contact-card:hover .contact-card__media img { transform: scale(1.04); }
.contact-card__body { padding: clamp(28px, 3.4vw, 40px); }
.contact-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 12px; color: var(--text); }
.contact-card p { font-size: 13.5px; color: var(--muted); margin-bottom: 26px; min-height: 3.4em; }
@media (max-width: 720px) { .contact__grid { grid-template-columns: 1fr; } .contact-card p { min-height: 0; } }

/* ==========================================================
   Footer
   ========================================================== */
.footer {
  background: #05080f; color: #fff; padding: clamp(60px, 7vw, 90px) 0 36px;
  position: relative; overflow: hidden;
}
/* Faint red aura behind the centered Z watermark */
.footer::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 720px; height: 720px; pointer-events: none;
  background: radial-gradient(circle, rgba(230, 0, 18, 0.07), transparent 65%);
}
/* Z mark: faint centered background */
.footer__watermark {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(300px, 36vw, 520px); pointer-events: none;
  opacity: 0.1;
}
.footer__watermark img { width: 100%; }
.footer .container { position: relative; z-index: 1; }
.footer__top {
  display: flex; justify-content: space-between; gap: 50px; flex-wrap: wrap;
  padding-bottom: 50px; border-bottom: 1px solid var(--line-light); margin-bottom: 30px;
}
.footer__logo { width: 190px; margin-bottom: 22px; }
.footer__brand p { font-size: 13px; color: var(--muted-light); line-height: 2; }
.footer__nav { display: flex; gap: clamp(36px, 6vw, 90px); flex-wrap: wrap; }
.footer__nav ul { display: flex; flex-direction: column; gap: 14px; }
.footer__nav-title {
  font-family: var(--font-en); font-size: 17px; font-weight: 800; letter-spacing: 0.06em;
  color: #fff; margin-bottom: 4px;
}
.footer__nav a {
  font-size: 13.5px; color: var(--text-light); transition: color 0.3s; position: relative;
}
.footer__nav a:hover { color: #fff; }
.footer__policy a { font-size: 12.5px; color: var(--muted-light); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer__bottom small { font-size: 11.5px; color: var(--muted-light); letter-spacing: 0.05em; }
.to-top {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-en); font-size: 11px; font-weight: 800; letter-spacing: 0.2em;
  color: #fff; background: none; border: 0; cursor: pointer; padding: 6px 0;
}
.to-top i {
  width: 34px; height: 34px; border: 1px solid var(--line-light); border-radius: 50%;
  position: relative; transition: background 0.35s, border-color 0.35s;
}
.to-top i::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px;
  border-top: 1.5px solid #fff; border-left: 1.5px solid #fff;
  /* -15% centers the up-chevron glyph (its visual center sits at -diag/4 of the box) */
  transform: translate(-50%, -15%) rotate(45deg);
}
.to-top:hover i { background: var(--red); border-color: var(--red); }

/* ==========================================================
   Subpages
   ========================================================== */
.gnav__list a.is-active::after { transform: scaleX(1); transform-origin: left; }

/* --- Page hero --- */
.page-hero {
  position: relative; display: flex; align-items: flex-end;
  min-height: clamp(480px, 66vh, 700px);
  background: #f2f5f9; overflow: hidden;
  padding-top: var(--header-h);
}
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img, .page-hero__bg video { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.page-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 11, 22, 0.14) 0%, rgba(7, 11, 22, 0.04) 28%, rgba(7, 11, 22, 0.42) 68%, rgba(7, 11, 22, 0.62) 100%);
}
.page-hero__inner {
  position: relative; z-index: 1; width: 100%;
  max-width: 1160px; margin: 0 auto;
  padding: 30px 5vw clamp(48px, 6.5vh, 76px);
}
.page-hero__en {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-en); font-size: 13px; font-weight: 800; letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.85); margin-bottom: 20px;
  opacity: 0; animation: fadeUp 0.9s var(--ease-out) 0.15s forwards;
}
.page-hero__en::before { content: ""; width: 34px; height: 2px; background: var(--red); }
.page-hero__title {
  font-size: clamp(30px, 4.8vw, 56px); font-weight: 900; line-height: 1.42;
  letter-spacing: 0.02em; color: #fff;
  text-shadow: 0 2px 30px rgba(7, 11, 22, 0.35);
  opacity: 0; animation: fadeUp 0.9s var(--ease-out) 0.3s forwards;
}
.page-hero__title em { color: #ff4b3e; }
.page-hero__lead {
  margin-top: 24px; font-size: 15px; color: rgba(255, 255, 255, 0.9); line-height: 2.1;
  text-shadow: 0 1px 18px rgba(7, 11, 22, 0.4);
  opacity: 0; animation: fadeUp 0.9s var(--ease-out) 0.45s forwards;
}
@media (max-width: 768px) {
  .page-hero__bg::after {
    background:
      linear-gradient(180deg, rgba(7, 11, 22, 0.28) 0%, rgba(7, 11, 22, 0.18) 35%, rgba(7, 11, 22, 0.62) 100%);
  }
}

/* --- AI page hero (dark) --- */
.page-hero--ai { background: var(--ink); }
.page-hero--ai .page-hero__bg::after {
  background:
    radial-gradient(ellipse 60% 55% at 76% 34%, rgba(230, 0, 18, 0.12), transparent 65%),
    linear-gradient(90deg, rgba(7, 11, 22, 0.82) 0%, rgba(7, 11, 22, 0.55) 42%, rgba(7, 11, 22, 0.15) 100%),
    linear-gradient(180deg, rgba(7, 11, 22, 0.4) 0%, transparent 30%, rgba(7, 11, 22, 0.75) 100%);
}
.page-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-hero--ai .page-hero__en { color: rgba(255, 255, 255, 0.8); }
.page-hero--ai .page-hero__title em {
  background: linear-gradient(100deg, #ff4b3e 10%, var(--cyan) 110%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.page-hero__terminal {
  margin-top: 34px; display: inline-block;
  font-family: "SF Mono", "Menlo", "Consolas", monospace;
  font-size: 12.5px; letter-spacing: 0.06em;
  color: rgba(120, 220, 255, 0.75);
  padding: 10px 18px; border: 1px solid rgba(120, 220, 255, 0.22); border-radius: 6px;
  background: rgba(10, 20, 40, 0.55);
  opacity: 0; animation: fadeUp 0.9s var(--ease-out) 0.6s forwards;
}
.page-hero__prompt { color: var(--red); }
.page-hero__cursor { animation: cursorBlink 1.1s steps(1) infinite; }
@keyframes cursorBlink { 50% { opacity: 0; } }

/* --- AI approach (dark) --- */
.approach { overflow: hidden; }
.approach__glow {
  position: absolute; left: 50%; bottom: -40%; transform: translateX(-50%); pointer-events: none;
  width: 1200px; height: 700px;
  background:
    radial-gradient(ellipse 40% 45% at 38% 50%, rgba(230, 0, 18, 0.1), transparent 70%),
    radial-gradient(ellipse 40% 45% at 64% 50%, rgba(57, 208, 255, 0.08), transparent 70%);
}
.approach .container { position: relative; z-index: 1; }
.approach__grid {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.approach__grid::before {
  content: ""; position: absolute; top: 44px; left: 6%; right: 6%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(120, 220, 255, 0.3) 20%, rgba(230, 0, 18, 0.35) 80%, transparent);
}
.approach-card {
  position: relative; padding: 36px 30px 40px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-light);
  border-radius: 12px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform 0.5s var(--ease-out), border-color 0.5s, background 0.5s, box-shadow 0.5s;
}
.approach-card:hover {
  transform: translateY(-8px);
  border-color: rgba(120, 220, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 50px -20px rgba(0, 40, 90, 0.5);
}
.approach-card__num {
  font-family: var(--font-en); font-size: 44px; font-weight: 800; line-height: 1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ff4b3e, var(--cyan));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.approach-card__en {
  font-family: var(--font-en); font-size: 11px; font-weight: 800; letter-spacing: 0.26em;
  color: var(--cyan); margin-bottom: 12px;
}
.approach-card h3 { font-size: 18.5px; font-weight: 800; margin-bottom: 10px; }
.approach-card p { font-size: 13.5px; color: var(--muted-light); }
@media (max-width: 860px) {
  .approach__grid { grid-template-columns: 1fr; }
  .approach__grid::before { display: none; }
}

/* --- Quad points (AI integration) --- */
.about__points--quad {
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(60px, 7vw, 90px); margin-bottom: 0;
}
@media (max-width: 960px) { .about__points--quad { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .about__points--quad { grid-template-columns: 1fr; } }

/* --- Governance (dark) --- */
.govern { overflow: hidden; }
.govern__bg { position: absolute; inset: 0; opacity: 0.14; pointer-events: none; }
.govern__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--ink) 0%, transparent 35%, transparent 65%, var(--ink) 100%);
}
.govern__bg img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.govern .container { position: relative; z-index: 1; }

/* --- Light timeline (roadmap) --- */
.timeline--light { margin-bottom: 0; }
.timeline--light .timeline__line { background: #dde2ec; }
.timeline--light .timeline__item::before { background: var(--bg); border-color: #c3cad8; }
.timeline--light .timeline__item--now::before { border-color: var(--red); }
.timeline--light .timeline__year { color: var(--text); }
.timeline--light .timeline__year small { color: var(--muted); }
.timeline--light .timeline__item--now .timeline__year { color: var(--red); }
.timeline--light .timeline__desc { color: var(--muted); }
.timeline--light .timeline__tag { border-color: var(--line); color: var(--muted); background: #fff; }
.timeline--light .timeline__item--now .timeline__tag { border-color: rgba(230, 0, 18, 0.4); color: var(--red); }

/* --- AI CTA duo --- */
.ai-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ai-cta { flex-direction: column; align-items: flex-start; gap: 22px; }
.ai-cta__desc { font-size: 13.5px; color: rgba(255, 255, 255, 0.6); line-height: 1.9; margin-top: 12px; }
.btn--ghost-dark { border-color: rgba(255, 255, 255, 0.45); color: #fff; background: transparent; }
.btn--ghost-dark::before { background: #fff; }
.btn--ghost-dark:hover { color: var(--ink); border-color: #fff; }
@media (max-width: 860px) { .ai-cta-grid { grid-template-columns: 1fr; } }

/* --- Services hero: AI agent chips --- */
.page-hero__agents {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 34px;
  opacity: 0; animation: fadeUp 0.9s var(--ease-out) 0.6s forwards;
}
.page-hero__agents li {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-en); font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  color: #fff; padding: 9px 18px; border-radius: 999px;
  background: rgba(10, 18, 36, 0.55); border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.page-hero__agents li i {
  width: 9px; height: 9px; border-radius: 50%; background: var(--c, #fff);
  box-shadow: 0 0 10px var(--c, #fff);
  animation: agentPulse 2.2s ease-in-out infinite;
}
.page-hero__agents li:nth-child(2) i { animation-delay: 0.4s; }
.page-hero__agents li:nth-child(3) i { animation-delay: 0.8s; }
@keyframes agentPulse { 50% { opacity: 0.45; box-shadow: 0 0 3px var(--c, #fff); } }
.page-hero__agents-note {
  font-family: var(--font-jp) !important; font-size: 12px !important; font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.75) !important;
  background: transparent !important; border: 0 !important; padding-left: 4px !important;
}

/* --- Business portfolio --- */
.portfolio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.portfolio-card {
  position: relative; padding: 38px 32px 42px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}
.portfolio-card:hover { transform: translateY(-8px); box-shadow: 0 26px 52px -20px rgba(12, 20, 45, 0.16); }
.portfolio-card__en {
  font-family: var(--font-en); font-size: 11.5px; font-weight: 800; letter-spacing: 0.24em;
  color: var(--muted); margin-bottom: 16px;
}
.portfolio-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.portfolio-card p { font-size: 14px; color: var(--muted); }
.portfolio-card--core {
  background: linear-gradient(150deg, #0a0f1e 25%, #16203f 100%);
  border-color: rgba(230, 0, 18, 0.35); color: #fff; overflow: hidden;
}
.portfolio-card--core::before {
  content: ""; position: absolute; right: -30%; top: -40%; width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(230, 0, 18, 0.25), transparent 65%);
}
.portfolio-card--core .portfolio-card__en { color: var(--cyan); }
.portfolio-card--core p { color: rgba(255, 255, 255, 0.65); }
.portfolio-card__badge {
  display: inline-block; font-family: var(--font-en); font-size: 10.5px; font-weight: 800;
  letter-spacing: 0.22em; color: #fff; padding: 6px 14px; border-radius: 999px;
  background: linear-gradient(120deg, var(--red), var(--red-deep)); margin-bottom: 18px;
}
@media (max-width: 860px) { .portfolio { grid-template-columns: 1fr; } }

/* --- Service detail cards --- */
.sv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.sv-card {
  position: relative; padding: 42px 38px 40px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s, border-color 0.5s;
}
.sv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 54px -22px rgba(12, 20, 45, 0.18);
  border-color: rgba(230, 0, 18, 0.22);
}
.sv-card__num {
  position: absolute; top: 22px; right: 28px;
  font-family: var(--font-en); font-size: 50px; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(28, 35, 51, 0.13);
  transition: color 0.4s, -webkit-text-stroke-color 0.4s;
}
.sv-card:hover .sv-card__num { color: rgba(230, 0, 18, 0.08); -webkit-text-stroke-color: rgba(230, 0, 18, 0.32); }
.sv-card__en {
  font-family: var(--font-en); font-size: 11px; font-weight: 800; letter-spacing: 0.24em;
  color: var(--red); margin-bottom: 14px;
}
.sv-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 12px; }
.sv-card > p { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.sv-card__list li {
  position: relative; padding: 9px 0 9px 30px;
  font-size: 13.5px; color: var(--text); line-height: 1.7;
  border-top: 1px dashed var(--line);
}
.sv-card__list li::before {
  content: ""; position: absolute; left: 4px; top: 15px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--red); border-bottom: 2px solid var(--red);
  transform: rotate(-45deg);
}
/* Full-width feature card: AI video / creative */
.sv-card--feature {
  grid-column: 1 / -1;
  background: linear-gradient(115deg, #0a0f1e 30%, #141d3a 78%, #1a1030 100%);
  border-color: rgba(230, 0, 18, 0.3); overflow: hidden;
}
.sv-card--feature::before {
  content: ""; position: absolute; right: -12%; top: -60%; pointer-events: none;
  width: 560px; height: 460px; opacity: 1;
  background:
    radial-gradient(ellipse 42% 55% at 42% 55%, rgba(230, 0, 18, 0.2), transparent 70%),
    radial-gradient(ellipse 42% 55% at 64% 45%, rgba(43, 127, 255, 0.16), transparent 70%);
}
.sv-card--feature:hover { border-color: rgba(230, 0, 18, 0.5); }
.sv-card--feature .sv-card__en { color: var(--cyan); }
.sv-card--feature h3 { color: #fff; }
.sv-card--feature > p { color: rgba(255, 255, 255, 0.65); max-width: 100%; }
.sv-card--feature .sv-card__num { -webkit-text-stroke-color: rgba(255, 255, 255, 0.22); }
.sv-card--feature:hover .sv-card__num { color: rgba(230, 0, 18, 0.25); -webkit-text-stroke-color: rgba(255, 90, 80, 0.5); }
.sv-card--feature .sv-card__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.sv-card--feature .sv-card__list li { color: rgba(255, 255, 255, 0.85); border-top-color: rgba(255, 255, 255, 0.14); }
.sv-card__proof {
  position: relative; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  margin-top: 22px; padding: 13px 18px;
  font-size: 12.5px; color: rgba(255, 255, 255, 0.8); line-height: 1.8;
  border: 1px solid rgba(120, 220, 255, 0.25); border-radius: 8px;
  background: rgba(10, 20, 40, 0.55);
}
.sv-card__proof span {
  font-family: var(--font-en); font-size: 10.5px; font-weight: 800; letter-spacing: 0.24em;
  color: var(--cyan); flex-shrink: 0;
}
@media (max-width: 860px) { .sv-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .sv-card--feature .sv-card__list { grid-template-columns: 1fr; } }

/* --- Corporate hero --- */
.page-hero--corp { background: var(--ink); }
/* Narrow screens: crop toward the right skyline so Tokyo Skytree stays in frame */
@media (max-width: 768px) {
  .page-hero--corp .page-hero__bg video { object-position: 80% center; }
}
.page-hero--corp .page-hero__bg::after {
  background:
    linear-gradient(90deg, rgba(7, 11, 22, 0.66) 0%, rgba(7, 11, 22, 0.35) 45%, rgba(7, 11, 22, 0.08) 100%),
    linear-gradient(180deg, rgba(7, 11, 22, 0.3) 0%, transparent 30%, rgba(7, 11, 22, 0.6) 100%);
}

/* --- Corporate profile table --- */
.corp-layout {
  display: grid; grid-template-columns: 0.85fr 1.6fr;
  gap: clamp(40px, 6vw, 90px); align-items: start;
}
.corp-layout__head { position: sticky; top: calc(var(--header-h) + 30px); }
.corp-layout__lead { font-size: 14px; color: var(--muted); line-height: 2; margin-bottom: 30px; }
.corp-table { border-top: 2px solid var(--ink); }
.corp-table__row {
  display: grid; grid-template-columns: 220px 1fr; gap: 20px;
  padding: 22px 8px; border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}
.corp-table__row:hover { background: rgba(43, 127, 255, 0.03); }
.corp-table__row dt {
  position: relative; padding-left: 18px;
  font-size: 13.5px; font-weight: 700; color: var(--text); line-height: 1.9;
}
.corp-table__row dt::before {
  content: ""; position: absolute; left: 2px; top: 11px;
  width: 7px; height: 7px; border-radius: 2px;
  background: linear-gradient(135deg, var(--red), #2b7fff);
}
.corp-table__row dd { font-size: 14.5px; color: #2a3143; line-height: 1.9; }
.corp-table__link {
  color: #1d5fd6; font-weight: 600;
  border-bottom: 1px solid rgba(29, 95, 214, 0.35);
  transition: color 0.3s, border-color 0.3s;
}
.corp-table__link::after {
  content: ""; display: inline-block; width: 10px; height: 10px; margin: 0 2px 0 6px;
  background: currentColor;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12"><path fill="black" d="M4 1h7v7H9.5V3.56L2.53 10.53 1.47 9.47 8.44 2.5H4V1z"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12"><path fill="black" d="M4 1h7v7H9.5V3.56L2.53 10.53 1.47 9.47 8.44 2.5H4V1z"/></svg>') center / contain no-repeat;
}
.corp-table__link:hover { color: var(--red); border-color: rgba(230, 0, 18, 0.4); }
.corp-table__note { display: inline-block; margin-left: 8px; font-size: 12px; color: var(--muted); }
.corp-table__list li {
  position: relative; padding-left: 16px; margin-bottom: 6px;
}
.corp-table__list li:last-child { margin-bottom: 0; }
.corp-table__list li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 6px; height: 1.5px; background: var(--red);
}
@media (max-width: 860px) {
  .corp-layout { grid-template-columns: 1fr; }
  .corp-layout__head { position: static; }
  .corp-table__row { grid-template-columns: 1fr; gap: 6px; padding: 18px 4px; }
}

/* --- Access: full-width map + info bar below --- */
.access-section { padding: clamp(56px, 6.5vw, 96px) 0; }
.section-head--tight { margin-bottom: clamp(28px, 3.5vw, 44px); }
.section--tight-top { padding-top: clamp(48px, 5.5vw, 76px); }
.access2 {
  border-radius: 20px; overflow: hidden; background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 28px 64px -30px rgba(15, 30, 70, 0.25);
}
.access2__map { position: relative; height: clamp(320px, 38vw, 460px); }
.access2__map iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: grayscale(0.92) contrast(1.02);
  transition: filter 0.7s;
}
.access2:hover .access2__map iframe { filter: grayscale(0); }
.access2__bar {
  position: relative;
  display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); flex-wrap: wrap;
  padding: clamp(22px, 2.6vw, 32px) clamp(22px, 3vw, 40px);
}
.access2__bar::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), #2b7fff);
}
.access2__en {
  font-family: var(--font-en); font-size: 10.5px; font-weight: 800; letter-spacing: 0.24em;
  color: var(--muted); margin-bottom: 4px;
}
.access2__place h3 { font-size: 19px; font-weight: 900; white-space: nowrap; }
.access2__detail { flex: 1; min-width: 240px; }
.access2__address { font-size: 14px; color: #2a3143; line-height: 1.8; }
.access2__tel {
  font-family: var(--font-en); font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--muted); margin-top: 4px;
}
.access2__tel a { color: var(--text); }
.access2__btn { padding: 13px 28px; font-size: 13px; flex-shrink: 0; }
@media (max-width: 640px) {
  .access2__map iframe { filter: grayscale(0); }
  .access2__bar { align-items: flex-start; flex-direction: column; gap: 14px; }
}

/* --- Contact hero --- */
.page-hero--contact .page-hero__bg video { object-position: 66% center; }
/* On narrow screens the 66% crop pushes her off to the left — recentre on her */
@media (max-width: 768px) {
  .page-hero--contact .page-hero__bg video { object-position: 42% center; }
}
.page-hero--contact .page-hero__bg::after {
  background:
    linear-gradient(90deg, rgba(7, 11, 22, 0.6) 0%, rgba(7, 11, 22, 0.34) 42%, rgba(7, 11, 22, 0.05) 75%),
    linear-gradient(180deg, rgba(7, 11, 22, 0.22) 0%, transparent 30%, rgba(7, 11, 22, 0.5) 100%);
}

/* --- Inquiry type cards --- */
.inq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.inq-card {
  position: relative; text-align: left; cursor: pointer;
  padding: 34px 30px 38px; font-family: inherit;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s, border-color 0.5s;
}
.inq-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg, var(--red), #2b7fff);
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease-out);
}
.inq-card:hover, .inq-card.is-selected {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -20px rgba(12, 20, 45, 0.18);
  border-color: rgba(230, 0, 18, 0.3);
}
.inq-card:hover::before, .inq-card.is-selected::before { transform: scaleX(1); }
.inq-card__en {
  font-family: var(--font-en); font-size: 11px; font-weight: 800; letter-spacing: 0.26em;
  color: var(--red); margin-bottom: 12px;
}
.inq-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; color: var(--text); }
.inq-card > p:not(.inq-card__en) { font-size: 13.5px; color: var(--muted); line-height: 1.8; }
.inq-card__arrow {
  position: absolute; right: 24px; top: 24px; width: 38px; height: 38px;
  border: 1px solid var(--line); border-radius: 50%;
  transition: background 0.4s, border-color 0.4s;
}
.inq-card__arrow::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px;
  border-right: 1.5px solid var(--text); border-bottom: 1.5px solid var(--text);
  transform: translate(-50%, -70%) rotate(45deg); transition: border-color 0.4s;
}
.inq-card:hover .inq-card__arrow, .inq-card.is-selected .inq-card__arrow { background: var(--red); border-color: var(--red); }
.inq-card:hover .inq-card__arrow::after, .inq-card.is-selected .inq-card__arrow::after { border-color: #fff; }
@media (max-width: 860px) { .inq-grid { grid-template-columns: 1fr; } }

/* --- Contact form --- */
.form-card {
  max-width: 880px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: clamp(30px, 4.5vw, 60px);
  box-shadow: 0 24px 60px -30px rgba(15, 30, 70, 0.18);
}
.contact-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px 24px;
}
.contact-form .full { grid-column: 1 / -1; }
.form-field label {
  display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 10px; color: var(--text);
}
.form-field label span {
  display: inline-block; margin-left: 8px;
  font-size: 10.5px; font-weight: 700; color: #fff;
  background: var(--red); border-radius: 4px; padding: 2px 8px;
  vertical-align: 1px;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 16px;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  -webkit-appearance: none; appearance: none;
}
.form-field select {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 8"><path fill="none" stroke="%236f7787" stroke-width="1.6" d="M1 1.5l5 5 5-5"/></svg>');
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px;
  cursor: pointer;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--red); background: #fff;
  box-shadow: 0 0 0 3px rgba(230, 0, 18, 0.08);
}
.form-field textarea { resize: vertical; min-height: 180px; line-height: 1.9; }
.form-status {
  padding: 14px 18px; border-radius: 10px; font-size: 14px; font-weight: 600;
  background: rgba(43, 127, 255, 0.08); border: 1px solid rgba(43, 127, 255, 0.3); color: #1d5fd6;
}
.form-status.error { background: rgba(230, 0, 18, 0.06); border-color: rgba(230, 0, 18, 0.35); color: var(--red); }
.form-status.success { background: rgba(22, 163, 74, 0.08); border-color: rgba(22, 163, 74, 0.35); color: #15803d; }
/* Invalid fields flagged by contact_ajax.js */
.form-field input.err, .form-field select.err, .form-field textarea.err {
  border-color: var(--red); background: rgba(230, 0, 18, 0.03);
  box-shadow: 0 0 0 3px rgba(230, 0, 18, 0.08);
}
#captcha.err { outline: 2px solid rgba(230, 0, 18, 0.55); outline-offset: 4px; border-radius: 4px; }
.form-actions {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 6px;
}
.form-actions p { font-size: 13px; color: var(--muted); }
.contact-form .button { border: 0; cursor: pointer; font-family: inherit; }
@media (max-width: 720px) {
  .contact-form { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column; align-items: stretch; text-align: center; }
}

/* --- Values (Philosophy) --- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value-card {
  position: relative; padding: 38px 32px 42px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
  overflow: hidden;
}
.value-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), #2b7fff);
  transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-out);
}
.value-card:hover { transform: translateY(-8px); box-shadow: 0 26px 50px -18px rgba(12, 20, 45, 0.16); }
.value-card:hover::before { transform: scaleX(1); }
.value-card__en {
  font-family: var(--font-en); font-size: 12px; font-weight: 800; letter-spacing: 0.26em;
  color: var(--red); margin-bottom: 16px;
}
.value-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 12px; }
.value-card p { font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* --- Identity --- */
.about-page__title {
  font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; line-height: 1.5;
  letter-spacing: 0.02em; margin-bottom: 24px;
}
.about-page__title + .about__desc { margin-top: 0; }
.about__text .section-head__en {
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
  font-family: var(--font-en); font-size: 13px; font-weight: 800; letter-spacing: 0.3em; color: var(--red);
}
.about__stats--spaced { margin-top: clamp(50px, 6vw, 80px); }
.section--gray .stat { background: #fff; }

/* --- Strength --- */
.strength__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.strength-card {
  position: relative; padding: 40px 38px 44px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; transition: transform 0.5s var(--ease-out), box-shadow 0.5s, border-color 0.5s;
}
.strength-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 54px -22px rgba(12, 20, 45, 0.18);
  border-color: rgba(230, 0, 18, 0.22);
}
.strength-card__en {
  font-family: var(--font-en); font-size: 11.5px; font-weight: 800; letter-spacing: 0.24em;
  color: var(--red); margin-bottom: 16px;
}
.strength-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 12px; }
.strength-card p { font-size: 14px; color: var(--muted); max-width: 92%; }
.strength-card__num {
  position: absolute; top: 24px; right: 30px;
  font-family: var(--font-en); font-size: 46px; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(28, 35, 51, 0.14);
  transition: -webkit-text-stroke-color 0.4s, color 0.4s;
}
.strength-card:hover .strength-card__num { color: rgba(230, 0, 18, 0.08); -webkit-text-stroke-color: rgba(230, 0, 18, 0.35); }
@media (max-width: 768px) { .strength__grid { grid-template-columns: 1fr; } }

/* --- How we work --- */
.work__layout {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.work__visual { position: sticky; top: calc(var(--header-h) + 30px); }
.steps { counter-reset: step; }
.step {
  position: relative; padding: 0 0 34px 34px;
  border-left: 2px solid var(--line);
}
.step:last-child { padding-bottom: 0; }
.step::before {
  content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px;
  border-radius: 50%; background: #fff; border: 3px solid var(--red);
}
.step__label {
  font-family: var(--font-en); font-size: 20px; font-weight: 800; color: var(--red);
  margin-bottom: 8px; line-height: 1.2;
}
.step__label span { font-size: 11px; letter-spacing: 0.22em; color: var(--muted); font-weight: 700; }
.step h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }
@media (max-width: 860px) {
  .work__layout { grid-template-columns: 1fr; }
  .work__visual { position: static; }
}

/* --- Message --- */
.message { overflow: hidden; }
.message__bg { position: absolute; inset: 0; opacity: 0.2; pointer-events: none; }
.message__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--ink) 0%, transparent 35%, transparent 65%, var(--ink) 100%);
}
.message__bg img { width: 100%; height: 100%; object-fit: cover; }
.message .container { position: relative; z-index: 1; }
.message .section-head { margin-bottom: 40px; }
.message__action { text-align: center; }

/* --- Company profile CTA (compact bar) --- */
.profile-cta {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between;
  gap: 26px; flex-wrap: wrap;
  padding: clamp(28px, 3.6vw, 42px) clamp(26px, 4vw, 52px);
  background: linear-gradient(115deg, #070b16 30%, #131c36 78%, #1a1030 100%);
  border-radius: 18px; color: #fff;
  transition: box-shadow 0.5s;
}
.profile-cta:hover { box-shadow: 0 24px 55px -24px rgba(20, 30, 70, 0.5); }
/* Brand glow sweeping softly */
.profile-cta::after {
  content: ""; position: absolute; right: -8%; top: -120%; pointer-events: none;
  width: 620px; height: 420px;
  background:
    radial-gradient(ellipse 40% 55% at 40% 55%, rgba(230, 0, 18, 0.2), transparent 70%),
    radial-gradient(ellipse 40% 55% at 62% 45%, rgba(43, 127, 255, 0.16), transparent 70%);
  animation: profileGlow 7s ease-in-out infinite alternate;
}
@keyframes profileGlow { from { transform: translateX(0); } to { transform: translateX(-60px); } }
/* Ghost typography clipped at the right edge */
.profile-cta__ghost {
  position: absolute; right: -14px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-en); font-weight: 800; line-height: 1;
  font-size: clamp(64px, 9vw, 120px); letter-spacing: 0.03em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
  white-space: nowrap; pointer-events: none; user-select: none;
}
.profile-cta__text { position: relative; z-index: 1; }
.profile-cta__en {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-en); font-size: 11px; font-weight: 800; letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.6); margin-bottom: 10px;
}
.profile-cta__en::before {
  content: ""; width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--red), #2b7fff);
}
.profile-cta__text h2 { font-size: clamp(20px, 2.4vw, 27px); font-weight: 900; }
.profile-cta > .btn { position: relative; z-index: 1; flex-shrink: 0; }

/* ==========================================================
   Policy pages
   ========================================================== */
.policy-hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(100deg, rgba(7, 11, 22, 0.92) 0%, rgba(8, 13, 26, 0.66) 48%, rgba(8, 13, 26, 0.28) 100%),
    url("../assets/policy-hero.jpg") center / cover no-repeat #0a0f1e;
  color: #fff;
  padding: calc(var(--header-h) + clamp(44px, 6vw, 76px)) 0 clamp(40px, 5.5vw, 64px);
}
.policy-hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 120% at 30% 50%, #000 25%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 120% at 30% 50%, #000 25%, transparent 80%);
}
.policy-hero::after {
  content: ""; position: absolute; right: -10%; top: -80%; pointer-events: none;
  width: 640px; height: 480px;
  background:
    radial-gradient(ellipse 42% 55% at 42% 55%, rgba(230, 0, 18, 0.18), transparent 70%),
    radial-gradient(ellipse 42% 55% at 62% 45%, rgba(43, 127, 255, 0.14), transparent 70%);
}
.policy-hero .container { position: relative; z-index: 1; }
.policy-hero__en {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-en); font-size: 12px; font-weight: 800; letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.75); margin-bottom: 16px;
}
.policy-hero__en::before { content: ""; width: 30px; height: 2px; background: var(--red); }
.policy-hero h1 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 900; line-height: 1.5; }
.policy-hero__lead { margin-top: 14px; font-size: 14px; color: rgba(255, 255, 255, 0.65); line-height: 2; }

.policy-layout {
  display: grid; grid-template-columns: 260px 1fr;
  gap: clamp(40px, 6vw, 90px); align-items: start;
}
.policy-nav { position: sticky; top: calc(var(--header-h) + 30px); }
.policy-nav__title {
  font-family: var(--font-en); font-size: 11px; font-weight: 800; letter-spacing: 0.26em;
  color: var(--muted); margin-bottom: 14px;
}
.policy-nav a {
  display: block; padding: 11px 16px;
  font-size: 13.5px; color: var(--muted); line-height: 1.6;
  border-left: 2px solid var(--line);
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.policy-nav a:hover { color: var(--text); }
.policy-nav a.is-current {
  color: var(--text); font-weight: 700;
  border-left-color: var(--red);
  background: linear-gradient(90deg, rgba(230, 0, 18, 0.05), transparent);
}
.policy-body { max-width: 800px; }
.policy-body__intro { font-size: 15px; color: #2a3143; line-height: 2.1; margin-bottom: clamp(30px, 4vw, 46px); }
.policy-body h2 {
  position: relative; font-size: 19px; font-weight: 800; line-height: 1.6;
  margin: clamp(34px, 4.5vw, 48px) 0 14px; padding-left: 18px;
}
.policy-body h2::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--red), #2b7fff);
}
.policy-body p { font-size: 14.5px; color: #3a4152; line-height: 2.05; margin-bottom: 14px; }
.policy-body ul { margin: 4px 0 18px; }
.policy-body ul li {
  position: relative; padding-left: 18px; margin-bottom: 9px;
  font-size: 14px; color: #3a4152; line-height: 1.9;
}
.policy-body ul li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 8px; height: 1.5px;
  background: var(--red);
}
.policy-table { width: 100%; border-collapse: collapse; margin: 6px 0 20px; }
.policy-table th, .policy-table td {
  border: 1px solid var(--line); padding: 13px 16px;
  font-size: 13.5px; line-height: 1.8; text-align: left; vertical-align: top;
}
.policy-table th { background: var(--bg); font-weight: 700; width: 200px; white-space: nowrap; }
.policy-note {
  margin-top: clamp(34px, 4.5vw, 48px);
  background: var(--bg); border-left: 3px solid var(--red); border-radius: 0 8px 8px 0;
  padding: 18px 22px; font-size: 13.5px; color: #3a4152;
}
.policy-note b { display: block; font-size: 14px; margin-bottom: 6px; color: var(--text); }
@media (max-width: 860px) {
  .policy-layout { grid-template-columns: 1fr; gap: 34px; }
  .policy-nav { position: static; }
  .policy-table th { width: auto; white-space: normal; }
}

/* ==========================================================
   Reduced motion
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  [data-reveal], [data-reveal-group] > * { opacity: 1; transform: none; }
}
