:root {
  --color-bg: #ffffff;
  --color-bg-subtle: #f6f8fb;
  --color-text: #0b1220;
  --color-muted: #667085;
  --color-line: #e4e7ec;
  --color-primary: #2563eb;
  --color-dark: #07101d;
  --color-dark-soft: #0d1828;
  --container: 1180px;
  --header-height: 76px;
  --section-space: clamp(5.5rem, 10vw, 9rem);
  --font-sans: Inter, "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #60a5fa;
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 3rem), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.65rem 1rem;
  color: var(--color-text);
  background: #fff;
  border-radius: 0.25rem;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 16, 29, 0.82);
  transition: background-color 240ms ease, box-shadow 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 16, 29, 0.96);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
}

@supports (backdrop-filter: blur(12px)) {
  .site-header {
    background: rgba(7, 16, 29, 0.72);
    backdrop-filter: blur(12px);
  }
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.global-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.global-nav a,
.footer-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 180ms ease;
}

.global-nav a:hover,
.footer-nav a:hover {
  color: #fff;
}

.global-nav .nav-contact {
  min-width: 108px;
  justify-content: center;
  padding-inline: 1.1rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: min(760px, 92svh);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 77% 37%, rgba(37, 99, 235, 0.22), transparent 27%),
    linear-gradient(135deg, #07101d 0%, #0b1728 60%, #0b1c34 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(to bottom, #000 12%, transparent 94%);
  mask-image: linear-gradient(to bottom, #000 12%, transparent 94%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
  padding-block: calc(var(--header-height) + 5.5rem) 5rem;
}

.hero-copy {
  max-width: 760px;
}

.hero-eyebrow,
.section-label,
.card-index {
  margin: 0;
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-eyebrow {
  margin-bottom: 1.75rem;
  color: #93c5fd;
}

.hero-eyebrow span {
  margin-inline: 0.5rem;
  color: rgba(255, 255, 255, 0.3);
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.25rem, 7.2vw, 6.5rem);
  font-weight: 720;
  letter-spacing: -0.065em;
  line-height: 1.08;
}

.hero-lead {
  max-width: 670px;
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 0.7rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  color: #fff;
  background: var(--color-primary);
}

.button-primary:hover {
  background: #1d4ed8;
}

.button-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.hero-visual {
  display: grid;
  place-items: center;
}

.system-map {
  position: relative;
  width: min(100%, 410px);
  aspect-ratio: 1;
  border: 1px solid rgba(147, 197, 253, 0.18);
  border-radius: 50%;
}

.system-map::before,
.system-map::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(147, 197, 253, 0.14);
  border-radius: 50%;
}

.system-map::before {
  inset: 18%;
}

.system-map::after {
  inset: 38%;
  background: rgba(37, 99, 235, 0.1);
}

.map-node {
  position: absolute;
  z-index: 2;
  width: 12px;
  height: 12px;
  border: 3px solid #93c5fd;
  border-radius: 50%;
  background: var(--color-dark);
  box-shadow: 0 0 0 7px rgba(37, 99, 235, 0.12);
}

.map-node-1 { top: 20%; left: 23%; }
.map-node-2 { top: 47%; right: 17%; }
.map-node-3 { bottom: 18%; left: 37%; }

.map-line {
  position: absolute;
  z-index: 1;
  height: 1px;
  background: rgba(147, 197, 253, 0.35);
  transform-origin: left center;
}

.map-line-1 { top: 23%; left: 26%; width: 58%; transform: rotate(29deg); }
.map-line-2 { top: 49%; left: 38%; width: 47%; transform: rotate(116deg); }

.map-label {
  position: absolute;
  z-index: 3;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.map-label-build { top: 13%; left: 30%; }
.map-label-cloud { top: 44%; right: 2%; }
.map-label-run { bottom: 10%; left: 30%; }

.section {
  padding-block: var(--section-space);
  scroll-margin-top: var(--header-height);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
  margin-bottom: clamp(2.75rem, 6vw, 4.75rem);
}

.section-heading h2,
.strengths h2,
.company h2,
.contact h2 {
  margin: 0.65rem 0 0;
  font-size: clamp(2.2rem, 4vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.section-heading > p,
.strengths-intro > p:last-child {
  max-width: 540px;
  margin: 0;
  color: var(--color-muted);
}

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

.service-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.6vw, 2rem);
  border-right: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  z-index: 1;
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(11, 18, 32, 0.08);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 3rem;
  color: var(--color-primary);
  border: 1px solid #dbe7ff;
  background: #f7faff;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-index {
  color: #98a2b3;
}

.service-card h3 {
  margin: 0.65rem 0 1.1rem;
  font-size: clamp(1.15rem, 1.7vw, 1.42rem);
  line-height: 1.3;
}

.service-card > p:last-child {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.93rem;
}

.strengths {
  color: #fff;
  background: var(--color-dark);
}

.strengths-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(4rem, 10vw, 9rem);
}

