@charset "UTF-8";

/* =========================================
   IVRポップアップ 共通スタイル（汎用版・スコープ限定）
========================================= */

/* 変数のスコープ定義 */
.ivr-phone-modal-wrapper {
  --ivr-btn_width: 300px;         
  --ivr-btn_height: 50px;         
  --ivr-btn-color: #ffca00;       /* 発信ボタン色 */
  --ivr-btn_font-size: 16px;      
  --ivr-text-color: #333333;      
  --ivr-margin-bottom_btn: 15px;  
}

/* 背景オーバーレイ */
.ivr-phone-modal-wrapper.phone-modal-overlay {
  display: none !important; 
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important; 
  height: 100vh !important; 
  background: rgba(0, 0, 0, 0.7) !important;
  z-index: 2147483647 !important; 
  padding: 0 !important;
  margin: 0 !important;
}

/* 開いた時の状態 */
.ivr-phone-modal-wrapper.phone-modal-overlay.is-open {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

/* モーダルの白いコンテンツ部分 */
.ivr-phone-modal-wrapper .phone-modal-content {
  background: #fff !important;
  width: 90% !important;
  max-width: 380px !important;
  padding: 30px 20px !important;
  border-radius: 15px !important;
  text-align: center !important;
  position: relative !important;
  margin: auto !important;
  box-sizing: border-box !important; 
}

.ivr-phone-modal-wrapper .modal-title {
  font-weight: bold !important;
  margin-top: 0;
  margin-bottom: 20px;
}

.ivr-phone-modal-wrapper .modal-instruction {
  border-radius: 10px !important;
  margin-bottom: 25px !important;
}

/* 画像のはみ出し防止 */
.ivr-phone-modal-wrapper .modal-instruction img {
  max-width: 100%;
  height: auto;
}

/* --- ボタンエリア --- */
.ivr-phone-modal-wrapper .margin-bottom_btn {
  margin-bottom: var(--ivr-margin-bottom_btn) !important;
}

/* 発信ボタン */
.ivr-phone-modal-wrapper .cta_btn--wrap a {
  width: 90%;
  max-width: var(--ivr-btn_width);
  height: var(--ivr-btn_height);
  background-color: var(--ivr-btn-color);
  border-radius: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--ivr-btn_font-size);
  text-decoration: none;
  color: var(--ivr-text-color); 
  margin: 0 auto;
  border-style: none;
  font-weight: bold;
}

/* キャンセルボタン */
.ivr-phone-modal-wrapper .white_btn--wrap a {
  width: 90%;
  max-width: var(--ivr-btn_width);
  height: var(--ivr-btn_height);
  background-color: #fff;
  border-radius: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--ivr-btn_font-size);
  text-decoration: none;
  color: var(--ivr-text-color);
  margin: 0 auto;
  border-style: none;
  font-weight: normal;
  border: 1px solid #898D8D;
  transition: opacity 0.3s; 
}

/* ボタンのホバー（タップ）アクション */
.ivr-phone-modal-wrapper .cta_btn--wrap a:hover,
.ivr-phone-modal-wrapper .white_btn--wrap a:hover {
  opacity: 0.8;
}