:root {
  --navy: #16233f;
  --navy-dark: #0e1626;
  --white: #ffffff;
  --gray-bg: #f5f6f8;
  --text: #1c2433;
  --text-muted: #5a6376;
  --border: #e2e4ea;
  --font-jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --font-en: "Inter", "Noto Sans JP", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-jp);
  color: var(--text);
  line-height: 1.8;
  background: var(--white);
}

html[lang="en"] body {
  font-family: var(--font-en);
}

a {
  color: inherit;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: var(--navy);
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--text);
  white-space: nowrap;
}

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

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

.lang-toggle {
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: none;
  border: 1px solid var(--navy);
  color: var(--navy);
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.lang-toggle:hover {
  background: var(--navy);
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
}

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 90px 0 70px;
  max-width: 1040px;
  margin: 32px auto 0;
  border-radius: 16px;
}

.hero-inner {
  text-align: center;
}

.eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: #c3cbe0;
  margin: 0 0 16px;
}

.hero h1 {
  font-family: var(--font-en);
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 20px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #d7dcec;
  max-width: 560px;
  margin: 0 auto 36px;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-solid {
  background: var(--white);
  color: var(--navy);
  border: none;
  font-family: inherit;
}

.btn-solid:hover {
  background: #d7dcec;
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--gray-bg);
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

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

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 12px;
  text-align: center;
}

.section-intro {
  text-align: center;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 48px;
}

.section-dark .section-intro {
  color: #c3cbe0;
}

/* Info table */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
}

.info-table th,
.info-table td {
  text-align: left;
  padding: 18px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.info-table th {
  width: 30%;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

/* Business cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
}

.card h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  color: var(--navy);
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Representative */
.profile {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

.profile-photo {
  flex-shrink: 0;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--navy);
}

.profile-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.profile-role {
  color: var(--text-muted);
  margin: 0 0 20px;
}

.profile-bio {
  color: var(--text-muted);
  margin: 0 0 32px;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}

.timeline li {
  display: flex;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.timeline-year {
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--navy);
  width: 60px;
  flex-shrink: 0;
}

/* Contact */
.contact-form {
  max-width: 560px;
  margin: 0 auto 56px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form[hidden] {
  display: none;
}

.contact-form label {
  font-size: 0.9rem;
  color: #c3cbe0;
  margin-top: 14px;
}

.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: 6px;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
}

.contact-form button {
  margin-top: 24px;
  align-self: center;
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.contact-form-success {
  max-width: 560px;
  margin: 0 auto 56px;
  text-align: center;
  font-size: 1.05rem;
}

.contact-direct {
  text-align: center;
  color: #c3cbe0;
}

.contact-direct a {
  color: var(--white);
  text-decoration: none;
}

.contact-direct a:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: #9aa3bd;
  padding: 28px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1080px) {
  .hero {
    margin: 24px 20px 0;
  }
}

@media (max-width: 720px) {
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
  }

  .nav-toggle {
    display: flex;
  }

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

  .profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .timeline {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .info-table th {
    width: 40%;
  }
}
