@charset "UTF-8";

/* =====================================
   1. 共通変数・基本設定
   ===================================== */
.contents {
  width: 100%;
  margin: 0 auto;
  font-family: "Lato", "Zen Kaku Gothic New", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-base);
  background: var(--bg-base);
  overflow-x: hidden;
  user-select: none;
  --bg-base: #ffe9ef;
  --text-base: #501D11;
  --highlight: #E6196E;
  --light: #FFF7FA;
  --medium: #F8C8CE;
  --medium-highlight: #EA7080;
  --medium-dark: #DE5769;
  --white: #fff;
  --yellow: #fff338;
  --grd: linear-gradient(90deg, rgba(236, 80, 116, 1) 0%, rgb(216, 53, 121) 100%);
  --shadow: drop-shadow(1px 2px 6px rgba(108, 27, 63, 0.2));
}

.contents * {
  box-sizing: border-box;
}

.contents *:focus {
  outline: none;
}

.contents img {
  display: block;
  max-width: 100%;
  height: auto;
}

.contents ul,
.contents li,
.contents p {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contents a {
  font-weight: 500;
  text-decoration: none;
  color: inherit;
}

.c_block {
  padding: 35px 20px 50px;
}

.pc {
  display: none !important;
}

.sp {
  display: block !important;
}

/* =====================================
   2. 共通コンポーネント (タイトル・ボタン)
   ===================================== */
.contents h1 {
  margin: 0 0 10px;
  text-align: center;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 500;
}

.contents h2 {
  display: block;
  text-align: center;
  margin: 0 0 20px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 500;
  position: relative;
  z-index: 5;
}

/* タイトル装飾 */
.ranking-section h2 {
  display: flex;
  justify-content: center;
  margin: 10px 0 20px;
}

.ranking-section h2::before {
  content: '';
  position: absolute;
  top: -35px;
  background: url('/img/usr/genre/rA3/title_ranking.png') no-repeat center/contain;
  width: 45px;
  height: 28px;
}

.bottom-section h2 {
  margin: 30px 0 20px;
}

.bottom-section h2::before {
  content: '';
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: url('/img/usr/genre/rA3/title_ribbon.png') no-repeat center/contain;
  width: 207px;
  height: 23px;
}

.contents h3 {
  font-size: 14px;
  font-weight: 500;
}

/* 共通リンクボタン */
.cmn-link-btn {
  position: relative;
  display: block;
  margin: 0 auto;
  padding: 0 12px 0 0;
  text-align: right;
  font-size: 15px;
}

.cmn-link-btn::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--text-base);
  border-bottom: 1px solid var(--text-base);
  transform: rotate(-45deg);
}

.goods-section .cmn-link-btn {
  margin: 0 22px 5px 0;
}

.cmn-link-btn-anchor {
  margin-top: 10px;
}

.cmn-link-btn-anchor::after {
  transform: rotate(45deg);
}

.info-btn::after,
.reading-link-inner a::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--highlight);
  border-right: 1px solid var(--highlight);
  transform: translateY(-50%) rotate(45deg);
}

/* =====================================
   3. 各セクション設定 (SP基準)
   ===================================== */

/* メインビジュアル */
.mv-section {
  padding: 34px 0 16px;
  position: relative;
}

.mv-section::before {
  content: '';
  position: absolute;
  top: 4px;
  right: -20px;
  z-index: 1;
  background: url('/img/usr/genre/rA3/bg_top.webp') no-repeat center/contain;
  width: 220px;
  height: 154px;
}

.mv-section img {
  width: 63%;
  margin: 0 18px;
  position: relative;
  z-index: 2;
}

/* カルーセルバナー */
.c_slider {
  position: relative;
  z-index: 3;
  overflow: visible;
}

.slick-initialized .slick-slide {
  background: var(--white);
  margin: 10px 5px 25px;
  border-radius: 8px;
  filter: var(--shadow);
  transform: translateZ(0);
  overflow: hidden;
  display: flex !important;
  flex-direction: column;
  height: auto;
}

.slider-items a {
  display: block;
  overflow: hidden;
}

.slider-items p {
  margin: 10px;
  line-height: 1.4;
}

.slick-dots {
  bottom: -25px;
}

.slick-dots li {
  width: 30px;
  height: 30px;
}

.slick-dots li button:before {
  font-size: 15px;
  color: var(--medium-highlight);
}

.slick-dots li.slick-active button:before {
  opacity: 1;
  color: var(--medium-highlight);
}

