.c-kv--rental {
  background-image: url(../img/kv/kv-rental.webp);
}
.rental__flow { margin-bottom: 5rem;}
.rental__flow-list {
  max-width: max-content;
  background-color: #f0f0f0;
  counter-reset: step;
  border-radius: 16px;
  padding: 1.5rem 5%;
  margin: auto;
}
.rental__flow-caption {
  max-width: max-content;
  font-size: var(--font-18);
  font-weight: var(--bold);
  line-height: 1;
  border: 2px solid var(--text);
  padding: .5rem;
  margin: 0 auto 1.5rem;
}
.rental__flow-item {
  counter-increment: step;
  font-weight: var(--bold);
}
.rental__flow-item + .rental__flow-item { margin-top: .5rem;}
.rental__flow-item::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2em;
  height: 1.2em;
  font-size: 80%;
  line-height: 1.2em;
  text-align: center;
  border: 1px solid var(--text);
  border-radius: 50%;
  margin-right: 1em;
}
.rental__space-item {
  display: flex;
}
.rental__space-item + .rental__space-item {
  margin-top: 5rem;
}
.rental__space-item-img {
  width: 40%;
}
.rental__space-item-text {
  width: 60%;
  margin-left: 5%;
}
.rental__space-item-title {
  font-size: var(--font-32);
  font-weight: var(--bold);
  line-height: 1;
  padding: .5rem 0 1rem;
  border-bottom: 2px solid var(--text);
  margin-bottom: 1rem;
}
.rental__space-item-info {
  font-size: var(--font-14);
  margin-top: 1rem;
}
.rental__space-item-link {
  text-align: right;
  margin-top: 2rem;
}

@media (max-width: 1023px) {
  .rental__space-item { display: block;}
  .rental__space-item-img { display: none;}
  .rental__space-item-text { width: 100%; max-width: 600px; margin: 0 auto;}
  .rental__space-item-title { text-align: center;}
  .rental__space-item-content::before {
    content: "";
    display: block;
    aspect-ratio: 1 / .6;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 1rem;
  }
  .rental__space-item.create .rental__space-item-content::before { background-image: url(../img/rental/thumbnail.jpg);}
  .rental__space-item.studio .rental__space-item-content::before { background-image: url(../img/rental/thumbnail.jpg);}
  .rental__space-item.cafe .rental__space-item-content::before { background-image: url(../img/rental/thumbnail.jpg);}
  .rental__space-item.process .rental__space-item-content::before { background-image: url(../img/rental/thumbnail.jpg);}
  .rental__space-item.office .rental__space-item-content::before { background-image: url(../img/rental/thumbnail.jpg);}
  .rental__space-item.online .rental__space-item-content::before { background-image: url(../img/rental/thumbnail.jpg);}
  .rental__space-item-link { text-align: center;}
}