
:root {
  --green: #06C755;
  --green-dim: #05a648;
  --green-glow: rgba(6,199,85,0.12);
  --green-glow-strong: rgba(6,199,85,0.30);
  --bg: #000000;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.08);
  --border-green: rgba(6,199,85,0.2);
  --text: #f5f5f7;
  --text-dim: rgba(255,255,255,0.5);
  --text-mid: rgba(255,255,255,0.72);
  --red: #ff453a;
  --glass: rgba(28,28,30,0.72);
  --radius: 20px;
  --radius-lg: 28px;
  --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.outfit { font-family: 'Outfit', sans-serif; }

/* Noise overlay */
body::before {
  content: '';
  position: fixed; inset: 0;
  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)' opacity='0.02'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999; opacity: 0.3;
}

::-webkit-scrollbar { width: 0px; }

/* ===== NAV ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 clamp(20px, 4vw, 48px);
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  background: transparent;
  transition: all 0.5s var(--transition);
}
nav.scrolled {
  background: rgba(0,0,0,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--text);
  text-decoration: none;
  line-height: 1;
}
.nav-logo img {
  height: 32px;
  width: auto;
  display: block;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.3px;
  transition: color 0.3s var(--transition);
}
.nav-links a:hover { color: #fff; }
.nav-cta {
  background: var(--green) !important;
  color: #000 !important;
  padding: 8px 20px;
  border-radius: 980px;
  font-weight: 600 !important;
  font-size: 0.78rem !important;
  transition: all 0.4s var(--transition) !important;
}
.nav-cta:hover { background: var(--green-dim) !important; transform: scale(1.04); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1001; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--text); transition: 0.4s var(--transition); border-radius: 2px; }

/* ===== STICKY CTA (mobile) ===== */
.sticky-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 999;
  padding: 10px 12px;
  background: rgba(0,0,0,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid rgba(255,255,255,0.06);
  gap: 8px;
}
.sticky-cta a {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 0;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.82rem;
  text-decoration: none;
  transition: all 0.4s var(--transition);
}
.sticky-cta .sticky-line { background: var(--green); color: #000; }
.sticky-cta .sticky-tel {
  background: rgba(255,255,255,0.08); color: var(--text);
  border: 1px solid rgba(255,255,255,0.1);
}
.sticky-cta .sticky-line svg, .sticky-cta .sticky-tel svg { width: 18px; height: 18px; }

/* ===== GLOBAL BACKGROUND ===== */
.global-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Gradient mesh 窶・same as hero */
.global-bg-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(6,199,85,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 60%, rgba(6,199,85,0.07) 0%, transparent 50%),
    radial-gradient(ellipse 40% 50% at 20% 70%, rgba(6,199,85,0.05) 0%, transparent 50%);
  animation: heroGradientShift 12s ease-in-out infinite alternate;
}

/* Grid lines 窶・same as hero */
.global-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridPulse 8s ease-in-out infinite;
}

/* Floating orbs 窶・same style/intensity as hero */
.global-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.global-orb-1 {
  width: 400px; height: 400px;
  background: rgba(6,199,85,0.15);
  top: 10%; left: -5%;
  animation: orbFloat1 16s ease-in-out infinite;
}
.global-orb-2 {
  width: 300px; height: 300px;
  background: rgba(6,199,85,0.10);
  top: 40%; right: -5%;
  animation: orbFloat2 20s ease-in-out infinite;
}
.global-orb-3 {
  width: 250px; height: 250px;
  background: rgba(74,222,128,0.08);
  bottom: 30%; left: 15%;
  animation: orbFloat3 14s ease-in-out infinite;
}
.global-orb-4 {
  width: 350px; height: 350px;
  background: rgba(6,199,85,0.08);
  bottom: 10%; right: 10%;
  animation: orbFloat1 18s ease-in-out infinite reverse;
}

/* Glow ring 窶・same as hero */
.global-glow-ring {
  position: absolute;
  width: 500px; height: 500px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(6,199,85,0.06);
  box-shadow: 0 0 80px rgba(6,199,85,0.04), inset 0 0 80px rgba(6,199,85,0.02);
  animation: glowRingPulse 6s ease-in-out infinite;
}

/* Particles 窶・same as hero */
.global-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.global-particle {
  position: absolute;
  width: 3px; height: 3px;
  background: var(--green);
  border-radius: 50%;
  opacity: 0;
  animation: particleRise linear infinite;
}
.global-particle:nth-child(1) { left: 8%; animation-duration: 8s; animation-delay: 0s; }
.global-particle:nth-child(2) { left: 22%; animation-duration: 10s; animation-delay: 2s; }
.global-particle:nth-child(3) { left: 38%; animation-duration: 7s; animation-delay: 4s; }
.global-particle:nth-child(4) { left: 52%; animation-duration: 9s; animation-delay: 1s; }
.global-particle:nth-child(5) { left: 65%; animation-duration: 11s; animation-delay: 3s; }
.global-particle:nth-child(6) { left: 78%; animation-duration: 8s; animation-delay: 5s; }
.global-particle:nth-child(7) { left: 42%; animation-duration: 12s; animation-delay: 6s; }
.global-particle:nth-child(8) { left: 88%; animation-duration: 9s; animation-delay: 7s; }

/* Light streaks 窶・same as hero */
.global-streaks {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.global-streak {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6,199,85,0.3), transparent);
  opacity: 0;
  animation: streakMove 8s ease-in-out infinite;
}
.global-streak:nth-child(1) { top: 30%; width: 40%; animation-delay: 0s; }
.global-streak:nth-child(2) { top: 55%; width: 25%; animation-delay: 3s; }
.global-streak:nth-child(3) { top: 78%; width: 35%; animation-delay: 6s; }

/* Ensure all content sits above global bg */
nav, section, footer, .hero, .sticky-cta {
  position: relative;
  z-index: 1;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 160px 40px 120px;
  text-align: center;
}

/* Animated gradient mesh background */
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(6,199,85,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 60%, rgba(6,199,85,0.08) 0%, transparent 50%),
    radial-gradient(ellipse 40% 50% at 20% 70%, rgba(6,199,85,0.06) 0%, transparent 50%);
  animation: heroGradientShift 12s ease-in-out infinite alternate;
}
@keyframes heroGradientShift {
  0% { opacity: 1; transform: scale(1) rotate(0deg); }
  50% { opacity: 0.8; transform: scale(1.1) rotate(1deg); }
  100% { opacity: 1; transform: scale(1.05) rotate(-1deg); }
}

