/* ========================================
   CSS Variables & Design System
======================================== */
:root {
  /* Colors - Dark Premium Theme */
  --color-bg: #080c14;
  --color-bg-secondary: #0d1420;
  --color-bg-card: #131b2e;
  --color-bg-card-hover: #1a2642;
  --color-text: #f8fafc;
  --color-text-secondary: #94a3b8;
  --color-text-muted: #64748b;

  /* Brand Colors */
  --color-primary: #6366f1;
  --color-primary-light: #818cf8;
  --color-primary-dark: #4f46e5;
  --color-accent: #22d3ee;
  --color-accent-warm: #f59e0b;
  --color-success: #10b981;
  --color-error: #ef4444;

  /* Border Colors */
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-light: rgba(255, 255, 255, 0.04);
  --color-border-glow: rgba(99, 102, 241, 0.4);

  /* Gradients */
  --gradient-primary: linear-gradient(
    135deg,
    #6366f1 0%,
    #8b5cf6 50%,
    #a855f7 100%
  );
  --gradient-hero-bg: radial-gradient(
    ellipse at 50% 0%,
    rgba(99, 102, 241, 0.15) 0%,
    transparent 50%
  );
  --gradient-card: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.05) 0%,
    transparent 100%
  );
  --gradient-text: linear-gradient(
    135deg,
    #6366f1 0%,
    #a855f7 50%,
    #22d3ee 100%
  );

  /* Typography */
  --font-sans:
    "Noto Sans JP", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --font-size-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.75rem);
  --font-size-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.875rem);
  --font-size-base: clamp(0.9rem, 0.85rem + 0.25vw, 1rem);
  --font-size-lg: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --font-size-xl: clamp(1.1rem, 1rem + 0.5vw, 1.25rem);
  --font-size-2xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --font-size-3xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
  --font-size-4xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  --font-size-5xl: clamp(2.5rem, 2rem + 2.5vw, 4rem);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.4);
  --shadow-glow-lg: 0 0 60px rgba(99, 102, 241, 0.3);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --header-height: 70px;
  --container-max: 1200px;
  --container-narrow: 800px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: 1.75;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
video,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

address {
  font-style: normal;
}

/* ========================================
   Utility Classes
======================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-md);
  z-index: 9999;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-md);
}

/* Icon Utilities */
.icon {
  width: 1.25em;
  height: 1.25em;
  display: inline-block;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sm {
  width: 1em;
  height: 1em;
}

.icon-lg {
  width: 1.5em;
  height: 1.5em;
}

.icon-xl {
  width: 2em;
  height: 2em;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========================================
   Header
======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(8, 12, 20, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: box-shadow var(--transition-base);
}

.header.scrolled {
  box-shadow: var(--shadow-lg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-lg);
  font-weight: 700;
  z-index: 1001;
}

.logo-icon {
  font-size: 1.5rem;
}

/* ロゴ画像 */
.logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: brightness(1);
  transition: filter var(--transition-fast);
}

.logo:hover .logo-img {
  filter: brightness(1.2);
}

@media (max-width: 768px) {
  .logo-img {
    height: 30px;
  }
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: transparent;
  border: none;
  z-index: 1001;
  -webkit-tap-highlight-color: transparent;
}

.hamburger {
  position: relative;
  width: 24px;
  height: 18px;
}

.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition-base);
}

