@charset "utf-8";

/* ==========================
  初期設定
========================== 
*,
*::before,
*::after {
  box-sizing: border-box;
}
img {
  width: 100%;
}
*/
/* ==========================
  フローティングバナー（追従バナー）
========================== */
.bl_floatingBanner {
  position: fixed;
  bottom: 160px;
  right: 20px;
  width: 340px;
  height: 120px;
  max-width: 100%;
  z-index:999999;
 box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
 border-radius: 20px;
}
.bl_floatingBanner.js_close {
  display: none;
}
.bl_floatingBanner_img {
  display: block;
  transition: 0.3s;
}
.bl_floatingBanner_img:hover {
  opacity: 0.85;
}
.bl_floatingBanner_close {
  width: 15px;
  height: 15px;
  position: absolute;
  right: 0;
  top: -15px;
  cursor: pointer;
}
.bl_floatingBanner_close span:nth-of-type(1) {
  position: absolute;
  top: 7px;
  right: 0;
  width: 15px;
  height: 1px;
  background-color: #000;
  transform: rotate(45deg);
}
.bl_floatingBanner_close span:nth-of-type(2) {
  position: absolute;
  top: 0;
  right: 7px;
  width: 1px;
  height: 15px;
  background-color: #000;
  transform: rotate(45deg);
}

/* ==========================
  コンテンツの中身
========================== */
.ly_inner {
  width: 100%;
  max-width: 1080px;
  margin: 100px auto;
  padding: 20px;
  background-color: #ccc;
}
.ly_inner h2 {
  font-size: 150%;
  font-weight: bold;
  margin-bottom: 30px;
}
.md_textblock > * + * {
  margin-top: 10px;
}

@media screen and (max-width: 640px) {

.bl_floatingBanner {
    position: fixed;
    width: 100%;
    height: auto;
    bottom: 0;
    left: 0;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.4);
}

}




/************** フロートバナー［Ver.B］ **************/
#floatBNR {
  top: 100px;
  position: fixed;
/*
  right: 10px;
  width: clamp(180px,calc(50vw - 550px), 600px);
*/
right: 20px;
  width: clamp(190px,calc(50vw - 550px), 590px);
  height: auto;
  transition: .2s;
  z-index: 999;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}
#floatBNR a img {
  width: 100%;
}
#floatBNR a img:hover {
  transition: .3s;
  transform: scale(1.01);
}
#btnClose {
	position: absolute;
	top:-15px;
	right: 0px;
	width: 14px;
	height: auto;
	opacity: 0.5;
}
#btnClose:hover {
	opacity: 1;
	cursor: default;
}
.btnErase {
  display: none!important;
}
@media (max-width: 640px) {
  #floatBNR {display: none!important;}
}



