/* ============================
   RESET & BASE
============================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ---- Vivid Gradient: Purple→Pink→Blue ---- */
  --grad-vivid:     linear-gradient(135deg, #7c3aed 0%, #ec4899 50%, #3b82f6 100%);
  --grad-vivid-90:  linear-gradient(90deg,  #7c3aed 0%, #ec4899 50%, #3b82f6 100%);
  --grad-cta:       linear-gradient(90deg,  #f5c842 0%, #ec4899 100%);
  --grad-overlay:   linear-gradient(135deg, rgba(124,58,237,0.55) 0%, rgba(236,72,153,0.30) 50%, rgba(10,10,35,0.65) 100%);

  /* ---- Deep Navy (dark section) ---- */
  --navy-deep:      #0a0a23;
  --navy-mid:       #0f0f2e;
  --navy-border:    rgba(124,58,237,0.25);
  --navy-text:      rgba(255,255,255,0.85);
  --navy-text-sub:  rgba(255,255,255,0.55);

  /* ---- Accent Colors ---- */
  --purple:         #7c3aed;
  --purple-lt:      #a78bfa;
  --purple-dim:     rgba(124,58,237,0.12);
  --pink:           #ec4899;
  --pink-lt:        #f9a8d4;
  --pink-dim:       rgba(236,72,153,0.12);
  --blue-accent:    #3b82f6;
  --blue-lt:        #93c5fd;
  --blue-dim:       rgba(59,130,246,0.12);

  /* ---- Legacy compat (grad-primary / primary等 互換維持) ---- */
  --primary:        #7c3aed;
  --primary-dk:     #5b21b6;
  --primary-lt:     #a78bfa;
  --primary-dim:    rgba(124,58,237,0.12);
  --accent:         #f5c842;
  --accent-lt:      #fcd34d;
  --accent-dim:     rgba(245,200,66,0.15);
  --gold:           #f5c842;
  --grad-primary:   linear-gradient(90deg, #7c3aed, #ec4899, #3b82f6);
  --grad-blue:      linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
  --grad-hero:      linear-gradient(135deg, #0a0a23 0%, #0f0f2e 50%, #1a0a30 100%);
  --grad-card:      linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.6) 100%);

  /* ---- Light Section Base ---- */
  --bg:             #f5f7fc;
  --bg2:            #eef1f8;
  --bg3:            #e6eaf4;
  --surface:        #ffffff;

  /* ---- Text ---- */
  --text:           #111827;
  --text2:          #374151;
  --text3:          #6b7280;
  --text4:          #9ca3af;

  /* ---- Borders / Shadows ---- */
  --border:         rgba(124,58,237,0.12);
  --border-md:      rgba(124,58,237,0.25);
  --shadow-sm:      0 1px 4px rgba(124,58,237,0.08);
  --shadow-md:      0 8px 24px rgba(124,58,237,0.14);
  --shadow-lg:      0 16px 48px rgba(124,58,237,0.18);

  /* ---- Misc ---- */
  --white:          #ffffff;
  --radius:         8px;
  --radius-lg:      16px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP',
               -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.85;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ============================
   UTILITY
============================ */
.container         { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 760px;  margin: 0 auto; padding: 0 24px; }

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--purple-lt);
  font-weight: 600;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--grad-vivid-90);
}

/* Light section override */
.section--light .section-label,
#business .section-label,
#products .section-label,
#company .section-label,
.page-section--light .section-label {
  color: var(--purple);
}
.section--light .section-label::before,
#business .section-label::before,
#products .section-label::before,
#company .section-label::before,
.page-section--light .section-label::before {
  background: var(--grad-vivid-90);
}

.section-title {
  font-size: clamp(26px, 3.8vw, 38px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.025em;
  margin-top: 10px;
  color: var(--text);
}

/* Dark section title */
.section--navy .section-title,
#core .section-title,
#recruit-cta .section-title,
#contact .section-title {
  color: #fff;
}

