:root {
  --color-navy: #0b2545;
  --color-blue: #0c65c9;
  --color-sky: #18a8d8;
  --color-ice: #edf7fb;
  --color-line: #d9e7f2;
  --color-text: #172033;
  --color-muted: #5d6b7f;
  --color-white: #ffffff;
  --shadow: 0 22px 55px rgba(11, 37, 69, 0.12);
  --radius: 8px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
  background: var(--color-white);
}

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

img {
  display: block;
  max-width: 100%;
}

.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;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 231, 242, 0.9);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(calc(100% - 40px), 1200px);
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--color-navy);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-blue), var(--color-sky));
  font-size: 0.9rem;
  letter-spacing: 0;
}

.brand-text {
  font-size: 1rem;
  white-space: nowrap;
}

.global-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.global-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 13px;
  border-radius: var(--radius);
  color: #20304a;
  font-size: 0.92rem;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.global-nav a:hover,
.global-nav a[aria-current="page"] {
  color: var(--color-blue);
  background: var(--color-ice);
}

.global-nav .nav-contact {
  margin-left: 8px;
  color: var(--color-white);
  background: var(--color-blue);
}

.global-nav .nav-contact:hover,
.global-nav .nav-contact[aria-current="page"] {
  color: var(--color-white);
  background: #084fa2;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-navy);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(11, 37, 69, 0.96), rgba(12, 101, 201, 0.88)),
    radial-gradient(circle at 80% 20%, rgba(24, 168, 216, 0.45), transparent 35%);
  color: var(--color-white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -28% 55%;
  height: 420px;
  background: rgba(255, 255, 255, 0.08);
  transform: skewX(-18deg);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), 1200px);
  min-height: 640px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: 56px;
  padding: 82px 0 92px;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--color-sky);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.22;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 670px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 152px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--color-white);
  background: var(--color-blue);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.button.secondary {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

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

.hero-panel {
  position: relative;
  min-height: 440px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.metric-card,
.hero-panel-text {
  position: relative;
  z-index: 2;
  width: min(100%, 260px);
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-navy);
}

.metric-value {
  display: block;
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
}

.metric-label {
  display: block;
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.network-visual {
  position: absolute;
  inset: 58px 34px 74px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 34px 34px;
}

.network-visual::before,
.network-visual::after {
  content: "";
  position: absolute;
  inset: 50% 14% auto;
  height: 2px;
  background: rgba(255, 255, 255, 0.52);
  transform: rotate(-22deg);
}

.network-visual::after {
  transform: rotate(24deg);
}

.network-visual span {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 3px solid var(--color-white);
  border-radius: 50%;
  background: var(--color-sky);
  box-shadow: 0 0 0 8px rgba(24, 168, 216, 0.22);
}

.network-visual span:nth-child(1) { top: 18%; left: 16%; }
.network-visual span:nth-child(2) { top: 34%; right: 18%; }
.network-visual span:nth-child(3) { top: 58%; left: 34%; }
.network-visual span:nth-child(4) { bottom: 14%; right: 28%; }
.network-visual span:nth-child(5) { bottom: 22%; left: 12%; }

.hero-panel-text {
  position: absolute;
  right: 28px;
  bottom: 28px;
}

.hero-panel-text p {
  margin: 8px 0 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.section {
  padding: 92px 0;
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.section h2,
.page-hero h1 {
  margin: 0;
  color: var(--color-navy);
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  line-height: 1.35;
  letter-spacing: 0;
}

.section-text,
.section-heading p,
.strength-item p,
.service-card p,
.page-hero p {
  color: var(--color-muted);
}

.section-text {
  margin: 38px 0 0;
  font-size: 1.02rem;
}

.service-highlight {
  background: #f6fbfe;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 40px;
}

.section-heading p {
  margin: 14px 0 0;
}

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

.service-card {
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: 0 14px 32px rgba(11, 37, 69, 0.07);
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 30px;
  border-radius: var(--radius);
  color: var(--color-blue);
  background: var(--color-ice);
  font-weight: 800;
}

.service-card h3,
.strength-item h3 {
  margin: 22px 0 10px;
  color: var(--color-navy);
  font-size: 1.18rem;
  line-height: 1.5;
}

.service-card p,
.strength-item p {
  margin: 0;
  font-size: 0.95rem;
}

.strengths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--color-line);
}

.strength-item {
  padding: 32px 28px 0 0;
  border-top: 4px solid transparent;
}

.strength-item + .strength-item {
  padding-left: 28px;
  border-left: 1px solid var(--color-line);
}

.strength-item h3 {
  margin-top: 0;
}

.cta-section {
  color: var(--color-white);
  background: linear-gradient(115deg, var(--color-navy), var(--color-blue));
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.cta-section .section-label,
.cta-section h2,
.cta-section p {
  color: var(--color-white);
}

.cta-section h2 {
  max-width: 760px;
}

.cta-section p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.page-main {
  min-height: 52vh;
}

.page-hero {
  padding: 88px 0 120px;
  background:
    linear-gradient(120deg, rgba(237, 247, 251, 0.95), rgba(255, 255, 255, 1)),
    radial-gradient(circle at 80% 20%, rgba(24, 168, 216, 0.18), transparent 32%);
  border-bottom: 1px solid var(--color-line);
}

.page-hero p:last-child {
  max-width: 620px;
  margin: 18px 0 0;
}

.site-footer {
  padding: 52px 0 24px;
  color: rgba(255, 255, 255, 0.78);
  background: #071b32;
}

.footer-inner {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 44px;
}

.footer-brand {
  color: var(--color-white);
}

.footer-inner p {
  margin: 10px 0 0;
  font-size: 0.92rem;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 8px 24px;
  font-size: 0.92rem;
}

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

.copyright {
  width: min(calc(100% - 40px), var(--container));
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .global-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    padding: 12px 20px 22px;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-line);
    box-shadow: 0 18px 30px rgba(11, 37, 69, 0.1);
  }

  .global-nav.is-open {
    display: block;
  }

  .global-nav ul {
    display: grid;
    gap: 6px;
  }

  .global-nav a,
  .global-nav .nav-contact {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 68px 0 76px;
  }

  .hero-panel {
    max-width: 560px;
  }

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

  .section-text {
    margin-top: 0;
  }

  .strengths {
    gap: 18px;
    border-top: 0;
  }

  .strength-item,
  .strength-item + .strength-item {
    padding: 24px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
  }

  .cta-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container,
  .header-inner,
  .hero-inner,
  .footer-inner,
  .copyright {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand-text {
    max-width: 220px;
    white-space: normal;
    line-height: 1.35;
  }

  .hero h1 {
    font-size: 2.22rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-panel {
    min-height: 360px;
    padding: 18px;
  }

  .network-visual {
    inset: 52px 18px 80px;
  }

  .hero-panel-text {
    left: 18px;
    right: 18px;
    bottom: 18px;
    width: auto;
  }

  .section {
    padding: 68px 0;
  }

  .split {
    gap: 28px;
  }

  .service-card {
    min-height: auto;
    padding: 24px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }
}
