:root {
  --navy: #0C1222;
  --navy-light: #152040;
  --coral: #3aafda;
  --coral-light: #5cc4e8;
  --coral-pale: #EDF8FC;
  --accent-vivid: #F43F5E;
  --accent-vivid-light: #FB7185;
  --accent-vivid-dark: #E11D48;
  --teal: #4aad9e;
  --white: #FFFFFF;
  --off-white: #F8FAFC;
  --gray-50: #F9FAFB;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --shadow-sm: 0 1px 3px rgba(12,18,34,0.06);
  --shadow-md: 0 4px 20px rgba(12,18,34,0.08);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --gradient-cta: linear-gradient(135deg, #F43F5E 0%, #E11D48 100%);
  --gradient-cta-hover: linear-gradient(135deg, #FB7185 0%, #F43F5E 100%);
  --gradient-teal: linear-gradient(135deg, #3aafda 0%, #4aad9e 100%);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.en { font-family: 'DM Sans', sans-serif; }

/* Subtle grain texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.02;
  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;
}

/* SCROLL ANIMATIONS */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out-quint), transform 0.8s var(--ease-out-quint);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }

/* DECORATIVE ELEMENTS */

/* Dot grid pattern overlay for gray sections */
.sec-gray::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(12,18,34,0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Subtle grid lines for white sections */
.sec-white::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11,20,38,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,20,38,0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s;
}
.sec-white:hover::after { opacity: 1; }

/* Gradient accent line */
.accent-line {
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, #3aafda, #4aad9e, rgba(74,173,158,0.3));
  border-radius: 2px;
  margin-bottom: 18px;
}

/* Animated gradient border on service cards */
.service-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, transparent, rgba(58,175,218,0.08), rgba(244,63,94,0.06), transparent);
  background-size: 300% 300%;
  opacity: 0;
  transition: opacity 0.5s;
  z-index: -1;
  animation: gradient-shift 6s ease infinite;
}
.service-card:hover::before { opacity: 1; }

@keyframes float-slow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, 15px) scale(1.05); }
}
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Problem card corner glow */
.problem-card::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(58,175,218,0.12), transparent 65%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.problem-card:hover::before { opacity: 1; }

/* CTA button shimmer */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s;
}
.btn-primary:hover::after { left: 120%; }

/* Result card shimmer */
.result-card:hover /* Feature item accent bar */
.why-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent-vivid), #3aafda, #4aad9e);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.3s;
}
.why-item:hover::before { opacity: 1; }

/* Merit number hover */
.merit-num { transition: color 0.3s; }
.merit-card:hover .merit-num { color: var(--accent-vivid); }

/* Deliverable preview fade */
.deliverable-preview::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 20px;
  background: linear-gradient(transparent, var(--gray-50));
  pointer-events: none;
}

/* Flow connector */
.flow-steps::before {
  content: '';
  position: absolute;
  top: 92px;
  left: calc(16.66% + 36px);
  right: calc(16.66% + 36px);
  height: 2px;
  background: linear-gradient(90deg, rgba(203,213,225,0.3), rgba(58,175,218,0.15), rgba(203,213,225,0.3));
  z-index: 0;
}

/* Compare table row hover */
.compare-table tbody tr { transition: background 0.2s; }
.compare-table tbody tr:hover td { background: rgba(58,175,218,0.02) !important; }
.compare-table tbody tr:hover td:first-child { background: var(--gray-100) !important; }

/* TECH DARK SECTION */
.sec-dark {
  background: linear-gradient(135deg, #070B18 0%, #0C1222 30%, #0E1A3A 60%, #152040 100%);
  padding: 120px 40px;
  position: relative;
  overflow: hidden;
}
.sec-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.sec-dark::after {
  content: '';
  position: absolute;
  top: -200px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(58,175,218,0.12), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  animation: float-slow 18s ease-in-out infinite;
}
.sec-dark .section-label { color: var(--coral-light); }
.sec-dark .section-title {
  background: linear-gradient(135deg, #ffffff, #5cc4e8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sec-dark .section-desc {color: rgba(255,255,255,0.65); }
.sec-dark .accent-line { background: linear-gradient(90deg, var(--accent-vivid), #3aafda, rgba(58,175,218,0.2)); }

/* Glassmorphism tech cards (for dark backgrounds) */
.tech-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.tech-card:hover {
  border-color: rgba(58,175,218,0.2);
  background: rgba(255,255,255,0.06);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(58,175,218,0.08);
}
.tech-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244,63,94,0.6), rgba(58,175,218,0.3), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.tech-card:hover::after { opacity: 1; }
.tech-card h3 { color: white; font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.tech-card p { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.8; }
.tech-card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(58,175,218,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.07);
}
.tech-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--coral-light);
  margin-bottom: 12px;
  letter-spacing: 1.5px;
}

/* HEADER */

.logo-img {
  height: 28px;
  width: auto;
  display: block;
}
.footer-logo-link { display: inline-block; }
.footer-logo-img {
  height: 22px;
  width: auto;
  display: block;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.footer-logo-link:hover .footer-logo-img { opacity: 1; }

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(12,18,34,0.06);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(12,18,34,0.06); }

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
}
.logo-mark {
  width: 36px; height: 36px;
  background: var(--gradient-teal);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.5px;
}
.logo-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  letter-spacing: -0.5px;
}
.logo-text span { color: var(--teal); }