/* スライダー矢印 */
.arrow_box {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: calc(100% - 35px);
  z-index: 10;
  pointer-events: none;
}

.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 60px;
  background: rgba(255, 255, 255, 0.94);
  cursor: pointer;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: var(--shadow);
}

.slide-arrow::after {
  content: '';
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--highlight);
  border-right: 2px solid var(--highlight);
}

.prev-arrow {
  left: -4px;
  border-radius: 0 50px 50px 0;
}

.prev-arrow::after {
  transform: rotate(-135deg);
}

.next-arrow {
  right: -4px;
  border-radius: 50px 0 0 50px;
}

.next-arrow::after {
  transform: rotate(45deg);
}

/* リード文 (アコーディオン) */
.read-section {
  padding: 20px 20px 40px;
  background: linear-gradient(to bottom, var(--bg-base) 0px, var(--white) 40px, var(--white) 100%);
}

.open-box {
  position: relative;
}

input[type="checkbox"].on-off {
  position: absolute;
  bottom: 0;
  opacity: 0;
}

.open-label {
  padding: 8px 0 8px 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  cursor: pointer;
  width: 100%;
}

.open-label::before {
  content: '続きを読む';
  margin-right: 4px;
  font-weight: 500;
}

.open-label::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--text-base);
  border-bottom: 1px solid var(--text-base);
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform 0.2s;
}

.on-off:checked~.open-label::before {
  content: '閉じる';
}

.on-off:checked~.open-label::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.open {
  height: 45px;
  overflow: hidden;
  position: relative;
}

.on-off:checked~.open {
  height: auto;
}

.open::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(to bottom, transparent 20%, rgba(255, 255, 255, 1) 100%);
}

.on-off:checked~.open::before {
  background: none;
  z-index: -1;
}

/* 早贈りギフト */
.hayaokuri-section {
  background-color: var(--white);
}

.hayaokuri-section-inner {
  margin: 0 20px 15px;
  background-color: var(--yellow);
  border-radius: 8px;
  position: relative;
  z-index: 2;
}

.hayaokuri-section img {
  width: 92%;
  margin: -15px auto -15px;
  position: relative;
  z-index: 3;
  top: -15px;
}

/* カテゴリGrid共通 */
.list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  position: relative;
  z-index: 2;
}

.list-grid li a {
  display: flex;
  align-items: center;
  position: relative;
  border-radius: 4px;
  padding: 0 25px 0 10px;
  height: 54px;
  font-size: 13px;
  line-height: 1.3;
}

/* テーマから選ぶ */
.thema-section {
  padding: 45px 20px 50px;
  background: linear-gradient(to bottom, var(--white) 10px, var(--bg-base) 60px, var(--bg-base) 100%);
  position: relative;
  padding-bottom: 30px;
}

.thema-section::before {
  content: '';
  position: absolute;
  top: 10px;
  right: -12px;
  z-index: 1;
  background: url('/img/usr/genre/rA3/bg_thema.webp') no-repeat center/contain;
  width: 120px;
  height: 111px;
}

.thema-section .list-grid {
  grid-template-columns: repeat(2, 1fr);
}

.list-grid-anchor a {
  color: var(--white);
  background: var(--grd);
}

.list-grid-anchor li a::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 12px;
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--white);
  border-bottom: 1px solid var(--white);
  transform: translateY(-50%) rotate(45deg);
}

/* ランキング */
.ranking-section {
  padding: 40px 0 60px;
  background-color: #fff;
}

