:root {
  --bg: #eef5f7;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --line: rgba(23, 47, 66, 0.1);
  --text: #173044;
  --text-soft: #5b7180;
  --heading: #112738;
  --primary: #0f6faa;
  --primary-strong: #0b4f79;
  --accent: #78c8c2;
  --accent-deep: #d4c18b;
  --ink-soft: rgba(17, 39, 56, 0.06);
  --shadow-lg: 0 36px 90px rgba(16, 42, 62, 0.14);
  --shadow-md: 0 20px 44px rgba(16, 42, 62, 0.1);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --container: min(1240px, calc(100% - 48px));
  --font-sans: "Aptos", "Segoe UI", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-display: "Yu Mincho", "Hiragino Mincho ProN", "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  line-height: 1.7;
  background:
    linear-gradient(180deg, rgba(245, 248, 250, 0.44), rgba(245, 248, 250, 0.28)),
    linear-gradient(90deg, rgba(248, 250, 251, 0.3), rgba(248, 250, 251, 0.04) 45%, rgba(248, 250, 251, 0.22)),
    url("bg-space-soft-v2.png") center center / cover fixed no-repeat,
    radial-gradient(circle at 0 0, rgba(120, 200, 194, 0.1), transparent 24%),
    radial-gradient(circle at 100% 0, rgba(15, 111, 170, 0.08), transparent 25%),
    radial-gradient(circle at 50% 32%, rgba(212, 193, 139, 0.06), transparent 24%),
    linear-gradient(180deg, #f5f8fa 0%, #ecf2f4 46%, #f6f8f7 100%);
  background-attachment: fixed;
}

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

body::before {
  background:
    linear-gradient(116deg, rgba(255, 255, 255, 0.22) 0 18%, transparent 18% 100%),
    linear-gradient(296deg, rgba(255, 255, 255, 0.18) 0 14%, transparent 14% 100%),
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.26), transparent 18%),
    radial-gradient(circle at 82% 16%, rgba(212, 193, 139, 0.14), transparent 18%);
  opacity: 0.12;
  filter: saturate(0.92);
}

body::after {
  background-image: none;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.26), rgba(0, 0, 0, 0.06) 24%, rgba(0, 0, 0, 0.16) 68%, rgba(0, 0, 0, 0));
  opacity: 0;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: 0;
}

.page-shell::before {
  top: 120px;
  right: -140px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0) 54%),
    radial-gradient(circle at 55% 55%, rgba(120, 200, 194, 0.2), rgba(120, 200, 194, 0) 72%),
    conic-gradient(from 180deg at 50% 50%, rgba(15, 111, 170, 0.08), rgba(255, 255, 255, 0), rgba(212, 193, 139, 0.14), rgba(15, 111, 170, 0.08));
  filter: blur(20px);
  opacity: 0.92;
}

.page-shell::after {
  left: -180px;
  bottom: 120px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0) 50%),
    radial-gradient(circle at 50% 50%, rgba(15, 111, 170, 0.13), rgba(15, 111, 170, 0) 74%),
    conic-gradient(from 90deg at 50% 50%, rgba(212, 193, 139, 0.12), rgba(255, 255, 255, 0), rgba(15, 111, 170, 0.08), rgba(212, 193, 139, 0.12));
  filter: blur(24px);
  opacity: 0.86;
}

.page-shell {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, 0.16) 76%, rgba(255, 255, 255, 0.28)),
    radial-gradient(circle at 50% 100%, rgba(15, 111, 170, 0.05), transparent 38%);
}

.site-header,
.hero,
.page-hero,
.section,
.form-page,
.footer {
  position: relative;
  z-index: 1;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(20px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(245, 249, 251, 0.66)),
    rgba(246, 251, 253, 0.62);
  border-bottom: 1px solid rgba(17, 39, 56, 0.06);
  box-shadow: 0 14px 40px rgba(17, 39, 56, 0.04);
}

.header-inner {
  display: grid;
  grid-template-columns: 370px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  min-height: 94px;
}

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

.brand-logo {
  width: 370px;
  max-width: 100%;
  height: auto;
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--heading);
}

