@charset "UTF-8";

/* =====================================
   1. 基本設定 (SP基準)
   ===================================== */
.contents {
  /* --- 変数定義 --- */
  --block-inner-padding: 5px 20px 30px;
  --font-main: "Zen Kaku Gothic New", sans-serif;
  --black: #301E16;
  --red: #D74100;
  --shadow: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.2));

  /* --- スタイル適用 --- */
  width: 100%;
  margin: 0 auto;
  font-family: var(--font-main);
  color: var(--black);
  overflow-x: hidden;
}

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

.contents *:focus {
  outline: none;
}

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

.contents ul,
.contents li {
  list-style: none;
}

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

.contents h2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto 16px;
  padding: 17px 0 0;
  position: relative;
  text-align: center;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.3;
  color: var(--red);
}

.contents h2::before,
.contents h2::after {
  content: "";
  display: block;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  position: absolute;
}

.contents h2 span {
  color: var(--black);
  display: block;
  font-size: 14px;
}

.pc {
  display: none !important;
}

.sp {
  display: block !important;
}

/* =====================================
   2. 各セクション設定
   ===================================== */
/* トップセクション ---------------------- */
.top-section {
  background-image: url("/img/usr/genre/rX7/bg_top_bottom.webp"), url("/img/usr/genre/rX7/bg_top.webp");
  background-repeat: no-repeat, repeat-y;
  background-size: contain, 100%;
  background-position: bottom, top;
}

/* リード文 */
.lead-block {
  padding: 0px 20px 40px;
  text-align: left;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.lead-block p {
  margin: 0;
}

p.notice-text {
  display: block;
  margin-top: 14px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  color: var(--red);
}

/* ピックアップセクション ---------------------- */
.pickup-section {
  background-image: url("/img/usr/genre/rX7/bg_pickup_bottom.webp"), url("/img/usr/genre/rX7/bg_pickup.webp");
  background-repeat: no-repeat, repeat-y;
  background-size: contain, 100%;
  background-position: bottom, top;
}

.pickup-section h2::before,
.pickup-section h2::after {
  width: 100px;
  height: 47px;
  background-image: url("/img/usr/genre/rX7/bg_title1.png");
}

.pickup-section h2::before {
  left: -20px;
}

.pickup-section h2::after {
  right: -20px;
  transform: scale(-1, -1);
}

.pickup-section .pickup-list {
  margin: 0;
  padding: 0 20px 45px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.pickup-list li {
  position: relative;
  filter: var(--shadow);
}

.pickup-list li a {
  display: block;
  overflow: hidden;
  border-radius: 10px;
}

.pickup-list li a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.pickup-list li a:hover::after {
  opacity: 0.2;
}

/* カテゴリーセクション ---------------------- */
.category-section {
  background-image: url("/img/usr/genre/rX7/bg_category.webp");
  background-repeat: repeat-y;
  background-size: 100%;
  background-position: top;
}

.category-section h2::before,
.category-section h2::after {
  width: 75px;
  height: 75px;
  background-image: url("/img/usr/genre/rX7/bg_title2.png");
}

.category-section h2::before {
  left: -15px;
}

.category-section h2::after {
  right: -15px;
  transform: scale(-1, -1);
}

.category-section .category-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0 20px 35px;
}

.category-list li a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  padding: 8px 10px 12px;
  background-color: rgb(255, 248, 231, 0.8);
  border-radius: 10px;
  filter: var(--shadow);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-list li a img {
  width: 75%;
  object-fit: contain;
  margin: 0;
  transition: transform 0.3s ease;
}

.category-list li a span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(16px * 1.2 * 2);
  width: 100%;
}

.category-section .category-list a::after {
  content: "";
  position: absolute;
  right: -3px;
  bottom: -14px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--red);
  background-image: url("/img/usr/genre/rX7/arrow_wh.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 13px auto;
  z-index: 1;
}

/* .category-list li a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
} */

.category-list li a:hover img {
  transform: scale(1.08);
}

/* =====================================
   3. PC用設定 (780px以上)
   ===================================== */
/* 基本設定 (PC基準) */
@media only screen and (min-width: 780px) {
  .contents {
    width: 900px;
  }

  .contents h2 {
    margin: 0 auto 22px;
    padding: 25px 0 0;
    font-size: 38px;
  }

  .contents h2 span {
    font-size: 17px;
  }

  .pc {
    display: block !important;
  }

  .sp {
    display: none !important;
  }

  /* トップセクション ---------------------- */
  /* リード文 */
  .top-section {
    padding-bottom: 55px;
    padding-top: 240px;
    background-image: url("/img/usr/genre/rX7/mv.png"), url("/img/usr/genre/rX7/bg_top_bottom.webp"), url("/img/usr/genre/rX7/bg_top.webp");
    background-repeat: no-repeat, no-repeat, repeat-y;
    background-position: top center, bottom, top;
    background-size: contain, contain, 100%;
  }

  .lead-block {
    margin: 0 auto;
    padding: 0;
    text-align: center;
    font-size: 15px;
  }

  p.notice-text {
    display: block;
    margin: 17px auto 0;
    text-align: center;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.4;
    color: var(--red);
  }

  /* ピックアップセクション ---------------------- */
  .pickup-section .pickup-list {
    padding: 0 35px 75px;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .pickup-section h2::before,
  .pickup-section h2::after {
    width: 140px;
    height: 66px;
    background-image: url("/img/usr/genre/rX7/bg_title1.png");
  }

  .pickup-section h2::before {
    left: 165px;
  }

  .pickup-section h2::after {
    right: 165px;
    transform: scale(-1, -1);
  }

  /* カテゴリーセクション ---------------------- */
  .category-section h2::before,
  .category-section h2::after {
    width: 100px;
    height: 100px;
    bottom: -8px;
    background-image: url("/img/usr/genre/rX7/bg_title2.png");
  }

  .category-section h2::before {
    left: 180px;
  }

  .category-section h2::after {
    right: 177px;
    transform: scale(-1, -1);
  }

  .category-section .category-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 0 35px 45px;
  }

  .category-list li a {
    padding: 12px 10px 14px;
    font-size: 20px;
    line-height: 1.1;
  }

  .category-list li a img {
    width: 75%;
    object-fit: contain;
    margin: 0;
  }

  .category-list li a span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(20px * 1.2 * 2);
    width: 100%;
  }

  .category-section .category-list a::after {
    content: "";
    position: absolute;
    right: -4px;
    bottom: -17px;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background-size: 16px auto;
  }
}


/* =====================================
   4. システム用
   ===================================== */
.block-genre-page-head {
  margin: 0;
  padding: 0;
}

.page-genre .block-top-event--goods {
  padding: 0;
}

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

/* イベント内商品一覧 ---------------------- */
.block-top-event--goods {
  padding-top: 30px;
  padding-bottom: 30px;
}

.contents .block-thumbnail-t {
  justify-content: center;
  gap: 40px;
  padding: 12px;
}

.contents .btn-primary {
  background-color: var(--red)
}

/* スマホ 商品一覧 */
@media only screen and (max-width: 780px) {
  .block-top-event--goods.js-naviplus-goodslist {
    padding: 20px;
  }
}