:root {
  --burgundy: #7d1b29;
  --burgundy-dark: #5d111d;
  --charcoal: #2f3334;
  --ink: #1e2426;
  --muted: #697174;
  --paper: #fbfaf8;
  --soft: #f2efeb;
  --line: #ded8d1;
  --white: #ffffff;
  --gold: #b89462;
  --radius: 22px;
  --shadow: 0 24px 60px rgba(47, 51, 52, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: fixed; left: 12px; top: -100px; z-index: 999; background: white; padding: 10px 14px; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 248, .92);
  border-bottom: 1px solid rgba(222, 216, 209, .75);
  backdrop-filter: blur(18px);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 12px 12px 12px 4px; color: white; background: var(--burgundy);
  font-weight: 800;
}
.brand-name { font-size: 1.15rem; font-weight: 800; letter-spacing: .08em; }
.primary-nav { display: flex; gap: 26px; margin-left: auto; }
.primary-nav a { text-decoration: none; font-size: .93rem; color: #404749; }
.primary-nav a:hover { color: var(--burgundy); }
.language-switcher { display: flex; gap: 9px; align-items: center; font-size: .78rem; font-weight: 800; letter-spacing: .08em; }
.language-switcher a, .language-switcher span { padding: 7px 8px; border-radius: 9px; text-decoration: none; }
.language-switcher span { color: white; background: var(--charcoal); }
.menu-button { display: none; margin-left: auto; width: 42px; height: 42px; background: transparent; border: 0; }
.menu-button span:not(.sr-only) { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--ink); }

.hero { position: relative; overflow: hidden; padding: 94px 0 78px; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(125, 27, 41, .10), transparent 28%),
    linear-gradient(135deg, transparent 65%, rgba(184, 148, 98, .08));
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.eyebrow, .section-kicker { margin: 0 0 14px; color: var(--burgundy); font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(2.8rem, 6vw, 5.5rem); line-height: 1.05; letter-spacing: -.055em; }
.hero-body { max-width: 680px; margin: 28px 0 0; color: #4e5658; font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.button {
  display: inline-flex; justify-content: center; align-items: center; min-height: 50px;
  padding: 0 22px; border-radius: 999px; text-decoration: none; font-weight: 750;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--burgundy); box-shadow: 0 12px 28px rgba(125, 27, 41, .22); }
.button-primary:hover { background: var(--burgundy-dark); }
.button-secondary { color: var(--ink); background: white; border: 1px solid var(--line); }
.button-light { color: var(--burgundy); background: white; }
.hero-art { position: relative; min-height: 460px; border-radius: 40px; background: var(--charcoal); overflow: hidden; box-shadow: var(--shadow); }
.orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.orb-a { width: 270px; height: 270px; right: -60px; top: -40px; background: rgba(125, 27, 41, .95); }
.orb-b { width: 250px; height: 250px; left: -90px; bottom: -90px; background: rgba(184, 148, 98, .62); }
.language-lines { position: absolute; inset: 70px 55px auto; display: grid; gap: 10px; }
.language-lines span { color: rgba(255,255,255,.96); font-size: clamp(2rem, 4vw, 4.1rem); font-weight: 750; letter-spacing: -.04em; }
.language-lines span:nth-child(2) { margin-left: 48px; color: rgba(255,255,255,.66); }
.language-lines span:nth-child(3) { margin-left: 92px; color: rgba(255,255,255,.38); }
.connection-card {
  position: absolute; left: 38px; right: 38px; bottom: 34px; display: flex; align-items: center;
  gap: 12px; padding: 18px 20px; color: white; border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px; background: rgba(255,255,255,.09); backdrop-filter: blur(16px);
}
.connection-card strong { font-size: .88rem; }
.connection-dot { width: 10px; height: 10px; border-radius: 50%; background: #e8cda7; box-shadow: 0 0 0 6px rgba(232,205,167,.13); }
.connection-line { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.25), white, rgba(255,255,255,.25)); }

.trust-strip { border-block: 1px solid var(--line); background: white; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { min-height: 88px; display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-right: 1px solid var(--line); font-size: .91rem; font-weight: 650; }
.trust-item:last-child { border-right: 0; }
.trust-dot { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--burgundy); }

.section { padding: 106px 0; }
.section-muted { background: var(--soft); }
.section-dark { color: white; background: var(--charcoal); }
.section-heading { max-width: 760px; margin-bottom: 50px; }
.section-heading.compact { margin-bottom: 34px; }
.section-heading h2, .experience-grid h2, .profile-grid h2, .contact-card h2 {
  margin: 0 0 18px; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.12; letter-spacing: -.04em;
}
.section-heading p:last-child { color: var(--muted); font-size: 1.08rem; }
.on-dark h2 { color: white; }