.hamburger span:nth-child(1) {
  top: 0;
}
.hamburger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
.hamburger span:nth-child(3) {
  bottom: 0;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* Navigation */
.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-list a {
  font-size: var(--font-size-sm);
  color: #e2e8f0;
  padding: var(--space-sm) 0;
  transition: color var(--transition-fast);
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-list a:hover {
  color: var(--color-primary-light);
}

.nav-cta {
  padding: var(--space-sm) var(--space-lg) !important;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  color: white !important;
  font-weight: 500;
}

.nav-cta:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

/* Mobile Navigation */
@media (max-width: 1024px) {
  .mobile-menu-btn {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    height: 100dvh;
    background: var(--color-bg-secondary);
    padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl)
      var(--space-xl);
    overflow-y: auto;
    transition: right var(--transition-slow);
    box-shadow: var(--shadow-xl);
  }

  .nav.is-open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list li {
    border-bottom: 1px solid var(--color-border);
  }

  .nav-list a {
    display: block;
    padding: var(--space-lg) 0;
    font-size: var(--font-size-base);
  }

  .nav-cta {
    margin-top: var(--space-lg);
    text-align: center;
    display: block;
  }
}

/* ========================================
   Hero Section
======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
  overflow: hidden;
}

/* パーティクル背景 */
.particles-container {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.hero-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  height: 80%;
  background: var(--gradient-hero-bg);
  filter: blur(60px);
}

/* グリッドライン背景 */
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

/* AIオーブ - 右側の光るエフェクト */
.ai-orb {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  width: 220px;
  height: 220px;
  z-index: 3;
  pointer-events: none;
}

.orb-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.9) 0%,
    rgba(139, 92, 246, 0.6) 50%,
    transparent 70%
  );
  border-radius: 50%;
  box-shadow:
    0 0 40px rgba(99, 102, 241, 0.6),
    0 0 80px rgba(139, 92, 246, 0.4),
    0 0 120px rgba(168, 85, 247, 0.2);
  animation: orbPulse 3s ease-in-out infinite;
}

@keyframes orbPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow:
      0 0 40px rgba(99, 102, 241, 0.6),
      0 0 80px rgba(139, 92, 246, 0.4),
      0 0 120px rgba(168, 85, 247, 0.2);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow:
      0 0 60px rgba(99, 102, 241, 0.8),
      0 0 100px rgba(139, 92, 246, 0.5),
      0 0 140px rgba(168, 85, 247, 0.3);
  }
}

.orb-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.orb-ring-1 {
  width: 120px;
  height: 120px;
  animation: ringRotate1 10s linear infinite;
}

.orb-ring-2 {
  width: 160px;
  height: 160px;
  animation: ringRotate2 15s linear infinite reverse;
}

.orb-ring-3 {
  width: 200px;
  height: 200px;
  animation: ringRotate1 20s linear infinite;
}

@keyframes ringRotate1 {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes ringRotate2 {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.orb-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 0 20px rgba(99, 102, 241, 0.8);
}

/* フローティング統計 */
.floating-stats {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.floating-stat {
  position: absolute;
  padding: var(--space-sm) var(--space-md);
  background: rgba(19, 27, 46, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-accent);
  white-space: nowrap;
}

.floating-stat-1 {
  top: 25%;
  right: 5%;
  animation: float1 6s ease-in-out infinite;
}

.floating-stat-2 {
  top: 60%;
  right: 3%;
  animation: float2 7s ease-in-out infinite;
}

.floating-stat-3 {
  top: 75%;
  right: 15%;
  animation: float3 8s ease-in-out infinite;
}

@keyframes float1 {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-15px) rotate(2deg);
  }
}

@keyframes float2 {
  0%,
  100% {
    transform: translateY(0) rotate(1deg);
  }
  50% {
    transform: translateY(-20px) rotate(-1deg);
  }
}

@keyframes float3 {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  color: var(--color-primary-light);
  margin-bottom: var(--space-lg);
}

.hero-title {
  font-size: var(--font-size-5xl);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  color: var(--color-primary-light);
  margin-bottom: var(--space-xl);
  font-weight: 400;
}

.hero-desc {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
  line-height: 1.8;
}

