:root {
  --color-primary: #1f4ef5;
  --color-secondary: #0aa3a3;
  --color-dark: #1b1d29;
  --color-light: #f6f7fb;
  --color-muted: #5c617a;
  --max-width: 1200px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 18px 45px rgba(16, 33, 64, 0.15);
  --shadow-card: 0 16px 30px rgba(25, 42, 92, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Roboto', 'Noto Sans JP', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--color-dark);
  background: #ffffff;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
 a:focus {
  color: var(--color-primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

.container {
  width: min(100% - 48px, var(--max-width));
  margin-inline: auto;
}

.section {
  padding-block: clamp(72px, 10vw, 112px);
}

.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px auto;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 12px;
}

.section-heading p {
  color: var(--color-muted);
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  border: 2px solid transparent;
}

.btn.primary {
  background: linear-gradient(135deg, var(--color-primary), #203de3);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(35, 79, 229, 0.3);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(35, 79, 229, 0.35);
}

.btn.secondary {
  background: linear-gradient(135deg, var(--color-secondary), #078e8e);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(10, 163, 163, 0.28);
}

.btn.secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(10, 163, 163, 0.34);
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  background: transparent;
}

.btn.ghost:hover {
  border-color: #ffffff;
}

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top left, rgba(31, 78, 245, 0.32), transparent 55%),
              radial-gradient(circle at bottom right, rgba(10, 163, 163, 0.32), transparent 60%),
              #0f172a;
  color: #ffffff;
  padding-top: clamp(120px, 16vw, 180px);
  padding-bottom: clamp(80px, 12vw, 140px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.45));
  z-index: 1;
}

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

.hero-kicker {
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  margin-bottom: 18px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-media {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-primary), #203de3);
  color: #ffffff;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 1.1rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-weight: 700;
}

.brand-tagline {
  font-size: 0.82rem;
  color: var(--color-muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 500;
}

.site-nav a {
  position: relative;
  padding-bottom: 6px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.25s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--color-dark);
}

.metrics {
  background: #ffffff;
  margin-top: -80px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  padding: clamp(24px, 6vw, 40px);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #ffffff, #f4f6ff);
  box-shadow: var(--shadow-soft);
}

.metric {
  text-align: left;
}

.metric-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(31, 78, 245, 0.12);
  color: var(--color-primary);
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.metric-value {
  font-weight: 700;
  font-size: 1.2rem;
  display: block;
  margin-bottom: 6px;
}

.metric p {
  margin: 0;
  color: var(--color-muted);
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 60px);
  align-items: center;
}

.split-text h2 {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  margin-bottom: 16px;
}

.split-text p {
  color: var(--color-muted);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.info-grid h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.info-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: var(--color-muted);
}

.values {
  background: var(--color-light);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.value-card {
  background: #ffffff;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.value-card h3 {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

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

.service-card {
  background: #ffffff;
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(31, 78, 245, 0.08);
  box-shadow: 0 12px 26px rgba(15, 33, 84, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 36px rgba(15, 33, 84, 0.12);
}

.service-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--color-muted);
  margin: 0;
}

.timeline {
  background: var(--color-light);
}

.timeline h2 {
  text-align: center;
  margin-bottom: 48px;
}

.timeline-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 600px;
  display: grid;
  gap: 20px;
}

.timeline-list li {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.timeline-year {
  font-weight: 700;
  color: var(--color-primary);
  min-width: 120px;
}

.timeline-text {
  color: var(--color-dark);
}

.global {
  background: radial-gradient(circle at top, rgba(31, 78, 245, 0.16), transparent 60%), #07102b;
  color: #ffffff;
}

.global .split-text p {
  color: rgba(255, 255, 255, 0.78);
}

.global .btn.secondary {
  border: none;
}

.recruit {
  background: #ffffff;
}

.recruit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.recruit-card {
  padding: 28px;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, #ffffff, #f6f8ff);
  border: 1px solid rgba(15, 33, 84, 0.08);
  box-shadow: 0 10px 24px rgba(15, 33, 84, 0.08);
}

.recruit-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.recruit-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--color-muted);
  display: grid;
  gap: 10px;
}

.recruit-card p {
  margin: 0 0 12px 0;
  color: var(--color-muted);
}

.recruit-cta {
  text-align: center;
  margin-top: 40px;
  color: var(--color-muted);
}

.partners {
  background: var(--color-light);
}

.partner-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.partner-card {
  padding: 28px;
  background: #ffffff;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(15, 33, 84, 0.06);
}

.partner-card i {
  font-size: 2rem;
  color: var(--color-secondary);
  margin-bottom: 16px;
}

.partners-cta {
  text-align: center;
  margin-top: 32px;
}

.contact {
  background: #ffffff;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0 0;
  display: grid;
  gap: 14px;
  color: var(--color-muted);
}

.contact-list i {
  color: var(--color-primary);
  margin-right: 12px;
}

.contact-panel {
  background: linear-gradient(160deg, rgba(31, 78, 245, 0.12), rgba(10, 163, 163, 0.12));
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.contact-panel h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.contact-panel ul {
  margin: 0 0 18px 0;
  padding-left: 18px;
  color: var(--color-muted);
}

.site-footer {
  background: #040714;
  color: rgba(255, 255, 255, 0.64);
  padding: 32px 0;
  font-size: 0.9rem;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.credits {
  font-size: 0.78rem;
}

@media (max-width: 960px) {
  .metrics {
    margin-top: -40px;
  }

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

  .hero-media {
    opacity: 0.18;
  }
}

@media (max-width: 768px) {
  .site-header .container {
    height: auto;
    padding-block: 14px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: 24px;
    background: #ffffff;
    flex-direction: column;
    gap: 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.25s ease;
  }

  .site-nav a {
    padding: 14px 20px;
    width: 220px;
  }

  .site-nav.open {
    transform: scaleY(1);
  }

  .metrics {
    margin-top: -20px;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 32px, var(--max-width));
  }

  .section {
    padding-block: 64px;
  }

  .metrics-grid,
  .values-grid,
  .services-grid,
  .recruit-grid,
  .partner-cards {
    gap: 18px;
  }

  .timeline-list li {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline-year {
    min-width: 0;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-actions {
    gap: 12px;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.in-view,
.in-view {
  opacity: 1;
  transform: translateY(0);
}
