* {
  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;
}


@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%;
}

#keyword {
  height: 2em;
  width: calc(68% - 16px);
}

.serach-tag,
.serach-tag2 {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
}

.serach-tag {
  margin-bottom: 0;
}

.serach-tag2 {
  margin-bottom: 1%;
}

.serach-tag label,
.serach-tag2 label {
  width: 100%;
  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 {
  cursor: pointer;
}
.serach-tag p,
.serach-tag2 p {
  margin-bottom: 0;
}

#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;
}

.serach-tag {
  margin: 3% 0;
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: -2%;
}

.link-list a {
  width: 46%;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin: 0 2% 4% 2%;
  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: 3em;
  margin: 5% 0 2% 0;
}

.link-list p {
  margin: 0;
  padding: 0;
}

div.leaflet-popup {
  min-width: 350px;
}

div.leaflet-popup-content-wrapper {
  width: 100%;
}

.modaal-container {
  width: 100%;
  max-width: 600px;
  background: transparent;
  text-align: center;
}

.modaal-content-container img {
  width: 100%;
  max-width: 600px;
  margin-top: 1%;
}

.modaal-content-container p {
  margin-top: 0;
  color: #fff;
}

.sidebar {
  z-index: 998;
}

#home ul {
  margin: 0;
  padding: 0;
}

.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;
}

.leaflet-marker-icon {
  transition: .2s;
  border-radius: 50%;
}

.icon-1 {
  filter: hue-rotate(0deg);
}

.icon-2,
.marker2::after {
  filter: hue-rotate(320deg);
}

.icon-3,
.marker3::after {
  filter: hue-rotate(80deg);
}

.icon-4,
.marker4::after {
  filter: hue-rotate(200deg);
}

.icon-5,
.marker5::after {
  filter: hue-rotate(160deg);
}

.icon-6,
.marker6::after {
  filter: hue-rotate(240deg);
}

.icon-7,
.marker7::after {
  filter: hue-rotate(120deg);
}

.icon-8,
.marker8::after {
  filter: hue-rotate(280deg);
}

.icon-9,
.marker9::after {
  filter: hue-rotate(40deg);
}

/*マーカーの色のCSS*/
.color1 {
  background-color: #ccc;
  border:3px solid red;
  object-fit: cover;
}
.color2 {
  background-color: #ccc;
  border:3px solid orange;
  object-fit: cover;
}
.color3 {
  background-color: #ccc;
  border:3px solid yellow;
  object-fit: cover;
}

.color4 {
  background-color: #ccc;
  border:3px solid green;
  object-fit: cover;
}

.color5 {
  background-color: #ccc;
  border:3px solid blue;
  object-fit: cover;
}

.color6 {
  background-color: #ccc;
  border:3px solid navy;
  object-fit: cover;
}

.color7 {
  background-color: #ccc;
  border:3px solid purple;
  object-fit: cover;
}

.color1:hover,
.color1:focus,
.color2:hover,
.color2:focus,
.color3:hover,
.color3:focus,
.color4:hover,
.color4:focus,
.color5:hover,
.color5:focus,
.color6:hover,
.color6:focus,
.color7:hover,
.color7:focus {
  width: 90px!important;
  height: 90px!important;
  margin-left: -45px!important;
  margin-top: -45px!important;
}


#change {
  position: absolute;
  top: 83%;
  right: 0.5%;
  z-index: 100000;
  padding: 0.5%;
  background: #337ab7;
  color: #fff;
  border: 1pxx solid #333;
  border-radius: 5px;
  cursor: pointer;
}

.popup-img {
  display: block;
  width: 85%;
  margin: 0 auto;
  transform: translateX(4px);
}

.old-link {
  text-align: center;
  font-size: 1.2em;
}