.fixed_banner {
  position: fixed;
  right: 3.4rem;
  bottom: 3.4rem;
  z-index: 1900;
  width: 370px;
  max-width: calc(100vw - 40px);
  background: rgba(242, 242, 242, 0.92);
  border-top: 6px solid rgba(83, 166, 207, 0.82);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s;
}

.fixed_banner.show {
  opacity: 1;
  visibility: visible;
  transition: none;
}

.fixed_banner .close_btn {
  position: absolute;
  top: -6px;
  right: 0;
  transform: translate(50%, -50%);
  width: 34px;
  aspect-ratio: 1;
  padding: 0;
  background: #3da0d0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.fixed_banner .close_btn::before,
.fixed_banner .close_btn::after {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 55%;
  height: 2px;
  content: "";
  background: #fff;
}

.fixed_banner .close_btn::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.fixed_banner .close_btn::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.fixed_banner a {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 20px 20px;
  text-decoration: none;
}

.fixed_banner a:hover {
  opacity: 1;
}

.fixed_banner a .img {
  flex: 0 0 112px;
  padding: 8px;
  background: #fff;
}

.fixed_banner a .img img {
  display: block;
  width: 100%;
  height: auto;
}

.fixed_banner a .txt {
  flex: 1 1 auto;
  min-width: 0;
}

.fixed_banner a .txt p {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  letter-spacing: 0.05em;
}

.fixed_banner a .txt .btn {
  display: block;
  width: 100%;
  margin-top: 18px;
  padding: 7px 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  letter-spacing: 0.05em;
  background: #3da0d0;
  border: 2px solid #3da0d0;
  border-radius: 8px;
  transition: color 0.3s, background-color 0.3s;
}

@media screen and (min-width: 769px) {
  .fixed_banner .close_btn {
    transition: opacity 0.3s;
  }

  .fixed_banner .close_btn:hover {
    opacity: 0.72;
  }

  .fixed_banner a:hover .btn {
    color: #3da0d0;
    background: #fff;
  }
}

@media screen and (max-width: 768px) {
  .fixed_banner {
    right: 16px;
    bottom: 16px;
    width: 230px;
    max-width: none;
    border-top-width: 4px;
  }

  .fixed_banner .close_btn {
    top: -4px;
    width: 28px;
  }

  .fixed_banner .close_btn::before,
  .fixed_banner .close_btn::after {
    height: 2px;
  }

  .fixed_banner a {
    gap: 10px;
    padding: 10px 12px 12px;
  }

  .fixed_banner a .img {
    flex-basis: 72px;
    padding: 5px;
  }

  .fixed_banner a .txt p {
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: 0.02em;
  }

  .fixed_banner a .txt .btn {
    margin-top: 8px;
    padding: 5px 6px;
    font-size: 10px;
    border-radius: 6px;
    letter-spacing: 0.02em;
  }
}

@media screen and (max-width: 374px) {
  .fixed_banner a {
    gap: 8px;
    padding-inline: 10px;
  }

  .fixed_banner a .img {
    flex-basis: 66px;
  }

  .fixed_banner a .txt p {
    font-size: 9px;
  }

  .fixed_banner a .txt .btn {
    font-size: 9px;
  }
}
