/* Google Fonts は各HTMLの<link>タグで読み込み済み — @import は削除 */

/* ─────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────── */
:root {
  --bg-primary:   #060C17;
  --bg-secondary: #0C1526;
  --bg-card:      #101C31;
  --bg-card-hover:#142140;
  --border:       rgba(255,255,255,0.07);
  --border-hover: rgba(13,191,191,0.35);
  --text-primary: #EDF2FF;
  --text-secondary:#7AB5C5;
  --text-muted:   #3E6E76;
  --accent:       #0DBFBF;
  --accent-dark:  #0A9898;
  --accent-light: #3DD4D4;
  --accent-glow:  rgba(13,191,191,0.12);
  --cyan:         #00C8FF;
  --blue:         #3D7EFF;
  --nav-h:        72px;
}

/* ─────────────────────────────────────
   RESET & BASE
───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Jost', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ─────────────────────────────────────
   NAVIGATION
───────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(6,12,23,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 200;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center;
  text-decoration: none;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.375rem;
  color: #fff;
  letter-spacing: 0.068em;
  white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-links a {
  color: var(--text-secondary); text-decoration: none;
  font-size: 0.875rem; font-weight: 500; padding: 0.4rem 0.9rem; border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-links li:not(:last-child) a {
  display: block; min-width: 104px; text-align: center;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text-primary); background: rgba(255,255,255,0.05);
}
.nav-cta {
  background: var(--accent) !important; color: #fff !important;
  padding: 0.55rem 1.3rem !important; border-radius: 6px !important;
  font-weight: 600 !important; transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; transform: translateY(-1px) !important; }

/* Dropdown */
.nav-drop { position: relative; }
.nav-drop > a::after { content: ' ▾'; font-size: 0.7rem; opacity: 0.6; }
.drop-menu {
  position: absolute; top: calc(100% + 12px); left: 0;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; padding: 0.5rem; min-width: 180px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all 0.2s; box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.nav-drop:hover .drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.drop-menu a {
  display: block; color: var(--text-secondary) !important;
  padding: 0.55rem 0.9rem !important; border-radius: 6px !important;
  background: transparent !important;
  font-size: 0.85rem !important;
}
.drop-menu a:hover { color: var(--text-primary) !important; background: rgba(255,255,255,0.06) !important; }

/* ─────────────────────────────────────
   LAYOUT
───────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 7rem 0; }
.section-alt { background: var(--bg-secondary); }

.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.75rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.75rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }

/* ─────────────────────────────────────
   TYPOGRAPHY
───────────────────────────────────── */
.label {
  display: inline-block; font-family: 'Jost', sans-serif;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1rem;
}
.sec-title {
  font-family: 'Jost', sans-serif; font-size: 2.7rem; font-weight: 300;
  line-height: 1.18; margin-bottom: 1.4rem; color: var(--text-primary);
}
.sec-title strong { font-weight: 700; }
.sec-desc { font-size: 1rem; color: var(--text-secondary); max-width: 580px; line-height: 1.8; }
.sec-head { margin-bottom: 4rem; }

/* ─────────────────────────────────────
   BUTTONS
───────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.9rem; border-radius: 8px;
  font-family: 'Jost', sans-serif; font-size: 0.92rem; font-weight: 600;
  letter-spacing: 0.03em; text-decoration: none;
  transition: all 0.22s; cursor: pointer; border: none; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13,191,191,0.32); }
.btn-outline { background: transparent; color: var(--text-primary); border: 1px solid rgba(255,255,255,0.18); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-light); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--accent-light); padding-left: 0; font-size: 0.9rem; }
.btn-ghost:hover { color: var(--text-primary); gap: 0.8rem; }
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-fixed { width: 320px; justify-content: center; text-align: center; }

/* ─────────────────────────────────────
   CARDS
───────────────────────────────────── */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; transition: all 0.3s;
}
.card:hover { border-color: var(--border-hover); transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,0.32); }
.card-img { width: 100%; height: 200px; position: relative; overflow: hidden; }
.card-body { padding: 1.75rem 2rem; }
.card-tag {
  display: inline-block; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-glow);
  padding: 0.28rem 0.65rem; border-radius: 4px; margin-bottom: 0.9rem;
}
.card-name {
  font-family: 'Jost', sans-serif; font-size: 1.25rem; font-weight: 600;
  margin-bottom: 0.7rem; color: var(--text-primary);
}
.card-desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.7; }

