:root {
  color-scheme: light;
  --ink: #172126;
  --muted: #5d6a70;
  --line: #dce4e2;
  --paper: #fbfaf7;
  --soft: #eef5f2;
  --teal: #0d7771;
  --teal-dark: #095a56;
  --coral: #d9664f;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(23, 33, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(251, 250, 247, 0.96) 0%, rgba(251, 250, 247, 0.84) 43%, rgba(251, 250, 247, 0.2) 80%),
    linear-gradient(0deg, rgba(251, 250, 247, 0.98) 0%, rgba(251, 250, 247, 0.52) 45%, rgba(251, 250, 247, 0) 100%),
    url("./assets/skill-kit-hero.png") center / cover fixed;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: 118svh;
  display: grid;
  align-items: start;
  overflow: hidden;
  padding: clamp(28px, 5vw, 68px);
  isolation: isolate;
}

.hero__content {
  width: min(680px, 100%);
  padding-top: min(18svh, 150px);
  position: sticky;
  top: clamp(28px, 7svh, 80px);
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 0.88rem;
  font-weight: 800;
}

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

h1 {
  margin-bottom: 22px;
  font-size: 4.7rem;
  line-height: 1.02;
  font-weight: 900;
}

h1 span {
  display: block;
}

.lead {
  max-width: 620px;
  margin-bottom: 28px;
  color: #314047;
  font-size: 1.18rem;
  line-height: 1.9;
  font-weight: 600;
}

.hero__actions,
.action-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 13px 20px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 12px 28px rgba(13, 119, 113, 0.28);
}

.button--primary:hover {
  background: var(--teal-dark);
}

.button--secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(23, 33, 38, 0.14);
}

.button--wide {
  width: min(100%, 280px);
}

.note {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

.scroll-cue {
  position: absolute;
  left: clamp(28px, 5vw, 68px);
  bottom: 34px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section {
  padding: clamp(56px, 9vw, 108px) clamp(20px, 5vw, 68px);
  background: rgba(251, 250, 247, 0.9);
  backdrop-filter: blur(6px);
}

.section__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section h2 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: 3rem;
  line-height: 1.18;
  font-weight: 900;
}

.section--intro {
  background: rgba(255, 255, 255, 0.9);
}

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

.intro-grid article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.intro-grid span {
  display: block;
  margin-bottom: 36px;
  color: var(--coral);
  font-weight: 900;
}

.intro-grid h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.intro-grid p,
.steps span,
.action-panel p {
  color: var(--muted);
  line-height: 1.8;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  grid-row: 1 / span 2;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
  font-weight: 900;
}

.steps strong {
  display: block;
  grid-column: 2;
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.steps span {
  grid-column: 2;
}

.section--actions {
  padding-top: 32px;
}

.action-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: center;
  padding: clamp(24px, 5vw, 42px);
  border-radius: 8px;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.action-panel h2 {
  margin-bottom: 14px;
}

.action-list {
  justify-content: flex-end;
}

@media (max-width: 820px) {
  body {
    background:
      linear-gradient(0deg, rgba(251, 250, 247, 0.98) 0%, rgba(251, 250, 247, 0.84) 54%, rgba(251, 250, 247, 0.16) 100%),
      linear-gradient(90deg, rgba(251, 250, 247, 0.7), rgba(251, 250, 247, 0.18)),
      url("./assets/skill-kit-hero.png") 63% top / cover scroll;
  }

  .hero {
    min-height: 110svh;
  }

  .hero__content {
    padding-top: 26svh;
    position: relative;
    top: auto;
  }

  h1 {
    font-size: 3.1rem;
  }

  .lead {
    font-size: 1.06rem;
  }

  .section h2 {
    font-size: 2.2rem;
  }

  .intro-grid,
  .action-panel {
    grid-template-columns: 1fr;
  }

  .action-list {
    justify-content: stretch;
  }

  .button--wide {
    width: 100%;
  }
}

@media (max-width: 540px) {
  h1 {
    font-size: 2.32rem;
  }

  .section h2 {
    font-size: 1.85rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .steps li {
    grid-template-columns: 1fr;
  }
}
