:root {
  --navy: #062f45;
  --deep: #031d2a;
  --ink: #14202b;
  --muted: #657486;
  --aqua: #18b8df;
  --orange: #f48300;
  --line: #dcecf2;
  --paper: #f7fbfd;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(3, 29, 42, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.75;
}

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

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

.employment-page {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(24, 184, 223, 0.12), transparent 28%),
    radial-gradient(circle at 92% 42%, rgba(244, 131, 0, 0.12), transparent 22%),
    linear-gradient(180deg, #ffffff 0, #f7fbfd 60%, #ffffff 100%);
}

.hero {
  position: relative;
  min-height: 78svh;
  display: grid;
  align-items: end;
  padding: clamp(28px, 5vw, 64px);
  color: var(--white);
  background: var(--deep);
  overflow: hidden;
  isolation: isolate;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: 0.58;
  z-index: 0;
  pointer-events: none;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(3, 29, 42, 0.9), rgba(3, 29, 42, 0.58) 48%, rgba(3, 29, 42, 0.2)),
    linear-gradient(0deg, rgba(3, 29, 42, 0.72), rgba(3, 29, 42, 0.04) 58%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: min(1040px, 100%);
  padding-top: clamp(90px, 14vh, 150px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(44px, 6.6vw, 82px);
  line-height: 1.06;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4.6vw, 56px);
  line-height: 1.18;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  width: min(720px, 100%);
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 2vw, 20px);
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(66px, 8vw, 110px) 0 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: end;
}

.intro__text p,
.story__content p,
.cta p {
  color: var(--muted);
  font-size: 17px;
}

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

.stat-card {
  padding: clamp(28px, 4vw, 42px);
  background: var(--white);
  border-top: 6px solid var(--aqua);
  box-shadow: var(--shadow);
}

.stat-card:nth-child(2) {
  border-top-color: var(--orange);
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-weight: 900;
}

.stat-card strong {
  display: block;
  margin: 8px 0;
  color: var(--navy);
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1;
}

.stat-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.section-title {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.section-title span {
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
}

.section-title h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(28px, 3.5vw, 42px);
}

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

.logo-card {
  display: grid;
  min-height: 190px;
  place-items: center;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 38px rgba(3, 29, 42, 0.08);
}

.logo-card--large {
  grid-column: span 2;
}

.logo-card img {
  width: auto;
  max-width: min(360px, 94%);
  max-height: 108px;
  object-fit: contain;
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.story__image {
  position: relative;
}

.story__image::before {
  content: "";
  position: absolute;
  inset: 28px -28px -28px 28px;
  z-index: -1;
  background: linear-gradient(135deg, rgba(24, 184, 223, 0.18), rgba(244, 131, 0, 0.12));
}

.story__image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.cta {
  margin-top: clamp(70px, 8vw, 110px);
  padding: clamp(82px, 10vw, 140px) 18px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(3, 29, 42, 0.92), rgba(3, 29, 42, 0.58)),
    url("keimei-formal-team.jpg") center / cover no-repeat;
}

.cta > div {
  width: min(980px, 100%);
  margin: 0 auto;
}

.cta p:not(.eyebrow) {
  width: min(720px, 100%);
  color: rgba(255, 255, 255, 0.84);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 13px 22px;
  color: var(--white);
  font-weight: 900;
  background: linear-gradient(135deg, var(--orange), #ffad22);
  box-shadow: 0 18px 36px rgba(244, 131, 0, 0.28);
}

@media (max-width: 900px) {
  .hero {
    min-height: 72svh;
    padding: 24px;
  }

  .hero__image {
    object-position: 58% center;
    opacity: 0.5;
  }

  .intro,
  .stats,
  .logo-grid,
  .story {
    grid-template-columns: 1fr;
  }

  .logo-card--large {
    grid-column: auto;
  }

  .story__image::before {
    inset: 16px -14px -16px 14px;
  }
}

@media (max-width: 540px) {
  h1 {
    font-size: clamp(40px, 15vw, 58px);
  }

  .button {
    width: 100%;
  }

  .logo-card {
    min-height: 150px;
  }
}
