﻿#js-unt-getAjaxHeader {
  display: none !important;
}
#js-unt-getAjaxFooter .pane-footer {
  background-color: #464646;
}
.u-visuallyHidden {
  position: absolute;
  padding: 0;
  width: 1px;
  height: 1px;
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(0px 0px 99.9% 99.9%);
  overflow: hidden;
}

/* ====== Header ====== */
.p-clenstop-header {
  background-color: #fff;
}
.p-clenstop-header--nav-search-link {
  padding-right: 17px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 120px;
  min-height: 40px;
  font-size: 16px;
  font-weight: bold;
  color: #4FA9BF;
  border: 1px solid #ddd;
  border-radius: 22px;
  background: #F7F7F7 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14.842" height="14.865" viewBox="0 0 14.842 14.865"><path d="M-1755.25,84.229l3.75,3.5Zm-10.25-4.5a6,6,0,0,1,6-6,6,6,0,0,1,6,6,6,6,0,0,1-6,6A6,6,0,0,1-1765.5,79.729Z" transform="translate(1766 -73.23)" fill="none" stroke="%234fa9bf" stroke-width="1"/></svg>') no-repeat left 16px center / 14px;
  transition: .3s ease;
}
@media screen and (min-width:741px) {
  .p-clenstop-header #header {
    position: static;
    border: none;
  }
  .p-clenstop-header--nav-menu {
    display: none !important;
  }
  .p-clenstop-header-inner {
    margin: 0 auto;
    padding: 0 10px;
    max-width: 1700px;
    min-height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
  }
  .p-clenstop-header--side {
    width: 144px;
  }

  /* nav */
  .p-clenstop-header--nav {
    width: calc(100% - 174px);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
  }
  .p-clenstop-header--nav > .p-clenstop-header--nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0 10px;
  }
  .p-clenstop-header--nav > .p-clenstop-header--nav-list .p-clenstop-header--nav-link {
    padding: 12px 20px;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
    color: #333;
    border-radius: 20px;
    background-color: #fff;
    transition: .3s ease;
  }
  .p-clenstop-header--nav > .p-clenstop-header--nav-list .p-clenstop-header--nav-link:hover {
    color: #4FA9BF;
    background-color: #E8F7FC;
  }
  .p-clenstop-header--nav-search-link:hover {
    border-color: #E8F7FC;
    background-color: #E8F7FC;
  }
  .p-clenstop-header--nav-btn {
    display: none;
  }
}
@media screen and (max-width:740px) {
  .p-clenstop-header #header + * {
    padding-top: 0;
  }
  .p-clenstop-header {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 8999;
    width: 100%;
  }
  .p-clenstop-header-inner {
    padding: 0 15px;
    min-height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
  }
  .p-clenstop-header--side {
    width: 120px;
  }

  /* nav */
  .p-clenstop-header--nav {
    width: calc(100% - 140px);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 13px;
  }
  .p-clenstop-header--nav-search-link {
    min-width: 102px;
    min-height: 33px;
    font-size: 13px;
    background-position: left 13px center;
    background-size: 12px;
  }
  .p-clenstop-header--nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 5px;
    background: #E8F7FC;
    position: relative;
  }
  .p-clenstop-header--nav-btn::before,
  .p-clenstop-header--nav-btn::after,
  .p-clenstop-header--nav-btn .line_ {
    position: absolute;
    content: "";
    left: 13px;
    z-index: 0;
    width: 18px;
    height: 2px;
    border-radius: 1px;
    background: #4FA9BF;
    transition: .3s;
  }
  .p-clenstop-header--nav-btn::before {
    top: calc(50% - 8px);
  }
  .p-clenstop-header--nav-btn::after {
    top: calc(50% + 6px);
  }
  .p-clenstop-header--nav-btn .line_ {
    top: calc(50% - 1px);
  }
  .p-clenstop-header--nav-btn.is-open::before {
    top: calc(50% - 1px);
    transform: rotate(45deg);
  }
  .p-clenstop-header--nav-btn.is-open::after {
    top: calc(50% - 1px);
    transform: rotate(-45deg);
  }
  .p-clenstop-header--nav-btn.is-open .line_ {
    opacity: 0;
  }
  .p-clenstop-header--nav > .p-clenstop-header--nav-list {
    display: none;
  }
  .p-clenstop-header--nav-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    z-index: 8989;
    padding: 20px 15px;
    width: 100%;
    height: calc(100dvh - 60px);
    background-color: #E8F7FC;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.6) transparent;
  }
  .p-clenstop-header--nav-menu .p-clenstop-header--nav-item + .p-clenstop-header--nav-item {
    margin-top: 10px;
  }
  .p-clenstop-header--nav-menu .p-clenstop-header--nav-link {
    padding: 5px 30px 5px 20px;
    display: flex;
    align-items: center;
    min-height: 60px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    border: 1px solid #EDEDED;
    border-radius: 5px;
    background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="7.225" height="9.562" viewBox="0 0 7.225 9.562"><path d="M0,8,5,4,0,0" transform="translate(0.625 0.781)" fill="none" stroke="%234fa9bf" stroke-width="2"/></svg>') no-repeat right 20px center / 7px 10px;
  }
  .p-clenstop-header--nav-menu-bnr {
    margin-top: 40px;
  }
  body.is-clensTopMenuOpen {
    overflow: hidden;
  }

  body:has(.p-clenstop-header) .genre-form-wrap,
  body:has(.p-clenstop-header) .genre-form-btn {
    z-index: 10000;
  }
  body:has(.p-clenstop-header) .genre_filter ul.item_node.root_genre_item img {
    width: auto;
    max-height: 100%;
  }
}