@charset "utf-8";
/*************************************************************
 *
 * Copyright (c) 2023 ysrock Co., Ltd.	<info@ysrock.co.jp>
 * Copyright (c) 2023 Yasuo Sugano	<sugano@ysrock.co.jp>
 *
 * Version	: 1.2.0
 * Update	  : 2023.04.13
 *
 *************************************************************/


div.vSelectWrap {
  position: relative;
}


/**
 * 疑似SELECT
 */
div.vSelectWrap > div.vDummy {
  position: relative;
}
div.vSelectWrap > div.vDummy::after {
  content: "";
  position: absolute;
  top: 0;
  right: .5em;
  bottom: 0;
  margin-top: auto;
  margin-bottom: auto;
  width: .5em;
  height: .5em;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAJxJREFUOE+V080NwyAMBeBnMUgySo/ILNFO0nSSdgm4djQiS4kUfmNzA/Q+kC0TqsXMTwBLSulT3/X2dD2UMBF95SznvGmQAggh/AE8TlSDFID3fnXOyQ/USAHIy1akAaxIF7AgQ0CLTAFB6s4A+MUYX2enpsBdWJAhoAkPAW24C1jCDWANNwAzv4loOypcVHs0mU0RD2S9tmo21jsWRWMRCNGz/wAAAABJRU5ErkJggg==);
  background-repeat: no-repeat;
  background-size: .5em;
  opacity: .75;
  transform: rotate(90deg);
  cursor: default;
  pointer-events: none;
}
div.vSelectWrap.visible > div.vDummy::after {
  transform: rotate(-90deg);
}
div.vSelectWrap > div.vDummy > input {
  width: 100%;
  cursor: default;
}


/**
 * ポップアップ
 */
div.vSelectWrap > div.vPopup {
  display: none;
  width: 100%;
  position: absolute;
  z-index: 1;
  background-color: #fff;
  border-style: solid;
  border-color: #aaa;
  user-select: none;
}
div.vSelectWrap.visible > div.vPopup {
  display: block;
}
@media print, screen and (min-width: 1025px) {
   /* px */

  div.vSelectWrap > div.vPopup {
    min-width: 150px;
    border-width: 1px;
    border-radius: 4px;
  }
}
@media screen and (min-width: 641px) and (max-width: 1024px){
	/* px/8.5 */

  div.vSelectWrap > div.vPopup {
    min-width: 25vw;
    border-width: 0.117vw;
    border-radius: 0.4683vw;
  }
}
@media screen and (max-width: 640px){
	/* px/4 */

  div.vSelectWrap > div.vPopup {
    min-width: 25vw;
    border-width: 0.25vw;
    border-radius: 1vw;
  }
}


/**
 * 検索フォーム
 */
div.vSelectWrap > div.vPopup > div.vSearch {
  position: relative;
}
div.vSelectWrap > div.vPopup > div.vSearch::before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: .5em;
  width: 1em;
  height: 1em;
  margin-top: auto;
  margin-bottom: auto;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAThJREFUOE+VkuGNgzAMhe3AIHQT+IcIO1yZ5GCScjtAxL+ySRmkwdWLklMuBekaCSkk8edn+zFFq2mab2YuiQjfRkQrM/9M07TG7+I946eu6yLLsjsRFSHQ7x1IREZjzHAEcQCtNYJLZq7ibAArpb6YuReRzhgzphD2snsEP5/PbVkWSP9dXt0NiuZ5vrwBtNYPHOKyaZrrUZa2bUsRuacKEccesFprhzzPi6OGeRUPEenTXgCA+qGgQqYjQFBw1IcAKKy11ZmC0Cdr7SXtEQd5RDTO89ylTQrZz+7dGEMGP/NBKbVhImGEHrqizLcphIMIkr6BCzc4UkRuKDUuwykIC+WgD/u+w5G07/saHvtpOaeKyBDG/Qdw5vfI7s4zsb3/DTiAEHzxEcA3/MrMsLZT8jEgmhpA3QtN98FSvYV9agAAAABJRU5ErkJggg==);
  background-repeat: no-repeat;
  opacity: .5;
}
div.vSelectWrap > div.vPopup > div.vSearch > input {
  width: 100%;
  border: none;
  background-color: #f7f7f7;
  padding: .5em .5em .5em 2em;
  line-height: 1em;
  outline: none;
}
@media print, screen and (min-width: 1025px) {
   /* px */

  div.vSelectWrap > div.vPopup > div.vSearch > input {
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
  }
}


/**
 * 追加して選択する
 */
div.vSelectWrap > div.vPopup > div.vNoResult.hidden {
  display: none;
}
div.vSelectWrap > div.vPopup > div.vNoResult > div.vHeadline {
  padding: .5em;
  font-size: .75em;
  font-weight: bold;
}
div.vSelectWrap > div.vPopup > div.vNoResult > div.vPlus {
  position: relative;
  padding: 0 .5em 0 1.5em;
  font-size: 1em;
  line-height: 1.75em;
  cursor: default;
}
div.vSelectWrap > div.vPopup > div.vNoResult > div.vPlus:hover {
  background-color: #f5f5f5;
}
div.vSelectWrap > div.vPopup > div.vNoResult > div.vPlus::before {
  content: "＋";
  position: absolute;
  top: 0;
  left: .5em;
  bottom: 0;
  margin-top: auto;
  margin-bottom: auto;
  padding: 0;
  font-size: 1em;
  line-height: 1.75em;
}


/**
 * 検索結果
 */
div.vSelectWrap > div.vPopup > div.vHeadline {
  padding: .5em;
  font-size: .75em;
  font-weight: bold;
  pointer-events: none;
}


/**
 * 仮想SELECT
 */
div.vSelectWrap > div.vPopup > ul.vSelect {
  width: 100%;
  overflow-y: scroll;
}
div.vSelectWrap > div.vPopup > ul.vSelect > li {
  padding: 0 .5em;
  font-size: 1em;
  line-height: 1.75em;
  cursor: default;
}
div.vSelectWrap > div.vPopup > ul.vSelect > li.hidden {
  display: none;
}
div.vSelectWrap > div.vPopup > ul.vSelect > li:hover {
  background-color: #f5f5f5;
}


/**
 * マッチなし
 */
div.vSelectWrap > div.vPopup > div.vNoMatch {
  padding: 0 .5em;
  font-size: 1em;
  line-height: 1.75em;
  pointer-events: none;
}
div.vSelectWrap > div.vPopup > div.vNoMatch.hidden {
  display: none;
}