@charset "UTF-8";

/* 同階層のジャンルリンクを非表示 */
.block-genre-page--sub.block-readmore-contents.js-readmore-contents,
.block-readmore-button.js-readmore-button {
    display: none !important;
}

.block-genre-page-head {
    padding: 0 20px;
}

.block-genre-page--header {
    font-size: 16px;
    margin: 20px 0 0;
}

/*コンテンツ*/
.c-main_block {
  max-width: 900px;
  margin: 0 auto;
  font-family: "Noto Sans JP", sans-serif;
}

.c-main_block .pc {
  display: none;
}

.c-main_block .sp {
  display: block;
}

.c-main_block a {
  text-decoration: none;
  transition: .3s ease;
}

.c-main_block a:hover {
  opacity: 0.8;
}

.c-main_block li {
  list-style: none;
}

.c-main_block .lead_area {
    margin: 10px 20px 30px;
    text-align: left;
    font-size: 14px;
    line-height: 1.8;
}

.c-main_block .ttl_base {
  margin-bottom: 20px;
  text-align: center;
  font-size: 26px;
  font-weight: bold;
  color: #460000;
}

.c-main_block .category_list {
    padding: 0 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 5px;
}

.c-main_block .category_list li {
    width: calc((100% - 5px) / 2);
    position: relative;
}

.c-main_block .category_list li::after {
    content: "";
    width: 6px;
    height: 6px;
    border: 0;
    position: absolute;
    top: 50%;
    right: 12px;
    margin-top: -4px;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    transform: rotate(45deg);
}

.c-main_block .category_list a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 65px;
    padding: 0 20px 2px 10px;
    text-align: center;
    font-size: 12px;
    line-height: 1.5;
    font-weight: bold;
    color: #fff;
    border-radius: 8px;
    background: #bb2608;
}

/* 340px以上 */
@media screen and (min-width:340px) {
  .c-main_block .category_list a {
    font-size: 14px;
  }
}

/* PC表示 */
@media screen and (min-width:780px) {
    .c-main_block .pc {
      display: block;
    }

    .c-main_block .sp {
      display: none;
    }

    .block-genre-page-head {
      margin: 0;
    }

    .c-main_block {
      margin-bottom: 60px;
    }

    .block-genre-page--header {
      font-size: 22px;
    }

    .c-main_block .lead_area {
      margin: 20px 20px 40px;
      text-align: center;
      font-size: 16px;
    }

    .c-main_block .ttl_base {
      font-size: 30px;
    }

    .c-main_block .category_list {
      gap: 8px;
      justify-content: center;
    }

    .c-main_block .category_list li {
      width: calc((100% - 16px) / 3);
    }

    .c-main_block .category_list a {
      font-size: 15px;
    }
}