/* ===========================================
   株式会社Extery — Corporate Website Styles
   Brand Color: #081ba6 (名刺統一)
   Accent: #00d4aa (ティール)
   2026 Redesign — Silicon Valley Aesthetic
   Aurora mesh, Bento grid, Scroll-driven animation,
   Cursor glow, Noise texture, Marquee ticker
   =========================================== */

/* Google Fonts loaded via <link> in HTML for better performance */

/* ---- Custom Properties ---- */
:root {
  --color-brand: #081ba6;
  --color-brand-dark: #050e5a;
  --color-brand-light: #4f6ef7;
  --color-brand-bg: #e8edf8;
  --color-accent: #00d4aa;
  --color-accent-dark: #00b894;
  --color-accent-glow: rgba(0, 212, 170, 0.4);
  --color-text: #0f172a;
  --color-text-sub: #64748b;
  --color-bg: #f8fafc;
  --color-white: #ffffff;
  --color-border: #e2e8f0;
  --color-dark-bg: #030816;
  --color-dark-surface: #0a1228;
  --max-width: 1200px;
  --font-stack: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition: 0.3s var(--ease-out-expo);
  --transition-slow: 0.6s var(--ease-out-expo);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
}

/* ---- Skip Link (Accessibility) ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--color-brand);
  color: #fff;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
  color: #fff;
}

/* ---- Focus Styles (Accessibility) ---- */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-stack);
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--color-brand);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-brand-light);
}

img {
  max-width: 100%;
  height: auto;
}

/* ---- Noise Texture Overlay ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ---- Cursor Glow (desktop only) ---- */
.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  background: radial-gradient(circle, rgba(79, 110, 247, 0.06) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease;
  opacity: 0;
  will-change: transform;
}

.cursor-glow.active {
  opacity: 1;
}

/* ---- Header / Navigation ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: all var(--transition);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 24px rgba(0, 0, 0, 0.06);
  border-bottom-color: transparent;
}

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

.site-logo {
  font-size: 22px;
  font-weight: 900;
  color: var(--color-brand);
  text-decoration: none;
  letter-spacing: -0.04em;
  transition: all var(--transition);
}

.site-logo:hover {
  text-decoration: none;
  color: var(--color-brand-light);
  transform: scale(1.02);
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 4px;
}

.nav-list a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-sub);
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 100px;
  position: relative;
  transition: all var(--transition);
}

.nav-list a:hover {
  color: var(--color-brand);
  background: rgba(8, 27, 166, 0.05);
}

.nav-list a.active {
  color: var(--color-brand);
  background: var(--color-brand-bg);
  font-weight: 600;
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background var(--transition);
}

.hamburger:hover {
  background: rgba(0, 0, 0, 0.04);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Hamburger → × animation */
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav-overlay.active {
  display: block;
  opacity: 1;
}
body.menu-open {
  overflow: hidden;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: 160px 32px 120px;
  text-align: center;
  background: var(--color-dark-bg);
  color: var(--color-white);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Aurora mesh gradient */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(8, 27, 166, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(79, 110, 247, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 50% 80%, rgba(0, 212, 170, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 40% 60% at 70% 70%, rgba(30, 58, 138, 0.3) 0%, transparent 50%);
  animation: aurora 12s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes aurora {
  0% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(1.05) rotate(1deg); opacity: 0.9; }
  100% { transform: scale(1) rotate(-1deg); opacity: 1; }
}

/* Grid pattern */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 40%, black 20%, transparent 70%);
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 72px;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.95) 40%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .tagline {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.hero .mission {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 48px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.9;
  font-weight: 400;
}

/* Hero badges — glassmorphism pill */
.hero-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  backdrop-filter: blur(12px);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  transition: all var(--transition);
}

.hero-badge:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hero-badge strong {
  color: var(--color-accent);
  font-weight: 800;
  font-size: 16px;
}

