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

:root {
  --bg-primary: #fdfdfd;
  --bg-secondary: #f4f4f5;
  --text-primary: #18181b;
  --text-secondary: #52525b;
  --border-color: #e4e4e7;
  --accent: #18181b;
  
  --section-padding: 100px 0;
  --container-width: 1100px;
  --container-padding: 0 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--container-width); margin: 0 auto; padding: var(--container-padding); }
.section-title { font-size: 2.5rem; font-weight: 900; margin-bottom: 16px; letter-spacing: -0.02em; }
.section-subtitle { font-size: 1.125rem; color: var(--text-secondary); max-width: 600px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Nav */
.nav { position: fixed; top: 0; width: 100%; z-index: 1000; padding: 24px 0; transition: background 0.3s, border 0.3s, padding 0.3s; }
.nav.scrolled { background: rgba(253, 253, 253, 0.9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border-color); padding: 16px 0; }
.nav-inner { display: flex; justify-content: space-between; align-items: center; max-width: var(--container-width); margin: 0 auto; padding: var(--container-padding); }
.nav-logo { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.05em; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }

/* Hero */
.hero { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; padding-top: 80px; }
.hero-subtitle { font-size: 2rem; font-weight: 900; line-height: 1.5; color: var(--text-primary); margin-bottom: 48px; letter-spacing: -0.02em; }
.hero-cta-group { display: flex; gap: 16px; justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 32px; font-weight: 700; border-radius: 4px; transition: 0.2s; font-size: 1rem; }
.btn-primary { background: var(--text-primary); color: #fff; }
.btn-primary:hover { background: #3f3f46; transform: translateY(-2px); }
.btn-secondary { background: #fff; border: 1px solid var(--border-color); color: var(--text-primary); }
.btn-secondary:hover { background: var(--bg-secondary); transform: translateY(-2px); }

.hero-scroll-hint { display: none; } /* Removed scroll hint for cleaner look */

/* Section Dividers */
.section-divider { height: 1px; background: var(--border-color); width: 100%; }

/* About */
.about { padding: var(--section-padding); background: var(--bg-secondary); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-text .section-subtitle { margin-top: 16px; }
.about-stats { display: flex; gap: 40px; margin-top: 40px; border-top: 1px solid #d4d4d8; padding-top: 40px; }
.stat-number { font-size: 2.5rem; font-weight: 900; line-height: 1; margin-bottom: 8px; letter-spacing: -0.02em; }
.stat-label { font-size: 0.875rem; color: var(--text-secondary); font-weight: 700; }
.about-visual-card { aspect-ratio: 1; background: #fff; border: 1px solid var(--border-color); display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 8px; }
.about-visual-logo { font-size: 4rem; font-weight: 900; letter-spacing: -0.05em; }
.about-visual-tagline { font-size: 1rem; color: var(--text-secondary); margin-top: 16px; font-weight: 500; }

/* Services */
.services { padding: var(--section-padding); }
.services-header { text-align: center; margin-bottom: 64px; display: flex; flex-direction: column; align-items: center; }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.service-card { background: #fff; border: 1px solid var(--border-color); display: flex; flex-direction: column; border-radius: 8px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.05); }
.service-card-image { border-bottom: 1px solid var(--border-color); position: relative; overflow: hidden; }
.service-card-image img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform 0.5s; }
.service-card:hover .service-card-image img { transform: scale(1.05); }
.service-tag { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,0.9); backdrop-filter: blur(4px); border: 1px solid var(--border-color); padding: 4px 12px; font-size: 0.75rem; font-weight: 700; border-radius: 4px; }
.service-card-body { padding: 32px; flex: 1; display: flex; flex-direction: column; }
.service-card-title { font-size: 1.25rem; font-weight: 900; margin-bottom: 12px; }
.service-card-desc { font-size: 0.95rem; color: var(--text-secondary); margin-bottom: 24px; flex: 1; }
.service-card-features { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.feature-chip { background: var(--bg-secondary); padding: 4px 12px; font-size: 0.75rem; font-weight: 700; border-radius: 4px; color: var(--text-secondary); border: 1px solid var(--border-color); }
.service-card-link { font-weight: 700; font-size: 0.875rem; display: inline-flex; align-items: center; gap: 8px; transition: gap 0.2s; color: var(--text-primary); }
.service-card-link:hover { gap: 12px; }

/* Contact */
.contact { padding: var(--section-padding); background: var(--bg-secondary); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-method { display: inline-flex; align-items: center; gap: 16px; padding: 24px; background: #fff; border: 1px solid var(--border-color); margin-top: 32px; width: 100%; transition: transform 0.2s, box-shadow 0.2s; border-radius: 8px; }
.contact-method:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.05); }
.contact-method-icon { font-size: 1.5rem; }
.contact-method-label { font-size: 0.75rem; color: var(--text-secondary); font-weight: 700; margin-bottom: 4px; }
.contact-method-value { font-weight: 700; font-size: 1.125rem; }

.contact-form-card { background: #fff; border: 1px solid var(--border-color); padding: 40px; border-radius: 8px; }
.contact-form-card h3 { font-size: 1.25rem; font-weight: 900; margin-bottom: 24px; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 700; margin-bottom: 8px; }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid var(--border-color); font-family: inherit; font-size: 1rem; border-radius: 4px; outline: none; transition: border-color 0.2s; background: var(--bg-primary); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--text-primary); }
.form-group textarea { resize: vertical; min-height: 150px; }
.btn-submit { width: 100%; background: var(--text-primary); color: #fff; border: none; padding: 16px; font-weight: 700; cursor: pointer; border-radius: 4px; font-size: 1rem; transition: background 0.2s, transform 0.2s; }
.btn-submit:hover { background: #3f3f46; transform: translateY(-2px); }

/* Footer */
.footer { padding: 40px 0; border-top: 1px solid var(--border-color); background: #fff; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; max-width: var(--container-width); margin: 0 auto; padding: var(--container-padding); }
.footer-logo { font-size: 1.25rem; font-weight: 900; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.875rem; color: var(--text-secondary); font-weight: 500; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-primary); }
.footer-copyright { font-size: 0.75rem; color: var(--text-secondary); }

/* Responsive */
@media (max-width: 1024px) {
  .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { order: -1; }
  .about-visual-card { max-width: 400px; margin: 0 auto; }
  .services-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
}
@media (max-width: 768px) {
  :root { --section-padding: 64px 0; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: #fff; border-bottom: 1px solid var(--border-color); flex-direction: column; padding: 24px; gap: 24px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; width: 24px; height: 16px; position: relative; }
  .nav-toggle span { position: absolute; width: 100%; height: 2px; background: var(--text-primary); left: 0; transition: 0.2s; }
  .nav-toggle span:nth-child(1) { top: 0; }
  .nav-toggle span:nth-child(2) { top: 7px; }
  .nav-toggle span:nth-child(3) { top: 14px; }
  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg); top: 7px; }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg); top: 7px; }
  .hero-subtitle { font-size: 1.5rem; margin-bottom: 32px; }
  .hero-cta-group { flex-direction: column; }
  .section-title { font-size: 2rem; }
  .about-stats { flex-direction: column; gap: 24px; align-items: flex-start; }
  .contact-form-card { padding: 24px; }
  .footer-inner { flex-direction: column; gap: 24px; text-align: center; }
}