.hero-benefits {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.benefit-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

.benefit-icon {
  font-size: 1rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.2;
}

.stat-value small {
  font-size: 0.5em;
  font-weight: 400;
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.hero-note {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
}

.industry-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.industry-tag {
  padding: var(--space-xs) var(--space-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
}

/* モバイルでAIオーブとフローティング統計を非表示 */
@media (max-width: 1024px) {
  .ai-orb,
  .floating-stats {
    display: none;
  }

  .hero-content {
    max-width: 100%;
    padding: 0 var(--space-md);
  }
}

/* ========================================
   Buttons
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-size: var(--font-size-base);
  font-weight: 500;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  white-space: nowrap;
  min-height: 48px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: white;
}

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--color-primary);
  color: var(--color-primary-light);
}

.btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--font-size-lg);
}

.btn-full {
  width: 100%;
}

.btn-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-accent-warm);
  color: #000;
  font-size: var(--font-size-xs);
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 480px) {
  .hero-cta .btn {
    width: 100%;
  }

  .btn-badge {
    position: static;
    margin-left: var(--space-sm);
  }
}

/* ========================================
   Section Styles
======================================== */
section {
  padding: var(--space-4xl) 0;
}

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-md);
  line-height: 1.3;
}

.section-title.light {
  color: white;
}

.section-desc {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  text-align: center;
  margin-bottom: var(--space-2xl);
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
}

.section-desc.large {
  font-size: var(--font-size-lg);
}

.section-cta {
  text-align: center;
  margin-top: var(--space-2xl);
}

.section-cta p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
}

/* Trust Badges */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

.trust-badge {
  padding: var(--space-sm) var(--space-md);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  color: var(--color-success);
}

