/* ════════════════════════════════════════
   CSS VARIABLES — Design System v1.0
   ════════════════════════════════════════ */
:root {
  --navy: #0A1628;
  --navy-mid: #0E1E35;
  --navy-soft: #162744;
  --orange: #E8722A;
  --gold: #F5A623;
  --gold-warm: #FFD166;
  --slate: #3E4C5E;
  --silver: #8A96A8;
  --pearl: #F4F5F7;
  --white: #FFFFFF;
  --bg: #FAFBFC;

  --text-primary: #0A1628;
  --text-secondary: #3E4C5E;
  --text-muted: #8A96A8;
  --border: rgba(10,22,40,0.08);
  --hover-bg: rgba(10,22,40,0.03);

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --max-width: 1200px;
  --section-padding: 120px 0;
  --content-padding: 0 40px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}

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

/* ════════════════════════════════════════
   HEADER
   ════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 3px;
  background: var(--navy);
}

.header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 3px;
  background: var(--orange);
}

.header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(10,22,40,0.06);
}

.logo-sun-text,
.logo-labs-text {
  transition: fill 0.3s;
}

.header.scrolled .logo-sun-text {
  fill: #0A1628;
}

.header.scrolled .logo-labs-text {
  fill: #3E4C5E;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav a {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s;
}

.header-nav a:hover {
  color: var(--text-primary);
}

.header-nav a:hover::after {
  width: 100%;
}

/* Header nav active state */
.header-nav a.active { color: var(--text-primary); font-weight: 700; }
.header-nav a.active::after { width: 100%; }

.btn-header-cta {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  background: var(--orange);
  border: none;
  padding: 8px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-header-cta:hover {
  background: #D4651F;
  box-shadow: 0 4px 12px rgba(232,114,42,0.3);
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  position: absolute;
  left: 0;
  transition: all 0.3s;
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 9px; }
.menu-toggle span:nth-child(3) { top: 18px; }

/* ════════════════════════════════════════
   HERO (index.html)
   ════════════════════════════════════════ */
.hero {
  background: var(--navy);
  color: var(--white);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(245,166,35,0.25) 0%, rgba(232,114,42,0.12) 30%, rgba(245,166,35,0.04) 55%, transparent 70%);
  animation: glowPulse 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 40px;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 56px;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: charReveal 0.4s ease-out forwards;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 16px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 2px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeIn 0.8s ease-out 0.6s forwards;
}

@keyframes charReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.hero-scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.3);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 0.8s ease-out 1s forwards, floatDown 2s ease-in-out 1.8s infinite;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
}

@keyframes floatDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ════════════════════════════════════════
   PAGE HERO (下層ページ共通)
   ════════════════════════════════════════ */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 50%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--orange));
}

.page-hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 3px;
  background: var(--navy-mid);
}

.page-hero-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.page-hero-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
}

/* ════════════════════════════════════════
   SECTION COMMON
   ════════════════════════════════════════ */
.section {
  padding: var(--section-padding);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--content-padding);
}

.section-alt {
  background: var(--pearl);
}

.section-header {
  margin-bottom: 56px;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.section-title-jp {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 400;
}

.section-bar {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
  border-radius: 2px;
  margin-top: 16px;
}

/* ════════════════════════════════════════
   WHAT WE DO (index.html)
   ════════════════════════════════════════ */
.mission-text {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 56px;
}

.mission-text strong {
  color: var(--text-primary);
  font-weight: 700;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 24px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(10,22,40,0.08);
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 16px;
}

.pillar-title {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.5;
}

.pillar-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.btn-primary {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  background: var(--navy);
  border: none;
  padding: 12px 28px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: var(--navy-soft);
  box-shadow: 0 4px 16px rgba(10,22,40,0.15);
}

.btn-primary .arrow {
  transition: transform 0.3s;
}

.btn-primary:hover .arrow {
  transform: translateX(3px);
}

/* ════════════════════════════════════════
   OUR WORKS (index.html)
   ════════════════════════════════════════ */
.stats-row {
  display: flex;
  gap: 56px;
  margin-bottom: 48px;
}

.stat-item {
  text-align: left;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text-primary);
  line-height: 1;
}

.stat-num .unit {
  color: var(--orange);
  font-size: 36px;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 8px;
}

.works-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 16px;
  margin-bottom: 40px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.works-carousel::-webkit-scrollbar {
  display: none;
}

.work-card {
  min-width: 280px;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(10,22,40,0.08);
}

.work-thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--pearl), #E8E9EC);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.work-body {
  padding: 20px;
}

.work-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--orange);
  background: rgba(232,114,42,0.08);
  display: inline-block;
  padding: 3px 10px;
  border-radius: 10px;
  margin-bottom: 8px;
}

.work-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--text-secondary);
}

.btn-secondary {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  background: none;
  border: 1.5px solid var(--navy);
  padding: 10px 24px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-secondary .arrow {
  transition: transform 0.3s;
}

.btn-secondary:hover .arrow {
  transform: translateX(3px);
}

/* ════════════════════════════════════════
   NEWS (index.html)
   ════════════════════════════════════════ */
.news-list {
  margin-bottom: 40px;
}

.news-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
  cursor: pointer;
}