/* ============================
   CTA 和文コピー専用（明朝系）
============================ */
.cta-lead-jp {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "MS PMincho", serif;
  font-size: clamp(24px, 3.6vw, 38px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: #fff;
  margin-top: 10px;
}

/* ============================
   ANIMATIONS
============================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes gradShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 0.9; }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}
@keyframes gridFloat {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-60px); }
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(124,58,237,0.15), 0 0 60px rgba(236,72,153,0.10); }
  50%       { box-shadow: 0 0 50px rgba(124,58,237,0.30), 0 0 100px rgba(236,72,153,0.18); }
}

.anim-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.anim-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================
   HEADER / NAV
============================ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s, box-shadow 0.3s;
  border-bottom: 1px solid transparent;
}
#header.scrolled {
  background: rgba(10,10,35,0.92);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--navy-border);
  box-shadow: 0 2px 20px rgba(124,58,237,0.18);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #fff;
}
.nav-logo span { color: var(--purple-lt); }
.nav-logo-mark { flex-shrink: 0; height: 30px; width: auto; display: block; }
.nav-logo-text { display: flex; flex-direction: column; gap: 0; }
.nav-logo-text .nav-logo-main {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #fff;
  line-height: 1;
}
.nav-logo-text .nav-logo-main span { color: var(--purple-lt); }
.nav-logo-text .nav-logo-sub {
  font-size: 8px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
  font-weight: 400;
  margin-top: 2px;
}

/* scrolled時に文字色をネイビー白テキストに（デフォルトはヒーロー上で白） */
#header:not(.scrolled) .nav-logo-main { color: #fff; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 11px;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--purple-lt); }
.nav-links a.active { color: var(--purple-lt); font-weight: 700; }

.nav-cta {
  font-size: 11px;
  letter-spacing: 0.15em;
  background: var(--grad-cta);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: var(--radius);
  transition: transform 0.2s, box-shadow 0.2s;
  font-weight: 700;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(236,72,153,0.4);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: rgba(255,255,255,0.8);
  transition: all 0.25s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 16px;
  background: rgba(10,10,35,0.97);
  border-top: 1px solid var(--navy-border);
  padding: 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 13px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.7);
  padding: 6px 0;
  border-bottom: 1px solid var(--navy-border);
}
.mobile-menu .mobile-cta {
  background: var(--grad-cta);
  color: #fff;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius);
  margin-top: 8px;
  font-weight: 700;
  border: none;
}

/* ============================
   NAV LOGO SVG MARK
============================ */
/* svgマーク: パープル版(index.html inline SVGと色は統一) */

/* ============================
   HERO
============================ */
#hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
}

/* --- Video background --- */
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-video-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  /* パープル→ピンク→ダークグラデオーバーレイ */
  background: linear-gradient(
    135deg,
    rgba(124,58,237,0.60) 0%,
    rgba(236,72,153,0.35) 45%,
    rgba(10,10,35,0.72) 100%
  );
}
/* 動画あり時 */
.hero--has-video .hero-orb { opacity: 0.35; }
.hero--has-video .hero-grid { opacity: 0.25; }

/* ヒーロー動画グラデオーバーレイ専用クラス（DESIGN_SPEC仕様） */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(124,58,237,0.55) 0%,
    rgba(236,72,153,0.30) 50%,
    rgba(10,10,35,0.65) 100%
  );
  pointer-events: none;
}

/* Animated grid bg */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,58,237,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: gridFloat 20s linear infinite;
  pointer-events: none;
}

/* Glow orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-orb--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,0.30), transparent 70%);
  top: -100px; left: -100px;
  animation: pulse 6s ease-in-out infinite;
}
.hero-orb--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(236,72,153,0.25), transparent 70%);
  bottom: -80px; right: -80px;
  animation: pulse 8s ease-in-out infinite 2s;
}
.hero-orb--3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(59,130,246,0.22), transparent 70%);
  top: 40%; left: 60%;
  animation: pulse 10s ease-in-out infinite 4s;
}

.hero-inner {
  position: relative;
  z-index: 10;
  max-width: 820px;
  animation: fadeUp 1s ease 0.2s both;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--purple-lt);
  font-weight: 600;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(34px, 5.6vw, 68px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: #fff;
}
.hero-title .grad-text {
  background: var(--grad-vivid-90);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradShift 5s ease infinite;
}

/* 英語筆記体風イタリック装飾（カンプ準拠） */
.hero-title .hero-italic {
  font-style: italic;
  font-family: Georgia, 'Times New Roman', serif;
  color: #fff;
}

