/* ------------- */
/* 商品紹介ページ */
/* ------------- */

/* オーラルケア商品紹介 */
.product-lead {
  background-image: url("../images/products/product-lead-bg-sp.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  margin: 3.75rem auto 0;
  padding: 5.625rem 0rem 6.5rem;
  position: relative;
}

@media screen and (min-width: 768px) {
  .product-lead {
    background-image: url("../images/products/product-lead-bg.png");
    background-size: 100% 100%;
    margin-top: 4.375rem;
    padding: 8.75rem 3.125rem 8.75rem;
    max-width: 90rem;
    margin-inline: auto;
  }
}

.product-lead__copy {
  margin-top: 3.125rem;
  text-align: center;
  font-size: 1.25rem;
  line-height: 150%;
  font-weight: 700;
}

@media screen and (min-width: 768px) {
  .product-lead__copy {
    font-size: 1.875rem;
    margin-top: 5rem;
  }
}

.product-lead__text-wrap {
  margin-top: 1.875rem;
}

@media screen and (min-width: 768px) {
  .product-lead__text-wrap {
    margin-top: 2.8125rem;
  }
}

.product-lead__text {
  font-weight: 500;
  font-size: 1rem;
  line-height: 200%;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .product-lead__text {
    font-size: 1.125rem;
  }
}

.product-lead__text+.product-lead__text {
  margin-top: 1.875rem;
}

.product-lead__text span {
  display: inline-block;
  background-color: #DF6A74;
  border-radius: 0.625rem;
  padding-inline: 0.5rem;
  color: #fff;
  font-weight: 700;
  margin-inline: 0.25rem;
  line-height: 170%;
}

/* 商品リスト */
.product-list {
  margin-top: 5rem;
  position: relative;
  overflow: hidden;
}

@media screen and (min-width: 768px) {
  .product-list {
    margin-top: 7.5rem;
  }
}

.product-list::before {
  content: "";
  display: block;
  width: 16.25rem;
  height: 14.375rem;
  background-image: url("../images/products/product-lead-deco.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 7.875rem;
  left: -0.875rem;
  z-index: -1;
}

@media screen and (min-width: 768px) {
  .product-list::before {
    width: 25.1875rem;
    height: 22.5rem;
    top: 6.8125rem;
  }
}

.product-list__list {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2.5rem;
}

@media screen and (min-width: 768px) {
  .product-list__list {
    margin-top: 4.375rem;
    grid-template-columns: repeat(2, 1fr);
    gap: 4.0625rem;
  }
}

.product-list__item {
  width: 100%;
  border-radius: 1.125rem;
  border: 0.25rem solid #dbbb6b;
  background-color: #fdfcf8;
  padding: 1.5rem;
}

@media screen and (min-width: 768px) {
  .product-list__item {
    border-radius: 1.5rem;
    border: 0.375rem solid #dbbb6b;
    padding: 3.75rem;
  }
}

.product-list__item-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  color: #685c3e;
}

@media screen and (min-width: 768px) {
  .product-list__item-title {
    font-size: 2rem;
  }
}

.product-list__item-lead {
  margin-top: 0.75rem;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .product-list__item-lead {
    font-size: 1.5rem;
  }
}

.product-list__item-image {
  margin-top: 1.875rem;
}

@media screen and (min-width: 768px) {
  .product-list__item-image {
    margin-top: 2.8125rem;
  }
}

.product-list__item-image img {
  aspect-ratio: 510/350;
  border-radius: 0.625rem;
  object-fit: cover;
}

.product-list__item-text {
  margin-top: 1.25rem;
}

@media screen and (min-width: 768px) {
  .product-list__item-text {
    margin-top: 1.875rem;
  }
}

.product-list__item-text p,
.product-list__item-text li {
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 500;
}

@media screen and (min-width: 768px) {

  .product-list__item-text p,
  .product-list__item-text li {
    font-size: 1.125rem;
  }
}

.product-list__item-text h4 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

@media screen and (min-width: 768px) {
  .product-list__item-text h4 {
    font-size: 1.25rem;
    margin-bottom: 0.625rem;
  }
}

/* メッセージ */
.product-message {
  margin-top: 5rem;
  margin-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

.product-message::before {
  content: "";
  display: block;
  width: 16.25rem;
  height: 14.375rem;
  background-image: url("../images/products/product-message-deco.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 8.125rem;
  right: -1.875rem;
  z-index: -1;
}

@media screen and (min-width: 768px) {
  .product-message::before {
    width: 25.1875rem;
    height: 22.5rem;
    right: 12.5rem;
    top: 10.3125rem;
  }
}

@media screen and (min-width: 768px) {
  .product-message {
    margin-top: 8.75rem;
    margin-bottom: 8.75rem;
  }
}

.product-message__message {
  display: block;
  text-align: center;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.3;
}

@media screen and (min-width: 768px) {
  .product-message__message {
    font-size: 3.375rem;
  }
}

.product-message__text {
  margin-top: 1.875rem;
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 500;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .product-message__text {
    margin-top: 2.5rem;
    font-size: 1.125rem;
  }
}

/* ------------------- */
/* 商品紹介（TOPページ） */
/* ------------------- */
.top-product {
  margin-top: 6.25rem;
  position: relative;
}

@media screen and (min-width: 768px) {
  .top-product {
    margin-top: 9.375rem;
  }
}

.top-product::before {
  content: "";
  display: block;
  width: 16.25rem;
  height: 14.375rem;
  background-image: url("../images/products/top-product-deco.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 7.5rem;
  left: -7.5rem;
  z-index: -1;
}

@media screen and (min-width: 768px) {
  .top-product::before {
    width: 25.1875rem;
    height: 22.5rem;
    left: 9.375rem;
    top: initial;
    bottom: -2.5rem;
  }
}

.top-product__list {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media screen and (min-width: 768px) {
  .top-product__list {
    margin-top: 4.375rem;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8125rem;
  }
}

.top-product__item {
  width: 100%;
  border-radius: 1.125rem;
  border: 0.25rem solid #dbbb6b;
  background-color: #fdfcf8;
  padding: 1.875rem 1.5rem;
}

@media screen and (min-width: 768px) {
  .product-list__item {
    border-radius: 1.5rem;
    border: 0.375rem solid #dbbb6b;
  }
}

.top-product__item-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  color: #685c3e;
}

@media screen and (min-width: 768px) {
  .product-list__item-title {
    font-size: 1.75rem;
  }
}

.top-product__item-lead {
  margin-top: 0.625rem;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .product-list__item-lead {
    font-size: 1.25rem;
  }
}

.top-product__item-image {
  margin-top: 1.25rem;
}

@media screen and (min-width: 768px) {
  .product-list__item-image {
    margin-top: 1.875rem;
  }
}

.top-product__item-image img {
  aspect-ratio: 239/184;
  border-radius: 0.625rem;
  object-fit: cover;
}

.top-product__item-btn {
  text-align: center;
  margin-top: 1.25rem;
}

@media screen and (min-width: 768px) {
  .top-product__item-btn {
    margin-top: 1.875rem;
  }
}

.top-product__btn {
  margin-top: 2.5rem;
}

@media screen and (min-width: 768px) {
  .top-product__btn {
    margin-top: 3.75rem;
  }
}