@charset "UTF-8";
/* ==========================================================================
   ほぼチカ 商品ページテンプレート
   ../../css/base.css → ../../css/layout.css → product.css の順に読み込みます。
   色は base.css の変数を使っているので、ページごとの変更は HTML側で変数を上書きしてください。
   font-family は下の「フォント」にまとめています。ページごとに変えるときは、
   HTML側で同じセレクタに font-family を書いて上書きしてください。
   ========================================================================== */

/* ------------------------------------------
   フォント
------------------------------------------ */
/* 見出し・ボタン */
.rmn-page-title,
.price-range,
.button-cart,
.hbr-cart-start-date,
.cart-modal .cart-container .product-name,
.cart-price-wrapper .price,
.cart-wrapper .cart_btn,
.product-detail-title,
.rmn-mid-container h4,
.rmn-spec-header,
.rmn-notice-header,
.rmn-information-header,
.rmn-spec-title,
.rmn-notice-title,
.rmn-information-title,
.product-related-title,
.rmn-related-product-name1,
.rmn-related-product-name2,
.rmn-related-product-price {
  font-family: "Noto Sans", "Noto Sans JP", sans-serif;
}
/* 数字・英字（ページ送り） */
.product-gallery-main .swiper-pagination {
  font-family: "Noto Sans", "Noto Sans JP", sans-serif;
}
/* 商品説明・読みもの */
.rmn-page-description,
.rmn-article {
  font-family: "Noto Sans", "Noto Sans JP", sans-serif;
}
/* 商品説明・読みものの太字・見出し */
.rmn-page-description b,
.rmn-page-description strong,
.rmn-article-text b,
.rmn-article-text strong,
.rmn-article-header,
.rmn-article-title {
  font-family: "Noto Sans", "Noto Sans JP", sans-serif;
}

/* ------------------------------------------
   商品トップ（スライド＋商品情報）
------------------------------------------ */
.product-top {
  padding-top: 0;
  padding-bottom: 40px;
}
@media (max-width: 768px) {
  .product-top {
    padding-left: 0;
    padding-right: 0;
  }
  .product-summary {
    padding: 24px var(--gutter) 0;
  }
}
@media (min-width: 769px) {
  .product-top {
    display: grid;
    grid-template-columns: minmax(0, 620px) minmax(320px, 400px);
    justify-content: space-between;
    align-items: start;
    column-gap: 36px;
    padding-top: 56px;
    padding-bottom: 56px;
  }
  /* 右の文言が長くなっても、左のスライドは画面内に固定 */
  .product-gallery {
    position: sticky;
    top: calc(var(--header-height) + 24px);
  }
}

/* スライド ---------------------------------------------------------------- */
.slide-gallery-top-container {
  opacity: 0;
  transition: opacity 0.25s ease;
}
.slide-gallery-top-container.show {
  opacity: 1;
}
.product-gallery-main {
  position: relative;
  overflow: hidden;
}
.product-gallery-main .swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: auto;
  background-color: var(--color-bg);
}
.product-gallery-main .swiper-slide img {
  width: 100%;
}
.rmn-slide-caption {
  display: block;
  padding: 6px var(--gutter) 0;
  color: var(--color-text-sub);
  font-size: 12px;
  line-height: 1.6;
}
.rmn-slide-caption:empty {
  display: none;
}
.product-gallery-main .swiper-button-prev,
.product-gallery-main .swiper-button-next {
  width: 40px;
  height: 40px;
  margin-top: -20px;
  color: #fff;
}
.product-gallery-main .swiper-button-prev {
  left: 0;
}
.product-gallery-main .swiper-button-next {
  right: 0;
}
.product-gallery-main .swiper-button-prev::after,
.product-gallery-main .swiper-button-next::after {
  display: none;
}
.product-gallery-main .swiper-button-prev svg,
.product-gallery-main .swiper-button-next svg {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.25));
}
.product-gallery-main .swiper-pagination {
  bottom: 16px;
  left: 50%;
  width: auto;
  min-width: 4.5em;
  padding: 2px 12px;
  transform: translateX(-50%);
  border-radius: 30px;
  background-color: rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.05em;
}
/* --slide-caption-height は product.js が一番高いキャプションを測って入れる */
.has-slide-caption .product-gallery-main .swiper-pagination {
  bottom: calc(var(--slide-caption-height, 28px) + 16px);
}
/* 前後ボタンはキャプションを除いた画像の高さで垂直中央に置く */
.has-slide-caption .product-gallery-main .swiper-button-prev,
.has-slide-caption .product-gallery-main .swiper-button-next {
  top: calc(50% - var(--slide-caption-height, 28px) / 2);
}