nav { display: flex; align-items: center; gap: 8px; }
nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  cursor: pointer;
}
nav a:hover { color: var(--navy); background: var(--off-white); }
nav a.active { color: var(--text-primary); font-weight: 600; }

nav .header-cta {
  background: var(--gradient-cta);
  color: white;
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 10px 22px;
}
nav .header-cta:hover { background: var(--gradient-cta-hover); color: white; }

/* HERO */
.hero-content { position: relative; z-index: 1; }
.hero {
  padding: 180px 40px 140px;
  background: #070B18;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Animated gradient mesh */
.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(58,175,218,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 30%, rgba(74,173,158,0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 70% at 60% 80%, rgba(244,63,94,0.1) 0%, transparent 50%),
    radial-gradient(ellipse 70% 40% at 40% 60%, rgba(58,175,218,0.08) 0%, transparent 50%);
  animation: mesh-shift 12s ease-in-out infinite alternate;
}
@keyframes mesh-shift {
  0% { transform: scale(1) translate(0, 0); opacity: 1; }
  50% { transform: scale(1.1) translate(-3%, 2%); opacity: 0.85; }
  100% { transform: scale(1.05) translate(2%, -3%); opacity: 0.95; }
}

/* Grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(58,175,218,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58,175,218,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-particle {
  position: absolute;
  width: 3px; height: 3px;
  background: rgba(58,175,218,0.4);
  border-radius: 50%;
  animation: particle-float linear infinite;
}
.hero-particle:nth-child(1) { left: 15%; top: 20%; animation-duration: 18s; width: 4px; height: 4px; background: rgba(58,175,218,0.5); }
.hero-particle:nth-child(2) { left: 45%; top: 70%; animation-duration: 22s; animation-delay: -5s; }
.hero-particle:nth-child(3) { left: 75%; top: 30%; animation-duration: 16s; animation-delay: -3s; background: rgba(74,173,158,0.4); width: 4px; height: 4px; }
.hero-particle:nth-child(4) { left: 85%; top: 65%; animation-duration: 20s; animation-delay: -8s; background: rgba(244,63,94,0.3); }
.hero-particle:nth-child(5) { left: 30%; top: 50%; animation-duration: 24s; animation-delay: -12s; width: 5px; height: 5px; background: rgba(74,173,158,0.35); }
.hero-particle:nth-child(6) { left: 60%; top: 15%; animation-duration: 19s; animation-delay: -7s; }
.hero-particle:nth-child(7) { left: 10%; top: 80%; animation-duration: 21s; animation-delay: -10s; background: rgba(244,63,94,0.25); }
.hero-particle:nth-child(8) { left: 90%; top: 45%; animation-duration: 17s; animation-delay: -4s; background: rgba(58,175,218,0.3); width: 4px; height: 4px; }
@keyframes particle-float {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translate(-40px, -120px) scale(0.5); opacity: 0; }
}

/* Glow orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: rgba(58,175,218,0.12);
  top: -10%; right: -5%;
  animation: orb-drift 15s ease-in-out infinite alternate;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: rgba(74,173,158,0.1);
  bottom: -15%; left: -8%;
  animation: orb-drift 18s ease-in-out infinite alternate-reverse;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  background: rgba(244,63,94,0.08);
  top: 40%; left: 40%;
  animation: orb-drift 20s ease-in-out infinite alternate;
}
@keyframes orb-drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -30px) scale(1.15); }
}

/* Glowing line */
.hero-glow-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(58,175,218,0.3) 30%, rgba(74,173,158,0.4) 50%, rgba(244,63,94,0.3) 70%, transparent 95%);
}

.hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 60px;
  align-items: center;
  width: 100%;
}

/* Staggered entrance animation */

.hero-anim {
  opacity: 0;
  transform: translateY(30px);
  animation-name: hero-enter;
  animation-duration: 0.8s;
  animation-timing-function: var(--ease-out-expo);
  animation-fill-mode: forwards;
}
.hero-anim-1 { animation-delay: 0.1s; }
.hero-anim-2 { animation-delay: 0.25s; }
.hero-anim-3 { animation-delay: 0.4s; }
.hero-anim-4 { animation-delay: 0.55s; }
@keyframes hero-enter {
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(58,175,218,0.2);
  border-radius: 100px;
  padding: 6px 18px 6px 8px;
  margin-bottom: 28px;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(10px);
}
.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--accent-vivid);
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 8px rgba(244,63,94,0.4);
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(244,63,94,0.4); }
  50% { opacity: 0.5; box-shadow: 0 0 16px rgba(244,63,94,0.6); }
}