/* Grid lines with pulse */
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black, transparent);
  animation: gridPulse 8s ease-in-out infinite;
}
@keyframes gridPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-orb-1 {
  width: 400px; height: 400px;
  background: rgba(6,199,85,0.15);
  top: -10%; left: -5%;
  animation: orbFloat1 16s ease-in-out infinite;
}
.hero-orb-2 {
  width: 300px; height: 300px;
  background: rgba(6,199,85,0.1);
  bottom: -5%; right: -5%;
  animation: orbFloat2 20s ease-in-out infinite;
}
.hero-orb-3 {
  width: 200px; height: 200px;
  background: rgba(74,222,128,0.08);
  top: 30%; right: 10%;
  animation: orbFloat3 14s ease-in-out infinite;
}
@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, 40px) scale(1.1); }
  66% { transform: translate(-30px, 60px) scale(0.95); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-50px, -30px) scale(1.15); }
  66% { transform: translate(40px, -50px) scale(0.9); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 30px) scale(1.2); }
}

/* Rising particles */
.hero-particles {
  position: absolute; inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-particle {
  position: absolute;
  width: 3px; height: 3px;
  background: var(--green);
  border-radius: 50%;
  opacity: 0;
  animation: particleRise linear infinite;
}
.hero-particle:nth-child(1) { left: 10%; animation-duration: 8s; animation-delay: 0s; }
.hero-particle:nth-child(2) { left: 25%; animation-duration: 10s; animation-delay: 2s; }
.hero-particle:nth-child(3) { left: 40%; animation-duration: 7s; animation-delay: 4s; }
.hero-particle:nth-child(4) { left: 55%; animation-duration: 9s; animation-delay: 1s; }
.hero-particle:nth-child(5) { left: 70%; animation-duration: 11s; animation-delay: 3s; }
.hero-particle:nth-child(6) { left: 85%; animation-duration: 8s; animation-delay: 5s; }
.hero-particle:nth-child(7) { left: 15%; animation-duration: 12s; animation-delay: 6s; }
.hero-particle:nth-child(8) { left: 50%; animation-duration: 9s; animation-delay: 7s; }
.hero-particle:nth-child(9) { left: 35%; animation-duration: 10s; animation-delay: 1.5s; }
.hero-particle:nth-child(10) { left: 75%; animation-duration: 8s; animation-delay: 3.5s; }
.hero-particle:nth-child(11) { left: 60%; animation-duration: 11s; animation-delay: 4.5s; }
.hero-particle:nth-child(12) { left: 20%; animation-duration: 9s; animation-delay: 0.5s; }
@keyframes particleRise {
  0% { bottom: -5%; opacity: 0; transform: translateX(0) scale(1); }
  10% { opacity: 0.6; }
  50% { opacity: 0.3; transform: translateX(20px) scale(0.8); }
  90% { opacity: 0; }
  100% { bottom: 105%; opacity: 0; transform: translateX(-10px) scale(0.5); }
}

/* Horizontal light streaks */
.hero-streaks {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-streak {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6,199,85,0.3), transparent);
  opacity: 0;
  animation: streakMove linear infinite;
}
.hero-streak:nth-child(1) { top: 20%; width: 200px; animation-duration: 6s; animation-delay: 0s; }
.hero-streak:nth-child(2) { top: 40%; width: 300px; animation-duration: 8s; animation-delay: 2s; }
.hero-streak:nth-child(3) { top: 65%; width: 250px; animation-duration: 7s; animation-delay: 4s; }
.hero-streak:nth-child(4) { top: 80%; width: 180px; animation-duration: 5s; animation-delay: 1s; }
.hero-streak:nth-child(5) { top: 35%; width: 350px; animation-duration: 9s; animation-delay: 3s; }
@keyframes streakMove {
  0% { left: -20%; opacity: 0; }
  10% { opacity: 0.6; }
  50% { opacity: 0.3; }
  90% { opacity: 0; }
  100% { left: 120%; opacity: 0; }
}

/* Center glow ring */
.hero-glow-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(6,199,85,0.06);
  animation: glowRingPulse 6s ease-in-out infinite;
  pointer-events: none;
}
.hero-glow-ring::before {
  content: '';
  position: absolute; inset: -60px;
  border-radius: 50%;
  border: 1px solid rgba(6,199,85,0.03);
  animation: glowRingPulse 6s ease-in-out infinite 1s;
}
.hero-glow-ring::after {
  content: '';
  position: absolute; inset: 60px;
  border-radius: 50%;
  border: 1px solid rgba(6,199,85,0.08);
  animation: glowRingPulse 6s ease-in-out infinite 2s;
}
@keyframes glowRingPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.3; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

/* Content */
.hero-content {
  position: relative; z-index: 2;
  max-width: 880px; margin: 0 auto;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(6,199,85,0.06);
  border: 1px solid rgba(6,199,85,0.15);
  border-radius: 980px;
  padding: 10px 24px;
  font-size: 0.72rem;
  color: var(--green);
  font-weight: 500;
  margin-bottom: 44px;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: badgeFadeIn 1s ease 0.2s both;
}
.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  background: currentColor;
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
  box-shadow: 0 0 10px currentColor;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
@keyframes badgeFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero title with shimmer */
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -2px;
  margin-bottom: 32px;
  background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,0.55));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroTitleIn 1s ease 0.4s both;
}
@keyframes heroTitleIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1 .green {
  background: linear-gradient(135deg, var(--green), #4ade80, var(--green));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: greenShimmer 4s ease infinite;
}
@keyframes greenShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Hero subtitle */
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-dim);
  line-height: 2.1;
  margin-bottom: 52px;
  font-weight: 300;
  animation: heroSubIn 1s ease 0.6s both;
}
@keyframes heroSubIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero keyword chips */
.hero-keywords {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 44px;
  animation: heroSubIn 1s ease 0.7s both;
}
.hero-keyword {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px;
  border-radius: 980px;
  font-size: 0.78rem;
  font-weight: 500;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-mid);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.4s var(--transition);
}
.hero-keyword:hover {
  background: rgba(6,199,85,0.08);
  border-color: rgba(6,199,85,0.2);
  color: var(--green);
  transform: translateY(-2px);
}
.hero-keyword svg {
  width: 14px; height: 14px;
  color: var(--green);
}

/* Hero buttons */
.hero-buttons {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  animation: heroSubIn 1s ease 0.8s both;
}

