/* No.22 横に流れる工程紹介 */

.hs-stage { background: var(--surface-1); }

.hs-intro {
  margin: 0;
  padding: clamp(22px, 4vw, 40px) clamp(16px, 4vw, 48px) 0;
  color: var(--text-2);
  font-size: 14.9px;
  text-align: center;
}

.hs-scroll { height: 420vh; }

.hs-sticky {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
}

.hs-viewport { overflow: hidden; }

.hs-track {
  display: flex;
  will-change: transform;
}

.hs-panel {
  flex: 0 0 100vw;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: 0 clamp(20px, 6vw, 90px);
}

.hs-photo {
  overflow: hidden;
  aspect-ratio: 4 / 3.2;
  border-radius: 4px 24px 24px 24px;
  background: var(--surface-2);
  box-shadow: 0 24px 54px rgba(40, 107, 112, 0.16);
}
.hs-photo img { width: 100%; height: 100%; object-fit: cover; }

.hs-text { max-width: 420px; }
.hs-no {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
}
.hs-no::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  margin: 0 10px 4px 0;
  background: currentColor;
}
.hs-title {
  margin: 0 0 14px;
  color: var(--text);
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.hs-desc {
  margin: 0;
  color: var(--text-2);
  font-size: 14.9px;
  line-height: 1.95;
}

.hs-progress {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(560px, calc(100% - 40px));
  margin: clamp(22px, 4vh, 44px) auto 0;
}
.hs-progress-bar {
  flex: 1;
  height: 3px;
  background: rgba(83, 169, 175, 0.22);
  border-radius: 999px;
  transform-origin: left center;
  position: relative;
}
.hs-progress-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--p, 0%);
  background: var(--brand-deep);
  border-radius: 999px;
}
.hs-dots { display: flex; gap: 8px; }
.hs-dot {
  width: 7px;
  height: 7px;
  background: rgba(83, 169, 175, 0.3);
  border-radius: 50%;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.hs-dot.is-on { background: var(--brand-deep); transform: scale(1.4); }

@media (max-width: 860px) {
  .hs-scroll { height: 380vh; }
  .hs-panel {
    grid-template-columns: 1fr;
    gap: 20px;
    align-content: center;
    padding: 0 24px;
  }
  .hs-photo { aspect-ratio: 16 / 10; max-height: 34vh; }
  .hs-desc { font-size: 13.5px; line-height: 1.85; }
}
