@charset "utf-8";
/* ==============================================
   カプセルトイ 専用スタイル
   ============================================== */

/* -----------------------------------------------
   ライトボックス（ラインナップ画像拡大）
----------------------------------------------- */
.capsule-lightbox {
  display: none !important;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
}

.capsule-lightbox.is-active {
  display: flex !important;
}

.capsule-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.capsule-lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
  animation: lb-fade-in 0.2s ease;
}

@keyframes lb-fade-in {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.capsule-lightbox-content img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  background: #111;
}

.capsule-lightbox-caption {
  color: #fff;
  font-size: 0.875rem;
  margin: 0.75rem 0 0;
  text-align: center;
}

.capsule-lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1.25rem;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background 0.15s;
}

.capsule-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ラインナップグリッド画像：ホバー時カーソルとズームアイコン */
.capsule-lightbox-trigger {
  position: relative;
  cursor: zoom-in;
}

.capsule-lightbox-zoom-icon {
  position: absolute;
  bottom: 0.4rem;
  right: 0.5rem;
  font-size: 1rem;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.capsule-lightbox-trigger:hover .capsule-lightbox-zoom-icon,
.capsule-lightbox-trigger:focus .capsule-lightbox-zoom-icon {
  opacity: 1;
}

.capsule-lightbox-trigger:hover img {
  opacity: 0.9;
  transition: opacity 0.2s;
}

/* -----------------------------------------------
   共通
----------------------------------------------- */
.capsule-section {
  max-width: 1280px;
  width: 92%;
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.capsule-page-header {
  max-width: 1280px;
  width: 92%;
  margin: 0 auto;
  text-align: center;
  padding: 1.5rem 0 2rem;
  margin-bottom: 0;
}

.capsule-page-header h1 {
  font-size: 3rem;
  font-weight: normal;
  letter-spacing: 0;
  color: #000;
}

.capsule-page-header .page-header-sub,
.capsule-page-header .capsule-page-subtitle {
  font-size: 0.95rem;
  color: #707070;
  margin-top: 0.4rem;
  letter-spacing: 0;
}

/* -----------------------------------------------
   TOPページ（page-capsule-toy.php）
----------------------------------------------- */

/* 「もっと見る」ボタン */
.capsule-section-more {
  text-align: center;
  margin-top: 2.5rem;
}

/* セクション共通ヘッダー（中央寄せ） */
.capsule-section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.capsule-section-title {
  font-size: 2rem;
  font-weight: normal;
  letter-spacing: 0;
  color: #000;
  margin: 0 0 0.4rem;
}

.capsule-section-sub {
  font-size: 0.9rem;
  color: #707070;
  margin: 0;
  letter-spacing: 0;
}

.capsule-more-btn {
  display: inline-block;
  background: #B8341B;
  color: #fff;
  font-size: 0.9rem;
  font-weight: bold;
  padding: 0.875rem 4rem;
  text-decoration: none;
  letter-spacing: 0.1em;
  border-radius: 3px;
  transition: background 0.2s;
}

.capsule-more-btn:hover {
  background: #9a2b16;
  color: #fff;
}

/* セクション1: 商品バナーエリア（4列グリッド） */
.capsule-top-banner-section {
  padding-bottom: 0;
}

.capsule-top-banner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 0;
  list-style: none;
  margin: 0;
}

.capsule-top-banner-item {
  list-style: none;
  transition: opacity 0.3s;
}

.capsule-top-banner-item:hover {
  opacity: 0.85;
}

.capsule-top-banner-item a {
  display: block;
  text-decoration: none;
}

.capsule-top-banner-item img {
  width: 100%;
  aspect-ratio: 322 / 383;
  object-fit: cover;
  display: block;
}

.capsule-top-banner-noimage {
  width: 100%;
  aspect-ratio: 322 / 383;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.capsule-top-banner-noimage span {
  color: #fff;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
}

/* セクション2: FREEセクション */
.capsule-free-section {}

.capsule-free-content {
  max-width: 100%;
  margin: 0 auto;
  border: 1px solid #ccc;
  padding: 3rem 2.5rem;
  text-align: center;
  line-height: 2;
  font-size: 1rem;
  color: #333333;
}

.capsule-free-content h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 0 0.5rem;
}

.capsule-free-content img {
  max-width: 100%;
  height: auto;
}

/* セクション3: NEW商品 / セクション4: ブランド */
.capsule-top-new-section,
.capsule-top-brand-section {
  border-top: none;
}

/* TOPページでは種類数を非表示 */
.capsule-top-new-section .capsule-product-item-count {
  display: none;
}

/* TOPページの商品カード画像はXD実測値240×285pxでオーバーライド */
.capsule-product-item .capsule-brand-card-img {
  aspect-ratio: 240 / 285;
  background: #f0f0f0;
}

/* 商品グリッド（5件: 横スクロール不要で折り返し） */
.capsule-product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  padding: 0;
  list-style: none;
  margin: 0;
}