/* ========================================
   AIO Section
======================================== */
.aio-section {
  background: var(--color-bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.feature-card {
  padding: var(--space-xl);
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.feature-card h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.feature-card > p {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.feature-list li {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  padding-left: var(--space-lg);
  position: relative;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-success);
}

.metrics-row {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  padding: var(--space-xl);
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
}

.metric {
  text-align: center;
}

.metric-label {
  display: block;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

.metric-value {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--color-accent);
}

/* ========================================
   Services Section
======================================== */
.services-section {
  background: var(--color-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.service-card {
  position: relative;
  padding: var(--space-xl);
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.service-card:hover {
  background: var(--color-bg-card-hover);
  border-color: var(--color-primary);
  transform: translateY(-4px);
}

.service-card.featured {
  border-color: var(--color-primary);
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.1) 0%,
    var(--color-bg-card) 100%
  );
}

.service-badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  padding: var(--space-xs) var(--space-md);
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: white;
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.service-card h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-md);
  line-height: 1.4;
}

.service-card > p {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.service-stats {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.service-stat {
  flex: 1;
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  text-align: center;
}

.stat-num {
  display: block;
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-accent);
}

.stat-txt {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.service-tags span {
  padding: var(--space-xs) var(--space-sm);
  background: rgba(99, 102, 241, 0.1);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-xs);
  color: var(--color-primary-light);
}

.service-link {
  display: inline-block;
  font-size: var(--font-size-sm);
  color: var(--color-primary-light);
  font-weight: 500;
  margin-bottom: var(--space-md);
}

.service-link:hover {
  color: var(--color-primary);
}

.service-note {
  padding: var(--space-sm) var(--space-md);
  background: rgba(16, 185, 129, 0.1);
  border-radius: var(--radius-md);
  font-size: var(--font-size-xs);
  color: var(--color-success);
  text-align: center;
}

/* ========================================
   Problem Section
======================================== */
.problem-section {
  background: var(--color-bg-secondary);
}

.solution-box {
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
  padding: var(--space-xl);
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-primary);
  text-align: center;
}

.solution-box h3 {
  font-size: var(--font-size-xl);
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.solution-box p {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.approach-card {
  padding: var(--space-xl);
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
}

.approach-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.approach-card h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.approach-card > p {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.approach-example {
  padding: var(--space-md);
  background: rgba(99, 102, 241, 0.1);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

.approach-example strong {
  color: var(--color-primary-light);
}

.cta-box {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-2xl);
  background: var(--gradient-card);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border);
  text-align: center;
}

.cta-box h4 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-md);
}

.cta-box p {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

/* ========================================
   Works Section
======================================== */
.works-section {
  background: var(--color-bg);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.work-card {
  padding: 0;
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  overflow: hidden;
}

.work-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.work-card:hover .work-image img {
  transform: scale(1.05);
}

.work-card > span.work-category,
.work-card > h3,
.work-card > p,
.work-card > .work-stats,
.work-card > .work-link {
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

.work-card > span.work-category {
  margin-top: var(--space-md);
}

.work-card > .work-link {
  padding-bottom: var(--space-lg);
}

.work-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
}

.work-category {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: rgba(99, 102, 241, 0.1);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  color: var(--color-primary-light);
  margin-bottom: var(--space-md);
}

.work-card h3 {
  font-size: var(--font-size-base);
  font-weight: 600;
  margin-bottom: var(--space-md);
  line-height: 1.4;
}

.work-card > p {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.work-stats {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

.work-stats span {
  padding: var(--space-xs) var(--space-sm);
  background: rgba(16, 185, 129, 0.1);
  border-radius: var(--radius-md);
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
}

.work-stats strong {
  color: var(--color-success);
}

.work-link {
  font-size: var(--font-size-sm);
  color: var(--color-primary-light);
  font-weight: 500;
}

.work-link:hover {
  color: var(--color-primary);
}

/* ========================================
   Interview Section
======================================== */
.interview-section {
  background: var(--color-bg-secondary);
  text-align: center;
}

.interview-note {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* ========================================
   FAQ Section
======================================== */
.faq-section {
  background: var(--color-bg);
}

.faq-list {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) 0;
  cursor: pointer;
  font-size: var(--font-size-base);
  font-weight: 500;
  list-style: none;
  min-height: 60px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question > span:first-child {
  flex: 1;
  padding-right: var(--space-md);
  text-align: left;
}

.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--color-text);
  transition: transform var(--transition-fast);
}

.faq-icon::before {
  width: 14px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
  padding: 0 0 var(--space-lg) 0;
}

.faq-answer p {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ol,
.faq-answer ul {
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
}

.faq-answer li {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-sm);
  list-style: disc;
}

.faq-answer ol li {
  list-style: decimal;
}

/* ========================================
   Company Section
======================================== */
.company-section {
  background: var(--color-bg-secondary);
}

.company-philosophy {
  max-width: var(--container-narrow);
  margin: 0 auto var(--space-2xl);
  padding: var(--space-xl);
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  text-align: center;
}

.company-philosophy h3 {
  font-size: var(--font-size-xl);
  color: var(--color-primary-light);
  margin-bottom: var(--space-md);
}

.company-philosophy p {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.company-info {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: var(--space-xl);
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
}

.company-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.company-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border-light);
}

.company-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.company-row dt {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  font-weight: 500;
}

.company-row dd {
  font-size: var(--font-size-sm);
}

.company-row dd a {
  color: var(--color-primary-light);
}

.business-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.business-list li {
  position: relative;
  padding-left: var(--space-md);
}

.business-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

@media (max-width: 600px) {
  .company-row {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
}

/* ========================================
   Capabilities Section
======================================== */
.capabilities-section {
  background: var(--color-bg);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.capability-card {
  padding: var(--space-lg);
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  text-align: center;
}

.capability-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.capability-card h3 {
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.capability-card p {
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
}

/* Timeline */
.timeline {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: var(--space-xl);
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
}

.timeline h3 {
  font-size: var(--font-size-xl);
  text-align: center;
  margin-bottom: var(--space-sm);
}

.timeline-intro {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  text-align: center;
  margin-bottom: var(--space-xl);
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-md);
  padding-left: var(--space-md);
  border-left: 2px solid var(--color-primary);
}

.timeline-year {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-primary-light);
}

.timeline-item p {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

@media (max-width: 480px) {
  .timeline-item {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Media Section
======================================== */
.media-section {
  background: var(--color-bg-secondary);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  max-width: 700px;
  margin: 0 auto;
}

.media-item {
  padding: var(--space-lg);
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  text-align: center;
}

.media-source {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

/* ========================================
   Contact Section
======================================== */
.contact-section {
  background: linear-gradient(
    135deg,
    var(--color-primary-dark) 0%,
    #1e1b4b 50%,
    #0f172a 100%
  );
  padding: var(--space-4xl) 0;
}

.contact-intro {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.contact-intro p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.highlight-text {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: white !important;
  margin-top: var(--space-md);
}

.social-proof {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  color: white;
  margin: 0 auto var(--space-xl);
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background: var(--color-success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.contact-desc {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-2xl);
}

.contact-form-container {
  max-width: 500px;
  margin: 0 auto var(--space-2xl);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group label {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.9);
}

.required {
  color: var(--color-error);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  color: white;
  font-size: var(--font-size-base);
  font-family: inherit;
  transition:
    border-color var(--transition-fast),
    background var(--transition-fast);
  min-height: 48px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary-light);
  background: rgba(255, 255, 255, 0.15);
}

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

.phone-cta {
  text-align: center;
  padding: var(--space-xl);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  max-width: 400px;
  margin: 0 auto;
}

.phone-cta h3 {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-md);
}

.phone-link {
  display: block;
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: white !important;
  margin-bottom: var(--space-sm);
}

.phone-hours {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   Partners Section
======================================== */
.partners-section {
  background: var(--color-bg);
  padding: var(--space-3xl) 0;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-xl);
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.partner-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.partner-logo {
  width: 140px;
  height: 70px;
  object-fit: contain;
  margin-bottom: var(--space-md);
  /* 暗いロゴを白色に変換 */
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: opacity var(--transition-fast);
}

.partner-card:hover .partner-logo {
  opacity: 1;
}

/* 白背景のロゴ用（フィルター無効化） */
.partner-logo.no-invert {
  filter: none;
  background: white;
  padding: var(--space-sm);
  border-radius: var(--radius-md);
}

.partner-name {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text);
  text-align: center;
}

.partner-info {
  text-align: center;
  padding: var(--space-xl);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
}

.partner-info h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-lg);
  color: var(--color-text);
}

.legal-partners {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.legal-partner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 80px;
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.legal-partner:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
}

.legal-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* 白背景なのでフィルターなし */
  filter: none;
}

/* ========================================
   Footer
======================================== */
.footer {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand {
  grid-column: span 1;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.footer-tagline {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.footer-address {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.footer-address a {
  color: var(--color-primary-light);
}

.footer-nav-group h4 {
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.footer-nav-group ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-nav-group a {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

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

.footer-area {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.footer-area strong {
  color: var(--color-text);
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-social a {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.footer-legal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

.legal-link {
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.legal-link:hover {
  color: var(--color-text);
  text-decoration: underline;
}

.legal-divider {
  color: var(--color-border);
  font-size: var(--font-size-xs);
}

.copyright {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-brand {
    text-align: center;
  }

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

  .footer-nav-group {
    text-align: center;
  }

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

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

/* ========================================
   Touch Device Optimizations
======================================== */
@media (hover: none) and (pointer: coarse) {
  .service-card:hover,
  .work-card:hover {
    transform: none;
  }

  .btn:hover {
    transform: none;
  }
}

/* ========================================
   Reduced Motion
======================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ========================================
   Print Styles
======================================== */
@media print {
  .header,
  .mobile-menu-btn,
  .btn,
  .nav,
  .hero-bg {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .hero {
    min-height: auto;
    padding: var(--space-xl) 0;
  }
}

/* ========================================
   Comparison Table (AIO vs SEO)
======================================== */
.comparison-section {
  margin-top: var(--space-2xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--color-border);
}

.comparison-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-md);
}

.comparison-intro {
  text-align: center;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
  line-height: 1.8;
}

.comparison-intro strong {
  color: var(--color-accent);
}

.comparison-table-wrapper {
  overflow-x: auto;
  margin-bottom: var(--space-2xl);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-bg-card);
  font-size: var(--font-size-sm);
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.comparison-table th {
  background: rgba(99, 102, 241, 0.1);
  font-weight: 600;
  color: var(--color-text);
}

.comparison-table td {
  color: var(--color-text-secondary);
}

.comparison-table .highlight-col {
  background: rgba(34, 211, 238, 0.05);
  color: var(--color-accent);
  font-weight: 500;
}

.comparison-table th.highlight-col {
  background: rgba(34, 211, 238, 0.15);
  color: var(--color-accent);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

/* AIO Benefits Cards */
.aio-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.aio-benefit-card {
  padding: var(--space-xl);
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  position: relative;
}

.benefit-number {
  display: inline-block;
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-primary);
  opacity: 0.3;
  margin-bottom: var(--space-sm);
}

.aio-benefit-card h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.aio-benefit-card p {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* CTA Enhancements */
.cta-urgency {
  font-size: var(--font-size-base);
  color: var(--color-accent-warm);
  margin-bottom: var(--space-md);
  text-align: center;
}

.cta-note {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-md);
  text-align: center;
}

/* ========================================
   Company Section Expanded
======================================== */
.company-profile {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  padding: var(--space-xl);
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
}

.profile-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.profile-avatar {
  width: 120px;
  height: 120px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.profile-name {
  font-size: var(--font-size-lg);
  font-weight: 600;
  text-align: center;
}

.profile-title {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  text-align: center;
}

.profile-content h4 {
  font-size: var(--font-size-base);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--color-primary-light);
}

.profile-content p {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.qualifications-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.qualification-tag {
  padding: var(--space-xs) var(--space-md);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  color: var(--color-primary-light);
}

/* Mission Vision */
.mission-vision {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.mission-card {
  padding: var(--space-xl);
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  text-align: center;
}

.mission-card h4 {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.mission-card p {
  font-size: var(--font-size-base);
  color: var(--color-text);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .company-profile {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .profile-content {
    text-align: left;
  }
}

/* ========================================
   Sticky CTA (Mobile)
======================================== */
.sticky-cta-mobile {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: rgba(8, 12, 20, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--color-border);
  z-index: 999;
  padding-bottom: calc(var(--space-md) + env(safe-area-inset-bottom, 0px));
}

.sticky-cta-mobile a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: var(--gradient-primary);
  color: white;
  font-weight: 600;
  border-radius: var(--radius-lg);
  text-decoration: none;
  min-height: 52px;
}

.sticky-cta-mobile .cta-badge {
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-accent-warm);
  color: #000;
  font-size: var(--font-size-xs);
  font-weight: 700;
  border-radius: var(--radius-full);
}

@media (max-width: 768px) {
  .sticky-cta-mobile {
    display: block;
  }

  /* フッター下部のスペースを確保 */
  .footer {
    padding-bottom: calc(var(--space-xl) + 80px);
  }
}

/* ========================================
   Mobile Form Optimizations
======================================== */
@media (max-width: 768px) {
  .form-group input,
  .form-group textarea {
    font-size: 16px; /* Prevent iOS zoom on focus */
    padding: var(--space-lg);
  }

  .contact-form-container {
    padding: 0 var(--space-sm);
  }
}

/* ========================================
   Online Status & Form Security
======================================== */
.online-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
}

.status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-text-muted);
  animation: pulse 2s infinite;
}

.status-indicator.online {
  background: var(--color-success);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
}

.status-text {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: white;
}

.last-response {
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.7);
}

/* Honeypot - Hidden from users */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* Character count */
.char-count {
  display: block;
  text-align: right;
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.5);
  margin-top: var(--space-xs);
}

/* Checkbox form group */
.form-checkbox {
  flex-direction: row !important;
  align-items: center;
}

.form-checkbox label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--color-primary);
}

.form-checkbox a {
  color: var(--color-primary-light);
  text-decoration: underline;
}

/* Security note */
.form-security-note {
  text-align: center;
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.6);
  margin-top: var(--space-md);
}

/* ========================================
   AI Chatbot
======================================== */
.ai-chatbot {
  position: fixed;
  bottom: 100px;
  right: 20px;
  z-index: 998;
}

@media (max-width: 768px) {
  .ai-chatbot {
    bottom: 90px;
    right: 16px;
  }
}

.chatbot-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transition: all var(--transition-base);
  position: relative;
}

.chatbot-toggle:hover {
  transform: scale(1.1);
}

.chatbot-icon {
  font-size: 1.8rem;
}

.chatbot-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  padding: 2px 6px;
  background: var(--color-success);
  color: white;
  font-size: 10px;
  font-weight: 700;
  border-radius: var(--radius-full);
}

.chatbot-window {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 350px;
  max-width: calc(100vw - 40px);
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  display: none;
  flex-direction: column;
}

.chatbot-window.is-open {
  display: flex;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chatbot-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--color-bg-secondary);
  border-bottom: 1px solid var(--color-border);
}

.chatbot-title {
  flex: 1;
  font-size: var(--font-size-sm);
  font-weight: 600;
}

.chatbot-status {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--font-size-xs);
  color: var(--color-success);
}

.chatbot-status .status-dot {
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: 50%;
}

.chatbot-close {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  border-radius: 50%;
  transition: background var(--transition-fast);
}

.chatbot-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-text);
}

.chatbot-messages {
  flex: 1;
  max-height: 250px;
  overflow-y: auto;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.chat-message {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-sm);
  line-height: 1.6;
  max-width: 90%;
}

.chat-message p {
  margin-bottom: var(--space-xs);
}

.chat-message p:last-child {
  margin-bottom: 0;
}

.chat-message.bot {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  align-self: flex-start;
}

.chat-message.user {
  background: var(--color-primary);
  color: white;
  align-self: flex-end;
}

.chatbot-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  border-top: 1px solid var(--color-border);
}

.quick-btn {
  padding: var(--space-xs) var(--space-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.quick-btn:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--color-primary);
  color: var(--color-primary-light);
}

.chatbot-input {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.chatbot-input input {
  flex: 1;
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text);
  font-size: var(--font-size-sm);
}

.chatbot-input input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.chatbot-input button {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.chatbot-input button:hover {
  transform: scale(1.1);
}

.chatbot-disclaimer {
  padding: var(--space-sm) var(--space-md);
  background: rgba(0, 0, 0, 0.2);
  font-size: 10px;
  color: var(--color-text-muted);
  text-align: center;
}

/* ========================================
   Other Services Section
======================================== */
.other-services-section {
  padding: var(--space-3xl) 0;
  background: var(--color-bg-secondary);
}

.other-services-section .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.service-link-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-xl);
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  text-decoration: none;
  color: var(--color-text);
  transition: all var(--transition-base);
}

.service-link-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.service-link-card.featured {
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.1),
    rgba(34, 211, 238, 0.05)
  );
  border-color: rgba(99, 102, 241, 0.3);
}