.hero h1 {
  font-size: 58px;
  font-weight: 800;
  line-height: 1.3;
  color: white;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent-vivid), var(--accent-vivid-light), #3aafda);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: text-shimmer 4s ease-in-out infinite;
}
@keyframes text-shimmer {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

.hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 44px;
  letter-spacing: 0.02em;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero right: Enhanced cycle diagram */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.cycle {
  width: 100%;
  max-width: 460px;
  position: relative;
}
/* Force square with a padding-bottom trick */
.cycle::before {
  content: '';
  display: block;
  padding-bottom: 100%;
}
.cycle-inner { position: absolute; inset: 0; }

/* All rings rendered via SVG for pixel-perfect circles */
.cycle-rings {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.cycle-rings svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.ring-outer {
  fill: none;
  stroke: rgba(58,175,218,0.06);
  stroke-width: 1;
}
.ring-dash {
  fill: none;
  stroke: rgba(58,175,218,0.14);
  stroke-width: 1.5;
  stroke-dasharray: 8 10;
  transform-origin: 230px 230px;
  animation: cycle-rotate 40s linear infinite;
}
@keyframes cycle-rotate {
  to { transform: rotate(360deg); }
}

/* Center hub */
.cycle-hub {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 120px; height: 120px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(58,175,218,0.15);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 5;
  box-shadow: 0 0 50px rgba(58,175,218,0.1), 0 0 100px rgba(58,175,218,0.05);
  animation: hub-glow 5s ease-in-out infinite;
}
@keyframes hub-glow {
  0%, 100% { box-shadow: 0 0 50px rgba(58,175,218,0.08), 0 0 100px rgba(58,175,218,0.04); }
  50% { box-shadow: 0 0 70px rgba(58,175,218,0.14), 0 0 120px rgba(58,175,218,0.07); }
}
.cycle-hub-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: white;
}
.cycle-hub-text span { color: var(--teal); }
.cycle-hub-sub {
  font-size: 9px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Nodes */
.cycle-nd {
  position: absolute;
  text-align: center;
  z-index: 4;
}
.cycle-nd-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  margin: 0 auto 8px;
  box-shadow: 0 0 12px currentColor;
}
.cycle-nd-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 20px 18px 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.4s var(--ease-out-expo);
  min-width: 155px;
}
.cycle-nd-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.2);
}
.cycle-nd-icon { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; }
.cycle-nd-label {
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}
.cycle-nd-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

/* Node positions & colors */
.cycle-nd-1 { top: -10px; left: 50%; transform: translateX(-50%); }
.cycle-nd-1 .cycle-nd-dot { background: var(--coral); color: var(--coral); }
.cycle-nd-1 .cycle-nd-card { border-top: 2px solid rgba(58,175,218,0.3); }

.cycle-nd-2 { bottom: 30px; right: -15px; animation-delay: 0.8s; }
.cycle-nd-2 .cycle-nd-dot { background: var(--teal); color: var(--teal); }
.cycle-nd-2 .cycle-nd-card { border-top: 2px solid rgba(74,173,158,0.3); }

.cycle-nd-3 { bottom: 30px; left: -15px; animation-delay: 1.0s; }
.cycle-nd-3 .cycle-nd-dot { background: var(--accent-vivid); color: var(--accent-vivid); }
.cycle-nd-3 .cycle-nd-card { border-top: 2px solid rgba(244,63,94,0.3); }

/* Animated node entrance */
@keyframes nd-enter {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to {opacity: 1; transform: translateX(-50%) translateY(0); }
}
.cycle-nd-2, .cycle-nd-3 { animation-name: nd-enter-side; }
@keyframes nd-enter-side {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn-primary {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-cta);
  color: white;
  border: none;
  padding: 17px 36px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
  text-decoration: none;
  font-family: inherit;
  letter-spacing: 0.02em;
}
.btn-primary:hover { background: var(--gradient-cta-hover); transform: translateY(-3px); box-shadow: 0 14px 44px rgba(244,63,94,0.35); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.3);
  padding: 15px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  font-family: inherit;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.06); box-shadow: 0 0 20px rgba(255,255,255,0.04); }

/* SECTIONS */
section { padding: 120px 40px; }

.section-inner { max-width: 1320px; margin: 0 auto; }

.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 14px;
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.45;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 960px;
  line-height: 1.8;
  letter-spacing: 0.01em;
}

/* PROBLEMS */
.problems { background: var(--off-white); }
.problems-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.problem-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(248,250,252,0.95));
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s;
  border: 1px solid rgba(58,175,218,0.06);
  backdrop-filter: blur(4px);
}
.problem-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(12,18,34,0.1);
  border-color: rgba(58,175,218,0.12);
}
.problem-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(58,175,218,0.1), rgba(74,173,158,0.06));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 24px;
}
.problem-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.6;
}
.problem-card p,

.problem-conclusion {
  margin-top: 48px;
  text-align: center;
  padding: 36px 44px;
  background: linear-gradient(135deg, #0C1222, #0E1A3A, #152040);
  border-radius: var(--radius-xl);
  color: rgba(255,255,255,0.85);
  box-shadow: 0 8px 40px rgba(12,18,34,0.15), 0 0 0 1px rgba(58,175,218,0.06);
  line-height: 1.8;
  font-size: 16px;
}
.problem-conclusion strong { font-size: 18px; color: var(--accent-vivid-light); }

/* VALUE (3 PILLARS) */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.pillar-arrow {
  text-align: center;
  margin-top: 56px;
  padding: 32px;

  background: linear-gradient(135deg, rgba(248,250,252,0.8), rgba(58,175,218,0.05));
  border-left: 3px solid var(--accent-vivid);
  border-radius: var(--radius-lg);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}
.pillar-arrow em {
  font-style: normal;
  color: var(--coral);
  background: linear-gradient(transparent 60%, rgba(58,175,218,0.12) 60%);
  padding: 0 2px;
}

/* SERVICES */
.services { background: var(--off-white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.service-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(248,250,252,0.9));
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.35s;
  cursor: pointer;
  border: 1px solid rgba(58,175,218,0.05);
  position: relative;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(12,18,34,0.12), 0 0 0 1px rgba(58,175,218,0.1);
  border-color: rgba(58,175,218,0.1);
}

.service-card-top { padding: 40px 32px 32px; position: relative; }
.service-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.service-card:nth-child(1) .service-tag { background: rgba(58,175,218,0.1); color: var(--coral); }
.service-card:nth-child(2) .service-tag { background: rgba(74,173,158,0.1); color: var(--teal); }
.service-card:nth-child(3) .service-tag { background: rgba(244,63,94,0.08); color: var(--accent-vivid); }

.service-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.45;
}
.service-card-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 18px;
}
.service-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-card-bottom {
  padding: 20px 28px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.service-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-vivid);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s;
}
.service-card:hover .service-link { gap: 10px; }