.news-item:hover {
  background: var(--hover-bg);
  margin: 0 -16px;
  padding: 20px 16px;
  border-radius: 8px;
}

.news-date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.news-badge {
  font-size: 9px;
  font-weight: 600;
  color: var(--orange);
  background: rgba(232,114,42,0.08);
  padding: 2px 10px;
  border-radius: 10px;
  flex-shrink: 0;
}

.news-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.btn-text {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-text:hover {
  color: var(--orange);
}

/* ════════════════════════════════════════
   CTA (共通)
   ════════════════════════════════════════ */
.cta-section {
  background: var(--navy);
  color: var(--white);
  padding: var(--section-padding);
}

.cta-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--content-padding);
  text-align: center;
}

.cta-title {
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 48px;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.cta-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 40px 32px;
  transition: border-color 0.3s, transform 0.3s;
}

.cta-card:hover {
  border-color: rgba(232,114,42,0.3);
  transform: translateY(-2px);
}

.cta-card-icon {
  margin-bottom: 16px;
}

.cta-card-icon svg {
  width: 36px;
  height: 36px;
}

.cta-card-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.cta-card-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
  line-height: 1.6;
}

.btn-accent {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), var(--orange));
  border: none;
  padding: 14px 32px;
  border-radius: 6px;
  cursor: pointer;
  transition: box-shadow 0.3s, transform 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-accent:hover {
  box-shadow: 0 4px 20px rgba(245,166,35,0.3);
  transform: translateY(-1px);
}

.btn-accent .arrow {
  transition: transform 0.3s;
}

.btn-accent:hover .arrow {
  transform: translateX(3px);
}

.btn-ghost {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.2);
  padding: 10px 24px;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

/* ════════════════════════════════════════
   VISION / MISSION (about.html)
   ════════════════════════════════════════ */
.vision-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 0;
}

.vm-card {
  padding: 48px;
  border-radius: 12px;
}

.vm-card.vision-card {
  background: var(--navy);
  color: var(--white);
}

.vm-card.mission-card {
  background: var(--white);
  border: 1px solid var(--border);
}

.vm-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 20px;
}

.vm-text-main {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 16px;
}

.vm-text-en {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 1px;
  opacity: 0.4;
}

.mission-card .vm-label { color: var(--orange); }
.mission-card .vm-text-main { color: var(--text-primary); }
.mission-card .vm-text-en { color: var(--text-muted); }

/* ════════════════════════════════════════
   NAME ORIGIN (about.html)
   ════════════════════════════════════════ */
.name-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.name-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.name-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(10,22,40,0.08);
}

.name-card-word {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 4px;
}

.name-card-word.sun { color: var(--gold); }
.name-card-word.ark { color: var(--orange); }
.name-card-word.labs { color: var(--navy); }

.name-card-meaning {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.name-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ════════════════════════════════════════
   CEO MESSAGE (about.html)
   ════════════════════════════════════════ */
.ceo-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}

.ceo-photo {
  width: 280px;
  height: 340px;
  background: linear-gradient(135deg, var(--pearl), #E8E9EC);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.ceo-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.ceo-name-en {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.ceo-role {
  font-size: 12px;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 24px;
}

.ceo-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 2;
}

.ceo-text p {
  margin-bottom: 16px;
}

/* ════════════════════════════════════════
   COMPANY INFO TABLE (about.html)
   ════════════════════════════════════════ */
.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table tr {
  border-bottom: 1px solid var(--border);
}

.info-table th {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  padding: 20px 24px 20px 0;
  width: 160px;
  vertical-align: top;
}

.info-table td {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 20px 0;
  line-height: 1.7;
}

/* ════════════════════════════════════════
   ACCESS (about.html)
   ════════════════════════════════════════ */
.access-map {
  width: 100%;
  height: 360px;
  background: var(--pearl);
  border-radius: 12px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 32px;
}

/* ════════════════════════════════════════
   SERVICE OVERVIEW (service.html)
   ════════════════════════════════════════ */
.service-lead {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--text-secondary);
  max-width: 720px;
  margin-bottom: 24px;
}

.service-lead strong {
  color: var(--text-primary);
  font-weight: 700;
}

.service-sub {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 640px;
}

/* ════════════════════════════════════════
   PILLAR DETAIL (service.html)
   ════════════════════════════════════════ */
.pillar-detail {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.pillar-detail:last-child { border-bottom: none; }

.pillar-detail-num {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 800;
  color: var(--pearl);
  line-height: 1;
  position: relative;
}

.pillar-detail-num::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 32px;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
  border-radius: 2px;
}

.pillar-detail-title {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.5;
}

.pillar-detail-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 20px;
}

.pillar-detail-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pillar-detail-points li {
  font-size: 13px;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
  line-height: 1.7;
}

.pillar-detail-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.5;
}

/* ════════════════════════════════════════
   SES SECTION (service.html)
   ════════════════════════════════════════ */