.capsule-product-item {
  list-style: none;
  transition: opacity 0.3s;
  max-width: 240px;
}

.capsule-product-item:hover {
  opacity: 0.85;
}

.capsule-product-item a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.capsule-product-item-body {
  padding: 0.6rem 0 0;
}

.capsule-product-item-meta-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
  justify-content: space-between;
}

.capsule-product-item-date {
  font-size: 0.75rem;
  color: #6C6969;
}

.capsule-product-item-release {
  font-size: 0.75rem;
  color: #6C6969;
}

.capsule-product-item-brand-badge,
.capsule-product-item-brand-tag {
  display: inline-block;
  font-size: 0.7rem;
  background: #B8341B;
  color: #fff !important;
  padding: 0.1rem 0.5rem;
  border-radius: 2px;
  white-space: nowrap;
  text-decoration: none;
}

.capsule-product-item-brand {
  font-size: 0.75rem;
  color: #6C6969;
  margin: 0 0 0.15rem;
}

.capsule-product-item-title {
  font-size: 0.875rem;
  font-weight: bold;
  color: #333333;
  margin: 0 0 0.25rem;
  line-height: 1.4;
}

.capsule-product-item-meta {
  font-size: 0.8rem;
  color: #6C6969;
  margin: 0;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* セクション5: NEWSリスト */
/* TOPページのNEWSカテゴリーバッジを非表示 */
.capsule-top-news-section .capsule-news-cat {
  display: none;
}

.capsule-top-news-section {
  border-top: 1px solid #e0e0e0;
}

.capsule-news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.capsule-news-empty {
  text-align: center;
  color: #999;
  font-size: 0.9rem;
  padding: 2rem 0;
  margin: 0;
}

.capsule-news-item {
  border-bottom: 1px solid #e0e0e0;
}

.capsule-news-item a {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding: 1rem 0.5rem;
  text-decoration: none;
  color: #333333;
  transition: color 0.2s;
}

.capsule-news-item a:hover {
  color: #B8341B;
}

.capsule-news-date {
  font-size: 0.875rem;
  color: #707070;
  white-space: nowrap;
  flex-shrink: 0;
}

.capsule-news-cat {
  font-size: 0.75rem;
  background: #B8341B;
  color: #fff;
  padding: 0.15rem 0.6rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.capsule-news-title {
  font-size: 0.9rem;
  line-height: 1.5;
}



/* -----------------------------------------------
   archive-capsule_toy.php（ブランド一覧）
----------------------------------------------- */
.capsule-brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-left: 0;
  list-style: none;
}

.capsule-brand-card {
  list-style: none;
  transition: opacity 0.3s;
}

.capsule-brand-card:hover {
  opacity: 0.85;
}

.capsule-brand-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* 商品登録数が0のブランドカード */
.capsule-brand-card.is-empty {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

.capsule-brand-card.is-empty .capsule-brand-card-inner {
  display: block;
  color: inherit;
}

.capsule-brand-card img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  display: block;
}

.capsule-brand-card-img {
  width: 100%;
  aspect-ratio: 317 / 120;
  overflow: hidden;
  display: block;
  background: #111;
}

.capsule-brand-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 画像なし時のプレースホルダー */
.capsule-brand-card-noimage {
  width: 100%;
  height: 100%;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.capsule-brand-card-noimage span {
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 0.5rem;
}

.capsule-brand-card-body {
  padding: 0.6rem 0 0;
}

.capsule-brand-card-name {
  font-size: 0.875rem;
  font-weight: bold;
  margin-bottom: 0.2rem;
  color: #333333;
}

/* TOPページではブランド名テキストを非表示 */
.capsule-top-brand-section .capsule-brand-card-name {
  display: none;
}

.capsule-brand-card-en {
  font-size: 0.75rem;
  color: #6C6969;
  letter-spacing: 0.08em;
}

/* -----------------------------------------------
   taxonomy-capsule_brand.php（ブランド別商品一覧）
----------------------------------------------- */
.capsule-brand-mainimage {
  max-width: 906px;
  width: 92%;
  height: 343px;
  margin: 1.5rem auto 2.5rem;
  overflow: hidden;
}

.capsule-brand-mainimage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.capsule-brand-desc {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 0.95rem;
  line-height: 2;
  color: #555;
  text-align: center;
}

.capsule-brand-info {
  text-align: center;
  padding: 3rem 0 2rem;
}

.capsule-brand-info h1 {
  font-size: 3.75rem;
  font-weight: normal;
  letter-spacing: 0.05em;
  color: #000;
}

.capsule-brand-info .brand-ruby {
  font-size: 1.625rem;
  font-weight: normal;
  color: #333;
  margin-top: 0.3rem;
}

/* ブランドタグ（赤背景） */
.capsule-brand-tag {
  display: inline-block;
  background: #B8341B;
  color: #fff;
  font-size: 0.875rem;
  font-weight: bold;
  padding: 0.25rem 1rem;
  margin-top: 0.6rem;
  letter-spacing: 0.05em;
}

.capsule-brand-info .brand-desc {
  max-width: 700px;
  margin: 1.5rem auto 0;
  font-size: 0.95rem;
  line-height: 2;
  color: #555;
}

.capsule-product-item {
  list-style: none;
  transition: opacity 0.3s;
}

.capsule-product-item:hover {
  opacity: 0.85;
}

.capsule-product-item a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.capsule-product-item img {
  width: 100%;
  aspect-ratio: 240 / 285;
  object-fit: cover;
  display: block;
  background: #f5f5f5;
}

.capsule-product-item-body {
  padding: 0.6rem 0 0;
}

.capsule-product-item-title {
  font-size: 0.875rem;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 0.3rem;
  color: #333333;
}

.capsule-product-item-meta {
  font-size: 0.75rem;
  color: #6C6969;
}

.capsule-product-item-meta span {
  display: inline-block;
  margin-right: 0.6rem;
}

/* 商品なし */
.capsule-no-products {
  text-align: center;
  color: #707070;
  padding: 4rem 0;
  font-size: 1rem;
}

/* -----------------------------------------------
   single-capsule_toy.php（商品詳細）
----------------------------------------------- */
.capsule-single-wrap {
  max-width: 1280px;
  width: 92%;
  margin: 0 auto;
  padding: 2rem 0 6rem;
}

.capsule-single-main {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
  margin-bottom: 5rem;
}

.capsule-single-image {
  width: 50%;
  flex-shrink: 0;
}

.capsule-single-image img,
.capsule-single-detail-img {
  width: 100%;
  height: auto;
  display: block;
}

/* 詳細ページ専用画像（2362:2268比率・ほぼ正方形） */
.capsule-single-detail-img {
  aspect-ratio: 2362 / 2268;
  object-fit: contain;
  background: #f5f5f5;
}


.capsule-single-info {
  width: 50%;
}

.capsule-single-info h1 {
  font-size: 1.75rem;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 1.2rem;
  color: #333333;
}

/* メタ情報テーブル */
.capsule-meta-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.capsule-meta-table th {
  width: 8rem;
  text-align: left;
  padding: 0.9rem 1rem 0.9rem 0;
  border-bottom: 1px solid #e0e0e0;
  color: #333333;
  font-weight: normal;
  vertical-align: top;
  white-space: nowrap;
}

.capsule-meta-table td {
  padding: 0.9rem 0;
  border-bottom: 1px solid #e0e0e0;
  line-height: 1.8;
  color: #333333;
}

/* ブランドタグ（single用・赤背景） */
.capsule-single-brand-tag {
  display: inline-block;
  background: #B8341B;
  color: #fff;
  font-size: 0.875rem;
  font-weight: bold;
  padding: 0.2rem 0.9rem;
  margin-bottom: 0.8rem;
  text-decoration: none;
  transition: opacity 0.3s;
  letter-spacing: 0.05em;
}

.capsule-single-brand-tag:hover {
  opacity: 0.8;
}

/* -----------------------------------------------
   ラインナップ
----------------------------------------------- */
.capsule-lineup-section {
  margin-bottom: 5rem;
}

.capsule-section-heading {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #333333;
}

/* ラインナップ：テキストリスト形式（XDデザイン準拠） */
.capsule-lineup-list {
  padding: 1.25rem 1.5rem;
  list-style: none;
  margin: 0;
  background: #fafafa;
}

.capsule-lineup-list-item {
  position: relative;
  padding: 0.25rem 0 0.25rem 1rem;
  font-size: 0.875rem;
  color: #333333;
  line-height: 1.8;
}

.capsule-lineup-list-item::before {
  content: '・';
  position: absolute;
  left: 0;
  color: #333333;
}

/* ラインナップ：画像＋種類名グリッド形式 */
.capsule-lineup-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.capsule-lineup-grid-item {
  text-align: center;
}

.capsule-lineup-grid-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f5f5f5;
  margin-bottom: 0.5rem;
}

.capsule-lineup-grid-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.capsule-lineup-grid-name {
  font-size: 0.8125rem;
  color: #333333;
  line-height: 1.5;
  margin: 0;
}

/* -----------------------------------------------
   店舗リスト
----------------------------------------------- */
.capsule-store-section {
  margin-bottom: 4rem;
}

/* 取扱店舗見出し：中外満 */
.capsule-store-section .capsule-section-heading {
  text-align: center;
  font-size: 1.25rem;
}

.store-list {
  overflow-x: auto;
}

.store-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.store-table th {
  background: #333;
  color: #fff;
  padding: 0.7rem 1rem;
  text-align: left;
  font-weight: normal;
  font-size: 0.85rem;
}

.store-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #e0e0e0;
  vertical-align: top;
  line-height: 1.6;
}

