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

:root {
  --bg-deep:      #0a0c10;
  --bg-card:      #111318;
  --bg-card2:     #161a22;
  --accent-blue:  #00aaff;
  --accent-gold:  #f5a623;
  --accent-teal:  #00d4b4;
  --text-primary: #f0f2f5;
  --text-muted:   #8a92a0;
  --border:       rgba(255, 255, 255, 0.07);
  --font-en:      'Inter', sans-serif;
  --font-jp:      'Noto Sans JP', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html  { scroll-behavior: smooth; }
body  {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-jp);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 64px;
  background: rgba(10, 12, 16, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-en); font-weight: 700; font-size: 17px;
  color: var(--text-primary); text-decoration: none; letter-spacing: 0.02em;
}
.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: var(--text-muted); text-decoration: none;
  font-size: 13px; font-weight: 400;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text-primary); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 48px 80px;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(135deg, rgba(0,170,255,0.06) 0%, transparent 60%),
    linear-gradient(rgba(0,170,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,170,255,0.03) 1px, transparent 1px);
  background-size: auto, 60px 60px, 60px 60px;
}
.hero-img-placeholder {
  position: absolute; top: 0; right: 0;
  width: 55%; height: 100%;
  background:
    linear-gradient(to left, transparent 0%, var(--bg-deep) 100%),
    linear-gradient(135deg, #0d1b2a 0%, #0a1628 40%, #061020 100%);
  z-index: 0;
}
.hero-img-placeholder::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,170,255,0.03) 3px,
    rgba(0,170,255,0.03) 4px
  );
}
.hero-glow {
  position: absolute; top: 15%; right: 20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,170,255,0.10) 0%, transparent 70%);
  pointer-events: none; z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 620px; }
.hero-eyebrow {
  font-family: var(--font-en); font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent-blue);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: ''; display: block;
  width: 32px; height: 1px; background: var(--accent-blue);
}
.hero h1 {
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 700; line-height: 1.2;
  margin-bottom: 24px; letter-spacing: -0.01em;
}
.hero h1 em { color: var(--accent-blue); font-style: normal; }
.hero-sub {
  font-size: 15px; color: var(--text-muted);
  margin-bottom: 44px; font-weight: 300; line-height: 2;
}
.hero-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.tag {
  padding: 5px 14px;
  border: 1px solid var(--border);
  font-family: var(--font-en); font-size: 11px; font-weight: 500;
  color: var(--text-muted); letter-spacing: 0.06em;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px;
  background: var(--accent-blue);
  color: #000; font-weight: 700; font-size: 13px;
  text-decoration: none; letter-spacing: 0.06em;
  transition: opacity .2s;
}
.btn-primary:hover { opacity: 0.82; }

/* ── SECTION COMMON ── */
section { padding: 96px 48px; }
.inner   { max-width: 1100px; margin: 0 auto; }
.s-label {
  font-family: var(--font-en); font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent-gold); margin-bottom: 12px;
}
.s-title {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700; margin-bottom: 48px; letter-spacing: -0.01em;
}

/* ── ABOUT ── */
.about { background: var(--bg-card); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.about-desc {
  font-size: 15px; color: var(--text-muted);
  line-height: 2; margin-bottom: 36px;
}
.pillars {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.pillar {
  padding: 20px;
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent-blue);
  background: var(--bg-deep);
}
.pillar-code {
  font-family: var(--font-en); font-size: 19px; font-weight: 700;
  color: var(--accent-teal); margin-bottom: 4px;
}
.pillar-name { font-size: 12px; color: var(--text-muted); }

/* info table */
.info-table { width: 100%; border-collapse: collapse; }
.info-table tr   { border-bottom: 1px solid var(--border); }
.info-table td   { padding: 15px 0; font-size: 13px; vertical-align: top; }
.info-table td:first-child {
  color: var(--text-muted); width: 80px;
  font-family: var(--font-en); font-size: 11px; letter-spacing: 0.06em;
  padding-top: 17px;
}

/* ── SERVICES ── */
.services { background: var(--bg-deep); }
.steps {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px;
  margin-bottom: 32px;
}
.step {
  background: var(--bg-card); padding: 28px 20px;
  border-top: 2px solid transparent;
  transition: border-color .2s, background .2s;
}
.step:hover { border-top-color: var(--accent-blue); background: var(--bg-card2); }
.step-num {
  font-family: var(--font-en); font-size: 10px; font-weight: 700;
  letter-spacing: 0.15em; color: var(--accent-blue); margin-bottom: 14px;
}
.step-title { font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.step-items { list-style: none; }
.step-items li {
  font-size: 11px; color: var(--text-muted);
  padding: 5px 0; border-bottom: 1px solid var(--border);
}
.step-items li:last-child { border-bottom: none; }
.services-note {
  padding: 22px 28px;
  background: var(--bg-card);
  border-left: 3px solid var(--accent-gold);
  font-size: 14px; color: var(--text-muted); line-height: 1.9;
}

/* ── PRODUCTS ── */
.products { background: var(--bg-card); }
.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
}
.product-group { background: var(--bg-deep); padding: 28px 24px; }
.product-group-title {
  font-family: var(--font-en); font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-gold);
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}
.product-list { list-style: none; }
.product-list li {
  font-size: 13px; color: var(--text-muted);
  padding: 7px 0;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--border);
}
.product-list li:last-child { border-bottom: none; }
.product-list li::before {
  content: ''; display: block;
  width: 4px; height: 4px;
  background: var(--accent-blue); flex-shrink: 0;
}

