/* Section: Products (refactored, keeping heading component classes) */
.section.section--products {
  background: url(https://bijinrakan.jp/wp-content/themes/bijin-theme/assets/images/block/top-04-pc.png)
    no-repeat top center;
  background-size: 1600px;
  position: relative;
  overflow: hidden;
}

/* heading component adjustments only within products section */
.section--products .c-heading__area {
  margin: 0;
}

.section--products__inner {
  width: min(1400px, 90%);
  margin: 0 auto;
}
.section--products__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.section--products__item {
  display: flex;
  width: 114rem;
  margin: 0 auto;
  align-items: flex-start;
  gap: 102px;
  justify-content: space-between;
}
.section--products__item + .section--products__item {
  margin-top: min(12vw, 140px);
}
.section--products__item--left .section--products__media {
  order: 2;
}
.section--products__item--left .section--products__body {
  order: 1;
}
.section--products__item--right .section--products__media {
  order: 1;
}
.section--products__item--right .section--products__body {
  order: 2;
}

.section--products__body {
  display: flex;
  width: 408px;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}
.section--products__body--wide {
  max-width: 58rem;
  width: 100%;
}
.section--products__body p {
  line-height: 200%;
  font-size: 16px;
}
.section--products__lead {
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.6;
}
.section--products__note {
  display: block;
  font-size: 11px;
  opacity: 0.7;
}
.section--products__details {
  font-size: 13px;
}
.section--products__size {
  font-size: 13px;
  margin: 0 0 0.5em;
}
.section--products__price {
  margin: 0 0 2em;
  font-size: 13px;
}
.section--products__priceValue {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.section--products__priceTax {
  font-size: 11px;
  margin-left: 0.4em;
}

.section--products__media {
  position: relative;
  max-width: 440px;
}
/* Placeholder media classes (future images) */
.section--products__mediaMain {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.section--products__mediaMain--square {
  aspect-ratio: 1 / 1;
}
.section--products__mediaSubWrap {
  position: absolute;
  left: -49px;
  top: calc(100% - 30px);
  width: 328px;
  flex-shrink: 0;
  aspect-ratio: 325/217;
}
.section--products__mediaSubWrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.section--products__mediaSub {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #fff;
}

@media (max-width: 767px) {
  .section--products {
    .section--products__item.section--products__item--left {
    }
    padding: 0px 0;
    .c-heading__area {
      width: 100%;
      text-align: center;
    }
    .c-heading__copy {
      &.is-style-left {
        width: 100%;
        text-align: center;
        &:after {
          left: 50%;
          transform: translateX(-50%);
        }
      }
    }
    .c-heading__lead {
      text-align: center;
      font-size: 2rem;
      width: 100%;
    }
    .section--products__btn-wrap {
      width: 100%;
    }
  }
  .section--products__item {
    display: block;
    width: 100%;
    padding: 60px 0 0;
  }
  .section--products__media {
    margin-bottom: 56px;
  }
  .section--products__mediaSubWrap {
    width: 55%;
    left: 10%;
    bottom: -22%;
  }
  .section--products__item--right .section--products__mediaSubWrap {
    right: 10%;
    left: auto;
  }
  .section--products__body {
    font-size: 12px;
    width: 100%;
  }
  .section--products__body p {
    font-size: 14px;
  }
  .section--products__item + .section--products__item {
    margin-top: 120px;
  }
  .section--products .heading__area {
    margin-top: 2rem;
  }
  .section.section--products {
    background: url(https://bijinrakan.jp/wp-content/themes/bijin-theme/assets/images/back/back-04.png)
      no-repeat bottom center;
    background-size: 100%;
    position: relative;
    overflow: hidden;
    padding-bottom: 30rem;
  }
}
