:root {
  --header-height: 198px;
  --font-size-base: clamp(16px, calc(15.243243243243244px + 0.21621621621621623vw), 20px);
  --font-size-lg: clamp(25.6px, calc(24.389189189189192px + 0.34594594594594585vw), 32px);
}

[nh-list-product] {
  margin-inline: auto;
}

#hero-text {
  top: 30%;
  left: 4%;
}
#hero-text h1 {
  text-align: left;
}
#intro-text {
  padding-block: 10em;
}

#feature {
  background-color: var(--black);
}

.feature-item {
  position: relative;
  height: calc(var(--feature-item-height) * 3);
}

.feature-item-image {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--feature-item-height);
  z-index: 1;
  background: var(--black);
}

.feature-item-image img {
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  object-position: top right;
  transition: opacity 1s ease-in-out;
}

.feature-item-image img.show {
  opacity: 1;
}

.feature-item-text-container {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.feature-item-text {
  width: 65%;
  margin-left: auto;
  padding: 5%;
  background-color: rgba(30, 23, 25, 0.85);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* 下スクロール時（slide-in） */
.feature-item-text.show {
  opacity: 1;
  transform: translateY(0);
}

/* 上スクロール時（fade-in ふわっと固定） */
.feature-item-text.static-text {
  opacity: 1;
  transform: scale(1.05) translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.feature-item-text h2 {
  font-size: var(--font-size-lg);
  line-height: calc(var(--font-size-base) * 2.25);
  margin-bottom: 1em;
}

#sr {
  align-items: center;
  margin: 12rem 8%;
}

.sr-container {
  height: 400px;
}
.sr-header {
  height: 100%;
  aspect-ratio: 3/2;
  margin-left: 20px;
}

.sr-about {
  width: fit-content;
}

.sr-about > * {
  width: fit-content;
}
