/* カスタマイズ用CSS */
/* TB.PC*/

/*=================== TBスタイル ==================*/
/*　画面サイズが660pxからはここを読み込む　*/

  /**************************************************
  * 共通
  **************************************************/
  /*------------------------------
  レイアウト ※変更不可
  ------------------------------*/
  html { 
    height: 100%
  }
  body {
    height: 100%;
    margin: 0;
  }

  .wrap{
    padding: 40px 0;
  }


  ol, ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  p {
    margin: 0;
  }

  .tr {
    text-align: right;
  }

  .mt10 {
    margin-top: 10px;
  }
  .mt20 {
    margin-top: 20px;
  }
  .ml10 {
    margin-left: 10px;
  }
  .ml20 {
    margin-left: 20px;
  }
  .red {
    color:#FF0000;
  }
  .blue {
    color:blue;
  }
  

  /*------------------------------
  テキスト ※変更不可
  ------------------------------*/
  p,li,a,th,td,dt,dd {
    font-size: 16px;
  }
  .text-lead{
    font-weight: bold;
    font-size: 20px;
  }
  /*------------------------------
  見出し h1-h6 ※変更不可
  ------------------------------*/
  h1,h2,h3,h4,h5,h6 {
    line-height: 1.8;
    font-weight: bold;
    margin: 0;
  }
  h1 {
    font-size: 18pt;
    margin: 0 !important;
  }
  h2 {
    font-size: 16pt;
  }
  h3 {
    font-size: 14pt;
  }
  h4 {
    font-size: 12pt;
  }
  h5 {
    font-size: 12pt;
  }
  h6 {
    font-size: 12pt;
  }

  /*------------------------------
  google map api
  ------------------------------*/
  #map_wrapper {
    width:100%;
    padding-top:100%;
    margin:auto;
    /* position: relative; */
  }

  #map {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
  }


  /*------------------------------
  検索欄
    ------------------------------*/
  .search_area { 
    position: absolute;
    top: 6%;
    z-index: 9999;
    background-color: #ffffff;
    padding: 10px;
  
    width: 300px;
    height: auto;
  }
  .search_area input{
    width: 100%;
    padding: 5px 5px;
    font-size: 18px;
    border-radius: 5px;
    border: 2px solid #ddd;
    box-sizing: border-box;
  }
  .search_area button {
    display: inline-block;
    max-width: 180px;
    background-color: #a9a9a9;
    font-size: 16px;
    color: #FFF;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    position: relative;
    border: none;  /* 枠線を消す */
    outline: none; /* クリックしたときに表示される枠線を消す */
    cursor: pointer;
  }
  .search_area button:hover {
    color: #fff;
    background: #e6e6e6;
  }

  #menu {
    position: absolute;
    top: 100px;
    left: 10px;
    z-index: 9999;
    background-color: #ffffff;
    padding: 10px;
  
    width: auto;
    height: auto;
  
    font-size: 18px;
  }
  
  /*------------------------------
  マップ　ボタン
  ------------------------------*/
  .logout_area { 
    position: absolute;
    top: 0;
    right: 0;
    z-index: 9999;
    background: #ffffff;
    padding: 5px;
  
    width: auto;
    height: auto;
  }
  .logout_area button,
  .list_head_area button {
    display: inline-block;
    max-width: 180px;
    font-size: 16px;
    color: #FFF;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 4px;
    position: relative;
    border: none; 
    outline: none;
  }
  .logout_area button:hover,
  .list_head_area button:hover {
    color: #fff;
    background: #e6e6e6;
  }
  .logout_area .logout_bt,
  .list_head_area .map_bt {
    background: #a9a9a9;
  }
  .logout_area .list_bt {
    background: #167F92;
  }
  .marker_count {
    font-size: 18px;
    margin-top: 5px;
  }

  /*------------------------------
  ダイアログ
  ------------------------------*/
  #regist_dialog {
    font-size: 16px;
    z-index: 9999;
  }
  #regist_dialog .item_ttl {
    font-weight: bold;
    margin-bottom: 5px;
  }
  #regist_dialog input[type=text],
  #regist_dialog input[type=number],
  #regist_dialog textarea {
    width: 100%;
    padding: 10px 10px; 
    font-size: 20px;
    border-radius: 5px; 
    border: 2px solid #ddd; 
    box-sizing: border-box; 
    line-height: 1.4;
  }
  .ui-dialog-buttonset{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
 
 .btn_select_color {
   display: flex;
   justify-content: space-around;
 }
 .btn_select_color .ui-widget button {
    width: 40%;
  }
  .ui-dialog-buttonset button {
    width: 45%;
  }
  .ui-dialog .ui-dialog-buttonpane {
    padding: 0 0 0 5px !important;
  }


  .select_ope .ui-dialog-buttonset button:nth-child(1) {
    color: #ffffff;
    background-color: #187FF5;
  }
  .select_ope .ui-dialog-buttonset button:nth-child(3) {
    color: #ffffff;
    background-color: #F53649;
  }
  #search_notfound,
  #confirm_delete_marker {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
  }
  .confirm_search .ui-dialog-titlebar,
  .confirm_delete .ui-dialog-titlebar {
    display: none;
  }
  .confirm_search .ui-dialog-buttonset {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .confirm_delete .ui-dialog-buttonset button:nth-child(1) {
    color: #ffffff;
    background-color: #F53649;
  }

  /* #187FF5

  #F53649 */

  /*------------------------------
  ピンタイプ
  ------------------------------*/
  .select_type {
    display: flex;
    flex-wrap: nowrap;
    margin-bottom: 10px;
  }

  .select_type .pt_radio {
    width: 40%;
    display: block;
    cursor: pointer;
  }
  .select_type .pt_radio:last-child {
    width: 60%;
  }

  .select_type .pt_radio input[type=radio] {
    position: absolute;
    opacity: 0;
  }
  .select_type .pt_radio input[type=radio] + .radio_label {
    cursor: pointer;   
  }
  .select_type .pt_radio input[type=radio] + .radio_label:before {
    content: "";
    background: #f4f4f4;
    border-radius: 100%;
    border: 1px solid #b4b4b4;
    display: inline-block;
    width: 1.4em;
    height: 1.4em;
    position: relative;
    top: -0.2em;
    margin-right: 1em;
    vertical-align: top;
    cursor: pointer;
    text-align: center;
    transition: all 250ms ease;
  }
  .select_type .pt_radio input[type=radio]:checked + .radio_label:before {
    background-color: #3197EE;
    box-shadow: inset 0 0 0 4px #f4f4f4;
  }
  .select_type .pt_radio input[type=radio]#radio_shop:checked + .radio_label:before {
    background-color: #EA4436;
  }



  /*------------------------------
  ラジオボタン　色見本
  ------------------------------*/
  .select_color {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fill, 36px);
  }

  .c_sample {
    position: absolute;
    width: 0px;
    height: 0px;
    opacity: 0;
    left: 0px;
  }

  .bg_green {
    background-color: #008000;
  }
  .bg_greenyellow {
    background-color: #ADFF2F;
  }
  .bg_darkgray {
    background-color: #A9A9A9;
  }
  .bg_yellow {
    background-color: #FFFF00;
  }
  .bg_red {
    background-color: #FF0000;
  }
  .bg_blue {
    background-color: #000088;
  }
  .bg_magenta {
    background-color: #FF00FF;
  }
  .bg_maroon {
    background-color: #800000;
  }
  .bg_cyan {
    background-color: #00FFFF;
  }

  .sc_radio {
    display: none;
  }

  .sc_radio + .sc_radio_image {
    border: 3px #ffffff solid;
    width: 34px;
    height: 34px;
    border-radius: 50%;
  }
  .sc_radio:checked + .sc_radio_image {
    border: 3px #000000 solid;
  }
  .clear_button {
      display: inline-block;
      max-width: 180px;
      background-color: #a9a9a9;
      font-size: 16px;
      color: #FFF;
      text-decoration: none;
      padding: 5px 10px;
      border-radius: 4px;
      position: relative;
      border: none;
      outline: none;
      cursor: pointer;
  }
  .clear_button:hover {
    color: #fff;
    background: #e6e6e6;
  }

  /*------------------------------
  マーカー一覧
  ------------------------------*/
  .marker_list {
    max-width: 1280px;
    margin-bottom: 30px;
  }
  .list_head_area {
    display: flex;
    justify-content: space-between;
  }
  .marker_list ul {
    width: 100%;
    list-style: none;
    display: flex;
    flex-wrap:  nowrap;
    position: relative;
  }
  /* ラベル */
  .marker_list ul.marker_label {
    color: #fff;
    background-color: #167F92;
  }
  .marker_list ul:first-child li {
    text-align: center;
    height: 5% 0;
    border-top: solid 2px;
    border-left: solid 2px;
    border-bottom: solid 2px;
  }
  
  .marker_list ul li {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 0;
    border-left: solid 2px #fff;
    border-bottom: solid 2px #fff;
  
  }
  /* ID */
  .marker_list ul li.marker_id {
    width: 5%;
  }
  /* 名前 */
  .marker_list ul li.marker_name {
    width: 55%;
  }
  .marker_list ul.data li.marker_name {
    text-align: left;
    padding-left: 5px;
  }
  /* ピンの種類 */
  .marker_list ul li.marker_pin_type {
    width: 5%;
  }
  .marker_list ul li.marker_pin_type img {
    width: 60%;
    margin: auto;
  }
  /* 半径 */
  .marker_list ul li.marker_radius {
    width: 10%;
  }
  /* 円の色 */
  .marker_list ul li.marker_circle_color {
    width: 10%;
  }
  /* 更新日時 */
  .marker_list ul li.marker_updated_at {
    width: 15%;
  }
  /* 詳細 */
  .marker_list ul li.marker_detail {
    width: 5%;
  }

  .marker_list ul li.marker_detail > form {
    margin: auto;
  }
  .marker_list ul.data:nth-child(2n) {
    background: #b0c4de;
  }

  .marker_list button {
    display: inline-block;
    max-width: 180px;
    font-size: 16px;
    padding: 10px;
    color: #FFF;
    text-decoration: none;
    border-radius: 4px;
    position: relative;
    border: none; 
    outline: none;
  }
  .marker_list button:hover {
    color: #fff;
    background: #e6e6e6;
  }
  .marker_list .detail_bt {
    background: #a9a9a9;
  }


  /*------------------------------
  マーカー一覧
  ------------------------------*/
  /* ID */
  #competing ul li:nth-child(1) {
    width: 5%;
  }
  /* 名前 */
  #competing ul li:nth-child(2) {
    width: 35%;
  }
  #competing ul.data li:nth-child(2) {
    text-align: left;
    padding-left: 5px;
  }
  /* 競合 */
  #competing ul li:nth-child(3) {
    width: 28%;
  }
  #competing ul.data li:nth-child(3) {
    text-align: left;
    padding-left: 5px;
  }
  /* 駐車場 */
  #competing ul li:nth-child(4) {
    width: 10%;
  }
  /* ピンの色 */
  #competing ul li:nth-child(5) {
    width: 10%;
  }
  /* 更新日時 */
  #competing ul li:nth-child(6) {
    width: 17%;
  }
  /* 詳細 */
  #competing ul li:nth-child(7) {
    width: 5%;
  }


