/* ----------------------------------
mv
---------------------------------- */
.house-building-wrap #mv .in {
  margin-top: 5rem;
}
.house-building-wrap #mv .ttl-h2-serif img {
  width: 24rem;
  margin: 0 auto 2rem;
}
.house-building-wrap #mv .ttl-h2-serif {
  margin: 0 auto 4rem;
  text-align: center;
}
.house-building-wrap #mv .txt {
  max-width: 96rem;
  margin: 0 auto;
}


/* ----------------------------------
contents
---------------------------------- */
.house-building-wrap .contents .in {
  position: relative;
  padding: 12rem 0 2rem;
}
.house-building-wrap .contents .ttl-h2-serif {
  margin-bottom: 4rem;
  font-size: 3.6rem;
}
.house-building-wrap .contents .ttl-h2-serif small {
  display: block;
  padding: 0 0 1.1rem 0.5rem;
  font-size: 1.2rem;
  font-family: var(--font-en);
  font-weight: var(--semibold);
  letter-spacing: 0.4em;
  color: var(--color-pink);
}
.house-building-wrap .contents .ttl-h2-serif.center {
  text-align: center;
}
.house-building-wrap .contents .flex {
  position: relative;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}
.house-building-wrap .contents .flex + .flex {
  margin-top: 8rem;
}
.house-building-wrap .contents .flex.reverse {
  flex-direction: row-reverse;
}
.house-building-wrap .contents .flex-txt {
  width: 62rem;
}
.house-building-wrap .contents .flex-img {
  position: relative;
  overflow: hidden;
  width: 64rem;
  height: 41.6rem;
}
.house-building-wrap .contents .flex-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.house-building-wrap .contents .wrap {
  position: relative;
  max-width: 96rem;
  margin: 0 auto;
  z-index: 2;
}
.house-building-wrap .contents:not(.txt-center) .wrap {
  margin-top: 10rem;
}
.house-building-wrap .contents.txt-left .wrap {
  margin-top: 10rem;
}
@media screen and (max-width: 767px) {
  .house-building-wrap .contents .flex {
    flex-direction: column-reverse !important;
    gap: 3rem;
  }
  .house-building-wrap .contents .in {
    padding: 7rem 2rem 0;
  }
  .house-building-wrap .contents .flex + .flex {
    margin-top: 7rem;
  }
  .house-building-wrap .contents .flex-txt {
    width: 100%;
  }
  .house-building-wrap .contents .flex-img {
    width: 100%;
    height: 27.7rem;
  }
  .house-building-wrap .contents .ttl-h2-serif small {
    padding-left: 0;
  }
  .house-building-wrap .contents .ttl-h2-serif {
    font-size: 3rem;
    margin-bottom: 2.9rem;
  }
  .house-building-wrap .contents:not(.txt-center) .wrap {
    margin-top: 7.7rem;
  }
}


/* ----------------------------------
list-wrap
---------------------------------- */
.house-building-wrap .list-wrap .in {
  position: relative;
  padding: 12rem 0 13rem;
}
.house-building-wrap .list-wrap .in::after {
  position: absolute;
  top: 0;
  right: 0;
  content: "";
  display: block;
  width: 100vw;
  margin-right: calc(100% - 100vw);
  height: 100%;
  background: var(--color-green-bg);
}
.house-building-wrap .list-wrap .list {
  position: relative;
  max-width: 96rem;
  width: max-content;
  margin: 0 auto;
  z-index: 1;
  counter-reset: building;
}
.house-building-wrap .list-wrap .list li {
  position: relative;
  padding-left: 7.2rem;
  font-size: 2.6rem;
  font-weight: var(--bold);
  letter-spacing: 0.02em;
  line-height: 1.38;
}
.house-building-wrap .list-wrap .list li::before {
  position: absolute;
  left: 0;
  top: -0.7rem;
  content: "0"counter(building);
  counter-increment: building;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.1rem;
  height: 5.1rem;
  border-radius: 100%;
  background: var(--color-pink);
  color: var(--color-white);
  font-size: 2.4rem;
  font-family: var(--font-en);
  font-weight: var(--bold);
  letter-spacing: 0.06em;
  line-height: 1;
}
.house-building-wrap .list-wrap .list li + li {
  margin-top: 4.6rem;
}


