
.genrePageContainer {
  background-color: #fff;
}
.genrePageHeaderArea {
  --box-height: -100dvh;
  position: sticky;
  top: var(--box-height);
  background-color: #fff;
  clip-path: polygon(0% 0%, 100% 0% , 100% calc(100% + 16px), 0% calc(100% + 16px));
  z-index: 10;
  transition: top 0.3s ease, box-shadow 0.3s ease;
  /* transition-delay: 166.6667ms, 0s; */
  transition-delay: 333.33333ms, 0s;
}
.genrePageHeaderArea.active {
  top: var(--box-height);
}
.genrePageHeaderArea.shadow {
  box-shadow: 0 2px 6px 1px rgba(0,0,0,0.5);
}
.genrePageHeaderArea.fixed {
  top: var(--box-height);
}

.genrePageHeader {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 8px 16px;
}
.genrePageHeader h1 {
  font-size: 24px;
  line-height: 1.1;
  width: 100%;
}
.btnMenuOpen {
  appearance: none;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  padding: 10px 12px 10px 0;
  border: none;
  background-color: transparent;
  line-height: 1;
  box-sizing: border-box;
}

.btnMenuOpen span {
  flex: 0 1 auto;
  font-size: 24px;
  font-weight: bold;
  line-height: 28px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.btnMenuOpen svg {
  flex: 0 0 18px;
  width: 18px;
  height: auto;
  fill: #333;
}

.detailSearch {
  padding: 2px 16px 2px 12px;
}
.genrePageHeader + .detailSearch {
  margin-top: -8px;
  padding-top: 0;
}

.btnDetailSearchOpen {
  appearance: none;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 4px;
  padding: 14px 12px 14px 4px;
  width: fit-content;
  border: none;
  background-color: transparent;
  color: #bf0000;
}
.btnDetailSearchOpen svg {
  fill: #bf0000;
}

.menuTrigger {
  height: 0;
  overflow: hidden;
}

.genrePageMenuModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100dvw;
  height: 100dvh;
  overflow: auto;
  background-color: #fff;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  /* visibility: hidden; */
  transform: translateY(33.3333dvh);
  transition: opacity 0.3s ease, transform 0.3s ease;
  /* overscroll-behavior: contain; */
  overscroll-behavior: none;
}
.genrePageMenuModal.active {
  opacity: 1;
  /* visibility: visible; */
  pointer-events: all;
  transform: translateY(0);
}
.genrePageMenuModalHeader {
  position: sticky;
  display: flex;
  justify-content: space-between;
  align-items: center;
  top: 0;
  left: 0;
}

.genreModalCloseBtn {
  appearance: none;
  padding: 12px;
  border: none;
  background-color: transparent;
}
.genreModalCloseBtn svg {
  display: block;
  fill: #333;
}

.subGenrePageMenuSliderHeader {
  padding: 16px 4px 0 16px;
  border-bottom: 1px solid #ebebeb;
  background-color: #fff;
}
.subGenrePageMenuSliderHeader h2 {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.1;
}

.genrePageMenuSliderSection {
  padding: 0 0 32px;
}
.genrePageMenuSliderSection:first-of-type {
  padding: 24px 0 32px;
}
.genrePageMenuSliderSection > h3 {
  margin: 0 16px 12px;
  color: #333;
  font-size: 16px;
  font-weight: bold;
}

.genreChipListWrap {
  width: 100%;
  overflow: visible auto;
  box-sizing: border-box;
  scrollbar-width: none;
}
.genreChipListWrap::-webkit-scrollbar {
  /* Chrome, Safari 対応 */
  display: none;
}
/* .genreChipListBg {} */
.genreChipList {
  display: flex;
  flex-wrap: nowrap;
}
.genreChipList::before,
.genreChipList::after {
  content: "";
  display: block;
  flex: 0 0 12px;
}
.genreChipList li {
  flex: 0 0 auto;
}

.genreChip{
  display: block;
  padding: 4px;
}
.genreChipInner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* width: fit-content; */
  padding: 11px 11px 11px 15px;
  background-color: #fff;
  border: 1px solid #333;
  border-radius: 40px;
  line-height: 1;
}
.genreChipInner span {
  flex-shrink: 0;
  display: block;
  margin-right: 4px;
  text-decoration: none;
  color: #333;
  font-size: 12px;
}
.genreChipInner svg {
  flex: 0 0 auto;
  height: auto;
}


.genreNavigationMenuHeader {
  padding: 28px 4px 12px 16px;
  border-bottom: 1px solid #ebebeb;
  background-color: #fff;
}
.genreNavigationMenuHeader h2 {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.1;
}
.genreNavigationMenuList {
  padding: 0 0 16px;
  list-style: none;
}
.genreNavigationMenuListItem {
  margin: 0 16px;
  padding: 8px 0;
  border-bottom: 1px solid #ebebeb;
}
.genreNavigationMenuListItem:last-of-type {
  border-bottom: none;
}
.genreNavigationMenuLink {
  display: flex;
  align-items: center;
  margin: 0 -16px;
  padding: 12px 16px;
  text-decoration: none;
}
.genreNavigationMenuLinkAdult {
  padding: 14px 16px;
}
.genreNavigationMenuLink > span {
  flex: 1 0 auto;
  color: #333;
  font-size: 14px;
}
.genreNavigationMenuLink > span > span {
  display: block;
  font-size: 12px;
}
.genreNavigationMenuLink > svg {
  flex: 0 0 24px;
  fill: #333;
}

.genrePageContainer .js-omnislash > div > div {
  margin: 48px 0 40px;
}
.genrePageContainer .menuTrigger + .js-omnislash > div > div,
.genrePageContainer .menuTrigger + #customShelves > .js-omnislash > div > div {
  margin-top: 20px;
}

.js-omnislash:not(.js-omnislash-init),
.js-omnislash .js-omnislash-standby {
  min-height: 370px;
  margin: 48px 0 40px;
}

.js-omnislash[data-preset="New"]:not(.js-omnislash-init),
.js-omnislash[data-preset="New"] .js-omnislash-standby,
.js-omnislash[data-preset="PreorderPopularity"]:not(.js-omnislash-init),
.js-omnislash[data-preset="PreorderPopularity"] .js-omnislash-standby {
  min-height: 410px;
}

.js-omnislash.genrePageShelfCont .js-omnislash-standby,
.js-omnislash.genrePageShelfCont:not(.js-omnislash-init) {
  min-height: 400px;
}


#customShelves {
  margin-bottom: -16px;
  padding-bottom: 1px;
}
#customShelves.kobo-custom-shelves {
  margin-bottom: 0;
  padding-bottom: 0;
}
#customShelves[data-genre-id="101901"] {
  min-height: 2324px;
}
#customShelves[data-genre-id="101903"] {
  min-height: 1935px;
}
#customShelves[data-genre-id="101904"] {
  min-height: 1645px;
}
#customShelves[data-genre-id="101905"] {
  min-height: 1546px;
}
#customShelves[data-genre-id="101940"] {
  min-height: 769px;
}
#customShelves[data-genre-id="101970"] {
  min-height: 1610px;
}
