.as-hero {
  position: relative;
  height: 850px;
  min-height: 750px;
  overflow: hidden;
  background: var(--as-bg);
}

.as-hero__slides,
.as-hero__slide,
.as-hero__bg {
  position: absolute;
  inset: 0;
}

.as-hero__slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s ease;
}

.as-hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.as-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.as-hero__slide--content-right .as-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left;
}

/* 2枚目のラインナップ画像の右傾きを補正 */
.as-hero__slide:nth-child(2) .as-hero__bg img {
  transform: scale(1.25) rotate(-1.5deg);
  transform-origin: center;
}

.as-hero__content {
  position: relative;
  z-index: 2;
  width: min(92%, 1180px);
  height: 100%;
  margin: 0 auto;
  padding-top: 210px;
  box-sizing: border-box;
}

.as-hero__content-panel {
  width: min(100%, 950px);
}

.as-hero__slide--content-right .as-hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(520px, 900px);
  align-content: start;
  text-align: right;
}

.as-hero__slide--content-right .as-hero__content-panel {
  grid-column: 2;
}

.as-hero__label {
  width: fit-content;
  padding: 0;
  margin: 0 0 24px;
  background: transparent;
  color: #8aa7bd;
  font-size: 13px;
  letter-spacing: .14em;
  font-weight: 600;
}

.as-hero__copy {
  width: fit-content;
  padding: 10px 14px;
  margin: 0 0 34px;
  background: rgba(255, 255, 255, .22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1.85;
  letter-spacing: .16em;
  font-weight: 700;
      text-shadow: 0px 0px 5px #fff;
}

.as-hero__lead {
  width: fit-content;
  padding: 9px 13px;
  margin: 0 0 38px;
  background: rgba(226, 242, 248, .72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 15px;
  line-height: 2.15;
  letter-spacing: .12em;
  font-weight: 500;
}

.as-hero__slide--content-right .as-hero__label,
.as-hero__slide--content-right .as-hero__copy,
.as-hero__slide--content-right .as-hero__lead {
  margin-left: auto;
}

/* 3枚目は濃いスーツ上でも文字が読めるよう、文字ブロックの背景を強める */
.as-hero__slide:nth-child(3) .as-hero__copy {
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 8px 24px rgba(40, 49, 55, .1);
}

.as-hero__slide:nth-child(3) .as-hero__lead {
  background: rgba(226, 242, 248, .9);
  box-shadow: 0 8px 24px rgba(40, 49, 55, .1);
}

.as-hero__button {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 17px 36px;
  background: var(--as-blue);
  color: var(--as-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .12em;
}

.as-hero__button span {
  width: 28px;
  height: 1px;
  background: var(--as-text);
  position: relative;
}

.as-hero__button span::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--as-text);
  border-right: 1px solid var(--as-text);
  transform: rotate(45deg);
}

.as-hero__vertical {
  position: absolute;
  z-index: 3;
  right: 36px;
  top: 50%;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
  font-size: 10px;
  letter-spacing: .28em;
  color: rgba(64,59,52,.55);
}

.as-hero__dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: flex;
  gap: 18px;
}

.as-hero__dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(64,59,52,.28);
  cursor: pointer;
}

.as-hero__dots button.is-active {
  background: #111;
}

@media (max-width: 768px) {
  .as-hero {
    height: 100vh;
    min-height: 100vh;
  }

  .as-hero__bg img {
    object-position: 58% center;
  }

  .as-hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: min(88%, 360px);
    padding-top: 0;
    text-align: left;
  }

  .as-hero__slide--content-right .as-hero__content {
    display: flex;
    align-items: flex-start;
    text-align: left;
  }

  .as-hero__content-panel {
    width: 100%;
  }

  .as-hero__copy {
    background: rgba(255, 255, 255, .62);
  }

  .as-hero__lead {
    background: rgba(226, 242, 248, .82);
  }

  .as-hero__slide .as-hero__label,
  .as-hero__slide .as-hero__copy,
  .as-hero__slide .as-hero__lead {
    margin-right: 0;
    margin-left: 0;
  }

  .as-hero__copy {
    font-size: clamp(16px, 5.2vw, 21px);
    line-height: 1.8;
    letter-spacing: .08em;
    white-space: nowrap;
  }

  .as-hero__lead {
    font-size: 13px;
  }

  .as-hero__vertical {
    right: 4%;
    font-size: 9px;
  }
}
