/* ポケカチ 抽選・予約情報 共通スタイル（スマホを基本に、PCでは中央寄せ） */
:root {
  --pink: #ff3366;
  --pink2: #ff5e3a;
  --pink-pale: #fff1f4;
  --navy: #2b3350;
  --text: #1e293b;
  --sub: #64748b;
  --line: #e2e8f0;
  --bg: #f4f5f8;
  --card: #ffffff;
  --red: #ef4444;
  --blue: #3b82f6;
  --green: #16a34a;
  --gray: #94a3b8;
  --radius: 12px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; }
button, input, select { font: inherit; color: inherit; }

.container { max-width: 760px; margin: 0 auto; padding: 0 12px; }

/* ---------- サンプル表示 ---------- */
.sample-bar {
  background: #fff7ed; color: #9a3412; border-bottom: 1px solid #fed7aa;
  font-size: 12px; text-align: center; padding: 6px 12px;
}

/* ---------- ヘッダー ---------- */
/* ポケカチ本体のヘッダー（pokemoncard.css / pokemoncardMb.css の該当ルールを写したもの） */
.site-header { background: #fff; box-shadow: rgba(0, 0, 0, .1) 0 4px 17px 0; position: relative; z-index: 11; }
.head-logo { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 896px; margin: 0 auto; padding: 10px 0; background: #fff; }
.head-logo p.logo { display: inline-block; text-align: center; width: 60%; margin: 0; vertical-align: middle; line-height: 0; }
.head-logo p.logo a { display: flex; justify-content: center; align-items: flex-end; position: relative; }
.head-logo p.logo img { width: 100% !important; }
.head-logo .header-description { font-size: 15px; line-height: 1.2; font-weight: bold; display: flex; align-items: center; color: #162763; }
.head-logo .search-bt { width: 20%; display: flex; justify-content: center; align-items: center; flex-direction: column; cursor: pointer; }
.head-logo .search-bt img { width: 25px !important; }
.head-logo .search-bt::after { content: "カード名検索"; font-size: 8px; }
.head-logo .mypage-bt { width: 20%; text-align: center; }
.head-logo .mypage-bt a { text-decoration: none; }
.head-logo .mypage-bt img { margin: 0 auto; display: block; width: 25px !important; }
.head-logo .mypage-bt a::after { content: "マイページ"; font-size: 8px; color: #444; }
@media only screen and (orientation: landscape) and (max-width: 813px), (orientation: portrait) and (max-width: 753px) {
  .head-logo .header-description { font-size: 11px; }
  .head-logo p.logo { width: 30% !important; }
  .head-logo .search-bt { width: 15% !important; }
  .head-logo .mypage-bt { width: 15% !important; }
}
#search_modal { display: none; width: 100%; height: 100%; text-align: center; position: fixed; top: 0; left: 0; z-index: 2147483647; background: rgba(0, 0, 0, .7); color: #fff; }
#search_modal .modal_val { position: absolute; inset: 0; margin: auto; height: 130px; }
#search_modal form { padding: 0; margin: 0; display: flex; justify-content: center; align-items: center; position: relative; }
#search_modal input[type="text"] { height: 40px; width: calc(100% - 30px); box-sizing: border-box; padding: 0 50px 0 20px; border: 0; background: #fff; color: #333; font-size: 16px; border-radius: 50px; outline: none; }
#search_modal input[type="submit"] { width: 35px; height: 35px; margin: 0; border: 0; cursor: pointer; color: #444; background: #f3f3f3 url("https://img.altema.jp/pokemoncard/common/icon-search.svg") 50% center / 15px auto no-repeat; overflow: hidden; text-indent: -9999px; border-radius: 50px; position: absolute; right: 20px; }
#search_modal #modal_close { margin: 20px auto; display: block; font-size: 16px; color: #fff; border: 1px solid #fff; width: 50%; cursor: pointer; }
.gnav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.gnav ul { display: flex; list-style: none; margin: 0 auto; padding: 0; max-width: 760px; }
.gnav li { flex: 1; }
.gnav a { display: block; text-align: center; padding: 10px 2px; font-size: 12px; font-weight: bold; color: var(--sub); text-decoration: none; border-bottom: 3px solid transparent; }
.gnav a.is-current { color: var(--pink); border-bottom-color: var(--pink); }

/* ---------- パンくず ---------- */
.breadcrumb { font-size: 11px; color: var(--sub); padding: 8px 0; overflow-x: auto; white-space: nowrap; }
.breadcrumb a { color: var(--sub); }
.breadcrumb span + span::before { content: "›"; margin: 0 6px; color: var(--gray); }

/* ---------- 見出し・セクション ---------- */
.page-head { background: #fff; border-radius: var(--radius); padding: 14px; margin-bottom: 12px; }
.page-head h1 { font-size: 19px; line-height: 1.4; margin: 0 0 6px; color: var(--navy); }
.page-head .lead { margin: 0; font-size: 13px; color: #334155; }
.post-meta { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; }
/* 情報がいつ時点のものか。ひと目でわかるように時計マーク付きのラベルにする */
.updated {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: bold; color: #1d4ed8;
  background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 999px; padding: 2px 10px 2px 8px;
}
.updated::before, .sec-head .as-of::before {
  content: ""; width: 13px; height: 13px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 6.5V12l3.5 2.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 6.5V12l3.5 2.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* ポケカチ本体の記事と同じPRアイコン */
.pr-icon { display: inline-block; background: #ccc; color: #fff; font-size: 12px; font-weight: bold; padding: 0 10px; height: 22px; line-height: 22px; vertical-align: middle; }

.section { background: #fff; border-radius: var(--radius); padding: 14px; margin-bottom: 12px; scroll-margin-top: 50px; }
.lt-card { scroll-margin-top: 50px; }
.section > h2 {
  font-size: 16px; margin: 0 0 12px; padding: 2px 0 2px 10px;
  border-left: 4px solid var(--pink); color: var(--navy); line-height: 1.4;
}
.section > h2 small { font-size: 11px; color: var(--sub); font-weight: normal; margin-left: 6px; }
/* 抽選一覧の情報がいつ時点のものか（見出しの右端に小さく出す） */
/* 時点ラベルのある見出しは、狭い画面で折り返しても右端にそろうように横並びにする */
/* 時点ラベルは h2 の外（.sec-head の中）に置く。見た目は h2 の中にあったときと同じにする */
.section > .sec-head {
  display: flex; flex-wrap: wrap; align-items: center; row-gap: 6px;
  margin: 0 0 12px; padding: 2px 0 2px 10px; border-left: 4px solid var(--pink); line-height: 1.4;
}
.section > .sec-head > h2 { font-size: 16px; margin: 0; padding: 0; border: 0; color: var(--navy); line-height: 1.4; }
.section > .sec-head > h2 small { font-size: 11px; color: var(--sub); font-weight: normal; margin-left: 6px; }
.sec-head .as-of {
  display: inline-flex; align-items: center; gap: 3px; margin-left: auto;
  font-size: 11px; font-weight: bold; color: #1d4ed8; line-height: 1;
  background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 999px; padding: 4px 8px 4px 6px;
}
.sec-head .as-of::before { width: 11px; height: 11px; }
/* 次回更新予定（時点のあとに区切り線を入れて控えめに） */
.sec-head .as-of-next { font-weight: normal; margin-left: 4px; padding-left: 6px; border-left: 1px solid #bfdbfe; white-space: nowrap; }
.section > .sub-head { font-size: 15px; margin: 0 0 10px; padding: 0 0 6px; border-bottom: 2px solid var(--pink); color: var(--navy); line-height: 1.4; }
.section-more { display: block; text-align: center; margin-top: 10px; font-size: 13px; font-weight: bold; color: var(--pink); text-decoration: none; }

/* ---------- 件数サマリ ---------- */
.stats { display: flex; border: 2px solid var(--pink); border-radius: var(--radius); overflow: hidden; margin-top: 12px; }
.stat { flex: 1; text-align: center; padding: 8px 2px; border-right: 1px solid #ffe4ea; background: #fff; }
.stat:last-child { border-right: none; }
.stat b { display: block; font-size: 22px; font-weight: 900; line-height: 1.1; }
.stat span { font-size: 11px; color: var(--sub); font-weight: bold; }
.stat.is-open b { color: var(--red); }
.stat.is-soon b { color: var(--blue); }
.stat.is-end b { color: var(--gray); }
.stat.is-shop b { color: var(--navy); }

/* ---------- 商品（BOX）タイル ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 600px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }
.product-tile { display: block; text-decoration: none; background: #f8fafc; border: 1px solid var(--line); border-radius: 10px; padding: 8px; text-align: center; }
.product-tile .thumb { height: 96px; margin-bottom: 6px; }
.product-tile b { display: block; font-size: 12px; line-height: 1.35; height: 2.7em; overflow: hidden; }
.product-tile .count { display: inline-block; margin-top: 4px; font-size: 11px; font-weight: bold; color: #fff; background: var(--red); border-radius: 999px; padding: 0 8px; }
.product-tile .count.is-zero { background: var(--gray); }
.product-tile .date { display: block; font-size: 10px; color: var(--sub); margin-top: 2px; }
/* ボックス一覧：PCは1段目（4件）、スマホは2段目（4件）まで出し、残りは「もっと見る」で開く */
.fold { position: relative; }
.fold.is-folded .product-grid > :nth-child(n+5) { display: none; }
.fold-btn { display: none; }
.fold.is-folded .fold-btn { display: flex; align-items: flex-end; justify-content: center; position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 72px; padding: 0 0 8px; border: 0; background: linear-gradient(rgba(255, 255, 255, 0), var(--card) 70%); color: var(--pink); font-weight: bold; font-size: 13px; font-family: inherit; cursor: pointer; }

.thumb { display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 6px; }
.thumb img { max-height: 100%; width: auto; object-fit: contain; }
.thumb-ph {
  background: linear-gradient(135deg, #ffe4ea, #fff1d6); color: #be123c;
  font-size: 11px; font-weight: bold; padding: 4px; text-align: center; line-height: 1.3; word-break: break-all;
}

/* 横スクロール（他のポケカの抽選） */
.h-scroll { display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
.h-scroll .product-tile { flex: 0 0 104px; }
.h-scroll .product-tile .thumb { height: 80px; }
.h-scroll .product-tile b { height: auto; white-space: nowrap; text-overflow: ellipsis; font-size: 11px; }

/* ---------- 方式から探す ---------- */
.method-links { display: flex; gap: 6px; }
.method-link { flex: 1 1 0; min-width: 0; display: block; text-decoration: none; text-align: center; border-radius: 10px; padding: 10px 2px; color: #fff; font-weight: bold; font-size: 13px; white-space: nowrap; }
.method-link span { display: block; font-size: 11px; font-weight: normal; opacity: .9; }
.method-link.is-online { background: linear-gradient(135deg, #ff3366, #ff5e3a); }
.method-link.is-store { background: linear-gradient(135deg, #3b82f6, #6366f1); }
.method-link.is-sns { background: linear-gradient(135deg, #0f172a, #475569); }

/* ---------- 絞り込み ---------- */
.filter { background: #f8fafc; border: 1px solid var(--line); border-radius: 10px; padding: 10px; margin-bottom: 10px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.filter-row:last-child { margin-bottom: 0; }
.chip { border: 1px solid #cbd5e1; background: #fff; color: #475569; border-radius: 999px; padding: 5px 10px; font-size: 12px; font-weight: bold; cursor: pointer; }
.chip.is-active { background: var(--pink); border-color: var(--pink); color: #fff; }
.filter select, .filter input[type=search] { flex: 1 1 140px; min-width: 0; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; padding: 7px 8px; font-size: 13px; }
.list-count { font-size: 12px; font-weight: bold; color: #475569; margin: 0 2px 8px; }
.list-empty { text-align: center; color: var(--sub); font-size: 13px; padding: 20px 8px; border: 2px dashed var(--line); border-radius: 10px; }
.more-btn { display: block; width: 100%; margin-top: 4px; padding: 10px; border: 1px solid var(--pink); color: var(--pink); background: #fff; border-radius: 8px; font-weight: bold; cursor: pointer; }

/* ---------- 抽選カード ---------- */
.lt-card { display: flex; gap: 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 10px; margin-bottom: 8px; }
.lt-card.is-urgent { border-color: #fecaca; background: #fffafa; }
.lt-card[hidden], .lt-card.is-gone { display: none; }
/* BOX画像を大きく出すカード（スマホ2列・PC3列） */
.lt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 600px) { .lt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lt-grid > .list-empty { grid-column: 1 / -1; }
.lt-card.is-grid { flex-direction: column; gap: 0; padding: 0; margin: 0; overflow: hidden; }
.lt-visual { position: relative; display: block; text-decoration: none; background: #f8fafc; }
.lt-visual .lt-img { width: 100%; aspect-ratio: 4 / 3; border-radius: 0; padding: 6px; }
.lt-visual .lt-img img { width: 100%; height: 100%; object-fit: contain; }
.lt-visual .thumb-ph { font-size: 15px; font-weight: 900; padding: 10px; word-break: normal; overflow-wrap: anywhere; }
.lt-ov-top { position: absolute; top: 6px; left: 6px; right: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.lt-ov-top .badge { padding: 1px 5px; }
.lt-ov-top .remain { background: rgba(255, 255, 255, .92); border-radius: 4px; padding: 0 4px; font-size: 11px; white-space: nowrap; }
.lt-ov-bottom { position: absolute; left: 6px; right: 6px; bottom: 6px; display: flex; flex-wrap: wrap; gap: 4px; }
.lt-ov-method, .lt-ov-pref { background: #fff; border: 1px solid #e2e8f0; border-radius: 999px; font-size: 11px; font-weight: bold; padding: 0 8px; white-space: nowrap; }
.lt-ov-method { color: #be123c; border-color: #fecdd3; }
.lt-ov-method.is-store { color: #1d4ed8; border-color: #bfdbfe; }
.lt-ov-method.is-sns { color: #0f172a; border-color: #94a3b8; }
.lt-ov-pref { color: #475569; }
.lt-card.is-grid .lt-body { padding: 8px; display: flex; flex-direction: column; flex: 1; }
.lt-card.is-grid .lt-product { display: block; font-size: 13px; font-weight: 900; color: var(--navy); text-decoration: none; line-height: 1.35; }
.lt-card.is-grid .lt-store { font-size: 12px; font-weight: bold; color: #334155; margin: 2px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lt-card.is-grid .lt-when { font-size: 12px; }
.lt-card.is-grid .lt-actions { margin-top: auto; padding-top: 6px; }
.lt-card.is-grid .btn-entry { font-size: 12px; }
.lt-body { flex: 1; min-width: 0; }
.lt-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.badge { display: inline-block; color: #fff; border-radius: 4px; font-size: 11px; font-weight: bold; padding: 1px 7px; white-space: nowrap; }
.badge.is-open { background: var(--red); }
.badge.is-soon { background: var(--blue); }
.badge.is-end { background: var(--gray); }
.badge.is-stop { background: #475569; }
.remain { font-size: 12px; font-weight: bold; color: var(--red); }
.remain.is-soon { color: var(--blue); }
/* 常設（締切未定）の抽選 */
.remain.is-open-ended { color: var(--sub); }
.lt-store { font-size: 15px; margin: 3px 0 0; line-height: 1.4; word-break: break-all; }
.lt-store a { text-decoration: none; }
.lt-product { font-size: 11px; color: var(--sub); }
.lt-when { font-size: 13px; font-weight: bold; margin: 2px 0; }
.lt-when .lbl { font-size: 11px; color: var(--sub); font-weight: normal; margin-right: 4px; }
.tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 5px 0; }
.tag { font-size: 11px; background: #f1f5f9; color: #475569; border-radius: 4px; padding: 0 6px; }
.tag.is-method { background: var(--pink-pale); color: #be123c; font-weight: bold; }
.tag.is-method-store { background: #eff6ff; color: #1d4ed8; font-weight: bold; }
.tag.is-pr { background: #fefce8; color: #a16207; border: 1px solid #eab308; }
.lt-note { font-size: 12px; color: #334155; margin: 2px 0; }
.lt-meta { font-size: 11px; color: var(--sub); }
/* 編集部が最後に内容を確かめた日 */
.lt-checked { font-size: 10px; color: var(--sub); text-align: right; margin-top: 2px; }
.lt-actions { display: flex; gap: 8px; align-items: center; margin-top: 6px; }
.btn-entry {
  flex: 1; display: block; text-align: center; text-decoration: none; color: #fff;
  background: linear-gradient(135deg, #22c55e, #16a34a); border-radius: 6px; padding: 8px 4px;
  font-size: 13px; font-weight: bold; box-shadow: 0 3px 6px rgba(22, 163, 74, .3);
}
.lt-card.is-ended .btn-entry { display: none; }
.btn-howto {
  flex: 1; display: block; text-align: center; color: var(--navy); background: #fff; border: 1px solid #cbd5e1;
  border-radius: 6px; padding: 7px 4px; font: inherit; font-size: 13px; font-weight: bold; cursor: pointer;
}
/* 2列のカードでも2つのボタンが1行に収まるように、文字を小さくして折り返さない */
.lt-card.is-grid .lt-actions { gap: 4px; }
.lt-card.is-grid .btn-howto, .lt-card.is-grid .btn-entry { font-size: 11px; padding-left: 2px; padding-right: 2px; white-space: nowrap; }
.lt-card.is-grid .btn-entry { flex: 1.6; }
/* 応募方法のモーダル */
.howto-modal { position: fixed; inset: 0; z-index: 1000; background: rgba(15, 23, 42, .6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.howto-modal[hidden] { display: none; }
.howto-box { position: relative; background: #fff; border-radius: 12px; width: 100%; max-width: 480px; max-height: 85vh; overflow-y: auto; padding: 16px; }
.howto-close { position: absolute; top: 6px; right: 8px; border: 0; background: none; font-size: 24px; line-height: 1; color: var(--sub); cursor: pointer; padding: 4px 8px; }
.howto-head { font-size: 16px; font-weight: 900; color: var(--navy); margin: 0 0 8px; padding-left: 10px; border-left: 4px solid var(--pink); }
.howto-ttl { font-size: 12px; color: var(--sub); margin: 0 0 6px; }
.howto-lead { font-size: 14px; font-weight: bold; margin: 0 0 10px; }
.howto-dl { margin: 0 0 8px; font-size: 13px; }
.howto-dl dt { font-size: 11px; color: var(--sub); margin-top: 8px; }
.howto-dl dd { margin: 2px 0 0; line-height: 1.6; }

/* ---------- 開閉 ---------- */
details.fold { border: 1px solid var(--line); border-radius: 10px; margin-top: 10px; }
details.fold > summary { cursor: pointer; padding: 10px; font-size: 13px; font-weight: bold; text-align: center; color: #475569; background: #f8fafc; border-radius: 10px; list-style: none; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold[open] > summary { border-radius: 10px 10px 0 0; }
details.fold > .fold-body { padding: 10px; }

/* ---------- 表 ---------- */
.info-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.info-table th, .info-table td { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: left; vertical-align: top; }
.info-table th { width: 30%; background: #f8fafc; color: #475569; font-size: 12px; }
.past-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.past-table th, .past-table td { border-bottom: 1px solid var(--line); padding: 6px 4px; text-align: left; }
.past-table th { color: var(--sub); font-weight: normal; font-size: 11px; }

/* ---------- 商品情報 ---------- */
.product-hero { display: flex; justify-content: center; margin: 12px 0 8px; }
.product-hero .thumb { width: 100%; max-width: 320px; height: 220px; }
.product-hero .thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-hero .thumb-ph { font-size: 18px; font-weight: 900; }

/* 同じBOXのポケカチ内ページへのリンク */
.altema-links { margin-top: 12px; border: 2px solid #ffd1dc; border-radius: 10px; background: var(--pink-pale); padding: 10px; }
.altema-links-ttl { font-size: 13px; font-weight: bold; color: var(--navy); text-align: center; margin-bottom: 8px; }
.altema-links-row { display: flex; gap: 8px; }
.altema-link { flex: 1 1 0; min-width: 0; display: block; text-align: center; text-decoration: none; background: #fff; border: 1px solid var(--pink); border-radius: 8px; padding: 8px 4px; }
.altema-link b { display: block; font-size: 13px; color: var(--pink); }
.altema-link span { display: block; font-size: 10px; color: var(--sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.altema-link b::after { content: " ›"; }

/* ---------- 店舗一覧 ---------- */
.shop-row { display: flex; align-items: center; gap: 8px; padding: 10px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.shop-row:last-child { border-bottom: none; }
.shop-row .name { flex: 1; min-width: 0; }
.shop-row .name b { display: block; font-size: 14px; }
.shop-row .name span { font-size: 11px; color: var(--sub); }
.shop-row .cnt { font-size: 11px; font-weight: bold; color: #fff; background: var(--red); border-radius: 999px; padding: 1px 10px; white-space: nowrap; }
.shop-row .cnt.is-zero { background: #e2e8f0; color: var(--sub); }
/* 受け付けているカードゲーム。受付中・予定がある方だけ色を付ける */
.shop-row .name .game-tags { display: inline-flex; gap: 4px; margin-left: 8px; vertical-align: 1px; }
.game-tag { font-style: normal; font-size: 10px; font-weight: bold; line-height: 1; padding: 4px 6px; border-radius: 4px; border: 1px solid var(--line); color: #cbd5e1; background: #fff; white-space: nowrap; }
.game-tag.is-pokemon.is-on { color: #fff; background: #f59e0b; border-color: #f59e0b; }
.game-tag.is-onepiece.is-on { color: #fff; background: var(--blue); border-color: var(--blue); }
.shop-row::after { content: "›"; color: var(--gray); font-size: 18px; }
.shop-row[hidden] { display: none; }
/* チェーンのページ下部の店舗一覧（リンクなし） */
.section-lead { font-size: 12px; color: var(--sub); margin: 0 0 8px; }
.pref-head { font-size: 13px; color: var(--navy); margin: 12px 0 2px; }
.chain-shops { list-style: none; margin: 0; padding: 0; }
.chain-shops li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 4px; border-bottom: 1px solid var(--line); font-size: 13px; }
.chain-shops li b { color: var(--blue); font-size: 12px; white-space: nowrap; }

/* ---------- カレンダー ---------- */
.cal-week { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
.cal-week a { flex: 0 0 64px; text-align: center; text-decoration: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 2px; background: #fff; }
.cal-week a b { display: block; font-size: 16px; }
.cal-week a span { font-size: 10px; color: var(--sub); }
.cal-week a em { display: block; font-style: normal; font-size: 11px; font-weight: bold; color: var(--red); }
.cal-week a.is-today { border-color: var(--pink); background: var(--pink-pale); }
.cal-month { margin-bottom: 16px; }
.cal-month h3 { font-size: 14px; margin: 0 0 6px; color: var(--navy); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-grid .dow { text-align: center; font-size: 11px; color: var(--sub); padding: 2px 0; }
.cal-grid .dow.sun, .cal-day.sun .d { color: var(--red); }
.cal-grid .dow.sat, .cal-day.sat .d { color: var(--blue); }
.cal-day { display: block; min-height: 52px; border-radius: 6px; background: #f8fafc; padding: 3px; text-decoration: none; font-size: 11px; }
.cal-day.is-empty { background: transparent; }
.cal-day.is-past { opacity: .45; }
.cal-day.is-today { outline: 2px solid var(--pink); background: var(--pink-pale); }
.cal-day .d { display: block; font-weight: bold; }
.cal-day .n { display: block; margin-top: 2px; background: var(--red); color: #fff; border-radius: 4px; text-align: center; font-weight: bold; font-size: 10px; }
.cal-day .rel { display: block; margin-top: 2px; background: #fde68a; color: #92400e; border-radius: 4px; text-align: center; font-size: 10px; }
.day-head { font-size: 14px; margin: 16px 0 8px; padding-bottom: 4px; border-bottom: 2px solid var(--line); color: var(--navy); scroll-margin-top: 50px; }
.day-head small { color: var(--sub); font-weight: normal; margin-left: 6px; font-size: 11px; }

/* ---------- Q&A・本文 ---------- */
.qa dt { font-weight: bold; margin-top: 10px; padding-left: 1.6em; text-indent: -1.6em; }
.qa dt::before { content: "Q."; color: var(--pink); margin-right: .4em; }
.qa dd { margin: 4px 0 0; padding-left: 1.6em; text-indent: -1.6em; color: #334155; font-size: 13px; }
.qa dd::before { content: "A."; color: var(--blue); font-weight: bold; margin-right: .4em; }
.prose p, .prose li { font-size: 13px; color: #334155; }
.prose h3 { font-size: 14px; color: var(--navy); margin: 14px 0 4px; }

/* ---------- フッター（ポケカチ本体と同じ見た目） ---------- */
#footer { margin-top: 30px; background: #f5f5f5; padding: 20px 0 30px; font-size: 12px; color: #333; }
#footer-in { max-width: 960px; margin: 0 auto; }
#footer .footer-link-list { display: flex; flex-wrap: wrap; justify-content: center; list-style: none; margin: 0 0 20px; padding: 0; }
#footer .footer-link-list li { padding: 0 5px; margin: 4px 9px; }
#footer .footer-link-list a { color: #3492cf; text-decoration: none; }
#footer .footer-link-list a:hover { opacity: .6; }
#footer .logo_area { display: flex; justify-content: center; gap: 10px; }
#footer .logo_tosho, #footer .logo_ktaa { display: flex; align-items: center; margin: 10px 0 0 44px; }
#footer .logo_tosho img { width: 50px; margin: 0 5px 5px 0; }
#footer .logo_tosho span, #footer .logo_ktaa span { display: inline-block; line-height: 1.4; font-size: 9px; }
.copyright { background: #35394d; color: #fff; text-align: center; font-size: 10px; padding: 5px 0; }
.copyright p { margin: 0; }
@media (max-width: 896px) {
  #footer { padding-bottom: 60px; }
  #footer .footer-link-list li { width: 44%; margin: 0 10px; padding: 0; text-align: center; line-height: 2.6; }
  #footer .logo_tosho, #footer .logo_ktaa { flex-direction: column; justify-content: center; margin: 0; width: 44%; }
  #footer .logo_tosho img { width: 58px; margin-right: 0; }
  #footer .pc-display { display: none; }
  .copyright { padding-bottom: 40px; font-size: 12px; }
  .copyright span { display: block; }
}

/* スマホの追従バナー（画面の下に固定。PCでは出さない。banners.xlsx で管理） */
.sp-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; background: #fff; box-shadow: 0 -2px 10px rgba(0, 0, 0, .18); padding-bottom: env(safe-area-inset-bottom); }
.sp-banner[hidden] { display: none; }
.sp-banner a { display: block; line-height: 0; }
.sp-banner img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 5; }
body.has-sp-banner { padding-bottom: calc(31.25vw + env(safe-area-inset-bottom)); }
@media (min-width: 768px) { .sp-banner { display: none; } body.has-sp-banner { padding-bottom: 0; } }