.service-link-icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

.service-link-card h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.service-link-card p {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
  flex: 1;
  margin-bottom: var(--space-md);
}

.link-arrow {
  font-size: var(--font-size-sm);
  color: var(--color-primary-light);
  font-weight: 500;
}

.service-link-card:hover .link-arrow {
  color: var(--color-accent);
}

/* Social Links Row */
.social-links-row {
  text-align: center;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.social-links-row h3 {
  font-size: var(--font-size-base);
  font-weight: 600;
  margin-bottom: var(--space-lg);
  color: var(--color-text-secondary);
}

.social-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.social-icon-link {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  text-decoration: none;
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  transition: all var(--transition-fast);
}

.social-icon-link:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--color-primary);
  color: var(--color-primary-light);
}

.social-icon-link span {
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .other-services-section .services-grid {
    grid-template-columns: 1fr;
  }

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

/* ========================================
   Social Proof Notification (行動経済学)
======================================== */
.social-proof-notification {
  position: fixed;
  bottom: 100px;
  left: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transform: translateX(-120%);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-proof-notification.show {
  transform: translateX(0);
}

.notification-icon {
  font-size: 1.5rem;
}

.notification-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.notification-user {
  font-weight: 600;
  color: var(--color-text);
}

.notification-action {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

.notification-time {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.notification-close {
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  padding: var(--space-xs);
  transition: color var(--transition-fast);
}

.notification-close:hover {
  color: var(--color-text);
}

/* ========================================
   Urgency Banner (希少性・損失回避)
======================================== */
.urgency-banner {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  z-index: 990;
  background: linear-gradient(
    90deg,
    var(--color-primary) 0%,
    var(--color-accent) 100%
  );
  color: white;
  padding: var(--space-sm) var(--space-md);
  text-align: center;
  animation: urgencyPulse 2s ease-in-out infinite;
}

.urgency-banner.show {
  display: block;
}

@keyframes urgencyPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.9;
  }
}

.urgency-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.urgency-icon {
  font-size: 1.2rem;
}

.urgency-text {
  font-size: var(--font-size-sm);
}

.urgency-text strong {
  font-size: var(--font-size-lg);
  font-weight: 700;
}

.urgency-divider {
  opacity: 0.5;
}

.urgency-timer {
  font-size: var(--font-size-sm);
}

#countdown-timer {
  font-family: "Inter", monospace;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.2);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-md);
}

