@charset "utf-8";

/* ===============================================
   CORU TOP 製品
=============================================== */

.coru-top-products,
.coru-top-products *,
.coru-top-products *::before,
.coru-top-products *::after {
  box-sizing: border-box;
}

.coru-top-products {
  position: relative;
  width: 100vw;
  max-width: none;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding: 112px 0 120px;
  background: #fff;
  color: #23442f;
  font-family: inherit;
}

.coru-top-products__inner {
  width: calc(100% - 48px);
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
}


/* ===============================================
   見出し
=============================================== */

#main_column .coru-top-products h2.coru-top-products__heading {
  display: block;
  margin: 0 0 66px;
  padding: 0;
  border: 0;
  background: none;
  color: #23442f;
  font-size: 24px;
  font-weight: 600;
  line-height: 40px;
  letter-spacing: .2em;
  text-align: center;
}

.coru-top-products__heading span {
  display: block;
  margin-top: 9px;
  color: #23442f;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: .2em;
}


/* ===============================================
   商品一覧
=============================================== */

.coru-top-products__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--coru-product-grid-row-gap) var(--coru-product-grid-column-gap);
  width: 100%;
  margin: 0;
  padding: 0;
}


/* ===============================================
   商品カード
=============================================== */

.coru-top-products__item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}


/* ===============================================
   商品画像
=============================================== */

.coru-top-products__image-area {
  position: relative;
  width: 100%;
  margin: 0 0 var(--coru-product-image-text-gap);
  padding: 0;
}

.coru-top-products__image-link {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #eaf2ea;
  color: inherit;
  text-decoration: none;
}

.coru-top-products__image {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.coru-top-products__image-link:hover .coru-top-products__image {
  transform: scale(1.025);
}


/* ===============================================
   商品情報
=============================================== */

.coru-top-products__contents {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
}


/* ===============================================
   商品ステータス
=============================================== */

.coru-top-products__status {
  margin: 0 0 8px;
  padding: 0;
}

.coru-top-products__status ul,
.coru-top-products__status li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.coru-top-products__status img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0;
  border: 0;
}


/* ===============================================
   商品名
=============================================== */

#main_column .coru-top-products h3.coru-top-products__name {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #23442f;
  font-size: var(--coru-product-name-size);
  font-weight: var(--coru-product-name-weight);
  line-height: var(--coru-product-line-height);
  letter-spacing: 0;
  text-align: left;
}

.coru-top-products__name a,
.coru-top-products__name a:link,
.coru-top-products__name a:visited {
  color: #23442f;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-decoration: none;
}

.coru-top-products__name a:hover {
  text-decoration: underline;
}


/* ===============================================
   キャッチコピー
=============================================== */

