/* Laniakea corporate site — 2026 */
:root {
  --night: #0d1b2a;
  --night-2: #152a40;
  --blue: #0a73b7;
  --blue-dark: #075a90;
  --sky: #eef4f9;
  --ink: #1a2530;
  --mute: #5a6875;
  --line: #d6dee6;
  --white: #ffffff;
  --header-h: 64px;
  --wrap: 1120px;
  --font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); font-size: 16px; line-height: 1.85; letter-spacing: 0.02em; font-feature-settings: "palt" 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid #5fb3ea; outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--white); color: var(--ink); padding: 8px 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(13, 27, 42, 0.94); backdrop-filter: saturate(140%) blur(8px); -webkit-backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid rgba(255,255,255,0.08); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { height: 26px; width: auto; }
.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: 4px; }
.gnav a { display: block; padding: 8px 12px; color: rgba(255,255,255,0.78); text-decoration: none; font-size: 14px; letter-spacing: 0.04em; border-radius: 4px; white-space: nowrap; }
.gnav a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.gnav a[aria-current="true"] { color: var(--white); box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }
.gnav a.nav-cta { color: var(--white); background: var(--blue); margin-left: 8px; }
.gnav a.nav-cta:hover { background: var(--blue-dark); }

@media (max-width: 880px) {
  .site-header .wrap { flex-wrap: wrap; gap: 0; padding-top: 10px; }
  .brand img { height: 22px; }
  .gnav { margin-left: 0; width: 100%; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .gnav::-webkit-scrollbar { display: none; }
  .gnav ul { padding: 4px 0 6px; }
  .gnav a { padding: 8px 10px; font-size: 13px; }
  .gnav a.nav-cta { margin-left: 4px; }
  :root { --header-h: 96px; }
}

/* Hero */
.hero { position: relative; color: var(--white); background: var(--night) url("hero.jpg") center 60% / cover no-repeat; min-height: min(88vh, 760px); display: flex; align-items: flex-end; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,27,42,0.35) 0%, rgba(13,27,42,0.15) 40%, rgba(13,27,42,0.85) 100%); }
.hero .wrap { position: relative; padding-block: 120px 88px; }
.hero h1 { font-size: clamp(2rem, 5.2vw, 3.75rem); line-height: 1.3; font-weight: 700; letter-spacing: 0.01em; max-width: 14em; }
.hero .sub { margin-top: 20px; font-size: clamp(1rem, 1.8vw, 1.25rem); color: rgba(255,255,255,0.86); }
.hero .actions { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.hero .tagline { font-size: 14px; letter-spacing: 0.12em; color: rgba(255,255,255,0.62); }

.nb { display: inline-block; }
.btn { display: inline-block; padding: 14px 28px; background: var(--blue); color: var(--white); text-decoration: none; font-weight: 700; font-size: 15px; border: 0; border-radius: 4px; cursor: pointer; font-family: inherit; letter-spacing: 0.04em; }
.btn:hover { background: var(--blue-dark); color: var(--white); }
.btn[disabled] { opacity: 0.6; cursor: wait; }

/* Sections */
.section { padding-block: 104px; }
.section.tint { background: var(--sky); }
.section-head { margin-bottom: 48px; max-width: 44em; }
.section-head .kicker { font-size: 14px; color: var(--blue); font-weight: 700; letter-spacing: 0.06em; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); line-height: 1.45; font-weight: 700; }
.section-head p { margin-top: 20px; color: var(--mute); }
.prose { max-width: 40em; }
h3 { font-size: 1.125rem; line-height: 1.6; font-weight: 700; }
@media (max-width: 640px) { .section { padding-block: 72px; } .section-head { margin-bottom: 36px; } }

/* About: strengths */
.strengths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); margin-top: 48px; }
.strengths li { padding: 28px 28px 28px 0; }
.strengths li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.strengths p { margin-top: 10px; color: var(--mute); font-size: 15px; }
@media (max-width: 800px) {
  .strengths { grid-template-columns: 1fr; }
  .strengths li, .strengths li + li { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}
.record { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 16px 48px; align-items: baseline; }
.record div { display: flex; align-items: baseline; gap: 12px; }
.record strong { white-space: nowrap; font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; color: var(--night); letter-spacing: 0; }
.record span { color: var(--mute); font-size: 14px; }

/* Service: two-storey diagram */
.storey { display: grid; gap: 12px; }
.storey .upper { background: var(--night); color: var(--white); border-radius: 6px; padding: 32px; display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; }
.storey .upper h3 { font-size: 1.25rem; }
.storey .upper h3 small { display: block; font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.65); margin-top: 4px; }
.storey .upper ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.storey .upper li { border: 1px solid rgba(255,255,255,0.24); border-radius: 4px; padding: 12px 14px; font-size: 15px; font-weight: 500; }
.storey .floor-note { text-align: center; color: var(--mute); font-size: 14px; padding: 4px 0; }
.storey .lower { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.storey .lower > div { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 28px; }
.storey .lower p { margin-top: 10px; color: var(--mute); font-size: 15px; }
.storey .base { background: var(--blue); color: var(--white); text-align: center; border-radius: 6px; padding: 16px; font-weight: 700; letter-spacing: 0.04em; }
@media (max-width: 900px) {
  .storey .upper { grid-template-columns: 1fr; padding: 24px; }
  .storey .upper ul { grid-template-columns: repeat(2, 1fr); }
  .storey .lower { grid-template-columns: 1fr; }
}

.industries { margin-top: 64px; }
.industries h3 { margin-bottom: 20px; }
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 6px; background: var(--white); overflow: hidden; }
.industry-grid > div { padding: 24px; }
.industry-grid > div + div { border-left: 1px solid var(--line); }
.industry-grid h4 { margin: 0 0 12px; font-size: 16px; color: var(--night); }
.industry-grid li { font-size: 15px; color: var(--mute); padding: 2px 0; }
@media (max-width: 800px) {
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid > div:nth-child(odd) { border-left: 0; }
  .industry-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
.saas-note { margin-top: 32px; padding-left: 16px; border-left: 3px solid var(--blue); }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; position: relative; }
.process li { position: relative; padding: 0 24px 0 0; }
.process .num { font-size: 14px; font-weight: 700; color: var(--blue); display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.process .num::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.process li:last-child .num::after { background: linear-gradient(90deg, var(--line), transparent); }
.process .term { display: inline-block; margin-top: 6px; font-size: 13px; color: var(--mute); border: 1px solid var(--line); border-radius: 999px; padding: 1px 10px; }
.process dl { margin-top: 16px; font-size: 14px; color: var(--mute); }
.process dt { font-weight: 700; color: var(--ink); font-size: 13px; }
.process-note { margin-top: 40px; color: var(--mute); }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; gap: 32px; }
  .process li { padding: 0 0 0 24px; border-left: 2px solid var(--line); }
  .process .num::after { display: none; }
}

