@charset "UTF-8";
/* ===============================
    footer2.html 追加用CSS
  =============================== */
/* クーポンポップアップ */
.yc-coupon {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}
.yc-coupon.is-active {
  display: block;
}

.yc-coupon_overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.yc-coupon_dialog {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 90vw;
  max-height: 90vh;
  width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.yc-coupon_imageWrapper {
  pointer-events: auto;
  cursor: pointer;
}

.yc-coupon_image {
  max-width: 320px;
  height: auto;
  max-height: 90vh;
  display: block;
}

/* ×閉じるボタン（角丸・白線枠） */
.yc-coupon_closeBtn {
  margin-top: 12px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 2px solid #ffffff;
  background-color: transparent;
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
  pointer-events: auto;
  font-weight: 700;
}
.yc-coupon_closeBtn:focus {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* SP対応 */
@media screen and (max-width: 767px) {
  .yc-coupon_dialog {
    width: 90vw;
  }
  .yc-coupon_closeBtn {
    font-size: 13px;
  }
}
/* カスタムトースト */
.yc-coupon_toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(10px);
  max-width: 90vw;
  box-sizing: border-box;
  padding: 10px 16px;
  border-radius: 6px;
  background-color: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
  transform-origin: center bottom;
}
.yc-coupon_toast.is-active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media screen and (max-width: 767px) {
  .yc-coupon_toast {
    width: 90vw;
  }
}