/* ----------------------------------
bottom-wrap
---------------------------------- */
.house-building-wrap .bottom-wrap {
  padding: 10rem 0;
}
.house-building-wrap .bottom-wrap .bg-wrap {
  position: relative;
  margin-bottom: 22.3rem;
}
.house-building-wrap .bottom-wrap .bg-wrap::after {
  position: absolute;
  top: 0;
  left: 50%;
  content: "";
  display: block;
  width: 112rem;
  height: calc(100% + 10rem);
  background: var(--color-green-bg);
  transform: translateX(-50%);
  z-index: -1;
}
.house-building-wrap .bottom-wrap .txt {
  max-width: 96rem;
  margin: 0 auto;
}
.house-building-wrap .bottom-wrap .flex {
  justify-content: space-between;
  padding: 8rem 0 6rem;
}
.house-building-wrap .bottom-wrap .flex .img {
  position: relative;
  overflow: hidden;
  width: 63rem;
  height: 44.1rem;
  border-radius: 1rem;
}
.house-building-wrap .bottom-wrap .flex .img img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
}
.house-building-wrap .bottom-wrap .link {
  position: relative;
  display: block;
  width: 80rem;
  height: 22rem;
  margin: 15rem auto 0;
  border-radius: 0.8rem;
  background: var(--color-pink);
  color: var(--color-white);
}
.house-building-wrap .bottom-wrap .link .img {
  position: absolute;
  top: 50%;
  left: 3.4rem;
  overflow: hidden;
  width: 30.3rem;
  height: 30.3rem;
  border-radius: 100%;
  transform: translateY(-50%);

  background: gray;
}
.house-building-wrap .bottom-wrap .link .img img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
}
.house-building-wrap .bottom-wrap .link span {
  position: absolute;
  right: 12rem;
  top: 50%;
  font-size: 2.4rem;
  font-weight: var(--medium);
  letter-spacing: 0.06em;
  transform: translateY(-50%);
}
.house-building-wrap .bottom-wrap .link::before {
  position: absolute;
  top: 50%;
  left: 1.5rem;
  content: "";
  display: block;
  width: 34.2rem;
  height: 34.2rem;
  border-radius: 100%;
  background: var(--color-white);
  opacity: 0.2;
  transform: translateY(-50%);
  pointer-events: none;
}
.house-building-wrap .bottom-wrap .link::after {
  position: absolute;
  content: "";
  display: block;
  top: 50%;
  right: 5.2rem;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.8rem 0 0.8rem 1rem;
  border-color: transparent transparent transparent var(--color-white);
  transform: translateY(-50%);
}
@media screen and (max-width: 767px) {
  .house-building-wrap .bottom-wrap {
    padding: 7rem 0 10rem;
  }
  .house-building-wrap .bottom-wrap .flex {
    flex-direction: column;
    gap: 4rem;
    padding: 6rem 0 4rem;
  }
  .house-building-wrap .bottom-wrap .bg-wrap {
    margin-bottom: 16rem;
  }
  .house-building-wrap .bottom-wrap .bg-wrap::after {
    height: calc(100% + 6rem);
  }
  .house-building-wrap .bottom-wrap .flex .img {
    width: 100%;
    height: 24.5rem;
  }
  .house-building-wrap .bottom-wrap .link {
    width: 100%;
    height: auto;
    padding-bottom: 3.3rem;
    margin-top: 10rem;
  }
  .house-building-wrap .bottom-wrap .link span {
    position: relative;
    right: auto;
    top: auto;
    display: block;
    text-align: center;
    width: max-content;
    margin: 1rem auto 0;
    padding-right: 2.6rem;
    transform: unset;
  }
  .house-building-wrap .bottom-wrap .link span::after {
    position: absolute;
    content: "";
    display: block;
    top: 50%;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0.8rem 0 0.8rem 1rem;
    border-color: transparent transparent transparent var(--color-white);
    transform: translateY(-50%);
  }
  .house-building-wrap .bottom-wrap .link .img {
    position: relative;
    top: auto;
    left: auto;
    margin: 0 auto;
    transform: translateY(-4.1rem);
  }
  .house-building-wrap .bottom-wrap .link::before {
    top: -6.4rem;
    left: 50%;
    width: 35rem;
    height: 35rem;
    transform: translateX(-50%);
  }
  .house-building-wrap .bottom-wrap .link::after {
    content: none;
  }
}