@charset "UTF-8";

/*
 * 特約店詳細：個別JSONで管理している4ページ（p-custom__*）
 * vtrip_hotel ／ expedia ／ hotels ／ vtrip_traffic
 * 共通JSONの68ページ（p-grant__*）とは接頭辞で分ける。
 */

/*
 * ブランド別の色（PP／INF）
 * PP・INFで値が変わるものだけ、metaの値で変数を切り替える。
 * ＜注意＞ 複数箇所で共有している変数を差し替えると、意図しない範囲まで色が変わる。
 */

html:has(meta[name="special-store-base-dir"][content*="infinite"]) {
  /* 店舗名（H1）の文字色。PPは #fff */
  --sp-title-color: #333;

  /* 回遊導線の上に引く区切り帯の色。PPは #333 */
  --sp-rule-color: #F0F0F0;

  /* 区切り帯の高さ。PPは 80px */
  --sp-rule-size: 24px;

  /* 区切り帯の下に敷くグラデーション。PPだけに出すため、INFでは none */
  --sp-rule-accent: none;
}

a:hover {
  opacity: 0.5;
}

.p-grant__block .p-grant__heading {
  font-size: 20px;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: 1.2px;
}

h1.p-grant__title-heading {
  color: var(--sp-title-color, #fff);
  width: 100%;
  padding: 56px 0;
  text-align: center;
  font-size: 34px;
  line-height: 48px;
  letter-spacing: 2.28px;
}

h2.p-grant__heading {
  width: 100%;
  text-align: center;
  margin: 72px 0 112px;
  font-size: 32px;
  line-height: 48px;
  letter-spacing: 1.92px;
  position: relative;
}

/* 見出しの上に浮かせる虹色の線（個別4ページのh2と同じ） */
h2.p-grant__heading::before {
  content: '';
  position: absolute;
  display: inline-block;
  height: 4px;
  width: 80px;
  transform: translateX(-50%);
  top: -72px;
  left: 50%;
  background: linear-gradient(to left, #89B9E066 0%, #86BBE6CC 25%, #E5FCEF 50%, #FAF1C8 75%, #F7A970 100%);
}

html:has(meta[name="special-store-base-dir"][content*="infinite"]) h2.p-grant__heading::before {
  content: none;
}

h3.p-grant__heading {
  color: #333333;
  width: 100%;
  margin: 56px 0 32px;
  font-size: 20px;
  line-height: 36px;
  letter-spacing: 1.2px;
}

.p-grant__block:first-child .p-grant__heading {
  margin: 0 0 32px;
}

/* 直前に別のブロックがあるときだけ詰める（INFで先頭に来た場合は通常の余白） */
.p-grant__block + .p-grant__block.is-tight .p-grant__heading {
  /* 上書き先が margin の一括指定なので、物理プロパティで揃える */
  margin-top: var(--cu-block-gap-tight);
}

#grantConditions {
  line-height: 26px;
}

@media (max-width: 640px) {
  #grantConditions {
    line-height: 30px;
  }
}

.p-grant__body {
  color: #333333;
}

/* 「特約店をもっと見る」の上の余白を個別4ページと同じにする（本文の下余白を足さない） */
.p-grant__block:last-child > :last-child {
  margin-block-end: 0;
}

.p-grant__body:has(+ .p-grant__body.is-tight) {
  margin-block-end: 0;
}

.p-grant__body:has(+ .c-note-list > .is-tight:first-child) {
  margin-block-end: 0;
}

.p-grant__list {
  line-height: 0;
  padding: 0;
}

.p-grant__list li a {
  color: #60768D;
  font-weight: 700;
}

/* 同じクラスが2通りの置き方で付く（p.〜 は段落の箱、a.〜 はリンク本体） */
.p-grant__url a,
a.p-grant__url {
  color: #60768D;
  font-weight: 700;
  letter-spacing: 0.4px;
}

/* ---- ※注記（共通68ページ）---- */

.c-note-list {
  list-style: none;
  display: flex;
  gap: 5px;
  flex-direction: column;
  margin-top: 5px;
  padding: 0;
}

.c-note {
  color: #707070;
  padding-left: 1.3em;
  text-indent: -1.3em;
  font-size: 12px;
  letter-spacing: 0.025em;
  line-height: 20px;
}

.c-note::before {
  color: #707070;
  content: "※ ";
  font-size: 12px;
}

:root {
  /* ---- 色 ---- */
  --cu-ink:     #333;
  --cu-note:    #707070;
  --cu-accent:  #60768d;
  --cu-frame:   #f5f5f5;
  --cu-box-bg:  #f0f0f0;
  --cu-alert:   #eb4d4d;
  --cu-btn-bg:  #000;
  --cu-btn-ink: #fff;

  /* ---- 文字 ---- */
  --cu-title:      32px;
  --cu-heading:    20px;
  --cu-heading-lg: 25px;
  --cu-text:     16px;
  --cu-text-lh:  1.7;
  --cu-small:    13px;
  --cu-small-lh: 1.6;

  /* ---- 還元率 ---- */
  --cu-rate-w:      336px;
  --cu-rate-pad:    24px;
  --cu-rate-prefix: 34px;
  --cu-rate-value:  100px;
  --cu-rate-unit:   36px;

  /* ---- CTAの枠 ---- */
  --cu-cta-pad: 40px;

  /* ---- ボタン ---- */
  --cu-btn-w: 320px;
  --cu-btn-h: 49px;

  /* ---- 間隔 ---- */
  --cu-block-gap: 40px;
  --cu-block-gap-tight: 24px;
  --cu-rule-gap:  28px;
}

/* ---- 見出し ---- */

.p-custom__heading {
  width: 100%;
  text-align: center;
  margin-top: 72px;
  margin-bottom: 112px;
  font-size: 32px;
  line-height: 48px;
  letter-spacing: 1.92px;
  position: relative;
}

h2.p-custom__heading::before {
  content: '';
  position: absolute;
  display: inline-block;
  background-color: #00846D;
  height: 4px;
  width: 80px;
  transform: translateX(-50%);
  top: -72px;
  left: 50%;
  background: linear-gradient(to left, #89B9E066 0%, #86BBE6CC 25%, #E5FCEF 50%, #FAF1C8 75%, #F7A970 100%);
}

html:has(meta[name="special-store-base-dir"][content*="infinite"]) h2.p-custom__heading::before {
  content: none;
}

.p-custom__block > .p-custom__heading {
  margin: 16px 0 32px;
  font-size: var(--cu-heading);
  line-height: 1.6;
  text-align: start;
}

.p-custom--benefit .p-custom__block > .p-custom__heading {
  display: flex;
  align-items: center;
  gap: var(--cu-rule-gap);
  margin-block-end: 60px;
  font-size: var(--cu-heading-lg);
  text-align: center;
}

.p-custom__block:has(.p-custom__period) > .p-custom__heading {
  display: block;
  margin-block-end: 24px;
  text-align: start;
}

.p-custom__block:has(.p-custom__period) > .p-custom__heading::before,
  .p-custom__block:has(.p-custom__period) > .p-custom__heading::after {
  content: none;
}

.p-custom__block:last-child > .p-custom__heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-block-end: 20px;
  font-size: 20px;
  text-align: start;
}

.p-custom__block:last-child > .p-custom__heading::before {
  content: "";
  flex: 0 0 auto;
  inline-size: 32px;
  block-size: 32px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3.5 22.5 21H1.5Z' fill='none' stroke='%23eb4d4d' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M12 9.5v5' fill='none' stroke='%23eb4d4d' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='17.8' r='1' fill='%23eb4d4d'/%3E%3C/svg%3E") no-repeat center / contain;
}