/* Hero CTA */
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Marquee / Ticker ---- */
.marquee-section {
  background: var(--color-dark-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  padding: 20px 0;
}

.marquee-track {
  display: flex;
  animation: marquee 40s linear infinite;
  width: max-content;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 40px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
}

.marquee-item strong {
  color: var(--color-accent);
  font-weight: 700;
}

.marquee-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

/* ---- Sections ---- */
.section {
  padding: 120px 32px;
  position: relative;
}

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

.section-white {
  background-color: var(--color-white);
}

.section-gray {
  background-color: var(--color-bg);
}

.section-dark {
  background: var(--color-dark-bg);
  color: var(--color-white);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-brand), var(--color-brand-light));
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(8, 27, 166, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(8, 27, 166, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

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

.btn-outline {
  border: 2px solid var(--color-brand);
  color: var(--color-brand);
  background: transparent;
}

.btn-outline:hover {
  background: var(--color-brand);
  color: var(--color-white);
}

.btn-accent {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: var(--color-dark-bg);
  font-weight: 700;
  box-shadow: 0 4px 20px var(--color-accent-glow);
}

.btn-accent:hover {
  box-shadow: 0 8px 36px var(--color-accent-glow);
  color: var(--color-dark-bg);
}

/* ---- Section Titles ---- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  border-radius: 1px;
}

.section-dark .section-label {
  color: var(--color-accent);
}

.section-title {
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.section-dark .section-title {
  color: var(--color-white);
}

.section-subtitle {
  font-size: 16px;
  color: var(--color-text-sub);
  margin-bottom: 64px;
  line-height: 1.8;
  max-width: 640px;
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.5);
}

/* ---- Bento Grid ---- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bento-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 27, 166, 0.02) 0%, rgba(0, 212, 170, 0.02) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.06);
  border-color: rgba(8, 27, 166, 0.12);
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-card.bento-lg {
  grid-column: span 2;
}

.bento-card.bento-full {
  grid-column: span 3;
}

.bento-number {
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--color-brand), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bento-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.bento-card p {
  font-size: 15px;
  color: var(--color-text-sub);
  line-height: 1.8;
  position: relative;
}

.bento-icon {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-brand), var(--color-brand-light));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 8px;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

/* ---- Cards (3-column) ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  position: relative;
  transition: all var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.06);
  border-color: rgba(8, 27, 166, 0.12);
}

.card-icon {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-brand), var(--color-brand-light));
  display: inline-block;
  padding: 6px 14px;
  border-radius: 8px;
  letter-spacing: 0.02em;
}

.card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.card p {
  font-size: 15px;
  color: var(--color-text-sub);
  margin-bottom: 16px;
  line-height: 1.8;
}

.card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-brand);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
}

.card-link:hover {
  color: var(--color-brand-light);
  gap: 10px;
}

/* ---- 2-column Pillar Cards ---- */
.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.pillar-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.pillar-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-brand), var(--color-accent));
  opacity: 0;
  transition: opacity var(--transition);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.pillar-card:hover::after {
  opacity: 1;
}

.pillar-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-accent-dark);
  background: rgba(0, 212, 170, 0.08);
  border: 1px solid rgba(0, 212, 170, 0.15);
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pillar-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.pillar-card p {
  font-size: 15px;
  color: var(--color-text-sub);
  line-height: 1.9;
  margin-bottom: 20px;
}

/* ---- Feature Grid (2-column) ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-item {
  padding: 32px;
  border-radius: var(--radius-md);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  position: relative;
  transition: all var(--transition);
}

.feature-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-brand), var(--color-accent));
  border-radius: 0 0 2px 2px;
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
  border-color: rgba(8, 27, 166, 0.1);
}

.feature-item:hover::after {
  opacity: 1;
}

.feature-item h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.feature-item p {
  font-size: 15px;
  color: var(--color-text-sub);
  line-height: 1.8;
}

/* ---- Highlight Box ---- */
.highlight-box {
  background: linear-gradient(135deg, rgba(8, 27, 166, 0.03) 0%, rgba(0, 212, 170, 0.03) 100%);
  border: 1px solid rgba(8, 27, 166, 0.08);
  border-left: 4px solid var(--color-brand);
  border-radius: var(--radius-md);
  padding: 32px 36px;
  margin: 24px 0;
}

