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

/* 詳細ページ下部固定バー: PCのみ注意書きを表示し、高さと行数を抑える
------------------------------------------------ */
.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モーダル
------------------------------------------------ */
/* 既存の .backgroundfix（他モーダルの .button-close.unique 等と紐づくクラス）とは
   別名にして、電話モーダル表示中に無関係な要素が表示されるのを防ぐ */
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: hidden;
  background-color: #fff;
  border-radius: 8px;
}
.telmodal__scroll {
  max-height: 90vh;
  overflow-y: auto;
  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.6rem;
  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;
}
/* テーマ側の .t-btn--secondary svg path { fill: ブランド色 } を上書きし、
   アイコンをボタン文字色と同じ白のまま維持する */
.telmodal__btn .telmodal__btn-icon path {
  fill: #fff;
}
.telmodal .telcaution {
  text-align: left;
}
.telmodal__btn:hover .telmodal__btn-icon path {
  fill: #fff;
}