/* RESULTS */
.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.result-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(248,250,252,0.9));
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(58,175,218,0.06);
  transition: all 0.35s;
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}
.result-card:hover { box-shadow: 0 8px 32px rgba(58,175,218,0.12); transform: translateY(-4px); }
.result-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: var(--navy);
  position: relative;
}
.rt-1 { background: url('rt-1.jpg') center/cover no-repeat; }

.rt-3 { background: linear-gradient(135deg, #070B18 0%, #0C1222 60%, #152040 100%); }
.rt-4 {background: linear-gradient(135deg, #1a3a5c 0%, #0C1222 40%, #152040 100%); }
.result-body { padding: 28px 32px 32px; }

.result-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.6;
}
.result-subtitle {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
  line-height: 1.6;
}
.result-metrics {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.result-metric { display: flex; flex-direction: column; }
.result-metric-value {
  font-family: 'DM Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
}
.result-metric-label { font-size: 13px; color: var(--gray-500); }

/* PLATFORM */

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

/* PLATFORM CTA */
.platform-cta-text { font-size: 15px; font-weight: 600; }
.platform-cta { text-align: center; margin-top: 56px; }
.platform-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-md);
  color: white;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.35s var(--ease-out-expo);
  letter-spacing: 0.02em;
}
.platform-cta-link:hover {
  background: rgba(255,255,255,0.2);
  border-color: white;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255,255,255,0.1);
}
.platform-cta-arrow {display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  font-size: 14px;
  transition: transform 0.3s;
}
.platform-cta-link:hover .platform-cta-arrow { transform: translateX(4px); }
.platform-cta-note {
  margin-top: 14px;
  font-size: 14px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.01em;
}

/* WHY US */
.why-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.why-item {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(248,250,252,0.95));
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(58,175,218,0.06);
  transition: all 0.35s;
}
.why-item:hover { box-shadow: 0 8px 32px rgba(12,18,34,0.08); border-color: rgba(58,175,218,0.12); }
.why-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gray-300), var(--gray-200));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  width: 48px;
}
.why-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.why-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* FLOW */
.flow { background: var(--off-white); }
.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
  position: relative;
}
.flow-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.flow-step-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-vivid);
  margin-bottom: 16px;
}
.flow-step-icon {width: 84px; height: 84px;
  background: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 28px;
  box-shadow: 0 4px 16px rgba(0,52,74,0.08), 0 0 0 1px rgba(0,52,74,0.04);
  transition: box-shadow 0.3s;
}
.flow-step:hover .flow-step-icon { box-shadow: 0 8px 28px rgba(58,175,218,0.2), 0 0 0 2px rgba(58,175,218,0.15); }
.flow-step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

/* DOCUMENT CTA */
.doc-cta { padding: 80px 40px; background: linear-gradient(135deg, #f0f9ff 0%, #f8fafc 50%, #f0fdf4 100%); }
.doc-cta-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: center;
  background: white;
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border: 1px solid rgba(58,175,218,0.08);
}
.doc-cta-thumb {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  aspect-ratio: 600/338;
}
.doc-cta-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.doc-cta-body h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.6;
}
.doc-cta-body .doc-cta-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--coral);
  background: rgba(58,175,218,0.08);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}
.doc-cta-body p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 28px;
}
.doc-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--accent-vivid), var(--accent-vivid-dark));
  color: white;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all 0.35s var(--ease-out-expo);
  box-shadow: 0 4px 16px rgba(244,63,94,0.25);
}
.doc-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(244,63,94,0.35); }