/* スライドのサムネイル（SP：横スクロール / PC：左に縦並び） */
.product-gallery-thumbs {
  position: relative;
  display: flex;
  gap: 8px;
  padding: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.product-gallery-thumbs::-webkit-scrollbar {
  display: none;
}
.product-gallery-thumbs:empty {
  display: none;
}
.product-gallery-thumbs li {
  flex: 0 0 74px;
}
.product-gallery-thumbs button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.product-gallery-thumbs button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(68, 68, 68, 0.5);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.product-gallery-thumbs button[aria-current="true"]::after,
.product-gallery-thumbs button:hover::after {
  opacity: 1;
}
/* フォーカス枠はスクロール領域で切れないよう内側に描く。写真の色に関係なく見えるよう白線を重ねる */
.product-gallery-thumbs button:focus-visible {
  outline: none;
}
.product-gallery-thumbs button:focus-visible::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 2px solid var(--color-text);
  box-shadow: inset 0 0 0 2px #fff;
  pointer-events: none;
}
.product-gallery-thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
@media (min-width: 769px) {
  .product-gallery {
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr);
    column-gap: 18px;
  }
  .product-gallery-main {
    grid-column: 2;
    grid-row: 1;
  }
  /* 縦並びのサムネイルは、メイン画像の高さに合わせてスクロール */
  .product-gallery-thumbs-wrap {
    position: relative;
    grid-column: 1;
    grid-row: 1;
  }
  .product-gallery-thumbs {
    position: absolute;
    inset: 0;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .product-gallery-thumbs li {
    flex: 0 0 auto;
  }
  /* キャプションの高さを除いて、メイン画像の下端に揃える */
  .has-slide-caption .product-gallery-thumbs {
    bottom: var(--slide-caption-height, 28px);
  }
}

/* 商品情報 ---------------------------------------------------------------- */
.rmn-collection-name {
  color: var(--color-text-muted);
  font-size: 12px;
  letter-spacing: 0.96px;
  line-height: 1.5;
}
.rmn-collection-name:empty {
  display: none;
}
.rmn-page-title {
  margin-top: 4px;
  font-weight: var(--font-bold-weight);
  font-size: 24px;
  letter-spacing: 2.4px;
  line-height: 1.4;
}
.price-wrapper {
  margin-top: 8px;
}
.price-range {
  font-weight: var(--font-bold-weight);
  font-size: 20px;
}
.price-range .yen {
  font-size: 11px;
}
.price-wrapper small {
  font-size: 11px;
}
@media (min-width: 769px) {
  .rmn-collection-name {
    font-size: 16px;
    letter-spacing: 1.28px;
  }
  .rmn-page-title {
    font-size: 28px;
  }
  .price-range {
    font-size: 26px;
  }
  .price-range .yen {
    font-size: 17px;
  }
  .price-wrapper small {
    font-size: 17px;
  } 
}