.highlight-box p {
  font-size: 15px;
  line-height: 1.8;
}

.highlight-box strong {
  color: var(--color-brand);
}

/* ---- Testimonials ---- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testimonial-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--color-border);
  position: relative;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.testimonial-card > ul {
  flex: 1 0 auto;
}

.testimonial-summary {
  margin-top: auto;
  padding-top: 14px;
  padding-left: 18px;
  border-top: 1px dashed rgba(15, 23, 42, 0.08);
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 1.7;
}

.testimonial-summary strong {
  color: inherit;
  font-weight: 700;
}

.testimonial-card > ul {
  flex-grow: 1;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, rgba(8, 27, 166, 0.08), rgba(0, 212, 170, 0.08));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.06);
  border-color: rgba(8, 27, 166, 0.1);
}

.testimonial-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-accent-dark);
  background: rgba(0, 212, 170, 0.08);
  border: 1px solid rgba(0, 212, 170, 0.12);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.testimonial-quote {
  font-size: 15px;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 3px solid var(--color-brand);
}

.testimonial-result {
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 1.7;
}

.testimonial-result strong {
  color: inherit;
  font-weight: 700;
}

/* ---- Stats Grid ---- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item {
  padding: 44px 28px;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(8, 27, 166, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.06);
  border-color: rgba(8, 27, 166, 0.12);
}

.stat-number {
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-brand), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 8px;
  letter-spacing: -0.04em;
  position: relative;
}

.stat-label {
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.6;
}

/* ---- Service Detail ---- */
.service-section {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--color-border);
}

.service-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.service-section h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  color: var(--color-text);
  padding-left: 16px;
  border-left: 3px solid var(--color-brand);
}

.service-section p {
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.8;
}

.service-section ul {
  padding-left: 20px;
  margin: 12px 0 20px;
}

.service-section li {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.8;
}

/* Service Hero Banner */
.service-hero-banner {
  text-align: center;
  margin-bottom: 64px;
}

.service-hero-banner h2 {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.service-hero-banner .service-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-accent);
  background: rgba(0, 212, 170, 0.08);
  border: 1px solid rgba(0, 212, 170, 0.15);
  display: inline-block;
  padding: 4px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.service-hero-banner p {
  font-size: 16px;
  color: var(--color-text-sub);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ---- Steps Flow ---- */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin: 48px 0;
}

.step {
  text-align: center;
  flex: 1;
  max-width: 220px;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-brand), var(--color-brand-light));
  color: var(--color-white);
  border-radius: 18px;
  font-weight: 900;
  font-size: 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(8, 27, 166, 0.25);
}

.step h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.step p {
  font-size: 13px;
  color: var(--color-text-sub);
}

.step-arrow {
  display: flex;
  align-items: center;
  padding-top: 14px;
  color: var(--color-accent);
  font-size: 24px;
  font-weight: bold;
  opacity: 0.5;
}

/* ---- Profile ---- */
.profile-section {
  margin-bottom: 40px;
}

.profile-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 44px;
  position: relative;
  overflow: hidden;
}

.profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-brand), var(--color-accent));
}