/* Hero stats bar */
.hero-stats {
  display: flex; justify-content: center; gap: 48px;
  margin-top: 64px;
  animation: heroSubIn 1s ease 1s both;
}
.hero-stat {
  text-align: center;
}
.hero-stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -1px;
}
.hero-stat-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 400;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--green);
  color: #000;
  padding: 16px 40px;
  border-radius: 980px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.4s var(--transition);
  border: none; cursor: pointer;
  letter-spacing: -0.2px;
}
.btn-primary:hover {
  background: var(--green-dim);
  transform: scale(1.04);
  box-shadow: 0 0 40px rgba(6,199,85,0.25), 0 8px 32px rgba(6,199,85,0.15);
}
.btn-primary svg { width: 20px; height: 20px; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.06);
  color: var(--text);
  padding: 16px 40px;
  border-radius: 980px;
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.4s var(--transition);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: #fff; }

/* ===== SECTIONS COMMON ===== */
section { padding: 120px 40px; position: relative; }
.section-inner { max-width: 1080px; margin: 0 auto; }
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--green);
}
.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -1px;
  background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,0.65));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-desc {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.8;
  max-width: 560px;
  font-weight: 300;
}

/* ===== WHAT IS TENANi ===== */
#what-is {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
#what-is::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(6,199,85,0.06) 0%, transparent 70%);
  pointer-events: none;
  animation: wiPulse 8s ease-in-out infinite;
}
@keyframes wiPulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.15); }
}
#what-is .section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}
.strike-text {
  text-decoration: line-through;
  color: var(--text-dim);
}
.green-text { color: var(--green); }

.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.role-cell {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all 0.5s var(--transition);
  position: relative;
  overflow: hidden;
}
.role-cell::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0;
  transition: opacity 0.5s var(--transition);
}
.role-cell:hover {
  background: rgba(6,199,85,0.03);
  border-color: rgba(6,199,85,0.2);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25), 0 0 30px rgba(6,199,85,0.06);
}
.role-cell:hover::before { opacity: 1; }
.role-name {
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: inline-block;
  padding: 3px 10px;
  background: rgba(6,199,85,0.08);
  border-radius: 4px;
}
.role-cell h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.role-cell p {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.7;
  font-weight: 300;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.principle-cell {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  transition: all 0.5s var(--transition);
  position: relative;
}
.principle-cell:hover {
  background: rgba(255,255,255,0.04);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}
.principle-cell .wrong {
  color: var(--red);
  text-decoration: line-through;
  font-size: 0.88rem;
  font-weight: 400;
  margin-bottom: 14px;
  display: block;
  opacity: 0.7;
}
.principle-cell .arrow-down {
  display: block;
  margin-bottom: 12px;
  font-size: 1rem;
  color: var(--green);
  opacity: 0.6;
}
.principle-cell .right {
  color: var(--green);
  font-size: 1.1rem;
  font-weight: 700;
  display: block;
  text-shadow: 0 0 20px rgba(6,199,85,0.15);
}

/* ===== WINNING STRUCTURE ===== */
#winning { background: var(--bg); }
.flow-chain {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 56px;
  overflow-x: auto;
  padding-bottom: 16px;
}
.flow-node {
  display: flex; flex-direction: column; align-items: center;
  min-width: 100px;
  text-align: center;
}
.flow-node-icon {
  width: 60px; height: 60px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 12px;
  transition: all 0.5s var(--transition);
}
.flow-node:hover .flow-node-icon {
  border-color: var(--border-green);
  background: rgba(6,199,85,0.06);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(6,199,85,0.1);
}
.flow-node-label {
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}
.flow-arrow {
  color: var(--green);
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 0 8px;
  flex-shrink: 0;
  opacity: 0.4;
}
.flow-loop {
  text-align: center;
  margin-top: 28px;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 600;
  animation: pulse-loop 3s ease infinite;
}
@keyframes pulse-loop {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ===== MID CTA ===== */
.mid-cta {
  margin-top: 72px;
  background: rgba(6,199,85,0.04);
  border: 1px solid var(--border-green);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
}
.mid-cta::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(6,199,85,0.08), transparent 60%);
}
.mid-cta::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -200px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(6,199,85,0.05), transparent 60%);
}
.mid-cta h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 14px;
  position: relative;
  background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mid-cta p {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-bottom: 36px;
  position: relative;
  line-height: 1.9;
  font-weight: 300;
}
.mid-cta .cta-buttons {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  position: relative;
}

/* ===== DIFFERENCE ===== */
#difference { background: var(--bg); }
.diff-table {
  margin-top: 56px;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.diff-table th, .diff-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.diff-table thead th {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.diff-table tbody tr {
  transition: all 0.3s var(--transition);
}
.diff-table tbody tr:hover {
  background: rgba(255,255,255,0.02);
}
.diff-table .col-item { width: 20%; font-weight: 600; }
.diff-table .col-general { width: 40%; color: var(--text-dim); font-weight: 300; }
.diff-table .col-tenani { width: 40%; }
.diff-table .mark-bad { color: var(--red); font-weight: 600; opacity: 0.8; }
.diff-table .mark-good { color: var(--green); font-weight: 600; }

/* Mobile diff cards */
.diff-cards { display: none; margin-top: 48px; }
.diff-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 12px;
  transition: all 0.3s var(--transition);
}
.diff-card:hover { background: rgba(255,255,255,0.04); }
.diff-card-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}
.diff-card-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.diff-card-general {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 300;
}
.diff-card-tenani {
  font-size: 0.88rem;
  font-weight: 600;
}

/* ===== SERVICES ===== */
#services { background: var(--bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.service-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  transition: all 0.5s var(--transition);
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: var(--text);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(6,199,85,0.04) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s var(--transition);
}
.service-card:hover::before { opacity: 1; }
.service-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  transform: scaleX(0);
  transition: transform 0.6s var(--transition);
}
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover {
  border-color: rgba(6,199,85,0.15);
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.3), 0 0 40px rgba(6,199,85,0.04);
}
.service-num {
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 2.5px;
  margin-bottom: 14px;
  opacity: 0.6;
  position: relative;
}
.service-role {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 18px;
  font-weight: 300;
  position: relative;
}
.service-role::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(6,199,85,0.4);
}
.service-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.4;
  position: relative;
}
.service-card p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 24px;
  font-weight: 300;
  position: relative;
}
.service-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; position: relative; }
.service-tag {
  font-size: 0.68rem;
  padding: 5px 14px;
  background: rgba(6,199,85,0.06);
  border: 1px solid rgba(6,199,85,0.12);
  border-radius: 980px;
  color: var(--green);
  font-weight: 500;
  transition: all 0.3s var(--transition);
}
.service-tag:hover {
  background: rgba(6,199,85,0.1);
  border-color: rgba(6,199,85,0.2);
}
.service-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 600;
  transition: gap 0.4s var(--transition);
  position: relative;
}
.service-card:hover .service-card-link { gap: 14px; }

