@charset "UTF-8";
/* 
検索モジュールのスタイル設定
*/

/***
*/

/***********
ダイアログ用
************/

/*
 * ダイアログ 個別
 */

.pg_dialog_quickSearch_header {
  font-size: 18px;
  /* font-weight: bold; */
  line-height: 1.4;
  margin: 0.33em 0;
}

.pg_dialog_quickSearch_header::before {
  content: "●";
}

.pg_dialog_quickSearch_header:first-child {
  margin-top: 0;
}

@media screen and (max-width: 959px) {
  .pg_dialog_quickSearch_header {
    font-size: 16px;
  }
}

.pg_dialog_quickSearch_linklist {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.pg_dialog_quickSearch_linklist::after {
  content: "";
  display: block;
  position: absolute;
  width: 10px;
  height: 6px;
  top: 100%;
  left: .75em;
  -webkit-transform: translateY(7px);
  transform: translateY(7px);
  background-image: url(../img/map/arrow_quick-search.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.pg_dialog_quickSearch_linklist__item {
  display: block;
  margin: 0.2em 0;
  padding: .2em .5em;
  border-right: 1px solid #00458B;
  line-height: 1;
  color: #00458B;
}

.pg_dialog_quickSearch_linklist__item:hover {
  text-decoration: underline;
}

.pg_dialog_quickSearch_result_resultNum {
  margin-bottom: 20px;
}

.pg_dialog_quickSearch_result_resultBox__header {
  background-color: black;
  color: white;
  /* font-weight: bold; */
  padding: 0.5em 1em;
}

.pg_dialog_quickSearch_result_resultBox__body {
  padding: 1em;
  background-color: white;
}

.pg_dialog_quickSearch_result_resultBox__body>p {
  margin-bottom: 0.5em;
}

.pg_dialog_quickSearch_result_resultBox__body>p:last-child {
  margin-bottom: 0;
}

.pg_quickSearch_results {
  height: 200px;
  overflow-y: scroll;
  background-color: #e0e0e0;
}

.pg_quickSearch_results__header {
  position: relative;
  background-color: black;
  color: white;
  /* font-weight: bold; */
  padding: 0.5em 1em;
  margin-top: 1px;
  cursor: pointer;
}

.pg_quickSearch_results__header:first-child {
  margin-top: 0;
}

.pg_quickSearch_results__header::after {
  content: "";
  display: block;
  position: absolute;
  right: 10px;
  top: 50%;
  width: 1em;
  height: 1em;
  border-bottom: 2px solid white;
  border-left: 2px solid white;
  -webkit-transform: translateY(-66%) rotate(-45deg);
  transform: translateY(-66%) rotate(-45deg);
  -webkit-transform-origin: center center;
  transform-origin: center center;
}

.pg_quickSearch_results__header.onOpen::after {
  -webkit-transform: translateY(-33%) rotate(135deg);
  transform: translateY(-33%) rotate(135deg);
}

.pg_quickSearch_results__header.onOpen+.pg_quickSearch_results__body {
  margin-bottom: -1px;
}

.pg_quickSearch_results__body {
  background-color: white;
}

.pg_quickSearch_resultItem {
  box-sizing: border-box;
  border: 8px solid rgba(0,0,0,0);
  padding: 0.25em 0.5em;
  /*border-bottom: 1px dotted black;*/
  -webkit-transition: background-color .2s ease 0s;
  transition: background-color .2s ease 0s;
  cursor: pointer;
}

.pg_quickSearch_resultItem:last-child {
  border-bottom: none;
}

.pg_quickSearch_resultItem:hover {
  background-color: #e4e4e4;
}

/* .pg_quickSearch_resultItem__header {
  font-weight: bold;
} */

.pg_dialog_quickSearch_linklist--ku {
  width: 80%;
}

@media screen and (max-width: 959px) {
  .pg_dialog_quickSearch_linklist--ku {
    width: auto;
  }
}

.pg_dialog_quickSearch_linklist--50on {
  width: 82%;
  margin-top: 20px;
}

@media screen and (max-width: 959px) {
  .pg_dialog_quickSearch_linklist--50on {
    width: auto;
    max-width: calc(20em + 20px);
  }
}

.pg_dialog_quickSearch_linklist--area {
  width: 100%;
  margin-top: 20px;
}

@media screen and (max-width: 959px) {
  .pg_dialog_quickSearch_linklist--area {
    width: auto;
    max-width: calc(20em + 20px);
  }
}

.pg_dialog_quickSearch_linklist--banchi {
  width: 100%;
  margin-top: 20px;
}

@media screen and (max-width: 959px) {
  .pg_dialog_quickSearch_linklist--banchi {
    width: auto;
    max-width: calc(20em + 20px);
  }
}

.pg_dialog_quickSearch_linklist--address {
  width: 100%;
  margin-top: 20px;
}

.pg_quickSearch_results hr {
  height: 1px;
  width: 100%;
  margin: 0;
  padding: 0;
  border-top: 1px solid silver;
}

@media screen and (max-width: 959px) {
  .pg_dialog_quickSearch_linklist--address {
    width: auto;
    max-width: calc(20em + 20px);
  }
}

/* スクロールによるラベル位置の修正 */
.pg_quick---link.js-search--link_scroll.pg_quick---link_bottom {
  bottom: 85%;
}

/* トップページ上のパネル表示位置を上書き */
.pg_dialog_quickSearch {
  top: 5%;
}

/* 検索パネルの表示設定 */
.dispswitch-inactive {
  display: none;
}

.dispswitch-active {
  display: block;
}

/* ドリルダウンエリア */
.search_drill_hover {
  cursor: pointer;
}

.search_drill_hover::selection {
  color: brown;
}

/* ドリル検索選択のテンプレートの設定 */
.templete {
  display: none;
}

#srh-modalpanel {
  z-index: 100000;
}

#srh-search_dialog {
  max-height: 500px;
}

#srh-result_dialog {
  display: relative;
  align-items: center;
  justify-content: center;
  z-index: 100001;
  position: fixed;
  /* left: 50%; */
  top: 50%;
  /* margin-left: -80px; */
  margin-top: -60px;
}