.profile-name {
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.profile-section dl {
  margin-top: 20px;
}

.profile-section dt {
  font-weight: 700;
  margin-top: 24px;
  font-size: 14px;
  color: var(--color-brand);
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-section dt::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.profile-section dd {
  margin-left: 0;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.8;
}

/* ---- VMV (Vision/Mission/Values) ---- */
.vmv-block {
  margin-bottom: 56px;
  position: relative;
  padding-left: 32px;
}

.vmv-block::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: linear-gradient(180deg, var(--color-brand), var(--color-accent));
  border-radius: 2px;
}

.vmv-block h2 {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.vmv-block p {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.6;
  letter-spacing: -0.02em;
}

/* ---- Table ---- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.info-table th,
.info-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
}

.info-table th {
  width: 28%;
  font-weight: 600;
  color: var(--color-text-sub);
}

/* ---- Contact Form ---- */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font-stack);
  line-height: 1.6;
  background: var(--color-white);
  transition: all var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 4px rgba(8, 27, 166, 0.06);
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.form-note {
  font-size: 13px;
  color: var(--color-text-sub);
  margin-top: 20px;
  text-align: center;
}

/* ---- CTA Banner ---- */
.cta-banner {
  text-align: center;
  padding: 100px 32px;
  background: var(--color-dark-bg);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(8, 27, 166, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse 30% 40% at 70% 60%, rgba(0, 212, 170, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.04) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}

.cta-banner > * {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 16px;
  border: none;
  padding: 0;
  color: var(--color-white);
  letter-spacing: -0.03em;
}

.cta-banner p {
  font-size: 16px;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn {
  background: var(--color-accent);
  color: var(--color-dark-bg);
  font-weight: 700;
  box-shadow: 0 4px 24px var(--color-accent-glow);
}

.cta-banner .btn:hover {
  box-shadow: 0 8px 40px var(--color-accent-glow);
  color: var(--color-dark-bg);
}

/* ---- Footer ---- */
.site-footer {
  background-color: var(--color-dark-bg);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 32px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

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

.footer-brand .site-logo {
  color: var(--color-white);
  font-size: 20px;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
  max-width: 340px;
}

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

.footer-nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--color-accent);
}

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

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-contact-info {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-contact-info a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-contact-info a:hover {
  color: var(--color-accent);
}

/* Legacy footer support */
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-accent);
}

/* ---- Curriculum Progress Bar ---- */
.curriculum-bars {
  display: flex;
  gap: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 24px 0;
  height: 48px;
}

.curriculum-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 12px;
  font-weight: 600;
  padding: 0 12px;
  white-space: nowrap;
  transition: all var(--transition);
}

.curriculum-bar:first-child {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.curriculum-bar:last-child {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.curriculum-legend {
  display: flex;
  gap: 24px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.curriculum-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-sub);
}

.curriculum-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}

/* ---- Module Grid ---- */
.module-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.module-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.module-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  border-color: rgba(8, 27, 166, 0.12);
}

.module-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-brand), var(--color-brand-light));
  color: var(--color-white);
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 12px;
}

.module-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-text);
}

.module-card p {
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 1.6;
}