/* ===== PORTFOLIO (works + characters) ===== */
#portfolio { background: var(--bg); overflow: hidden; }

/* -- Works grid -- */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.work-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.5s var(--transition);
  box-shadow: 0 0 12px rgba(6,199,85,0.04);
}
.work-card:hover {
  border-color: rgba(6,199,85,0.3);
  transform: translateY(-6px);
  box-shadow: 0 0 24px rgba(6,199,85,0.15), 0 8px 32px rgba(0,0,0,0.2);
}
.work-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: rgba(255,255,255,0.01);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-bottom: 1px solid var(--border);
}
.work-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  transition: transform 0.5s var(--transition);
}
.work-card:hover .work-thumb img {
  transform: scale(1.03);
}
.work-info { padding: 22px 24px; }
.work-genre {
  font-size: 0.68rem;
  color: var(--green);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.work-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.work-biz {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 400;
}

/* -- Works load more -- */
.work-card.work-hidden {
  display: none;
}
.work-card.work-visible {
  display: block;
  animation: workFadeIn 0.5s var(--transition) both;
}
.work-card.work-visible:nth-child(6n+2) { animation-delay: 0.05s; }
.work-card.work-visible:nth-child(6n+3) { animation-delay: 0.1s; }
.work-card.work-visible:nth-child(6n+4) { animation-delay: 0.15s; }
.work-card.work-visible:nth-child(6n+5) { animation-delay: 0.2s; }
.work-card.work-visible:nth-child(6n) { animation-delay: 0.25s; }
@keyframes workFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.works-more-wrap {
  text-align: center;
  margin-top: 40px;
}
.works-more-btn {
  cursor: pointer;
  padding: 14px 48px;
}
.works-more-wrap.hidden {
  display: none;
}

/* -- Characters subsection -- */
.characters-heading {
  margin-top: 96px;
  margin-bottom: 56px;
}
.characters-marquee-wrap {
  overflow: hidden;
  padding: 16px 0 8px;
}
.characters-marquee {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: charMarquee 35s linear infinite;
}
.characters-marquee:hover {
  animation-play-state: paused;
}
@keyframes charMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.char-card {
  flex: 0 0 210px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(6,199,85,0.12);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: all 0.5s var(--transition);
  box-shadow: 0 0 16px rgba(6,199,85,0.06);
}
.char-card:hover {
  border-color: rgba(6,199,85,0.3);
  box-shadow: 0 0 24px rgba(6,199,85,0.15), 0 8px 32px rgba(0,0,0,0.2);
  transform: translateY(-4px);
}
.char-icon-wrap {
  position: relative;
  width: 80px; height: 80px;
  margin: 0 auto 14px;
}
.char-logo {
  position: absolute;
  top: -8px; right: -18px;
  width: 42px; height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--green);
  z-index: 2;
  box-shadow: 0 0 12px rgba(6,199,85,0.5), 0 0 24px rgba(6,199,85,0.2);
  transition: all 0.3s var(--transition);
}
.char-card:hover .char-logo {
  box-shadow: 0 0 16px rgba(6,199,85,0.6), 0 0 32px rgba(6,199,85,0.3);
}
.char-logo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.char-avatar {
  width: 80px; height: 80px;
  background: rgba(6,199,85,0.06);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  overflow: hidden;
}
.char-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}
.char-logo img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}
.char-card h4 { font-size: 0.88rem; font-weight: 700; margin-bottom: 4px; }
.char-card .char-area { font-size: 0.72rem; color: var(--text-mid); margin-top: 6px; }
.char-card .char-biz { font-size: 0.72rem; color: var(--text-dim); margin-top: 2px; font-weight: 300; }

/* ===== PRICING ===== */
#pricing { background: var(--bg); }
.pricing-desc { margin-bottom: 40px; }
.pricing-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.pricing-tab {
  padding: 10px 24px;
  border-radius: 980px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-dim);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s var(--transition);
  font-family: 'Noto Sans JP', sans-serif;
}
.pricing-tab:hover {
  border-color: rgba(255,255,255,0.2);
  color: var(--text);
}
.pricing-tab.active {
  background: var(--green);
  border-color: var(--green);
  color: #000;
}
.pricing-panel {
  display: none;
}
.pricing-panel.active {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  animation: workFadeIn 0.4s var(--transition) both;
}
.price-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  transition: all 0.5s var(--transition);
  position: relative;
}
.price-card.featured {
  border-color: rgba(6,199,85,0.25);
  background: rgba(6,199,85,0.03);
}
.price-card.featured::before {
  content: '縺翫☆縺吶ａ';
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--green);
  color: #000;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 5px 20px;
  border-radius: 980px;
  letter-spacing: 0.5px;
}
.price-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
  border-color: rgba(255,255,255,0.12);
}
.price-card.featured:hover {
  border-color: rgba(6,199,85,0.35);
  box-shadow: 0 24px 64px rgba(0,0,0,0.3), 0 0 40px rgba(6,199,85,0.08);
}
.price-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 20px;
}
.price-amount {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -1px;
}
.price-amount .yen { font-size: 1.1rem; font-weight: 600; }
.price-amount .suffix { font-size: 0.82rem; font-weight: 400; color: var(--text-dim); }
.price-monthly {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 8px;
  margin-bottom: 4px;
  font-weight: 400;
}
.price-monthly span {
  color: var(--green);
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
}
.price-desc-text {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 32px;
  line-height: 1.7;
  font-weight: 300;
}
.price-features { list-style: none; margin-bottom: 36px; }
.price-features li {
  font-size: 0.82rem;
  color: var(--text-mid);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
  font-weight: 400;
}
.price-features li::before {
  content: '\2713';
  color: var(--green);
  font-weight: 700;
  font-size: 0.72rem;
}
.price-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 15px;
  border-radius: 980px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.4s var(--transition);
  letter-spacing: -0.2px;
}
.price-btn-primary {
  background: var(--green); color: #000;
}
.price-btn-primary:hover {
  background: var(--green-dim);
  transform: scale(1.03);
  box-shadow: 0 0 32px rgba(6,199,85,0.2);
}
.price-btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.1);
}
.price-btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(6,199,85,0.04);
}
.content-panel.active {
  display: block;
  animation: workFadeIn 0.4s var(--transition) both;
}
.content-price-table {
  max-width: 720px;
}
.content-price-table table {
  width: 100%;
  border-collapse: collapse;
}
.content-price-table th {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dim);
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.content-price-table td {
  font-size: 0.85rem;
  color: var(--text-mid);
  padding: 18px 16px;
  border-bottom: 1px solid var(--border);
  font-weight: 400;
}
.content-price-cell {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--green) !important;
  font-size: 1rem !important;
  white-space: nowrap;
}
.pricing-note {
  margin-top: 48px;
  padding: 28px 32px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.pricing-note p {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.9;
  font-weight: 300;
}
.pricing-note p + p {
  margin-top: 6px;
}
.pricing-note-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 40px;
  background: var(--green);
  color: #000;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 980px;
  text-decoration: none;
  transition: all 0.4s var(--transition);
  letter-spacing: -0.2px;
}
.pricing-note-btn:hover {
  background: var(--green-dim);
  transform: scale(1.03);
  box-shadow: 0 0 32px rgba(6,199,85,0.2);
}
.maintenance-box {
  margin-top: 56px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
}
.maintenance-box h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.maintenance-box h3 .maint-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(6,199,85,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.maintenance-box .maint-sub {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 32px;
  line-height: 1.7;
  font-weight: 300;
}
.maint-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.maint-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.maint-card-name {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 8px;
}
.maint-card-price {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 16px;
  line-height: 1;
}
.maint-card-price .maint-suffix {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--text-dim);
}
.maint-card-features {
  list-style: none;
}
.maint-card-features li {
  font-size: 0.78rem;
  color: var(--text-mid);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
}
.maint-card-features li::before {
  content: '\2713';
  color: var(--green);
  font-weight: 700;
  font-size: 0.65rem;
}
.maint-note {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 300;
  line-height: 1.8;
}