/* SKUのサムネイル（SP：横スクロール / PC：折り返し） */
.rmn-product.gallery-thumbs {
  display: flex;
  gap: 12px;
  margin: 20px calc(var(--gutter) * -1) 0;
  padding: 0 var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
}
.rmn-product.gallery-thumbs::-webkit-scrollbar {
  display: none;
}
.rmn-product.gallery-thumbs li {
  flex: 0 0 60px;
  line-height: 1;
  text-align: center;
}
.rmn-product.gallery-thumbs dd,
.rmn-product.gallery-thumbs .rmn-product-message {
  display: none;
}
.rmn-product.gallery-thumbs img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background-color: #fff;
}
.rmn-product.gallery-thumbs .product-name {
  padding-top: 6px;
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: 0;
}
@media (min-width: 769px) {
  .rmn-product.gallery-thumbs {
    flex-wrap: wrap;
    gap: 16px 14px;
    margin: 20px 0 0;
    padding: 0;
    overflow: visible;
  }
  .rmn-product.gallery-thumbs li {
    flex-basis: 78px;
  }
  .rmn-product.gallery-thumbs img {
    width: 78px;
    height: 78px;
  }
}

/* カートボタン */
.button-cart {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 400px;
  max-height: 65px;
  margin-top: 20px;
  padding: 20px 10px;
  border: 0;
  border-radius: var(--radius);
  background-color: var(--color-accent);
  color: var(--color-accent-text);
  font-weight: var(--font-bolder-weight);
  font-size: 18px;
  letter-spacing: 1.08px;
  line-height: 1.5;
  cursor: pointer;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.25);
  transition: opacity 0.3s;
}
.button-cart:hover,
.button-cart:focus {
  color: var(--color-accent-text);
}
@media (hover: hover) {
  .button-cart:hover {
    opacity: 0.6;
  }
}
.button-cart small {
  display: block;
  opacity: 0.7;
}
.button-cart.sold {
  background-color: var(--color-sold);
}

/* 販売に関するお知らせ */
.page-message {
  padding-top: 28px;
  font-size: 14px;
  line-height: 2;
}
.page-message:empty {
  display: none;
}
.rmp-page-message-red {
  color: var(--color-alert);
}
.hbr-cart-start-date {
  margin-top: 12px;
  font-weight: var(--font-bold-weight);
  font-size: 14px;
}
.hbr-cart-info-item-cache p {
  margin-top: 8px;
  color: var(--color-text-sub);
  font-size: 12px;
  line-height: 1.6;
}

/* ------------------------------------------
   カートモーダル
------------------------------------------ */
/* hbr-cart-modal-page は agecheck.js も付けるので、この名前のまま使う */
.hbr-cart-modal-page {
  overflow: hidden;
}
.cart-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
}
.cart-modal.is-active {
  display: flex;
}
.cart-modal-background {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
}
.cart-modal-content {
  position: relative;
  width: calc(100% - 24px);
  max-width: 960px;
  max-height: calc(100% - 48px);
  overflow-y: auto;
  padding-bottom: 16px;
  background-color: var(--color-bg-panel);
  border-radius: var(--radius);
  -webkit-overflow-scrolling: touch;
}
.cart-modal-close {
  position: absolute;
  top: 4px;
  right: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-text);
  cursor: pointer;
}
.cart-modal-close svg {
  width: 22px;
  height: 22px;
}
.cart-modal-header {
  padding: 20px 56px 16px var(--gutter);
  border-bottom: 1px solid var(--color-line-light);
}
.cart-modal-header .rmn-collection-name {
  font-size: 14px;
}
.cart-modal-header .rmn-page-title {
  font-size: 20px;
}
.cart-modal .cart-container {
  padding: 8px var(--gutter);
}
.cart-modal .cart-container dt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}
.cart-modal .cart-container dt > img {
  width: 56px;
}
.cart-modal .cart-container .product-name {
  font-weight: var(--font-bold-weight);
  font-size: 15px;
  line-height: 1.5;
}
.cart-modal .cart-container dd {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--color-line-light);
}
.cart-modal .rmn-sku-name {
  font-size: 14px;
}
.cart-price-wrapper .price {
  font-weight: var(--font-bold-weight);
  font-size: 18px;
}
.cart-price-wrapper .yen {
  font-size: 14px;
}
.cart-modal .shipping,
.cart-modal .rmn-product-message {
  font-size: 12px;
  line-height: 1.6;
}
.cart-modal .rmn-product-message-red {
  color: var(--color-alert);
  font-size: 12px;
  line-height: 1.6;
}
.cart-wrapper {
  flex-shrink: 0;
}
.cart-wrapper .cart_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background-color: var(--color-accent);
  color: var(--color-accent-text);
  font-weight: var(--font-bold-weight);
  font-size: 15px;
}
.cart-wrapper .cart_btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.cart-wrapper .cart_btn span {
  display: none;
}
.cart.sold .cart_btn {
  background-color: #ccc;
  color: #666;
  cursor: default;
}
.cart.sold .cart_btn:hover {
  opacity: 1;
}
.stock {
  font-size: 12px;
  line-height: 2;
  text-align: center;
}
@media (min-width: 769px) {
  .cart-modal-content {
    width: 75vw;
    max-height: calc(100% - 80px);
  }
  .cart-wrapper .cart_btn {
    width: auto;
    min-width: 192px;
    padding: 0 24px;
  }
  .cart-wrapper .cart_btn span {
    display: block;
  }
}

