.wall {
  padding: 4rem 0;
}

.wall__intro {
  max-width: 936px;
  margin: 0 auto;
  padding: 0 1.35rem;
}

.wall__intro-image {
  width: 100%;
  aspect-ratio: 348 / 435;
  max-width: 450px;
  display: block;
  margin: 0 auto 4rem;
  object-fit: cover;
}

.tf-wall {
  margin: 8rem 0 2rem;
  padding: 0 1.35rem;
}

.tf-wall__images {
  margin: 2.1rem auto 0;
  padding: 0 1.4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 550px) {
  .tf-wall__images {
    grid-template-columns: 1fr 1fr;
  }
}

.tf-wall__image {
  width: 100%;
  aspect-ratio: 320 / 173;
  object-fit: cover;
}

.tf-wall__caption {
  margin: 2rem auto;
}

.tf-wall__caption-title {
  font-size: 2.4rem;
  line-height: 3.5rem;
  text-align: center;
  margin-bottom: 1rem;
}

.wall__swiper {
  width: 100%;
}

.wall__swiper .swiper-wrapper {
  align-items: stretch;
}

.wall__slide {
  width: min(80vw, 300px);
  background-color: #fff;
  display: flex;
  flex-direction: column;
  height: auto;
  overflow: hidden;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 4px 8px;
}

.wall__slide-image {
  width: 100%;
  aspect-ratio: 300 / 225;
  object-fit: contain;
}

.wall__slide-content {
  padding: 1rem 2rem 1.7rem;
}

.wall__slide-title {
  font-size: 1.8rem;
  line-height: 2.6rem;
  text-align: center;
  margin-bottom: 1.1rem;
}

.wall__slide-text {
  width: 100%;
  font-size: 1.4rem;
  line-height: 2.4rem;
  background-color: #fff;
}

.swiper-buttons {
  width: min(80vw, 300px);
  display: flex;
  justify-content: space-between;
  margin: 2rem auto 0;
}

.swiper-button {
  cursor: pointer;
}

.swiper-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.swiper-button--next {
  transform: scaleX(-1);
}

.comparison {
  padding: 8rem 1.4rem 0;
}

.comparison__title {
  font-size: 2rem;
  text-align: center;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid #707070;
  margin: 0 auto 2rem;
  max-width: 552px;
}

.comparison__hero {
  font-size: 1.8rem;
  text-align: center;
  width: calc(100% + 29px);
  position: relative;
  left: -14px;
  font-weight: 700;
  line-height: 2rem;
  margin-bottom: 1.8rem;
}

.wall-types {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  max-width: 1128px;
  margin: 0 auto;
  justify-content: center;
}

.wall-type {
  width: min(85.34vw, 320px);
  table-layout: fixed;
}

.wall-type__image {
  width: 100%;
  aspect-ratio: 320 / 228;
  object-fit: cover;
}

.wall-type__info {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin-bottom: 1rem;
}

.wall-type__info thead {
  color: #9b6173;
  background-color: #fcecdb;
  font-size: 1.4rem;
  line-height: 2rem;
  padding: 0.3rem 0 0.1rem;
  height: 24.5px;
}

.wall-type__info th,
.wall-type__info td {
  border: 1px solid #707070;
}

.wall-type__info td {
  padding: 6.5px 0 4px;
  text-align: center;
  background-color: #bd9e8f;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.4rem;
  font-weight: 700;
}

.wall-type__info td span:first-child {
  font-size: 24px;
  line-height: 35px;
  margin-bottom: 1px;
}

.wall-type__info td span {
  display: block;
}

.small {
  font-size: 1.1rem;
}

.wall-type__text {
  line-height: 1.5;
}

.series-section {
  padding: 4rem 0;
}

.series-section--decorated {
  position: relative;
  background-color: #2d4074;
  margin: 8rem 0;
}

.series-section--decorated::before {
  content: "";
  display: block;
  width: 100%;
  height: 80px;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  background-color: #2d4074;
  position: absolute;
  top: -79.5px;
  left: 0;
}

.series-section--decorated::after {
  content: "";
  display: block;
  width: 100%;
  height: 80px;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  background-color: #2d4074;
  position: absolute;
  bottom: -79.5px;
  left: 0;
}

.series__intro {
  margin: 4rem auto 0;
  padding: 0 2.75rem;
}

.series__intro-image {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: auto;
  max-width: 450px;
}

.series__intro-title {
  font-size: 1.8rem;
  text-align: center;
  margin: 2.1rem 0 1rem;
}

.series-section--decorated .series__intro-title {
  color: #fff;
}

.series-section--decorated .series__intro-text {
  color: #fff;
}

.series__swiper {
  margin-top: 4rem;
  width: 100%;
  align-items: stretch;
}

.series__slide {
  width: min(80vw, 300px);
  background-color: #fff;
  height: auto;
}

