/* 電話番号注意書き
------------------------------------------------ */
.telcaution {
  margin-top: 16px;
  margin-bottom: 16px;
  padding: 8px;
  border: 1px solid #eb4432;
  background-color: #f9d8d8;
  font-size: 1.3rem;
  line-height: 1.3;
  text-align: left;
}

/* レオパレス表示調整のためのスタイル */
@media screen and (min-width: 768px) {
  .detail__com-info .telcaution,
  .detail__side-com .telcaution {
    max-width: 440px;
  }
}
/* レオパレス表示調整のためのスタイル ここまで */
.fixed .telcaution {
  margin: 4px 0 0;
  padding: 4px 0;
  text-align: center;
}
@media screen and (min-width: 992px) {
  .fixed .telcaution {
    white-space: nowrap;
  }
  .fixed .telcaution br {
    display: none;
  }
}

/* 電話番号SPモーダル
------------------------------------------------ */
body.telmodal-fix {
  position: fixed;
  width: 100%;
}
/* モーダル表示中は下部固定バーを非表示にする */
/* .fixedはjQueryがインラインstyleで表示制御しているため、それに意図的に勝つ必要がありimportantを使用 */
body.telmodal-fix .fixed {
  display: none !important;
}
.telmodal-bg {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  cursor: pointer;
  z-index: 1000;
}
.telmodal {
  display: none;
  position: fixed;
  top: 50%;
  left: 16px;
  right: 16px;
  transform: translateY(-50%);
  max-width: 400px;
  margin: 0 auto;
  z-index: 1001;
}
.telmodal__inner {
  max-height: 90vh;
  overflow-y: auto;
  background-color: #fff;
  border-radius: 8px;
  padding: 16px;
}
.telmodal__close {
  display: block;
  position: absolute;
  top: -40px;
  right: 0;
  width: 25px;
  height: 25px;
  padding: 0;
  border: none;
  background: none;
}
.telmodal__close::before,
.telmodal__close::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 25px;
  height: 3px;
  background-color: #fff;
}
.telmodal__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.telmodal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.telmodal__info {
  margin-bottom: 16px;
  text-align: center;
}
.telmodal__company {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.telmodal__hours {
  padding: 8px 16px;
  background-color: #f8f8f8;
  font-size: 1.4rem;
  line-height: 1.6;
  text-align: left;
}
.telmodal__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  border-radius: 8px;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}
.telmodal__btn-icon {
  display: block;
  width: 37px;
  height: 36px;
  margin-right: 16px;
}
