/* 特性グラフSVG版専用スタイル
 * このCSSの読み込みを外すと、他の製品検索UIには影響しません。
 */

#products-search .c-feature-svg__scroll-note {
  display: none;
  margin: 12px 20px 0;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

#products-search .c-feature-svg__scroll {
  box-sizing: border-box;
  width: calc(100% - 40px);
  margin: 20px 20px 0;
  overflow-x: auto;
  overflow-y: hidden;
  background: #505050;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-color: #d01920 #ececec;
  scrollbar-width: thin;
}

#products-search .c-feature-svg {
  display: block;
  width: 100%;
  min-width: 0;
  height: auto;
  font-family: "Noto Sans JP", sans-serif;
}

#products-search .c-feature-svg__background {
  fill: #505050;
}

#products-search .c-feature-svg__grid {
  fill: none;
  stroke: #929292;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

#products-search .c-feature-svg__axis-title {
  fill: #fff;
  font-size: 27px;
  font-weight: 600;
}

#products-search .c-feature-svg__ticks {
  fill: #fff;
  font-size: 19px;
  text-anchor: middle;
}

#products-search .c-feature-svg__ticks text:nth-child(n+10) {
  text-anchor: end;
}

#products-search .c-feature-product {
  color: #ffdc20;
  cursor: pointer;
  filter:
    drop-shadow(2px 0 0 #505050) drop-shadow(-2px 0 0 #505050) drop-shadow(0 2px 0 #505050) drop-shadow(0 -2px 0 #505050);
}

#products-search .c-feature-product .line {
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

#products-search .c-feature-product .hit {
  fill: none;
  stroke: transparent;
  stroke-width: 46;
  stroke-linecap: round;
  pointer-events: stroke;
}

#products-search .c-feature-product .hit-point {
  fill: transparent;
  pointer-events: fill;
}

#products-search .c-feature-product circle:not(.hit-point) {
  fill: currentColor;
  r: 6px;
  pointer-events: none;
}

#products-search .c-feature-product text {
  fill: #fff;
  stroke: #505050;
  stroke-width: 4px;
  paint-order: stroke fill;
  stroke-linejoin: round;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  pointer-events: visiblePainted;
}

#products-search .c-feature-product.is-red {
  color: #f15a3d;
}

#products-search .c-feature-product.is-disabled {
  color: #d6d6d6;
  cursor: default;
}

#products-search .c-feature-product.is-disabled text {
  fill: #ddd;
}

#products-search .c-feature-svg a:hover .c-feature-product,
#products-search .c-feature-svg a:focus-visible .c-feature-product {
  color: #fff;
}

#products-search .c-feature-svg a:hover text,
#products-search .c-feature-svg a:focus-visible text {
  fill: #ffdc20;
}

#products-search .c-feature-svg a:focus-visible {
  outline: none;
}

#products-search .c-feature-scrollbar {
  display: none;
}

/* ==========================================================================
   MOBILE: 767px and below
   ========================================================================== */
@media only screen and (width <=767px) {

  #products-search .p-search__panel--tab[data-panel="3"],
  #products-search .c-search__panel-c,
  #products-search .c-search__panel-c>li,
  #products-search .c-search__panel-c .c-type-selector {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  #products-search .c-search__panel-c {
    overflow: hidden;
  }

  #products-search .c-feature-svg__scroll-note {
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  #products-search .c-feature-svg__scroll-note::before {
    content: "↔";
    display: inline-block;
    margin-right: 0.5em;
    font-size: 1.2em;
  }

  #products-search .c-feature-svg__scroll {
    box-sizing: border-box;
    width: calc(100vw - 48px) !important;
    width: calc(100dvw - 48px) !important;
    min-width: 0;
    max-width: calc(100vw - 48px) !important;
    max-width: calc(100dvw - 48px) !important;
    margin: 10px 0 0;
    padding: 0 0 10px;
    display: block;
    overflow-x: scroll !important;
    overflow-y: hidden !important;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: auto;
    scrollbar-color: #d01920 #ececec;
    touch-action: pan-x;
  }

  #products-search .c-feature-svg__scroll::-webkit-scrollbar {
    height: 12px;
  }

  #products-search .c-feature-svg__scroll::-webkit-scrollbar-track {
    background: #ececec;
  }

  #products-search .c-feature-svg__scroll::-webkit-scrollbar-thumb {
    background: #d01920;
    border: 2px solid #ececec;
    border-radius: 6px;
  }

  #products-search .c-feature-svg {
    box-sizing: border-box;
    width: 1000px !important;
    inline-size: 1000px !important;
    min-width: 1000px !important;
    min-inline-size: 1000px !important;
    max-width: none !important;
    max-inline-size: none !important;
    flex: 0 0 1000px;
    touch-action: pan-x;
  }

  #products-search .c-feature-product .line {
    stroke-width: 4.5;
  }

  #products-search .c-feature-product .hit {
    stroke-width: 52;
  }

  #products-search .c-feature-product text {
    font-size: 20px;
  }

  /* JavaScript-driven scrollbar is not used; show the native scrollbar only. */
  #products-search .c-feature-scrollbar {
    display: none !important;
  }

  /* スクロールバー全体 */
  #products-search .c-feature-svg__scroll::-webkit-scrollbar {
    height: 12px;
  }

  /* バーの背景部分 */
  #products-search .c-feature-svg__scroll::-webkit-scrollbar-track {
    background-color: #e5e5e5;
    ん
  }

  /* 動かすつまみ */
  #products-search .c-feature-svg__scroll::-webkit-scrollbar-thumb {
    background-color: #ef0041;
    border: 2px solid #e5e5e5;
    border-radius: 6px;
  }

  /* Firefox */
  #products-search .c-feature-svg__scroll {
    scrollbar-color: #ccc #e5e5e5;
    scrollbar-width: auto;
  }
}

#products-search .c-feature-product.is-disabled,
#products-search .c-feature-product.is-disabled * {
  cursor: default !important;
  pointer-events: none !important;
}