.p-fixed-item-bnr {
  position: relative;
  transition: opacity 0.3s ease-in-out;
}

.p-fixed-item-bnr:not(.is-none) {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 101;
}

.p-fixed-item-bnr.is-none {
  display: none;
}

.p-fixed-item-bnr:not(.is-none) .p-fixed-item-bnr__anc {
  display: block;
  transition: opacity 0.3s ease-in-out;
}

.p-fixed-item-bnr__btn {
  position: absolute;
  top: -2rem;
  left: -2rem;
  width: 4.4rem;
  height: 4.4rem;
  background-color: #424242;
  box-shadow: inset 0 0 0 3px #fff;
  display: block;
  border-radius: 50vh;
}

.p-fixed-item-bnr__btn::before,
.p-fixed-item-bnr__btn::after {
  position: absolute;
  content: '';
  background-color: #fff;
  top: 50%;
  left: 50%;
  width: calc(100% - 2rem);
  height: 1px;
}

.p-fixed-item-bnr__btn::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.p-fixed-item-bnr__btn::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.p-fixed-item-bnr__img {
  width: clamp(200px, calc(365 / 1440 * 100vw), 365px);
  height: auto;
  box-shadow: 1px 3px 6px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 1023px) {
  .p-fixed-item-bnr__btn {
    top: -2.5rem;
  }
}

@media screen and (max-width: 767px) {
  .p-fixed-item-bnr__btn {
    width: 3.7rem;
    height: 3.7rem;
  }

  .p-fixed-item-bnr:not(.is-none) {
    bottom: 0rem;
    right: 1rem;
  }

  .p-fixed-item-bnr__img {
    width: min(calc(200 / 375 * 100vw), 200px);
  }
}

html.js-view-content .p-fixed-item-bnr {
  visibility: hidden;
  opacity: 0;
}

.c-pagetop {
  visibility: hidden;
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1), background 0.35s ease-in-out, color 0.35s ease-in-out,
    opacity 0.3s ease-in-out !important;
}

html.js-view-content .c-pagetop {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