/* ===== FLOW ===== */
#flow { background: var(--bg); }
.flow-steps {
  display: flex;
  gap: 0;
  margin-top: 56px;
  position: relative;
}
.flow-step {
  flex: 1;
  text-align: center;
  padding: 0 16px;
  position: relative;
}
.flow-step::after {
  content: '';
  position: absolute;
  top: 24px;
  right: -10%;
  width: 20%;
  height: 1px;
  background: linear-gradient(90deg, rgba(6,199,85,0.4), transparent);
}
.flow-step:last-child::after { display: none; }
.flow-num {
  width: 52px; height: 52px;
  background: rgba(6,199,85,0.06);
  border: 1px solid rgba(6,199,85,0.15);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--green);
  margin: 0 auto 20px;
  transition: all 0.4s var(--transition);
}
.flow-step:hover .flow-num {
  background: rgba(6,199,85,0.1);
  border-color: rgba(6,199,85,0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6,199,85,0.1);
}
.flow-step h3 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.flow-step p {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.7;
  font-weight: 300;
}

/* ===== NEWS ===== */
#news { background: var(--bg); }
.news-list { margin-top: 48px; }
.news-item {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 22px 16px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: all 0.4s var(--transition);
  border-radius: 12px;
  margin-bottom: 2px;
}
.news-item:hover {
  background: rgba(255,255,255,0.02);
  padding-left: 24px;
  border-color: rgba(255,255,255,0.12);
}
.news-date {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  color: var(--text-dim);
  white-space: nowrap;
  min-width: 90px;
  font-weight: 400;
}
.news-tag {
  font-size: 0.62rem;
  background: rgba(6,199,85,0.08);
  color: var(--green);
  padding: 4px 12px;
  border-radius: 980px;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.news-title {
  font-size: 0.88rem;
  font-weight: 400;
  transition: color 0.3s var(--transition);
}
.news-item:hover .news-title { color: var(--green); }

/* ===== FAQ ===== */
#faq { background: var(--bg); }
.faq-list {
  max-width: 800px;
  margin-top: 56px;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 20px;
  transition: all 0.3s var(--transition);
}
.faq-q:hover { opacity: 0.8; }
.faq-q h3 {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.7;
}
.faq-toggle {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--green);
  flex-shrink: 0;
  transition: all 0.4s var(--transition);
}
.faq-item.open .faq-toggle {
  transform: rotate(45deg);
  background: var(--green);
  color: #000;
  border-color: var(--green);
  box-shadow: 0 0 20px rgba(6,199,85,0.2);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--transition), padding 0.5s var(--transition);
}
.faq-item.open .faq-a { max-height: 300px; padding-top: 18px; }
.faq-a p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.9;
  font-weight: 300;
}

/* ===== FINAL CTA ===== */
#final-cta {
  background: var(--bg);
  padding: 120px 40px;
}
.final-cta-box {
  max-width: 1100px;
  margin: 0 auto;
  background: rgba(6,199,85,0.03);
  border: 1px solid rgba(6,199,85,0.12);
  border-radius: var(--radius-lg);
  padding: 88px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta-box::before {
  content: '';
  position: absolute;
  top: -250px; right: -250px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(6,199,85,0.08), transparent 60%);
}
.final-cta-box::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(6,199,85,0.05), transparent 60%);
}
.final-cta-box h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 18px;
  position: relative;
  line-height: 1.5;
  background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,0.65));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.final-cta-box > p {
  color: var(--text-dim);
  margin-bottom: 44px;
  font-size: 0.95rem;
  position: relative;
  font-weight: 300;
}
.final-cta-box .cta-buttons {
  display: flex; gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.final-cta-box .cta-buttons .btn-primary svg { width: 20px; height: 20px; }
.final-cta-hours {
  margin-top: 28px;
  font-size: 0.78rem;
  color: var(--text-dim);
  position: relative;
  font-weight: 300;
}

/* ===== 3D CHARACTER VIEWER ===== */
.char3d-viewer-wrap {
  margin-top: 72px;
  position: relative;
}
.char3d-stage {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 40px;
}
.char3d-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}
.char3d-action-btn {
  min-width: 160px;
  text-align: center;
  font-size: 0.88rem;
  padding: 14px 28px;
}
.char3d-canvas-wrap {
  position: relative;
  width: 420px;
  flex-shrink: 0;
}
#char3d-canvas {
  display: block;
  width: 100%;
  background: transparent;
  pointer-events: none;
  touch-action: auto;
}
.char3d-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.82rem;
  color: var(--text-dim);
  font-weight: 300;
  animation: char3dPulse 1.5s ease-in-out infinite;
}
@keyframes char3dPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@media (max-width: 768px) {
  .char3d-stage {
    flex-direction: row !important;
    gap: 16px !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
  }
  .char3d-actions {
    flex-direction: column !important;
    gap: 12px;
    flex-shrink: 0;
    padding-top: 160px;
  }
  .char3d-action-btn {
    min-width: 110px;
    padding: 10px 16px;
    font-size: 0.78rem;
  }
  .char3d-canvas-wrap {
    width: 210px !important;
    max-width: 210px !important;
    flex-shrink: 0;
  }
  .char3d-viewer-wrap {
    margin-top: 32px;
  }
}