/* ─────────────────────────────────────
   IMAGE PLACEHOLDER
───────────────────────────────────── */
.img-ph {
  width: 100%; height: 100%;
  background: linear-gradient(135deg,#0D1930 0%,#162540 50%,#0D1930 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem; color: var(--text-muted); font-size: 0.75rem;
  letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
  position: relative; overflow: hidden;
}
.img-ph::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg,
    rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px,
    transparent 1px, transparent 14px);
}
.img-ph-icon { font-size: 2.5rem; opacity: 0.4; position: relative; z-index: 1; }
.img-ph-label { position: relative; z-index: 1; }

/* ─────────────────────────────────────
   CTA BANNER
───────────────────────────────────── */
.cta-band {
  background: linear-gradient(160deg, #091D3E 0%, #0B2560 100%);
  border: 1px solid rgba(13,191,191,0.2); border-radius: 20px;
  padding: 5rem 4rem; text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; top: -60%; left: -30%; width: 160%; height: 220%;
  background: radial-gradient(ellipse at 50% 50%, rgba(13,191,191,0.09) 0%, transparent 65%);
}
.cta-band h2 {
  font-family: 'Jost', sans-serif; font-size: 2.2rem; font-weight: 300;
  margin-bottom: 1rem; position: relative;
}
.cta-band h2 strong { font-weight: 700; }
.cta-band p { color: var(--text-secondary); font-size: 1rem; margin-bottom: 2.5rem; position: relative; }
.cta-band .btn-group { justify-content: center; position: relative; }

/* ─────────────────────────────────────
   PAGE HERO (inner pages)
───────────────────────────────────── */
.page-hero {
  padding-top: calc(var(--nav-h) + 5.5rem);
  padding-bottom: 5.5rem;
  background: linear-gradient(175deg, #0A1628 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 50%; height: 100%;
  background: radial-gradient(ellipse at 80% 50%, rgba(13,191,191,0.06) 0%, transparent 65%);
}
.page-hero .label { font-size: 0.72rem; }
.page-hero h1 {
  font-family: 'Jost', sans-serif; font-size: 3.6rem; font-weight: 300;
  line-height: 1.15; margin-bottom: 1.5rem;
}
.page-hero h1 strong { font-weight: 700; }
.page-hero .lead { font-size: 1.05rem; color: var(--text-secondary); max-width: 540px; line-height: 1.85; }

/* ─────────────────────────────────────
   PRODUCT BLOCK (alternating layout)
───────────────────────────────────── */
.prod-block {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
  padding: 5rem 0; border-bottom: 1px solid var(--border);
}
.prod-block:first-of-type { padding-top: 0; }
.prod-block:last-of-type { border-bottom: none; }
.prod-block.rev .prod-vis { order: 2; }
.prod-block.rev .prod-info { order: 1; }
.prod-vis {
  height: 340px; border-radius: 16px;
  border: 1px solid var(--border); overflow: hidden;
}
.prod-tag {
  display: inline-block; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--cyan); background: rgba(0,200,255,0.1);
  padding: 0.28rem 0.65rem; border-radius: 4px; margin-bottom: 1rem;
}
.prod-name {
  font-family: 'Jost', sans-serif; font-size: 2.2rem; font-weight: 700;
  margin-bottom: 1rem; color: var(--text-primary); line-height: 1.2;
}
.prod-name em { font-style: normal; font-weight: 300; font-size: 1rem; color: var(--text-secondary); }
.prod-desc { color: var(--text-secondary); line-height: 1.8; margin-bottom: 2rem; font-size: 0.975rem; }
.feat-list { list-style: none; margin-bottom: 2rem; }
.feat-list li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.55rem 0; font-size: 0.875rem; color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.feat-list li:last-child { border-bottom: none; }
.feat-list li::before { content: '→'; color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 0.1em; }
.feat-list-plain li::before { display: none; }
.feat-list-plain li { gap: 0; }

/* ─────────────────────────────────────
   STATS BAR
───────────────────────────────────── */
.stat-bar {
  display: flex; gap: 0; padding: 0;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden;
}
.stat-item {
  flex: 1; padding: 2.2rem 2rem; text-align: center;
  border-right: 1px solid var(--border); transition: background 0.2s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--bg-card-hover); }