.series__slide-image {
  width: 100%;
  aspect-ratio: 300 / 225;
}

.series__slide-content {
  padding: 1rem 2rem 1.7rem;
  background-color: #fff;
}

.series__slide-title {
  font-size: 1.8rem;
  line-height: 2.6rem;
  text-align: center;
}

.series__slide-text {
  font-size: 1.4rem;
  line-height: 2.4rem;
  margin-top: 1.1rem;
}

.series__swiper--furniture .series__slide {
  box-shadow: rgba(149, 157, 165, 0.2) 0px 4px 8px;
}

.link {
  margin-top: 12rem;
  margin-bottom: 8rem;
}

.series__intro-title {
  font-size: 1.8rem;
  text-align: center;
  margin: 2.1rem 0 1rem;
}

.series-section--furniture {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .wall__intro-image {
    aspect-ratio: 744 / 980;
    max-width: 744px;
    margin: 0 auto 2rem;
  }

  .wall__intro-text {
    text-align: center;
    font-size: 2rem;
    line-height: 3.6rem;
  }

  .tf-wall {
    margin: 4.4rem 0 8.8rem;
  }

  .tf-wall__images {
    margin: 4rem auto 0;
    box-sizing: content-box;
    gap: 2.4rem;
    max-width: 1128px;
  }

  .tf-wall__caption {
    margin: 1rem auto 0;
    max-width: 1128px;
  }
  .tf-wall__caption-title {
    text-align: left;
    margin-bottom: 1rem;
  }

  .swiper-container {
    position: relative;
    overflow: hidden;
  }

  @media (min-width: 1000px) {
    .wall__slide {
      width: 360px;
    }

    .wall__swiper {
      width: calc(100vw - 120px);
      margin-left: 120px;
    }

    .swiper-buttons {
      position: absolute;
      width: calc(360px * 3 + 48px + 58px);
      margin: 0;
      top: calc(50% + 4rem);
      transform: translateY(-50%);
      left: calc(120px - 30px);
      z-index: 2;
    }

    .series-section--decorated .swiper-buttons {
      width: calc(360px * 3 + 48px + 64px);
      left: calc(120px - 32px);
    }

    .swiper-button {
      width: 50px !important;
      height: 50px !important;
    }

    .series-section--decorated .swiper-button {
      width: 68px !important;
      height: 68px !important;
    }

    @media (min-width: 1367px) {
      .wall__swiper {
        width: calc(100vw - 120px - 50vw + 683px);
        margin-left: calc(120px + 50vw - 683px);
      }

      .series__swiper {
        width: calc(100vw - 120px - 50vw + 683px);
        margin-left: calc(120px + 50vw - 683px);
      }

      .swiper-buttons {
        left: calc(120px + 50vw - 683px - 25px);
      }

      .series-section--decorated .swiper-buttons {
        width: calc(360px * 3 + 48px + 68px);
        left: calc(120px + 50vw - 683px - 34px);
      }
    }

    @media (max-width: 1365px) {
      .swiper-buttons {
        width: calc(100vw - 120px - 50px);
      }

      .series-section--decorated .swiper-buttons {
        width: calc(100vw - 120px - 40px);
      }
    }
  }

  .series-section .comparison {
    padding: 6rem 1.4rem 0;
  }

  .comparison__title {
    font-size: 2.8rem;
    line-height: 4rem;
    margin-bottom: 4.8rem;
    padding-bottom: 1rem;
  }

  .comparison__hero {
    font-size: 2.4rem;
    line-height: 3.6rem;
    margin-bottom: 4rem;
  }

  .wall {
    padding-bottom: 4.3rem;
    overflow: hidden;
  }

  .wall-types {
    gap: 2.4rem;
  }

  .wall-type {
    width: clamp(320px, 26.4vw, 360px);
    table-layout: fixed;
  }

  .wall-type__image {
    aspect-ratio: 360 / 257;
  }

  .series-section--decorated {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }

  .series__intro {
    max-width: 936px;
    box-sizing: content-box;
  }

  .series__intro-image {
    max-width: 936px;
  }

  .series__intro-title {
    font-size: 2.4rem;
    text-align: left;
    margin: 1rem auto;
    max-width: 936px;
  }

  .series-section--decorated .series__intro-text {
    margin: 0 auto;
  }

  @media (min-width: 1000px) {
    .series__slide {
      width: 360px;
    }

    .series__swiper {
      width: calc(100vw - 120px);
      margin-left: 120px;
      margin-top: 8rem;
    }

    @media (min-width: 1367px) {
      .series__swiper {
        width: calc(100vw - 120px - 50vw + 683px);
        margin-left: calc(120px + 50vw - 683px);
      }
    }
  }

  .series-section--furniture {
    padding-top: 16rem;
    padding-bottom: 16rem;
  }

  .link {
    margin-top: 14rem;
    margin-bottom: 12rem;
  }
}
