:root {
  --color-primary: #1e3a5f; /* Modern Navy */
  --color-secondary: #0f1c2e; /* Dark Navy for hover/depth */
  --color-accent: #2563eb; /* Blue for buttons */
  --color-background: #f8fafc; /* Light grey/white */
  --color-text-main: #1e293b;
  --color-text-muted: #64748b;
  --color-white: #ffffff;
  
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  scroll-behavior: smooth;
  background-color: var(--color-background);
  color: var(--color-text-main);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

/* Glassmorphism Utilities */
.glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-glass);
}

.glass-dark {
  background: rgba(30, 58, 95, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-glass);
  color: var(--color-white);
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.3;
}

h2 {
  font-size: 2.2rem;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--color-accent);
  margin: 1rem auto 0;
  border-radius: 2px;
}

p {
  font-size: 1rem;
  color: var(--color-text-muted);
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 5rem 0;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-normal);
  padding: 1rem 0;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 0.5rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  height: 48px;
  object-fit: contain;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-fast);
  cursor: pointer;
  border: none;
  gap: 8px;
  font-size: 1rem;
  overflow: hidden;
  position: relative;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  transition: transform 0.4s ease-out;
}

.btn:hover::after {
  transform: translate(-50%, -50%) scale(1);
}

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

.btn-primary:hover {
  background: var(--color-secondary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-accent {
  background: #06C755; /* LINE Green */
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-accent:hover {
  background: #05A546;
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

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

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

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.1) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(30,58,95,0.08) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  color: var(--color-text-main);
  font-weight: 500;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-accent);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Image/Card area */
.hero-visual {
  position: relative;
}

.hero-card {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  position: relative;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.hero-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.hero-card p {
  color: var(--color-text-main);
}

.hero-card ul {
  list-style-type: none;
  margin-top: 1.5rem;
}

.hero-card li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.hero-card li svg {
  color: var(--color-accent);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Benefits (お悩み解決) */
.benefits {
  background: var(--color-white);
  position: relative;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-card {
  background: var(--color-background);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition-normal);
  border: 1px solid rgba(0,0,0,0.03);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  background: var(--color-white);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  background: rgba(30, 58, 95, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--color-primary);
  font-size: 2rem;
}

.benefit-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.benefit-card p {
  font-size: 0.95rem;
}

/* Problem-Solution arrow */
.problem-arrow {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
  color: var(--color-accent);
}

.solution-text {
  font-weight: 700;
  color: var(--color-accent);
  margin-top: 1rem;
}

/* Features Section */
.features {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-white);
  position: relative;
}

.features h2 {
  color: var(--color-white);
}

.features h2::after {
  background: var(--color-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.feature-box {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-box:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.feature-box:hover::before {
  transform: scaleX(1);
}

.feature-number {
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255,255,255,0.1);
  position: absolute;
  top: 20px;
  right: 20px;
  line-height: 1;
}

.feature-box h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.feature-box p {
  color: rgba(255,255,255,0.8);
  position: relative;
  z-index: 1;
}

/* Flow Section */
.flow {
  background: var(--color-background);
}

.flow-steps {
  max-width: 800px;
  margin: 3rem auto 0;
  position: relative;
}

.flow-steps::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px;
  width: 2px;
  background: rgba(30, 58, 95, 0.1);
}

.step {
  display: flex;
  margin-bottom: 3rem;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

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

.step:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--color-white);
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.step-content {
  margin-left: 2rem;
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  flex-grow: 1;
  transition: var(--transition-normal);
}

.step-content:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
}

.step-content h3 {
  font-size: clamp(1rem, 4.5vw, 1.3rem);
  letter-spacing: -0.05em;
  color: var(--color-primary);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-content p {
  font-size: clamp(0.75rem, 3.2vw, 1rem);
  letter-spacing: -0.05em;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 6rem 0;
  background: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(30,58,95,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>') var(--color-white);
}

.cta-box {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
}

.cta-box h2 {
  margin-bottom: 1.5rem;
}

.cta-box p {
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Footer */
footer {
  background: var(--color-secondary);
  color: rgba(255,255,255,0.6);
  padding: 4rem 0 2rem;
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--color-white);
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}

.footer-col p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.5rem;
}

.seo-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1rem;
}

.seo-keyword {
  font-size: 0.8rem;
  padding: 4px 10px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-full);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

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

.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    order: 1;
  }
  
  .hero-visual {
    order: 2;
    margin-top: 2rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hidden-mobile {
    display: none !important;
  }
}

@media (max-width: 600px) {
  section {
    padding: 3.5rem 0;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .flow-steps::before {
    left: 25px;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .step-content {
    margin-left: 1.2rem;
    padding: 1.5rem;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
}
