:root {
  --navy: #123a5c;
  --blue: #1c68a8;
  --red: #c82f46;
  --ink: #172333;
  --muted: #607184;
  --line: #d9e2ea;
  --soft: #f4f7fa;
  --paper: #ffffff;
  --gold: #c69b4e;
  --shadow: 0 18px 45px rgba(18, 58, 92, 0.12);
}

* {
  box-sizing: border-box;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 236px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  font-weight: 800;
  background: var(--navy);
  border-radius: 8px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.2;
}

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

.site-nav a {
  padding: 9px 13px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  border-radius: 6px;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--navy);
  background: #edf3f8;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  min-height: calc(100vh - 76px);
  padding: clamp(48px, 7vw, 90px) clamp(20px, 5vw, 78px) clamp(34px, 5vw, 62px);
  background: linear-gradient(110deg, #f8fafc 0%, #eef5fb 58%, #ffffff 58%);
}

.hero-copy {
  max-width: 680px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  color: var(--navy);
  font-size: clamp(2.15rem, 5vw, 4.8rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  color: var(--navy);
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  line-height: 1.28;
}

h3 {
  color: var(--navy);
  font-size: 1.12rem;
  line-height: 1.35;
}

.lead {
  color: #405267;
  font-size: clamp(1.02rem, 1.6vw, 1.24rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 21px;
  font-weight: 800;
  border-radius: 6px;
  border: 1px solid var(--navy);
}

.button.primary {
  color: #fff;
  background: var(--navy);
}

.button.secondary {
  color: var(--navy);
  background: #fff;
}

.hero-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(20px, 5vw, 70px);
  padding: clamp(38px, 6vw, 70px) clamp(20px, 5vw, 78px);
  color: #fff;
  background: var(--navy);
}

.intro-band h2,
.intro-band p,
.closing-message h2 {
  color: #fff;
}

.intro-band > p {
  margin-bottom: 0;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.section {
  padding: clamp(44px, 7vw, 84px) clamp(20px, 5vw, 78px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(170px, 1fr));
  gap: 16px;
}

.feature-card,
.qa-list article,
.rule-list article,
.timeline article,
.accent-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(18, 58, 92, 0.07);
}

.feature-card {
  display: block;
  min-height: 215px;
  padding: 24px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #aac3d9;
}

.feature-card span {
  display: block;
  margin-bottom: 22px;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 900;
}

.feature-card p,
.timeline p,
.rule-list p,
.qa-list p {
  color: var(--muted);
  margin-bottom: 0;
}

.page-hero {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 78px);
  color: #fff;
  background: linear-gradient(120deg, rgba(18, 58, 92, 0.94), rgba(28, 104, 168, 0.88)), url("assets/hero-career.png") center / cover;
}

.page-hero h1,
.page-hero .lead {
  max-width: 860px;
  color: #fff;
}

.page-hero.compact {
  min-height: 340px;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline article {
  display: grid;
  grid-template-columns: 110px minmax(180px, 270px) minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  padding: 22px 26px;
}

.timeline time {
  color: var(--red);
  font-weight: 900;
}

.timeline h2 {
  margin-bottom: 0;
  font-size: 1.24rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 22px;
}

.rule-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 16px;
}

.rule-list article {
  padding: 24px;
}

.rule-list span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--red);
  font-weight: 900;
}

.accent-panel {
  padding: 28px;
  background: #f7fafc;
}

.accent-panel dl {
  margin: 0;
}

.accent-panel div {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.accent-panel div:last-child {
  border-bottom: 0;
}

.accent-panel dt {
  color: var(--muted);
}

.accent-panel dd {
  margin: 0;
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 800;
}

.qa-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 18px;
}

.qa-list article {
  padding: 26px;
}

.qa-list h2 {
  font-size: 1.18rem;
}

.qa-list strong {
  color: var(--navy);
}

.closing-hero {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 216px);
  padding: clamp(64px, 9vw, 120px) 20px;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, #eef6fc, #ffffff 54%);
}

.closing-hero h1,
.closing-hero .lead {
  max-width: 900px;
}

.closing-hero .lead {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 78px);
  color: #d8e5ef;
  background: #0e263d;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1020px) {
  .hero,
  .two-column {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(190px, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero {
    padding-top: 34px;
    background: #f8fafc;
  }

  .intro-band,
  .timeline article,
  .rule-list,
  .qa-list {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .timeline article {
    gap: 8px;
  }

  .site-footer {
    flex-direction: column;
  }
}
