.p-xmas-float {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 100;
  width: 78px;
  height: 78px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.p-xmas-float img {
  display: block;
  width: 100%;
  filter: drop-shadow(0 0 40px rgba(0, 0, 0, 0.2));
}
.p-xmas-float--hidden {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .p-xmas-float {
    transition: none;
  }
}

body.fixed .p-xmas-float {
  display: none;
}

@keyframes p-xmas-menu-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.p-xmas-menu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.7);
  animation: p-xmas-menu-fade 0.3s ease;
}
.p-xmas-menu[hidden] {
  display: none;
}
.p-xmas-menu__inner {
  position: relative;
  width: 100%;
  max-width: 780px;
  margin: auto;
  padding: 47px 125px;
  background: #fff;
}
.p-xmas-menu__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.p-xmas-menu__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 20px;
  height: 2px;
  margin: -1px 0 0 -10px;
  background: #282828;
}
.p-xmas-menu__close span:nth-child(1) {
  transform: rotate(45deg);
}
.p-xmas-menu__close span:nth-child(2) {
  transform: rotate(-45deg);
}
.p-xmas-menu__title {
  display: block;
  width: 100%;
  max-width: 164px;
  margin: 0 auto;
}
@media screen and (max-width: 767px) {
  .p-xmas-menu__title {
    max-width: 182px;
    margin-bottom: 10px;
  }
}
.p-xmas-menu__title img {
  display: block;
  width: 100%;
}
.p-xmas-menu__row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.p-xmas-menu__row--top {
  margin-top: 28px;
}
.p-xmas-menu__btn {
  display: block;
  flex: 0 1 calc((100% - 24px) / 3);
  position: relative;
}
.p-xmas-menu__btn img {
  display: block;
  width: 100%;
}
.p-xmas-menu__btn-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}
.p-xmas-menu__btn:hover, .p-xmas-menu__btn:focus {
  opacity: 0.8;
}
.p-xmas-menu__illust {
  position: relative;
  z-index: 0;
  width: 46px;
  margin: 34px auto 0;
}
@media screen and (max-width: 767px) {
  .p-xmas-menu__illust {
    margin: 20px auto 0;
  }
}
.p-xmas-menu__illust img {
  display: block;
  width: 100%;
  height: auto;
}
.p-xmas-menu__coupon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  max-width: 350px;
  min-height: 50px;
  padding: 8px 16px;
  border-radius: 30px;
  background: #282828;
  color: #fff;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
}
.p-xmas-menu__coupon-link:hover, .p-xmas-menu__coupon-link:focus {
  opacity: 0.85;
  color: #fff;
  text-decoration: none;
}
@media screen and (max-width: 767px) {
  .p-xmas-menu__inner {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    max-height: 85vh;
    overflow-y: auto;
    margin: 0;
    padding: 24px 20px 24px;
    border-radius: 16px 16px 0 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }
  .p-xmas-menu.is-open .p-xmas-menu__inner {
    transform: translateY(0);
  }
  .p-xmas-menu__inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .p-xmas-menu__title, .p-xmas-menu__illust, .p-xmas-menu__coupon-link {
    grid-column: 1/-1;
  }
  .p-xmas-menu__title {
    max-width: 130px;
    margin-bottom: 8px;
  }
  .p-xmas-menu__illust {
    margin: 14px auto 0;
    margin-bottom: -10px;
  }
  .p-xmas-menu__row {
    display: contents;
  }
}
@media (prefers-reduced-motion: reduce) {
  .p-xmas-menu {
    animation: none;
  }
  .p-xmas-menu__inner {
    transition: none;
  }
}