.coru-top-products__catchcopy {
  margin: 3px 0 0;
  padding: 0;
  color: #23442f;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}


/* ===============================================
   価格
=============================================== */

.coru-top-products__price {
  margin: 7px 0 0;
  padding: 0;
  color: #23442f;
  font-size: var(--coru-product-unit-size);
  font-weight: var(--coru-product-unit-weight);
  line-height: var(--coru-product-line-height);
  letter-spacing: var(--coru-product-unit-letter-spacing);
}

/* 標準価格エリアの余白を解除 */
.coru-top-products__price div,
.coru-top-products__price p {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}

/* 金額部分 */
.coru-top-products__price .price,
.coru-top-products__price .price02_default,
.coru-top-products__price .raku2_price {
  color: #23442f;
  font-size: var(--coru-product-price-size);
  font-weight: var(--coru-product-price-weight);
  line-height: var(--coru-product-line-height);
}

/* 税込などの補足文字 */
.coru-top-products__price small,
.coru-top-products__price .tax,
.coru-top-products__price .tax_label,
.coru-top-products__price .raku2_price_unit,
.coru-top-products__price .raku2_price_tax_before,
.coru-top-products__price .raku2_price_tax,
.coru-top-products__price .raku2_price_tax_unit,
.coru-top-products__price .raku2_price_tax_after {
  color: #23442f;
  font-size: var(--coru-product-unit-size);
  font-weight: var(--coru-product-unit-weight);
  line-height: var(--coru-product-line-height);
  letter-spacing: var(--coru-product-unit-letter-spacing);
}


/* ===============================================
   在庫・販売期間・管理番号・レビュー・コメント
=============================================== */

.coru-top-products__stock,
.coru-top-products__sale-time,
.coru-top-products__catalog-id,
.coru-top-products__review,
.coru-top-products__comment {
  margin: 6px 0 0;
  padding: 0;
  color: #536c5c;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
}

.coru-top-products__stock div,
.coru-top-products__stock p,
.coru-top-products__sale-time div,
.coru-top-products__sale-time p,
.coru-top-products__catalog-id div,
.coru-top-products__catalog-id p,
.coru-top-products__review div,
.coru-top-products__review p {
  margin: 0;
  padding: 0;
}


/* ===============================================
   製品一覧ボタン
=============================================== */

.coru-top-products__more {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 72px 0 0;
  padding: 0;
}

.coru-top-products__more-link,
.coru-top-products__more-link:link,
.coru-top-products__more-link:visited {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: 300px;
  min-height: 58px;
  padding: 12px 28px;
  border: 0;
  border-radius: 32px;
  background: #eaf2ea;
  color: #23442f;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.coru-top-products__more-link span {
  color: inherit;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

.coru-top-products__more-link:hover {
  background: #23442f;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

.coru-top-products a:focus-visible {
  outline: 3px solid #b48237;
  outline-offset: 4px;
}


/* ===============================================
   タブレット
=============================================== */

@media screen and (max-width: 900px) {
  .coru-top-products {
    padding: 90px 0 100px;
  }

  .coru-top-products__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 50px 24px;
  }
}


/* ===============================================
   スマートフォン
=============================================== */

@media screen and (max-width: 640px) {
  .coru-top-products {
    padding: 70px 0 80px;
  }

  .coru-top-products__inner {
    width: calc(100% - 40px);
  }

  #main_column .coru-top-products h2.coru-top-products__heading {
    margin-bottom: 42px;
    font-size: 20px;
    letter-spacing: 0.18em;
  }

  .coru-top-products__heading span {
    margin-top: 8px;
    font-size: 9px;
    letter-spacing: 0.24em;
  }

  .coru-top-products__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 16px;
  }

  .coru-top-products__image-area {
    margin-bottom: var(--coru-product-image-text-gap);
  }

  #main_column .coru-top-products h3.coru-top-products__name {
    font-size: var(--coru-product-name-size);
    font-weight: var(--coru-product-name-weight);
    line-height: var(--coru-product-line-height);
  }

  .coru-top-products__catchcopy {
    margin-top: 3px;
    font-size: 11px;
  }

  .coru-top-products__price {
    margin-top: 6px;
    font-size: var(--coru-product-unit-size);
    font-weight: var(--coru-product-unit-weight);
    line-height: var(--coru-product-line-height);
  }

  .coru-top-products__price .price,
  .coru-top-products__price .price02_default {
    font-size: var(--coru-product-price-size);
    font-weight: var(--coru-product-price-weight);
    line-height: var(--coru-product-line-height);
  }

  .coru-top-products__price small,
  .coru-top-products__price .tax,
  .coru-top-products__price .tax_label {
    font-size: var(--coru-product-unit-size);
    font-weight: var(--coru-product-unit-weight);
    line-height: var(--coru-product-line-height);
  }

  .coru-top-products__stock,
  .coru-top-products__sale-time,
  .coru-top-products__catalog-id,
  .coru-top-products__review,
  .coru-top-products__comment {
    margin-top: 5px;
    font-size: 10px;
  }

  .coru-top-products__more {
    margin-top: 50px;
  }

  .coru-top-products__more-link,
  .coru-top-products__more-link:link,
  .coru-top-products__more-link:visited {
    width: 100%;
    max-width: 300px;
    min-height: 54px;
    font-size: 13px;
  }
}


/* ===============================================
   小さいスマートフォン
=============================================== */

@media screen and (max-width: 374px) {
  .coru-top-products__list {
    grid-template-columns: 1fr;
  }

  .coru-top-products__item {
    width: 100%;
    max-width: 280px;
    margin-right: auto;
    margin-left: auto;
  }
}


/* ===============================================
   動きを減らす設定
=============================================== */

@media (prefers-reduced-motion: reduce) {
  .coru-top-products__image,
  .coru-top-products__more-link {
    transition: none;
  }
}