.brand-copy span {
  font-size: 0.88rem;
  color: var(--text-soft);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.nav a {
  min-height: 44px;
  padding: 11px 14px;
  border-radius: 999px;
  color: var(--text);
  border: 1px solid rgba(17, 39, 56, 0.05);
  background: rgba(255, 255, 255, 0.34);
  display: inline-flex;
  align-items: center;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.nav a:hover,
.nav a:focus-visible {
  background: rgba(255, 255, 255, 0.82);
  color: var(--primary-strong);
  border-color: rgba(15, 111, 170, 0.16);
  transform: translateY(-1px);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button,
.button-ghost,
.submit-button {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.button,
.submit-button {
  color: #fff;
  background: linear-gradient(135deg, #0f6faa, #16557d);
  box-shadow: 0 18px 32px rgba(15, 111, 170, 0.18);
}

.button-ghost {
  color: var(--primary-strong);
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(15, 111, 170, 0.12);
}

.button:hover,
.button-ghost:hover,
.submit-button:hover,
.button:focus-visible,
.button-ghost:focus-visible,
.submit-button:focus-visible {
  transform: translateY(-1px);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}

.hero,
.page-hero {
  padding: 92px 0 52px;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 26px 0 auto;
  height: 90%;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.18) 50%, rgba(244, 250, 252, 0.5)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0));
  border-top: 1px solid rgba(255, 255, 255, 0.68);
  border-bottom: 1px solid rgba(17, 39, 56, 0.05);
  border-radius: 0 0 44px 44px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 42px auto auto 50%;
  width: min(1240px, calc(100% - 48px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(212, 193, 139, 0), rgba(212, 193, 139, 0.9), rgba(15, 111, 170, 0.42), rgba(212, 193, 139, 0));
  opacity: 0.78;
}

.hero-grid,
.page-hero-grid,
.form-layout,
.card-grid,
.stat-grid,
.split-panel {
  display: grid;
  gap: 22px;
}

.hero-grid,
.page-hero-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(460px, 1.12fr);
  align-items: center;
  gap: 30px;
}

.hero-copy h1,
.page-hero-copy h1 {
  margin: 0 0 20px;
  color: var(--heading);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.7rem, 4.6vw, 5.3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero-copy p,
.page-hero-copy p,
.section-heading p,
.card p,
.stat p,
.panel p,
.form-intro p,
.glass-panel p,
.field-note {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.03rem;
}

.hero-copy .button-row,
.page-hero-copy .button-row {
  margin-top: 30px;
}

.hero-visual,
.page-visual,
.card,
.stat,
.panel,
.glass-panel,
.form-shell,
.login-shell {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-xl);
}

.hero-visual,
.page-visual {
  position: relative;
  padding: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(240, 247, 250, 0.5));
  backdrop-filter: blur(10px);
  isolation: isolate;
}

.hero-visual::before,
.page-visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, rgba(15, 111, 170, 0.06), rgba(212, 193, 139, 0.08));
  z-index: -1;
}

.hero-visual img,
.page-visual img {
  width: 100%;
  border-radius: 26px;
  min-height: 480px;
  object-fit: cover;
  box-shadow: 0 24px 44px rgba(17, 39, 56, 0.16);
  filter: saturate(1.03) contrast(1.02);
}

.section,
.form-page {
  padding: 56px 0 94px;
}

.section:nth-of-type(odd),
.form-page {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 18%, transparent 18% 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0)),
    linear-gradient(90deg, rgba(230, 240, 244, 0.28), rgba(255, 255, 255, 0.12), rgba(227, 237, 241, 0.22));
}

.section:nth-of-type(even) {
  background:
    linear-gradient(315deg, rgba(255, 255, 255, 0.08) 0 14%, transparent 14% 100%),
    linear-gradient(180deg, rgba(255, 252, 244, 0.2), rgba(255, 252, 244, 0)),
    linear-gradient(90deg, rgba(245, 248, 249, 0.4), rgba(234, 242, 245, 0.22), rgba(245, 247, 247, 0.34));
}

.section:nth-of-type(even)::before,
.form-page::before {
  content: "";
  position: absolute;
  inset: 18px 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.1) 45%, rgba(255, 255, 255, 0.18)),
    linear-gradient(180deg, rgba(17, 39, 56, 0.02), rgba(17, 39, 56, 0));
  border-top: 1px solid rgba(255, 255, 255, 0.56);
  border-bottom: 1px solid rgba(17, 39, 56, 0.05);
  border-radius: 34px;
}

.section::after,
.form-page::after {
  content: none;
}

.section:nth-of-type(odd)::before {
  content: "";
  position: absolute;
  inset: 14px 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.08) 45%, rgba(255, 255, 255, 0.16)),
    radial-gradient(circle at 82% 50%, rgba(120, 200, 194, 0.12), transparent 22%);
  border-top: 1px solid rgba(255, 255, 255, 0.62);
  border-bottom: 1px solid rgba(17, 39, 56, 0.05);
  border-radius: 34px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
  position: relative;
}

.section-heading h2,
.form-intro h2,
.panel h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 2.8vw, 3.2rem);
  line-height: 1.18;
  color: var(--heading);
}

.section-heading h2::after,
.form-intro h2::after,
.panel h2::after {
  content: "";
  display: block;
  width: 86px;
  height: 3px;
  margin-top: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-deep), rgba(15, 111, 170, 0.86));
}