.ranking_tab_name {
  margin: 0 10px 30px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ranking_tab_name::-webkit-scrollbar {
  display: none;
}

.ranking_tab_name_list {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.ranking_tab_name_list li {
  flex-shrink: 0;
  width: calc((100% - 8px) / 3);
}

.ranking_tab_name_list li span {
  display: block;
  padding: 7px 0 8px;
  text-align: center;
  color: #E6196E;
  border: 1px solid #E6196E;
  border-radius: 30px;
  cursor: pointer;
}

.ranking_tab_name_list li span.current {
  color: #fff;
  background: #E6196E;
}

.ranking-section .c_block_inner {
  padding-left: 20px;
}

.c_block_item.hidden {
  display: none !important;
}

.block-ranking-lightningrecommend .block-ranking-r li {
  width: 150px;
}

.ranking-section .cmn-link-btn {
  margin-right: 20px;
}

/* 商品棚タイトル */
.title-goods {
  margin-top: 25px;
  position: relative;
  text-align: center;
  width: 100%;
}

.title-goods span {
  display: inline-block;
  width: 160px;
  padding: 4px;
  position: relative;
  z-index: 2;
  bottom: -9px;
  background-color: var(--white);
  border: 1px solid var(--highlight);
  color: var(--highlight);
  font-weight: bold;
  font-size: 13px;
  line-height: 1;
}

.title-goods h2 {
  margin: 0 20px;
  padding: 16px 5px 11px;
  position: relative;
  z-index: 1;
  background: var(--grd);
  color: var(--white);
  font-size: 20px;
  clip-path: polygon(0% 0%, 100% 0%, 97% 50%, 100% 100%, 0% 100%, 3% 50%);
}

/* バナーGrid */
.goods-section-banner {
  margin: 20px 20px 25px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.goods-section-banner>* {
  width: calc((100% - 10px) / 2);
}

.banner-items {
  border-radius: 8px;
  filter: var(--shadow);
}

/* ボトム (カテゴリ・予算) */
.bottom-section {
  margin-top: 30px;
  position: relative;
  background: linear-gradient(to bottom, var(--bg-base) 0px, var(--medium) 40px, var(--medium) 100%);
}

.bottom-section::before {
  content: '';
  position: absolute;
  top: 5px;
  right: 0;
  z-index: 1;
  background: url('/img/usr/genre/rA3/bg_bottom.webp') no-repeat center/contain;
  width: 95px;
  height: 157px;
}

.text-notice {
  position: relative;
  top: -13px;
  margin-bottom: 15px;
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.8;
}

.list-grid-bottom:nth-last-child(n + 2) {
  margin-bottom: 50px;
}

.list-grid-bottom a {
  background: var(--light);
  filter: var(--shadow);
}

.list-grid-bottom li a::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  background: var(--highlight);
  border-radius: 50%;
}

.list-grid-bottom li a::after {
  content: '';
  position: absolute;
  left: 14px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-top: 1px solid var(--white);
  border-right: 1px solid var(--white);
  transform: translateY(-50%) rotate(45deg);
}

.text-min {
  font-size: 13px;
}

/* インフォメーション */
.info-section {
  background: var(--white);
}

.info-section-inner {
  width: 95%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contents .info-btn {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  height: 60px;
  padding: 0 35px 0 6px;
  background: var(--medium-highlight);
  border-radius: 80px;
  color: var(--white);
  font-size: 15px;
  line-height: 1.3;
}

.info-btn img {
  width: 48px;
  height: 48px;
  margin-right: 12px;
  padding: 8px;
  flex-shrink: 0;
  background-color: var(--medium-dark);
  border-radius: 50%;
  object-fit: contain;
}

.info-btn::after {
  border-top: 1px solid var(--white);
  border-right: 1px solid var(--white);
}

.info-section-banner {
  margin-top: 40px;
}

.contents .info-section-banner h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
  font-size: 20px;
  color: var(--text-base);
}

.contents .info-section-banner h2::before,
.contents .info-section-banner h2::after {
  content: '';
  width: 1px;
  height: 25px;
  background-color: var(--text-base);
  transform: rotate(-30deg);
}

.contents .info-section-banner h2::after {
  transform: rotate(30deg);
}

/* 読み物 */
.reading-section {
  position: relative;
  z-index: 1;
}

.reading-section h2 {
  top: -4px
}

.reading-section::before,
.reading-section::after {
  content: '';
  position: absolute;
  top: 7px;
  z-index: 1;
  width: 90px;
  height: 200px;
  background-size: contain;
  background-repeat: no-repeat;
}

.reading-section::before {
  background-image: url('/img/usr/genre/rA3/bg_reading_r.png');
  right: 10px;
}

.reading-section::after {
  background-image: url('/img/usr/genre/rA3/bg_reading_l.png');
  left: 15px;
}

.reading-section-inner {
  position: relative;
  z-index: 2;
  padding: 20px 20px 25px;
  background: var(--white);
  border-radius: 4px;
}

.reading-block:nth-last-child(n + 2) {
  margin-bottom: 24px;
}

.reading-section-inner h3 {
  margin: 0 0 15px;
  font-size: 18px;
  color: var(--medium-highlight);
  border-bottom: 1px solid var(--medium-highlight);
}

.reading-link-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  margin: 30px auto 0;
}

.reading-link-inner a {
  display: flex;
  align-items: center;
  height: 90px;
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  filter: var(--shadow);
  position: relative;
}

.reading-link-inner a img {
  width: 130px;
  height: 100%;
  object-fit: cover;
  margin-right: -40px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.reading-link-inner a::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 130px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.8) 70%, rgba(255, 255, 255, 1) 100%);
}