/* ---- Animations ---- */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.fade-in-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.fade-in-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.scale-in.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.stagger-children.is-visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(2) { transition-delay: 0.06s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(3) { transition-delay: 0.12s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(4) { transition-delay: 0.18s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(5) { transition-delay: 0.24s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(6) { transition-delay: 0.30s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(7) { transition-delay: 0.36s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(8) { transition-delay: 0.42s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(9) { transition-delay: 0.48s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(10) { transition-delay: 0.54s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(n+11) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }

/* ---- Counter Animation ---- */
.counter[data-target] {
  display: inline-block;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-list {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: 20px 24px;
    gap: 8px;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav-list.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero {
    padding: 120px 24px 80px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero .tagline {
    font-size: 12px;
  }

  .hero .mission {
    font-size: 15px;
  }

  .hero-badges {
    gap: 10px;
  }

  .hero-badge {
    font-size: 12px;
    padding: 8px 16px;
  }

  .hero-badge strong {
    font-size: 14px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .marquee-section {
    padding: 16px 0;
  }

  .marquee-item {
    font-size: 12px;
    padding: 0 24px;
  }

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

  .bento-card.bento-lg,
  .bento-card.bento-full {
    grid-column: span 1;
  }

  .bento-number {
    font-size: 48px;
  }

  .card-grid,
  .card-grid-2 {
    grid-template-columns: 1fr;
  }

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

  .stats-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .module-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .curriculum-bars {
    height: 36px;
  }

  .curriculum-bar {
    font-size: 10px;
    padding: 0 6px;
  }

  .steps {
    flex-direction: column;
    align-items: center;
  }

  .step-arrow {
    transform: rotate(90deg);
    padding: 4px 0;
  }

  .section {
    padding: 80px 20px;
  }

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

  .section-subtitle {
    margin-bottom: 48px;
  }

  .info-table th {
    width: 35%;
  }

  .cta-banner {
    padding: 72px 20px;
  }

  .cta-banner h2 {
    font-size: 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-brand p {
    max-width: none;
  }

  .footer-nav {
    align-items: center;
  }

  .footer-links-group {
    align-items: center;
  }

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

  .footer-links {
    justify-content: center;
  }

  .vmv-block {
    padding-left: 24px;
  }

  .vmv-block p {
    font-size: 18px;
  }

  .profile-card {
    padding: 28px;
  }

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

  .cursor-glow {
    display: none;
  }

  .pillar-card {
    padding: 32px 24px;
  }
}

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

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

  .bento-number {
    font-size: 40px;
  }

  .stat-number {
    font-size: 36px;
  }

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

/* ---- Subsidy Highlight Banner ---- */
.subsidy-banner {
  background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-dark) 50%, #1a0a3e 100%);
  padding: 48px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.subsidy-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(0, 212, 170, 0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(79, 110, 247, 0.1) 0%, transparent 60%);
  pointer-events: none;
}
.subsidy-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.subsidy-banner-label {
  display: inline-block;
  background: rgba(0, 212, 170, 0.2);
  border: 1px solid rgba(0, 212, 170, 0.4);
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}
.subsidy-banner-content {
  margin-bottom: 20px;
}
.subsidy-banner-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.subsidy-price-before {
  color: rgba(255, 255, 255, 0.5);
  font-size: 18px;
  text-decoration: line-through;
}
.subsidy-price-arrow {
  color: var(--color-accent);
  font-size: 24px;
}
.subsidy-price-after {
  color: var(--color-white);
  font-size: 28px;
}
.subsidy-price-after strong {
  font-size: 40px;
  font-weight: 800;
  color: var(--color-accent);
}
.subsidy-banner-detail {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}
.subsidy-banner-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.subsidy-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  font-size: 14px;
  padding: 6px 16px;
  border-radius: 100px;
}
.subsidy-badge::before {
  content: '\2713';
  color: var(--color-accent);
  font-weight: 700;
}
.subsidy-banner-cta {
  font-size: 16px;
}

/* ---- Section CTA (micro CTAs) ---- */
.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* ---- FAQ Accordion ---- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item[open] {
  border-color: var(--color-brand-light);
}
.faq-question {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  color: var(--color-brand-light);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 24px 20px;
  color: var(--color-text-sub);
  font-size: 15px;
  line-height: 1.8;
  animation: faqSlideIn 0.3s ease;
}
@keyframes faqSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- 3-Step Flow Section ---- */
.steps-grid {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 48px;
}

.step-card {
  flex: 1;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(8, 27, 166, 0.08);
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-brand), var(--color-brand-light));
  color: white;
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}

.step-card p {
  font-size: 15px;
  color: var(--color-text-sub);
  line-height: 1.8;
}

.step-connector {
  width: 48px;
  min-width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-brand-light), var(--color-accent));
  position: relative;
}

.step-connector::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 8px solid var(--color-accent);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

/* ---- Mobile Sticky CTA ---- */
.mobile-sticky-cta {
  display: none;
}

@media (max-width: 768px) {
  .mobile-sticky-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  }

  .mobile-sticky-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 700;
  }

  /* Add bottom padding to body so footer isn't hidden by sticky CTA */
  body {
    padding-bottom: 72px;
  }

  /* 3-Step responsive */
  .steps-grid {
    flex-direction: column;
    gap: 0;
  }

  .step-connector {
    width: 2px;
    min-width: 2px;
    height: 32px;
    background: linear-gradient(180deg, var(--color-brand-light), var(--color-accent));
  }

  .step-connector::after {
    right: 50%;
    top: auto;
    bottom: -4px;
    transform: translateX(50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid var(--color-accent);
    border-bottom: none;
  }

  .step-card {
    padding: 32px 24px;
  }
}

/* ---- Responsive: Subsidy Banner ---- */
@media (max-width: 768px) {
  .subsidy-price-after strong {
    font-size: 32px;
  }
  .subsidy-banner-price {
    flex-direction: column;
    gap: 8px;
  }
  .subsidy-price-arrow {
    transform: rotate(90deg);
  }
}

/* ---- Scroll Indicator (Hero) ---- */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator-text {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

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

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.5; }
}

@media (max-width: 768px) {
  .scroll-indicator {
    margin-top: 32px;
  }
  .scroll-indicator-line {
    height: 28px;
  }
}

/* ---- News / Blog Page ---- */
.news-item {
  padding: 32px 0;
  border-bottom: 1px solid var(--color-border);
}
.news-item:first-child {
  padding-top: 0;
}
.news-item:last-child {
  border-bottom: none;
}
.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.news-meta time {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-sub);
  letter-spacing: 0.02em;
}
.news-tag {
  display: inline-block;
  padding: 2px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.news-tag-info {
  background: var(--color-brand-bg);
  color: var(--color-brand);
}
.news-tag-case {
  background: rgba(0, 212, 170, 0.12);
  color: #00996b;
}
.news-tag-blog {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
}
.news-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.news-excerpt {
  font-size: 15px;
  color: var(--color-text-sub);
  line-height: 1.8;
}
.news-excerpt a {
  color: var(--color-brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.news-excerpt a:hover {
  color: var(--color-brand-light);
}

@media (max-width: 768px) {
  .news-title {
    font-size: 17px;
  }
  .news-item {
    padding: 24px 0;
  }
}

/* ---- Form Validation Styles ---- */
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: #ef4444;
}
.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
  border-color: var(--color-accent);
}
.form-error {
  display: none;
  font-size: 13px;
  color: #ef4444;
  margin-top: 4px;
  line-height: 1.4;
}
.form-group.has-error .form-error {
  display: block;
}
.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.03);
}
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ---- グループ研修 Curriculum Steps ---- */
.curriculum-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 48px auto 0;
}
.curriculum-step {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 28px 24px;
  transition: all var(--transition);
  overflow: hidden;
}
.curriculum-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-brand), var(--color-brand-light));
  border-radius: 0 0 2px 2px;
  opacity: 0;
  transition: opacity var(--transition);
}
.curriculum-step:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 27, 166, 0.18);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
}
.curriculum-step:hover::before {
  opacity: 1;
}
.curriculum-step h4 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  color: var(--color-text);
}
.curriculum-step p {
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 1.75;
  margin: 0;
}
.curriculum-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-brand), var(--color-brand-light));
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 16px rgba(8, 27, 166, 0.22);
}
.curriculum-step-badge--mid {
  background: linear-gradient(135deg, var(--color-brand-light), var(--color-accent));
  box-shadow: 0 6px 16px rgba(79, 110, 247, 0.22);
}
.curriculum-step-badge--accent {
  background: linear-gradient(135deg, var(--color-accent), #00b894);
  box-shadow: 0 6px 16px rgba(0, 212, 170, 0.28);
}
.curriculum-step--accent::before {
  background: linear-gradient(90deg, var(--color-accent), #00b894);
}
.curriculum-step--accent:hover {
  border-color: rgba(0, 212, 170, 0.28);
  box-shadow: 0 18px 40px rgba(0, 212, 170, 0.08);
}
@media (max-width: 768px) {
  .curriculum-steps {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 32px;
  }
  .curriculum-step {
    padding: 24px 20px;
  }
  .curriculum-step-badge {
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
  }
}

/* ---- 合同研修 Timetable ---- */
.timetable {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 32px;
}
.timetable-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
}
.timetable-row:first-child {
  padding-top: 0;
}
.timetable-row:last-child {
  border-bottom: none;
}
.timetable-time {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-brand);
  padding-top: 2px;
}
.timetable-content h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.timetable-content p {
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.7;
}
.timetable-duration {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  background: var(--color-brand-bg);
  color: var(--color-brand);
  margin-left: 8px;
}