/*------------------------------
マーカー詳細
------------------------------*/
#marker_detail {
	width: 800px;
	border: 1px solid #ccc;
}
#marker_detail .title {
  color: #fff;
  background-color: #167F92;
  font-size: 20px;
  padding: 10px 0 10px 10px;
}
#marker_detail .element_wrap {
  display: flex;
  flex-direction: column;
  padding: 0 15px;
  margin: 5px 0;
}
#marker_detail .element_wrap span {
  margin-bottom: 5px;
}
#marker_detail .border {
  margin: 10px 0;
  border-bottom: solid 2px gray;
}
#marker_detail input {
  width: 250px;
}
#marker_detail #marker_name {
  width: 100%;
}
#marker_detail #radius {
  width: 100px;
}
#marker_detail .element_wrap p {
  font-size: 20px;
}

#marker_detail button {
  display: inline-block;
  max-width: 180px;
  font-size: 16px;
  color: #FFF;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 4px;
  position: relative;
  border: none; 
  outline: none;
  margin: 0 0 10px 10px;
}
#marker_detail button:hover{
  color: #fff;
  background: #e6e6e6;
}
#marker_detail .update_bt {
  color: #ffffff;
  background-color: #187FF5;
}
#marker_detail .list_bt {
  background: #a9a9a9;
}

