:root {
  --bg: #0a0d12;
  --bg-2: #10151d;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.11);
  --line: rgba(255, 255, 255, 0.16);
  --text: #f3f7fb;
  --muted: #b8c2cc;
  --muted-2: #8d98a5;
  --blue: #006dff;
  --blue-2: #00a3ff;
  --silver: #d8dde5;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
  --radius: 24px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 18%, rgba(0, 109, 255, 0.26), transparent 28%),
    linear-gradient(180deg, #080a0d 0%, #111720 44%, #0a0d12 100%);
  line-height: 1.8;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 42px),
    linear-gradient(90deg, rgba(255,255,255,0.03), transparent 20%, rgba(255,255,255,0.035));
  opacity: 0.55;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(6, 9, 13, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  width: clamp(230px, 33vw, 420px);
  height: auto;
  filter: drop-shadow(0 0 16px rgba(0, 109, 255, 0.20));
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.global-nav a {
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.global-nav a:hover,
.global-nav a.is-active {
  color: var(--text);
  background: rgba(0, 109, 255, 0.18);
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-home {
  background:
    linear-gradient(110deg, rgba(5, 8, 12, 0.92) 0%, rgba(8, 13, 20, 0.70) 46%, rgba(10, 14, 20, 0.95) 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 42%, rgba(255, 255, 255, 0.14), transparent 20%),
    radial-gradient(circle at 24% 50%, rgba(0, 109, 255, 0.28), transparent 32%),
    linear-gradient(180deg, transparent 72%, var(--bg));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.9fr);
  align-items: center;
  gap: 42px;
  padding: 88px 0;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3.15vw, 2.9rem);
  line-height: 1.18;
  letter-spacing: 0.02em;
}

.sub-hero h1 {
  margin: 0;
  font-size: clamp(2.25rem, 4.4vw, 4.1rem);
  line-height: 1.16;
  letter-spacing: 0.02em;
}

.hero-title span,
.intro-title span {
  display: block;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--blue-2);
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.2;
  letter-spacing: 0.18em;
}

.lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--silver);
  font-size: clamp(1.02rem, 2vw, 1.2rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 14px 34px rgba(0, 109, 255, 0.34);
}

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

.hero-logo-card {
  padding: 20px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.04));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
}

.hero-logo {
  border-radius: 18px;
  opacity: 0.96;
}

.section {
  padding: 92px 0;
}

.two-column {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.align-start {
  align-items: start;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.5vw, 3.2rem);
  line-height: 1.22;
  letter-spacing: 0.02em;
}

.intro-title {
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
  line-height: 1.34;
}

.section-text {
  color: var(--muted);
  font-size: 1.02rem;
}

.section-text p {
  margin: 0 0 1em;
}

.section-text p:last-child {
  margin-bottom: 0;
}

.section-text.single {
  margin-top: 22px;
}

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

.section-heading.centered {
  text-align: center;
  margin-inline: auto;
}

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

.services-section {
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.055));
  border-block: 1px solid rgba(255,255,255,0.08);
}

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

.service-card {
  position: relative;
  min-height: 330px;
  padding: 34px 28px;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.045));
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 18px 50px rgba(0,0,0,0.24);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(0, 109, 255, 0.34), transparent 36%);
  opacity: 0.75;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-number {
  color: rgba(255,255,255,0.28);
  font-size: 3.4rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.service-card h3 {
  margin: 24px 0 14px;
  font-size: 1.3rem;
  line-height: 1.35;
}

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

.message-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  padding: 54px;
  border-radius: calc(var(--radius) + 6px);
  background:
    linear-gradient(135deg, rgba(0, 109, 255, 0.18), transparent 38%),
    rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: var(--shadow);
}

.message-title {
  font-size: clamp(1.5rem, 2.25vw, 2.05rem);
  line-height: 1.32;
}

.message-title span {
  display: block;
}

.contact-title {
  font-size: clamp(1.5rem, 2.15vw, 2.25rem);
  line-height: 1.24;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--text);
  font-weight: 700;
  border-bottom: 1px solid var(--blue-2);
}

.contact-cta {
  padding: 76px 0;
  background: linear-gradient(135deg, rgba(0, 64, 160, 0.42), rgba(255,255,255,0.06));
  border-top: 1px solid rgba(255,255,255,0.10);
}

.contact-cta.compact {
  margin-top: 0;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 42px;
  align-items: center;
}

.cta-inner h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.55vw, 2.55rem);
  line-height: 1.22;
}

.cta-inner p {
  color: var(--muted);
}

.contact-box {
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.22);
}

.contact-box p {
  margin: 8px 0 0;
  color: var(--muted);
}

.tel {
  display: inline-flex;
  color: var(--text);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.sub-hero {
  position: relative;
  padding: 106px 0 84px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 40%, rgba(0, 109, 255, 0.30), transparent 28%),
    linear-gradient(110deg, rgba(5, 8, 12, 0.95), rgba(15, 19, 26, 0.88));
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sub-hero::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -170px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.14), transparent 60%);
}

.sub-hero-inner {
  position: relative;
  z-index: 1;
}

.sub-hero p:last-child {
  max-width: 680px;
  color: var(--muted);
  margin: 22px 0 0;
}

.company-card {
  padding: 10px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow);
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: calc(var(--radius) - 8px);
}

.company-table tr {
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.company-table tr:last-child {
  border-bottom: none;
}

.company-table th,
.company-table td {
  padding: 22px 20px;
  vertical-align: top;
  text-align: left;
}

.company-table th {
  width: 34%;
  color: var(--silver);
  background: rgba(255,255,255,0.05);
  font-weight: 700;
}

.company-table td {
  color: var(--muted);
}

.company-table a {
  color: var(--text);
  border-bottom: 1px solid var(--blue-2);
}

.site-footer {
  padding: 46px 0;
  background: #06080c;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
}

.footer-logo {
  width: 260px;
  margin-bottom: 10px;
  opacity: 0.95;
}

.footer-inner p {
  margin: 0;
  color: var(--muted-2);
  font-size: 0.92rem;
}

.footer-nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.09);
}


@media (min-width: 901px) {
  .hero-title span,
  .intro-title span,
  .message-title span,
  .contact-title {
    white-space: nowrap;
  }
}

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

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .two-column,
  .message-panel,
  .cta-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-logo-card {
    order: -1;
  }

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

  .message-panel {
    padding: 34px;
  }
}

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

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 14px 0;
  }

  .brand-logo {
    width: min(100%, 330px);
  }

  .global-nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .global-nav a {
    flex: 1;
    text-align: center;
    padding: 9px 10px;
  }

  .hero-grid {
    padding: 48px 0 72px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 66px 0;
  }

  .company-table,
  .company-table tbody,
  .company-table tr,
  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }

  .company-table th {
    padding-bottom: 8px;
  }

  .company-table td {
    padding-top: 8px;
  }

  .message-title,
  .contact-title {
    font-size: 1.45rem;
  }

  .tel {
    font-size: 1.75rem;
  }
}