/* ── PROJECTS ── */
.projects { background: var(--bg-deep); }
.project-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
}
.project-card {
  background: var(--bg-card); padding: 28px 24px;
  border-top: 2px solid var(--border);
  transition: border-color .2s;
}
.project-card:hover { border-top-color: var(--accent-teal); }

/* placeholder image inside card */
.project-thumb {
  width: 100%; height: 180px; margin-bottom: 20px;
  display: block;
  object-fit: cover;
  border: 1px solid var(--border);
}
.project-badge {
  display: inline-block;
  font-family: var(--font-en); font-size: 9px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-teal); border: 1px solid var(--accent-teal);
  padding: 3px 9px; margin-bottom: 14px;
}
.project-title { font-size: 18px; font-weight: 700; margin-bottom: 16px; line-height: 1.4; }
.project-specs { list-style: none; }
.project-specs li {
  font-size: 12px; color: var(--text-muted);
  padding: 7px 0; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.project-specs li:last-child { border-bottom: none; }
.project-specs li::before {
  content: ''; display: block;
  width: 4px; height: 4px;
  background: var(--accent-teal); flex-shrink: 0;
}

/* ── WHY ── */
.why { background: var(--bg-card); }
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  margin-bottom: 48px;
}
.why-card { background: var(--bg-deep); padding: 36px 28px; text-align: center; }
.why-card-icon {
  width: 48px; height: 48px; margin: 0 auto 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.why-card:nth-child(1) .why-card-icon { background: rgba(0,170,255,0.12); }
.why-card:nth-child(2) .why-card-icon { background: rgba(245,166,35,0.12); }
.why-card:nth-child(3) .why-card-icon { background: rgba(0,212,180,0.12); }
.why-card-title { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.why-card:nth-child(1) .why-card-title { color: var(--accent-blue); }
.why-card:nth-child(2) .why-card-title { color: var(--accent-gold); }
.why-card:nth-child(3) .why-card-title { color: var(--accent-teal); }
.why-items { list-style: none; }
.why-items li {
  font-size: 13px; color: var(--text-muted);
  padding: 8px 0; border-bottom: 1px solid var(--border);
}
.why-items li:last-child { border-bottom: none; }
.why-note {
  text-align: center; font-family: var(--font-en);
  font-size: 13px; letter-spacing: 0.06em; color: var(--text-muted);
}

/* ── CONTACT ── */
.contact { background: var(--bg-deep); text-align: center; }
.contact .s-title { margin-bottom: 16px; }
.contact-sub {
  font-size: 14px; color: var(--text-muted); margin-bottom: 32px; line-height: 1.8;
}
.contact-email {
  font-family: var(--font-en); font-size: 18px; font-weight: 500;
  color: var(--accent-blue); text-decoration: none;
  display: inline-block; margin-bottom: 40px;
  border-bottom: 1px solid rgba(0,170,255,0.3); padding-bottom: 4px;
  transition: border-color .2s;
}
.contact-email:hover { border-color: var(--accent-blue); }

/* ── FOOTER ── */
footer {
  padding: 28px 48px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-en); font-size: 11px; color: var(--text-muted);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  section { padding: 60px 20px; }
  .hero { padding: 100px 20px 60px; }
  .hero-img-placeholder { display: none; }
  .about-grid  { grid-template-columns: 1fr; gap: 40px; }
  .steps       { grid-template-columns: 1fr 1fr; }
  .product-grid, .project-cards, .why-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 10px; text-align: center; }
}