.p-custom__block:last-child > .p-custom__heading::after {
  content: none;
}

/* ---- ブロックの間隔・本文・※注記 ---- */

.p-custom__block {
  margin-block-end: var(--cu-block-gap);
}

/* 詰めるのは直前のブロックの下余白。is-custom-tight は目印としてだけ使う */
.p-custom__block:has(+ .p-custom__block.is-custom-tight) {
  margin-block-end: var(--cu-block-gap-tight);
}

.p-custom__block:last-child {
  margin-block-end: 0;
}

.p-custom__body {
  margin: 0 0 40px;
  color: var(--cu-ink);
  font-size: var(--cu-text);
  line-height: var(--cu-text-lh);
}

.p-custom__body:last-child {
  margin-block-end: 0;
}

.p-custom__body:has(+ .p-custom__body.is-custom-tight) {
  margin-block-end: 0;
}

/* notes は本文とは別の <ul> になるため、本文どうしの指定では拾えない */
.p-custom__body:has(+ .c-note-list > .is-custom-tight:first-child) {
  margin-block-end: 0;
}

.c-custom-note {
  display: block;
  padding-inline-start: 1.35em;
  text-indent: -1.35em;
  color: var(--cu-note);
  font-size: var(--cu-small);
  line-height: var(--cu-small-lh);
  letter-spacing: .02em;
}

.c-custom-note::before {
  content: "※ ";
}

.c-custom-note:last-child {
  margin-block-end: 0;
}

/* ---- lead（中央寄せの大見出し）---- */

