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

#modalMain,
#modalTell {
  display: none;
  z-index: 200000000000000000;
  width: 90%;
  max-width: 800px;
  height: auto;
  margin: 0px auto;
  padding: 50px 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;
  margin: 0 auto;
  text-align: center;
  list-style: none;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
}
.popup .tel ul li:first-child {
  margin-bottom: 50px;
}

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

.popup .tel ul li a {
  display: block;
  width: 90%;
  max-width: 500px;
  margin: 0 auto;
  padding: 15px 5px;
  background: #1BB139;
  border-radius: 10px;
  color: #fff;
  font-size: 110%;
  font-weight: bold;
  text-decoration: none;
  position: relative;
  transition: all 0.3s;
}
.popup .tel ul li a::after {
  position: absolute;
  top: 50%;
  right: 20px;
  display: block;
  content: '';
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.popup .tel ul li a:hover {
  opacity: 0.8;
}
.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;
  }
  .popup .tel ul li a {
    padding: 20px 0px;
    font-size: 120%;
  }
}

.btn_close {
  position: absolute;
  top: -60px;
  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);
}
