@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f8f8;
  --bg-card: #ffffff;
  --accent-primary: #D9FF50;
  --accent-secondary: #C9EF40;
  --accent-blue: #3b82f6;
  --accent-green: #10b981;
  --accent-red: #ef4444;
  --text-primary: #000000;
  --text-secondary: #4a4a4a;
  --text-muted: #8a8a8a;
  --border: #e0e0e0;
  --shadow-soft: 0 0.25rem 1.75rem rgba(0, 0, 0, 0.05);
  --shadow-card: 0 2px 20px rgba(0, 0, 0, 0.03);
  --gradient-primary: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  --gradient-subtle: linear-gradient(180deg, rgba(217, 255, 80, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
}

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

html {
  overflow-x: hidden;
}

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

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background: linear-gradient(180deg, rgba(217, 255, 80, 0.05) 0%, rgba(255, 255, 255, 0) 50%);
  pointer-events: none;
  z-index: -1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s ease;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  width: 32px;
  height: 32px;
}

.nav-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
  padding: 140px 0 80px;
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(217, 255, 80, 0.2) 0%, transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(217, 255, 80, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 40% 80%, rgba(201, 239, 64, 0.15) 0%, transparent 40%);
  filter: blur(40px);
  pointer-events: none;
  animation: floatBackground 20s ease-in-out infinite;
}

@keyframes floatBackground {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-20px, -20px) rotate(1deg); }
  66% { transform: translate(20px, -10px) rotate(-1deg); }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--accent-primary);
  color: #000000;
  box-shadow: var(--shadow-soft);
  font-weight: 700;
}

.btn-primary:hover {
  background: var(--accent-secondary);
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 2rem rgba(217, 255, 80, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.hero-image-desktop {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-mobile {
  display: none;
}

.hero-visual {
  width: 450px;
  height: 450px;
  max-width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  animation: float 6s ease-in-out infinite;
}

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

.hero-visual svg {
  transform: scale(0.8);
}

/* Sections */
section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  position: relative;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.service-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0.75rem 3rem rgba(30, 34, 40, 0.12);
}

.service-card.featured {
  background: linear-gradient(135deg, rgba(217, 255, 80, 0.08) 0%, var(--bg-card) 100%);
}

.service-card:not(.featured) {
  border-color: var(--accent-primary);
}

.service-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(217, 255, 80, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--accent-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: #000000;
}

.service-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.service-badge:not(.coming-soon) {
  background: var(--accent-primary);
  color: #000000;
  font-weight: 700;
}

.service-badge.coming-soon {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-green) 100%);
  color: white;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.service-image {
  width: 100%;
  aspect-ratio: 1200 / 630;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(217, 255, 80, 0.1) 0%, rgba(201, 239, 64, 0.05) 100%);
  border: 1px solid var(--border);
}

.service-placeholder {
  width: 100%;
  aspect-ratio: 1200 / 630;
  border-radius: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 24px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #000000;
  background: var(--accent-primary);
  text-decoration: none;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
}

.service-link:hover {
  background: var(--accent-secondary);
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 2rem rgba(217, 255, 80, 0.4);
}

.service-link.disabled {
  background: var(--bg-secondary);
  color: var(--text-muted);
  cursor: not-allowed;
}

.service-link.disabled:hover {
  transform: none;
  box-shadow: var(--shadow-soft);
}

/* Features Section */
.features-section {
  background: var(--bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.feature-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.5rem 2.5rem rgba(30, 34, 40, 0.1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--accent-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: #000000;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.lab-link {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.lab-link:hover {
  color: var(--accent-secondary);
  text-decoration: underline;
}

/* Initiatives Section */
.initiatives-section {
  background: var(--bg-primary);
}

.initiatives-content {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.ogp-card {
  max-width: 600px;
  width: 100%;
}

.ogp-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.ogp-link {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  display: block;
}

.ogp-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 2rem rgba(30, 34, 40, 0.12);
  border-color: var(--accent-primary);
}

.ogp-image {
  width: 100%;
  aspect-ratio: 1200 / 630;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(217, 255, 80, 0.1) 0%, rgba(201, 239, 64, 0.05) 100%);
}

.ogp-content {
  padding: 20px;
}

.ogp-domain {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.ogp-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.ogp-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 60px;
}

.about-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(217, 255, 80, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.5rem 2.5rem rgba(30, 34, 40, 0.1);
}

.about-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.company-info {
  display: grid;
  gap: 20px;
}

.info-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  align-items: start;
}

.info-item strong {
  color: var(--accent-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.info-item span {
  color: var(--text-secondary);
  line-height: 1.6;
}

.message-content {
  position: relative;
}

.message-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.ceo-profile {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.ceo-photo {
  flex-shrink: 0;
}

.ceo-info {
  flex: 1;
}

.ceo-name {
  margin-bottom: 20px;
}

.ceo-name h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  text-align: left;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.ceo-signature {
  text-align: right;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.ceo-signature strong {
  color: var(--accent-primary);
  font-weight: 600;
}

/* Contact Section */
.contact-section {
  background: var(--bg-secondary);
  text-align: center;
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
}

.contact-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.contact-content > p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.contact-info {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  margin-bottom: 40px;
}

.contact-item {
  margin-bottom: 24px;
}

.contact-item strong {
  color: var(--accent-primary);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.contact-item p {
  color: var(--text-secondary);
  margin: 0;
}

.sns-links {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.sns-links a {
  width: 56px;
  height: 56px;
  background: var(--accent-primary);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
}

.sns-links a:hover {
  background: var(--accent-secondary);
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 0.5rem 2rem rgba(217, 255, 80, 0.5);
}

/* Footer */
footer {
  background: #000000;
  color: white;
  padding: 60px 0 40px;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand .nav-logo {
  width: 40px;
  height: 40px;
}

.footer-brand .nav-name {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-info {
  text-align: right;
}

.footer-info p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  margin-bottom: 8px;
}

.footer-info p:last-child {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  
  .nav-links {
    display: none;
  }
  
  .hero {
    padding: 120px 0 60px;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-visual {
    width: 380px;
    height: 380px;
  }
  
  .hero-image-desktop {
    display: none;
  }
  
  .hero-image-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 24px 0;
  }
  
  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .ogp-card {
    max-width: 100%;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .ceo-profile {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .info-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
  
  .footer-info {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-visual {
    width: 300px;
    height: 300px;
  }
  
  .service-card, .feature-card, .about-card {
    padding: 24px;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}