/* 年齢確認（agecheck.css / micromodal）をヘッダーより前面に */
.micromodal-slide {
  position: fixed;
  inset: 0;
  z-index: 80;
}

/* 追従カートボタン */
.button-cart-fixed-container {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 35;
  width: 100%;
  padding: 8px 8px calc(env(safe-area-inset-bottom, 0px) + 8px);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background-color: var(--color-bg-header);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transform: translateY(100%);
  visibility: hidden;
  transition: transform 0.3s ease-out, visibility 0.3s;
}
.has-fixed-cart .button-cart-fixed-container {
  transform: none;
  visibility: visible;
}
.button-cart-fixed {
  max-width: 340px;
  min-height: 52px;
  margin: 0 auto;
}

/* ------------------------------------------
   商品説明・読みもの
------------------------------------------ */
.product-body {
  padding-bottom: 64px;
}
.product-body-inner {
  padding-top: 40px;
  border-top: 1px solid var(--color-line);
}
.rmn-page-description,
.rmn-article {
  max-width: max-content;
  margin: 0 auto;
  font-size: 15px;
  letter-spacing: 1.2px;
  line-height: 2;
}
.rmn-page-description b,
.rmn-page-description strong,
.rmn-article-text b,
.rmn-article-text strong {
  font-weight: var(--font-article-bold-weight);
}
/* 画像は幅の計算に加えず、テキストで決まった幅（max-content）いっぱいに広げる */
.rmn-page-description img,
.rmn-article img {
  width: 0;
  min-width: 100%;
  margin: 32px 0;
  border-radius: 4px;
}
.rmn-page-description a,
.rmn-article a {
  text-decoration: underline;
}
/* リンクの色：商品ページの main の中は青（base.css の --color-link を上書き）
   関連コンテンツ・関連商品（バナー）は黒のまま */
main.product {
  --color-link: #1979b9;
}
main.product .product-related {
  --color-link: var(--color-text);
}
/* 読みものがあるときは、説明文と読みもののうち広いほうの幅にそろえる */
.product-body-inner:has(.rmn-article > *) {
  display: grid;
  grid-template-columns: minmax(0, max-content);
  justify-content: center;
}
.product-body-inner:has(.rmn-article > *) :is(.rmn-page-description, .rmn-article) {
  max-width: none;
  margin-inline: 0;
}
.rmn-article {
  margin-top: 32px;
}
/* 説明文が空のときは、読みものの上の余白をつけない */
.rmn-page-description:empty ~ .rmn-article {
  margin-top: 0;
}
.rmn-article-header {
  font-weight: var(--font-article-bold-weight);
  font-size: 18px;
  line-height: 1.6;
}
.rmn-article-title {
  padding-top: 16px;
  font-weight: var(--font-article-bold-weight);
  font-size: 16px;
  line-height: 1.6;
}
.rmn-article-text-wrap + div {
  padding-top: 8px;
}
.rmn-article-image {
  margin: 32px 0 0;
}
.rmn-article .rmn-sub-section + .rmn-sub-section,
.rmn-article > * + .rmn-pane,
.rmn-article > .rmn-pane + * {
  margin-top: 48px;
}
/* 横並びのブロック（API の Articles[].type が flex。rmn-cart.js が pane_id ごとに .rmn-pane-flex にまとめる）
   PCだけ横に並べ、SPはほかのブロックと同じく縦に積む。
   画像と同じく幅の計算には加えず、下の「仕様」などの .product-detail .rmn-section（PCで左右 24px 内側）と
   左端がそろう幅（コンテナの幅 − 48px）を中央に置いて等分する */
