@charset "UTF-8";

/* 特約店一覧：共通JSONページ（p-grant__* ／ c-note ／ is-emphasis） */
/* ---- 1. 設定（CSS変数）---- */

:root {
  --store-visible: 5;
  --store-card-width: calc(
    (100% - (var(--store-visible) - 1) * 16px) / var(--store-visible)
  );

  /* repeat(2.2, 1fr) は不正な値になるため整数で持つ */
  --store-grid: 5;

  --store-visual-bg: #fff;
  --store-border: #e5e5e5;
  --store-note-color: #a7a7a7;
  --store-rate-line: #c9c5c0;
  --store-arrow-bg: #434343;
  --store-nav-bg: #60768d;
  --store-nav-bg-hover: #52667b;

  /* 14箇所で共有。ブランド差は --sp-rule-color 側で持つ */
  --rule-color: #333;

  --store-font: "Noto Sans JP", sans-serif;
}
@media (max-width: 640px) {
  :root {
  --store-visible: 2.2;
  --store-card-width: calc(
    (100% - (var(--store-visible) - 1) * 16px) / var(--store-visible)
  );

  /* 絞り込み後は2列（横送りの 2.2 とは別） */
  --store-grid: 2;
}
}

/* ---- 2. カテゴリのセクションとカード ---- */

.store-section {
  margin-block: 64px;
}
@media (min-width: 641px) {
  .store-section:first-child {
    margin-block: 40px 64px;
  }

  .store-section:last-child {
    margin-block: 64px 80px;
  }
}
@media (max-width: 640px) {
    .store-section:last-child {
    margin-block: 40px 104px;
  }
}

.store-section__title,
.store-section__subtitle,
.store-card__name {
  font-family: inherit;
  font-style: normal;
  letter-spacing: normal;
  margin: 0;
  padding: 0;
}

.store-section__title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 24px;
  padding-inline-start: 16px;
  border-inline-start: 2px solid var(--store-nav-bg);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.8;
  color: var(--rule-color);
}

/* --store-nav-bg は他の部品も参照するため色だけ差し替える */
html:has(meta[name="special-store-base-dir"][content*="infinite"])
  .store-section__title {
  border-inline-start-color: #C9C5C0;
}

.store-section__icon {
  flex: 0 0 auto;
  inline-size: 28px;
  block-size: 28px;
  background-image: var(--icon, none);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.store-section__icon:not([style]):empty {
  display: none;
}

.store-section__count {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--store-visual-bg);
  font-size: 16px;
  line-height: 1;
  font-weight: 400;
  white-space: nowrap;
  color: var(--rule-color);
  border: 1px solid var(--rule-color);
}

.store-section__group {
  margin-block-start: 24px;
}

.store-section__subtitle {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.store-carousel {
  position: relative;
}

.store-carousel__viewport {
  overflow: hidden;
}

.store-carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--store-card-width);
  column-gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;

  transition: transform .7s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}

.store-carousel__track.is-swipeable {
  cursor: grab;
}