/* ===== CHAT PANEL ===== */
.chat-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
}
.chat-overlay.active { display: block; }

.chat-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.chat-panel {
  position: absolute;
  top: 0;
  right: -500px;
  width: 460px;
  height: 100%;
  background: #0b0d14;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
  z-index: 1;
  box-shadow: -8px 0 40px rgba(0,0,0,0.6);
}
.chat-overlay.active .chat-panel { right: 0; }

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #141722;
  border-bottom: 1px solid #232840;
  flex-shrink: 0;
  z-index: 10;
}
.chat-header-title {
  font-size: 15px;
  font-weight: 600;
  color: #667eea;
  flex: 1;
  white-space: nowrap;
}
.chat-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.chat-btn-header {
  background: rgba(102,126,234,0.12);
  border: 1px solid rgba(102,126,234,0.25);
  color: #667eea;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.chat-btn-header:hover { background: rgba(102,126,234,0.2); }
.chat-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.08);
  color: #e4e6ef;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.chat-close-btn:hover { background: rgba(255,255,255,0.15); }

.chat-chara-area {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0e1018 0%, #151928 100%);
}
.chat-chara-area canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.chat-chara-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #8891a8;
  font-size: 13px;
  z-index: 5;
}
.chat-chara-loading.hidden { display: none; }
.chat-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #232840;
  border-top-color: #667eea;
  border-radius: 50%;
  animation: chatSpin 0.8s linear infinite;
}
@keyframes chatSpin { to { transform: rotate(360deg); } }

.chat-subtitle-area {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 20px 16px;
  text-align: center;
  pointer-events: none;
  z-index: 6;
}
.chat-subtitle {
  display: inline-block;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  max-width: 90%;
  color: #fff;
  pointer-events: auto;
  word-break: break-word;
  white-space: pre-wrap;
  max-height: 20vh;
  overflow-y: auto;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.chat-subtitle.interim { opacity: 0.6; font-style: italic; }
.chat-subtitle:empty { display: none; }

.chat-thinking {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  gap: 5px;
  z-index: 6;
}
.chat-thinking.active { display: flex; }
.chat-thinking span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #667eea;
  animation: chatBounce 0.6s infinite alternate;
}
.chat-thinking span:nth-child(2) { animation-delay: 0.2s; }
.chat-thinking span:nth-child(3) { animation-delay: 0.4s; }
@keyframes chatBounce { to { transform: translateY(-8px); opacity: 0.4; } }

.chat-controls {
  background: #141722;
  border-top: 1px solid #232840;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.chat-voice-status {
  font-size: 11px;
  color: #8891a8;
  min-height: 16px;
  text-align: center;
}
.chat-voice-status.recording { color: #00d26a; }
.chat-voice-status.sending { color: #fbbf24; }
.chat-voice-status.failed { color: #f87171; }

.chat-controls-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.chat-mic-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #232840;
  background: transparent;
  color: #8891a8;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s;
}
.chat-mic-btn.active {
  border-color: #00d26a;
  color: #00d26a;
  background: rgba(0,210,106,0.08);
  animation: chatPulse 1.5s infinite;
}
.chat-mic-btn.disabled { opacity: 0.4; cursor: not-allowed; }
@keyframes chatPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,210,106,0.3); }
  50% { box-shadow: 0 0 0 14px rgba(0,210,106,0); }
}