.hero-sub {
  font-size: clamp(14px, 1.8vw, 16px);
  color: rgba(255,255,255,0.7);
  line-height: 1.9;
  margin-bottom: 44px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* CTA: 黄→ピンクグラデ */
.btn-primary {
  display: inline-block;
  background: var(--grad-cta);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  padding: 14px 36px;
  border-radius: var(--radius);
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
  position: relative;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(236,72,153,0.45);
}

/* セカンダリ: パープルアウトライン */
.btn-secondary {
  display: inline-block;
  border: 1.5px solid var(--purple-lt);
  color: var(--purple-lt);
  font-size: 12px;
  letter-spacing: 0.15em;
  padding: 14px 36px;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s, transform 0.2s;
  background: transparent;
  overflow: hidden;
  position: relative;
}
.btn-secondary:hover {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
  transform: translateY(-2px);
}

/* ライトセクション内のセカンダリ */
.section--light .btn-secondary,
#business .btn-secondary {
  border-color: var(--purple);
  color: var(--purple);
}
.section--light .btn-secondary:hover,
#business .btn-secondary:hover {
  background: var(--purple);
  color: #fff;
}

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.45;
  animation: fadeIn 1s ease 1.5s both;
}
.scroll-indicator span {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.6);
}
.scroll-arrow {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollBounce 2s ease-in-out infinite;
}

/* ============================
   BUSINESS PILLARS (事業内容) — ライト
============================ */
#business {
  background: var(--surface);
  padding: 100px 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.pillar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-vivid);
  background-size: 200%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.pillar-card:hover {
  border-color: var(--border-md);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pillar-card:hover::before { transform: scaleX(1); }

.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}
.pillar-icon--1 { background: var(--accent-dim); }
.pillar-icon--2 { background: var(--purple-dim); }
.pillar-icon--3 { background: var(--blue-dim); }

.pillar-num {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--purple);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}

.pillar-title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.pillar-desc {
  font-size: 13px;
  color: var(--text3);
  line-height: 1.8;
}

.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}
.pillar-tag {
  font-size: 10px;
  border: 1px solid var(--border-md);
  color: var(--purple);
  background: var(--purple-dim);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

/* ============================
   SECTION--NAVY (ダークセクション共通)
============================ */
.section--navy {
  background: var(--navy-deep);
  color: var(--navy-text);
  padding: 100px 0;
}
.section--navy .section-label {
  color: var(--purple-lt);
}
.section--navy .section-label::before {
  background: var(--grad-vivid-90);
}
.section--navy .section-title {
  color: #fff;
}
.section--navy p,
.section--navy .pillar-desc,
.section--navy .product-desc {
  color: var(--navy-text-sub);
}

/* ダークセクション内カード */
.card--dark {
  background: var(--navy-mid);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(124,58,237,0.1);
}
.card--dark::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-vivid);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.card--dark:hover {
  border-color: rgba(124,58,237,0.5);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(124,58,237,0.25);
}
.card--dark:hover::before { transform: scaleX(1); }
.card--dark .pillar-num  { color: var(--purple-lt); }
.card--dark .pillar-title { color: #fff; }
.card--dark .pillar-tag {
  color: var(--purple-lt);
  background: rgba(124,58,237,0.15);
  border-color: var(--navy-border);
}

/* ============================
   PRODUCTS (自社プロダクト) — ダーク
============================ */
#products {
  background: var(--navy-deep);
  padding: 100px 0;
}
#products .section-label { color: var(--purple-lt); }
#products .section-label::before { background: var(--grad-vivid-90); }
#products .section-title { color: #fff; }
#products .products-header p { color: var(--navy-text-sub); }

.products-header { margin-bottom: 56px; }
.products-header p {
  color: var(--text3);
  font-size: 14px;
  margin-top: 16px;
  max-width: 560px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--navy-mid);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(124,58,237,0.1);
}
.product-card:hover {
  border-color: rgba(124,58,237,0.5);
  box-shadow: 0 16px 40px rgba(124,58,237,0.22);
  transform: translateY(-3px);
}
/* ライトセクション内プロダクトカード */
.section--light .product-card,
#business .product-card {
  background: var(--surface);
  border-color: var(--border);
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--purple-lt);
  background: rgba(124,58,237,0.15);
  border: 1px solid var(--navy-border);
  padding: 4px 10px;
  border-radius: 6px;
  width: fit-content;
}
.product-badge--agent {
  color: #fcd34d;
  background: rgba(245,184,0,0.15);
  border-color: rgba(245,184,0,0.3);
}
.product-badge--purple {
  color: var(--purple-lt);
  background: var(--purple-dim);
  border-color: var(--border-md);
}
.product-badge--pink {
  color: var(--pink-lt);
  background: var(--pink-dim);
  border-color: rgba(236,72,153,0.25);
}
.product-badge--blue {
  color: var(--blue-lt);
  background: var(--blue-dim);
  border-color: rgba(59,130,246,0.25);
}