/* Cases */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 32px; display: flex; flex-direction: column; }
.case .meta { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--mute); margin-bottom: 10px; }
.case .meta b { color: var(--blue); font-weight: 700; }
.case h3 { font-size: 1.2rem; margin-bottom: 20px; }
.case dl { display: grid; grid-template-columns: 5em 1fr; gap: 12px 16px; font-size: 15px; }
.case dt { font-weight: 700; font-size: 14px; color: var(--night); }
.case dd { color: var(--mute); }
.cases-note { margin-top: 32px; color: var(--mute); font-size: 15px; max-width: 48em; }
@media (max-width: 800px) {
  .cases { grid-template-columns: 1fr; }
  .case { padding: 24px; }
  .case dl { grid-template-columns: 1fr; gap: 4px; }
  .case dd + dt { margin-top: 10px; }
}

/* Company */
.company { width: 100%; max-width: 820px; border-collapse: collapse; }
.company th, .company td { text-align: left; vertical-align: top; padding: 20px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.company th { width: 10em; font-weight: 700; color: var(--night); padding-right: 24px; }
.company tr:first-child th, .company tr:first-child td { border-top: 1px solid var(--line); }
@media (max-width: 640px) {
  .company th, .company td { display: block; width: auto; padding: 0; border: 0; }
  .company th { padding-top: 16px; font-size: 14px; }
  .company td { padding: 4px 0 16px; border-bottom: 1px solid var(--line); }
  .company tr:first-child th { border-top: 1px solid var(--line); }
  .company tr:first-child td { border-top: 0; }
}

/* Contact */
.contact { background: var(--night); color: var(--white); }
.contact .section-head p { color: rgba(255,255,255,0.72); }
.contact .section-head .kicker { color: #7cc3f0; }
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 56px; }
.flow li { border: 1px solid rgba(255,255,255,0.18); border-radius: 6px; padding: 20px 24px; }
.flow .step { font-size: 13px; color: #7cc3f0; font-weight: 700; }
.flow strong { display: block; margin-top: 4px; font-size: 16px; }
.flow span { display: block; margin-top: 4px; font-size: 14px; color: rgba(255,255,255,0.68); }
@media (max-width: 800px) { .flow { grid-template-columns: 1fr; } }

.form { background: var(--white); color: var(--ink); border-radius: 8px; padding: 40px; max-width: 820px; }
.field { margin-bottom: 22px; }
.field label, .field .label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.req, .opt { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 3px; margin-left: 8px; vertical-align: 1px; }
.req { background: var(--blue); color: var(--white); }
.opt { background: var(--sky); color: var(--mute); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #b8c4cf; border-radius: 4px; background: var(--white); color: var(--ink);
}
.field textarea { min-height: 180px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); outline: 2px solid rgba(10,115,183,0.25); outline-offset: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.radios label { font-weight: 400; display: flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; cursor: pointer; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 640px) { .form { padding: 24px; } .two { grid-template-columns: 1fr; } }
.agree { font-size: 15px; display: flex; gap: 10px; align-items: flex-start; }
.agree input { margin-top: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 20px; padding: 14px 16px; border-radius: 4px; font-size: 15px; display: none; }
.form-status.ok { display: block; background: #e8f5ec; color: #1d5b33; }
.form-status.ng { display: block; background: #fdecec; color: #8a1f1f; }
.contact-alt { margin-top: 32px; font-size: 15px; color: rgba(255,255,255,0.78); }
.contact-alt a { color: var(--white); }

/* Footer */
.site-footer { background: #091421; color: rgba(255,255,255,0.7); font-size: 14px; padding-block: 48px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-end; }
.site-footer img { height: 22px; width: auto; margin-bottom: 16px; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer small { font-size: 13px; }

/* Privacy page */
.page-head { background: var(--night); color: var(--white); padding-block: 72px 56px; }
.page-head h1 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
.policy { max-width: 46em; }
.policy > p { margin-bottom: 20px; }
.policy h2 { font-size: 1.25rem; margin: 48px 0 16px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.policy ul { list-style: disc; padding-left: 1.5em; margin-bottom: 16px; }
.policy li { margin-bottom: 6px; }
.policy dl { display: grid; grid-template-columns: 7em 1fr; gap: 6px 16px; }
.policy dt { font-weight: 700; }
.policy .date { margin-top: 56px; color: var(--mute); text-align: right; }