.p-custom__lead {
  display: flex;
  align-items: center;
  gap: var(--cu-rule-gap);
  margin: 0 0 56px;
  color: var(--cu-ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}

/* 最後のブロック（ご注意事項）は左寄せ＋警告アイコンなので除外 */
.p-custom--benefit .p-custom__block:not(:last-child) > .p-custom__heading::before,
  .p-custom--benefit .p-custom__block:not(:last-child) > .p-custom__heading::after,
  .p-custom__lead::before,
  .p-custom__lead::after {
  content: "";
  flex: 1 1 auto;
  block-size: 1px;
  background: var(--cu-accent);
}

/* ---- period（キャンペーン期間）---- */

.p-custom__period {
  margin: 0;
}

.p-custom__term {
  position: relative;
  margin: 0;
  padding-inline-start: 16px;
  color: var(--cu-ink);
  font-size: var(--cu-text);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.96px;
}

.p-custom__term::before {
  content: "";
  display: inline-block;
  top: 0.4em;
  width: 1em;
  height: 1em;
  vertical-align: middle;
  position: absolute;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2360768D;%7D.c%7Bfill:%23B7B7B7;%7D%3C/style%3E%3C/defs%3E%3Crect class='a' width='16' height='16'/%3E%3Crect class='b' width='4' height='7.5'/%3E%3Crect class='c' width='4' height='7.5' transform='translate(0 8.5)'/%3E %3C/svg%3E") no-repeat;
  inset-inline-start: 0;
  inset-block-start: .28em;
}

.p-custom__date {
  margin: 25px 0 40px;
  color: var(--cu-ink);
  font-size: var(--cu-text);
  line-height: var(--cu-text-lh);
}

.p-custom__date:last-child {
  margin-block-end: 0;
}

/* ---- rate（還元率ボックス）---- */

.p-custom__rate {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  inline-size: var(--cu-rate-w);
  max-inline-size: 100%;
  margin: 0 auto 40px;
  padding: var(--cu-rate-pad);
  background: var(--cu-box-bg);
  color: var(--cu-ink);
  font-weight: 700;
  line-height: 1;
}

/* 「最大＋」は数字に対して中央。％は数字のベースラインに揃えたままにする */
.p-custom__rate-prefix {
  align-self: center;
  white-space: nowrap;
  font-size: var(--cu-rate-prefix);
  letter-spacing: -.01em;
}

.p-custom__rate-value {
  font-size: var(--cu-rate-value);
  letter-spacing: -.02em;
}

.p-custom__rate-unit {
  font-size: var(--cu-rate-unit);
}

.p-custom__rate-body {
  margin: 0 0 16px;
  color: var(--cu-ink);
  font-size: var(--cu-text);
  line-height: var(--cu-text-lh);
}

/* ---- list（箇条書き）：ご利用条件は「・」／ご注意事項は「※」・入れ子は「-」 ---- */

.p-custom__list {
  margin: 0;
  padding-inline-start: 0;
  list-style: none;
}

.p-custom__list > li {
  position: relative;
  margin-block-end: 8px;
  color: var(--cu-ink);
  font-size: var(--cu-text);
  line-height: var(--cu-text-lh);
}

.p-custom__list > li:last-child {
  margin-block-end: 0;
}

.p-custom__list ul {
  margin: 0;
  padding-inline-start: 0;
  list-style: none;

  /* 親のぶら下げ（負の text-indent）を子に持ち込まない */
  text-indent: 0;
}

.p-custom__list ul > li,
  .c-note-list .p-custom__list > li {
  position: relative;

  margin-block-end: 0;
  padding-inline-start: 1.1em;

  line-height: var(--cu-small-lh);

  /* 文字色とサイズは親の項目に揃える（置かれる場所で親が異なるため固定値を持たない） */
  color: inherit;
  font-size: inherit;

  /* 入れ子の <ul> にも p-custom__list が付くため、標準のマーカーを消す */
  list-style: none;
}

.p-custom__list ul > li::before {
  content: "-";
  position: absolute;
  inset-inline-start: 0;
  color: inherit;
}

/* 入れ子に "note": true を付けた場合は「-」ではなく「※」にする */
.p-custom__list ul > li.c-custom-note {
  display: list-item;
  margin: 0;
  padding-inline-start: 1.5em;
  text-indent: 0;               /* ぶら下げは ::before の絶対配置で作る */
  color: inherit;
  letter-spacing: normal;

  /* 文字サイズは親の注釈に揃える（12px・13pxと場所で異なる） */
  font-size: inherit;
}

.p-custom__list ul > li.c-custom-note::before {
  content: "※";
  position: absolute;
  inset-inline-start: 0;
  margin-inline-end: 0;
}

/* ---- cta（対象ウェブサイト／予約サイト）---- */

.p-custom__cta {
  margin: 0;
  padding: 36px;
  border: 4px solid var(--cu-frame);
}

/* ＜Ｖトリップ（航空・レンタカー）だけ＞CTAを枠で囲まない。消去法では将来別ページにも当たるためページ名で指定 */
.p-custom--vtrip_traffic .p-custom__cta {
  padding: 0;
  border: none;
}

.p-custom__block:has(.p-custom__cta) > .p-custom__heading {
  display: block;
  margin-block-end: 0;
  font-size: var(--cu-text);
  text-align: center;
}

/* ＜Ｖトリップ（航空・レンタカー）だけ＞CTAの見出しを通常の見出しと同じ扱いにする */
.p-custom--vtrip_traffic .p-custom__block:has(.p-custom__cta) > .p-custom__heading {
  width: 100%;
  margin: 56px 0 32px;
  font-size: 20px;
  line-height: 36px;
  letter-spacing: 1.2px;
  text-align: left;
}

.p-custom--vtrip_traffic .p-custom__cta {
  align-items: flex-start;
}

/* ＜Ｖトリップ（宿泊）だけ＞「対象ウェブサイト」の見出しをCTAごと枠で囲む */
.p-custom--vtrip_hotel .p-custom__block:has(.p-custom__cta) {
  padding: var(--cu-cta-pad);
  border: 4px solid var(--cu-frame);
}

.p-custom--vtrip_hotel .p-custom__block:has(.p-custom__cta) > .p-custom__heading {
  margin-block-end: 32px;
}

.p-custom--vtrip_hotel .p-custom__block:has(.p-custom__cta) > .p-custom__cta {
  padding: 0;
  border: none;
}

.p-custom--expedia .p-custom__block:last-child > .p-custom__heading,
  .p-custom--hotels .p-custom__block:last-child > .p-custom__heading {
  margin-block-start: 0;
  margin-block-end: 32px;
}

/* ＜Expedia・Hotels.com＞「別ウィンドウで〇〇が管理する…」の注釈の余白 */
.p-custom--expedia .p-custom__block:has(.p-custom__cta) > .c-note-list > .c-custom-note,
  .p-custom--hotels .p-custom__block:has(.p-custom__cta) > .c-note-list > .c-custom-note {
  margin: 32px 0 64px;
}

/* ＜Expedia・Hotels.com＞還元率の上の余白 */
@media (min-width: 768px) {
  /* ＜共通68ページ＞「ご利用可能ブランド」はPCでは詰めない */
  .p-grant__block + .p-grant__block.is-tight .p-grant__heading {
    margin-top: 56px;
  }

  .p-custom--expedia .p-custom__block:has(> .p-custom__rate) > .p-custom__heading,
    .p-custom--hotels .p-custom__block:has(> .p-custom__rate) > .p-custom__heading {
    margin-block-start: 100px;
  }

  /* ＜Hotels.comだけ＞「ご利用条件」の上の余白 */
  .p-custom--hotels .p-custom__block:has(+ .p-custom__block > .p-custom__cta) > .p-custom__heading {
    margin-block-start: 150px;
  }

}

/* ＜Expediaだけ＞還元率の説明文の下 */
.p-custom--expedia .p-custom__block:has(.p-custom__rate) > .p-custom__body {
  margin-block-end: 100px;
}

/* ＜Hotels.comだけ＞説明文と注釈をくっつける（Expediaは注釈側の tight で同じ形） */
.p-custom--hotels .p-custom__block:not(:has(.p-custom__rate)) > .p-custom__body:has(+ .c-note-list) {
  margin-block-end: 0;
}

/* ＜Expedia・Hotels.com＞CTAの直前のブロックの本文の下 */
.p-custom--expedia .p-custom__block:has(+ .p-custom__block > .p-custom__cta) > .p-custom__body,
  .p-custom--hotels .p-custom__block:has(+ .p-custom__block > .p-custom__cta) > .p-custom__body {
  margin-block-end: 40px;
}

.p-custom--expedia .p-custom__cta-btn,
  .p-custom--hotels .p-custom__cta-btn {
  margin-block-start: 32px;
}

/* ＜Expedia・Hotels.com＞上の注釈の下余白にブロック間の余白を足さない */
.p-custom--expedia .p-custom__block:has(.p-custom__cta),
  .p-custom--hotels .p-custom__block:has(.p-custom__cta) {
  margin-block-end: 0;
}

.p-custom__block:has(.p-custom__cta) > .p-custom__heading::before,
  .p-custom__block:has(.p-custom__cta) > .p-custom__heading::after {
  content: none;
}

.p-custom--vtrip_hotel .p-custom__cta-lead,
.p-custom--vtrip_hotel .c-custom-note,
.p-custom--vtrip_hotel .p-custom__cta-lead {
  align-self: flex-start;
}

/* ＜Ｖトリップ（宿泊）だけ＞リード文は本文と同じ見た目にする（左右の装飾線をやめて左寄せ） */
.p-custom--vtrip_hotel .p-custom__lead {
  display: block;
  margin-block-end: 40px;
  font-size: 16px;
  font-weight: 400;
  text-align: left;
}

.p-custom--vtrip_hotel .p-custom__lead::before,
.p-custom--vtrip_hotel .p-custom__lead::after {
  content: none;
}

/* ＜Ｖトリップ（宿泊）だけ＞ブロック間の隙間は後ろのブロックの上で1箇所だけ持つ */
.p-custom--vtrip_hotel .p-custom__block:has(> .p-custom__lead) {
  margin-block-end: 0;
}

/* 注釈の下64px＋見出しの上48px */
.p-custom--vtrip_hotel .p-custom__block:has(> .p-custom__rate) {
  margin-block-start: 112px;
  margin-block-end: 0;
}

.p-custom--vtrip_hotel .p-custom__block:has(> .p-custom__rate) > .p-custom__heading {
  margin-block-start: 0;
  margin-block-end: 56px;
}

/* ＜Ｖトリップ（宿泊）だけ＞還元率の下の2行は間を詰める */
.p-custom--vtrip_hotel .p-custom__block:has(> .p-custom__rate) > .p-custom__body {
  margin-block-end: 0;
}

/* ＜Ｖトリップ（宿泊）だけ＞ご利用条件 */
.p-custom--vtrip_hotel .p-custom__block:has(+ .p-custom__block > .p-custom__cta) {
  margin-block-start: 112px;
}

.p-custom--vtrip_hotel .p-custom__block:has(+ .p-custom__block > .p-custom__cta) > .p-custom__heading {
  margin-block-start: 0;
  margin-block-end: 56px;
}

/* ＜Ｖトリップ（宿泊）だけ＞ご利用条件（CTAの前のブロック）は項目の間を詰める */
.p-custom--vtrip_hotel .p-custom__block:has(+ .p-custom__block > .p-custom__cta) > .p-custom__list > li {
  margin-block-end: 0;
}

.p-custom__cta-lead {
  margin: 24px 0 0;
  color: var(--cu-ink);
  font-size: var(--cu-text);
  line-height: var(--cu-text-lh);
}

.p-custom__cta-lead:only-child {
  margin-block-end: 20px;
  text-align: center;
}

.p-custom__cta .c-custom-note {
  margin-block-start: 8px;
  text-align: start;
}

/* 段落として置いた場合の箱。本文中のリンク（a要素）には効かせない */
.p-custom__cta p.p-custom__url {
  margin: 24px 0 0;
  text-align: center;
}

/* ＜Ｖトリップ（航空・レンタカー）だけ＞「個人情報に関する同意事項」は左寄せ */
.p-custom--vtrip_traffic .p-custom__cta p.p-custom__url {
  text-align: start;
}

/* ＜Ｖトリップ（航空・レンタカー）だけ＞付与時期の注釈（CTAブロックの次） */
.p-custom--vtrip_traffic .p-custom__block:has(> .p-custom__cta) + .p-custom__block > .c-note-list {
  margin-block-start: 8px;
}

/* 上の余白に本文の下余白を足さない */
.p-custom--vtrip_traffic .p-custom__block:has(> .p-custom__cta) + .p-custom__block > .p-custom__body {
  margin-block-end: 0;
}

.p-custom--vtrip_traffic .p-custom__block:has(> .p-custom__cta) + .p-custom__block > .c-note-list > .c-custom-note {
  margin-block-end: 64px;
}

/* 上の余白にブロック間の余白を足さない */
.p-custom--vtrip_traffic .p-custom__block:has(> .p-custom__cta) + .p-custom__block {
  margin-block-end: 0;
}

/* ＜Ｖトリップ（航空・レンタカー）だけ＞「ご注意事項」の見出しの上 */
.p-custom--vtrip_traffic .p-custom__block:last-child > .p-custom__heading {
  margin-block-start: 32px;
}

/* ＜Expedia・Hotels.com＞「こちらからご予約ください」を中央寄せ・太字にする */
.p-custom--expedia .p-custom__cta-lead,
  .p-custom--hotels .p-custom__cta-lead {
  text-align: center;
  font-weight: 700;
}

/* 同じクラスが2通りの置き方で付く（p.〜 は段落の箱、a.〜 はリンク本体） */
.p-custom__url a,
a.p-custom__url {
  color: var(--cu-accent);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
}

/* 注釈の中のリンクは注釈と同じ文字サイズにする */
.c-note a,
.c-custom-note a,
.p-custom__block:last-child > .p-custom__list > li a,
.p-custom__list ul > li a {
  font-size: inherit;
}

/* ---- panel（画像付きの説明枠）---- */

.p-custom__panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
  margin: 0;
  padding: 32px 40px;
  border: 1px solid var(--cu-frame);
}