.card-grid,
.stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.stat,
.panel,
.glass-panel {
  position: relative;
  padding: 28px;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(250, 253, 255, 0.48)),
    linear-gradient(135deg, rgba(15, 111, 170, 0.03), rgba(212, 193, 139, 0.05));
  overflow: hidden;
}

.card::before,
.stat::before,
.panel::before,
.glass-panel::before,
.form-shell::before,
.login-shell::before {
  content: none;
}

.card::after,
.panel::after,
.glass-panel::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 200, 194, 0.14), rgba(120, 200, 194, 0));
  pointer-events: none;
}

.card img,
.glass-panel img {
  width: 100%;
  margin-bottom: 16px;
  border-radius: 22px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: 0 16px 30px rgba(17, 39, 56, 0.12);
}

.card h3,
.glass-panel h3,
.panel h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  color: var(--heading);
}

.card {
  transition: none;
}

.info-list,
.office-list,
.service-list,
.tech-list,
.recruit-list,
.timeline-list {
  display: grid;
  gap: 14px;
}

.info-item,
.office-item,
.service-item,
.tech-item,
.recruit-item,
.timeline-item {
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(248, 251, 252, 0.48));
  border: 1px solid rgba(17, 39, 56, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.64), 0 14px 28px rgba(17, 39, 56, 0.05);
}

.info-item strong,
.office-item strong,
.service-item strong,
.tech-item strong,
.recruit-item strong,
.timeline-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--heading);
}

.page-stack {
  display: grid;
  gap: 18px;
}

.link-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(228, 241, 248, 0.86));
  color: var(--primary-strong);
  font-weight: 700;
  border: 1px solid rgba(15, 111, 170, 0.12);
  box-shadow: 0 10px 24px rgba(15, 111, 170, 0.08);
}

.stat strong {
  display: block;
  font-size: 2rem;
  margin-bottom: 8px;
  color: var(--heading);
}

.split-panel {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.bullet-list {
  margin: 18px 0 0;
  padding-left: 1.2rem;
}

.bullet-list li + li {
  margin-top: 10px;
}

.meta {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.meta-chip {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 134, 203, 0.08);
  color: var(--primary-strong);
  font-size: 0.9rem;
  font-weight: 700;
}

.form-shell,
.login-shell {
  position: relative;
  padding: 38px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(250, 253, 255, 0.62));
}

.form-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  align-items: start;
}

.form-intro {
  margin-bottom: 24px;
}

.form-grid,
.side-card {
  display: grid;
  gap: 16px;
}

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

.field-half {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field label {
  color: var(--heading);
  font-weight: 700;
}

.required {
  color: #0d85c6;
  font-size: 0.88rem;
  font-weight: 800;
  margin-left: 8px;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  border-radius: 16px;
  padding: 15px 16px;
  outline: none;
}

.field textarea {
  resize: vertical;
  min-height: 180px;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--heading);
  font-weight: 600;
}

.consent-row input {
  margin-top: 3px;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(15, 134, 203, 0.5);
  box-shadow: 0 0 0 4px rgba(15, 134, 203, 0.12);
  background: #fff;
}

.form-status {
  min-height: 1.6em;
  margin: 0;
  font-weight: 700;
}

.form-status.is-working {
  color: #0d85c6;
}

.form-status.is-success {
  color: #0f7a53;
}

.form-status.is-error {
  color: #b53c33;
}

.footer {
  padding: 30px 0 38px;
  border-top: 1px solid rgba(16, 67, 98, 0.08);
  background:
    linear-gradient(180deg, rgba(234, 241, 244, 0.44), rgba(255, 255, 255, 0.72)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.4), rgba(226, 236, 240, 0.44), rgba(255, 255, 255, 0.34));
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--text-soft);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 980px) {
  .hero-grid,
  .page-hero-grid,
  .form-layout,
  .card-grid,
  .stat-grid,
  .split-panel,
  .field-half {
    grid-template-columns: 1fr;
  }

  .header-inner {
    grid-template-columns: 1fr;
  }

  .nav {
    justify-content: flex-start;
  }

}

@media (max-width: 640px) {
  .hero,
  .page-hero,
  .section,
  .form-page {
    padding-top: 34px;
  }

  .hero-copy h1,
  .page-hero-copy h1 {
    font-size: 2.35rem;
  }

  .hero-visual img,
  .page-visual img {
    min-height: 320px;
  }

  .hero-visual,
  .page-visual,
  .card,
  .stat,
  .panel,
  .glass-panel,
  .form-shell,
  .login-shell {
    border-radius: 22px;
  }

  .form-shell,
  .login-shell {
    padding: 22px;
  }
}
