/*共通　エリア検索*/
.city_contents-flex label {
  text-decoration: none;
  color: #1f1f1f;
  background: #fff;
}

.city_contents-flex label:hover {
  background: #ddd;
}

.city_contents-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.city_background_img {
  background-image: url(/assets/images/japan-map.svg);
  background-repeat: no-repeat;
  background-size: contain;
  position: relative;
  width: 340px;
  height: 290px;
  margin: 0 auto;
  display: inline-block;
  top: 0;
  left: 50%;
  transform: translateX(-48%);
}

.sapporo, .sendai, .kanto, .koushinetsu, .hokuriku, .tokai, .kansai, .chugoku, .shikoku, .kyushu {
  position: absolute;
  padding: 0.1rem 0.5rem;
  border: solid 1px #333333;
  color: #333333;
  font-weight: 700;

}

.sapporo {
  top: 10%;
  right: 11%;
}

.sendai {
  top: 42%;
  right: 20%;
}

.kanto {
  top: 67%;
  right: 28%;
}

.koushinetsu {
  top: 56%;
  right: 30%;
}

.hokuriku {
  top: 56%;
  right: 50%;
}

.tokai {
  top: 70%;
  right: 43%;
}

.kansai {
  top: 67%;
  right: 57%;
}

.chugoku {
  top: 60%;
  right: 72%;
}

.shikoku {
  top: 73%;
  right: 71%;
}

.kyushu {
  top: 74%;
  right: 85%;
}

.city_contents .moz-area {
  padding-bottom: 1rem;
  line-height: 1.6;

}

.city_contents .moz-area_tenpo {
  position: relative;
  border-top: 2px solid #707070;
  height: 1rem;
  margin: 1rem 0;
}

.city_contents .moz-area_tenpo::after {
  left: 0;
  top: -1rem;
  background: #ffffff;
  display: inline-block;
  height: 2rem;
  line-height: 2rem;
  padding: 0 1rem 0 0;
  font-size: 18px;
  font-weight: 700;
  position: absolute;
}

.city_container .moz-p {
  margin-bottom: 1.5rem;
}

.city-map-h2 {
  position: absolute;
  line-height: 1.2;
  top: 1rem;
  left: 1rem;
  display: contents;
}

.city-map-h2 span {
  position: relative;
  display: flex;
}

.city-map-h2 span::before {
  position: relative;
  content: "";
  display: inline-block;
  top: 0;
  left: 0;
  width: 5rem;
  height: 5rem;
  background: url(/assets/images/icon-map-marker.svg) no-repeat;
  background-size: contain;
}

.city-map-h2 span::after {
  border-top: 1px dashed #1f1f1f;
  position: relative;
  content: "地域をタップすると \A下に詳細エリアが \A表示されます";
  display: inline-block;
  line-height: 1.2;
  white-space: pre;
  font-size: .93rem;
  top: 4rem;
  left: -9rem;
  padding-top: .33rem;
  font-weight: 400;
}

.city-map-city-h2 {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: contents;
}

.city-map-city-h2 span {
  position: relative;
  display: flex;
  font-size: 1.2rem;
  line-height: 1.2;
}

.city-map-city-h2 span::before {
  position: relative;
  content: "";
  display: inline-block;
  top: 0;
  left: 0;
  width: 5rem;
  height: 5rem;
  background: url(/assets/images/icon-map-marker.svg) no-repeat;
  background-size: contain;
}

.city-map-city-h2 span::after {
  border-top: 1px dashed #1f1f1f;
  position: relative;
  content: "地域をタップすると \A下に詳細エリアが \A表示されます";
  display: inline-block;
  line-height: 1.4;
  white-space: pre;
  font-size: 1rem;
  top: 3.3rem;
  left: -8.5rem;
  padding-top: .33rem;
  font-weight: 400;
}

.moz-area_box {
  position: relative;
  height: 0rem;
  margin: 1rem 0;
  display: flex;
  align-items: center;
}

.moz-area_box:after {
  content: "";
  height: 1px;
  flex-grow: 1;
  background-color: #1f1f1f;
  margin-right: 1rem;
  margin-left: .66rem;
}

