:root {
  --ink: #152033;
  --muted: #607086;
  --line: #dfe6ef;
  --surface: #ffffff;
  --soft: #f5f8fc;
  --blue: #1769ff;
  --cyan: #18b7d6;
  --green: #19b37a;
  --orange: #ff8a3d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Arial,
    sans-serif;
  background: var(--surface);
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(223, 230, 239, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: 8px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: #38475c;
  font-size: 14px;
}

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

.language-switcher {
  display: flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.language-switcher button {
  min-width: 54px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  padding: 8px 10px;
}

.language-switcher button.active {
  color: #fff;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.55fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  min-height: 640px;
  padding: clamp(70px, 11vw, 124px) clamp(20px, 7vw, 96px) 80px;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 18%, rgba(24, 183, 214, 0.22), transparent 28%),
    radial-gradient(circle at 12% 18%, rgba(255, 138, 61, 0.14), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #fff 72%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-text {
  max-width: 660px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  font-weight: 800;
  padding: 12px 18px;
}

.button.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 14px 30px rgba(23, 105, 255, 0.22);
}

.button.secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
}

.button.light {
  color: var(--blue);
  background: #fff;
  box-shadow: none;
}

.hero-panel {
  display: grid;
  gap: 14px;
}

.hero-panel div {
  padding: 24px;
  border: 1px solid rgba(223, 230, 239, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 24px 60px rgba(35, 50, 80, 0.08);
}

.hero-panel span,
.hero-panel strong {
  display: block;
}

.hero-panel span {
  color: var(--muted);
  font-size: 13px;
}

.hero-panel strong {
  margin-top: 6px;
  font-size: 20px;
}

.section {
  padding: 88px clamp(20px, 7vw, 96px);
}

.section.tinted {
  background: var(--soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: stretch;
}

.intro,
.profile-list,
.service-grid article,
.strengths div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.intro {
  padding: 34px;
}

.intro h3 {
  font-size: 26px;
}

.intro p,
.service-grid p,
.strengths p,
.contact p {
  color: var(--muted);
}

.profile-list {
  margin: 0;
  padding: 12px 28px;
}

.profile-list div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.profile-list div:last-child {
  border-bottom: 0;
}

.profile-list dt {
  color: var(--muted);
  font-weight: 700;
}

.profile-list dd {
  margin: 0;
  font-weight: 800;
}

.service-grid,
.strengths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-grid article,
.strengths div {
  padding: 28px;
}

.number {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--orange);
  font-weight: 900;
}

.service-grid h3 {
  font-size: 23px;
}

.strengths strong {
  display: block;
  margin-bottom: 12px;
  font-size: 22px;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 clamp(20px, 7vw, 96px) 80px;
  padding: clamp(34px, 5vw, 58px);
  color: #fff;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(21, 32, 51, 0.96), rgba(23, 105, 255, 0.86)),
    linear-gradient(135deg, var(--ink), var(--blue));
}

.contact .eyebrow,
.contact p {
  color: rgba(255, 255, 255, 0.78);
}

.contact h2 {
  max-width: 760px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .brand {
    min-width: 0;
  }

  .nav {
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
  }

  .language-switcher {
    width: max-content;
  }

  .hero,
  .about-grid,
  .service-grid,
  .strengths {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .contact {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 16px;
  }

  .hero,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .profile-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer {
    flex-direction: column;
  }
}