.store-table tr:hover td {
  background: #f9f9f9;
}

.store-table a {
  color: #D4251F;
  text-decoration: underline;
}

.store-table a:hover {
  opacity: 0.8;
}

.no-stores {
  color: #707070;
  padding: 2rem 0;
  text-align: center;
}

/* -----------------------------------------------
   パンくずナビ（カプセルトイ専用補足）
----------------------------------------------- */
.capsule-breadcrumb {
  font-size: 0.8rem;
  padding: 7rem 0 0;
  max-width: 1280px;
  width: 92%;
  margin: 0 auto;
}

/* -----------------------------------------------
   レスポンシブ
----------------------------------------------- */
@media screen and (max-width: 1100px) {

  /* ブランドカード：2列 */
  .capsule-brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 商品グリッド（アーカイブ等）：2列 */
  .capsule-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* TOPページのNEW商品グリッドは5列を維持 */
  .capsule-top-new-section .capsule-product-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .capsule-page-header h1 {
    font-size: 2rem;
  }

  /* ブランドカード：2列（スマホはそのまま2列） */
  .capsule-brand-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  /* 商品グリッド（アーカイブ等）：2列 */
  .capsule-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  /* TOPページ NEW商品：横スクロール＋1枚センターちょいみせ */
  .capsule-top-new-section.capsule-section {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .capsule-top-new-section .capsule-section-header,
  .capsule-top-new-section .capsule-section-more {
    padding: 0 4%;
  }

  .capsule-top-new-section .capsule-product-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 9% 1rem;
    gap: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .capsule-top-new-section .capsule-product-grid::-webkit-scrollbar {
    display: none;
  }

  .capsule-top-new-section .capsule-product-item {
    flex: 0 0 82%;
    scroll-snap-align: center;
  }

  /* 詳細：縦並び */
  .capsule-single-main {
    flex-direction: column;
    gap: 2rem;
  }

  /* ラインナップグリッド：2列 */
  .capsule-lineup-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .capsule-single-image,
  .capsule-single-info {
    width: 100%;
  }

  .capsule-single-info h1 {
    font-size: 1.4rem;
  }

  .capsule-brand-info h1 {
    font-size: 2.5rem;
  }

  /* ブランド詳細バナー（taxonomy）：高さ固定を外してwidth全幅で自然な比率に */
  .capsule-brand-mainimage {
    height: auto;
  }

  .capsule-brand-mainimage img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  /* ============================================================
     バナースライドショー（SP用）
  ============================================================ */

  /* セクション自体を相対配置でボタン基準に */
  .capsule-top-banner-section {
    position: relative;
    overflow: hidden;
    padding-bottom: 0;
    width: 100%;
    max-width: 100%;
  }

  /* グリッドをフレックスのスライダートラックに変換 */
  .capsule-top-banner-grid {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.6s ease;
    will-change: transform;
    gap: 0;
    margin: 0;
    padding: 0;
  }

  /* 各バナーアイテムを1枚幅に固定 */
  .capsule-top-banner-item {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
  }

  /* 前後ボタン共通 */
  .capsule-banner-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    border: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    padding: 0;
  }

  .capsule-banner-btn:hover {
    background: rgba(0, 0, 0, 0.7);
  }

  .capsule-banner-prev {
    left: 0.6rem;
  }

  .capsule-banner-next {
    right: 0.6rem;
  }

  /* ドットナビゲーション */
  .capsule-banner-dots {
    position: absolute;
    bottom: 0.6rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.4rem;
  }

  .capsule-banner-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
  }

  .capsule-banner-dot.is-active {
    background: #fff;
  }

  /* 店舗テーブル：th非表示 */
  .store-table th:nth-child(5) {
    display: none;
  }

  .store-table td:nth-child(5) {
    display: none;
  }
}