.section-label-light {
  color: #93c5fd;
}

.strengths-intro {
  align-self: start;
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.strengths-intro > p:last-child {
  margin-top: 1.6rem;
  color: rgba(255, 255, 255, 0.62);
}

.strength-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.strength-list li {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 1rem;
  padding-block: clamp(1.8rem, 4vw, 2.8rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.strength-number {
  color: #93c5fd;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.strength-list h3 {
  margin: -0.25rem 0 0.65rem;
  font-size: clamp(1.3rem, 2.3vw, 1.75rem);
  line-height: 1.35;
}

.strength-list p {
  max-width: 580px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
}

.company {
  background: var(--color-bg-subtle);
}

.company-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(3.5rem, 9vw, 8rem);
}

.company-heading {
  align-self: start;
}

.company-details {
  margin: 0;
  border-top: 1px solid #d8dde6;
}

.company-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1.5rem;
  padding-block: 1.35rem;
  border-bottom: 1px solid #d8dde6;
}

.company-row dt {
  font-size: 0.9rem;
  font-weight: 700;
}

.company-row dd {
  margin: 0;
  color: #475467;
}

.address-image {
  width: 271px;
  height: auto;
}

.business-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.business-list li + li {
  margin-top: 0.35rem;
}

.text-link {
  text-decoration-color: #a5b4ca;
  text-underline-offset: 0.25em;
}

.text-link:hover {
  color: var(--color-primary);
}

.contact {
  padding-block: clamp(4.5rem, 8vw, 7rem);
  background: #fff;
  scroll-margin-top: var(--header-height);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  padding: clamp(2.5rem, 6vw, 5rem);
  color: #fff;
  background: var(--color-primary);
}

.contact-panel h2 {
  margin-top: 0.65rem;
}

.contact-panel > div:first-child > p:last-child {
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.contact-links {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-link {
  min-height: 74px;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding-block: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 650;
  text-decoration: none;
}

.contact-link-label {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-link > span:last-child {
  font-size: 1.3rem;
  transition: transform 180ms ease;
}

.contact-link:hover > span:last-child {
  transform: translateX(4px);
}

.site-footer {
  color: rgba(255, 255, 255, 0.62);
  background: var(--color-dark);
}

.footer-main {
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding-block: 2.5rem;
}

.footer-brand {
  color: #fff;
}

.footer-main p {
  margin: 0.8rem 0 0;
  font-size: 0.8rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
}

.footer-bottom {
  padding-block: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom small {
  font-size: 0.72rem;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card {
    min-height: 340px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  :root {
    --header-height: 68px;
  }

  .no-js {
    --header-height: 132px;
  }

  .container {
    width: min(calc(100% - 2rem), var(--container));
  }

  .js .menu-toggle {
    width: 58px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0;
    color: #fff;
    border: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
  }

  .menu-toggle-label {
    font-size: 0.72rem;
    font-weight: 700;
  }

  .menu-toggle-icon {
    width: 18px;
    height: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
  }

  .menu-toggle-icon i {
    width: 18px;
    height: 1px;
    display: block;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-icon i:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-icon i:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .global-nav {
    width: 100%;
  }

  .header-inner {
    flex-wrap: wrap;
    padding-top: 0.25rem;
  }

  .global-nav ul {
    justify-content: flex-end;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .global-nav .nav-contact {
    min-width: auto;
    padding-inline: 0;
    border: 0;
  }

  .js .global-nav {
    position: absolute;
    top: 100%;
    left: 0;
    visibility: hidden;
    opacity: 0;
    background: rgba(7, 16, 29, 0.98);
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }

  .js .global-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .js .global-nav ul {
    width: min(calc(100% - 2rem), var(--container));
    display: block;
    margin-inline: auto;
    padding-block: 1rem 1.5rem;
  }

  .js .global-nav a {
    width: 100%;
    min-height: 52px;
    padding-inline: 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
  }

  .hero {
    min-height: 700px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-block: calc(var(--header-height) + 4rem) 4rem;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-visual {
    position: absolute;
    right: -150px;
    bottom: -110px;
    width: 420px;
    opacity: 0.48;
  }

  .section-heading,
  .strengths-layout,
  .company-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .strengths-intro {
    position: static;
  }

  .company-heading {
    padding-bottom: 0.5rem;
  }
}

@media (max-width: 560px) {
  .brand span {
    max-width: 145px;
  }

  .hero {
    min-height: 660px;
  }

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

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .hero-eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.11em;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

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

  .service-card {
    min-height: 320px;
  }

  .strength-list li {
    grid-template-columns: 44px 1fr;
  }

  .company-row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .contact-panel {
    padding-inline: 1.5rem;
  }

  .contact-link {
    grid-template-columns: 1fr auto;
    gap: 0.25rem 1rem;
  }

  .contact-link-label {
    grid-column: 1 / -1;
  }

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

  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