.chat-text-input {
  flex: 1;
  display: block;
  background: #0b0d14;
  border: 1px solid #232840;
  border-radius: 12px;
  color: #e4e6ef;
  padding: 10px 14px;
  font-size: 14px;
  resize: none;
  min-height: 42px;
  max-height: 100px;
  font-family: inherit;
  line-height: 1.4;
  outline: none;
}
.chat-text-input:focus { border-color: #667eea; }
.chat-text-input::placeholder { color: #8891a8; }
.chat-send-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #667eea;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.chat-send-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* 会話履歴パネル（議事録と同じスライドイン） */
.chat-history-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 90;
  display: none;
}
.chat-history-backdrop.active { display: block; }
.chat-history-panel {
  position: absolute;
  top: 0;
  right: -100%;
  width: 88%;
  max-width: 380px;
  height: 100%;
  background: #141722;
  z-index: 100;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  border-left: 1px solid #232840;
}
.chat-history-panel.active { right: 0; }
.chat-history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #232840;
}
.chat-history-header h2 {
  font-size: 15px;
  color: #667eea;
  font-weight: 600;
}
.chat-history-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
}
.chat-history-list::-webkit-scrollbar { width: 4px; }
.chat-history-list::-webkit-scrollbar-track { background: transparent; }
.chat-history-list::-webkit-scrollbar-thumb { background: #232840; border-radius: 2px; }
.chat-h-msg {
  margin-bottom: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
  word-break: break-word;
  white-space: pre-wrap;
}
.chat-h-msg-user {
  background: rgba(102,126,234,0.12);
  border: 1px solid rgba(102,126,234,0.2);
}
.chat-h-msg-assistant {
  background: rgba(255,255,255,0.04);
  border: 1px solid #232840;
}
.chat-h-msg-time {
  font-size: 10px;
  color: #8891a8;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .chat-panel {
    width: 80%;
    right: -80%;
  }
  .chat-mic-btn {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }
  .chat-text-input {
    font-size: 13px;
    padding: 8px 10px;
    min-height: 38px;
  }
  .chat-send-btn {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
  .chat-history-panel { width: 92%; }
}

/* ===== FOOTER ===== */
footer {
  background: #000;
  border-top: 1px solid var(--border);
  padding: 72px 40px 36px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand .nav-logo { display: inline-block; margin-bottom: 20px; }
.footer-brand p { font-size: 0.82rem; color: var(--text-dim); line-height: 1.8; max-width: 280px; font-weight: 300; }
.footer-col h4 {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.footer-col a {
  display: block;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.82rem;
  padding: 6px 0;
  transition: color 0.3s var(--transition);
  font-weight: 300;
}
.footer-col a:hover { color: var(--text); }
.footer-address {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 14px;
  line-height: 1.7;
  font-style: normal;
  font-weight: 300;
}
.footer-bottom {
  max-width: 1100px;
  margin: 48px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-bottom p {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition: opacity 1s var(--transition), transform 1s var(--transition), filter 1s var(--transition);
  filter: blur(4px);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Staggered reveal delays */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===== GLOBAL LUXURY ANIMATIONS ===== */

/* Floating ambient orbs for sections */
.section-ambient {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

/* Section label glow animation */
.section-label {
  animation: labelGlow 3s ease-in-out infinite;
}
@keyframes labelGlow {
  0%, 100% { text-shadow: none; }
  50% { text-shadow: 0 0 12px rgba(180,180,180,0.3); }
}

/* Section title gradient text shimmer */
.section-title {
  background: linear-gradient(90deg, #fff 0%, #fff 40%, rgba(160,160,160,0.7) 50%, #fff 60%, #fff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleShimmer 6s ease infinite;
}
@keyframes titleShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* Enhanced service card pulse on hover */
.service-card:hover .service-role::before {
  animation: dotPulse 1.5s ease infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(6,199,85,0.4); transform: scale(1); }
  50% { box-shadow: 0 0 16px rgba(6,199,85,0.8); transform: scale(1.3); }
}

/* Flow node sequential glow */
.flow-node-icon {
  animation: nodeGlow 4s ease-in-out infinite;
}
.flow-node:nth-child(1) .flow-node-icon { animation-delay: 0s; }
.flow-node:nth-child(3) .flow-node-icon { animation-delay: 0.6s; }
.flow-node:nth-child(5) .flow-node-icon { animation-delay: 1.2s; }
.flow-node:nth-child(7) .flow-node-icon { animation-delay: 1.8s; }
.flow-node:nth-child(9) .flow-node-icon { animation-delay: 2.4s; }
@keyframes nodeGlow {
  0%, 100% { box-shadow: none; border-color: var(--border); }
  50% { box-shadow: 0 0 20px rgba(6,199,85,0.12); border-color: rgba(6,199,85,0.25); }
}

/* Flow arrow pulse */
.flow-arrow {
  animation: arrowPulse 2s ease-in-out infinite;
}
.flow-chain .flow-arrow:nth-child(2) { animation-delay: 0.3s; }
.flow-chain .flow-arrow:nth-child(4) { animation-delay: 0.6s; }
.flow-chain .flow-arrow:nth-child(6) { animation-delay: 0.9s; }
.flow-chain .flow-arrow:nth-child(8) { animation-delay: 1.2s; }
@keyframes arrowPulse {
  0%, 100% { opacity: 0.3; transform: translateX(0); }
  50% { opacity: 0.8; transform: translateX(3px); }
}

/* Price card featured continuous glow */
.price-card.featured {
  animation: featuredGlow 4s ease-in-out infinite;
}
@keyframes featuredGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(6,199,85,0); }
  50% { box-shadow: 0 0 40px rgba(6,199,85,0.06), 0 0 80px rgba(6,199,85,0.03); }
}

/* FAQ item hover slide */
.faq-item .faq-q {
  transition: all 0.3s var(--transition);
}
.faq-item .faq-q:hover {
  transform: translateX(6px);
}

/* Diff table row sequential highlight */
.diff-table tbody tr {
  position: relative;
}
.diff-table tbody tr::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--green), transparent);
  transition: width 0.6s var(--transition);
}
.diff-table tbody tr:hover::after {
  width: 100%;
}

/* CTA button shimmer */
.btn-primary, .price-btn-primary, .pricing-note-btn {
  position: relative;
  overflow: hidden;
}
.btn-primary::after, .price-btn-primary::after, .pricing-note-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: btnShimmer 4s ease-in-out infinite;
}
@keyframes btnShimmer {
  0% { left: -100%; }
  50%, 100% { left: 150%; }
}