@media screen and (max-width: 480px) {

  /* ブランドカード：1列 */
  .capsule-brand-grid {
    grid-template-columns: 1fr;
  }

  /* 商品グリッド（アーカイブ等）：1列 */
  .capsule-product-grid {
    grid-template-columns: 1fr;
  }

  /* TOPページは横スクロールのまま継続（768pxのスタイルを引き継ぐ） */
  .capsule-top-new-section .capsule-product-item {
    flex: 0 0 88%;
  }

  .capsule-brand-info h1 {
    font-size: 2rem;
  }

  /* スライドショーボタンのサイズ調整 */
  .capsule-banner-btn {
    width: 2rem;
    height: 2rem;
    font-size: 1.2rem;
  }

}

/* -----------------------------------------------
   取り扱い店舗セクション（XDデザイン準拠）
----------------------------------------------- */
.store-list-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 0 3rem;
}

.store-list-note {
  font-size: 0.875rem;
  color: #707070;
  text-align: center;
  margin-bottom: 1.5rem;
}

/* フィルター+現在地ボタン まとめてsticky固定 */
.store-filter-sticky {
  /* デフォルト: 固定なし（JSのIntersectionObserverで.is-stickyを付与） */
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
}

/* 店舗リストが表示中のみ sticky 固定（PC: グローバルナビ高さ分） */
.store-filter-sticky.is-sticky {
  position: sticky;
  top: 60px;
}