.p-custom__panel-title {
  grid-column: 1 / 2;
  margin: 0 0 8px;
  color: var(--cu-ink);
  font-size: var(--cu-text);
  font-weight: 700;
  line-height: 1.6;
}

.p-custom__panel-body {
  grid-column: 1 / 2;
  color: var(--cu-ink);
  font-size: 15px;
  line-height: 1.75;
}

.p-custom__panel-body .p-custom__panel-body {
  font-size: inherit;
  line-height: inherit;
}

.p-custom__panel-img {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  align-self: center;
  margin: 0;
}

.p-custom__panel-img img {
  display: block;
  max-inline-size: 280px;
  block-size: auto;
}

/* ---- Hotels.com だけの指定（基本指定より後ろに置く）---- */

/* 注釈は12px（他ページは13px） */
.p-custom--hotels .c-custom-note {
  font-size: 12px;
}

/* パネルの本文は16px（共通の指定は15px） */
.p-custom--hotels .p-custom__panel-body {
  font-size: var(--cu-text);
}

/* 見出しの margin だけでなくパネルの row-gap でも空くため、行方向の gap を0にする */
.p-custom--hotels .p-custom__panel-title {
  margin-block-end: 0;
}

.p-custom--hotels .p-custom__panel {
  row-gap: 0;

  /* 枠線を4pxに（共通の指定は1px） */
  border-width: 4px;
}

/* 幅だけ指定して高さは画像の比率に任せる（200×108） */
.p-custom--hotels .p-custom__panel-img img {
  inline-size: 200px;
  max-inline-size: 100%;
  block-size: auto;
}

/* ---- 強調・マーカー・リンク ---- */

.is-custom-emphasis {
  color: var(--cu-alert) !important;
  font-weight: 700;
}

.c-custom-note.is-custom-emphasis,
.p-custom__list li.is-custom-emphasis {
  color: var(--cu-alert);
  font-weight: 400;
}

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