.stat-num {
  font-family: 'Jost', sans-serif; font-size: 2.6rem; font-weight: 700;
  color: var(--accent-light); line-height: 1; margin-bottom: 0.4rem;
}
.stat-num sub { font-size: 1.2rem; font-weight: 300; vertical-align: baseline; }
.stat-lbl { font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.04em; line-height: 1.4; }

/* ─────────────────────────────────────
   STRENGTH CARDS
───────────────────────────────────── */
.str-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 2rem; transition: all 0.3s;
}
.str-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.str-num {
  font-family: 'Jost', sans-serif; font-size: 0.7rem; font-weight: 700;
  color: var(--accent); letter-spacing: 0.2em; margin-bottom: 1rem; display: block;
}
.str-title {
  font-family: 'Jost', sans-serif; font-size: 1.05rem; font-weight: 600;
  margin-bottom: 0.65rem; color: var(--text-primary);
}
.str-desc { font-size: 0.86rem; color: var(--text-secondary); line-height: 1.75; }

/* ─────────────────────────────────────
   CASE STUDY CARDS
───────────────────────────────────── */
.case-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 18px; overflow: hidden; transition: all 0.3s;
}
.case-card:hover { border-color: var(--border-hover); transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.case-img { width: 100%; height: 230px; }
.case-body { padding: 2rem 2.25rem; }
.case-partner {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 0.6rem;
}
.case-title { font-family: 'Jost', sans-serif; font-size: 1.35rem; font-weight: 600; margin-bottom: 0.9rem; }
.case-desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 1.5rem; }

/* ─────────────────────────────────────
   CLIENT LOGOS
───────────────────────────────────── */
.client-panels { display: flex; flex-direction: column; gap: 10px; }
.client-panel {
  background: #fff; border-radius: 20px;
  padding: 16px 12px;
  display: flex; flex-direction: column; gap: 16px;
}
.client-row-label {
  font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.12em;
  text-align: center; text-transform: uppercase;
}
.client-grid {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; align-items: center;
}
.client-logo {
  height: 58px; width: 214px; flex-shrink: 0;
  background: #fff; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.client-logo img { width: 100%; height: 100%; object-fit: contain; padding: 0; }

/* COMPANY TABLE — removed: unused (.co-table) */

/* ─────────────────────────────────────
   FOOTER
───────────────────────────────────── */
footer {
  background: #030710; border-top: 1px solid var(--border);
  padding: 5rem 0 2.5rem;
}
.footer-top {
  display: grid; grid-template-columns: 1.8fr repeat(3,1fr);
  gap: 4rem; padding-bottom: 4rem; border-bottom: 1px solid var(--border); margin-bottom: 2.5rem;
}
.footer-brand .f-logo {
  font-family: 'Manrope', sans-serif; font-size: 1.375rem; font-weight: 700;
  color: #fff; margin-bottom: 1rem; letter-spacing: 0.068em;
}
.footer-brand .f-logo span { color: inherit; }
.footer-brand p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.75; max-width: 280px; }
.footer-brand .f-badge {
  display: inline-block; margin-top: 1.2rem; font-size: 0.72rem;
  color: var(--text-muted); border: 1px solid var(--border);
  padding: 0.3rem 0.7rem; border-radius: 4px;
}
.footer-col h4 {
  font-family: 'Jost', sans-serif; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-secondary); margin-bottom: 1.4rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul li a {
  color: var(--text-muted); text-decoration: none;
  font-size: 0.875rem; transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--text-primary); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: 0.82rem; color: var(--text-muted); }
.footer-copy a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-copy a:hover { color: var(--accent-light); }

