/* -----------------------
mv
----------------------- */
.purchase-and-resale .mv .in .flex-img {
  overflow: hidden;
}
.purchase-and-resale .mv .in .flex-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.purchase-and-resale .mv .in .flex-txt {
  top: 16.6rem;
  bottom: auto;
  width: 77rem;
  padding: 3.6rem 5.6rem 0 8rem;
}
.purchase-and-resale .mv {
  padding-bottom: 20rem;
}
.purchase-and-resale .mv::after {
  bottom: 7.3rem;
}
.purchase-and-resale .mv .in .flex-txt .ttl-h2-serif {
  font-size: 2.8rem;
  margin-bottom: 4.8rem;
}
.purchase-and-resale .mv .in .flex-txt .ttl-h2-serif small {
  display: block;
  margin-bottom: 2.8rem;
  font-size: 2.2rem;
}
@media screen and (max-width: 767px) {
  .purchase-and-resale .mv {
    padding-bottom: 3.4rem;
  }
  .purchase-and-resale .mv .in .flex-txt {
    width: calc(100% + 4rem);
    padding: 3rem 2rem 3.6rem;
  }
  .purchase-and-resale .mv .in .flex-txt .ttl-h2-serif {
    margin-bottom: 3rem;
  }
  .purchase-and-resale .mv::after {
    bottom: -3.5rem;
    right: 0;
  }
}

/* -----------------------
contents1
----------------------- */
.purchase-and-resale .contents1 .ttl-h2 {
  margin-bottom: 5.6rem;
  font-size: 3.6rem;
  line-height: 1.16;
}
.purchase-and-resale .contents1 .bg {
  padding: 8rem 0 5rem;
  background: var(--color-green-bg);
}
.purchase-and-resale .contents1 .bg .in {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 122.2rem;
}
.purchase-and-resale .contents1 .bg .in .item {
  width: 51.7rem;
}
.purchase-and-resale .contents1 .bg .in .ttl-h3 {
  width: max-content;
  min-width: 32.1rem;
  margin: 0 auto 6.5rem;
  padding: 0.9rem 0;
  border-top: 1px solid rgb(0 73 93 / 0.5);
  border-bottom: 1px solid rgb(0 73 93 / 0.5);
  font-size: 2.2rem;
  font-weight: var(--bold);
  letter-spacing: 0.2em;
  color: var(--color-green);
  text-align: center;
}
.purchase-and-resale .contents1 .bg .in .list {
  position: relative;
  display: block;
  margin: 0 auto;
  z-index: 1;
  counter-reset: estate;
}
.purchase-and-resale .contents1 .bg .in .list li {
  position: relative;
  width: 100%;
  padding-left: 8rem;
  font-size: 2.2rem;
  font-weight: var(--bold);
  letter-spacing: 0.02em;
  line-height: 1.63;
}
.purchase-and-resale .contents1 .bg .in .list li small {
  display: block;
  margin-top: 1.7rem;
  font-size: 1.5rem;
  font-weight: var(--regular);
  line-height: 2;
}
.purchase-and-resale .contents1 .bg .in .list li::before {
  position: absolute;
  left: 0;
  top: -1rem;
  content: "0" counter(estate);
  counter-increment: estate;
  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;
}
.purchase-and-resale .contents1 .bg .in .list li + li {
  margin-top: 3.2rem;
}
.real-estate-sales.purchase-and-resale .contents1 .flex {
  padding-top: 8rem;
}
@media screen and (max-width: 767px) {
  .purchase-and-resale .contents1 .ttl-h2 {
    margin-bottom: 4rem;
    font-size: 2.2rem;
    letter-spacing: 0.05em;
    line-height: 1.9;
  }
  .purchase-and-resale .contents1 .bg {
    padding: 5rem 0;
  }
  .purchase-and-resale .contents1 .bg .in {
    flex-direction: column;
    gap: 5rem;
  }
  .purchase-and-resale .contents1 .bg .in .item {
    width: 100%;
  }
  .purchase-and-resale .contents1 .bg .in .list li {
    padding-left: 7.3rem;
  }
  .purchase-and-resale .contents1 .bg .in .list li small {
    font-size: 1.4rem;
    line-height: 2.14;
  }
  .real-estate-sales.purchase-and-resale .contents1 .flex {
    padding-top: 5rem;
  }
  .real-estate-sales.purchase-and-resale .contents1 .flex-img {
    margin-top: 5rem;
  }
}