/* ＜Ｖトリップ（航空・レンタカー）だけ＞マーカーの色と太さ */
.p-custom--vtrip_traffic .is-custom-marker {
  background: linear-gradient(transparent 50%, #DEEFFF 0%);
  font-weight: 700;
}

.c-custom-note a,
.p-custom__list a {
  color: var(--cu-accent);
  font-weight: 700;
}

/* ---- SP ---- */

@media (max-width: 767px) {
  :root {
    --cu-title:       24px;
    --cu-heading:     20px;
    --cu-heading-lg:  20px;
    --cu-text:        15px;
    --cu-small:       12px;
    --cu-rate-w:      296px;
    --cu-rate-pad:    22px 36px;
    --cu-rate-prefix: 39px;
    --cu-rate-value:  100px;
    --cu-rate-unit:   52px;
    --cu-block-gap:   72px;
    --cu-block-gap-tight: 16px;
    --cu-rule-gap:    16px;
    --cu-cta-pad:     24px 16px;
  }

  .p-custom__heading {
    margin-block-end: 32px;
  }

  .p-custom__lead {
    margin-block-end: 40px;
    font-size: 17px;
  }


  .p-custom__panel {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 16px;
  }

  .p-custom__panel-img {
    grid-column: 1 / 2;
    grid-row: auto;
    justify-self: center;
  }

  .p-custom__panel-img img {
    max-inline-size: 100%;
  }

  /* SPは1カラムで gap が効くため、行方向だけ詰め直す */
  .p-custom--hotels .p-custom__panel {
    row-gap: 0;
    padding: 36px;
  }

  .p-custom--hotels .p-custom__panel-img {
    margin-block-start: 20px;
  }

  /* ＜Hotels.comだけ＞SPは幅を固定しない（PCは200px） */
  .p-custom--hotels .p-custom__panel-img img {
    inline-size: auto;
  }

  /* ＜Hotels.comだけ＞「Hotels.com™リワード」とは */
  .p-custom--hotels .p-custom__panel-title {
    font-size: 16px;
  }

  /* ＜Hotels.comだけ＞還元率の注釈の下。ブロック間の余白を足さない */
  .p-custom--hotels .p-custom__block:has(> .p-custom__rate) > .c-note-list > .c-custom-note {
    margin-block-end: 56px;
  }

  .p-custom--hotels .p-custom__block:has(> .p-custom__rate) {
    margin-block-end: 0;
  }

  h1.p-grant__title-heading {
    padding: 40px 20px;
    font-size: 26px;
    line-height: 41px;
    letter-spacing: 1.68px;
  }

  h2.p-custom__heading {
    margin-block-start: 56px;
    margin-block-end: 72px;
    font-size: 24px;
    line-height: 40px;
    letter-spacing: 1.44px;
  }

  h2.p-custom__heading::before {
    top: -56px;
  }


  /* ＜共通68ページ＞見出し */
  h2.p-grant__heading {
    margin: 56px 0 72px;
    font-size: 24px;
  }

  h2.p-grant__heading::before {
    top: -56px;
  }

  h3.p-grant__heading {
    margin-top: 16px;
    margin-bottom: 24px;
  }

  .p-grant__block:first-child .p-grant__heading {
    margin-bottom: 24px;
  }

  section.p-grant__block {
    margin-bottom: 32px;
  }

  /* 最後のブロックは0。回遊導線の上の余白に足さない */
  section.p-grant__block:last-child {
    margin-bottom: 0;
  }

  /* 「リワードアップ Visa Infinite一覧」リンクの下（共通68ページ） */
  .p-grant__body:has(> a.p-grant__url) {
    margin-block-end: 36px;
  }

  /* 同・個別4ページ（本文側は0なのでブロックで持つ） */
  .p-custom__block:has(> .p-custom__body > a.p-custom__url) {
    margin-block-end: 36px;
  }

  /* ＜Expediaだけ＞還元率ボックスの下 */
  .p-custom--expedia .p-custom__rate {
    margin-block-end: 48px;
  }

  /* ＜Expediaだけ＞還元率の説明文の下 */
  .p-custom--expedia .p-custom__block:has(.p-custom__rate) > .p-custom__body {
    margin-block-end: 50px;
  }

  /* ＜Ｖトリップ（宿泊）だけ＞還元率ボックスは中身の幅に合わせる */
  .p-custom--vtrip_hotel .p-custom__rate {
    inline-size: fit-content;
  }

  /* ＜Ｖトリップ（宿泊）だけ＞還元率の注釈と見出しの間 */
  .p-custom--vtrip_hotel .p-custom__block:has(> .p-custom__rate) {
    margin-block-start: 72px;
  }

  .p-custom--vtrip_hotel .p-custom__block:has(> .p-custom__rate) > .p-custom__heading {
    margin-block-end: 48px;
  }

  /* ＜Ｖトリップ（宿泊）だけ＞ご利用条件 */
  .p-custom--vtrip_hotel .p-custom__block:has(+ .p-custom__block > .p-custom__cta) {
    margin-block-start: 40px;
    margin-block-end: 32px;
  }

  .p-custom--vtrip_hotel .p-custom__block:has(+ .p-custom__block > .p-custom__cta) > .p-custom__heading {
    margin-block-end: 48px;
  }

  /* ＜Ｖトリップ（宿泊）だけ＞対象ウェブサイトの下は0にし、ご注意事項の上で持つ */
  .p-custom--vtrip_hotel .p-custom__block:has(> .p-custom__cta) {
    margin-block-end: 0;
  }

  .p-custom--vtrip_hotel .p-custom__block:has(> .p-custom__cta) + .p-custom__block {
    margin-block-start: 24px;
  }

  .p-custom--vtrip_hotel .p-custom__block:has(> .p-custom__cta) + .p-custom__block > .p-custom__heading {
    margin-block-start: 0;
  }

  /* ＜Expedia・Hotels.com＞CTAの直前のブロックの本文の下 */
  .p-custom--expedia .p-custom__block:has(+ .p-custom__block > .p-custom__cta) > .p-custom__body,
    .p-custom--hotels .p-custom__block:has(+ .p-custom__block > .p-custom__cta) > .p-custom__body {
    margin-block-end: 32px;
  }

  /* ＜Expedia・Hotels.com＞上の余白にブロック間の余白を足さない */
  .p-custom--expedia .p-custom__block:has(+ .p-custom__block > .p-custom__cta),
    .p-custom--hotels .p-custom__block:has(+ .p-custom__block > .p-custom__cta) {
    margin-block-end: 0;
  }

  /* ＜Ｖトリップ（航空・レンタカー）だけ＞見出しの下（ご注意事項は除く） */
  .p-custom--vtrip_traffic .p-custom__block:not(:last-child) > .p-custom__heading,
    .p-custom--vtrip_traffic .p-custom__block:has(> .p-custom__cta) > .p-custom__heading {
    margin-block-end: 24px;
  }

  /* ご利用条件の注釈。本文とブロックの余白を足さない */
  .p-custom--vtrip_traffic .p-custom__block:has(+ .p-custom__block > .p-custom__cta) > .p-custom__body {
    margin-block-end: 0;
  }

  .p-custom--vtrip_traffic .p-custom__block:has(+ .p-custom__block > .p-custom__cta) > .c-note-list {
    margin-block-start: 24px;
  }

  .p-custom--vtrip_traffic .p-custom__block:has(+ .p-custom__block > .p-custom__cta) > .c-note-list > .c-custom-note:last-child {
    margin-block-end: 56px;
  }

  /* ご利用条件の上。Visaの下余白と足し算にするため padding で持つ */
  .p-custom--vtrip_traffic .p-custom__block:has(+ .p-custom__block > .p-custom__cta) {
    margin-block-end: 0;
    padding-block-start: 16px;
  }

  .p-custom--vtrip_traffic .p-custom__block:has(+ .p-custom__block > .p-custom__cta) > .p-custom__heading {
    margin-block-start: 0;
  }

  /* 「Visa」の下。ブロック間の余白を足さない（CTAの2つ前＝ご利用可能ブランド） */
  .p-custom--vtrip_traffic .p-custom__block:has(+ .p-custom__block + .p-custom__block > .p-custom__cta) > .p-custom__body {
    margin-block-end: 32px;
  }

  .p-custom--vtrip_traffic .p-custom__block:has(+ .p-custom__block + .p-custom__block > .p-custom__cta) {
    margin-block-end: 0;
  }

  /* 「対象ウェブサイト」の見出しの上を空けない */
  .p-custom--vtrip_traffic .p-custom__block:has(> .p-custom__cta) > .p-custom__heading {
    margin-block-start: 0;
  }

  /* 「個人情報に関する同意事項」の下 */
  .p-custom--vtrip_traffic .p-custom__cta p.p-custom__url {
    margin-block-end: 40px;
  }

  /* ボタンは上を空けない。ブロック間の余白を足さない */
  .p-custom--vtrip_traffic .p-custom__cta-btn {
    margin-block-start: 0;
    margin-block-end: 32px;
  }

  .p-custom--vtrip_traffic .p-custom__block:has(> .p-custom__cta) {
    margin-block-end: 0;
  }

  /* 付与時期の注釈の下 */
  .p-custom--vtrip_traffic .p-custom__block:has(> .p-custom__cta) + .p-custom__block > .c-note-list > .c-custom-note {
    margin-block-end: 56px;
  }
}

@media (max-width: 374px) {
  .p-custom--vtrip_hotel .p-custom__rate {
    --cu-rate-prefix: 29px;
    --cu-rate-value:  74px;
    --cu-rate-unit:   38px;
    padding-inline: 16px;
  }
}

/* ---- テキスト要素の共通装飾（items は「・」／notes は「※」）---- */

/* ---- 箇条書き（items）は「・」 ---- */

.p-custom__list,
  .p-grant__list {
  list-style: none;
  padding-left: 25px;
}

.p-custom__list > li,
  .p-grant__list > li {
  position: relative;
  font-size: 14px;
  line-height: 1.8;
  list-style: disc;
  letter-spacing: 0.025em;
  color: #333333;
}

.p-custom__list > li::marker,
  .p-grant__list > li::marker {
  color: #dddddd;
  font-size: 20px;
}

.p-custom__list > li {
  color: var(--cu-ink);
  font-size: var(--cu-text);
  line-height: var(--cu-text-lh);
  letter-spacing: normal;
}

/* ＜共通68ページ＞items の文字サイズ（PC・SP共通） */
.p-grant__list > li {
  font-size: 16px;
}

/* 入れ子の <ul> にも同じクラスが付くため、> で最上位の ul に限定する */
.p-custom__block:last-child > .p-custom__list,
  .p-custom__block:last-child > .p-custom__list > li {
  list-style: none;
}

/* 2行目以降を文字の頭に揃える（padding ＋ 負の text-indent） */
.p-custom__block:last-child > .p-custom__list > li {
  margin-block-end: 8px;
  padding-inline-start: 1.5em;
  text-indent: -1.5em;
  color: var(--cu-note);
  font-size: 12px;
  line-height: var(--cu-small-lh);
}

.p-custom__block:last-child > .p-custom__list > li::before {
  content: "※";
  position: static;
  margin-inline-end: .25em;
}

.p-grant__list ul {
  margin-block: 4px 8px;
  padding-inline-start: 0;
  list-style: none;
}

.p-grant__list ul > li {
  position: relative;
  padding-inline-start: 1.1em;

  font-size: inherit;
  line-height: 1.8;
}

/* ---- SPの調整 ---- */

@media (max-width: 767px) {
  .p-custom__list,
    .p-grant__list {
    list-style: none;
    padding-left: 20px;
  }

  /* ご注意事項（※）のリストだけ左の余白を外す（※の位置は li 側で決まる） */
  .p-custom__block:last-child > .p-custom__list {
    padding-left: 0;
  }
}

.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;
}

