@charset "UTF-8";


/* 追加 フローティング */


/* PC用バナーサイズ */

#floating-banner-pc {
  width: 300px; /* 任意サイズに調整可能 */
}

#floating-banner-pc img {
  width: 100%;
  height: auto;
}

/* スマホ用バナーサイズ */
#floating-banner-sp {
  width:60%; /* スマホサイズに合わせて調整 */
}

#floating-banner-sp img {
  width: 100%;
  height: auto;
}

#floating-banner-pc {
  position: fixed;
  bottom: 20px;
  right: 150px;
  background: white;
  z-index: 999;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  display: block;
  border-radius: 8px;
  /*overflow: hidden; 右上にはみ出して表示させる*/
}

#floating-banner-pc a {
  display: block;
  position: relative;
}

#floating-banner-pc img {
  display: block;
  width: 100%;
  height: auto;
}

/* ✕ ボタンを画像の右上に重ねる */
#floating-banner-pc .close-btn {
  position: absolute;
  top: -10px;   /* はみ出す距離 */
  right: -10px; /* はみ出す距離 */
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  font-size: 16px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 10;
}

#floating-banner-sp {
  position: fixed;
  bottom: 20px;
  right: 20px; /* 右寄せにする */
  /* left: 50%; transform: translateX(-50%); ←消す */
  max-width: 90vw;
  background: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 999;
  display: none;
  border-radius: 8px;
}


#floating-banner-sp img {
  width: 100%;
  height: auto;
  display: block;
}

#floating-banner-sp .close-btn {
  position: absolute;
  top: -10px;
  right: -10px;
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  font-size: 16px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 10;
}