.sel_highlight {
  color: crimson;
  text-decoration: underline;
}

#srh-drillArea {
  overflow-y: scroll;
  max-height: 500px;
}

@media screen and (max-width: 959px) {
  #srh-drillArea {
    overflow-y: scroll;
    max-height: 300px;
  }
}

.img--maplink {
  width: 15px;
  height: 15px;
}

.pg_dialog_search {
  width: 460px;
  top: 10%;
  left: 20%;
}

.pg_dialog_search::after {
  border: 2px solid black;
  top: 5px;
  left: 5px;
  border-radius: 6px;
}

.pg_dialog_search>.pg_dialog__inner {
  background-color: var(--ukDialogBackColor, #89FFCD);
  border: 2px solid black;
  border-radius: 6px;
}

.pg_dialog_search::after {
  display: none !important;
}

@media screen and (max-width: 959px) {
  .pg_dialog_search {
    width: 90%;
    top: 2%;
    left: 5%;
  }
}

.pg_searchResult--deactive,
.pg_searchNoKwd--deactive,
.pg_nowsearchLabel--deactive {
  display: none;
}

/* 検索中の文字 */
.pg_nowSearchLabel {
  animation: flash 1.5s linear infinite;
  color: red;
}

@keyframes flash {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* 検索結果 */
address,
dl,
fieldset,
figure,
ol,
p,
pre,
ul {
  margin: 0;
}

/* 検索パネルボタン */
.pg_searchdialog__btn {
  padding: 0;
}
/* 検索結果行テンプレート */
.resultTemplete {
  display: none;
}
/* 検索結果リスト */
.pg_quickSearch_resultList {
  padding-left: 0;
}
/* 検索結果アコーディオン中身 */
.pg_accordion-content {
  margin-top: 0;
  padding: 0 0 0 0;
}
.uk-accordion>:nth-child(n+2).pg_search_uk-open {
  margin-top: 1px;
}
/* 検索文言ない場合のメッセージ */
.pg_searchNoKwdMsg {
  color: red;
  font-weight: bolder;
}


/* 範囲指定トグルボタン */
.pg_toggleBtn_aroundCenter {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid black;
  background-color: white;
  border-radius: 2em;
  /* font-weight: bold; */
  cursor: pointer;
  margin: 10px 0 10px 0;
  /*height: 25px;*/
  width: 90px;
  /*float: right;*/
  margin: 0;
}

.pg_toggleBtn_aroundCenter>div {
  position: relative;
  width: 50%;
  z-index: 2;
  text-align: center;
  padding: 0.3em 0;
  font-size: 13px;
}

.pg_toggleBtn_aroundCenter>.pg_toggleBtn__on {
  color: #fff;
}

.pg_toggleBtn_aroundCenter>.pg_toggleBtn__off {
  color: #ccc;
}

.pg_toggleBtn_aroundCenter::after {
  content: "";
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  width: 50%;
  height: 100%;
  border: 1px solid white;
  background-color: #00458b;
  left: 50%;
  top: 0;
  -webkit-transition: left 0.2s ease 0s;
  transition: left 0.2s ease 0s;
  z-index: 1;
  border-radius: 2em;
}

.pg_toggleBtn_aroundCenter.pg_toggleBtn--off>.pg_toggleBtn__on {
  color: #ccc;
}

.pg_toggleBtn_aroundCenter.pg_toggleBtn--off>.pg_toggleBtn__off {
  color: #fff;
}

.pg_toggleBtn_aroundCenter.pg_toggleBtn--off::after {
  left: 0;
}

.pg_toggleBtn_aroundCenter.pg_toggleBtn--off>.pg_draw_toggleBtn__off {
  color: #000;
}

@media screen and (max-width: 959px) {
  .pg_aroundCenter h6 {
    margin-bottom: 7px;
  }
}


/* 目標物検索 */
.pg_dialog_quickSearch_genres {
  height: auto;
  margin: 0.5em 0;
}

.pg_dialog_quickSearch_genres .uk-accordion-title {
  color: black;
}

.pg_genres_selector {
  height: 25vh;
  padding: 1em;
  background-color: white;
  overflow-y: scroll;
  user-select: none;
}

.pg_genres_selector label {
  cursor: pointer;
}

.pg_genres_selector label:has(input[type=checkbox]:checked) {
    color: blue;
}

.pg_genres_selector li {
  padding: 0.2em;
}

.pg_genres_selector ul {
}

.pg_genres_selector ul > li > ul {
  margin-left: 1em;
}

.pg_genres_selector ul > li > ul >li {
  display: inline-block;
  margin-right: 1em;
}

.pg_genres_selector ul > li > ul > li > ul {
  margin-left: 1em;
}

.pg_genres_selector ul > li > ul > li > ul > li {
  display: inline-block;
  margin-right: 1em;
}

.pg_genres_selector.js_on {
  background-color: 
}