/* News item hover */
.news-item {
  transition: all 0.4s var(--transition);
}
.news-item:hover {
  transform: translateX(8px);
  border-color: rgba(6,199,85,0.15);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-panel.active { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .maint-grid { grid-template-columns: repeat(2, 1fr); }
  .maintenance-box { padding: 32px 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  body { padding-bottom: 72px; }
  section { padding: 80px 20px; }
  nav { padding: 0 20px; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.96);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 1000;
  }
  .nav-links.open { display: flex; flex-direction: column; justify-content: center; }
  .nav-links.open .nav-links-list { flex-direction: column; }
  .nav-links a, .nav-links-list a { font-size: 1.1rem; color: var(--text); }
  .hamburger { display: flex; }
  .sticky-cta { display: flex; }

  .hero { padding: 130px 20px 70px; min-height: auto; }
  .hero h1 { letter-spacing: -1px; font-size: clamp(1rem, 6vw, 3rem); }
  .hero-orb-1 { width: 200px; height: 200px; }
  .hero-orb-2 { width: 150px; height: 150px; }
  .hero-orb-3 { width: 100px; height: 100px; }
  .hero-glow-ring { width: 300px; height: 300px; }
  .hero-keywords { gap: 8px; }
  .hero-keyword { font-size: 0.7rem; padding: 6px 14px; }
  .hero-stats { gap: 28px; margin-top: 48px; }
  .hero-stat-num { font-size: 1.5rem; }
  .hero-sub { font-size: 0.85rem; line-height: 1.9; }
  .role-grid { grid-template-columns: repeat(2, 1fr); }
  .principles-grid { grid-template-columns: 1fr; }
  .flow-chain { flex-direction: column; align-items: stretch; }
  .flow-node { flex-direction: row; gap: 12px; min-width: auto; text-align: left; }
  .flow-arrow { transform: rotate(90deg); padding: 4px 0; text-align: center; }

  .diff-table { display: none; }
  .diff-cards { display: block; }

  .mid-cta { padding: 44px 24px; }

  .flow-steps { flex-direction: column; gap: 36px; }
  .flow-step::after { display: none; }
  .flow-step { text-align: left; display: flex; gap: 16px; align-items: flex-start; padding: 0; }
  .flow-num { margin: 0; flex-shrink: 0; }

  .final-cta-box { padding: 56px 24px; border-radius: var(--radius); }
  #final-cta { padding: 80px 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .works-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .work-thumb { padding: 16px; }
  .characters-heading { margin-top: 64px; }
  .char-card { flex: 0 0 170px; padding: 20px; }
  .characters-marquee { gap: 16px; }
  #what-is .section-title { font-size: clamp(1.2rem, 3.5vw, 2.4rem); }
}

/* SP専用改行 */
br.sp-only { display: none; }
@media (max-width: 768px) { br.sp-only { display: inline; } }

/* WordPress メニュー互換 */
ul.nav-links { list-style: none; padding: 0; margin: 0; display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
ul.nav-links li { margin: 0; padding: 0; }
.nav-links-list { list-style: none; padding: 0; margin: 0; display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.nav-links-list li { margin: 0; padding: 0; }
.nav-links-list a { color: var(--text-dim); text-decoration: none; font-size: 0.78rem; font-weight: 400; letter-spacing: 0.3px; transition: color 0.3s var(--transition); }
.nav-links-list a:hover { color: #fff; }

/* ===== 旧テーマ (style.css / responsive.css) の打ち消し ===== */

section:not(.hero) {
  padding: 120px 40px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  border: none !important;
}
#portfolio {
  overflow: hidden !important;
}
section:not(.hero)::before {
  display: none !important;
}

/* 旧テーマのヒーロー打ち消し — 全ページ共通 */
.hero {
  background: none !important;
  background-size: auto !important;
  box-shadow: none !important;
  border-bottom: none !important;
  will-change: auto !important;
}
.hero::before {
  display: none !important;
}
.hero-content {
  display: block !important;
  grid-template-columns: none !important;
}

/* 旧テーマのヒーロー打ち消し — フロントページ専用 */
.front-page .hero,
body.home .hero {
  padding: 160px 40px 120px !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  overflow: hidden !important;
  animation: none !important;
}
.front-page .hero-content,
body.home .hero-content {
  max-width: 880px !important;
  margin: 0 auto !important;
  position: relative !important;
  z-index: 2 !important;
  gap: 0 !important;
  text-align: center !important;
  padding: 0 !important;
}
/* 旧テーマ専用クラスの非表示（新HTMLに存在しないもの） */
.hero-title,
.hero-subtitle,
.hero-illustration,
.hero-background,
.hero-text,
.hero-description {
  display: none !important;
}

/* 旧ヒーロー要素の非表示（新HTMLに存在しないクラス） */
.front-page .hero-illustration,
.front-page .hero-text,
.front-page .hero-description,
.front-page .hero-background,
.front-page .tech-grid,
.front-page .character-showcase {
  display: none !important;
}
/* (front-page .hero / .hero-content は上で統合済み) */
.front-page .hero-buttons {
  display: flex !important;
  gap: 16px !important;
  justify-content: center !important;
  flex-direction: row !important;
  align-items: center !important;
}
.front-page .hero-buttons .btn-primary,
.front-page .hero-buttons .btn-ghost {
  width: auto !important;
  max-width: none !important;
}

/* .section-title 打ち消し：旧ネオンシャドウのリセットのみ。色・背景は各ページCSSに委ねる */
.section-title {
  text-shadow: none !important;
  display: block !important;
  width: auto !important;
}

/* 旧ニュース (.fp-news) の非表示 */
.fp-news,
.fp-news-grid,
.fp-news-card,
.fp-news-more {
  display: none !important;
}

/* ニュース: 旧カード型→新リスト型に強制 */
#news .news-item {
  display: flex !important;
  gap: 20px !important;
  align-items: center !important;
  padding: 22px 16px !important;
  border-bottom: 1px solid var(--border) !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-radius: 12px !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  position: static !important;
  transform: none !important;
  margin-bottom: 2px !important;
}
#news .news-item::before {
  display: none !important;
}
#news .news-item:hover {
  background: rgba(255,255,255,0.02) !important;
  padding-left: 24px !important;
  transform: none !important;
  box-shadow: none !important;
  border-color: rgba(255,255,255,0.12) !important;
}
#news .news-date {
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.78rem !important;
  color: var(--text-dim) !important;
  white-space: nowrap !important;
  min-width: 90px !important;
  margin-bottom: 0 !important;
}
#news .news-title {
  font-size: 0.88rem !important;
  font-weight: 400 !important;
  margin-bottom: 0 !important;
  line-height: 1.6 !important;
}
#news .news-item:hover .news-title {
  color: var(--green) !important;
  text-shadow: none !important;
}

/* FAQ: 旧スタイル打ち消し */
#faq .faq-item {
  border: none !important;
  border-bottom: 1px solid var(--border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

/* ボタン: 旧サイバー風→新グリーン風に */
/* .btn-primary 打ち消し：旧テーマのシャイン演出・ホバーアニメーション除去 */
.btn-primary::before {
  display: none !important;
}
.btn-primary:hover {
  animation: none !important;
  text-shadow: none !important;
}
/* フロントページでの .btn-primary は緑 */
.front-page .btn-primary,
body.home .btn-primary {
  background: var(--green) !important;
  color: #000 !important;
  box-shadow: 0 4px 20px rgba(6,199,85,0.25) !important;
  border-radius: 980px !important;
  justify-content: center;
}
.front-page .btn-primary:hover,
body.home .btn-primary:hover {
  background: #07e65d !important;
  box-shadow: 0 0 30px rgba(6,199,85,0.35) !important;
}

/* セクション間ボーダー消去 */
section {
  border: none !important;
}


@media (max-width: 768px) {
  section:not(.hero) {
    padding: 80px 20px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    overflow: visible !important;
  }
  .front-page .hero,
  body.home .hero {
    padding: 130px 20px 70px !important;
    min-height: auto !important;
    background: none !important;
    box-shadow: none !important;
    animation: none !important;
  }
  .front-page .hero-content,
  body.home .hero-content {
    display: block !important;
    grid-template-columns: none !important;
    padding: 0 !important;
    gap: 0 !important;
  }
  .front-page .hero-buttons,
  body.home .hero-buttons {
    flex-direction: column !important;
    align-items: center !important;
  }
  .front-page .hero-buttons .btn-primary,
  .front-page .hero-buttons .btn-ghost {
    width: 100% !important;
    max-width: 280px !important;
    justify-content: center !important;
  }
  .section-title {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }
}

@media (max-width: 480px) {
  section:not(.hero) {
    padding: 60px 16px !important;
    margin: 0 !important;
  }
  .front-page .hero,
  body.home .hero {
    padding: 110px 16px 50px !important;
  }
}