/* フィルターボタン行 */
.store-filter-buttons {
  display: flex;
  flex-wrap: nowrap;
  /* PC: 1行で表示 */
  gap: 6px;
  justify-content: center;
  margin-bottom: 0;
  padding: 1rem 0 0;
}

.store-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 60px;
  height: 40px;
  padding: 0 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border: 1px solid #929292;
  background: #fff;
  color: #1A1A1A;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.store-filter-btn:hover {
  background: #f5f5f5;
}

.store-filter-btn.is-active {
  background: #c0392b;
  color: #fff !important;
  border-color: #c0392b;
}

/* スクロール追従ハイライト（すべて表示時） */
.store-filter-btn.is-scroll-active {
  border-color: #c0392b;
  color: #c0392b;
}

/* 現在地ヒット時の都道府県ハイライト */
.store-pref-header.is-location-highlight {
  animation: pref-highlight-pulse 3s ease forwards;
}

@keyframes pref-highlight-pulse {
  0% {
    background: #fff3cd;
    border-left-color: #f0a500;
  }

  60% {
    background: #fff3cd;
    border-left-color: #f0a500;
  }

  100% {
    background: transparent;
    border-left-color: #c0392b;
  }
}

/* 現在地ボタンバー */
.store-location-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
  padding: 0.5rem 0 0.75rem;
  background: #fff;
}

