.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

@media screen and (max-width: 768px) {
  .tabs {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }
}

.tab_label {
  font-weight: bold;
  color: #a2a2a2;
  border: solid 1px #d3cece;
  border-radius: 10px;
  background: #f4f3f4;
  position: relative;
  z-index: 1;
  cursor: pointer;
  flex: 1;
  padding: 20px 20px 20px 50px;
  display: flex;
  align-items: center;
  margin: 0 5px 30px;
  transition: 0.3s;
  pointer-events: inherit!important;
}
.tab_label:hover {
  transform: translateY(-5px);
}

@media screen and (max-width: 768px) {
  .tab_label {
    margin: 0 0 5px;
    padding: 12px 10px 12px 37px;
  }
}

.tab_label::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 9px;
  background: url(../images/icon-arrow02.png) 0 0 no-repeat;
  position: absolute;
  left: 13px;
  top: 0;
  bottom: 0;
  margin: auto;
  background-size: contain;
}

@media screen and (max-width: 768px) {
  .tab_label::before {
    width: 15px;
    height: 6px;
  }
}

.tab_label:hover {
  opacity: 0.75;
}

.tab_content {
  flex: 100%;
  opacity: 0;
  height: 0;
  /*
  display: none;
  */
  overflow: hidden;
  position: relative;
}

@media screen and (max-width: 768px) {
  .tab_content {
    margin-top: 10px;
  }
}

input[name="tab_switch"] {
  display: none;
}

.tabs input:checked+.tab_label {
  color: #000;
  background-color: #fff;
}

#tab01:checked~#tab01_content,
#tab02:checked~#tab02_content,
#tab03:checked~#tab03_content {
  display: block;
  opacity: 1;
  height: 100%;
  border: 1px solid #d3cece;
}


/*
@media screen and (max-width: 940px) {
  #tab01:checked~#tab01_content,
#tab02:checked~#tab02_content,
#tab03:checked~#tab03_content {
    height: calc(850 / 940 * 100vw);
  }
}
*/


.map-outer {
  height: 600px;
}

.leaflet-container {
  background: #fff !important;
}

@media screen and (max-width: 940px) {
  .map-outer {
    height: 370px;
  }

  .leaflet-container {
    height: 400px !important;
  }
}