/* ─────────────────────────────────────
   SCROLL ANIMATION
───────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─────────────────────────────────────
   HAMBURGER BUTTON
───────────────────────────────────── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer; padding: 6px;
  flex-shrink: 0;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-primary); border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─────────────────────────────────────
   RESPONSIVE
───────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .prod-block { grid-template-columns: 1fr; gap: 2.5rem; }
  .prod-block.rev .prod-vis { order: -1; }
  .prod-block.rev .prod-info { order: 0; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .client-logo { width: calc(33.333% - 6px); }
  .stat-bar { flex-wrap: wrap; }
  .stat-item { min-width: 45%; }
}
.pillars-grid {
  display: grid;
  grid-template-columns: minmax(0, 362px) 1fr;
  gap: 25px;
  align-items: stretch;
}

.cs-row { border-radius: 0 !important; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .page-hero h1 { font-size: 1.92rem; }
  .page-hero .lead { font-size: 0.84rem; }
  .sec-title { font-size: 2rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .cta-band { padding: 3rem 2rem; }
  .cta-band h2 { font-size: 1.8rem; }
  .client-logo { width: calc(50% - 4px); }
  .prod-vis { height: 240px; }
  .map-card { height: 220px !important; margin-bottom: 2rem !important; }
  .info-row { flex-direction: column !important; align-items: flex-start !important; gap: 0.2rem; }
  .info-row > span:first-child { width: auto !important; }
  .stat-item { min-width: 100%; border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
  .pillars-grid { grid-template-columns: 1fr; }
  .btn { white-space: normal; text-align: center; justify-content: center; width: 100%; box-sizing: border-box; }
  .btn-fixed { width: 100%; }
  .btn-group { flex-direction: column; }
  .mob-stack { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .planets-cta { align-items: stretch !important; }
  .mob-btn-row { flex-direction: column !important; align-items: stretch !important; }
  .mob-btn-row a { width: auto !important; }
  .cs-row { flex-direction: column !important; height: auto !important; }
  .cs-label { width: 100% !important; padding: 0.75rem 1.5rem !important; }
  .cs-text { padding: 0.75rem 1.5rem !important; min-width: 0; }
  /* removed: unused dead selectors (sunburst-chart, case-img-wrap, img-tall-block, interview-img-wrap, special-interview-card) */
}


/* ─────────────────────────────────────
   MOBILE DRAWER
───────────────────────────────────── */
.nav-mobile {
  position: fixed; top: 0; right: 0;
  width: min(320px, 88vw); height: 100dvh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border);
  z-index: 300;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto; padding: 1.5rem 1.75rem 3rem;
  display: flex; flex-direction: column;
}
.nav-mobile.open { transform: translateX(0); }

.nav-mobile-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 2.5rem; padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.nav-mobile-header .nav-logo { font-size: 1.25rem; }
.nav-mobile-close {
  background: none; border: 1px solid var(--border);
  color: var(--text-secondary); font-size: 1rem; cursor: pointer;
  width: 34px; height: 34px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.2s, border-color 0.2s;
}
.nav-mobile-close:hover { color: var(--text-primary); border-color: rgba(255,255,255,0.2); }

.nav-mobile-links { list-style: none; flex: 1; }
.nav-mobile-links > li { border-bottom: 1px solid var(--border); }
.nav-mobile-links > li > a {
  display: block; padding: 1rem 0;
  color: var(--text-secondary); text-decoration: none;
  font-size: 0.975rem; font-weight: 500;
  transition: color 0.2s;
}
.nav-mobile-links > li > a:hover,
.nav-mobile-links > li > a.active { color: var(--text-primary); }

.nav-mobile-group-label {
  display: block; padding: 0.85rem 0 0.4rem;
  font-family: 'Jost', sans-serif; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted);
}
.nav-mobile-sub { list-style: none; padding-bottom: 0.75rem; }
.nav-mobile-sub li a {
  display: block; padding: 0.45rem 0.75rem; border-radius: 6px;
  color: var(--text-secondary); text-decoration: none;
  font-size: 0.875rem; transition: all 0.2s;
}
.nav-mobile-sub li a:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }
.nav-mobile-sub li a.active { color: var(--accent-light); }

.nav-mobile-cta {
  display: block; margin-top: 2rem;
  background: var(--accent); color: #fff;
  padding: 0.95rem 1.5rem; border-radius: 8px; text-align: center;
  font-family: 'Jost', sans-serif; font-weight: 600; font-size: 0.92rem;
  text-decoration: none; transition: background 0.2s;
}
.nav-mobile-cta:hover { background: var(--accent-dark); }

/* Overlay */
.nav-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  z-index: 250; opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.nav-overlay.open { opacity: 1; visibility: visible; }
