[class*="float-banner"] {
  --os-main-color: #2698e5;
  --os-transparent-color: rgba(38, 152, 229, 0.25);
  --os-sub-color: #f4fafe;
}

/* バナー */
.float-banner__inner {
  bottom: 0;
  left: 0;
  padding: 20px;
  position: fixed;
  right: 0;
  z-index: 999;
  text-align: center;
  width: calc(100% - 182px);
}
@media screen and (min-width: 768px) {
  .float-banner__inner {
    transition: all 0.3s ease-in-out;
    padding: 10px;
    width: 100%;
  }
}

.float-banner__anchor {
  align-items: center;
  display: inline-flex;
  justify-content: center;
}
@media screen and (min-width: 768px) {
  .float-banner__anchor {
    margin-right: 36px;
  } 
}

.float-banner__image {
  display: block;
}


/* モーダル */
/* .float-banner__catch {
  color: #333;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 20px;
  text-align: center;
}

.float-banner__input {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #ccc;
  color: #333;
  display: block;
  font-size: 16px;
  margin: 0 auto 10px;
  padding: 10px;
  width: calc(100% - 20px);
}
@media screen and (min-width: 768px) {
  .float-banner__input {
    width: 100%;
  }
}

.float-banner__input[readonly] {
  opacity: 0.7;
}

.float-banner__copy {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.float-banner__message {
  color: #333;
  font-size: 14px;
  font-weight: 700;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

.float-banner__message.js-show {
  visibility: visible;
  opacity: 1;
}

.float-banner__button {
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  border: 1px solid #333;
  border-radius: 4px;
  color: #333;
  cursor: pointer;
  display: block;
  font-size: 14px;
  font-weight: 700;
  padding: 5px 10px;
  transition: background-color 0.3s;
}

.float-banner__list {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: center;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.float-banner__anchor:has(.float-banner__icon--mail) {
  border-radius: 4px;
  display: block;
}

.float-banner__icon {
  box-sizing: border-box;
  display: block;
  height: 50px;
  width: 50px;
}
@media screen and (min-width: 768px) {
  .float-banner__icon {
    height: 64px;
    width: 64px;
  }
}

.float-banner__icon--mail {
  filter: brightness(0) invert(1);
  padding: 0 10px;
}

.float-banner__text {
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}
.float-banner__text strong {
  color: #f00;
  font-weight: 700;
} */

/* サイト別 ※override */
/* OS */
@media screen and (min-width: 768px) {
  [data-site="os"] .float-banner__inner {
    background: var(--os-transparent-color);
  }
  [data-site="os"] .float-banner__inner.js-bottom {
    bottom: 49px;
  }
}

[data-site="os"] .refer-friend__anchor:has(.float-banner__image) {
  background-color: var(--os-main-color);
}