/* 別ウィンドウ：四角と右上への矢印 */
.p-grant__list li a::after,
.c-link--external::after {
  content: " ";
  margin-left: 8px;
  width: 1.0em;
  height: 1.0em;
  display: inline-block;
  vertical-align: -2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a,.b,.c%7Bfill:none;%7D.b,.c%7Bstroke:%2360768D;stroke-linecap:round;stroke-width:2px;%7D.b%7Bstroke-linejoin:round;%7D%3C/style%3E%3C/defs%3E%3Crect class='a' width='16' height='16'/%3E%3Cg transform='translate(2.455 2.455)'%3E%3Cpath class='b' d='M12.086,9.711v2.376H1V1H3.376' transform='translate(-1 -1)'/%3E%3Cpath class='b' d='M9,1h4.751V5.752' transform='translate(-2.665 -1)'/%3E%3Cpath class='c' d='M5,1,0,6' transform='translate(5.543 -0.457)'/%3E%3C/g%3E%3C/svg%3E")no-repeat;
  background-size: contain;
}

/* 別ウィンドウ：ボタンだけ白＋右端 */
.p-custom__cta-btn.c-link--external::after {
  content: " ";
  margin-left: 8px;
  width: 1.0em;
  height: 1.0em;
  display: inline-block;
  vertical-align: -2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a,.b,.c%7Bfill:none;%7D.b,.c%7Bstroke:%23FFFFFF;stroke-linecap:round;stroke-width:2px;%7D.b%7Bstroke-linejoin:round;%7D%3C/style%3E%3C/defs%3E%3Crect class='a' width='16' height='16'/%3E%3Cg transform='translate(2.455 2.455)'%3E%3Cpath class='b' d='M12.086,9.711v2.376H1V1H3.376' transform='translate(-1 -1)'/%3E%3Cpath class='b' d='M9,1h4.751V5.752' transform='translate(-2.665 -1)'/%3E%3Cpath class='c' d='M5,1,0,6' transform='translate(5.543 -0.457)'/%3E%3C/g%3E%3C/svg%3E") no-repeat;

  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}

/* 新しいウィンドウ：二重の四角 */
.c-link--window::after {
  inline-size: 9px;
  block-size: 9px;
  border: 1px solid currentColor;
  box-shadow: 3px -3px 0 -1px #fff, 3px -3px 0 0 currentColor;
}

.c-link--pdf::after {
  content: " ";
  margin-left: 8px;
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -2px;
  /* CSS内の相対パスはCSSの位置を基準に解決されるため、サイトのルートからのパスで書く */
  background: url(/etc.clientlibs/smcc/components/content/button/clientlibs/mem-site/resources/images/icon_pdf_green.svg);
  background-size: contain;
  background-repeat: no-repeat;
}

/* ---- 黒いボタン ---- */

