html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  font-family: 'Yu Gothic Medium','Yu Gothic','YuGothic','游ゴシック体','Noto Sans JP',sans-serif;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

@media (min-width: 768px) {
  body {
    min-width: 1080px;
  }
}

::selection {
  background: #7c6a58;
  color: #ffffff;
}

.page-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 14px rgb(0 0 0 / 15%);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility 0s linear .3s;
}

.page-top.is-visible {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.page-top::before {
  content: '';
  width: 9px;
  height: 9px;
  border-top: 1px solid #111;
  border-left: 1px solid #111;
  transform: translateY(2px) rotate(45deg);
}

.page-top:focus-visible {
  outline: 2px solid #9c8567;
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .page-top {
    right: 10px;
    bottom: 22px;
    width: 40px;
    height: 40px;
  }
}

/* Shared circular arrow for detail links. */
.reward__detail-link::after,
.point__reward-detail::after,
.faq__question::after,
.faq__all-link::after {
  content: "";
  flex-shrink: 0;
  background: url('../images/arrow-circle.png') center / contain no-repeat;
}

.reward__detail-link::after,
.point__reward-detail::after {
  width: 13px;
  height: 13px;
}

.carousel-viewport,
.freedom__carousel-viewport {
  touch-action: pan-y;
}

@media (max-width: 767px) {
  .carousel-viewport {
    overflow: hidden;
  }
}