/* -----------------------
contents2
----------------------- */
.purchase-and-resale .contents2 {
  padding-top: 11.5rem;
}
.purchase-and-resale .contents2 .bg {
  padding: 6rem 0;
  background: #F8F8F8;
}
.purchase-and-resale .contents2 .bg .in {
  position: relative;
  display: block;
  max-width: 98rem;
}
.purchase-and-resale .contents2 .bg .in::before,
.purchase-and-resale .contents2 .bg .in::after {
  position: absolute;
  content: "";
  display: block;
}
.purchase-and-resale .contents2 .bg .in::before {
  top: -12.8rem;
  left: -36rem;
  width: 160.2rem;
  height: 42rem;
  background: url(../img/purchase-and-resale/purchase-and-resale_contents2_bg-top.png) center/contain no-repeat;
}
.purchase-and-resale .contents2 .bg .in::after {
  left: -26.2rem;
  bottom: -1rem;
  width: 19.2rem;
  height: 19.2rem;
  background: url(../img/purchase-and-resale/purchase-and-resale_contents2_bg-bottom.png) center/contain no-repeat;
}
.purchase-and-resale .contents2 .bg .in .list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8rem;
}
.purchase-and-resale .contents2 .bg .in .list li + li {
  margin-top: 3rem;
}
.purchase-and-resale .contents2 .bg .in .list li + li::after {
  content: none;
}
.purchase-and-resale .contents2 .bg .in .list li .img {
  position: relative;
  overflow: hidden;
  width: 32rem;
  min-width: 32rem;
  height: 20rem;
  border-radius: 0.8rem;
}
.purchase-and-resale .contents2 .bg .in .list li .img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media screen and (max-width: 767px) {
  .purchase-and-resale .contents2 {
    padding-top: 7.5rem;
  }
  .purchase-and-resale .contents2 .bg {
    padding: 6rem 0 9rem;
  }
  .purchase-and-resale .contents2 .bg .in .list li {
    flex-direction: column;
    gap: 4rem;
  }
  .purchase-and-resale .contents2 .bg .in .list li::before {
    top: 0.9rem;
    transform: unset;
  }
  .purchase-and-resale .contents2 .bg .in .list li .img {
    margin-left: -8rem;
  }
  .purchase-and-resale .contents2 .bg .in .list li + li {
    margin-top: 5.4rem;
  }
}


/* -----------------------
contents3
----------------------- */
.purchase-and-resale .contents3 .in {
  position: relative;
  padding: 10rem 0 8.3rem;
  max-width: 112.4rem;
}
.purchase-and-resale .contents3 .in::before,
.purchase-and-resale .contents3 .in::after {
  position: absolute;
  content: "";
  display: block;
  z-index: -1;
}
.purchase-and-resale .contents3 .in::before {
  left: -23.8rem;
  top: -4rem;
  width: 28rem;
  height: 82.6rem;
  background: url(../img/purchase-and-resale/purchase-and-resale_contents3_bg_left.png) center/contain no-repeat;
}
.purchase-and-resale .contents3 .in::after {
  bottom: 0.7rem;
  right: -29rem;
  width: 41.3rem;
  height: 86.6rem;
  background: url(../img/purchase-and-resale/purchase-and-resale_contents3_bg_right.png) center/contain no-repeat;
}
.purchase-and-resale .contents3 .in .lead-ttl {
  margin-bottom: 8.6rem;
}
.purchase-and-resale .contents3 .in .lead-ttl .ttl-h2 {
  margin: 0;
}
.purchase-and-resale .contents3 .in .flex {
  justify-content: space-between;
}
.purchase-and-resale .contents3 .in .flex-txt {
  margin-top: 5.7rem;
  width: 48rem;
}
.purchase-and-resale .contents3 .in .flex-txt .button {
  margin-top: 5.7rem;
}
.purchase-and-resale .contents3 .in .flex-img {
  position: relative;
  overflow: hidden;
  width: 44rem;
  height: 46rem;
  margin-right: 4.4rem;
}
.purchase-and-resale .contents3 .in .flex-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media screen and (max-width: 767px) {
  .purchase-and-resale .contents3 .in {
    padding: 6rem 2rem 3.5rem;
  }
  .purchase-and-resale .contents3 .in .lead-ttl {
    margin-bottom: 4rem;
  }
  .purchase-and-resale .contents3 .in .flex {
    flex-direction: column;
    gap: 6rem;
  }
  .purchase-and-resale .contents3 .in .flex-txt {
    margin: 0;
    width: 100%;
  }
  .purchase-and-resale .contents3 .in .flex-txt .button {
    margin: 5rem auto 0;
  }
  .purchase-and-resale .contents3 .in .flex-img {
    width: 31.8rem;
    height: 33.3rem;
    margin: 0;
  }
  .purchase-and-resale .contents3 .in::before {
    left: auto;
    right: 0;
    top: 0;
    width: 13.6rem;
    height: 10.4rem;
    background-image: url(../img/purchase-and-resale/purchase-and-resale_contents3_bg_left_sp.png);
  }
  .purchase-and-resale .contents3 .in::after {
    right: auto;
    left: 0;
    bottom: -6.2rem;
    width: 37rem;
    height: 17.3rem;
    background-image: url(../img/purchase-and-resale/purchase-and-resale_contents3_bg_right_sp.png);
  }
}