.reading-link-inner a span.text-box {
  position: relative;
  z-index: 3;
  padding-left: 10px;
  line-height: 1.4;
}

/* =====================================
   4. PC用設定 (780px以上)
   ===================================== */
@media only screen and (min-width: 780px) {
  .contents {
    width: 900px;
    font-size: 14px;
  }

  .c_block {
    padding: 60px 40px 70px;
  }

  .pc {
    display: block !important;
  }

  .sp {
    display: none !important;
  }

  .contents h2 {
    font-size: 26px;
  }

  .ranking-section h2 {
    margin: 15px 0 25px;
  }

  .ranking-section h2::before {
    width: 55px;
    height: 34px;
    top: -42px;
  }

  .cmn-link-btn {
    text-align: center;
    padding-right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 16px;
  }

  .cmn-link-btn::after {
    position: static;
    margin: 0;
  }

  .goods-section .cmn-link-btn {
    margin: 0 auto 5px;
  }

  .cmn-link-btn-anchor {
    margin-top: 16px;
  }

  /* MV PC */
  .mv-section {
    padding: 40px 0 20px;
  }

  .mv-section::before {
    width: 400px;
    height: 280px;
    top: -25px;
  }

  .mv-section img {
    width: 480px;
    margin: 0 100px;
  }

  /* カルーセル PC */
  .c_slider {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 35px;
  }

  .slick-list {
    overflow: visible !important;
    padding: 0 20% !important;
  }

  .slider-items p {
    margin: 16px 20px;
  }

  .slick-initialized .slick-slide {
    margin: 16px 10px 32px;
  }

  .arrow_box {
    width: 900px;
  }

  .slide-arrow {
    width: 50px;
    height: 75px;
  }

  .slide-arrow::after {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--highlight);
    border-right: 2px solid var(--highlight);
  }

  .prev-arrow {
    left: -6px;
  }

  .next-arrow {
    right: -6px;
  }

  /* リード文 PC */
  .read-section {
    text-align: center;
  }

  .open-label {
    justify-content: center;
    padding: 8px 0 30px 0;
  }

  /* 早贈りギフト PC */
  .hayaokuri-section-inner {
    width: 600px;
    margin: 0 auto 25px;
  }

  .hayaokuri-section img {
    margin: -25px auto -25px;
  }

  /* テーマカテゴリ PC */
  .thema-section {
    background: linear-gradient(to bottom, var(--white) 30px, var(--bg-base) 90px, var(--bg-base) 100%);
  }

  .thema-section::before {
    right: 70px;
  }

  .thema-section .list-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* カテゴリGrid共通 */
  .list-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .list-grid li a {
    height: 60px;
  }

  .list-grid-anchor li a {
    padding: 0 25px 0 20px;
    font-size: 16px;
  }

  .list-grid-anchor li a::after {
    right: 20px;
  }

  /* ランキング PC */
  .ranking-section {
    padding: 50px 0 70px;
  }

  .ranking_tab_name {
    width: 500px;
    margin: 0 auto 30px;
  }

  .ranking-section .c_block_inner {
    padding-left: 0;
  }

  .block-ranking-r--items {
    padding-left: 20px;
    gap: 20px;
    justify-content: center;
  }

  .block-ranking-lightningrecommend .block-ranking-r li {
    width: 195px;
  }

  .ranking-section .cmn-link-btn {
    margin-right: 0;
  }

  /* 商品棚 PC */
  .title-goods {
    margin-top: 30px;
  }

  .title-goods span {
    width: 185px;
    font-size: 14px;
    padding: 5px;
    bottom: -11px;
  }

  .title-goods h2 {
    width: 580px;
    padding: 19px 5px 15px;
    font-size: 23px;
    margin: 0 auto;
  }

  .goods-section-banner {
    margin: 20px 40px 35px;
    gap: 10px;
  }

  .goods-section-banner>* {
    width: calc((100% - 20px) / 3);
  }

  /* ボトム PC */
  .bottom-section::before {
    width: 120px;
    height: 200px;
  }

  .text-notice {
    text-align: center;
    line-height: 2;
  }

  /* インフォメーション PC */
  .info-section-inner {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
  }

  .contents .info-btn {
    width: calc((100% - 20px) / 3);
    max-width: 700px;
    font-size: 16px;
    height: 70px;
    padding: 0 35px 0 10px;
  }

  .info-btn img {
    width: 54px;
    height: 54px;
    margin-right: 10px;
  }

  .info-section-banner {
    margin-top: 60px;
  }

  .contents .info-section-banner h2 {
    margin-bottom: 20px;
    gap: 20px;
    font-size: 22px;
  }

  .contents .info-section-banner h2::before,
  .contents .info-section-banner h2::after {
    height: 30px;
  }

  .info-section-banner .banner-items {
    margin: 0 auto;
    width: 600px;
  }

  /* 読み物 PC */
  .reading-section h2 {
    top: -15px
  }

  .reading-section::before,
  .reading-section::after {
    top: 15px;
    width: 110px;
    height: 200px;
  }

  .reading-section::before {
    right: 200px;
  }

  .reading-section::after {
    left: 210px;
  }

  .reading-section-inner {
    padding: 30px 35px 35px;
  }

  .reading-block:nth-last-child(n + 2) {
    margin-bottom: 25px;
  }

  .reading-link-inner {
    width: 700px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
  }

  .reading-link-inner a {
    width: calc((100% - 15px) / 2);
  }
}

