:root {
  --bg: #020814;
  --bg-deep: #030f20;
  --navy: #061a31;
  --navy-2: #0a2747;
  --blue: #087cff;
  --blue-2: #0059ca;
  --cyan: #22d7ff;
  --mint: #64f0d0;
  --warm: #ffbd70;
  --warm-2: #ffe4ad;
  --cream: #fff7e8;
  --ink: #f7fbff;
  --text: #d8e8f7;
  --muted: #9ab2c8;
  --paper: #f7fafc;
  --paper-2: #edf4f9;
  --paper-ink: #102033;
  --paper-muted: #55687d;
  --line: rgba(154, 218, 255, 0.18);
  --line-dark: rgba(12, 42, 72, 0.14);
  --shadow: 0 14px 34px rgba(0, 16, 38, 0.26);
  --radius: 8px;
  --header-height: 76px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  line-height: 1.75;
  background:
    linear-gradient(135deg, rgba(8, 124, 255, 0.16), transparent 28%),
    linear-gradient(180deg, #020814 0%, #041226 42%, #050b13 100%);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
}

body::before {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(34, 215, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(34, 215, 255, 0.04) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 78%);
}

body::after {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(2, 8, 20, 0.12), rgba(2, 8, 20, 0.62)),
    linear-gradient(90deg, rgba(2, 8, 20, 0.78), rgba(2, 8, 20, 0.28) 48%, rgba(2, 8, 20, 0.76));
}

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

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

.sp-only {
  display: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

#network-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: #041226;
  background: #fff;
  border-radius: 6px;
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(2, 8, 20, 0.74);
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled,
.site-header:focus-within {
  background: rgba(2, 8, 20, 0.9);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: #fff;
  font-weight: 800;
  line-height: 1;
}

.brand-mark {
  width: 34px;
  height: 34px;
  color: var(--cyan);
  filter: drop-shadow(0 0 8px rgba(34, 215, 255, 0.22));
}

.brand-name {
  font-size: 1.08rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 11px;
  color: rgba(247, 251, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: #fff;
  background: rgba(34, 215, 255, 0.08);
  outline: none;
}

.site-nav a.is-active::after {
  position: absolute;
  right: 11px;
  bottom: 5px;
  left: 11px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 2px;
  content: "";
}

.site-nav .nav-contact {
  margin-left: 6px;
  color: #02101f;
  background: linear-gradient(135deg, #fff, #bdeeff);
  box-shadow: 0 0 14px rgba(34, 215, 255, 0.14);
}

.site-nav .nav-contact:hover,
.site-nav .nav-contact:focus-visible,
.site-nav .nav-contact.is-active {
  color: #02101f;
  background: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

main {
  position: relative;
  z-index: 1;
}

.hero,
.page-hero {
  position: relative;
  padding-top: calc(var(--header-height) + 76px);
}

.hero {
  display: flex;
  align-items: center;
  min-height: 720px;
  padding-bottom: 92px;
}

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

.hero h1,
.page-hero h1 {
  margin-bottom: 20px;
  color: #fff;
  font-size: 3.85rem;
  line-height: 1.16;
  letter-spacing: 0;
  text-shadow: 0 0 28px rgba(34, 215, 255, 0.12);
}

.hero-actions,
.section-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: 6px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #10b8ff);
  box-shadow: 0 0 16px rgba(8, 124, 255, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 0 20px rgba(34, 215, 255, 0.3);
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.38);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(34, 215, 255, 0.72);
  box-shadow: 0 0 14px rgba(34, 215, 255, 0.14);
}

.home-hero {
  overflow: hidden;
  isolation: isolate;
}

@media (max-width: 1060px) {
  .site-nav a {
    padding: 0 8px;
    font-size: 0.82rem;
  }
}

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

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header-height) + 12px);
    right: 20px;
    left: 20px;
    display: grid;
    gap: 4px;
    padding: 14px;
    background: rgba(2, 8, 20, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    justify-content: space-between;
    min-height: 46px;
    padding: 0 12px;
  }

  .site-nav .nav-contact {
    margin-left: 0;
  }

  .nav-open {
    overflow: hidden;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 54px);
  }
}

@media (max-width: 720px) {
  :root {
    --shadow: 0 8px 18px rgba(0, 16, 38, 0.2);
  }

  .sp-only {
    display: block;
  }

  .site-header {
    background: rgba(2, 8, 20, 0.92);
    backdrop-filter: none;
  }

  .brand-mark {
    filter: none;
  }

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

  .hero {
    padding-bottom: 64px;
  }

  .hero-actions,
  .section-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .btn-primary,
  .btn-primary:hover,
  .btn-primary:focus-visible,
  .btn-secondary:hover,
  .btn-secondary:focus-visible,
  .site-nav .nav-contact {
    box-shadow: 0 0 10px rgba(34, 215, 255, 0.14);
  }
}

@media (max-width: 460px) {
  .brand-name {
    font-size: 0.98rem;
  }

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