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

:root {
  --ink: #111110;
  --blue: #0B5FA5;
  --cyan: #06B6D4;
  --gray-bg: #F7F7F5;
  --text: #111110;
  --muted: #5B6573;
  --border: #E5E5E1;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', Arial, sans-serif;
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
  background: #fff;
}

a { color: var(--ink); text-decoration: none; }

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6%;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

header img { height: 34px; }

nav ul { display: flex; gap: 30px; list-style: none; }

nav a {
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
  position: relative;
  padding-bottom: 4px;
}

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

.lang-switch a {
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  padding: 6px 4px;
}
.lang-switch a:hover { color: var(--blue); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 6px;
  font-size: 14.5px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--ink); }
.btn-outline { background: #fff; color: var(--ink); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--ink); }

.hero-actions { display: flex; gap: 12px; margin-top: 32px; justify-content: center; }

/* Hero */
.hero {
  background: #111827;
  padding: 150px 6% 110px;
  text-align: center;
}

.hero-content { max-width: 680px; margin: 0 auto; }

.eyebrow {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
  color: #fff;
}

.hero h1 .accent { color: var(--cyan); }

.hero p {
  font-size: 17px;
  color: #C9D6E5;
  max-width: 540px;
  margin: 0 auto;
}

.hero .btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.hero .btn-outline:hover { border-color: #fff; }

/* Sections */
section { padding: 88px 6%; max-width: 1080px; margin: 0 auto; }

#services { background: var(--gray-bg); max-width: none; padding: 88px 6%; }
#services > * { max-width: 1080px; margin-left: auto; margin-right: auto; }
#services .services, #services .case-study { max-width: 1080px; margin-left: auto; margin-right: auto; }

.section-tag {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 14px;
}

section h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 44px;
  letter-spacing: -0.3px;
  color: var(--ink);
}

/* Service cards */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 34px 30px;
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover { border-color: var(--blue); transform: translateY(-2px); }

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

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

.card h3 { color: var(--ink); margin-bottom: 10px; font-size: 18px; font-weight: 700; }
.card p { color: var(--muted); font-size: 14.5px; }

/* Case studies */
.case-study {
  margin-top: 20px;
  background: #fff;
  border-radius: 10px;
  padding: 28px 30px;
  border: 1px solid var(--border);
}

.case-study h4 { color: var(--ink); margin-bottom: 8px; font-size: 15px; font-weight: 700; }
.case-study p { color: var(--muted); font-size: 14.5px; }

.client-badges {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.client-badges span {
  background: var(--gray-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 14px;
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
}

/* Founder card */
.founder-card {
  margin-top: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 36px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.founder-avatar {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gray-bg);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  border: 1px solid var(--border);
}

.founder-body h4 { color: var(--ink); margin-bottom: 4px; font-size: 18px; font-weight: 700; }
.founder-title { color: var(--blue); font-size: 13px; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 12px; display: block; }
.founder-body p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }

.founder-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.founder-chips span {
  background: var(--gray-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--blue);
}
.linkedin-link:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .founder-card { flex-direction: column; align-items: center; text-align: center; }
}

/* Company table */
.company-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.company-table tr { border-bottom: 1px solid var(--border); }
.company-table tr:last-child { border-bottom: none; }
.company-table th, .company-table td { text-align: left; padding: 16px 22px; font-size: 14.5px; }
.company-table th { width: 170px; color: var(--muted); font-weight: 600; background: var(--gray-bg); }

/* Contact form */
.contact-form { max-width: 540px; margin: 0 auto; }
.contact-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; margin-top: 20px; color: var(--ink); }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14.5px;
  font-family: inherit;
  transition: border-color 0.2s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form button {
  margin-top: 26px;
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 13px 32px;
  border-radius: 6px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}
.contact-form button:hover { background: var(--ink); }

footer {
  text-align: center;
  padding: 32px 6%;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--border);
}

/* Scroll fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 720px) {
  nav ul { display: none; }
  .hero h1 { font-size: 34px; }
  .hero-actions { flex-direction: column; }
  .btn { text-align: center; }
}
