* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  padding: 0;
  margin: 0;
}

.head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.6);
  width: 100%;
}

.head h1 {
  font-size: 1.5em;
  color: #fff;
  padding: 0;
  margin: 0;
  margin-left: 0.5em;
}

.head p a {
  color: #fff;
  padding: 0;
  margin: 0;
  margin-right: 0.5em;
}

/*
.leaflet-top {
  top: 7%;
}
*/
.sidebar {
  height: 95%;
}


@media (min-width:768px) and (max-width:991px){
  .sidebar{
    width:370px
  }
  .sidebar-pane{
  min-width:265px
  }
}

@media (min-width:992px) and (max-width:1199px){
  .sidebar{
    width:420px
  }
}

.serach-key {
  margin: 2% auto;
  display: flex;
  width: 100%;
  align-items: center;
}
.serach-key span {
  width: 32%;
}

@media (max-width:420px){
.serach-key span {
  width: 40%;
}
}

#keyword {
  height: 2em;
  width: calc(68% - 16px);
}

.serach-tag,
.serach-tag2,
.serach-tag3 {
  margin-bottom: 2%;
  cursor: pointer;
}

.serach-tag-summury {
  margin-bottom: 2%;
}

.serach-tag-detail {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
}

.serach-tag label,
.serach-tag2 label,
.serach-tag3 label {
  width: 50%;
  cursor: pointer;
  position: relative;
  margin-bottom: 1%;
}

[class^="marker"]::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 21px;
  background: url(../images/marker-icon.png);
  background-size: cover;
  top: 0;
  right: 25%;
}

@media screen and (max-width: 1199px) {
  [class^="marker"]::after {
    right: 5%;
  }
}

.serach-tag input,
.serach-tag2 input,
.serach-tag3 input {
  cursor: pointer;
}

#search ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#search ul li {
  padding: 1%;
  border-bottom: 1px solid #ccc;
  transition: .2s;
}

#search ul li button {
  background: transparent;
  display: block;
  width: 100%;
  margin: 0;
  border: none;
  font-size: 1em;
  text-align: left;
  cursor: pointer;
}

#search ul li button:hover {
  background: #ddd;
}

.popup-title {
  font-size: 1.5em;
  font-weight: bold;
  margin: 0;
}
.machib {
  font-size: 1em;
  margin-top: 0;
}
/*
.popup-title a::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  top: 1px;
  right: -17px;
  background: url(../images/ex-link.png);
  background-size: cover;
}
*/
.popup-link {
  font-size: 1.2em;
  font-weight: bold;
  margin: 0;
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: -2%;
}

.link-list::after {
  content: "";
  display: block;
  width: 39%;
}

.link-list a {
  width: 33%;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin: 0 3% 3% 3%;
  text-decoration: none;
  min-height: 80px;
  transition: .2s;
  box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.3);
}

.link-list button {
  width: 46%;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin: 2%;
  text-decoration: none;
  min-height: 80px;
  transition: .2s;
  background: #fff;
  color: #2278a8;
  box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.link-list a:hover {
  background: #ddd;
}

.link-list button:hover {
  background: #ddd;
}

.link-list i {
  display: block;
  font-size: 2.8em;
  margin: 10% 0 2% 0;
}

.link-list p {
  margin-top: 10%;
  margin-bottom: 0;
  padding: 0;
  font-size: 1.2em;
}

.sidebar {
  z-index: 998;
}

#home ul {
  margin: 0;
  padding: 0;
}

.attention{
  margin-top:1.5em;
  margin-left:-1.2em;
  font-size:0.9em;
}

.leaflet-top,
.leaflet-bottom {
  z-index: 900;
}

@media screen and (max-width: 450px) {
  .head {
    display: block;
  }

  .head h1 {
    margin-top: 2%;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .head p {
    margin-top: 0;
    margin-left: 0.8em;
  }
/*
  .leaflet-top {
    top: 15%;
  }
*/
}

#map_container {
    position:absolute;
    top:0; left:0; right:0; bottom:0;
    touch-action: none; /* ★1本指でのブラウザの予期せぬスクロール/ズームジェスチャーを防止★ */
}

.leaflet-marker-icon {
  transition: .2s;
  border-radius: 50%;
}

/*マーカーの色のCSS*/
.color1 {
  background-color: #ccc;
  border:3px solid yellow;
  object-fit: cover;
}

.color1:hover,
.color1:focus {
  width: 90px!important;
  height: 90px!important;
  margin-left: -45px!important;
  margin-top: -45px!important;
}

/*ポップアップの中身*/
.popup-title {
  font-size: 1.4em;
  font-weight: bold;
}

.popup-desc {
  font-size: 1.2em;
  margin: 0 auto;
}

.popup-image {
  display: block;
  margin: 0 auto;
}

.popup-link {
  font-size: 1.1em;
  margin-top: 2%!important;
  text-align: center;
}

.popup-linkl {
  font-size: 1.1em;
  text-align: left;
}

.popup-link2 {
  margin-top: 0.5em;
  font-size: 1.2em;
  text-align: left;
}

/*
.leaflet-popup-content p .popup-linkl {
	margin: 5px 0;
	}
*/

/* 常に表示するテキストラベルのスタイル調整 */
.custom-tooltip {
  background-color: rgba(255, 255, 255, 0.9); /* 背景色（白・少し透過） */
  border: 1px solid #333;                      /* 枠線 */
  border-radius: 4px;                          /* 角丸 */
  font-size: 12px;                             /* 文字サイズ */
  font-weight: bold;                           /* 太字 */
  padding: 2px 6px;                            /* 余白 */
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);       /* 影 */
}

/* ツールチップの吹き出し矢印を消したい場合 */
.custom-tooltip::before {
  display: none;
}