.cta-section {
  background: linear-gradient(135deg, #070B18 0%, #0C1830 25%, #152050 50%, #1a3a6a 75%, #0C4A6A 100%);
  padding: 100px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(244,63,94,0.2), transparent 70%);
  border-radius: 50%;
  animation: float-slow 10s ease-in-out infinite;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -60px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(58,175,218,0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-section h2 {
  font-size: 40px;
  font-weight: 700;
  color: white;
  margin-bottom: 14px;
  position: relative;
}
.cta-section p {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  position: relative;
}
.cta-section .btn-primary {
  font-size: 15px;
  padding: 18px 40px;
  position: relative;
}

/* FOOTER */
.site-footer {
  background: linear-gradient(180deg, #0C1222, #070B18);
  padding: 80px 40px 36px;
  color: rgba(255,255,255,0.5);
}
.footer-inner { max-width: 1320px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand .logo-text { color: white; }
.footer-brand p {
  font-size: 14px;
  margin-top: 12px;
  line-height: 1.8;
}
.footer-col h3 {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  margin-bottom: 10px;
  transition: all 0.25s;
  cursor: pointer;
}
.footer-col a:hover { color: rgba(255,255,255,0.85); transform: translateX(2px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

/* SUB PAGE */
.sub-hero {
  padding: 160px 40px 80px;
  background: linear-gradient(135deg, #070B18 0%, #0C1222 30%, #0E1A3A 60%, #152040 100%);
  position: relative;
  overflow: hidden;
}
.sub-hero::before {
  content: '';
  position: absolute;
  top: -150px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(58,175,218,0.18), transparent 70%);
  border-radius: 50%;
}
.sub-hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
}
.sub-hero .section-label { color: var(--coral-light); }
.sub-hero h1 {
  font-size: 42px;
  font-weight: 700;
  color: white;
  margin-bottom: 14px;
  line-height: 1.45;
}
.sub-hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  max-width: 700px;
}

/* Flow detail */
.flow-detail { background: white; padding: 120px 40px; }
.flow-detail-steps {
  display: flex;
  gap: 0;
  margin-top: 48px;
  position: relative;
}
.flow-detail-step {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 12px;
}
.flow-detail-step::after {
  content: '▶';
  position: absolute;
  right: -8px;
  top: 26px;
  color: var(--gray-300);
  font-size: 12px;
}
.flow-detail-step:last-child::after { display: none; }
.fds-icon {
  width: 56px; height: 56px;
  background: var(--off-white);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  font-size: 22px;
}
.flow-detail-step h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.flow-detail-step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Task table */
.task-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.task-table th {
  background: var(--gradient-teal);
  color: white;
  padding: 14px 20px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
}
.task-table td {
  padding: 16px 22px;
  font-size: 14px;
  border-bottom: 1px solid rgba(12,18,34,0.05);
  vertical-align: top;
  line-height: 1.8;
  transition: background 0.2s;
}
.task-table tr:nth-child(even) td { background: var(--gray-50); }
.task-table .phase-label {
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

/* Merit cards */
.merit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.merit-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(248,250,252,0.95));
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(58,175,218,0.06);
  transition: all 0.3s;
}
.merit-card:hover { box-shadow: 0 8px 28px rgba(12,18,34,0.08); transform: translateY(-3px); }
.merit-card .merit-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--gray-200);
  margin-bottom: 8px;
}
.merit-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.45;
}
.merit-card p,

/* Timetable */
.timetable {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
  font-size: 13px;
}
.timetable th {
  background: var(--gradient-teal);
  color: white;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}
.timetable td {
  padding: 13px 18px;
  border-bottom: 1px solid rgba(12,18,34,0.05);
  transition: background 0.2s;
}
.timetable tr:nth-child(even) td { background: var(--gray-50); }
.timetable .host-row td { background: rgba(58,175,218,0.05); }
.timetable .pr-row td { background: rgba(74,173,158,0.04); font-weight: 500; }

/* Reading feel table */
.feel-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
  font-size: 13px;
}
.feel-table th {
  background: var(--gradient-teal);
  color: white;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
}
.feel-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--gray-100);
  line-height: 1.6;
}
.feel-table tr:nth-child(even) td { background: var(--gray-50); }
.feel-table .feel-emotion {
  color: var(--coral);
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.01em;
}

/* Positioning chart */
.positioning {
  margin-top: 40px;
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}
.pos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.pos-item {
  text-align: center;
  padding: 28px 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(248,250,252,0.8), rgba(241,245,249,0.9));
  transition: all 0.3s;
  border: 1px solid rgba(12,18,34,0.04);
}
.pos-item.highlight { background: rgba(58,175,218,0.06); border: 1.5px solid rgba(58,175,218,0.2); }
.pos-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.45;
}

.pos-item .pos-label {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 4px;
}

.pos-item .pos-label.coral { color: var(--coral); }

/* Clickable positioning items */
.pos-item[onclick] { cursor: pointer; }
.pos-item[onclick]:hover {
  border-color: rgba(58,175,218,0.3);
  background: rgba(58,175,218,0.04);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(12,18,34,0.06);
}
.pos-item.pos-active {
  background: rgba(58,175,218,0.08);
  border: 2px solid var(--coral);
  position: relative;
}
.pos-item.pos-active::after {
  content: '現在のページ';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  color: white;
  background: var(--coral);
  padding: 3px 12px;
  border-radius: 10px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.pos-item.pos-active h5 { color: var(--coral); }
.pos-arrow {
  font-size: 11px;
  color: var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 20px;
}

/* Archive block */
.archive-block {
  margin-top: 56px;
  background: linear-gradient(135deg, rgba(248,250,252,0.8), rgba(58,175,218,0.05));
  border-left: 3px solid var(--accent-vivid);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}
.archive-icon {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(248,250,252,0.9));
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  box-shadow: 0 4px 20px rgba(12,18,34,0.06);
  border: 1px solid rgba(58,175,218,0.06);
}
.archive-block h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.archive-block p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* PDCA section */
.pdca-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.pdca-step {
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(248,250,252,0.95));
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(58,175,218,0.06);
  text-align: center;
  position: relative;
}
.pdca-step::after {
  content: '→';
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--gray-300);
}
.pdca-step:last-child::after { display: none; }
.pdca-step .pdca-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-vivid);
  margin-bottom: 8px;
}
.pdca-step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

