:root {
  --navy: #071f3f;
  --navy-2: #0d2b54;
  --orange: #f26522;
  --ink: #071a33;
  --text: #243146;
  --muted: #697489;
  --line: #dce3ea;
  --paper: #ffffff;
  --soft: #f5f7f9;
  --shadow: 0 18px 40px rgba(8, 22, 43, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  line-height: 1.7;
  letter-spacing: 0;
}

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

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto 128px;
  align-items: stretch;
  min-height: 64px;
  color: #fff;
  background: var(--navy);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 0 24px;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border: 4px solid #fff;
  border-right-color: transparent;
  transform: rotate(45deg);
}

.brand-mark::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 10px;
  height: 10px;
  content: "";
  border: 3px solid #fff;
  border-left-color: transparent;
  border-bottom-color: transparent;
}

.site-nav {
  display: flex;
  align-items: center;
  height: 100%;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 19px;
  font-size: 0.86rem;
  font-weight: 700;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--orange);
}

.header-entry {
  display: grid;
  place-items: center;
  min-height: 64px;
  padding: 0 18px;
  overflow: hidden;
  font-size: 1.12rem;
  font-weight: 900;
  background: var(--orange);
  clip-path: polygon(22px 0, 100% 0, 100% 100%, 0 100%);
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  isolation: isolate;
  background: #fff;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background: linear-gradient(90deg, #fff 0%, #fff 28%, rgba(255, 255, 255, 0.82) 42%, rgba(255, 255, 255, 0.08) 68%, rgba(255, 255, 255, 0) 100%);
}

.hero::after {
  position: absolute;
  bottom: -1px;
  left: -20px;
  z-index: 4;
  width: 55%;
  height: 86px;
  content: "";
  background:
    linear-gradient(173deg, transparent 0 55%, var(--orange) 56% 65%, transparent 66%),
    linear-gradient(176deg, transparent 0 63%, var(--navy) 64% 100%);
}

.hero-photo {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 1;
  width: 72%;
  height: 100%;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  min-height: 480px;
  width: min(48%, 520px);
  padding: 42px 0 76px 56px;
}

.hero-copy h1 {
  margin: 0 0 22px;
  color: var(--navy);
  font-size: 4.25rem;
  font-weight: 900;
  line-height: 1.28;
}

.eyebrow {
  margin: 0;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 900;
}

.section-block {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 56px 28px;
}

.section-with-rail {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.section-rail {
  display: grid;
  align-content: center;
  justify-items: start;
  min-height: 206px;
  padding: 20px 10px 20px 4px;
  color: var(--navy);
}

.rail-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  color: var(--orange);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.section-rail h2 {
  margin: 0;
  padding-bottom: 18px;
  color: var(--navy);
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1.35;
  border-bottom: 2px solid var(--orange);
}

.rail-arrow {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-top: 22px;
  background: var(--navy);
}

.rail-arrow::before {
  width: 9px;
  height: 9px;
  content: "";
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.work-card,
.training-card {
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.work-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.work-card span,
.training-card span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 12px;
  color: #fff;
  font-weight: 800;
  line-height: 1.4;
  background: var(--navy);
}

.work-card:hover span,
.work-card:focus-visible span,
.training-card:hover span,
.training-card:focus-visible span {
  background: var(--orange);
}

.people-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.people-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.people-photos img {
  width: 100%;
  height: 238px;
  object-fit: cover;
  object-position: center top;
}

.people-panel p {
  position: absolute;
  right: 36px;
  bottom: 22px;
  margin: 0;
  color: #fff;
  font-family: "Hiragino Mincho ProN", "YuMincho", "Yu Mincho", "Hiragino Mincho Pro", serif;
  font-size: 2.35rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.06em;
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.18),
    0 6px 18px rgba(0, 19, 45, 0.55),
    0 0 20px rgba(255, 255, 255, 0.28);
  transform: rotate(-2deg) skewX(-7deg);
  transform-origin: right bottom;
  -webkit-text-stroke: 0.15px rgba(255, 255, 255, 0.6);
}

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

.training-card img {
  width: 100%;
  aspect-ratio: 1.56 / 1;
  object-fit: cover;
}

.data-section {
  align-items: stretch;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  border: 1px solid var(--line);
  background: #fff;
}

.stat-card {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 178px;
  padding: 24px 12px;
  text-align: center;
  border-left: 1px solid var(--line);
}

.stat-card:first-child {
  border-left: 0;
}

.stat-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 36px;
  margin-bottom: 14px;
  color: var(--navy);
}

.stat-icon svg {
  width: 36px;
  height: 36px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.7;
}

.stat-card p {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.45;
}

.stat-card strong {
  color: var(--navy);
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
}

.stat-card small {
  margin-left: 4px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
}

.requirements-content {
  display: grid;
  gap: 18px;
}

