/* Menu version 20261122-01. Opted-in home/sell/ninbai pages only. */
.j1-mega.j1-menu-v2 {
  padding: 0;
  background: #fff;
  border-top: 2px solid #af8b3c;
  border-bottom: 1px solid #d8ceba;
  color: #2a1b09;
}
.j1-menu-v2 [hidden] { display: none !important; }
.j1-menu-v2 .j1-menu-shell {
  width: min(1200px, calc(100% - 80px));
  margin: 0 auto;
}
.j1-menu-v2 .j1-menu-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid #d8ceba;
}
.j1-menu-v2 .j1-menu-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 24px;
}
.j1-menu-v2 .j1-menu-heading h2 {
  margin: 0;
  font-size: 23px;
  line-height: 1.5;
  color: #2a1b09;
}
.j1-menu-v2 .j1-menu-home {
  font-size: 13px;
  line-height: 1.6;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  color: #716247;
}
.j1-menu-v2 .j1-menu-manga {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #af8b3c;
  border-radius: 2px;
  background: #f7f5f0;
  color: #2a1b09;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}
.j1-menu-v2 .j1-menu-manga svg {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  color: #92753f;
}
.j1-menu-v2 a.j1-menu-manga:hover { background: #efebe1; }
.j1-menu-v2 .j1-menu-manga-held {
  border-color: #ddd5c7;
  color: #726a60;
  font-size: 13px;
  font-weight: 400;
}
.j1-menu-v2 .j1-menu-browser {
  position: relative;
  min-height: 320px;
  --j1-menu-left: 325px;
}
.j1-menu-v2 .j1-menu-category-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: var(--j1-menu-left);
  min-height: 49px;
  margin: 0;
  padding: 12px 20px 12px 0;
  border: 0;
  border-bottom: 1px solid #e8e2d6;
  border-right: 1px solid #d8ceba;
  border-radius: 0;
  background: #fff;
  color: #2a1b09;
  font: inherit;
  font-size: 14px;
  line-height: 1.65;
  text-align: left;
  cursor: pointer;
}
.j1-menu-v2 .j1-menu-category-button::after {
  content: '';
  width: 6px;
  height: 6px;
  margin-right: 2px;
  flex: 0 0 6px;
  border-top: 1px solid #92753f;
  border-right: 1px solid #92753f;
  transform: rotate(45deg);
}
.j1-menu-v2 .j1-menu-category-button:hover,
.j1-menu-v2 .j1-menu-category-button[aria-expanded="true"] {
  background: #f7f5f0;
  color: #80621f;
  box-shadow: inset 3px 0 0 #af8b3c;
  padding-left: 14px;
}
.j1-menu-v2 .j1-menu-panel {
  position: absolute;
  inset: 0 0 0 var(--j1-menu-left);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: 24px 30px 28px;
  background: #fff;
  border-left: 1px solid #d8ceba;
}
.j1-menu-v2 .j1-menu-panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 12px;
  margin-bottom: 2px;
  border-bottom: 1px solid #bba576;
}
.j1-menu-v2 .j1-menu-panel h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 600;
  color: #2a1b09;
}
.j1-menu-v2 .j1-menu-count {
  flex: 0 0 auto;
  font-size: 12px;
  color: #726a60;
  white-space: nowrap;
}
.j1-menu-v2 .j1-menu-articles {
  list-style: none;
  padding: 0;
  margin: 0;
}
.j1-menu-v2 .j1-menu-articles li { margin: 0; padding: 0; }
.j1-menu-v2 .j1-menu-articles a {
  display: block;
  padding: 12px 3px;
  border-bottom: 1px solid #e8e2d6;
  color: #2a1b09;
  font-size: 14px;
  line-height: 1.75;
  text-decoration: none;
}
.j1-menu-v2 .j1-menu-articles a:hover {
  background: #f7f5f0;
  color: #80621f;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.j1-menu-v2 .j1-menu-category-link {
  display: inline-block;
  margin-top: 18px;
  padding-bottom: 4px;
  border-bottom: 1px solid #bba576;
  color: #716247;
  font-size: 13px;
  line-height: 1.6;
  text-decoration: none;
}
.j1-menu-v2 .j1-menu-empty {
  margin: 22px 0 0;
  color: #726a60;
  font-size: 14px;
  line-height: 1.8;
}
.j1-menu-v2 .j1-menu-extra {
  width: var(--j1-menu-left);
  padding: 12px 20px 16px 0;
  border-right: 1px solid #d8ceba;
}
.j1-menu-v2 .j1-menu-extra a {
  display: block;
  color: #716247;
  font-size: 13px;
  line-height: 1.8;
  text-underline-offset: 4px;
}
.j1-menu-v2 .j1-menu-fallback {
  max-width: 820px;
  padding: 22px 0 30px;
}
.j1-menu-v2 .j1-menu-fallback .j1-mega-links { grid-template-columns: 1fr; }
.j1-menu-v2 :is(a,button):focus-visible {
  outline: 2px solid #92753f;
  outline-offset: 3px;
}
@media (min-width: 901px) {
  .j1-mega.j1-menu-v2 { max-height: calc(100dvh - 160px); overflow-y: auto; }
}
@media (min-width: 901px) and (max-width: 1150px) {
  .j1-menu-v2 .j1-menu-browser { --j1-menu-left: 290px; }
  .j1-menu-v2 .j1-menu-panel { padding: 22px; }
}
@media (max-width: 900px) {
  .official-header-candidate .j1-mega.j1-menu-v2 { padding: 0; }
  .j1-menu-v2 .j1-menu-shell { width: 100%; }
  .j1-menu-v2 .j1-menu-top {
    display: block;
    padding: 14px 18px 18px;
    background: #f7f5f0;
  }
  .j1-menu-v2 .j1-menu-heading { justify-content: space-between; margin-bottom: 12px; gap: 8px; }
  .j1-menu-v2 .j1-menu-heading h2 { font-size: 19px; }
  .j1-menu-v2 .j1-menu-manga { width: 100%; min-height: 46px; background: #fff; padding: 10px 12px; }
  .j1-menu-v2 .j1-menu-browser { min-height: 0; }
  .j1-menu-v2 .j1-menu-category-button {
    width: 100%;
    min-height: 52px;
    padding: 14px 22px 14px 18px;
    border-right: 0;
    font-size: 14px;
  }
  .j1-menu-v2 .j1-menu-category-button::after { transform: rotate(135deg); margin-top: -4px; }
  .j1-menu-v2 .j1-menu-category-button[aria-expanded="true"]::after { transform: rotate(-45deg); margin-top: 4px; }
  .j1-menu-v2 .j1-menu-category-button:hover,
  .j1-menu-v2 .j1-menu-category-button[aria-expanded="true"] { padding-left: 18px; }
  .j1-menu-v2 .j1-menu-panel {
    position: static;
    overflow: visible;
    padding: 10px 18px 22px 28px;
    border-left: 3px solid #d8ceba;
    border-bottom: 1px solid #d8ceba;
    background: #fcfbf8;
  }
  .j1-menu-v2 .j1-menu-panel-heading { margin: 0; padding: 4px 0 9px; }
  .j1-menu-v2 .j1-menu-panel h3 { font-size: 14px; }
  .j1-menu-v2 .j1-menu-articles a { padding: 13px 0; font-size: 14px; }
  .j1-menu-v2 .j1-menu-extra { width: 100%; padding: 15px 18px 20px; border-right: 0; }
  .j1-menu-v2 .j1-menu-fallback { padding: 4px 18px 24px; }
}