/* =====================================
   5. システム・EC用調整 (上書き)
   ===================================== */
/* ナビゲーション非表示 */
.block-genre-page-head {
  margin: 0;
  padding: 0;
}

.block-genre-page--sub {
  display: none;
}

/* イベント下の余白削除 */
.contents.block-top-event--goods,
.page-genre .block-top-event--goods {
  padding-bottom: 0;
}

/* 商品一覧 調整 */
/* 列 スマホ*/
.contents .block-top-event--goods:has(*:not(script)) {
  padding: 20px 15px 15px 0;
  position: relative;
  left: 15px;
}

.contents .block-thumbnail-t {
  justify-content: center;
  gap: 10px;
}

/* カード スマホ・PC*/
.contents li.block-thumbnail-t--item.js-enhanced-ecommerce-item {
  background: var(--white);
  border-radius: 8px;
  line-height: 1.5;
}

.contents li.block-thumbnail-t--item.js-enhanced-ecommerce-item:nth-last-child(n + 2) {
  margin-right: 5px;
}

.contents li.block-thumbnail-t--item.js-enhanced-ecommerce-item:last-child {
  margin-right: 15px;
}

/* 商品名 */
.contents .block-thumbnail-t--goods-name {
  margin: 0 0 5px;
}

/* ボタン */
.contents .block-thumbnail-t--btn {
  margin: auto 4px 10px;
}

.contents .block-list-add-cart-btn.btn-primary {
  padding: 7px 20px 6px;
  background: var(--highlight) !important;
}


/* 1. 親要素：liの高さを揃える */
.contents .block-thumbnail-t--items {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  overflow-x: auto;
  /* スクロールバー非表示 */ 
  scrollbar-width: none;
  /* Firefox用 */
  -ms-overflow-style: none;
  /* IE, Edge用 */
}

/* Chrome, Safari, スルガ（スマホの標準ブラウザ等）用 */
.block-thumbnail-t--items::-webkit-scrollbar {
  display: none;
}

/* 2. 各アイテム：縦方向のFlexboxにする */
.contents .block-thumbnail-t--item {
  display: flex;
  flex-direction: column;
}

/* 3. 説明文エリア：ここを最大まで伸ばしてボタンを押し出す */
.contents .block-thumbnail-t--goods-description {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}


@media only screen and (min-width: 780px) {

  /* 列 PC*/
  .contents .block-top-event--goods:has(*:not(script)) {
    padding: 25px 0 15px;
    left: 0;
  }

  /* カード PC*/
  .contents .block-thumbnail-t--goods.js-enhanced-ecommerce-item {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    line-height: 1.5;
  }

  .contents .block-thumbnail-t--goods {
    width: 200px;
  }

  /* ボタン  PC*/
  .contents .block-thumbnail-t--btn {
    margin: auto 12px 15px;
  }

  /* 親要素：横並びにする設定 */
  .contents .block-thumbnail-t {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
  }

  /* 子要素（各商品）：縦のレイアウト設定 */
  .contents .block-thumbnail-t--goods {
    display: flex;
    flex-direction: column;
    height: auto;
  }

  /* 商品説明エリア：余白を埋める */
  .contents .block-thumbnail-t--goods-description {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    margin:0 5px 8px;
  }
}