/* Deliverables */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.deliverable-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(248,250,252,0.9));
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(58,175,218,0.06);
  transition: all 0.35s;
}
.deliverable-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.deliverable-preview {
  position: relative;
  height: 120px;
  background: linear-gradient(135deg, #F9FAFB, #F1F5F9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
    overflow: hidden;
}
.dp-mock {
  width: 88%;
  height: 88px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
}
/* Spreadsheet mock */
.dp-spreadsheet {
  background: white;
  border: 1px solid var(--gray-200);
  display: grid;
  grid-template-columns: 72px 1fr 1fr;
  grid-template-rows: 20px repeat(3, 1fr);
  font-size: 8px;
  color: var(--gray-500);
  width: 100%; height: 100%;
}
.dp-sh { background: var(--off-white); border-bottom: 1px solid var(--gray-200); border-right: 1px solid var(--gray-100); padding: 3px 5px; font-weight: 600; color: var(--navy); display: flex; align-items: center; }
.dp-sc { border-bottom: 1px solid var(--gray-100); border-right: 1px solid var(--gray-100); padding: 3px 5px; display: flex; align-items: center; overflow: hidden; }
/* Slides mock */
.dp-slides {
  background: var(--navy);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  width: 100%; height: 100%;
  justify-content: center;
}
.dp-srow { display: flex; gap: 5px; }
.dp-smini { flex: 1; height: 24px; background: rgba(255,255,255,0.1); border-radius: 3px; display: flex; align-items: center; justify-content: center; }
.dp-smini-bar { width: 55%; height: 3px; background: rgba(255,255,255,0.22); border-radius: 2px; }
/* Email mock */
.dp-email {
  background: white;
  border: 1px solid var(--gray-200);
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%; height: 100%;
}
.dp-eline { height: 3px; border-radius: 2px; background: var(--gray-200); }
.dp-eline.s { width: 40%; } .dp-eline.m { width: 65%; } .dp-eline.l { width: 88%; }
.dp-eline.a { background: var(--coral-pale); width: 50%; }
/* Gantt mock */
.dp-gantt {
  background: white;
  border: 1px solid var(--gray-200);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  width: 100%; height: 100%;
}
.dp-grow { display: flex; align-items: center; gap: 5px; }
.dp-glabel { width: 32px; font-size: 7px; color: var(--gray-400); text-align: right; flex-shrink: 0; }
.dp-gtrack { flex: 1; height: 7px; background: var(--gray-50); border-radius: 4px; position: relative; overflow: hidden; }
.dp-gbar { position: absolute; top: 0; height: 100%; border-radius: 4px; }
/* Chart mock */
.dp-chart {
  background: white;
  border: 1px solid var(--gray-200);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%; height: 100%;
}
.dp-ct { font-size: 7.5px; font-weight: 700; color: var(--navy); }
.dp-cbars { display: flex; align-items: flex-end; gap: 6px; flex: 1; }
.dp-ccol { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 2px; }
.dp-cbar { width: 100%; border-radius: 3px 3px 0 0; }
.dp-cl {font-size: 6.5px; color: var(--gray-400); }

.deliverable-body { padding: 18px 20px 22px; }
.deliverable-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.45;
}
.deliverable-body p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 8px;
}
.deliverable-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.deliverable-body ul li {
  font-size: 12px;
  color: var(--text-secondary);
  padding: 2px 0 2px 14px;
  position: relative;
  line-height: 1.6;
}
.deliverable-body ul li::before {
  content: '·';
  position: absolute;
  left: 2px;
  color: var(--accent-vivid);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
}
.deliverables-note {
  margin-top: 28px;
  font-size: 13px;
  color: var(--gray-500);
  text-align: center;
}
/* Compare table */
.compare { background: white; }
.compare-table-wrap {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.compare-table thead th {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}
.compare-table thead th:first-child {
  background: var(--gray-50);
  color: var(--text-secondary);
  width: 22%;
}
.compare-table thead th:nth-child(2) {
  background: var(--gray-50);
  color: var(--gray-600);
  width: 39%;
}
.compare-table thead th:nth-child(3) {
  background: var(--gradient-teal);
  color: white;
  width: 39%;
  position: relative;
}
.compare-table thead th:nth-child(3)::before {
  content: '★ おすすめ';
  position: absolute;
  top: -1px; right: 16px;
  background: var(--gradient-cta);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 0 0 6px 6px;
  letter-spacing: 0.5px;
}
.compare-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: top;
  line-height: 1.8;
}
.compare-table tbody td:first-child {font-weight: 600;
  color: var(--navy);
  font-size: 13px;
  background: var(--gray-50);
}
.compare-table tbody td:nth-child(3) { background: rgba(58,175,218,0.02); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-verdict {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--accent-vivid);
  font-weight: 700;
}
.compare-verdict-icon {
  width: 20px; height: 20px;
  background: var(--accent-vivid);
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}
.compare-note {margin-top: 24px;
  padding: 20px 28px;
  background: linear-gradient(135deg, rgba(248,250,252,0.8), rgba(58,175,218,0.05));
  border-left: 3px solid var(--accent-vivid);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}
.compare-note strong { color: var(--navy); }

/* Page display control */

/* Back link */

/* Section backgrounds */
.results { background: var(--white); }
.why-us { background: var(--white); }