.product-name {
  font-size: 15px;
  font-weight: 800;
  margin-top: 4px;
  color: #fff;
}
#business .product-name,
.section--light .product-name { color: var(--text); }

.product-desc {
  font-size: 12px;
  color: var(--navy-text-sub);
  line-height: 1.8;
}
#business .product-desc,
.section--light .product-desc { color: var(--text3); }

/* ============================
   COMPANY INFO (会社概要) — ライト
============================ */
#company {
  background: var(--surface);
  padding: 100px 0;
}
#company .section-label { color: var(--purple); }

.company-table {
  margin-top: 48px;
  border-collapse: collapse;
  width: 100%;
}
.company-table tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.company-table tr:hover { background: var(--purple-dim); }
.company-table th {
  width: 200px;
  padding: 20px 24px;
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--purple);
  font-weight: 600;
  vertical-align: top;
}
.company-table td {
  padding: 20px 24px;
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
}
.company-table td .placeholder {
  color: var(--text4);
  font-style: italic;
}

/* ============================
   CONTACT — ダーク
============================ */
#contact {
  background: var(--navy-deep);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
#contact::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.12), transparent 60%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
#contact .section-label  { color: var(--purple-lt); }
#contact .section-label::before { background: var(--grad-vivid-90); }
#contact .section-title  { color: #fff; }

.contact-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.contact-title { margin-bottom: 16px; }
.contact-sub {
  font-size: 14px;
  color: var(--navy-text-sub);
  line-height: 1.85;
  margin-bottom: 48px;
}

/* Contact form */
.contact-form {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 600px;
  margin: 0 auto 40px;
  text-align: left;
  box-shadow: 0 8px 32px rgba(124,58,237,0.15);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group.full { grid-column: 1/-1; }
.form-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
}
.form-input,
.form-textarea {
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 13px;
  color: #fff;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-input::placeholder,
.form-textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-input:focus,
.form-textarea:focus {
  border-color: var(--purple-lt);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.18);
}
.form-textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  margin-top: 8px;
  padding: 0 40px;
}

.contact-mail-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--navy-border);
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 12px 28px;
  border-radius: var(--radius);
  transition: border-color 0.2s, color 0.2s;
  margin-bottom: 36px;
}
.contact-mail-btn:hover {
  border-color: var(--purple-lt);
  color: var(--purple-lt);
}

/* SNS links */
.sns-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.sns-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--navy-border);
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 8px 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  transition: border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.sns-btn:hover {
  border-color: var(--purple-lt);
  color: var(--purple-lt);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(124,58,237,0.2);
}

/* SVG icons */
.icon { width: 16px; height: 16px; display: inline-block; vertical-align: middle; }

/* ============================
   FOOTER — 最深ダーク 4カラム
============================ */
footer {
  background: #070714;
  border-top: 1px solid rgba(124,58,237,0.15);
  padding: 64px 24px 32px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* 3カラムグリッド */
.footer-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(124,58,237,0.12);
}
.footer-col-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: var(--purple-lt);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
  transition: color 0.2s;
}
.footer-col-links a:hover { color: var(--purple-lt); }

/* ロゴカラム（左） */
.footer-logo-col .footer-logo {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #fff;
  margin-bottom: 8px;
}
.footer-logo-col .footer-logo-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.footer-logo-col .footer-addr {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  line-height: 1.8;
  letter-spacing: 0.03em;
}

/* 互換: 旧footer-inner direct child */
.footer-logo {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--white);
}
.footer-logo small {
  display: block;
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  font-weight: 400;
  letter-spacing: 0.15em;
  margin-top: 4px;
}

/* SNS行 */
.footer-sns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.footer-sns-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: 6px;
  color: rgba(255,255,255,0.4);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.footer-sns-btn:hover {
  border-color: var(--purple-lt);
  color: var(--purple-lt);
  background: rgba(124,58,237,0.1);
}

/* コピーライト行 */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
}
.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.05em;
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 10px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.1em;
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.5); }