.product-body-inner {
  container-type: inline-size;
}
/* SPで縦に積むときは、ひとつづきの文章として1行あけるくらいの間隔にする */
.rmn-article .rmn-pane-flex > .rmn-sub-section + .rmn-sub-section {
  margin-top: 2em;
}
@media (min-width: 769px) {
  .rmn-pane-flex {
    --pane-flex-width: calc(100cqw - 48px);
    display: flex;
    align-items: flex-start;
    gap: 32px;
    width: 0;
    min-width: var(--pane-flex-width);
    margin-inline: calc((100% - var(--pane-flex-width)) / 2);
  }
  .rmn-pane-flex > .rmn-sub-section {
    flex: 1 1 0;
    min-width: 0;
  }
  .rmn-article .rmn-pane-flex > .rmn-sub-section + .rmn-sub-section {
    margin-top: 0;
  }
}
.rmn-article-youtube-wrap > div {
  position: relative;
  margin-top: 32px;
  aspect-ratio: 16 / 9;
}
.rmn-article-youtube {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* SPでは文中の改行（<br>）を無視して流す。<br class="sp"> は残す */
@media (max-width: 576px) {
  .rmn-page-description br:not(.sp),
  .rmn-article-text br:not(.sp) {
    display: none;
  }
}
@media (min-width: 769px) {
  .product-body {
    padding-bottom: 80px;
  }
  .product-body-inner {
    padding-top: 64px;
  }
  .rmn-article-image-wrap {
    max-width: 28em;
  }
  .rmn-page-description, .rmn-article {
    font-size: 16px;
  }
  .rmn-page-description img,
  .rmn-article img {
    border-radius: 6px;
  }
}

/* ------------------------------------------
   仕様 / 知っておいてほしいこと
------------------------------------------ */
.product-detail {
  padding: 48px 0 56px;
  background-color: var(--color-bg-sub);
}
.product-detail-section + .product-detail-section {
  margin-top: 56px;
}
/* information が空（APIから何も入らない）ときは余白を詰める */
.product-detail-section + .product-detail-information:not(:has(.rmn-information > *)) {
  margin-top: 0;
}
.product-detail-title,
.rmn-mid-container h4 {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-line);
  font-weight: var(--font-bolder-weight);
  font-size: 20px;
  letter-spacing: 1.6px;
  line-height: 1.5;
}
.product-detail .rmn-section {
  padding: 0;
}
.product-detail .rmn-sub-section {
  margin-top: 24px;
}
.rmn-spec-header,
.rmn-notice-header,
.rmn-information-header,
.rmn-spec-title,
.rmn-notice-title,
.rmn-information-title {
  font-size: 18px;
  line-height: 1.6;
}
.rmn-spec-header-wrap + .rmn-spec-title-wrap,
.rmn-notice-header-wrap + .rmn-notice-title-wrap,
.rmn-information-header-wrap + .rmn-information-title-wrap {
  margin-top: 8px;
}
.rmn-spec-text-wrap,
.rmn-notice-text-wrap,
.rmn-information-text-wrap {
  margin-top: 4px;
  font-size: 16px;
  letter-spacing: 0.64px;
  font-weight: var(--font-light-weight);
  line-height: 1.8;
}
.rmn-spec-text-wrap {
  color: #151515;
}
.rmn-spec-image-wrap,
.rmn-notice-image-wrap,
.rmn-information-image-wrap {
  margin-top: 12px;
}
.rmn-spec-section .rmn-spec-text-wrap {
  margin-top: 8px;
}
/* 抽選販売（JSで仕様から移動して表示） */
.rmn-spec-lot {
  margin-bottom: 48px;
}
@media (min-width: 769px) {
  .product-detail {
    padding: 56px 0 64px;
  }
  .product-detail .rmn-section {
    padding-left: 24px;
  }
  .product-detail-section + .product-detail-section {
    margin-top: 48px;
  }
}