#marker_detail .update_info {
  margin: 10px 0 0 10px;
  font-size: 16px;
  font-weight: bold;
}

/*------------------------------
ページング
------------------------------*/
/* .pagenation_area {
  display: flex;
  padding-bottom: 30px;
}
.page-numbers {
  clear: both;
  text-align: center;
  margin-bottom: 15px;
}
a.page-numbers,
span.page-numbers {
  color: #4DD0D5;
  background-color: #FFFFFF;
  padding: 5px 10px;
  margin: 0 2px;
  white-space: nowrap;
  -webkit-transition: 0.2s ease-in-out;
  -moz-transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
  text-align: center;
  text-decoration: none;
  border: thin dotted #4DD0D5;
}
a.page-numbers:hover{
  color: #fff;
  background-color: #4DD0D5;
}
span.page-numbers.current{
  color: #fff;
  background-color: #4DD0D5;
} */

/*------------------------------
商業施設ピン絞り込み
------------------------------*/
.filter_pin_color {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(5, 36px);
}

.filter_pin_color_clear {
  grid-column: 1 / -1;
}


/*------------------------------
マップB　マップAのピンの切り替えボタン
------------------------------*/
.mapa_pin_switch_box {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* 隠す元のチェックボックス */
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* スライダーのスタイル */
.slider {
  position: absolute;
  cursor: pointer;
  background-color: #ccc;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: .4s;
  border-radius: 34px;
}

/* 丸の部分 */
.slider::before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

/* チェック時の背景 */
.toggle-switch input:checked + .slider {
  background-color: #4caf50;
}

/* チェック時の丸の位置 */
.toggle-switch input:checked + .slider::before {
  transform: translateX(26px);
}

/* 画面サイズ width:376px以下用*/
@media only screen and (max-width: 414px){
  .search_area { 
    position: absolute;
    top: 8%;
    left: 10px;
    z-index: 9999;
    background-color: #ffffff;
    width: 90%;
    height: auto;
    font-size: 16px;
  }
  #map {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
  }

  /*------------------------------
  マーカー一覧
  ------------------------------*/
  .marker_list {
    width: 720px;
    margin-bottom: 30px;
    overflow: scroll;
  }
  .marker_list .list_head_area {
    display: flex;
    justify-content: flex-start;
  }

  /*------------------------------
  検索欄
  ------------------------------*/
  .search_area { 
    position: absolute;
    top: 8%;
    z-index: 9999;
    background-color: #ffffff;
    padding: 5px;  
    width: 75%;
    height: auto;
  }

  /*------------------------------
  ボタン
  ------------------------------*/
  .logout_area {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 9999;
    background: #ffffff;
    padding: 2px;  
    width: 20%;
    height: auto;
  }
  .logout_area button,
  .list_head_area button{
    display: inline-block;
    max-width: 180px;
    width: 100%;
    font-size: 14px;
    color: #FFF;
    text-decoration: none;
    padding: 10px 0px;
    border-radius: 4px;
    position: relative;
    border: none; 
    outline: none;
  }
   button:hover {
    color: #fff;
    background: #e6e6e6;
  }
  .logout_area .logout_bt,
  .list_head_area .map_bt {
    background: #a9a9a9;
  }
  .logout_area .list_bt {
    background: #167F92;
    margin-bottom: 15%;
  }
  .list_head_area .map_bt {
    padding: 10px;
  }
  .marker_count {
    font-size: 18px;
    margin-top: 5px;
  }

  /*------------------------------
  マーカー詳細
  ------------------------------*/
  #marker_detail {
    width: 100%;
    border: 1px solid #ccc;
    box-sizing: border-box;
  }
  #marker_detail .title {
    color: #fff;
    background-color: #167F92;
    font-size: 20px;
    padding: 10px 0 10px 10px;
  }
  #marker_detail .element_wrap {
    display: flex;
    flex-direction: column;
    padding: 0 15px;
    margin: 5px 0;
  }
  #marker_detail .border {
    margin: 10px 0;
    border-bottom: solid 2px gray;
  }
  #marker_detail input {
    width: 250px;
  }
  #marker_detail #marker_name {
    width: 100%;
  }
  #marker_detail #radius {
    width: 100px;
  }


  #marker_detail button {
    display: inline-block;
    max-width: 180px;
    font-size: 16px;
    color: #FFF;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 4px;
    position: relative;
    border: none; 
    outline: none;
  }
  #marker_detail button:hover{
    color: #fff;
    background: #e6e6e6;
  }
  #marker_detail .update_bt {
    color: #ffffff;
    background-color: #187FF5;
  }
  #marker_detail .list_bt {
    background: #a9a9a9;
  }
  #marker_detail .button_area {
    margin: 0 0 10px 10px;
  }

  /*------------------------------
  商業施設ピン絞り込み
  ------------------------------*/
  .filter_pin_color {
    display: block;
  }
}
