* {
  box-sizing: border-box;
  min-width: 0;
}

:root {
  --ink: #172221;
  --muted: #626d6b;
  --green: #2e944d;
  --green-dark: #123126;
  --blue: #1f5f91;
  --paper: #f7f4ed;
  --soft: #eef1ee;
  --line: #ded8cb;
  --white: #ffffff;
  --shadow: 0 18px 44px rgba(20, 31, 29, 0.14);
}

html {
  scroll-behavior: smooth;
}

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

h1,
h2,
h3,
p,
a,
strong,
span,
small {
  overflow-wrap: anywhere;
}

a {
  color: inherit;
}

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

.mobile-only {
  display: none;
}

.shell,
.hero-inner,
.header-inner {
  width: calc(100% - 40px);
  max-width: 1120px;
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 244, 237, 0.9);
  border-bottom: 1px solid rgba(222, 216, 203, 0.86);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-dot {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green-dark);
}

.site-nav {
  gap: 22px;
  font-size: 14px;
  font-weight: 800;
}

.site-nav a {
  text-decoration: none;
}

.hero {
  min-height: 78vh;
  display: flex;
  align-items: end;
  padding: 96px 0 74px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(23, 34, 33, 0.88), rgba(23, 34, 33, 0.45)),
    url("assets/equipment.jpeg") center / cover;
}

.hero-inner {
  padding-top: 64px;
}

.eyebrow {
  margin: 0 0 8px;
  color: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}

.eyebrow.dark {
  color: var(--blue);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.16;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(48px, 8vw, 92px);
}

h2 {
  font-size: clamp(30px, 4.3vw, 48px);
}

h3 {
  font-size: 22px;
}

.lead {
  max-width: 680px;
  margin: 22px 0 0;
  font-size: 18px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 800;
}

.button.primary {
  color: var(--white);
  background: var(--green);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.86);
  background: rgba(23, 34, 33, 0.1);
}

.facts {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-left: 1px solid var(--line);
}

.fact {
  min-height: 150px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.fact strong {
  display: block;
  font-size: 24px;
  line-height: 1.3;
}

.fact span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 76px 0;
  background: var(--paper);
}

.soft-bg {
  background: var(--soft);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(280px, 0.96fr);
  gap: 34px;
  align-items: center;
}

.section-copy p,
.section-title p,
.license-layout p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
}

.link-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.link-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 82px;
  padding: 18px;
  color: var(--ink);
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(20, 31, 29, 0.06);
}

.link-list strong {
  display: block;
  font-size: 18px;
}

.link-list small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.link-list b {
  display: inline-flex;
  min-width: 62px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--green-dark);
  border-radius: 999px;
  font-size: 13px;
}

.image-panel {
  margin: 0;
  min-height: 360px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.section-title {
  max-width: 840px;
  margin-bottom: 32px;
}

.flow {
  display: grid;
  gap: 0;
}

.flow-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  padding: 18px 0;
  border-top: 1px solid #d4ddd6;
}

.flow-row:last-child {
  border-bottom: 1px solid #d4ddd6;
}

.flow-row strong {
  color: var(--blue);
}

.flow-row p {
  margin: 0;
  color: var(--muted);
}

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

.program-grid article {
  min-height: 220px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.program-grid p {
  margin: 12px 0 22px;
  color: var(--muted);
}

.program-grid span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 12px;
  color: var(--white);
  background: var(--blue);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.license-section {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.license-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 34px;
  align-items: center;
}

.license-image {
  padding: 10px;
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.license-image img {
  width: 900px;
  max-width: none;
}

.site-footer {
  padding: 32px 0;
  color: #dbe5e1;
  background: #101918;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin: 0;
  font-size: 13px;
}

.footer-inner img {
  width: min(460px, 100%);
  background: var(--white);
}

@media (max-width: 880px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .site-nav {
    width: 100%;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .facts-grid,
  .split,
  .program-grid,
  .license-layout {
    grid-template-columns: 1fr;
  }

  .image-panel {
    min-height: 260px;
  }

  .image-panel img {
    min-height: 260px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  h1,
  h2,
  h3,
  p,
  a,
  strong,
  span,
  small {
    word-break: break-all;
  }

  .shell,
  .hero-inner,
  .header-inner {
    width: calc(100% - 44px);
  }

  .hero {
    min-height: 74vh;
    padding: 72px 0 44px;
  }

  h1 {
    font-size: clamp(42px, 15vw, 60px);
  }

  h2 {
    font-size: 28px;
  }

  .lead {
    font-size: 15px;
  }

  .mobile-only {
    display: block;
  }

  .button {
    width: 100%;
  }

  .facts-grid {
    border-left: 0;
  }

  .fact {
    min-height: 118px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 54px 0;
  }

  .link-list a {
    grid-template-columns: 1fr;
  }

  .link-list b {
    width: 100%;
  }

  .flow-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .program-grid article {
    min-height: 0;
  }
}