.store-carousel__track.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.store-carousel__grid {
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: repeat(var(--store-grid), 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  transform: none;
}

/* PCは送りボタンがあるため出さない */
.store-carousel__pagination {
  display: none;
}

@media (max-width: 640px) {
  .store-carousel__pagination {
    display: flex;
    justify-content: center;
    gap: 14px;

      margin-top: 16px;
  }
}

.store-carousel__prev,
.store-carousel__next {
  position: absolute;
  top: 45%;
  display: flex;
  inline-size: 48px;
  block-size: 48px;
  padding: 0;
  transform: translateY(-50%);
  border: none;
  border-radius: 50%;
  background: var(--store-nav-bg);
  cursor: pointer;
  transition: background-color .2s ease, opacity .2s ease;
  z-index: 1;
}

.store-carousel__prev { inset-inline-start: -65px; }
.store-carousel__next { inset-inline-end: -65px; }

.store-carousel__prev:hover,
.store-carousel__next:hover {
  background: var(--store-nav-bg-hover);
}

.store-carousel__prev:disabled,
.store-carousel__next:disabled {
  background: #f5f5f5;
  cursor: default;
}

.store-carousel__prev:disabled:hover,
.store-carousel__next:disabled:hover {
  background: #f5f5f5;
}

.store-carousel__prev[hidden],
.store-carousel__next[hidden] {
  display: none;
}

.store-carousel__viewport:not(:has(.store-carousel__track[data-carousel="ready"])) {
  overflow-x: auto;
  scrollbar-width: none;
}

.store-carousel__viewport:not(:has(.store-carousel__track[data-carousel="ready"]))::-webkit-scrollbar {
  display: none;
}

.store-carousel__prev::before,
.store-carousel__next::before {
  content: "";
  display: block;
  inline-size: 17px;
  block-size: 17px;
  margin: auto;
  border-block-start: 3px solid var(--store-visual-bg);
  border-inline-end: 3px solid var(--store-visual-bg);
}

.store-carousel__prev::before {
  position: relative;
  inset-inline-end: -2px;
  transform: rotate(-135deg);
}

.store-carousel__next::before {
  position: relative;
  inset-inline-start: -2px;
  transform: rotate(45deg);
}

.store-slide {
  display: flex;
  min-height: 351px;
}

.store-link {
  display: flex;
  inline-size: 100%;
  text-decoration: none;
  transition: opacity .2s ease;
}

.store-link:hover {
  opacity: .8;
}

.store-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  inline-size: 100%;
  background: var(--rule-color);
  font-family: var(--store-font);
}

.store-card__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  align-self: stretch;
  flex-shrink: 0;
  border: 1px solid var(--store-border);
  border-block-end: none;
  background: var(--store-visual-bg);
}

.store-card__logo {
  inline-size: 100%;
  block-size: 100%;
  object-fit: contain;
}

.store-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 0 0;
  align-self: stretch;
  padding: 12px 8px 40px;
}