/* ------------------------------------------
   関連コンテンツ / その他おすすめ商品
------------------------------------------ */
.product-related {
  padding: 48px 0 0;
}
/* 中身が無いときは見出しごと隠す（JSの途中でエラーが出ても隠れるよう CSS で判定） */
.product-related:has(.rmn-related-content:empty),
.product-related:has(.rmn-related-product:empty) {
  display: none;
}
/* 最後の区画の下に余白。関連商品が隠れたときは、関連コンテンツが最後の区画になる */
.product-related:last-child,
.product-related-content:has(+ .product-related-product .rmn-related-product:empty) {
  padding-bottom: 32px;
}
.product-related-title {
  margin-bottom: 20px;
  font-weight: var(--font-bolder-weight);
  font-size: 20px;
  line-height: 1.5;
}
/* SPは横スクロール。おすすめ商品は右端で3枚目が半分のぞく（2.5枚）幅にする */
.rmn-related-content,
.rmn-related-product {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% + var(--gutter) - 22px * 2) / 2.5);
  gap: 22px;
  margin: 0 calc(var(--gutter) * -1);
  padding: 0 var(--gutter) 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.rmn-related-content::-webkit-scrollbar,
.rmn-related-product::-webkit-scrollbar {
  display: none;
}
.rmn-related-content {
  grid-auto-columns: 218px;
}
.rmn-related-content > div,
.rmn-related-product > div {
  scroll-snap-align: start;
}
.rmn-related-product > div:empty {
  display: none;
}
.rmn-related-content-link,
.rmn-related-product-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--color-text);
}
/* 在庫なし：画像（正方形＝リンク幅と同じ高さ）の左下に表示 */
.rmn-related-product-link {
  position: relative;
  container-type: inline-size;
}
.rmn-related-product-link.soldout::after {
  content: "在庫なし";
  font-size: 10px;
  color: #2E2E2E;
  position: absolute;
  padding: 4px 6px;
  top: 100cqw;
  left: 0;
  transform: translateY(-100%);
  background-color: #D9D9D9;
  border-radius: 0 4px 0 0;
  z-index: 10;
}
/* 登録画像の比率がばらついても揃うよう、2:1 で切り抜く */
.rmn-related-content-img {
  width: 100%;
  aspect-ratio: 1200 / 630;
  object-fit: contain;
  border-radius: 4px;
}
.rmn-related-content-link h3 {
  padding-top: 8px;
  font-size: 14px;
  line-height: 1.6;
}
.rmn-related-product-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--color-line-light);
}
.rmn-related-product-link h3 {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding-top: 10px;
}
/* name1：商品名 / name2：補足（例「塩はちみつ」） */
.rmn-related-product-name1,
.rmn-related-product-name2 {
  font-weight: var(--font-bold-weight);
  font-size: 12px;
  line-height: 1.6;
}
.rmn-related-product-collection,
.rmn-related-product-name2:empty {
  display: none;
}
.rmn-related-product-price {
  font-weight: var(--font-bold-weight);
  font-size: 14px;
}
@media (min-width: 769px) {
  .product-related {
    padding-top: 56px;
  }
  .product-related:last-child,
  .product-related-content:has(+ .product-related-product .rmn-related-product:empty) {
    padding-bottom: 56px;
  }
  .rmn-related-content,
  .rmn-related-product {
    grid-auto-flow: row;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
  .rmn-related-content {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px 56px;
  }
  .rmn-related-product {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 32px 38px;
  }
}