/* 旧footer: flex一行フォールバック */
.footer-inner:not(:has(.footer-cols)) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* ============================
   RESPONSIVE
============================ */
@media (max-width: 1024px) {
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .pillars-grid  { grid-template-columns: 1fr; gap: 16px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  #hero { padding: 100px 24px 72px; }
  #business, #products, #company, #contact { padding: 80px 0; }
  .contact-form { max-width: 100%; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .products-grid { grid-template-columns: 1fr; }
  .company-table th { width: 110px; font-size: 10px; padding: 16px 12px; }
  .company-table td { padding: 16px 12px; font-size: 13px; }
  .contact-form { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; }
  #hero { min-height: 85svh; padding: 96px 20px 64px; }
  .hero-title { font-size: clamp(32px, 9vw, 48px); }
  .hero-sub { font-size: 14px; }
  /* モバイルでも動画を表示・再生する（autoplay muted playsinline loop属性必須） */
  .logo-showcase img { max-width: 220px; padding: 16px 20px; }
  .section-label-en { font-size: clamp(48px, 14vw, 80px); }
  .btn-primary,
  .btn-secondary { padding: 15px 28px; min-height: 44px; font-size: 13px; }
  .sns-btn { padding: 10px 14px; min-height: 44px; }
  .nav-cta { padding: 10px 16px; min-height: 44px; display: inline-flex; align-items: center; }
  .hamburger { padding: 10px; min-width: 44px; min-height: 44px; justify-content: center; }
  .mobile-menu a { padding: 12px 0; min-height: 44px; display: flex; align-items: center; }
  .mobile-menu .mobile-cta { padding: 14px; min-height: 44px; justify-content: center; }
  #business, #products, #company, #contact { padding: 72px 0; }
  .section-title { font-size: clamp(24px, 6vw, 32px); }
  .contact-form { padding: 20px 16px; }
  .form-input, .form-textarea { font-size: 16px; }
  .footer-cols { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 380px) {
  .hero-title { font-size: 28px; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn-primary,
  .hero-btns .btn-secondary { text-align: center; }
}

/* ============================
   ACCESSIBILITY
============================ */
:focus-visible {
  outline: 2px solid var(--purple-lt);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

.form-input:focus-visible,
.form-textarea:focus-visible {
  outline: 2px solid var(--purple-lt);
  outline-offset: 1px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  background: var(--purple);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius);
  z-index: 999;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ============================
   LARGE TYPO (section-label-en)
============================ */
.section-label-en {
  font-size: clamp(60px, 10vw, 120px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(124,58,237,0.14);
  text-stroke: 1px rgba(124,58,237,0.14);
  pointer-events: none;
  user-select: none;
  position: absolute;
  top: -0.15em;
  left: -0.02em;
  z-index: 0;
  white-space: nowrap;
  overflow: hidden;
}
/* ダークセクション内は明るく */
.section--navy .section-label-en,
#products .section-label-en,
#contact .section-label-en {
  -webkit-text-stroke: 1px rgba(124,58,237,0.22);
  text-stroke: 1px rgba(124,58,237,0.22);
}

.section-header-wrap {
  position: relative;
  padding-top: 0.5em;
  margin-bottom: 56px;
}
.section-header-wrap .section-label,
.section-header-wrap .section-title,
.section-header-wrap > p {
  position: relative;
  z-index: 1;
}

/* ============================
   LOGO DISPLAY
============================ */
.logo-showcase {
  display: flex;
  justify-content: center;
  margin-top: 48px;
  margin-bottom: 48px;
}
.logo-showcase img {
  max-width: 320px;
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  background: #fff;
  padding: 24px 32px;
}

/* ============================
   PAGE HERO (各ページ上部)
============================ */
.page-hero {
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 140px 24px 72px;
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
}
.page-hero .hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.page-hero .hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.page-hero .hero-video-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(124,58,237,0.60) 0%,
    rgba(236,72,153,0.30) 50%,
    rgba(10,10,35,0.75) 100%
  );
}
.page-hero--has-video .hero-orb { opacity: 0.35; }
.page-hero--has-video .hero-grid { opacity: 0.25; }

.page-hero-inner {
  position: relative;
  z-index: 10;
  animation: fadeUp 1s ease 0.2s both;
}
.page-hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--purple-lt);
  font-weight: 600;
  margin-bottom: 16px;
}
.page-hero-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;
}
.page-hero-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.85;
  margin-top: 16px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================
   SECTION PADDING
