/**
 * ファーストビュー（ヘッダー・ヒーロー・資料マルquee）
 * BEM: reno-section-fv
 */
.reno-section-fv__header {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.reno-section-fv__header img,
.reno-section-fv__lede img {
  max-width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .reno-section-fv__header {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    padding-top: 1.25rem;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
  }
}

.reno-section-fv__hero {
  position: relative;
  padding-top: 2.5rem;
}

.reno-section-fv__inner {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 768px) {
  .reno-section-fv__inner {
    padding-left: 5rem;
    padding-right: 5rem;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
  }
}

.reno-section-fv__lede {
  max-width: 26rem;
}

@media (min-width: 768px) {
  .reno-section-fv__lede {
    width: 26rem;
  }
}

.reno-section-fv__title {
  position: relative;
  z-index: 10;
  margin: 0;
  padding-top: 1rem;
  font-weight: 700;
  font-size: 1.4rem;
  color: #3f3f3f;
}

@media (min-width: 1024px) {
  .reno-section-fv__title {
    font-size: 3rem;
  }
}

.reno-section-fv__kicker {
  font-weight: 700;
  line-height: 1;
  font-size: 1.8rem;
  color: #f1f0ec;
  paint-order: stroke fill;
  -webkit-text-stroke: 3px #294b8e;
}

@media (min-width: 1024px) {
  .reno-section-fv__kicker {
    font-size: 3rem;
  }
}

/* SP〜タブレット: 白帯の上辺を「資料」行に揃え、6rem 行高は PC のみ */
.reno-section-fv__line {
  display: inline-block;
  font-size: 2.25rem;
  font-weight: 700;
  color: #3f3f3f;
  background-color: #fff;
  line-height: 1.2;
  padding: 0.3rem 0.5rem;
  margin-top: 1rem;
}

@media (min-width: 1024px) {
  .reno-section-fv__line {
    line-height: 6rem;
    padding: 0.25rem 0.5rem;
    font-size: 4.75rem;
    margin-top: 5rem;
  }
}

/* 行ボックスの高さ・白背景の上辺を「8」からではなく通常文字（資料 等）の行に合わせる */
.reno-section-fv__digit-wrap {
  position: relative;
  display: inline-block;
  height: 1em;
  /* 桁幅は抑えつつ、前後はわずかに余白 */
  min-width: clamp(2.65rem, 14vw, 3.15rem);
  margin-left: 0.16em;
  margin-right: 0.45rem;
  vertical-align: baseline;
  overflow: visible;
}

/* タブレット幅（PC未満）: 4rem 桁の前後余白 */
@media (min-width: 768px) and (max-width: 1023px) {
  .reno-section-fv__digit-wrap {
    min-width: 3.35rem;
    margin-right: 0.55rem;
  }
}

@media (min-width: 1024px) {
  /* 数字から transform/filter を外し letter-spacing を効かせる。影は filter ではなく text-shadow で統一 */
  .reno-section-fv__digit-wrap {
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    min-width: 4rem;
    margin-right: 0.42rem;
  }
}

.reno-section-fv__digit {
  position: absolute;
  left: 50%;
  bottom: 0;
  margin: 0;
  display: block;
  width: max-content;
  max-width: none;
  letter-spacing: 0;
  line-height: 1;
  font-size: 4rem;
  font-weight: 700;
  color: #294b8e;
  -webkit-text-fill-color: #294b8e;
  paint-order: stroke fill;
  -webkit-text-stroke: 12px #fff;
  filter: drop-shadow(0 0.2rem 0.2rem #aaa);
  transform: translateX(-50%);
}

@media (min-width: 1024px) {
  .reno-section-fv__digit {
    position: relative;
    left: auto;
    bottom: auto;
    flex-shrink: 0;
    font-size: 10.3125rem;
    letter-spacing: -0.72rem;
    -webkit-text-stroke: 16px #fff;
    filter: none;
    transform: none;
    margin-left: -0.38rem;
    -webkit-font-smoothing: antialiased;
    text-shadow: 0 0.2rem 0.35rem rgba(170, 170, 170, 0.55);
  }
}

.reno-section-fv__suffix {
  margin-left: -0.28rem;
  line-height: 1;
  font-weight: 700;
  color: #294b8e;
  -webkit-text-fill-color: #294b8e;
  paint-order: stroke fill;
  -webkit-text-stroke: 12px #fff;
  filter: drop-shadow(0 0.2rem 0.2rem #aaa);
}

@media (min-width: 1024px) {
  .reno-section-fv__suffix {
    -webkit-text-stroke: 16px #fff;
    -webkit-font-smoothing: antialiased;
    filter: none;
    text-shadow: 0 0.2rem 0.35rem rgba(170, 170, 170, 0.55);
  }
}

.reno-section-fv__line--tail {
  display: inline-block;
  font-size: 2.25rem;
  font-weight: 700;
  color: #3f3f3f;
  background-color: #fff;
  line-height: normal;
  padding: 0.25rem 0.5rem;
  margin-top: 0.65rem;
}

@media (min-width: 1024px) {
  .reno-section-fv__line--tail {
    margin-top: 1rem;
    font-size: 4.75rem;
    line-height: normal;
  }
}

.reno-section-fv__visual {
  position: absolute;
  top: calc(100% - 3rem);
  right: 0;
  z-index: 0;
  width: 100%;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 540px) {
  .reno-section-fv__visual {
    top: 60%;
    width: 45rem;
  }
}

@media (min-width: 768px) {
  .reno-section-fv__visual {
    right: 2.5rem;
  }
}

@media (min-width: 1281px) {
  .reno-section-fv__visual {
    top: 30%;
    width: 55rem;
  }
}

.reno-section-fv__marquee-shell {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
  padding-top: 200px;
}

@media (min-width: 768px) {
  .reno-section-fv__marquee-shell {
    padding-top: 18.5rem;
  }
}

.reno-section-fv__marquee {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  pointer-events: none;
}

.reno-section-fv__marquee-track {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.reno-section-fv__marquee-inner {
  display: flex;
  height: auto;
  width: max-content;
  max-width: none;
  align-items: stretch;
  gap: 0.625rem;
  will-change: transform;
  transform: translateZ(0);
}

.reno-section-fv__marquee-seq {
  display: flex;
  height: auto;
  flex-shrink: 0;
  align-items: stretch;
  gap: 0.625rem;
}

.reno-section-fv__marquee-img {
  height: auto;
  width: 176px;
  flex-shrink: 0;
  object-fit: contain;
  opacity: 0.9;
}
