:root {
  --bg: #0b1020;
  --panel: #0f1730;
  --text: #e8ecff;
  --muted: #b8c0e8;
  --line: rgba(255, 255, 255, .12);
  --accent: #6aa6ff;
  --accent2: #66ffd7;
  --shadow: 0 14px 40px rgba(0, 0, 0, .35);
  --radius: 18px;
  --max: 1100px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;
  color: var(--text);
  background: #070a14;
  /* ベース色のみ */
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background:
    radial-gradient(1200px 600px at 15% 10%, rgba(106, 166, 255, .25), transparent 60%),
    radial-gradient(900px 500px at 90% 20%, rgba(102, 255, 215, .16), transparent 55%),
    linear-gradient(180deg, #070a14, #0b1020 70%, #070a14);

  background-repeat: no-repeat;
  background-size: cover;
  /* ★1枚で全面を覆う */
}

/* Header */
header {
  position: fixed;
  /* sticky → fixed */
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  backdrop-filter: blur(10px);
  background: rgba(7, 10, 20, .55);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: box-shadow .2s ease, background .2s ease;
}

header.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  background: rgba(7, 10, 20, .75);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}

.logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 8px;
  background: none;
  border: none;
  box-shadow: none;
}

.navlinks {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 14px;
}

.navlinks a {
  color: var(--muted);
  padding: 10px 10px;
  border-radius: 12px;
  transition: background .18s ease, color .18s ease;
}

.navlinks a:hover {
  background: rgba(255, 255, 255, .06);
  color: var(--text);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(106, 166, 255, .95), rgba(102, 255, 215, .75));
  color: #061022;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .25);
  transition: transform .18s ease, filter .18s ease;
}

.cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.menuBtn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .10);
  color: var(--text);
  cursor: pointer;
}

/* Mobile menu */
.mobileMenu {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 10px 0 16px;
}

.mobileMenu a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--muted);
  transition: background .18s ease, color .18s ease;
}

.mobileMenu a:hover {
  background: rgba(255, 255, 255, .06);
  color: var(--text);
}

.mobileMenu .cta {
  margin: 10px 14px 0;
  width: calc(100% - 28px);
}

/* Hero */
.hero {
  padding: 64px 0 26px;
}

.heroGrid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  align-items: stretch;
}

.heroCard {
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .05);
  color: var(--muted);
  font-size: 12px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--accent2);
  box-shadow: 0 0 18px rgba(102, 255, 215, .6);
}

h1 {
  margin: 14px 0 8px;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: .01em;
}

.sub {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 18px;
  max-width: 56ch;
}

.heroActions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  font-weight: 700;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .22);
}

.btn.primary {
  background: linear-gradient(135deg, rgba(106, 166, 255, .95), rgba(102, 255, 215, .75));
  color: #061022;
  border-color: rgba(255, 255, 255, .18);
}

.miniStats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  height: 100%;
}

.stat {
  background: rgba(15, 23, 48, .6);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.stat .k {
  color: var(--muted);
  font-size: 12px;
}

.stat .v {
  font-size: 18px;
  font-weight: 850;
  margin-top: 6px;
}

.stat .p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}

/* Sections */
section {
  padding: 42px 0;
}

.sectionTitle {
  font-size: 22px;
  margin: 0 0 14px;
  letter-spacing: .02em;
}

.sectionLead {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 78ch;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  min-height: 120px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Company profile table card */
.profile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 14px;
}

.profileCard {
  background: rgba(15, 23, 48, .55);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.profileGrid {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 10px 14px;
}

.profileGrid .k {
  color: var(--muted);
  font-size: 13px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.profileGrid .v {
  font-size: 13px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.profileGrid .k:last-of-type,
.profileGrid .v:last-of-type {
  border-bottom: none;
}

/* Services (detailed) */
.serviceTabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 14px;
}

.chip {
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .05);
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  user-select: none;
}

.chip:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .07);
  color: var(--text);
}

.chip.active {
  color: #061022;
  background: linear-gradient(135deg, rgba(106, 166, 255, .95), rgba(102, 255, 215, .75));
  border-color: rgba(255, 255, 255, .18);
  font-weight: 800;
}

.serviceGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}

.serviceList {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.serviceList h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.items {
  display: grid;
  gap: 10px;
}

.item {
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(15, 23, 48, .50);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.item:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, .20);
  background: rgba(15, 23, 48, .62);
}

.item .t {
  font-weight: 800;
  font-size: 14px;
}

.item .d {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

.serviceDetail {
  background: rgba(15, 23, 48, .55);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  min-height: 320px;
}

.serviceDetail .head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.serviceDetail h3 {
  margin: 0;
  font-size: 18px;
}

.serviceDetail p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.bullets {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

.bullets li {
  margin: 6px 0;
}

.callout {
  margin-top: 14px;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(106, 166, 255, .22);
  background: rgba(106, 166, 255, .10);
  color: rgba(232, 236, 255, .92);
  font-size: 13px;
}

/* Strengths */
.grid3 .card strong {
  color: var(--text);
}

/* Contact */
.contactWrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

form {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0 6px;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(7, 10, 20, .6);
  color: var(--text);
  outline: none;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.hint {
  color: var(--muted);
  font-size: 12px;
  margin-top: 10px;
}

.error,
.success,
.sending {
  display: none;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 13px;
}

.error {
  border: 1px solid rgba(255, 120, 120, .35);
  background: rgba(255, 120, 120, .08);
  color: #ffd6d6;
}

.success {
  border: 1px solid rgba(102, 255, 215, .35);
  background: rgba(102, 255, 215, .08);
  color: #d6fff3;
}

.sending {
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
  color: rgba(232, 236, 255, .9);
}

footer {
  padding: 28px 0 40px;
  color: rgba(255, 255, 255, .6);
  border-top: 1px solid rgba(255, 255, 255, .08);
  text-align: center;
  font-size: 12px;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* form actions wrapper (元HTMLの inline style代替) */
.formActions {
  margin-top: 14px;
}

/* Responsive */
@media (max-width: 980px) {
  .heroGrid {
    grid-template-columns: 1fr;
  }

  .miniStats {
    grid-template-columns: 1fr 1fr;
  }

  h1 {
    font-size: 34px;
  }

  .grid3 {
    grid-template-columns: 1fr;
  }

  .serviceGrid {
    grid-template-columns: 1fr;
  }

  .navlinks {
    display: none;
  }

  .menuBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobileMenu {
    display: block;
  }

  .mobileMenu[data-open="false"] {
    display: none;
  }

  .profileGrid {
    grid-template-columns: 120px 1fr;
  }
}

.mailBtn {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
  font-size: inherit;
}

.profileSplit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}


.mapWrap {
  width: 100%;
  min-height: 260px;
  border-radius: 12px;
  overflow: hidden;
}

.mapWrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}


@media (max-width: 768px) {
  .profileSplit {
    grid-template-columns: 1fr;
  }

  .mapWrap {
    min-height: 220px;
  }
}