============================ */
.section { padding: 96px 0; }
.section--dark  { background: var(--navy-mid); }
.section--dark2 { background: var(--navy-deep); }
.section--black { background: #070714; }

/* ============================
   CONTACT PAGE - 2col cards
============================ */
.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.contact-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 4px 24px rgba(124,58,237,0.1);
}
.contact-card--line {
  border-color: rgba(6,199,85,0.25);
}
.contact-card-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--purple-lt);
  font-weight: 600;
}
.contact-card-desc {
  font-size: 13px;
  color: var(--navy-text-sub);
  line-height: 1.7;
}
.contact-card .btn-primary,
.contact-card .btn-secondary {
  margin-top: 8px;
  align-self: stretch;
  text-align: center;
}
.contact-phone-note {
  margin-top: 32px;
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  text-align: center;
}
.contact-phone-note a {
  color: rgba(255,255,255,0.4);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================
   RECRUIT - BENEFITS GRID
============================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.benefit-card {
  background: var(--navy-mid);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(124,58,237,0.08);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.benefit-card:hover {
  border-color: rgba(124,58,237,0.5);
  box-shadow: 0 8px 32px rgba(124,58,237,0.18);
}
.benefit-card-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}
.benefit-card-desc {
  font-size: 12px;
  color: var(--navy-text-sub);
  line-height: 1.8;
}

/* ============================
   PHILOSOPHY LARGE TEXT
============================ */
.philosophy-text {
  font-size: clamp(22px, 3.5vw, 42px);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -0.02em;
  text-align: center;
  background: var(--grad-vivid);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradShift 5s ease infinite;
  margin-top: 48px;
}

/* ============================
   RECRUIT MESSAGE
============================ */
.message-body {
  font-size: 15px;
  color: var(--text3);
  line-height: 1.9;
  max-width: 680px;
  margin: 32px auto 0;
}
.message-sign {
  text-align: right;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text2);
  font-weight: 600;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================
   APPLY SECTION
============================ */
.apply-lead {
  font-size: 14px;
  color: var(--navy-text-sub);
  line-height: 1.85;
  margin-top: 16px;
  max-width: 560px;
}
.apply-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.apply-tel {
  margin-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.25);
}
.apply-tel a {
  color: rgba(255,255,255,0.4);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================
   PRELOADER
============================ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
}
#preloader.hidden { opacity: 0; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-logo {
  display: block;
  width: clamp(76px, 20vw, 104px);
  height: auto;
  margin: 0 auto 22px;
  opacity: 0;
  transform: translateY(20px);
  animation: preloaderLogo 0.6s ease 0.1s forwards;
}
.preloader-bar-wrap {
  width: 160px;
  height: 2px;
  background: rgba(124,58,237,0.2);
  margin: 0 auto;
  border-radius: 2px;
  overflow: hidden;
}
.preloader-bar {
  height: 100%;
  background: var(--grad-vivid-90);
  transform: scaleX(0);
  transform-origin: left;
  animation: preloaderBar 0.7s ease 0.3s forwards;
}
@keyframes preloaderLogo { to { opacity: 1; transform: translateY(0); } }
@keyframes preloaderBar  { to { transform: scaleX(1); } }

/* ============================
   SCROLL PROGRESS BAR
============================ */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--grad-vivid-90);
  z-index: 9999;
  pointer-events: none;
  transition: width 0.05s linear;
  width: 0;
}

/* ============================
   CUSTOM CURSOR
============================ */
#cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--pink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: transform 0.1s;
}
#cursor-ring {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--purple-lt);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  opacity: 0.5;
  transition: width 0.3s, height 0.3s, opacity 0.3s, border-color 0.3s;
}
#cursor-ring.hovered {
  width: 56px;
  height: 56px;
  opacity: 0.25;
  border-color: var(--pink);
}

/* ============================
   CHAR REVEAL
============================ */
.char {
  display: inline-block;
  opacity: 0;
  transform: translateY(60%);
  animation: charReveal 0.5s ease forwards;
  animation-delay: calc(var(--i, 0) * 0.03s + 0.5s);
}
@keyframes charReveal { to { opacity: 1; transform: translateY(0); } }