@media (max-width: 768px) {
  .timetable-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .timetable-time {
    font-size: 13px;
  }
}

/* ---- Industry Grid (5+4 PC / 3×3 Mobile) ---- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-top: 40px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.industry-grid::after {
  content: '';
  background: var(--color-white);
  grid-row: 2;
  grid-column: 5;
}
.industry-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 8px 24px;
  text-align: center;
  color: var(--color-accent-dark);
  background: var(--color-white);
  transition: background var(--transition);
}
.industry-item:hover {
  background: rgba(0, 212, 170, 0.04);
}
.industry-item span {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
}

/* ---- Before/After Grid ---- */
.before-after-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}
.ba-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.ba-header {
  background: var(--color-brand);
  color: var(--color-white);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
}
.ba-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 24px;
  gap: 16px;
}
.ba-before, .ba-after {
  padding: 16px;
  border-radius: var(--radius-sm);
}
.ba-before {
  background: #fef2f2;
}
.ba-after {
  background: #ecfdf5;
}
.ba-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  padding: 2px 8px;
  border-radius: 100px;
}
.ba-before .ba-label {
  background: #fecaca;
  color: #991b1b;
}
.ba-after .ba-label {
  background: #a7f3d0;
  color: #065f46;
}
.ba-before p, .ba-after p {
  font-size: 14px;
  line-height: 1.7;
}
.ba-arrow {
  font-size: 24px;
  font-weight: 900;
  color: var(--color-accent);
}