/* UTILITY CLASSES */
.sec-white {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  padding: 120px 40px;
  position: relative;
}
.sec-gray {
  background: linear-gradient(180deg, #F1F5F9 0%, #E8EEF4 100%);
  padding: 120px 40px;
  position: relative;
}
.text-center { text-align: center; }
.text-coral-sm { color: var(--coral); font-size: 12px; margin-top: 6px; }
.text-note { font-size: 13px; color: var(--gray-500); margin-top: 16px; }
.text-disclaimer { font-size: 12px; color: var(--gray-400); margin-top: 16px; text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.dp-cell-head { font-weight: 600; color: var(--navy); }
.dp-cell-emotion { color: var(--coral); font-style: italic; }
.pos-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.pos-header span { font-size: 13px; color: var(--gray-500); }

.pillar-arrow-dark {
  background: linear-gradient(135deg, rgba(58,175,218,0.06), rgba(74,173,158,0.04));
  border: 1px solid rgba(58,175,218,0.12);
  color: rgba(255,255,255,0.85);
}
.pillar-arrow-dark em { color: var(--accent-vivid-light); background: none; }

.badge-coming-soon {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(244,63,94,0.15);
  color: #F43F5E;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.logo-mark-sm { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; font-size: 12px; text-decoration: none; }
.logo-text-sm { font-size: 18px; text-decoration: none; }

/* RESPONSIVE */

/* COMPARE TABLE */
.cmp-grid {
      display: grid;
      grid-template-columns: 160px repeat(4, minmax(0, 1fr));
      border: 1px solid rgba(58,175,218,0.15);
      border-radius: 12px;
      overflow: hidden;
      margin-top: 48px;
      font-family: 'Noto Sans JP', sans-serif;
    }
    .cmp-row { display: contents; }
    .cmp-cell {
      padding: 16px 18px;
      font-size: 15px;
      color: var(--text-primary);
      border-bottom: 1px solid rgba(58,175,218,0.1);
      border-right: 1px solid rgba(58,175,218,0.1);
      line-height: 1.6;
      background: var(--white);
      vertical-align: middle;
    }
    .cmp-cell:last-child { border-right: none; }
    .cmp-row:last-child .cmp-cell { border-bottom: none; }
    .cmp-head .cmp-cell {
      background: var(--gray-100);
      font-size: 15px;
      font-weight: 700;
      color: var(--text-secondary);
      text-align: center;
      padding: 14px 18px;
    }
    .cmp-head .cmp-cell.cmp-axis { text-align: left; font-size: 13px; color: var(--gray-400); font-weight: 500; }
    .cmp-head .cmp-hl { background: var(--coral); color: white; }
    .cmp-axis-col {
      background: var(--gray-50);
      font-size: 14px;
      font-weight: 600;
      color: var(--text-secondary);
    }
    .cmp-hl { background: rgba(58,175,218,0.06); }
    .cmp-center { text-align: center; }
    .cmp-dot {
      display: inline-block;
      width: 26px; height: 26px;
      border-radius: 50%;
      line-height: 26px;
      font-size: 14px;
      text-align: center;
      font-weight: 700;
    }
    .cmp-yes  { background: #E1F5EE; color: #0F6E56; }
    .cmp-no   { background: var(--gray-100); color: var(--gray-400); }
    .cmp-part { background: #FEF3C7; color: #92400E; }
    .cmp-opt  { background: #DBEAFE; color: #1E40AF; }
    .cmp-sub  { font-size: 13px; color: var(--text-secondary); margin-top: 4px; line-height: 1.6; }
    .cmp-tag {
      display: inline-block;
      font-size: 12px;
      font-weight: 700;
      padding: 2px 10px;
      border-radius: 6px;
      background: var(--coral);
      color: white;
      margin-bottom: 4px;
    }
    .cmp-legend {
      display: flex;
      gap: 20px;
      margin-top: 14px;
      flex-wrap: wrap;
    }
    .cmp-legend span {
      font-size: 13px;
      color: var(--text-secondary);
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .cmp-legend .cmp-dot { width: 18px; height: 18px; font-size: 11px; line-height: 18px; }

/* FAQ ACCORDION */
.faq-list { max-width: 800px; margin: 48px auto 0; }
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-item:first-child { border-top: 1px solid var(--gray-200); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 22px 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  line-height: 1.8;
  font-family: inherit;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--coral); }
.faq-q::before {
  content: 'Q';
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--coral);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
}
.faq-q-text { flex: 1; }
.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-out-expo), background 0.2s;
}
.faq-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--gray-500);
  transition: stroke 0.2s;
}
.faq-item.open .faq-icon {
  transform: rotate(180deg);
  background: var(--coral-pale);
}
.faq-item.open .faq-icon svg { stroke: var(--coral); }
.faq-a-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease-out-expo);
}
.faq-item.open .faq-a-wrap { grid-template-rows: 1fr; }
.faq-a {
  overflow: hidden;
  padding: 0 4px 0 52px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}
.faq-a-inner { padding-bottom: 22px; }

/* LAPTOP MOCKUP */
.laptop-mockup {
  max-width: 820px;
  margin: 48px auto 56px;
  perspective: 1200px;
}
.laptop-mockup svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.35));
}

/* TABLET (768px) */

/* PHONE (480px) */

/* NAV TABS MOBILE SCROLL */

/* SCROLL TO TOP */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--coral);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 16px rgba(58,175,218,0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  z-index: 999;
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--coral-light); transform: translateY(-2px); }
.scroll-top:active { transform: scale(0.95); }

/* REDUCED MOTION */