/* ========================================
   Cookie Notice
======================================== */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.cookie-notice.show {
  display: flex;
}

.cookie-notice p {
  margin: 0;
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.cookie-accept {
  padding: var(--space-sm) var(--space-lg);
  background: var(--gradient-primary);
  border: none;
  border-radius: var(--radius-md);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.cookie-accept:hover {
  transform: scale(1.02);
}

.cookie-settings {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  text-decoration: underline;
}

/* ========================================
   Performance Optimization
======================================== */
.works-section,
.faq-section,
.contact-section,
.partners-section {
  content-visibility: auto;
  contain-intrinsic-size: 0 800px;
}

/* ========================================
   Mobile Responsiveness Enhancements
======================================== */
@media (max-width: 768px) {
  .social-proof-notification {
    left: var(--space-sm);
    right: var(--space-sm);
    bottom: 80px;
  }

  .urgency-banner {
    padding: var(--space-xs) var(--space-sm);
  }

  .urgency-content {
    gap: var(--space-sm);
  }

  .urgency-divider {
    display: none;
  }

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

  .partner-card {
    padding: var(--space-lg);
  }

  .legal-partners {
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
  }

  .legal-partner {
    width: 100%;
    max-width: 280px;
  }
}

/* ========================================
   Service Section Images (User Request)
======================================== */
.service-image-container {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  background-color: var(--color-bg-secondary);
  position: relative;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.4s ease,
    filter 0.4s ease;
  /* Darken slightly to match site aesthetic */
  filter: brightness(0.85);
}

.service-card:hover .service-image {
  transform: scale(1.05);
  filter: brightness(1.05);
}

/* Hide old icon if present, or style it as overlay if needed */
.service-icon.hidden {
  display: none !important;
}

/* Ensure whole card is clickable and has pointer cursor */
.service-card {
  cursor: pointer;
  display: flex !important;
  flex-direction: column;
  height: 100%; /* Ensure equal height */
}

/* Link overlay */
.service-card a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Badge positioning over image */
.service-card .service-badge {
  z-index: 10;
}

/* ========================================
   Interview Section Images (User Request)
======================================== */
.interview-card {
  display: block;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-xl);
  transition: transform 0.4s ease;
  background: black; /* Fallback */
}

.interview-card:hover {
  transform: translateY(-5px);
}

.interview-image-container {
  width: 100%;
  height: 400px;
  position: relative;
}

.interview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.4s ease,
    filter 0.4s ease;
  /* Dark overlay for text readability */
  filter: brightness(0.4);
}