@media (max-width: 768px) {
  .ba-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .ba-arrow {
    text-align: center;
    transform: rotate(90deg);
  }
  .industry-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .industry-grid::after {
    display: none;
  }
  .industry-item {
    padding: 20px 6px 16px;
  }
  .industry-item span {
    font-size: 12px;
  }
}

/* ---- Comparison Table ---- */
.comparison-table-wrap {
  overflow-x: auto;
  margin-top: 40px;
  -webkit-overflow-scrolling: touch;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.comparison-table th,
.comparison-table td {
  padding: 16px 24px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--color-border);
}
.comparison-table thead th {
  background: var(--color-brand-dark);
  color: var(--color-white);
  font-weight: 700;
  font-size: 15px;
}
.comparison-table thead th.highlight-col {
  background: var(--color-brand);
}
.comparison-table td.highlight-col {
  background: rgba(0, 212, 170, 0.06);
  color: var(--color-text);
}
.comparison-table tbody tr:hover {
  background: rgba(8, 27, 166, 0.02);
}
.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

@media (max-width: 768px) {
  .comparison-table th,
  .comparison-table td {
    padding: 12px 14px;
    font-size: 13px;
  }
}

/* ---- Urgency Box ---- */
.urgency-box {
  text-align: center;
  padding: 48px 32px;
  background: linear-gradient(135deg, rgba(8, 27, 166, 0.04) 0%, rgba(0, 212, 170, 0.06) 100%);
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-lg);
}
.urgency-label {
  display: inline-block;
  padding: 4px 16px;
  background: var(--color-accent);
  color: #030816;
  font-size: 12px;
  font-weight: 700;
  border-radius: 100px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.urgency-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 12px;
}
.urgency-desc {
  color: var(--color-text-sub);
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .urgency-box {
    padding: 32px 20px;
  }
  .urgency-title {
    font-size: 22px;
  }
}

/* ---- Enhanced Footer ---- */
.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links-group h4 {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 4px;
}
.footer-links-group a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links-group a:hover {
  color: var(--color-accent);
}
.footer-address {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}
.footer-address a {
  color: rgba(255, 255, 255, 0.6);
}
.footer-address a:hover {
  color: var(--color-accent);
}

/* =============================================
   Case Studies Page — P12
   ============================================= */

/* Case Study Header */
.case-study-header {
  text-align: center;
  margin-bottom: 48px;
}