.ses-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.ses-content h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.ses-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 16px;
}

.ses-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.ses-skill-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--text-secondary);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 20px;
}

.ses-visual {
  background: linear-gradient(135deg, var(--pearl), #E8E9EC);
  border-radius: 12px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

/* ════════════════════════════════════════
   FLOW SECTION (service.html)
   ════════════════════════════════════════ */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.flow-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.flow-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(10,22,40,0.08);
}

.flow-step {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 16px;
}

.flow-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.flow-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

.flow-arrow {
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--silver);
  z-index: 1;
}

.flow-card:last-child .flow-arrow { display: none; }

/* ════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════ */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--content-padding);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
}

.footer-col a {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 10px;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: rgba(255,255,255,0.6);
}

/* ════════════════════════════════════════
   MOBILE MENU OVERLAY
   ════════════════════════════════════════ */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 3000;
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mobile-menu.open {
  display: block;
  opacity: 1;
}

.mobile-menu-inner {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 100px 32px 40px;
}

.mobile-menu-brand {
  margin-bottom: 48px;
}

.mobile-menu-brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  color: var(--white);
  letter-spacing: -0.5px;
}

.mobile-menu-brand-name .ark {
  color: var(--orange);
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.mobile-menu-link {
  display: block;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
  transition: background 0.3s;
}

.mobile-menu-link:first-child {
  border-top: 1px solid rgba(255,255,255,0.06);
}

.mobile-menu-en {
  display: block;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.3px;
}

.mobile-menu-jp {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  margin-top: 4px;
}

.mobile-menu-link:hover .mobile-menu-en,
.mobile-menu-link:active .mobile-menu-en {
  color: var(--gold);
}

.mobile-menu-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.mobile-menu-info a {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.3s;
}

.mobile-menu-info a:hover {
  color: var(--gold);
}

.mobile-menu-copy {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.2);
  margin-top: 12px;
  letter-spacing: 1px;
}

/* Menu toggle open state */
.menu-toggle.open span,
.menu-toggle.open.scrolled span {
  background: var(--white);
}

.menu-toggle.open span:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}

/* ════════════════════════════════════════
   SCROLL REVEAL
   ════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* ════════════════════════════════════════
   Coming Soon Modal
   ════════════════════════════════════════ */
.coming-soon-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(10,22,40,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
}
.coming-soon-modal.show {
  display: flex;
}
.coming-soon-box {
  background: var(--white);
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(10,22,40,0.2);
}
.coming-soon-box .cs-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.coming-soon-box .cs-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.coming-soon-box .cs-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.coming-soon-box .cs-close {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  background: none;
  border: 1.5px solid var(--border);
  padding: 8px 24px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
}
.coming-soon-box .cs-close:hover {
  border-color: var(--text-secondary);
}

/* Coming Soon section placeholder */
.coming-soon-placeholder {
  text-align: center;
  padding: 60px 20px;
}
.coming-soon-placeholder .cs-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid rgba(232,114,42,0.2);
  display: inline-block;
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.coming-soon-placeholder .cs-text {
  font-size: 14px;
  color: var(--text-muted);
}

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */
@media (max-width: 768px) {
  :root {
    --section-padding: 80px 0;
    --content-padding: 0 20px;
  }

  .header-inner { padding: 0 20px; }

  .menu-toggle span {
    background: var(--white);
    transition: all 0.3s;
  }

  .menu-toggle.scrolled span {
    background: var(--text-primary);
  }

  .header-nav { display: none; }

  .menu-toggle { display: block; position: fixed; top: 26px; right: 20px; z-index: 3001; }

  .hero-title { font-size: 36px; }
  .hero-subtitle { font-size: 14px; }

  .section-title { font-size: 28px; }
  .mission-text { font-size: 16px; }

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

  .stats-row { gap: 32px; }
  .stat-num { font-size: 40px; }

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

  .page-hero { padding: 120px 20px 60px; }
  .page-hero-title { font-size: 32px; }

  .vision-mission { grid-template-columns: 1fr; gap: 24px; }
  .vm-card { padding: 32px; }
  .vm-text-main { font-size: 20px; }

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

  .ceo-layout { grid-template-columns: 1fr; gap: 32px; }
  .ceo-photo { width: 100%; max-width: 280px; height: 280px; }

  .info-table th { width: 100px; padding: 16px 16px 16px 0; font-size: 12px; }
  .info-table td { font-size: 13px; padding: 16px 0; }

  .pillar-detail { grid-template-columns: 1fr; gap: 16px; }
  .pillar-detail-num { font-size: 40px; }

  .ses-layout { grid-template-columns: 1fr; }
  .ses-visual { height: 200px; }

  .flow-grid { grid-template-columns: 1fr 1fr; }
  .flow-arrow { display: none; }

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

@media (max-width: 480px) {
  .hero-title { font-size: 28px; }

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

  .stats-row {
    flex-direction: column;
    gap: 24px;
  }

  .news-item {
    flex-wrap: wrap;
    gap: 8px;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
