.m-campaign {
  opacity: 1;
  pointer-events: none;
  position: fixed;
  bottom: 16px;
  z-index: 1000;
  transform: translateX(-100%);
  animation: campaign-in 1s cubic-bezier(0, 0, 0, 1.1) 0.5s forwards;
  left: calc(-50vw + 50%);
  width: 100vw;
}

@media print, screen and (max-width: 640px) {
  .m-campaign {
    display: none;
  }
}

@keyframes campaign-in {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

.m-campaign__item {
  width: 100px;
  position: relative;
  padding: 8px 8px 0 0;
  margin-left: 12px;
  pointer-events: auto;
}
@media print, screen and (min-width: 641px) {
  .m-campaign__item {
    width: 200px;
    margin-left: 16px;
  }
}
.m-campaign__card {
  border: 1px solid #666666;
  background: #f2f2f2;
  padding: 7px;
  box-shadow: 0 2px 4px 0 rgba(51, 51, 51, 0.25);
  display: grid;
  place-items: center;
  gap: 8px;
}

.m-campaign__videoWrap {
  width: 100%;
}

.m-campaign__video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 0;
  background: #000;
}

.m-campaign__close {
  position: absolute;
  top: -10px;
  right: -10px;
  box-sizing: border-box;
  display: block;
  width: 32px;
  height: 32px;
  background: rgba(102, 102, 102, 1);
  padding: 4px;
  border-radius: 50%;
  transition: opacity 0.3s;
  border: none;
  cursor: pointer;
}

.m-campaign__close:hover {
  opacity: 0.7;
}

.m-campaign__close-icon {
  mask-image: url("/jp/lighting/facilities/exit-sign/img/icon-close.svg");
  mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: inline-block;
}

.m-campaign__card .link {
  justify-self: stretch;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  text-decoration: none;
  border-bottom: none;
  transition: color 0.3s;
  padding: 4px 0 3px;
  font-size: 16px;
  color: #333;
}

.m-campaign__card .link .m-campaign__linkLabel {
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  transition: border-color 0.3s, opacity 0.3s;
}

.m-campaign__card .link:hover .m-campaign__linkLabel {
  opacity: 0.85;
  border-bottom-color: transparent;
}

.m-campaign__card .link.icon-arrow-right .m-campaign__linkLabel::after {
  content: "";
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  margin-left: 0.25em;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url(/jp/common/v4/img/icon-arrow.svg);
}
