.elementor-8066 .elementor-element.elementor-element-06ef325:not(.elementor-motion-effects-element-type-background), .elementor-8066 .elementor-element.elementor-element-06ef325 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#00000000;}.elementor-8066 .elementor-element.elementor-element-06ef325{transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;margin-top:0px;margin-bottom:0px;padding:0px 0px 0px 0px;}.elementor-8066 .elementor-element.elementor-element-06ef325 > .elementor-background-overlay{transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-8066 .elementor-element.elementor-element-ae97cb0:not(.elementor-motion-effects-element-type-background) > .elementor-widget-wrap, .elementor-8066 .elementor-element.elementor-element-ae97cb0 > .elementor-widget-wrap > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#E46E6E00;}.elementor-8066 .elementor-element.elementor-element-ae97cb0 > .elementor-element-populated >  .elementor-background-overlay{opacity:0.52;}.elementor-8066 .elementor-element.elementor-element-ae97cb0 > .elementor-element-populated{transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;text-align:left;margin:0px 0px 0px 0px;--e-column-margin-right:0px;--e-column-margin-left:0px;padding:0px 0px 0px 0px;}.elementor-8066 .elementor-element.elementor-element-ae97cb0 > .elementor-element-populated > .elementor-background-overlay{transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-8066 .elementor-element.elementor-element-b911136 > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}#elementor-popup-modal-8066 .dialog-widget-content{animation-duration:3.7s;border-style:none;border-radius:0px 0px 0px 0px;}#elementor-popup-modal-8066 .dialog-message{width:574px;height:auto;}#elementor-popup-modal-8066{justify-content:center;align-items:center;}@media(max-width:1024px){.elementor-8066 .elementor-element.elementor-element-06ef325{margin-top:0px;margin-bottom:0px;}#elementor-popup-modal-8066{justify-content:center;align-items:center;}}@media(max-width:767px){.elementor-8066 .elementor-element.elementor-element-06ef325{margin-top:0px;margin-bottom:0px;}}/* Start custom CSS *//* ===== 共通のオフセット変数 ===== */
#elementor-popup-modal-8066{
  --toast-x: 24px;   /* 左右オフセット（PC時左下用） */
  --toast-y: 24px;   /* 下オフセット */
}

/* ===== デフォルト：下中央固定 ===== */
#elementor-popup-modal-8066 .dialog-widget-content{
  position: fixed !important;
  bottom: var(--toast-y, 24px);
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;

  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 !important;
  overflow: visible !important;
  z-index: 99999;
}

/* ===== ラッパーの余白・背景・影をリセット ===== */
#elementor-popup-modal-8066 .elementor,
#elementor-popup-modal-8066 .elementor-section,
#elementor-popup-modal-8066 .elementor-container,
#elementor-popup-modal-8066 .elementor-column,
#elementor-popup-modal-8066 .elementor-widget,
#elementor-popup-modal-8066 .elementor-widget-container{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ===== 黒いボックス（デザインは現状維持） ===== */
#elementor-popup-modal-8066 .rs-toast{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: #000 !important;        /* 黒背景 */
  color: #fff !important;             /* 白文字 */
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;

  border-radius: 300px;                /* 丸み */
  padding: 12px 24px;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 10px 24px rgba(0,0,0,.35);

  width: auto;
  max-width: 92vw;
  white-space: nowrap;
  overflow: hidden;
  box-sizing: border-box;
}

/* ===== テキスト ===== */
#elementor-popup-modal-8066 #rs-toast-text{
  white-space: nowrap;
  text-align: center;
}

/* ===== オーバーレイを非表示 ===== */
#elementor-popup-modal-8066 .dialog-overlay{
  display: none !important;
}

/* ===== 残りがちな灰色背景を徹底除去 ===== */
#elementor-popup-modal-8066 .dialog-lightbox-content,
#elementor-popup-modal-8066 .dialog-message,
#elementor-popup-modal-8066 .dialog-widget,
#elementor-popup-modal-8066 .dialog-widget-content{
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
}

/* ===== 擬似要素の背景も潰す ===== */
#elementor-popup-modal-8066 .dialog-lightbox-content::before,
#elementor-popup-modal-8066 .dialog-lightbox-content::after,
#elementor-popup-modal-8066 .dialog-widget-content::before,
#elementor-popup-modal-8066 .dialog-widget-content::after,
#elementor-popup-modal-8066 .elementor-widget-container::before,
#elementor-popup-modal-8066 .elementor-widget-container::after{
  content: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* ===== アウトライン・影も殺す ===== */
#elementor-popup-modal-8066 *:focus,
#elementor-popup-modal-8066 *{
  outline: none !important;
  box-shadow: none !important;
}

/* ===== 1280px以上：左下固定 ===== */
@media (min-width: 1280px){
  #elementor-popup-modal-8066 .dialog-widget-content{
    left: var(--toast-x) !important;
    right: auto !important;
    bottom: var(--toast-y) !important;
    transform: none !important;
  }
}

/* ===== 850px〜1279px：下中央固定（強制） ===== */
@media (max-width: 1279px) and (min-width: 850px){
  #elementor-popup-modal-8066 .dialog-widget-content{
    bottom: 24px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
  }
}

/* ===== スマホ（〜767px）：下中央固定＋余白調整 ===== */
@media (max-width: 767px){
  #elementor-popup-modal-8066{
    --toast-y: calc(12px + env(safe-area-inset-bottom));
  }
  #elementor-popup-modal-8066 .dialog-widget-content{
    bottom: var(--toast-y) !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
  }
  #elementor-popup-modal-8066 .rs-toast{
    padding: 10px 20px;
    border-radius: 300px;
    font-size: 13px;
    max-width: 96vw;
  }
}

/* ===== 1280px以下は中央下を少し上げる ===== */
@media (max-width: 1279px){
  #elementor-popup-modal-8066 .dialog-widget-content{
    bottom: 100px !important; /* ← デフォルト24pxから上げる。数値は好みで */
  }
}

/* ===== 1279px以下（タブレット〜小さめPC）：中央下を少し上へ ===== */
@media (max-width: 1279px){
  #elementor-popup-modal-8066 .dialog-widget-content{
    bottom: 130px !important;  /* ← 好きな値に。例: 32/48/64px */
  }
}

/* ===== スマホ（〜767px）：下中央固定＋小さめデザイン ===== */
@media (max-width: 767px){
  #elementor-popup-modal-8066{
    --toast-y: calc(90px + env(safe-area-inset-bottom)); /* 下から少し上げる */
  }

  /* 位置：中央下 */
  #elementor-popup-modal-8066 .dialog-widget-content{
    bottom: var(--toast-y) !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
  }

  /* ボックスを小さく */
  #elementor-popup-modal-8066 .rs-toast{
    padding: 6px 16px;           /* 内側余白を縮小 */
    border-radius: 9999px;       /* 丸みはキープ */
    font-size: 12px;             /* 文字を小さく */
    max-width: 90vw;             /* 幅も少し絞る */
    transform: scale(0.85);      /* 全体を少し縮小 */
    transform-origin: center;    /* 中央基準で縮小 */
  }
}

/* ===== フェードアウト用アニメーション ===== */
#elementor-popup-modal-8066.fade-out .dialog-widget-content {
  animation: fadeOut 2.5s forwards; /* 0.6秒でフェードアウト */
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
  to {
    opacity: 0;
    transform: translateX(-50%) scale(0.95); /* 少し縮小して消える */
  }
}/* End custom CSS */