:root {
  --bg: #050816;
  --bg-deep: #071126;
  --panel: rgba(10, 20, 42, 0.78);
  --panel-strong: rgba(9, 18, 36, 0.92);
  --line: rgba(179, 214, 255, 0.18);
  --line-strong: rgba(148, 200, 255, 0.34);
  --text: #f5f9ff;
  --muted: #9fb3cf;
  --blue-soft: #78aefc;
  --blue: #4c8eff;
  --blue-bright: #83d8ff;
  --shadow: 0 28px 90px rgba(0, 14, 44, 0.42);
  --radius: 28px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "SF Pro Display", "SF Pro JP", "Hiragino Sans", "Yu Gothic",
    "Noto Sans JP", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(82, 148, 255, 0.2), transparent 30%),
    radial-gradient(circle at 85% 18%, rgba(80, 196, 255, 0.16), transparent 22%),
    linear-gradient(180deg, #040814 0%, #07101f 42%, #040812 100%);
  line-height: 1.7;
}

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

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

.page-shell {
  position: relative;
  overflow: clip;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(4, 8, 18, 0.55);
  border-bottom: 1px solid rgba(179, 214, 255, 0.08);
}

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

.header-controls {
  display: flex;
  align-items: center;
  gap: 18px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(141, 200, 255, 0.24);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(124, 195, 255, 0.2), rgba(51, 95, 191, 0.14));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

.site-nav a {
  color: rgba(234, 242, 255, 0.9);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

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

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lang-button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(148, 200, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(234, 242, 255, 0.88);
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.lang-button:hover {
  border-color: rgba(148, 200, 255, 0.42);
}

.lang-button.is-active {
  color: #031120;
  border-color: transparent;
  background: linear-gradient(135deg, #9adfff 0%, #6da7ff 48%, #9cbcff 100%);
}

.hero {
  position: relative;
  padding: 112px 0 88px;
  border-bottom: 1px solid rgba(179, 214, 255, 0.08);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(42px);
  pointer-events: none;
}

.hero-orb-left {
  width: 340px;
  height: 340px;
  top: 32px;
  left: -90px;
  background: rgba(70, 140, 255, 0.22);
}

.hero-orb-right {
  width: 300px;
  height: 300px;
  right: -80px;
  top: 120px;
  background: rgba(94, 214, 255, 0.18);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: 32px;
  align-items: end;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-bright);
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 10ch;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 600;
}

.hero-text {
  max-width: 62ch;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 1rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

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

.button-primary {
  color: #031120;
  background: linear-gradient(135deg, #9adfff 0%, #6da7ff 48%, #9cbcff 100%);
  box-shadow: 0 18px 48px rgba(76, 142, 255, 0.28);
}

.button-secondary {
  color: var(--text);
  border-color: rgba(148, 200, 255, 0.26);
  background: rgba(255, 255, 255, 0.03);
}

.button-secondary:hover {
  border-color: rgba(148, 200, 255, 0.52);
  background: rgba(255, 255, 255, 0.06);
}

.hero-panel,
.company-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    var(--panel);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 24px;
}

.panel-label {
  margin-bottom: 20px;
  color: rgba(232, 242, 255, 0.72);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.panel-grid {
  display: grid;
  gap: 14px;
}

.panel-grid article {
  padding: 18px 18px 16px;
  border: 1px solid rgba(148, 200, 255, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.panel-grid span,
.service-no {
  color: var(--blue-bright);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
}

.panel-grid h2,
.service-card h3,
.strength-list h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
  font-weight: 600;
}

.panel-grid p,
.service-card p,
.strength-list p,
.intro-text p,
.company-list dd,
.site-footer p {
  margin-bottom: 0;
  color: var(--muted);
}

.section {
  padding: 96px 0;
  border-bottom: 1px solid rgba(179, 214, 255, 0.08);
}

.intro-grid,
.strength-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.intro-grid h2,
.strength-copy h2,
.section-title,
.company-card h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 600;
}

.intro-text {
  display: grid;
  gap: 18px;
}

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

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

.service-card,
.strength-list article,
.group-card,
.philosophy-list article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    rgba(8, 18, 36, 0.72);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.service-card:hover,
.strength-list article:hover,
.group-card:hover,
.philosophy-list article:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: rgba(10, 22, 44, 0.84);
}

.strength-list {
  display: grid;
  gap: 18px;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.philosophy-copy h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 600;
  margin-bottom: 16px;
}

.philosophy-lead {
  max-width: 48ch;
  color: var(--muted);
  font-size: 1rem;
}

.philosophy-list {
  display: grid;
  gap: 18px;
}

.company-card {
  padding: clamp(28px, 5vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 0.52fr) minmax(0, 1fr);
  gap: 28px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 28px;
  align-items: start;
}

.contact-copy h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 600;
  margin-bottom: 16px;
}

.contact-text,
.form-note {
  color: var(--muted);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    var(--panel);
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 10px;
}

.field span {
  color: rgba(234, 242, 255, 0.92);
  font-size: 0.88rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(148, 200, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  outline: none;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(148, 200, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(76, 142, 255, 0.12);
}

.field select option {
  color: #0b1322;
}

.field-full,
.form-actions {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.form-note {
  margin: 0;
  max-width: 42ch;
  font-size: 0.92rem;
}

.form-hidden {
  display: none;
}

.company-list {
  margin: 0;
  display: grid;
  gap: 18px;
}

.company-list div {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(179, 214, 255, 0.1);
}

.company-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.company-list dt {
  color: rgba(232, 242, 255, 0.94);
  font-weight: 600;
}

.company-list dd {
  margin: 0;
}

.site-footer {
  padding: 26px 0 42px;
}

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

@media (max-width: 1080px) {
  .hero-grid,
  .service-grid,
  .group-grid,
  .company-card,
  .intro-grid,
  .strength-grid,
  .philosophy-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 12ch;
  }
}

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

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

  .header-controls {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .lang-switch {
    flex-wrap: wrap;
  }

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

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

  .hero {
    padding: 80px 0 64px;
  }

  h1 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .section {
    padding: 72px 0;
  }

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