/* モーダル コンテンツエリア */

#modalMain {
  display: none;
  z-index: 200000000000000000;
  width: 90%;
  height: auto;
  margin: 0px auto;
  padding: 10px 0px;
  position: fixed;
  background-color: #ffffff;
  border-radius: 10px;
  color: #333;
}

/* モーダル 背景エリア */

#modalBg {
  display: none;
  width: 100%;
  height: 130%;
  background-color: rgba(0, 0, 0, 0.50);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1300;
}

.popup {
  position: relative;
    z-index: 1000;
}

.popup .tel ul li {
  padding: 0px 0px 0px 0px;
  text-align: center;
  list-style: none;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
}

.popup .tel ul li span {
  color: #333333;
  line-height: 180%;
}

.popup .tel ul li a {
  display: block;
  padding: 10px 0px 10px 0px;
  border-bottom: 1px solid #DDD;
  color: #E60307;
  font-size: 120%;
  text-decoration: none;
}

.popup .tel ul li:last-child a {
  border-bottom: none;
}

@media screen and (min-width: 768px) {
  .popup .tel ul li a[href^="tel:"] {
    pointer-events: none;
    color: inherit;
  }
}

.btn_close {
  position: absolute;
  top: -15px;
  right: -15px;
  background: #e3000e;
  width: 30px;
  height: 30px;
  border: #fff 2px solid;
  border-radius: 50%;
  box-shadow: 0 2px 2px 1px rgba(0, 0, 0, 0.3);
}

.btn_close:before {
  display: block;
  content: "";
  position: absolute;
  top: 50%;
  left: 13px;
  width: 4px;
  height: 20px;
  margin-top: -10px;
  background: #fff;
  transform: rotate(-45deg);
}

.btn_close:after {
  display: block;
  content: "";
  position: absolute;
  top: 50%;
  right: 5px;
  width: 20px;
  height: 4px;
  margin-top: -2px;
  background: #fff;
  transform: rotate(-45deg);
}
