:root {
  --pbs-color-coupon: #eee9e3;
}

body {
  container-type: inline-size;
}

/* kanban */
.pbs-kanban__logo {
  display: flex;
  flex-direction: column;
}

/* floating navi */
.pbs-floating-navi {
  width: 960px;
  height: 51px;
  margin: 0 auto;
  border-left: 1px solid rgb(51 51 51 / 30%);
  border-right: 1px solid rgb(51 51 51 / 30%);
}
.pbs-floating-navi > *:last-child {
  margin-right: 0;
}
.pbs-floating-navi__item {
  font-weight: 400;
  flex: 1;
}
.pbs-floating-navi__item,
.pbs-floating-navi__item:visited,
.pbs-floating-navi__item:active {
  color: var(--ecm-color-gray-1);
}
@media (hover: hover) {
  .pbs-floating-navi__item:hover {
    color: var(--ecm-color-white);
    background-color: var(--ecm-color-gray-1);
  }
}
.pbs-floating-navi__item:not(:first-child) {
  border-left: 1px solid rgb(51 51 51 / 30%);
}
.pbs-floating-navi__item[data-in-viewport='true'] {
  font-weight: 600;
  color: var(--ecm-color-white);
  background-color: var(--ecm-color-gray-1);
}

/* floating banner */
.pbs-floating-banner {
  right: 24px;
}
.pbs-floating-banner[data-module-name='ecm-floating'][data-static='false'] {
  top: unset;
}
.pbs-floating-banner--top {
  bottom: 237px;
}
.pbs-floating-banner--bottom {
  bottom: 74px;
}
.pbs-floating-banner__close {
  font-size: 10px;
  right: -4px;
  width: 18px;
  height: 18px;
  color: var(--ecm-color-gray-1);
  background-color: var(--ecm-color-white);
  box-shadow: 0 1.25px 6px 0 rgb(0 0 0 / 20%);
}
@media (hover: hover) {
  .pbs-floating-banner__close:hover {
    background-color: #ededed;
  }
}
.pbs-floating-banner__link {
  display: block;
}
@media (hover: hover) {
  .pbs-floating-banner__link:hover {
    opacity: 0.8;
  }
}

/* wrap */
.pbs-wrap {
  color: var(--ecm-color-gray-1);
}

/* common */
.pbs-date {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  text-align: center;
}
.pbs-date__term {
  font-weight: 600;
}
.pbs-date__term:last-of-type {
  margin-top: 1em;
}
.pbs-date__description {
  margin-left: 0;
}
.pbs-notes {
  font-size: 11px;
  line-height: 1.5;
  width: fit-content;
  margin: 0 auto;
  padding-left: 1em;
  color: var(--ecm-color-gray-1);
}
.pbs-notes__item:not(:first-child) {
  margin-top: 4px;
}
.pbs-notes__item::marker {
  content: '※';
}

/* section */
.pbs-section {
  padding: 40px 0 100px;
}
.pbs-section__headline {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 16px;
}
.pbs-section__headline::after {
  background: linear-gradient(90deg, #111 10%, #666 40%, #666 60%, #111 90%);
}
.pbs-section__subheadline {
  line-height: 1.5;
  margin-bottom: 16px;
  text-align: center;
}

/* kanban slider */
.slider {
  overflow: hidden;
  display: flex;
}
.slider__inner {
  display: flex;
  flex-wrap: nowrap;
}
.slider__inner:first-child {
  animation: slide1 60s -30s linear infinite;
}
.slider__inner:last-child {
  animation: slide2 60s linear infinite;
}
.slide__item {
  width: 95px;
  margin-right: 15px;
}
.slide__image {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 1.25px 6px 0 rgba(0, 0, 0, 0.2);
}

@keyframes slide1 {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes slide2 {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-200%);
  }
}

/* tabs */
.pbs-tabs {
  font-size: 14px;
  line-height: 1.25;
  display: grid;
  align-items: end;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  width: fit-content;
  margin: 0 auto;
}
.pbs-tabs__item {
  width: 300px;
  height: 50px;
}
.pbs-tabs__item:first-child .pbs-tabs__inner {
  background-color: var(--ecm-color-white);
}
@media (hover: hover) {
  .pbs-tabs__item:first-child a.pbs-tabs__inner:hover {
    background-color: var(--pbs-color-coupon);
  }
}
.pbs-tabs__item:last-child .pbs-tabs__inner {
  background-color: #d5d9dd;
}
@media (hover: hover) {
  .pbs-tabs__item:last-child a.pbs-tabs__inner:hover {
    background-color: var(--ecm-color-white);
  }
}
.pbs-tabs__item--current {
  height: 60px;
  margin-bottom: -1px;
}
.pbs-tabs__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: inherit;
  border: 1px solid #000;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
}
.pbs-tabs__inner,
.pbs-tabs__inner:visited,
.pbs-tabs__inner:active {
  color: var(--ecm-color-gray-1);
}
@media (hover: hover) {
  a.pbs-tabs__inner:hover {
    text-decoration: none;
    color: var(--ecm-color-gray-1);
  }
}
.pbs-tabs__num {
  font-size: 18px;
  font-weight: 600;
}

/* shops */
.pbs-shop-link {
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}
@media (hover: hover) {
  .pbs-shop-link:hover {
    opacity: 0.8;
  }
}

/* search */
.pbs-search {
  width: 560px;
  margin: 0 auto;
  border-color: var(--ecm-color-gray-1);
}

/* anchor links */
.pbs-anchor-links {
  font-size: 14px;
  line-height: 1.5;
  display: flex;
  justify-content: center;
  list-style-type: none;
}
.pbs-anchor-links__item {
  position: relative;
  padding: 0 20px;
}
.pbs-anchor-links__item:last-child::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 14px;
  content: '';
  background-color: var(--ecm-color-gray-1);
  translate: 0 -50%;
}

/* anchor navi */
.pbs-anchor-navi {
  width: 774px;
  display: grid;
  margin: 40px auto 0;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.pbs-anchor-navi__item {
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  display: grid;
  padding: 12px 12px 4px;
  border-radius: 4px;
  background-color: var(--ecm-color-white);
  background-repeat: no-repeat;
  background-size: cover;
  place-content: center;
  place-items: center;
  grid-column: span 2;
  row-gap: 2px;
  height: 48px;
}
.pbs-anchor-navi__item,
.pbs-anchor-navi__item:visited,
.pbs-anchor-navi__item:active {
  color: var(--ecm-color-gray-1);
}
@media (hover: hover) {
  .pbs-anchor-navi__item:hover {
    text-decoration: none;
    opacity: 0.8;
    color: var(--ecm-color-gray-1);
  }
}
.pbs-anchor-navi__item:nth-last-child(2):nth-child(3n + 1) {
  grid-column-end: 4;
}

/* search */
.pbs-floating-search {
  top: unset !important;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 960px;
  padding: 10px 16px;
}