.services-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.service-card {
  grid-column: span 2; min-height: 300px; padding: 30px; border: 1px solid var(--line);
  border-radius: var(--radius); background: white; box-shadow: 0 8px 26px rgba(47,51,52,.05);
}
.service-card:nth-child(4), .service-card:nth-child(5) { grid-column: span 3; }
.service-card h3 { margin: 22px 0 10px; font-size: 1.18rem; line-height: 1.35; }
.service-card p { margin: 0; color: var(--muted); }
.icon { width: 50px; height: 50px; border-radius: 15px; background: var(--soft); position: relative; }
.icon::before, .icon::after { content: ""; position: absolute; border: 2px solid var(--burgundy); }
.icon-translate::before { width: 22px; height: 15px; left: 8px; top: 10px; border-radius: 5px; }
.icon-translate::after { width: 18px; height: 13px; right: 7px; bottom: 9px; border-radius: 5px; }
.icon-interpret::before { width: 14px; height: 22px; left: 17px; top: 7px; border-radius: 10px; }
.icon-interpret::after { width: 24px; height: 14px; left: 12px; bottom: 8px; border-width: 0 0 2px 0; border-radius: 50%; }
.icon-ai::before { inset: 10px; border-radius: 8px; }
.icon-ai::after { width: 7px; height: 7px; left: 20px; top: 20px; background: var(--burgundy); border-radius: 50%; }
.icon-layout::before { inset: 9px; border-radius: 5px; }
.icon-layout::after { width: 12px; height: 25px; left: 18px; top: 11px; border-width: 0 2px; }
.icon-bridge::before { width: 31px; height: 17px; left: 8px; top: 20px; border-radius: 50% 50% 0 0; border-bottom: 0; }
.icon-bridge::after { width: 4px; height: 17px; left: 22px; top: 22px; border-width: 0 2px; }

.tag-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tag { padding: 20px; border-radius: 16px; background: rgba(255,255,255,.72); border: 1px solid rgba(222,216,209,.85); font-weight: 650; }

.experience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.lead-copy { color: #4f5759; font-size: 1.06rem; }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.proof-card { min-height: 190px; padding: 24px; border-radius: 20px; background: var(--soft); }
.proof-number { color: var(--burgundy); font-size: .78rem; font-weight: 850; letter-spacing: .1em; }
.proof-card p { margin-top: 35px; font-weight: 700; }

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 0; list-style: none; }
.steps-grid li { padding: 26px; border: 1px solid rgba(255,255,255,.14); border-radius: 20px; background: rgba(255,255,255,.04); }
.steps-grid li > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--charcoal); background: #e6cda9; font-weight: 850; }
.steps-grid h3 { margin: 22px 0 8px; }
.steps-grid p { color: rgba(255,255,255,.67); }

.profile-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; align-items: center; }
.profile-monogram {
  aspect-ratio: 1; display: grid; place-items: center; align-content: center; border-radius: 38px;
  color: white; background: linear-gradient(145deg, var(--burgundy), var(--charcoal)); box-shadow: var(--shadow);
}
.profile-monogram span { font-size: clamp(4rem, 10vw, 8rem); font-weight: 850; letter-spacing: -.08em; line-height: 1; }
.profile-monogram small { margin-top: 14px; letter-spacing: .22em; }
.capability-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 28px 0 0; list-style: none; }
.capability-list li { padding: 9px 13px; border-radius: 999px; background: var(--soft); font-size: .88rem; }

.contact-section { padding-top: 30px; }
.contact-card {
  display: grid; grid-template-columns: 1.35fr .65fr; gap: 44px; align-items: center;
  padding: 54px; color: white; border-radius: 30px; background: var(--burgundy); box-shadow: 0 24px 60px rgba(125,27,41,.18);
}
.contact-card .section-kicker { color: #f0cfaa; }
.contact-card p { color: rgba(255,255,255,.82); }
.contact-note { font-size: .84rem; }
.contact-actions { display: grid; gap: 14px; justify-items: start; }
.email-link { color: white; word-break: break-all; }

.site-footer { padding: 38px 0; color: #d8dcdd; background: #202526; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; align-items: end; }
.site-footer p { margin: 8px 0 0; color: #9fa7a9; }
.footer-links { display: grid; gap: 8px; justify-items: end; font-size: .85rem; }
.footer-links a { color: white; }

.legal-main { min-height: calc(100vh - 76px); padding: 70px 0; }
.legal-card { max-width: 820px; padding: 54px; border: 1px solid var(--line); border-radius: 26px; background: white; }
.legal-card h1 { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -.05em; }
.legal-card section { margin: 36px 0; }
.legal-card section h2 { font-size: 1.1rem; }
.legal-intro { color: var(--muted); font-size: 1.08rem; }
.error-page { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.error-page h1 { font-size: clamp(2.4rem, 8vw, 5rem); }

@media (max-width: 900px) {
  .primary-nav {
    display: none; position: absolute; left: 20px; right: 20px; top: 70px; padding: 16px;
    flex-direction: column; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  }
  .primary-nav.open { display: flex; }
  .menu-button { display: block; }
  .language-switcher { margin-left: 0; }
  .hero-grid, .experience-grid, .profile-grid, .contact-card { grid-template-columns: 1fr; }
  .hero-art { min-height: 400px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card, .service-card:nth-child(4), .service-card:nth-child(5) { grid-column: auto; }
  .tag-grid, .steps-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1160px); }
  .site-header .nav-wrap { gap: 12px; }
  .language-switcher a, .language-switcher span { padding: 6px; }
  .hero { padding: 66px 0 55px; }
  .hero-grid { gap: 42px; }
  .hero-art { min-height: 340px; border-radius: 26px; }
  .language-lines { inset: 52px 28px auto; }
  .language-lines span:nth-child(2) { margin-left: 28px; }
  .language-lines span:nth-child(3) { margin-left: 52px; }
  .connection-card { left: 22px; right: 22px; bottom: 20px; }
  .trust-grid, .services-grid, .tag-grid, .proof-grid, .steps-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 76px 0; }
  .service-card { min-height: auto; }
  .profile-grid { gap: 40px; }
  .contact-card { padding: 34px 25px; }
  .footer-grid { align-items: start; flex-direction: column; }
  .footer-links { justify-items: start; }
  .legal-card { padding: 32px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