/* ACTIVE / TAP FEEDBACK */
.btn-primary:active { transform: scale(0.97); opacity: 0.9; }
.btn-outline:active { transform: scale(0.97); }
.service-card:active { transform: scale(0.98); }
.faq-q:active { opacity: 0.7; }
.doc-cta-btn:active { transform: scale(0.97); }

.pos-item[onclick]:active { transform: scale(0.97); }
.platform-cta-link:active { transform: scale(0.97); }
.merit-card:active { transform: scale(0.98); }
.problem-card:active { transform: scale(0.98); }
.result-card:active { transform: scale(0.98); }
nav a:active { opacity: 0.7; }

/* FOCUS-VISIBLE */
:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }
.btn-primary:focus-visible, .btn-outline:focus-visible {
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(58,175,218,0.2);
}
.faq-q:focus-visible { outline-offset: 0; }
.service-card:focus-visible, .pos-item:focus-visible, .merit-card:focus-visible {
  outline-offset: 3px;
}
nav a:focus-visible { border-radius: 8px; }

/* SKIP LINK */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--coral);
  color: white;
  padding: 10px 20px;
  border-radius: 0 0 8px 8px;
  font-size: 14px;
  font-weight: 600;
  z-index: 10000;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* SVG ICONS */
.cycle-nd-icon svg, .problem-icon svg, .tech-card-icon svg,
.flow-step-icon svg, .fds-icon svg, .archive-icon svg {
  width: 55%;
  height: 55%;
  color: var(--coral);
}
.cycle-nd-icon svg { width: 100%; height: 100%; color: var(--coral); }
.tech-card-icon svg { color: rgba(58,175,218,0.8); }
.problem-icon svg { color: var(--coral); }

/* RESPONSIVE: TABLET (900px) */
@media (max-width: 900px) {
.pos-grid { grid-template-columns: repeat(2, 1fr); }
  .pos-arrow { display: none; }
.doc-cta-inner { grid-template-columns: 1fr; padding: 32px 24px; gap: 28px; }
  .doc-cta-thumb { max-width: 280px; margin: 0 auto; }
  .doc-cta-body { text-align: center; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero h1 { font-size: 34px; }
  .hero { min-height: auto; padding: 140px 20px 80px; }
  .problems-grid { grid-template-columns: 1fr; }
  .pillars-grid, .services-grid, .platform-grid, .flow-steps, .merit-grid, .pdca-steps { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }

  /* nav is now horizontally scrollable on mobile */
  .pos-grid { grid-template-columns: 1fr 1fr; }
  .flow-detail-steps { flex-direction: column; gap: 20px; }
  .flow-detail-step::after { display: none; }
  .deliverables-grid { grid-template-columns: 1fr; }
  .compare-table-wrap { overflow-x: auto; }
  .compare-table { min-width: 640px; }
  section, .sec-white, .sec-gray { padding: 72px 20px; }
.faq-q { font-size: 14px; padding: 18px 0; }
  .faq-a { padding-left: 48px; font-size: 13px; }
  .faq-q::before { width: 28px; height: 28px; font-size: 12px; border-radius: 6px; }
.laptop-mockup { max-width: 100%; margin: 32px auto 40px; }
nav#mainNav {
    display: flex !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
    padding: 0 12px;
    white-space: nowrap;
  }
  nav#mainNav::-webkit-scrollbar { display: none; }
  nav#mainNav a { font-size: 12px; padding: 8px 14px; flex-shrink: 0; }
  nav#mainNav .header-cta { font-size: 12px; padding: 6px 14px; }
}

/* RESPONSIVE: TABLET SMALL (768px) */
@media (max-width: 768px) {
.hero h1 { font-size: 28px; }
  .sub-hero h1 { font-size: 30px; }
  .section-title { font-size: 22px; }
  .cmp-grid { grid-template-columns: 120px repeat(4, minmax(0, 1fr)); font-size: 13px; }
  .cmp-cell { padding: 12px 10px; font-size: 13px; }
  .pos-grid { grid-template-columns: repeat(2, 1fr); }
  .laptop-mockup { max-width: 100%; }
}

/* RESPONSIVE: PHONE (480px) */
@media (max-width: 480px) {
.hero { padding: 120px 16px 60px; }
  .hero h1 { font-size: 24px; }
  .sub-hero { padding: 120px 16px 60px; }
  .sub-hero h1 { font-size: 24px; }
  .section-title { font-size: 20px; }
  .section-desc { font-size: 14px; }
  section, .sec-white, .sec-gray { padding: 56px 16px; }
  .pos-grid { grid-template-columns: 1fr; }
  .pos-item { padding: 16px 12px; }
  .merit-grid { gap: 14px; }
  .merit-card { padding: 20px 16px; }
  .faq-q { font-size: 13px; padding: 16px 0; }
  .faq-a { font-size: 13px; padding-left: 40px; }
  .faq-q::before { width: 26px; height: 26px; font-size: 11px; }
  .cmp-grid { grid-template-columns: 100px repeat(4, minmax(0, 1fr)); }
  .cmp-cell { padding: 10px 6px; font-size: 11px; }
  .cmp-head .cmp-cell { font-size: 11px; padding: 10px 6px; }
  .doc-cta-inner { padding: 24px 16px; }
  .service-card-top { padding: 28px 20px 24px; }

  .tech-card { padding: 24px 18px; }
.scroll-top { bottom: 16px; right: 16px; width: 40px; height: 40px; font-size: 18px; }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-up { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