.case-study-meta {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 16px 0 24px;
}

/* Case Detail Grid */
.case-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.case-detail-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
}

.section-gray .case-detail-card {
  background: var(--color-bg);
}

.case-detail-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-brand);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-accent);
}

/* Case Specs */
.case-specs {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 8px 16px;
}

.case-specs dt {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-sub);
}

.case-specs dd {
  font-size: 14px;
  color: var(--color-text);
}

/* Case Challenges */
.case-challenges {
  list-style: none;
  padding: 0;
}

.case-challenges li {
  font-size: 14px;
  color: var(--color-text);
  padding: 8px 0 8px 24px;
  position: relative;
  border-bottom: 1px solid var(--color-border);
}

.case-challenges li:last-child {
  border-bottom: none;
}

.case-challenges li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  opacity: 0.6;
}

/* Case Results */
.case-results {
  margin-bottom: 40px;
}

.case-results h3 {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
  color: var(--color-text);
}

.case-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.case-result-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all var(--transition);
}

.section-gray .case-result-item {
  background: var(--color-bg);
}

.case-result-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  border-color: rgba(8, 27, 166, 0.12);
}

.case-result-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.case-result-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
}

.case-result-item p {
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.7;
}

/* Case Quote Highlight */
.case-quote-highlight {
  margin: 40px 0;
  text-align: center;
}

.case-quote-highlight blockquote {
  position: relative;
  padding: 40px 48px;
  background: linear-gradient(135deg, rgba(8, 27, 166, 0.04) 0%, rgba(0, 212, 170, 0.04) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(8, 27, 166, 0.08);
}

.case-quote-highlight blockquote::before {
  content: '\201C';
  position: absolute;
  top: 8px;
  left: 24px;
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-brand), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
}

.case-quote-highlight blockquote p {
  font-size: 18px;
  font-weight: 600;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.8;
}

/* Case Key Takeaway */
.case-key-takeaway {
  background: linear-gradient(135deg, rgba(8, 27, 166, 0.05) 0%, rgba(0, 212, 170, 0.05) 100%);
  border: 1px solid rgba(8, 27, 166, 0.08);
  border-left: 4px solid var(--color-brand);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  color: var(--color-text);
}

.case-key-takeaway h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-brand);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(8, 27, 166, 0.1);
  position: relative;
}

.case-key-takeaway h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 48px;
  height: 1px;
  background: var(--color-accent);
}

.case-key-takeaway p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--color-text);
}

.case-key-takeaway strong {
  color: var(--color-brand);
  font-weight: 700;
}

/* Pricing Table — P12 */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.pricing-card {
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.pricing-card.popular {
  border-color: var(--color-brand);
  box-shadow: 0 8px 32px rgba(8, 27, 166, 0.12);
}

.pricing-card.popular::before {
  content: 'おすすめ';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-brand);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 20px;
  border-radius: 100px;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
}

.pricing-plan-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent-dark);
  background: rgba(0, 212, 170, 0.08);
  display: inline-block;
  padding: 4px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.pricing-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--color-text);
}

.pricing-price {
  margin: 20px 0;
}

.pricing-price .price-amount {
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-brand), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.04em;
}

.pricing-price .price-unit {
  font-size: 16px;
  color: var(--color-text-sub);
  font-weight: 600;
}

.pricing-price .price-note {
  font-size: 14px;
  color: var(--color-accent-dark);
  font-weight: 600;
  margin-top: 4px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  text-align: left;
}

.pricing-features li {
  font-size: 14px;
  color: var(--color-text);
  padding: 8px 0 8px 28px;
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent-dark);
  font-weight: 700;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* Responsive — Case Studies */
@media (max-width: 768px) {
  .case-detail-grid {
    grid-template-columns: 1fr;
  }
  .case-results-grid {
    grid-template-columns: 1fr;
  }
  .case-quote-highlight blockquote {
    padding: 28px 24px;
  }
  .case-quote-highlight blockquote p {
    font-size: 16px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}
