@charset "utf-8";
/**
 * gnavi.css
 *
 * @package Knowledge Ring
 * @subpackage kcv8
 */
#divnavi {
  width: 100%;
  min-width: 1170px;
  height: 35px;
  background-color: #f6f8fa;
  border-top: solid 1px #ccc;
  border-bottom: solid 5px #c1272d;
}

#divnavi .div {
  width: 1148px;
  margin: auto;
  height: 35px;
  border-left: 1px solid #b7bac1;
  border-right: 1px solid #b7bac1;
}

ul#navi {
  margin: 0;
  padding: 0;
  list-style: none;
  display: block;
  text-align: center;
  text-decoration: none;
  color: #333;
  font-size: 12px;
  font-weight: 600;
  line-height: 2.2em;
}

ul#navi a {
  padding: 5px 0.9em 4px 0.9em;
  display: block;
  text-align: center;
  text-decoration: none;
  color: #333;
  font-size: 12px;
}

.children ul#navi a {
  padding: 2px 0.9em 2px 0.9em;
}

ul#navi li {
  list-style: none;
  margin: 0;
  display: block;
  float: left;
  border-right: 1px solid #b7bac1;
  position: relative;
  z-index: 1;
}

ul#navi li ul.children li {
  display: inline-block;
  vertical-align: middle;
}

ul#navi li ul.children a {
  color: #333;
}

ul#navi ul {
  visibility: hidden;
  position: absolute;
  padding-top: 5px;
  left: 0;
}

ul#navi ul li {
  float: none;
}

ul#navi ul ul {
  top: 0px;
  padding-top: 0;
  left: 180px;
}

ul#navi ul li {
  min-width: 180px;
  border-left: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
}

ul#navi li.current-cat,
ul#navi li.current-cat-parent {
  background-color: #c1272d;
}

ul#navi ul a {
  display: block;
  color: #fff;
  text-align: left;
}

ul#navi li.current-cat a,
ul#navi li.current-cat-parent a {
  color: #fff;
}

ul#navi li.current-cat li,
ul#navi li.current-cat-parent li {
  display: block;
  min-width: 180px;
}

ul#navi li ul li.current-cat,
ul#navi li ul li.current-cat-parent {
  background-image: none;
  background-color: #f3d673;
}

/* カーソルオーバー */
ul#navi li.hover,
ul#navi li:hover {
  background-color: #c1272d;
}

ul#navi li.cat-item ul.children li.hover,
ul#navi li.cat-item ul.children li:hover {
  background-image: none;
  background-color: #f3d673;
}

ul#navi li.hover a {
  color: #fff;
}

ul#navi li ul li {
  background-color: #f6f6f6;
}

/* コミュニティGNavi設定 */
ul#navi #gnavi_qa {
  border-left: 1px solid #b7bac1;
  float: right;
}

#overflowed-category {
  overflow: hidden;
  position: relative;
}

#toggle-overflowed-category {
  position: relative;
  left: 99.2%;
  z-index: 2;
  background: #929292;
  width: 28px;
  height: 28px;
  border-radius: 25px;
  cursor: pointer;
  top: -16px;
  transform: translate(0, -50%);
}

#toggle-overflowed-category span {
  position: absolute;
  margin: auto;
  bottom: 0;
  top: 34%;
  right: 0;
  left: 0;
  transform: translate(0%, -50%);
  color: #fff;
}

#toggle-overflowed-category:hover {
  background: #393939;
}

#overflowed-dropdown-content {
  position: absolute;
  right: 0;
  background-color: #f6f8fa;
  min-width: 180px;
  z-index: 1;
  border: 1px solid #b7bac1;
  top: 150%;
}

#toggle-overflowed-category::after {
  top: 100%;
  content: "";
  display: block;
  width: 150%;
  background: transparent;
  bottom: 100%;
  position: absolute;
  height: 30px;
  right: 0;
}

#overflowed-dropdown-content a {
  color: #333;
  word-break: break-all;
  line-height: 2.2em;
}

#overflowed-dropdown-content .hidden-category:not(:last-child) {
  border-bottom: 1px solid #b7bac1;
}

#overflowed-dropdown-content a:hover {
  background: #f3d673;
}

.overflowed-dropdown-toggle {
  display: none;
}

#overflowed-dropdown-content a+ul li a {
  color: #333;
}

#overflowed-dropdown-content a+ul li:first-child a {
  border-top: 1px solid #ccc;
}

.hidden-category {
  position: relative;
}

#overflowed-dropdown-content a+ul li:hover {
  background: #f3d673;
  display: block;
}

#overflowed-dropdown-content a+ul li:hover a {
  color: #333 !important;
}

#overflowed-dropdown-content a:hover+ul.children {
  display: block;
}

#toggle-overflowed-category ul {
  height: 30px;
}

#toggle-overflowed-category ul.children {
  visibility: visible;
  position: absolute;
  right: 100%;
  left: auto;
  background-color: #f6f8fa;
  padding: 0;
  top: 0;
  display: none;
}

#toggle-overflowed-category ul.children.show {
  display: block;
}

#toggle-overflowed-category .children .child-indicator {
  display: none;
}

#overflowed-dropdown-content .hidden-category a {
  position: relative;
  padding: 5px 1.5em 4px 1em;
  text-align: right;
}