.p-custom__cta-btn {
  align-items: center;
  justify-content: center;
  gap: 20px;
  inline-size: var(--cu-btn-w);
  max-inline-size: 100%;
  min-block-size: var(--cu-btn-h);
  margin: 0 auto;
  background: var(--cu-btn-bg);
  color: var(--cu-btn-ink);
  line-height: 1.4;
  width: auto;
  min-width: 320px;
  max-width: 100%;
  border: none;
  display: inline-flex;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  padding: 9px 0;
  transition: 0.2s;
  position: relative;
  overflow: hidden;
  background: #000000;
  border-image: linear-gradient(to left, #89B9E000 0%, #86BBE6CC 25%, #E5FCEF 50%, #FAF1C8 75%, #F7A970 100%) 1 / 0 0 2px 0;
  border-style: solid;
  transition: 0.5s;
  transition-timing-function: cubic-bezier(0.70, 0.10, 0.60, 0.30);

  /* 文字とアイコンを上下中央に置くため flex にする（block だと文字が上寄りになる） */
  display: flex;
  width: fit-content;
  margin: 24px auto 0;
}

@media (max-width: 767px) {
  .p-custom__cta-btn {
    inline-size: 100%;
    min-width: 0;
    padding: 9px 16px;
    gap: 12px;
  }
}

html:has(meta[name="special-store-base-dir"][content*="infinite"]) .p-custom__cta-btn {
  border: 0;
  border-image: none;
  border-radius: 8px;
  padding: 12px 0;
  background-color: #333333;
}

@media (max-width: 767px) {
  .p-custom__cta-btn.c-link--external,
  html:has(meta[name="special-store-base-dir"][content*="infinite"]) .p-custom__cta-btn.c-link--external {
    padding-inline: 16px 40px;
  }
}

.p-custom__cta-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.p-custom__cta-btn:hover::before {
  transform: scaleX(1);
}

/* ボタンの中のアイコンは白抜き */
/* ---- 詳細ページ下部の回遊導線（特約店をもっと見る）---- */

.store-more {
  --more-bg: #f0f0f0;
  --more-gap: 40px;
  --more-pad-block: 56px;
  --more-find-pad: 32px;
  --more-title-size: 24px;

  /* 上部の区切り帯 */
  --rule-size: var(--sp-rule-size, 80px);

  /* 帯の上に空ける余白。マージンではなく padding で確保する */
  --more-space: 120px;

  /* 帯の色。background と box-shadow の両方がこの変数を読む */
  --rule-color: var(--sp-rule-color, #333);

  /* 帯の下に敷くグラデーション。INFでは none */
  --rule-accent-size: 4px;
}

.store-more {
  padding-block-start: var(--more-space);

  /* 下のグラデーション（::after）の位置の基準にする */
  position: relative;
}

/* AEMの器に残る左右12pxを打ち消し、一覧ページと同じ960px幅にする
   （カード幅の計算がトラック幅に連動するため、注釈の折り返し位置も揃う） */
@media (min-width: 641px) {
  .store-more {
    margin-inline: -12px;
  }
}

.store-more::before {
  content: "";
  display: block;
  block-size: var(--rule-size);
  margin-block-end: var(--more-pad-block);
  background: var(--rule-color);

  box-shadow: 0 0 0 100vmax var(--rule-color);
  clip-path: inset(0 -100vmax);
}

/* box-shadow は単色しか塗れないため、グラデーションは別の擬似要素で 100vw に敷く */
.store-more::after {
  content: "";
  position: absolute;
  inset-block-start: calc(var(--more-space) + var(--rule-size));
  inset-inline-start: 50%;
  transform: translateX(-50%);
  inline-size: 100vw;
  block-size: var(--rule-accent-size);
  background: var(--rule-accent);
}

.store-more__title {
  margin: 0 0 32px;
  color: #333;
  font-size: var(--more-title-size);
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.store-more__title::before {
  content: '';
  position: absolute;
  display: inline-block;
  background-color: #00846D;
  height: 4px;
  width: 80px;
  transform: translateX(-50%);
  top: calc(var(--more-space) + var(--rule-size));
  left: 50%;
  background: linear-gradient(to left, #89B9E066 0%, #86BBE6CC 25%, #E5FCEF 50%, #FAF1C8 75%, #F7A970 100%);
}

/* INFでは虹色の下線を出さない */
html:has(meta[name="special-store-base-dir"][content*="infinite"]) .store-more__title::before {
  content: none;
}

.store-more__list {
  margin-block-end: var(--more-gap);
}

section.cmp-section:has(.store-more) {
  overflow: visible !important;
}

.store-more__find {
  padding: var(--more-find-pad);
  background: var(--more-bg);
}

.store-more__find > div:last-child .p-search {
  margin-block-end: 0;
}

.store-more__find .p-chips {
  margin-block-end: 24px;
}

/* ---- SP ---- */

@media (max-width: 767px) {
  .store-more {
    --more-space: 40px;
    --more-pad-block: 40px;
    --more-gap: 24px;
    --more-find-pad: 16px;
    --more-title-size: 20px;
  }

  /* ＜共通68ページ＞回遊導線の上（個別4ページは40px） */
  body:has(#grantConditions:not(.p-custom)) .store-more {
    --more-space: 48px;
  }

  .store-more__title {
    margin-block-end: 24px;
  }
}

/* ---- 【複製】一覧ページのスタイル（.store-more 配下にスコープ）---- */

.store-more {
  /* ---- 送りの単位 ---- */
  --store-visible: 5;
  --store-gap: 16px;
  --store-card-width: calc(
  (100% - (var(--store-visible) - 1) * var(--store-gap)) / var(--store-visible)
  );

  /* 絞り込み後のグリッドの列数。repeat(2.2, 1fr) は不正な値になるため整数で持つ */
  --store-grid: 5;

  /* ---- 色 ---- */
  --store-body-bg: #333;
  --store-visual-bg: #fff;
  --store-border: #e5e5e5;
  --store-text: #fff;
  --store-note-color: #a7a7a7;
  --store-rate-line: #c9c5c0;
  --store-arrow-bg: #434343;
  --store-nav-bg: #60768d;
  --store-nav-bg-hover: #52667b;
  --store-nav-offset: -65px;

  /* ---- 寸法 ---- */
    --store-name-lines: 2;
    --store-icon-size: 28px;
    --store-body-pad-x: 8px;
    --store-body-pad-top: 12px;
    --store-arrow-size: 32px;
    --store-nav-size: 48px;

  /* ---- 書体 ---- */
    --store-font: "Noto Sans JP", sans-serif;
}

/* ---- 見出し ---- */

.store-more .store-section {
  margin-block: 64px;
}

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

.store-more .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: #333;
}

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

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

/* 画像が指定されていないときは場所を取らない */
.store-more .store-section__icon:not([style]):empty {
  display: none;
}

.store-more .store-section__count {
  padding: 4px 8px;
  border-radius: 999px;
  background: #FFF;
  font-size: 16px;
  line-height: 1;
  font-weight: 400;
  white-space: nowrap;
  color: #333;
  border: 1px solid #333;
}

/* サブ見出し（洋食／和食・中華／広域 など） */
.store-more .store-section__group {
  margin-block-start: 24px;
}

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

/* ---- 横送り ---- */

.store-more .store-carousel {
  position: relative;
}

.store-more .store-carousel__viewport {
  overflow: hidden;
}

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

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

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

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

.store-more .store-carousel__pagination {
  display: none;
}

@media (max-width: 640px) {
  .store-more .store-carousel__pagination {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-block-start: 16px;
  }
}

.store-more .store-dot {
  inline-size: 7px;
  block-size: 7px;
  border: 0;
  border-radius: 50%;
  background: #b3bdc8;
  cursor: pointer;
}

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

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

/* 絞り込み・検索時は送らずに並べる */
.store-more .store-carousel__grid {
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: repeat(var(--store-grid), 1fr);
  gap: var(--store-gap);
  margin: 0;
  padding: 0;
  list-style: none;
  transform: none;
}

/* ---- 送りボタン ---- */
.store-more .store-carousel__prev,
  .store-more .store-carousel__next {
  position: absolute;
  top: 45%;
  display: flex;
  inline-size: var(--store-nav-size);
  block-size: var(--store-nav-size);
  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-more .store-carousel__prev { inset-inline-start: var(--store-nav-offset); }
.store-more .store-carousel__next { inset-inline-end:   var(--store-nav-offset); }

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

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

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

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

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

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

.store-more .store-carousel__prev::before,
  .store-more .store-carousel__next::before {
  content: "";
  display: block;
  inline-size: 17px;
  block-size: 17px;
  margin: auto;
  border-block-start: 3px solid #fff;
  border-inline-end: 3px solid #fff;
}

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

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

/* ---- カード ---- */

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

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

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

/* ---- カード本体 ---- */
.store-more .store-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  inline-size: 100%;
  background: var(--store-body-bg);
  font-family: var(--store-font);
}

/* ---- ロゴ ---- */

.store-more .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-more .store-card__logo {
  inline-size: 100%;
  block-size: 100%;
  object-fit: contain;
}

/* ---- 店舗名・還元率・注記 ---- */

.store-more .store-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 0 0;
  align-self: stretch;
  padding: var(--store-body-pad-top) var(--store-body-pad-x) 40px;
}

/* ---- 店舗名 ---- */
.store-more .store-card__name {
  align-self: stretch;
  min-block-size: calc(1.5em * var(--store-name-lines));
  margin: 0;
  padding-block-end: 4px;
  color: var(--store-text);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

/* ---- 還元率 ---- */
.store-more .store-card__rate {
  align-self: flex-end;
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin: 0;
  padding: 0 1px 6px;
  color: var(--store-text);

  /* 下線グラデーション */
  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-more .store-card__rate-max {
  align-self: center;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
}

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

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

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

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

.store-more .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-more .store-card__note::before {
  content: "※";
  flex: 0 0 auto;
}

/* ---- 右下の矢印 ---- */

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

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

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

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

/* 虹色の下線（border-image）を消して単色にする */
html:has(meta[name="special-store-base-dir"][content*="infinite"])
  .store-more .store-card__rate {
  border-block-end: 1px solid #C9C5C0;
  border-image: none;
}

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

/* ---- 該当なしのメッセージ ---- */

.store-more .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;
}

/* ---- SP ---- */

@media (max-width: 640px) {
  .store-more {
    --store-visible: 2.2;
    --store-grid: 2;
    --store-nav-size: 40px;
  }

  .store-more .store-section {
    margin-block: 40px;
  }

  .store-more .store-section__title { font-size: 18px; }
  .store-more .store-section__count { font-size: 12px; }
  .store-more .store-section__subtitle { font-size: 14px; }

  .store-more .store-carousel__viewport {
    margin-inline: -16px;
    padding-inline: 16px;
  }

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

/* ---- 検索・カテゴリ絞り込み ---- */

.store-more {
  --search-height: 48px;
  --search-icon-size: 24px;

  --search-icon: 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");
  --search-border: #ccc;
  --search-focus: var(--store-nav-bg);
  --chip-bg: transparent;
  --chip-color: #333;
  --chip-active-bg: #333;
  --chip-active-color: #fff;
  --chips-icon-size: 32px;
  --chips-text-lines: 2;

  /* 選択中は背景が濃色になるため、アイコンを白く見せる */
    --chips-icon-filter: brightness(0) invert(1);
}

/* ---- 検索全体エリア ---- */

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

/* ---- 検索窓 ---- */

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

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

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

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

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

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

/* ×ボタン（入力があるときだけJSにて表示） */
.store-more .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;
}

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

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

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

.store-more .p-search__submit {
  position: relative;
  flex: 0 0 auto;
  inline-size: var(--search-height);
  block-size: var(--search-height);
  padding: 0;
  border: none;
  background: #333;
  cursor: pointer;
  transition: background-color .2s ease;
}

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

.store-more .p-search__submit::before {
  content: "";
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  transform: translate(-50%, -50%);
  inline-size: var(--search-icon-size);
  block-size: var(--search-icon-size);
  background-image: var(--search-icon);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* ---- SP ---- */

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

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

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

/* ---- 赤字 ---- */

.store-more .is-emphasis {
  color: #c8102e;
}

/* ---- マーカー ---- */

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

/* ---- リンクのアイコン ---- */

.store-more .c-link {
  display: inline;
}

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

/* 別ウィンドウ：四角と右上への矢印 */
.store-more .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;
}

/* 新しいウィンドウ：二重の四角 */
.store-more .c-link--window::after {
  inline-size: 9px;
  block-size: 9px;
  border: 1px solid currentColor;
  box-shadow: 3px -3px 0 -1px #fff, 3px -3px 0 0 currentColor;
}

/* PDF：文書の形 */
.store-more .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;
}

/* ---- 「カテゴリーで探す」「店舗名で探す」の見出しとチップ ---- */

.store-more .p-find__heading {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: #333;
}

/* ---- カテゴリチップ（上にアイコン・下に文字）---- */

.store-more .p-chips {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

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

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

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

.store-more .p-chips li.is-active .p-chips__icon {
  filter: var(--chips-icon-filter);
}

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

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

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

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

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

/* ---- カルーセルのボタン（枚数が足りないときは hidden で消える）---- */

/* ---- SP ---- */

@media (max-width: 767px) {
  .store-more .p-chips {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin-block-end: 24px;
  }

  .store-more .p-chips__item {
    min-block-size: 84px;
    padding: 8px 4px;
  }

  .store-more { --chips-icon-size: 32px; }

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

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

  .store-more .p-find__heading {
    font-size: 15px;
  }
}

/* ---- サイゼリヤだけの指定（店舗の判別は器の data-slug）---- */

#grantConditions[data-slug="saizeriya"] p.p-grant__url {
  margin: 0 0 40px;
  padding-top: 24px;
}

/* 「ご注意」のリストの下 */
#grantConditions[data-slug="saizeriya"] .p-grant__list {
  margin-bottom: 0;
}

/* 「対象店舗一覧はこちら」の矢印アイコン */
#grantConditions[data-slug="saizeriya"] .p-grant__url a::after {
  content: " ";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-left: 8px;
  vertical-align: -2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a,.b%7Bfill:none;%7D.b%7Bstroke:%2360768D;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;%7D%3C/style%3E%3C/defs%3E%3Crect class='a' width='16' height='16'/%3E%3Cpath class='b' d='M4.55,1.1l5,5-5,5' transform='translate(1.449 1.898)'/%3E%3C/svg%3E") no-repeat;
  background-size: contain;
}

