:root {
  --bg: #08100f;
  --bg-soft: #0e1a18;
  --panel: #13221f;
  --panel-light: #172b27;
  --text: #eef7f2;
  --muted: #adc2ba;
  --line: rgba(198, 232, 218, 0.18);
  --green: #52d273;
  --teal: #55d7cf;
  --white: #ffffff;
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.7;
}

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 16, 15, 0.84);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(82, 210, 115, 0.5);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(82, 210, 115, 0.22), rgba(85, 215, 207, 0.1));
  color: var(--green);
  font-weight: 800;
}

.brand-name,
.footer-brand {
  display: block;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-sub {
  display: block;
  color: var(--muted);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  line-height: 1.3;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  transition: color 160ms ease;
}

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

.site-nav a.is-active {
  color: var(--green);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  padding: 128px clamp(20px, 6vw, 92px) 44px;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 16, 15, 0.96) 0%, rgba(8, 16, 15, 0.82) 38%, rgba(8, 16, 15, 0.25) 100%),
    linear-gradient(0deg, rgba(8, 16, 15, 0.95) 0%, rgba(8, 16, 15, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  align-self: center;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.15;
}

h2 {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.25;
}

h3 {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  line-height: 1.45;
}

.hero-lead {
  width: min(640px, 100%);
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

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

.button-primary {
  background: var(--green);
  color: #06110e;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.hero-status {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-self: end;
  margin-top: 56px;
}

.hero-status span,
.tech-list span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #d8eee6;
  font-size: 13px;
  font-weight: 700;
}

.hero-status span {
  padding: 8px 12px;
}

.section {
  padding: 92px clamp(20px, 6vw, 92px);
}

.section-heading {
  display: grid;
  gap: 4px;
  width: min(760px, 100%);
  margin-bottom: 34px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 80px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.intro-text {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 280px;
  padding: 26px;
  background: var(--panel);
}

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

.service-index {
  display: inline-block;
  margin-bottom: 38px;
  color: var(--teal);
  font-weight: 800;
}

.technology {
  background:
    linear-gradient(135deg, rgba(82, 210, 115, 0.12), transparent 34%),
    var(--bg-soft);
}

.tech-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  gap: clamp(28px, 5vw, 68px);
}

.tech-copy p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 17px;
}

.tech-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
}

.tech-list span {
  min-height: 64px;
  padding: 18px;
}

.product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product > div {
  width: min(720px, 100%);
}

.product p {
  margin: 18px 0 0;
  color: var(--muted);
}

.company {
  background: #091412;
}

.page-hero {
  padding: 150px clamp(20px, 6vw, 92px) 74px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(82, 210, 115, 0.14), rgba(85, 215, 207, 0.06) 38%, transparent 74%),
    var(--bg-soft);
}

.page-hero h1 {
  font-size: clamp(42px, 6vw, 72px);
}

.page-hero p:not(.eyebrow) {
  width: min(720px, 100%);
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.company-detail {
  background: #091412;
}

.company-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}

.company-table {
  width: 100%;
  margin: 0;
  border-top: 1px solid var(--line);
}

.company-table div {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.company-table dt {
  color: var(--muted);
  font-weight: 700;
}

.company-table dd {
  margin: 0;
  font-weight: 700;
}

.company-table a {
  color: var(--teal);
}

.contact-panel {
  position: sticky;
  top: 98px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  font-size: 26px;
}

.contact-panel p:not(.eyebrow) {
  margin: 18px 0 24px;
  color: var(--muted);
}

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

.map-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 7;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.site-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 6vw, 92px);
  border-top: 1px solid var(--line);
  background: #050b0a;
  color: var(--muted);
}

.site-footer p {
  margin: 4px 0 0;
}

.copyright {
  font-size: 13px;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 18px;
    background: rgba(8, 16, 15, 0.97);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 0;
  }

  .intro,
  .tech-layout,
  .company-layout {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    position: static;
  }

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

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

@media (max-width: 640px) {
  .site-header {
    min-height: 66px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 15px;
  }

  .brand-sub {
    font-size: 11px;
  }

  .hero {
    min-height: 88vh;
    padding-top: 104px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 16, 15, 0.96), rgba(8, 16, 15, 0.62)),
      linear-gradient(0deg, rgba(8, 16, 15, 0.96), rgba(8, 16, 15, 0.1));
  }

  .section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

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

  .service-card {
    min-height: auto;
  }

  .company-table div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .map-frame {
    aspect-ratio: 4 / 5;
  }

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