.requirements-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.requirements-photos img {
  width: 100%;
  aspect-ratio: 2.35 / 1;
  object-fit: cover;
}

.requirements-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: #fff;
}

.requirements-links a {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 66px;
  padding: 12px 10px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
  border-left: 1px solid var(--line);
}

.requirements-links a:first-child {
  border-left: 0;
}

.requirements-links a:hover,
.requirements-links a:focus-visible {
  color: #fff;
  background: var(--navy);
}

.entry-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 420px) 280px;
  align-items: stretch;
  width: min(100% - 56px, 1120px);
  min-height: 190px;
  margin: 28px auto 76px;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

.entry-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  gap: 24px;
  padding: 34px 52px;
  background: var(--navy);
  clip-path: polygon(0 0, 88% 0, 100% 100%, 0 100%);
}

.entry-copy p {
  margin: 0;
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1.55;
}

.entry-icons {
  display: flex;
  gap: 18px;
}

.entry-icons span {
  width: 28px;
  height: 28px;
  border: 2px solid var(--orange);
  border-radius: 50%;
}

.entry-icons span:nth-child(2) {
  border-radius: 8px;
}

.entry-icons span:nth-child(3) {
  border-radius: 0;
  border-top: 0;
}

.entry-button {
  position: relative;
  z-index: 3;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 26px 34px 26px 64px;
  background: var(--orange);
  clip-path: polygon(54px 0, 100% 0, calc(100% - 34px) 100%, 0 100%);
}

.entry-button span {
  display: block;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.entry-button small {
  margin-top: 8px;
  font-size: 0.88rem;
  font-weight: 800;
}

.entry-button::after {
  width: 22px;
  height: 22px;
  margin-top: 18px;
  content: "";
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(45deg);
}

.entry-photo {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) 64px 104px;
  }

  .brand {
    padding: 0 18px;
    font-size: 1.05rem;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    height: auto;
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    min-height: 52px;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .menu-button {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    padding: 16px 18px;
    color: #fff;
    background: transparent;
    border: 0;
  }

  .menu-button span:not(.visually-hidden) {
    display: block;
    width: 25px;
    height: 2px;
    background: currentColor;
  }

  .header-entry {
    font-size: 0.92rem;
  }

  .hero-copy h1 {
    font-size: 3.2rem;
  }

  .section-with-rail {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-rail {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    min-height: auto;
    padding: 0;
  }

  .rail-icon {
    margin: 0 14px 0 0;
  }

  .section-rail h2 {
    padding-bottom: 8px;
    font-size: 1.45rem;
  }

  .rail-arrow {
    margin-top: 0;
  }

  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid,
  .requirements-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-card:nth-child(odd),
  .requirements-links a:nth-child(odd) {
    border-left: 0;
  }

  .entry-section {
    grid-template-columns: 1fr;
  }

  .entry-copy,
  .entry-button {
    clip-path: none;
  }

  .entry-photo {
    display: none;
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) 56px 92px;
    min-height: 58px;
  }

  .brand {
    gap: 8px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .brand-mark {
    width: 19px;
    height: 19px;
    border-width: 3px;
  }

  .menu-button {
    width: 56px;
    height: 58px;
  }

  .header-entry {
    min-height: 58px;
    padding: 0 10px 0 16px;
    font-size: 0.78rem;
    clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%);
  }

  .hero {
    min-height: 560px;
  }

  .hero::before {
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.96) 43%, rgba(255, 255, 255, 0.2) 68%, rgba(255, 255, 255, 0) 100%);
  }

  .hero::after {
    width: 92%;
  }

  .hero-photo {
    top: 170px;
    width: 100%;
    height: calc(100% - 170px);
  }

  .hero-copy {
    justify-content: start;
    min-height: 560px;
    width: 100%;
    padding: 42px 24px 0;
  }

  .hero-copy h1 {
    font-size: 2.75rem;
  }

  .section-block {
    padding: 44px 20px;
  }

  .work-grid,
  .training-grid,
  .requirements-photos {
    grid-template-columns: 1fr;
  }

  .people-photos {
    grid-template-columns: 1fr;
  }

  .people-photos img {
    height: 180px;
  }

  .people-panel p {
    right: 18px;
    bottom: 18px;
    left: 18px;
    font-size: 1.45rem;
  }

  .stats-grid,
  .requirements-links {
    grid-template-columns: 1fr;
  }

  .stat-card,
  .requirements-links a,
  .stat-card:nth-child(odd),
  .requirements-links a:nth-child(odd) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .stat-card:first-child,
  .requirements-links a:first-child {
    border-top: 0;
  }

  .entry-section {
    width: calc(100% - 40px);
    margin-bottom: 48px;
  }

  .entry-copy {
    padding: 30px 26px;
  }

  .entry-copy p {
    font-size: 1.55rem;
  }

  .entry-button {
    padding: 28px 24px;
  }

  .entry-button span {
    font-size: 2.45rem;
  }
}