/* ============================
   SCROLL REVEALS
============================ */
.anim-fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.anim-fade-left.visible  { opacity: 1; transform: none; }

.anim-fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.anim-fade-right.visible { opacity: 1; transform: none; }

.anim-scale-in {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.anim-scale-in.visible   { opacity: 1; transform: none; }

/* section-title underline */
.anim-underline { position: relative; display: inline-block; }
.anim-underline::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  height: 3px; width: 100%;
  background: var(--grad-vivid);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1);
}
.anim-underline.visible::after { transform: scaleX(1); }

/* ============================
   CARD GLOSS
============================ */
.card-gloss {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.pillar-card:hover .card-gloss,
.product-card:hover .card-gloss,
.blog-card:hover .card-gloss { opacity: 1; }

/* ============================
   RIPPLE
============================ */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.30);
  transform: scale(0);
  animation: rippleAnim 0.55s ease-out forwards;
  pointer-events: none;
}
@keyframes rippleAnim { to { transform: scale(4); opacity: 0; } }
.btn-primary, .btn-secondary, .nav-cta {
  overflow: hidden;
  position: relative;
}

/* ============================
   MARQUEE
============================ */
.marquee-wrap {
  overflow: hidden;
  white-space: nowrap;
  padding: 20px 0;
  background: var(--grad-vivid-90);
}
.marquee-track { display: inline-flex; }
.marquee-inner {
  display: inline-flex;
  align-items: center;
  animation: marqueeScroll 20s linear infinite;
}
.marquee-wrap:hover .marquee-inner { animation-play-state: paused; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 32px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.92);
}
.marquee-dot {
  width: 4px; height: 4px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
}

/* ============================
   BODY LOADED STATE
============================ */
body:not(.loaded) { overflow: hidden; }

/* ============================
   PREFERS-REDUCED-MOTION
============================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
  .char { opacity: 1; transform: none; }
  .anim-fade-up, .anim-fade-left, .anim-fade-right, .anim-scale-in { opacity: 1; transform: none; }
  #preloader { display: none; }
  #cursor-dot, #cursor-ring { display: none; }
}

/* ============================
   BLOG — card grid
============================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.blog-card:hover {
  border-color: var(--border-md);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.blog-card-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--purple-dim), var(--pink-dim));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.blog-card-thumb-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3em;
  color: var(--purple-lt);
  opacity: 0.5;
}
.blog-card-body { padding: 24px; }
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.blog-card-date {
  font-size: 11px;
  color: var(--text4);
  letter-spacing: 0.1em;
}
.blog-card-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--purple);
  background: var(--purple-dim);
  border: 1px solid var(--border-md);
  padding: 2px 8px;
  border-radius: 4px;
}
.blog-card-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 10px;
}
.blog-card-excerpt {
  font-size: 12px;
  color: var(--text3);
  line-height: 1.8;
}
.blog-card-link {
  position: absolute;
  inset: 0;
}

/* ============================
   BLOG — post body
============================ */
.post-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 80px 24px;
}
.post-header { margin-bottom: 56px; }
.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.post-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--purple);
  background: var(--purple-dim);
  border: 1px solid var(--border-md);
  padding: 3px 10px;
  border-radius: 4px;
}
.post-date { font-size: 11px; color: var(--text4); letter-spacing: 0.1em; }
.post-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.post-content {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text2);
}
.post-content h2 {
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 800;
  margin: 48px 0 16px;
  padding-left: 16px;
  border-left: 3px solid var(--purple);
}
.post-content h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 36px 0 12px;
}
.post-content p  { margin-bottom: 24px; }
.post-content ul,
.post-content ol { padding-left: 24px; margin-bottom: 24px; }
.post-content li { margin-bottom: 8px; line-height: 1.8; }

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 72px;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}
.post-nav-link {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: border-color 0.2s, transform 0.2s;
}
.post-nav-link:hover { border-color: var(--border-md); transform: translateY(-2px); }
.post-nav-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text4);
  margin-bottom: 6px;
}
.post-nav-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}
.post-nav-link--disabled {
  opacity: 0.35;
  pointer-events: none;
  cursor: default;
}
.post-back { text-align: center; margin-top: 48px; }

/* ============================
   RESPONSIVE ADDITIONS
============================ */
@media (max-width: 900px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .page-hero { padding: 120px 20px 56px; }
  .blog-grid { grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; }
}
