@media screen and (min-width:768px) {

  .floating-banner {
    position: fixed; /* バナーを追従させる */
    z-index: 99999; /* 他の要素の下に隠れないように */
    bottom: 0; /* バナーの上下の位置 */
    right: 0; /* バナーの左右の位置 */
    width:300px;
  }
  .box {
    width:300px;
    height:250pX;                                 /* 縦幅のサイズを指定    */
  }

  .box a {
    display:block;
    background-image:url(../images/bnr_geowalkerpro_pc20241201.png);
    background-repeat:  no-repeat;
    width:300px;
    height:250pX;                                 /* 縦幅のサイズを指定    */
  }


/************************************
** バナーを閉じるボタン
************************************/
.round_btn {
  display: block;
  position: relative;
  width: 20px;
  height: 250px;
  border: 0px solid #333; /* 枠の調整 */
  right: 300px;
  background: 
#666; /* ボタンの色 */
}
.round_btn_triangle {
  content: "";
  position: absolute;
  top: 50%;
  left: 30%;
  width: 0;
  height: 0;
  border-left: 10px solid #fff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.close-btn:hover {
  cursor: pointer;
  opacity: 0.8;
}

/* close button */
.action-close .close-btn {
  position: absolute;
  right: 0px;
}
/* checkbox non-display */
.checkbox {
  display: none;
}

/************************************
** 閉じるボタンを押したときの挙動
************************************/
.action-close #close:checked ~ .close-btn {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  transform: translateX(300px);
  transition: all 0.3s ease;
}

.action-close #close:checked ~ .box {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  transform: translateX(300px);
  transition: all 0.3s ease;
}

.action-close #close:checked ~ .close-btn .round_btn .round_btn_triangle {
  content: "";
  position: absolute;
  top: 50%;
  left: 30%;
  width: 0;
  height: 0;
  border-left: 0px;
  border-right: 10px solid #fff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}
}

  /************************************
  **以下、画面幅が767px以下の場合
  ************************************/
  @media screen and (max-width:767px) {

  .floating-banner {
    position: fixed; /* バナーを追従させる */
    z-index: 99999; /* 他の要素の下に隠れないように */
    bottom: 0; /* バナーの上下の位置 */
    right: 0; /* バナーの左右の位置 */
    width:300px;
  }
  .box {
    width:300px;
    height:100pX;                                 /* 縦幅のサイズを指定    */
  }

  .box a {
    display:block;
    background-image:url(../images/bnr_geowalkerpro_sp20241201.png);
    background-repeat:  no-repeat;
    width:300px;
    height:100pX;                                 /* 縦幅のサイズを指定    */
  }


/************************************
** バナーを閉じるボタン
************************************/
.round_btn {
  display: block;
  position: relative;
  width: 20px;
  height: 100px;
  border: 0px solid #333; /* 枠の調整 */
  right: 300px;
  background: 
#666; /* ボタンの色 */
}
.round_btn_triangle {
  content: "";
  position: absolute;
  top: 50%;
  left: 30%;
  width: 0;
  height: 0;
  border-left: 10px solid #fff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.close-btn:hover {
  cursor: pointer;
  opacity: 0.8;
}

/* close button */
.action-close .close-btn {
  position: absolute;
  right: 0px;
}
/* checkbox non-display */
.checkbox {
  display: none;
}

/************************************
** 閉じるボタンを押したときの挙動
************************************/
.action-close #close:checked ~ .close-btn {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  transform: translateX(300px);
  transition: all 0.3s ease;
}

.action-close #close:checked ~ .box {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  transform: translateX(300px);
  transition: all 0.3s ease;
}

.action-close #close:checked ~ .close-btn .round_btn .round_btn_triangle {
  content: "";
  position: absolute;
  top: 50%;
  left: 30%;
  width: 0;
  height: 0;
  border-left: 0px;
  border-right: 10px solid #fff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}
}