@media (min-width: 768px) {
  #grantConditions[data-slug="saizeriya"] p.p-grant__url {
    padding-top: 32px;
  }

  #grantConditions[data-slug="saizeriya"] .p-grant__list {
    margin-bottom: 32px;
  }
}

/* ---- AEM暫定対応 ---- */

.container.gray-border > .cmp-container {
  margin: 40px 40px 0;
}

/* ＜セブン‐イレブンのキャンペーン枠＞AEMページに直書きされたブロック */

/* 枠の左右を本文と揃える */
.container.image-description-detail {
  margin-inline: 0;
  padding-inline: 0;
}

.container.gray-border.image-description-detail > .cmp-container {
  margin: 40px 0 0;
}

/* 画像側の右padding（80px）は使わない。間隔は grid の column-gap で作る */
.image-description-detail .cmp-container > .aem-Grid > .bps-image,
  .image-description-detail .cmp-container > .aem-Grid > .bps-image .cmp-image {
  padding-right: 0;
}

.image-description-detail .cmp-image__image {
  width: auto !important;
  height: auto !important;
  max-width: 100%;
}

@media (min-width: 768px) {
  .image-description-detail .cmp-image__image {
    width: 280px !important;
  }

  /* 画像を左、文言とボタンを右に並べる */
  .image-description-detail .cmp-container > .aem-Grid {
    display: grid;
    grid-template-columns: 280px 1fr;

    /* 画像を全行にまたがせるため、行を明示的に作る（余った行は高さ0） */
    grid-template-rows: repeat(12, auto);
    column-gap: 80px;
    align-items: start;
  }

  /* AEMのクリアフィックスがグリッドの空セルになるため消す */
  .image-description-detail .cmp-container > .aem-Grid::before,
    .image-description-detail .cmp-container > .aem-Grid::after {
    content: none;
  }

  .image-description-detail .cmp-container > .aem-Grid > .bps-image {
    grid-column: 1;
    grid-row: 1 / -1;
  }

  .image-description-detail .cmp-container > .aem-Grid > :not(.bps-image) {
    grid-column: 2;
  }
}

/*
 * サイト共通CSSが 641px 以上でこの枠の文言に
 * float: right / width: calc(100% - 280px) を !important で当てており、
 * 列の幅からさらに280px引かれて細くなるため、この枠だけ打ち消す。
 */
@media (min-width: 641px) {
  div.container.image-description-detail > div > div > *.aem-GridColumn:not(.bps-image) {
    float: none !important;
    width: auto !important;
  }
}

.image-description-detail a.cmp-button,
.image-description-detail a.cmp-button p {
  color: #60768D !important;
}

.image-description-detail {
  padding-left: 40px;
  padding-right: 40px;
}

.image-description-detail .bps-image {
  margin-top: 0;
  margin-bottom: 0;
}

.image-description-detail .text_mem {
  margin-top: 0;
  margin-bottom: 0;
}

.image-description-detail .text_mem + .text_mem {
  margin-top: 20px;
}

.image-description-detail .cmp-text > p + p {
  margin-top: 0;
}

.image-description-detail .cmp-text p,
.image-description-detail .cmp-text p > span.ver_mid {
  line-height: 26px;
  letter-spacing: 0.4px;
}

.image-description-detail .ver_mid b span {
  line-height: 36px;
  letter-spacing: 1.2px;
}

.image-description-detail .attention_gray,
.image-description-detail .attention_gray span {
  line-height: 20px;
  letter-spacing: 0.3px;
}

.image-description-detail .button {
  margin-top: 24px;
  margin-bottom: 24px;
}

.image-description-detail .text-link-A_Button .cmp-button,
.image-description-detail .text-link-A_Button .cmp-button:hover {
  text-decoration: none;
}

.image-description-detail .text-link-A_Button .cmp-button p {
  line-height: 30px;
  letter-spacing: 0.96px;
}

@media (max-width: 640px) {
  .image-description-detail {
    padding-left: 20px;
    padding-right: 20px;
  }

  .image-description-detail .bps-image {
    margin-bottom: 12px;
  }

  .image-description-detail .text_mem {
    margin-top: 20px;
  }

  .image-description-detail .cmp-text p,
  .image-description-detail .cmp-text p > span.ver_mid {
    line-height: 30px;
  }
}

.image-description-detail .ic-blank-p > .cmp-button > p:nth-child(n+2):nth-last-child(n+2)::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a,.b,.c%7Bfill:none;%7D.b,.c%7Bstroke:%2360768D;stroke-linecap:round;stroke-width:2px;%7D.b%7Bstroke-linejoin:round;%7D%3C/style%3E%3C/defs%3E%3Crect class='a' width='16' height='16'/%3E%3Cg transform='translate(2.455 2.455)'%3E%3Cpath class='b' d='M12.086,9.711v2.376H1V1H3.376' transform='translate(-1 -1)'/%3E%3Cpath class='b' d='M9,1h4.751V5.752' transform='translate(-2.665 -1)'/%3E%3Cpath class='c' d='M5,1,0,6' transform='translate(5.543 -0.457)'/%3E%3C/g%3E%3C/svg%3E") no-repeat !important;
}

ul, ol {
  padding: 0;
  margin: 0;
}