.store-card__name {
  align-self: stretch;
  min-block-size: calc(1.5em * 2);
  margin: 0;
  padding-block-end: 4px;
  color: var(--store-visual-bg);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.store-card__rate {
  align-self: flex-end;
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin: 0;
  padding: 0 1px 6px;
  color: var(--store-visual-bg);

  border-block-end: 1px solid transparent;
  border-image-source: linear-gradient(
    270deg,
    rgba(137, 185, 224, 0) 0%,
    #89b9e0 12%,
    #86bbe6 30%,
    #e5fcef 50%,
    #faf1c8 70%,
    #f7a970 88%,
    rgba(247, 169, 112, 0) 100%
  );
  border-image-slice: 1;
}

.store-card__rate-max {
  align-self: center;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
}

.store-card__rate-prefix {
  align-self: center;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
}

.store-card__rate-value {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.store-card__rate-unit {
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
}

.store-card__notes {
  align-self: stretch;
  min-block-size: var(--store-note-reserve, 0px);
}

.store-card__note {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  align-self: stretch;
  margin: 0;
  padding-block-start: 8px;
  color: var(--store-note-color);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.store-card__note::before {
  content: "※";
  flex: 0 0 auto;
}

.store-card__arrow {
  position: absolute;
  inset-inline-end: 0;
  inset-block-end: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  inline-size: 32px;
  block-size: 32px;
  background: var(--store-arrow-bg);
}

.store-card__arrow-icon {
  inline-size: 8px;
  block-size: 8px;
  border-block-start: 2px solid var(--store-visual-bg);
  border-inline-end: 2px solid var(--store-visual-bg);
  transform: translateX(-1px) rotate(45deg);
}

.store-empty {
  margin-block: 48px;
  padding: 32px 24px;
  border: 1px solid var(--store-border);
  background: #fafafa;
  font-size: 15px;
  line-height: 1.8;
  text-align: center;
  color: #555;
}

@media (max-width: 640px) {
  .store-section {
    margin-block: 40px;
  }

  .store-section__title { font-size: 18px; }
  .store-section__count { font-size: 12px; }
  .store-section__subtitle { font-size: 14px; }
  .store-carousel__viewport {
    margin-inline: -16px;
    padding-inline: 16px;
  }

  .store-carousel__prev,
  .store-carousel__next {
    display: none;
  }
}

/* ---- 3. 店舗名で探す（検索窓）---- */

.storeSearchWrapper {
  background: #F0F0F0;
  display: flex;
  padding: 24px 40px;
  flex-direction: column;
  align-self: stretch;
  gap: 16px;
}

.p-search {
  display: flex;
  align-items: center;
  align-self: stretch;
}

.p-search__field {
  position: relative;
  flex: 1 1 auto;
}

.p-search__input {
  inline-size: 100%;
  block-size: 48px;
  padding: 16px;
  border: 1px solid var(--store-visual-bg);
  background: var(--store-visual-bg);
  color: #969696;
  text-overflow: ellipsis;
  font-family: "Noto Sans JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.8;
}

.p-search__input::placeholder {
  color: #999;
}

.p-search__input:not(:placeholder-shown) {
  color: #333;
}

.p-search__input:focus-visible {
  outline: 2px solid var(--store-nav-bg);
  outline-offset: -2px;
}

.p-search__clear {
  position: absolute;
  inset-inline-end: 8px;
  inset-block-start: 50%;
  transform: translateY(-50%);
  inline-size: 28px;
  block-size: 28px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #e4e4e4;
  cursor: pointer;
}

.p-search__clear::before,
.p-search__clear::after {
  content: "";
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: 50%;
  inline-size: 12px;
  block-size: 1.5px;
  background: #555;
}

.p-search__clear::before { transform: translate(-50%, -50%) rotate(45deg); }
.p-search__clear::after  { transform: translate(-50%, -50%) rotate(-45deg); }

.p-search__clear[hidden] { display: none; }

.p-search__submit {
  position: relative;
  flex: 0 0 auto;
  inline-size: 48px;
  block-size: 48px;
  padding: 0;
  border: none;
  background: var(--rule-color);
  cursor: pointer;
  transition: background-color .2s ease;
}

.p-search__submit:hover { background: var(--store-nav-bg-hover); }

.p-search__submit::before {
  content: "";
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  transform: translate(-50%, -50%);
  inline-size: 24px;
  block-size: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 L21 21'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

@media (max-width: 640px) {
  .p-search {
    max-inline-size: none;
    margin-block-end: 16px;
  }

  .p-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: -16px;
    padding-inline: 16px;
    scrollbar-width: none;
  }

  .p-chips::-webkit-scrollbar {
    display: none;
  }

  .p-search__input {
    padding: 8px 16px;
  }
}

/* ---- 4. 文字装飾とリンクアイコン ---- */

.is-emphasis {
  color: #c8102e;
}

.is-marker {
  padding-inline: 2px;
  background: linear-gradient(transparent 55%, #ffe680 55%);
  color: inherit;
}

.c-link {
  display: inline;
}

.c-link::after {
  content: "";
  display: inline-block;
  margin-inline-start: 4px;
  vertical-align: middle;
}

.c-link--external::after {
  inline-size: 10px;
  block-size: 10px;
  border: 1px solid currentColor;
  border-block-start: none;
  border-inline-end: none;
  box-shadow: 3px -3px 0 -2px currentColor, 5px -5px 0 -2px currentColor;
}

.c-link--window::after {
  inline-size: 9px;
  block-size: 9px;
  border: 1px solid currentColor;
  box-shadow: 3px -3px 0 -1px var(--store-visual-bg), 3px -3px 0 0 currentColor;
}

.c-link--pdf::after {
  inline-size: 9px;
  block-size: 11px;
  border: 1px solid currentColor;
  border-start-end-radius: 3px;
  box-shadow: inset -3px 3px 0 -2px currentColor;
}

/* ---- 5. カテゴリーで探す（チップ）---- */

.p-find__heading {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--rule-color);
}

.p-chips {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  padding: 0;
  list-style: none;
}

.p-chips > li {
  display: flex;
}

.p-chips li:not(.is-active) .p-chips__item:hover {
  opacity: .2;
}

.p-chips li.is-active .p-chips__item {
  background: var(--rule-color);
  color: var(--store-visual-bg);
  cursor: default;
}

.p-chips li.is-active .p-chips__icon {
  filter: brightness(0) invert(1);
}

.p-chips__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  inline-size: 100%;
  min-block-size: 96px;
  padding: 12px 8px;
  border: none;
  background: transparent;
  color: var(--rule-color);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}

@media (min-width: 641px) {
  .p-chips__item {
    padding: 16px 4px;
  }
}

.p-chips__icon {
  flex: 0 0 auto;
  inline-size: 32px;
  block-size: 32px;
  object-fit: contain;
  transition: filter .2s ease;
  background-image: var(--icon, none);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.p-chips__text {
  display: flex;
  align-items: center;
  justify-content: center;
  min-block-size: calc(1.4em * 2);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

.p-chips__item--all {
  justify-content: center;
}

.p-chips__item--all .p-chips__text {
  min-block-size: 0;
}

.pickup-track {
  --pickup-visible: 3;
}

@media (max-width: 640px) {
  .pickup-track {
    --pickup-visible: 1;
  }
}

.pickup-nav[hidden] {
  display: none;
}

@media (max-width: 640px) {
  .p-chips__item {
    min-block-size: 84px;
    padding: 8px 4px;
  }

  .p-chips__text {
    font-size: 11px;
  }

  .p-chips__item--all {
    min-block-size: 84px;
    font-size: 13px;
  }
}

/* ---- 6. ピックアップ特約店 ---- */

.pickup-section {
  background: #f0f0f0;
  padding: 48px 12px;
}

.pickup-header {
  display: flex;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  padding: 48px 0 24px 0;
}

.pickup-title {
  margin: 0;
  color: var(--rule-color);
  font-family: var(--store-font);
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 180%;
}

html:has(meta[name="special-store-base-dir"][content*="infinite"]):not(:has(#storeList))
  .pickup-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 42px;
}

@media (min-width: 641px) {
  html:has(meta[name="special-store-base-dir"][content*="infinite"]):not(:has(#storeList))
    .pickup-header {
    padding: 48px 12px 24px 12px;
  }

  html:has(meta[name="special-store-base-dir"][content*="infinite"]):not(:has(#storeList))
    .pickup-viewport {
    padding: 0 12px;
  }
}

@media (max-width: 640px) {
  html:has(meta[name="special-store-base-dir"][content*="infinite"]):not(:has(#storeList))
    .pickup-title {
    font-size: 20px;
  }

  html:has(meta[name="special-store-base-dir"][content*="infinite"]):not(:has(#storeList))
    .pickup-more {
    font-size: 14px;
  }

  html:has(meta[name="special-store-base-dir"][content*="infinite"]):not(:has(#storeList))
    .pickup-track {
    padding: 16px 0;
  }
}

.pickup-more {
  margin-inline-start: auto;
  color: var(--store-nav-bg);
  font-family: var(--store-font);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
  text-decoration: underline;
}

.pickup-more:hover {
  text-decoration: none;
}

html:has(meta[name="special-store-base-dir"][content*="infinite"]) .pickup-more {
  color: #707070;
  font-size: 16px;
}

html:has(meta[name="special-store-base-dir"][content*="infinite"]) .pickup-more:hover,
html:has(meta[name="special-store-base-dir"][content*="infinite"]) .pickup-more:focus {
  color: #333;
  text-decoration: underline;
}

/* 全幅の帯は同ページの .campaign-gray と同じ作り */
html:has(meta[name="special-store-base-dir"][content*="infinite"])
  .bps-freehtml:has(.pickup-more) {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100vw;
  min-width: 960px;
  margin-left: calc(480px - 50vw);
  padding-bottom: 48px;
  /* background: #E8E8E8; */
}

/* align-self: stretch に勝たせるため auto マージンで寄せる */
html:has(meta[name="special-store-base-dir"][content*="infinite"])
  .bps-freehtml:has(.pickup-more) > * {
  width: 100%;
  max-width: 960px;
  margin-inline: auto;
}

@media (max-width: 960px) {
  html:has(meta[name="special-store-base-dir"][content*="infinite"])
    .bps-freehtml:has(.pickup-more) {
    margin-left: 0;
  }
}

.pickup-container {
  width: 100%;
}

.pickup-carousel {
  position: relative;
  overflow: visible;
  padding: 0;
}

.pickup-viewport {
  overflow: hidden;
}

.pickup-track {
  display: flex;
  gap: 16px;
  transition: transform .7s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}

.pickup-track.is-swipeable {
  cursor: grab;
}

.pickup-track.is-dragging {
  cursor: grabbing;
  user-select: none;
}

@media (min-width: 641px) {
  .pickup-carousel {
    padding: 0 55px;
  }

  :not(.pickup-carousel) > .pickup-viewport {
    margin-inline: 55px;
  }
}

.article-link {
  flex: 0 0 min(280px, 85%);
}

@media (min-width: 641px) {
  .article-link {
    flex: 0 0 calc((100% - 32px) / 3);
  }
}

.pickup-card {
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-height: 186px;
  padding: 16px 16px 40px;
  background-image:
    linear-gradient(0deg, #322722, #322722),
    linear-gradient(135deg, #655B5A 0%, #130800 100%);
}

.pickup-badge {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 6px 12px;
  background: #5D5D5D;
  color: var(--store-visual-bg);
  font-size: 13px;
  font-weight: 700;
}

.pickup-card-header {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.pickup-image {
  flex: 1;
  aspect-ratio: 1;
}

.pickup-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pickup-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.pickup-copy {
  color: var(--store-note-color);
  font-size: 13px;
  line-height: 1.25;
  text-align: center;
}

.pickup-copy p {
  margin: 0;
}

.pickup-rate {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(270deg, rgba(201, 197, 192, 0) 0%, var(--store-rate-line) 40%, var(--store-rate-line) 60%, rgba(201, 197, 192, 0) 100%) 1;
  color: var(--store-visual-bg);
  border-image-source: linear-gradient(270deg, rgba(137, 185, 224, 0) 0%, #89b9e0 12%, #86bbe6 30%, #e5fcef 50%, #faf1c8 70%, #f7a970 88%, rgba(247, 169, 112, 0) 100%);
  border-image-slice: 1;
}

.pickup-rate-prefix {
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.08em;
  margin: auto 0;
}

.pickup-rate-value {
  font-size: 32px;
  line-height: 1;
  font-weight: 700;
}

.pickup-rate-unit {
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
}

.pickup-body {
  text-align: center;
}

.pickup-category {
  margin: 0;
  color: var(--store-visual-bg);
  font-size: 12px;
  line-height: 1.5;
}

.pickup-name {
  margin: 8px 0 0;
  color: var(--store-visual-bg);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.pickup-note {
  margin-top: 12px;
  color: var(--store-note-color);
  font-size: 12px;
  line-height: 1.5;
}

.nav-arrow {
  position: relative;
  left: -3px;
  display: block;
  width: 10px;
  height: 10px;
  margin: auto;
  transform: rotate(45deg);
  border-top: 2px solid var(--store-visual-bg);
  border-right: 2px solid var(--store-visual-bg);
}

.pickup-arrow {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  width: 32px;
  height: 32px;
  border: 0;
  background: var(--store-arrow-bg);
  color: var(--store-visual-bg);
  cursor: pointer;
  transition: background 0.2s ease;
}

.pickup-arrow:hover {
  background: #555;
}

.pickup-nav {
  position: absolute;
  top: 50%;
  display: flex;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  border: none;
  border-radius: 50%;
  background: #858585;
  cursor: pointer;
}

.pickup-nav:disabled {
  opacity: 0.3;
  cursor: default;
}

.pickup-nav-prev {
  left: 0;
  background: var(--store-nav-bg);
}

.pickup-nav-next {
  right: 0;
  background: var(--store-nav-bg);
}

.pickup-nav-arrow {
  display: block;
  width: 17px;
  height: 17px;
  margin: auto;
  border-top: 3px solid var(--store-visual-bg);
  border-right: 3px solid var(--store-visual-bg);
}

.pickup-nav-arrow-prev {
  position: relative;
  right: -2px;
  transform: rotate(-135deg);
}

.pickup-nav-arrow-next {
  position: relative;
  left: -2px;
  transform: rotate(45deg);
}

@media (max-width: 640px) {
  .pickup-nav {
    display: none;
  }
}

.pickup-pagination {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}

.pickup-dot,
.store-dot {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 50%;
  background: #b3bdc8;
  cursor: pointer;
}

.pickup-dot.active,
.store-dot.active {
  background: var(--store-nav-bg);
}

@media (min-width: 641px) {
  .pickup-pagination {
    display: none;
  }
}

.pickup-nav:focus,
.pickup-dot:focus,
.store-dot:focus,
.pickup-download:focus {
  outline: 2px solid var(--store-nav-bg);
  outline-offset: 2px;
}

/* 特約店ページ以外にも影響する */
a:hover img {
  opacity: 0.7;
}

/* ---- 7. 実施中のキャンペーン ---- */

.campaign-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 0 88px;
  background: var(--store-visual-bg);
}

.campaign-section[hidden] {
  display: none;
}

.campaign-header {
  display: flex;
  padding-bottom: 24px;
  align-items: center;
  gap: 10px;
  align-self: stretch;
}

.campaign-title {
  margin: 0;
  color: var(--rule-color);
  font-family: var(--store-font);
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 180%;
}

.campaign-banner {
  position: relative;
}

.campaign-banner__link {
  display: block;
}

.campaign-banner img {
  width: 100%;
  height: 100%;
}

/* ---- 8. 特約店カード一覧の見出し ---- */

.category-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding-top: 0;
  background: var(--store-visual-bg);
}

.category-header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.category-title {
  flex: 1;
  margin: 0;
  color: var(--rule-color);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.8;
}

@media (min-width: 641px) {
  .category-section {
    padding-top: 64px;
  }
}

/*
 * 9. AEM暫定対応・SPの微調整
 * nth-child はAEM側の出力が変わると外れる。INFは番号が1つずれる。
 */

/* ---- INF：カードの配色 ---- */

html:has(meta[name="special-store-base-dir"][content*="infinite"]) .store-card,
html:has(meta[name="special-store-base-dir"][content*="infinite"]) .pickup-card {
  background: linear-gradient(135deg, #655B5A 0%, #130800 100%), #241C18;
}

html:has(meta[name="special-store-base-dir"][content*="infinite"]) .store-card__rate,
html:has(meta[name="special-store-base-dir"][content*="infinite"]) .pickup-rate {
  border-block-end: 1px solid #C9C5C0;
  border-image: none;
}

html:has(meta[name="special-store-base-dir"][content*="infinite"]) .store-card__arrow,
html:has(meta[name="special-store-base-dir"][content*="infinite"]) .pickup-arrow {
  background: #6A6360;
}

.store-card__notes > .c-note-list {
  padding: 0;
}

/* 画面幅いっぱいに広げる。box-shadow＋clip-path で広げると、端に細い線が出るため margin で広げる */
html:has(#storeList)
  #main>.aem-Grid>.bps-section:has(.pickup-track)::after {
  content: "";
  display: block;
  block-size: 120px;
  background: #fff;
  margin-inline: calc(50% - 50vw);
}

html:not(:has(meta[name="special-store-base-dir"][content*="infinite"])):has(#storeList)
  #main>.aem-Grid>.bps-section:has(.pickup-track)+.bps-section::before {
  content: "";
  display: block;
  block-size: 80px;
  background: #333;
  box-shadow: 0 0 0 100vmax #333;
  clip-path: inset(0 -100vmax);
}

/* 灰色の背景（PP:3 ／ INF:2） */
html:not(:has(meta[name="special-store-base-dir"][content*="infinite"]))
  #main>.aem-Grid>.bps-section:nth-child(3)>.cmp-section,
html:has(meta[name="special-store-base-dir"][content*="infinite"])
  #main>.aem-Grid>.bps-section:nth-child(2)>.cmp-section {
  border-left-color: #F0F0F0;
  border-right-color: #F0F0F0;
  background: #F0F0F0;
}

/* カテゴリ検索エリアを画面幅いっぱいに表示（PP:6 ／ INF:5） */
html:not(:has(meta[name="special-store-base-dir"][content*="infinite"]))
  #main>.aem-Grid>.bps-section:nth-child(6) .bps-freehtml,
html:has(meta[name="special-store-base-dir"][content*="infinite"])
  #main>.aem-Grid>.bps-section:nth-child(5) .bps-freehtml {
  padding-left: 0;
  padding-right: 0;
}

@media (min-width: 641px) {
  /* PP:3 ／ INF:2 */
  html:not(:has(meta[name="special-store-base-dir"][content*="infinite"]))
    #main>.aem-Grid>.bps-section:nth-child(3) .bps-freehtml,
  html:has(meta[name="special-store-base-dir"][content*="infinite"])
    #main>.aem-Grid>.bps-section:nth-child(2) .bps-freehtml {
    margin-bottom: 48px;
  }
}

section.cmp-section {
  padding-bottom: 0;
  overflow: visible !important;
}

@media (min-width: 641px) {
  html:has(#storeList) section.cmp-section > * {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

.bps-section:has(+ .bps-section) section.cmp-section {
  margin-bottom: 0;
}

/* AEMのタイトルコンポーネントが出す空要素を潰す */
.new {
  height: 0;
}

html:has(#storeList) .cmp-title h2 {
  text-align: center;
}

/* INFの一覧ページ下部の「サービスから探す」（AEM共通のナビゲーション部品）は中央寄せにしない */
html:has(meta[name="special-store-base-dir"][content*="infinite"]):has(#storeList)
  .navigationArea .cmp-title h2 {
  text-align: left;
}

/* クラス名は32だがPCは64px（下の @media で上書き） */
.pc_maB32 {
  margin-bottom: 64px !important;
}

.text_mem.text.maB0.aem-GridColumn.aem-GridColumn--default--12 {
  margin-bottom: 64px !important;
}

.text_mem.text.maB0.aem-GridColumn.aem-GridColumn--default--12 > .cmp-text > ul {
  padding-left: 2em;
}

@media (max-width: 640px) {
  .pc_maB32 {
    margin-bottom: 32px !important;
  }

  .pickup-track {
    padding: 16px 0;
  }

  .pickup-pagination {
    margin-bottom: 32px;
  }

  .storeSearchWrapper {
    padding: 24px 20px;
  }

  /* PP:5 ／ INF:4 */
  html:not(:has(meta[name="special-store-base-dir"][content*="infinite"]))
    #main > div > div:nth-child(5) > section > div:nth-child(1),
  html:has(meta[name="special-store-base-dir"][content*="infinite"])
    #main > div > div:nth-child(4) > section > div:nth-child(1) {
    padding: 0;
  }

  #storeList {
    padding: 0 20px;
  }
  
  .p-chips {
    grid-template-columns: repeat(4, 1fr);
    margin: 0;
  }

  .store-card__notes > .c-note-list {
    margin: 0;
    padding: 0;
  }

  .pickup-header {
    padding: 32px 0 0 0;
  }

    html:has(meta[name="special-store-base-dir"][content*="infinite"])
    .bps-freehtml:has(.pickup-more) {
    width: 100%;
    min-width: 0;
    padding: 8px 16px 32px;
  }

  .campaign-heade {
    padding-bottom: 16px;
  }

  .campaign-section {
    padding: 32px 0 84px;
  }

  .text_mem.text.maB0.aem-GridColumn.aem-GridColumn--default--12 {
    margin-bottom: 32px !important;
  }
}