@charset "UTF-8";

/* =====================================
   1. 基本設定 (SP基準)
   ===================================== */
.contents {
  /* --- 変数定義 --- */
  /* 余白 */
  --block-inner-padding: 15px 20px 30px;
  /* フォント */
  --font-main: "LINE Seed JP", sans-serif;
  --font-size-base: 13px;
  /* カラー */
  --bg-base: #FFE020;
  --text-base: #222;
  --text-title: #D8086D;
  --text-red: #FB160C;
  --white: #fff;

  /* --- スタイル適用 --- */
  width: 100%;
  margin: 0 auto;
  font-family: var(--font-main);
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-base);
  background: var(--bg-base);
  background:
    /* 下端の飾り画像 */
    url("/img/usr/genre/rX3/img-section-bottom_s.png") no-repeat center bottom / contain,

    /* ストライプ */
    repeating-linear-gradient(45deg,
      rgba(255, 255, 255, 0.1) 0px,
      rgba(255, 255, 255, 0.1) 4px,
      transparent 2px,
      transparent 8px),

    /* ベースの背景色 */
    var(--bg-base);
  overflow-x: hidden;
  padding-bottom: 30px;
}

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

.contents *:focus {
  outline: none;
}

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

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

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

.block-inner {
  padding: var(--block-inner-padding);
}

.pc {
  display: none !important;
}

.sp {
  display: block !important;
}


/* =====================================
   2. 各セクション設定
   ===================================== */
/* メインビジュアル ---------------------- */
.mv-section {
  margin: 0;
  padding: 0;
}

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

.open-box {
  position: relative;
}

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

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

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

.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%, var(--bg-base) 100%);
}

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

/* バナー ---------------------- */
/* バナー(メイン)エリア */
.banner-main-section {
  margin: 0 10px;
  padding: 15px;
  border-radius: 10px;
  background: var(--white);
}

.banner-main {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.banner-main img {
  border-radius: 8px;
}

/* バナー(サブ)エリア */
.banner-sub-section {
  /* padding: 35px 20px 50px; */
  text-align: center;
  position: relative;
  overflow: hidden;
}

.banner-sub-section::before,
.banner-sub-section::after {
  content: "";
  position: absolute;
  top: 10px;
  width: 52px;
  height: 52px;
  background: url("/img/usr/genre/rX3/img-section-top.png") no-repeat;
  background-position: center;
  background-size: contain;
}

.banner-sub-section::before {
  left: 0;
}

.banner-sub-section::after {
  right: 0;
  transform: scaleX(-1);
}

.banner-sub-section h2 {
  display: flex;
  align-items: baseline;
  justify-content: center;
  text-align: center;
  margin: 14px auto 12px;
  font-size: 25px;
  font-weight: 800;
  color: var(--text-title);
}

.text-red {
  color: var(--text-red);
}

.banner-sub-section h2::before,
.banner-sub-section h2::after {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  margin: 0 10px;
  background-image: url("/img/usr/genre/rX3/img-title.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.banner-sub-section h2::after {
  transform: scaleX(-1);
}

/* バナー 並び */
.section-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.section-banner li img {
  border: 3px solid #fff;
  border-radius: 8px;
  filter: var(--shadow);
}

/* =====================================
   3. PC用設定 (780px以上)
   ===================================== */
/* 基本設定 (PC基準) */
@media only screen and (min-width: 780px) {
  .contents {
    /* --- 変数定義 --- */
    --block-inner-padding: 30px 40px 60px;
    /* フォント */
    --font-size-base: 14px;

    /* --- スタイル適用 --- */
    width: 900px;
    font-size: var(--font-size-base);
    background:
      /* 下端の飾り画像 */
      url("/img/usr/genre/rX3/img-section-bottom.png") no-repeat center bottom / contain,

      /* ストライプ */
      repeating-linear-gradient(45deg,
        rgba(255, 255, 255, 0.1) 0px,
        rgba(255, 255, 255, 0.1) 6px,
        transparent 6px,
        transparent 12px),

      /* ベースの背景色 */
      var(--bg-base);
    overflow-x: hidden;
    padding-bottom: 40px;
  }

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

  .pc {
    display: block !important;
  }

  .sp {
    display: none !important;
  }

  /* リード文 (アコーディオン) ---------------------- */
  .read-section {
    text-align: center;
  }

  .open-label {
    padding: 8px 0 25px 0;
    display: flex;
    justify-content: center;
  }

  /* バナー ---------------------- */
  /* バナー(メイン)エリア */
  .banner-main-section {
    margin: 0 30px;
    padding: 48px;
    border-radius: 15px;
  }

  .banner-main {
    gap: 30px;
  }

  /* バナー(サブ)エリア */
  .banner-sub-section {
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .banner-sub-section::before,
  .banner-sub-section::after {
    top: 25px;
    width: 80px;
    height: 80px;
  }

  .banner-sub-section::before {
    left: 30px;
  }

  .banner-sub-section::after {
    right: 30px;
    transform: scaleX(-1);
  }

  .banner-sub-section h2 {
    display: flex;
    align-items: baseline;
    justify-content: center;
    text-align: center;
    margin: 14px auto 12px;
    font-size: 36px;
  }

  .banner-sub-section h2::before,
  .banner-sub-section h2::after {
    content: "";
    width: 42px;
    height: 42px;
    margin: 0 10px;
  }

  .banner-sub-section h2::after {
    transform: scaleX(-1);
  }

  /* バナー 並び */
  .section-banner {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .section-banner li {
    width: calc((100% - 30px) / 4);
  }

  .section-banner li img {
    border: 3px solid #fff;
    border-radius: 8px;
    filter: var(--shadow);
  }
}

/* =====================================
   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;
}