.city_contents-flex a {
  text-decoration: none;
  color: #1f1f1f;
}

.area-dl {
  display: flex;
  width: 100%;
}

.area-dl dt {
  width: 20%;
}
.area-dl dd{
  width: 80%;
}
.area-tenpo {
  position: relative;
  height: 1rem;
  margin: 2rem 0 1rem;
  display: flex;
  align-items: center;
}

.area-tenpo:after {
  content: "";
  height: 1px;
  flex-grow: 1;
  background-color: #1f1f1f;
  margin-right: 1rem;
  margin-left: .66rem;
}

#area-hoka, #area-touh, #area-kant, #area-kous, #area-hoku, #area-toka, #area-siko, #area-kans, #area-tyug, #area-kyus, #area-defa {
  display: none;
  clear: both;
  /* floatを解除 */
  overflow: hidden;
  margin-top: 14rem;
  height: auto;
  margin-bottom: -2rem;
}

input[name="area"] {
  display: none;
}

#area-hokkaido:checked~#area-hoka, #area-sendai:checked~#area-touh, #area-kanto:checked~#area-kant, #area-koushinetsu:checked~#area-kous, #area-hokuriku:checked~#area-hoku, #area-tokai:checked~#area-toka, #area-shikoku:checked~#area-siko, #area-kansai:checked~#area-kans, #area-chugoku:checked~#area-tyug, #area-kyushu:checked~#area-kyus, #area-default:checked~#area-defa {
  display: block;
}

@media screen and (min-width:1200px) {
  #area-hoka, #area-touh, #area-kant, #area-kous, #area-hoku, #area-toka, #area-siko, #area-kans, #area-tyug, #area-kyus, #area-defa {
    top: -20rem;
    position: relative;
    left: 28rem;
    height: auto;
    width: 400px;
    font-size: 1.14rem;
    margin-bottom: -11rem;
  }
  .city_contents-flex label {
    font-size: 1.14rem;
  }
  .city_background_img {
    left: -50px;
  }
  .city_contents {
    margin-bottom: -5.33rem;
  }
  .city-map-city-h2 span::after {
    font-size: 1.14rem;
    top: 4rem;
  }
  .city_background_img {
    width: 400px;
    height: 320px;
  }
  #area-hokkaido:checked~#area-hoka, #area-sendai:checked~#area-touh, #area-kanto:checked~#area-kant, #area-koushinetsu:checked~#area-kous, #area-hokuriku:checked~#area-hoku, #area-tokai:checked~#area-toka, #area-shikoku:checked~#area-siko, #area-kansai:checked~#area-kans, #area-chugoku:checked~#area-tyug, #area-kyushu:checked~#area-kyus, #area-default:checked~#area-defa {
    left: 35rem;
  }
  .city_contents-flex a {
    font-size: 1.14rem;
  }
}
@media screen and (max-width:320px) {
  .city-map-city-h2 span {
    font-size: 1rem;
  }
  .city-map-city-h2 span::before {
    width: 4rem;
    height: 4rem;
  }
  .city-map-city-h2 span::after {
    top: 3rem;
    left: -7rem;
  }
  .city_contents-flex label {
    font-size: .8rem;
  }
  .kyushu {
    top: 64%;
    right: 85%;
  }
  .chugoku {
    top: 50%;
    right: 67%;
  }
  .shikoku {
    top: 63%;
    right: 69%;
  }
  .hokuriku {
    top: 45%;
    right: 50%;
  }
  .kansai {
    top: 57%;
    right: 53%;
  }
  .tokai {
    top: 60%;
    right: 39%;
  }
  .kanto {
    top: 57%;
    right: 24%;
  }
  .koushinetsu {
    top: 47%;
    right: 30%;
  }
  .sendai {
    top: 32%;
    right: 20%;
  }
  .sapporo {
    top: 10%;
    right: 8%;
  }
  .city_background_img {
    width: 310px;
    height: 250px;
    background-size: 100%;
  }
}