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

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  --accent: #2563eb;
  --accent-light: #3b82f6;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  color: var(--gray-900);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

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

/* ============================================
   Header
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

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

.logo {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  transition: color 0.3s;
}

.header.scrolled .logo {
  color: var(--black);
}

.logo small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.15em;
  opacity: 0.6;
  margin-top: 2px;
}

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

.nav a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.3s;
}

.header.scrolled .nav a {
  color: var(--gray-500);
}

.nav a:hover {
  color: var(--white);
}

.header.scrolled .nav a:hover {
  color: var(--black);
}

.nav-cta {
  background: var(--white) !important;
  color: var(--black) !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: all 0.3s !important;
}

.header.scrolled .nav-cta {
  background: var(--black) !important;
  color: var(--white) !important;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  margin: 6px 0;
  transition: all 0.3s;
}

.header.scrolled .hamburger span {
  background: var(--black);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  min-height: 100vh;
  background: var(--black);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--accent-light);
  text-transform: uppercase;
  margin-bottom: 24px;
  padding: 6px 16px;
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 100px;
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent-light), #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 17px;
  color: var(--gray-400);
  line-height: 1.9;
  margin-bottom: 40px;
  max-width: 560px;
  font-weight: 300;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  padding: 14px 32px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  letter-spacing: 0.02em;
}

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

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-400);
  border: 1px solid var(--gray-700);
}

.btn-ghost:hover {
  border-color: var(--gray-400);
  color: var(--white);
}

/* ============================================
   Message (why us)
   ============================================ */
.message {
  padding: 120px 0;
  background: var(--white);
}

.message-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.message-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 20px;
}

.message h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.message p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 2;
}

/* ============================================
   Services
   ============================================ */
.services {
  padding: 100px 0;
  background: var(--gray-50);
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 12px;
  text-align: center;
}

.section-title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-sub {
  font-size: 15px;
  color: var(--gray-500);
  text-align: center;
  margin-bottom: 56px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 28px;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
}

.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.8;
}

/* ============================================
   Pricing
   ============================================ */
.pricing {
  padding: 100px 0;
  background: var(--white);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 40px 32px;
  position: relative;
  transition: all 0.3s;
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 8px 40px rgba(37, 99, 235, 0.1);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

.pricing-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.pricing-amount {
  font-size: 42px;
  font-weight: 900;
  color: var(--black);
  margin-bottom: 4px;
  letter-spacing: -0.03em;
}

.pricing-amount small {
  font-size: 16px;
  font-weight: 400;
  color: var(--gray-500);
}

.pricing-note {
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
}

.pricing-features li {
  font-size: 14px;
  color: var(--gray-600);
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  padding-left: 24px;
  position: relative;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain;
}

/* ============================================
   Process
   ============================================ */
.process {
  padding: 100px 0;
  background: var(--gray-900);
  color: var(--white);
}

.process .section-title {
  color: var(--white);
}

.process .section-sub {
  color: var(--gray-400);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-step {
  text-align: center;
  padding: 32px 16px;
  position: relative;
}

.process-number {
  font-size: 48px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.06);
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
}

.process-step h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 13px;
  color: var(--gray-400);
  line-height: 1.8;
}

/* ============================================
   Works (demo showcase)
   ============================================ */
.works {
  padding: 100px 0;
  background: var(--white);
}

.works-showcase {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.works-browser-bar {
  background: var(--gray-100);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.works-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-300);
}

.works-url {
  flex: 1;
  background: var(--white);
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 12px;
  color: var(--gray-500);
  margin-left: 8px;
}

.works-preview {
  position: relative;
  aspect-ratio: 1280 / 800;
  background: var(--gray-50);
  overflow: hidden;
}

.works-preview iframe {
  width: 1280px;
  height: 800px;
  border: 0;
  transform-origin: top left;
  pointer-events: none;
  display: block;
}

.works-preview-link {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 16px;
  text-decoration: none;
}

.works-preview-link span {
  background: rgba(10, 10, 10, 0.78);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 999px;
  transition: background 0.2s;
}

.works-preview-link:hover span {
  background: var(--accent);
}

.works-caption {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--gray-500);
}

.works-actions {
  text-align: center;
  margin-top: 20px;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  padding: 100px 0;
  background: var(--gray-50);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 24px 0;
}

.faq-q {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-q::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--gray-400);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.open .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.9;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-a {
  max-height: 200px;
  padding-top: 16px;
}

/* ============================================
   CTA
   ============================================ */
.cta {
  padding: 100px 0;
  background: var(--black);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.cta p {
  font-size: 15px;
  color: var(--gray-400);
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.cta-mail {
  font-size: 14px;
  color: var(--gray-400);
}

.cta-mail a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid var(--gray-600);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--gray-800);
  background: var(--black);
}

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

.footer-info {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.8;
}

.footer-copy {
  font-size: 11px;
  color: var(--gray-600);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.96);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    text-align: center;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    font-size: 18px;
    color: var(--white) !important;
  }

  .hamburger {
    display: block;
    z-index: 101;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

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

  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    flex-direction: column;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ============================================
   Animations
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
