@charset "utf-8";

.salon-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0 4rem;
}

.salon-list {
  display: grid;
  height: 80vh;
  place-content: center;
  position: relative;
}

.salon {
  width: 28rem;
}

.salon__ttl {
  font-size: 2.4rem;
  letter-spacing: .04em;
  line-height: 1;
  padding-bottom: 15vh;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  width: 34rem;
}

.salon-list:nth-child(1) .salon__ttl {
  left: 0;
}

.salon-list:nth-child(2) .salon__ttl {
  right: 0;
}

.salon__img {
  box-shadow: 0 .3rem .4rem rgb(138 125 132 / 50%);
}

.salon__name {
  font-size: 1.8rem;
  line-height: 1;
  margin-top: 1.5em;
}

.salon__info,
.salon__txt {
  font-size: 1.6rem;
  line-height: 1.43;
}

.salon__info {
  margin-top: .25em;
}

.salon__txt {
  margin-top: 1.25em;
}

.salon__txt-sm {
  font-size: 1.4rem;
  line-height: 1.42;
  margin-top: 1.25em;
}

/* ================================================================
  タブレットレイアウト
================================================================ */
@media screen and (max-width: 1024px) {

  .salon-list {
    justify-items: center;
  }

  .salon__ttl {
    padding-bottom: 1em;
    position: static;
    transform: none;
  }
}

/* ================================================================
  スマホ版レイアウト
================================================================ */
@media screen and (max-width: 750px) {
  .salon-lists {
    gap: 8rem;
    grid-template-columns: 1fr;
    padding: 5rem 0 6.5rem;
  }

  .salon-list {
    height: auto;
  }

  .salon {
    width: 23rem;
  }

  .salon__ttl,
  .salon__name {
    font-size: 1.6rem;
  }

  .salon__info,
  .salon__txt {
    font-size: 1.4rem;
  }

  .salon__txt-sm {
    font-size: 1.2rem;
  }

  .footer__marquee {
    padding-right: .6em;
  }
}