/* 地図 */
.map-whole-area.modal {
  padding: 35px 40px 50px 40px;
}
#map-displaywrapper {
  height: 525px;
  padding: 0px 60px;
  margin: 10px 0 0 0;
}
/* 地図モーダル*/
#map-modalwrapper {
  height: 585px;
  padding: 60px 0;
  margin: 0px 0 0 8px;
}
.modal_only {
  display: block !important;
}
.map-modal-msg {
  text-align: center;
  padding: 45px 0;
  font-size: 16px;
}
/* 地図：左上のボタン群 */
.map-buttons-area {
  position: absolute;
  top: 0;
}
.map-buttons {
  width: 285px;
}
.map-buttons li {
  display: inline-block;
}
.map-button {
  display: inline-block;
  color: white !important;
  font-family: ten-mincho, serif;
  font-size: 14px;
  padding: 8px 24px;
  margin: 8px;
  width: 120px;
  text-align: center;
  border-radius: 50px;
  box-shadow: 0 2px 4px 0 rgb(0 0 0 / 20%);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.map-button:hover {
  opacity: 0.8;
}
.map-buttons li:nth-child(1) button {
  background: #00a7eb;
}
.map-buttons li:nth-child(2) button {
  background: #683f8d;
}
.map-buttons li:nth-child(3) button {
  background: #c1d674;
}
.map-buttons li:nth-child(4) button {
  background: #30a053;
}
.map-buttons li:nth-child(5) button {
  background: #eae13e;
}
.map-buttons li:nth-child(6) button {
  background: #dd488e;
}
.map-buttons li:nth-child(7) button {
  background: #f9a034;
}
.map-buttons li:nth-child(8) button {
  background: #58aba3;
}
.map-buttons li:nth-child(9) button {
  background: #ad9684;
}

/* 地図：日本地図リンク */
.none {
  display: none;
}
.map-link_wrapper {
  position: relative;
}
.map-link {
  position: absolute;
  top: 0;
  cursor: pointer;
}
.map-link img {
  position: absolute;
  transition: all 0.2s;
}
.map-link img:hover {
  opacity: 0.8;
}
.map-link_hokkaido {
  top: 0;
  left: 500px;
}
.map-link_tohoku {
  top: 122px;
  left: 485px;
}
.map-link_chubu {
  top: 206px;
  left: 401px;
}
.map-link_kanto {
  top: 245px;
  left: 470px;
}
.map-link_kinki {
  top: 283px;
  left: 363px;
}
.map-link_chugoku {
  top: 291px;
  left: 272px;
}
.map-link_shikoku {
  top: 322px;
  left: 302px;
}
.map-link_kyusyu {
  top: 315px;
  left: 226px;
}
.map-link_okinawa {
  top: 328px;
  left: 501px;
}

/* 地図：下部のプルダウン */
/* フリーワード検索 */
.freeword-area {
  text-align: center;
}
.freeword-input {
  padding: 16px 16px;
  width: 276px;
  border: 1px solid #dadbdb;
  border-radius: 6px;
  outline: none;
}
.freeword-button {
  padding: 17px 25px;
  margin: 0 0 0 8px;
  background: #cfcfcf;
  border-radius: 6px;
  color: white;
  border: none;
  transition: all 0.1s;
}
.freeword-button.active {
  background: #288cb7;
  cursor: pointer;
  box-shadow: 0 2px 4px 0 rgb(0 0 0 / 20%);
}

/* 都道府県プルダウン */
.select-area {
  text-align: center;
  margin: 16px 0 0 0;
}
.area-selection {
  padding: 16px 16px;
  width: 310px;
  border: 1px solid #dadbdb;
  border-radius: 6px;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: no-repeat right 16px center/16px
    url(/wp-content/themes/my-theme-japanlocal/assets/images/icon_pulldown.png);
}
.area-selection::-ms-expand {
  display: none;
}
.area-selection optgroup,
.area-selection option {
  font-size: 14px;
}
.area-select-button {
  padding: 17px 25px;
  margin: 0 0 0 8px;
  background: #cfcfcf;
  border-radius: 6px;
  color: white;
  border: none;
  transition: all 0.1s;
}
.area-select-button.active {
  background: #288cb7;
  cursor: pointer;
  box-shadow: 0 2px 4px 0 rgb(0 0 0 / 20%);
}

/* モーダルCSS上書き */
.blocker {
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.255);
  transition: all 0.1s;
}
.modal {
  box-shadow: 0 0 0 #000;
  max-width: 780px;
  transition: all 0.1s;
}
.modal a.close-modal {
  top: 27.5px;
  right: 33.5px;
  width: 22px;
  height: 22px;
  background-image: url(/wp-content/themes/my-theme-japanlocal/assets/images/icon_close.png);
}

/* モーダルコンテンツ */
.modal-contents {
  padding: 55px 0 45px 0;
}
.modal-title {
  font-family: ten-mincho, serif;
  text-align: center;
  font-size: 24px;
}
.modal-message {
  text-align: center;
  padding: 35px;
}
.modal-prefecture-buttons {
  font-family: ten-mincho, serif;
  margin: 15px 0 0 0;
  display: flex;
  justify-content: center;
}
.modal-prefecture-buttons ul {
  width: 448px;
  text-align: center;
}
.modal-prefecture-buttons ul.multi {
  text-align: left;
}
.modal-prefecture-buttons li {
  position: relative;
  display: inline-block;
}
.modal-prefecture-buttons li button {
  text-align: center;
  background: white;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  width: 200px;
  padding: 15px 0;
  margin: 1px 12px 15px 12px;
  box-shadow: 0 2px 4px 0 rgb(0 0 0 / 20%);
  transition: all 0.1s;
  cursor: pointer;
}
.modal-prefecture-buttons li button:hover {
  opacity: 0.8;
}
.modal-prefecture-buttons li button.selected {
  color: #288cb7;
  border: 2px solid #288cb7;
  margin: 0 12px 14px 12px;
  box-shadow: 0 0 0 #000;
}
.modal-prefecture-buttons li button.selected:hover {
  opacity: 1;
}
.modal-prefecture-buttons li img {
  position: absolute;
  height: 35px;
  top: 9px;
  left: 27px;
  cursor: pointer;
}
.modal-search-button {
  text-align: center;
  margin: 35px 0 0 0;
}
.modal-search-button button {
  padding: 15px 40px;
  margin: 0 0 0 3px;
  background: #cfcfcf;
  border-radius: 6px;
  color: white;
  letter-spacing: 2px;
  border: none;
  transition: all 0.1s;
}
.modal-search-button button.active {
  background: #288cb7;
  cursor: pointer;
  box-shadow: 0 2px 4px 0 rgb(0 0 0 / 20%);
}

.modal-search-button button.active:hover {
  opacity: 0.8;
}