.interview-card:hover .interview-image {
  transform: scale(1.05);
  filter: brightness(0.5);
}

.interview-text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  text-align: center;
  z-index: 2;
  /* Allow clicks to pass through if needed, but text selection might be hard */
}

/* Override existing styles within the card */
.interview-text-overlay .section-title {
  margin-bottom: var(--space-md);
  color: white !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.interview-text-overlay .section-desc {
  color: rgba(255, 255, 255, 0.95) !important;
  margin-bottom: var(--space-md);
  font-size: var(--font-size-lg);
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.interview-text-overlay .interview-note {
  color: var(--color-primary-light) !important;
  font-weight: 700;
  margin-bottom: var(--space-xl);
  font-size: var(--font-size-base) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.interview-cta {
  margin-top: var(--space-md);
}

@media (max-width: 768px) {
  .interview-image-container {
    height: auto;
    display: flex;
    flex-direction: column;
    background: #050505;
  }

  .interview-image {
    position: relative;
    width: 100%;
    height: auto; /* Maintain aspect ratio to show full image */
    object-fit: contain;
    filter: brightness(0.9);
    flex-shrink: 0;
  }

  .interview-card:hover .interview-image {
    transform: none;
    filter: brightness(1);
  }

  .interview-text-overlay {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    padding: var(--space-lg) var(--space-md);
    background: linear-gradient(180deg, #050505 0%, #1a1a1a 100%);
  }

  .interview-text-overlay .section-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
  }

  .interview-text-overlay .interview-note {
    margin-bottom: var(--space-md);
  }
}