.store-location-btn {
  font-size: 0.875rem;
  padding: 0.4rem 1rem;
  border: 1px solid #929292;
  background: #fff;
  color: #1A1A1A;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.store-location-btn:hover {
  background: #f5f5f5;
}

.store-location-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.store-location-status {
  font-size: 0.8125rem;
  color: #707070;
}


/* エリアヘッダーボックス */
.store-area-group {
  margin-bottom: 2rem;
}

.store-area-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  height: 40px;
  padding: 0 1rem;
  background: #c0392b;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

/* 都道府県サブグループ */
.store-pref-group {
  margin-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.store-pref-header {
  font-size: 0.9rem;
  font-weight: 700;
  color: #444;
  padding: 0.3rem 0 0.3rem 0.75rem;
  border-left: 3px solid #c0392b;
  margin-bottom: 0.25rem;
}

/* 店舗リスト */
.store-item-list {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left: 1.25rem;
}

.store-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #ebebeb;
}

.store-item-name {
  font-size: 0.9375rem;
  font-weight: 400;
  color: #1A1A1A;
  flex: 1;
  min-width: 0;
}

.store-item-link {
  font-size: 0.8125rem;
  color: #c0392b;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.15s;
}

.store-item-link:hover {
  opacity: 0.7;
}

/* 店舗情報なし */
.no-stores {
  text-align: center;
  color: #707070;
  padding: 2rem;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {

  /* SP時: ヘッダー高さ分下にずらす（SPヘッダー実測値86px） */
  .store-filter-sticky.is-sticky {
    top: 86px;
  }

  .store-filter-buttons {
    flex-wrap: wrap;
    /* モバイル: 折り返し */
    gap: 6px;
    padding: 0.6rem 0.5rem 0;
  }

  .store-location-bar {
    padding: 0.4rem 0.5rem 0.6rem;
  }

  .store-filter-btn {
    width: auto;
    min-width: 50px;
    height: 34px;
    font-size: 0.8125rem;
    padding: 0 0.6rem;
  }

  /* フィルター選択時のスクロール位置をstickyパネル分ずらす */
  /* ヘッダー86px + stickyパネル高さ約130px = 約220px */
  .store-area-group,
  .store-list-wrap {
    scroll-margin-top: 220px;
  }

  .store-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .store-item-info {
    flex-direction: column;
    gap: 0.2rem;
  }

  .store-item-link {
    align-self: flex-end;
  }
}

/* -----------------------------------------------
   最寄り店舗 永続ハイライト
----------------------------------------------- */

/* 行全体の色塗り */
.store-item.is-nearest {
  background: #fffbea;
  border-left: 3px solid #e6a817;
  padding-left: 0.5rem;
  border-bottom-color: #e6d98a;
  position: relative;
}

/* 「📍 最寄り」バッジ */
.store-nearest-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: bold;
  background: #e6a817;
  color: #fff;
  padding: 0.1rem 0.5rem;
  border-radius: 99px;
  white-space: nowrap;
  letter-spacing: 0.03em;
  flex-shrink: 0;
  margin-right: 0.5rem;
}