/* 第2回 特設ページ 試作 A3（オレンジ×青のポスター）2026-11-26
   色の元：public/stamp-rally/theme/vol2.css の orange（11-14 ChatGPT 配色レビュー後）。地だけ A3 に合わせてクリームの紙に戻した
   書体：見出し・数字＝Dela Gothic One／本文と小さい文字＝Zen Kaku Gothic New（どちらも Google Fonts・OFL） */
:root {
  /* カラーパレット「Clear Blue × Orange」（2026-11-26 ユーザー決定・7 番がベース） */
  /* メイン */
  --or: #FF6C00; --bl: #3B82FF; --bl-d: #2456D8; --yel: #FFC93C;
  /* 文字・線 */
  --ink: #202B45; --sub: #5C6B82; --line: #D5E2F2;
  /* 背景 */
  --cream: #F5FAFF; --paper: #FFFFFF; --or-p: #FFF0E4; --bl-p: #E6EFFF;
  --white: #fff;
  --disp: "Dela Gothic One", "Zen Kaku Gothic New", sans-serif;
  --body: "Zen Kaku Gothic New", "Yu Gothic UI", "Meiryo", sans-serif;   /* 11-26 ユーザー：小さい文字は吹き出しと同じ書体にそろえる */
  --sh: 4px 4px 0 var(--bl);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; scroll-padding-top: 16px; }
body { font-family: var(--body); font-weight: 500; color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.7; }
img { display: block; max-width: 100%; height: auto; }
br.sp { display: none; }
@media (max-width: 700px) { br.sp { display: inline; } }
a { color: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ---- 上の帯 ---- */
.bar { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: 10px 32px; background: var(--cream); }
.bar-logo img { width: 105px; }
.bar-tag { font-weight: 700; font-size: 14px; color: var(--bl-d); }
a.bar-tag { text-decoration: none; } a.bar-tag:hover { text-decoration: underline; }

/* ---- ヒーロー ---- */
.hero { position: relative; overflow: hidden; background: var(--cream); padding: 56px 0 150px; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.bg-or { fill: var(--or); } .bg-bl { fill: var(--bl); } .bg-or2 { fill: var(--or); opacity: .9; }
.hero-dots { position: absolute; pointer-events: none; background-size: 12px 12px; }
.hero-dots--or { left: 0; top: 0; width: 46%; height: 70%; background-image: radial-gradient(circle, rgba(255, 108, 0, .22) 1.6px, transparent 2.2px); -webkit-mask: linear-gradient(135deg, #000 0, transparent 70%); mask: linear-gradient(135deg, #000 0, transparent 70%); }
.hero-dots--bl { right: 0; bottom: 0; width: 50%; height: 60%; background-image: radial-gradient(circle, rgba(255, 255, 255, .28) 1.6px, transparent 2.2px); -webkit-mask: linear-gradient(315deg, #000 0, transparent 75%); mask: linear-gradient(315deg, #000 0, transparent 75%); }
.hero-in { position: relative; max-width: 1240px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: 16px; }
.hero-en { font-family: var(--disp); font-size: 20px; letter-spacing: .08em; color: var(--bl-d); }
.hero-en i { font-style: normal; color: var(--or); letter-spacing: -.05em; }
.hero-ttl { font-family: var(--disp); font-weight: 400; line-height: 1.1; margin: 16px 0 26px; }
/* 斜めの帯：傾けるのは後ろの色の面（::before）だけ。文字はまっすぐ描く（文字ごと傾けるとぼやける・11-26） */
.band { position: relative; z-index: 0; display: inline-block; color: #fff; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--or); box-shadow: var(--band-sh, 6px 6px 0 var(--bl-d)); transform: skewX(-9deg); }
.hero-ttl span { --band-sh: 7px 7px 0 var(--bl-d); }
.hero-vol { font-size: clamp(26px, 2.8vw, 40px); padding: 4px 16px 8px; margin: 0 0 10px; }
.hero-name { font-size: clamp(32px, 4.05vw, 58px); padding: 6px 22px 12px; margin-left: 6px; display: block !important; width: max-content; }
.hero-period { display: inline-flex; align-items: stretch; border: 3px solid var(--bl-d); border-radius: 999px; background: #fff; overflow: hidden; font-weight: 700; }
.hero-period span { background: var(--bl-d); color: #fff; padding: 4px 16px 5px 18px; font-size: 16px; display: flex; align-items: center; }
.hero-period b { padding: 4px 22px 5px 14px; font-size: clamp(15px, 1.55vw, 22px); white-space: nowrap; font-family: var(--disp); font-weight: 400; letter-spacing: .02em; }
.hero-period small { font-size: .68em; font-family: var(--body); font-weight: 700; }
.hero-rule { font-family: var(--disp); font-size: clamp(17px, 1.95vw, 28px); margin-top: 22px; line-height: 1.3; }
.hero-rule b { font-weight: 400; font-size: clamp(44px, 5.3vw, 76px); color: var(--or); -webkit-text-stroke: 8px #fff; paint-order: stroke fill; text-shadow: 5px 5px 0 var(--bl-d); margin: 0 4px; vertical-align: -6px; }
.hero-case { position: relative; z-index: 2; justify-self: center; width: 100%; max-width: 440px; }
.hero-case-in { position: relative; }   /* 回転と影を外枠にかけると画像ごと粗く描き直されるので、影は img だけ・回転なし */
.hero-case-in > img:first-child { filter: drop-shadow(10px 14px 0 rgba(32, 43, 69, .22)); }
.hero-case-in .hpin { position: absolute; width: 16%; transform: translate(-50%, -64%); filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .25)); }
.hero-say { position: absolute; z-index: 3; left: 4%; bottom: -3%; white-space: nowrap; font-family: var(--body); font-weight: 700; font-size: 20px; line-height: 1.45; letter-spacing: .02em;   /* 11-26 ユーザー決定（D）。小さい太字でもつぶれにくい */ color: #fff; background: var(--or); padding: 10px 20px 12px; border-radius: 14px; box-shadow: var(--sh); }
.hero-say::before { content: ""; position: absolute; right: 34px; top: -14px; border: 9px solid transparent; border-bottom: 14px solid var(--or); border-top: 0; }
.spark { position: absolute; width: 70px; height: 70px; pointer-events: none; background:
  linear-gradient(var(--yel), var(--yel)) 50% 0/7px 26px no-repeat,
  linear-gradient(var(--yel), var(--yel)) 0 60%/24px 7px no-repeat,
  linear-gradient(var(--yel), var(--yel)) 100% 60%/24px 7px no-repeat; }
.spark--1 { left: -26px; top: -6px; transform: rotate(-24deg); }
.spark--2 { right: -16px; bottom: 26%; transform: rotate(150deg) scale(.8); }
.hero-arc { position: absolute; left: -15%; right: -15%; bottom: -2px; height: 110px; background: var(--paper); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }

/* ---- 見出し（ステップ） ---- */
.step { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 12px; font-family: var(--disp); font-weight: 400; font-size: 26px; line-height: 1.3; margin: 0 0 26px; }
.step i { font-style: normal; flex: none; display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: var(--or); color: #fff; font-size: 22px; align-items: center; justify-content: center; box-shadow: 3px 3px 0 var(--bl-d); }
.step span { font-family: var(--body); font-weight: 700; font-size: 14px; color: var(--sub); }
.step--first { position: relative; z-index: 2; margin-top: -84px; }

/* ---- 1 棚 ---- */
.shelf { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cell { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 8px 12px; border: 2.5px solid var(--ink); border-radius: 16px; background: #fff; cursor: pointer; font: inherit; color: inherit; box-shadow: 4px 4px 0 var(--ev, var(--or)); transition: transform .12s, box-shadow .12s; }
.cell:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ev, var(--or)); }
.cell .pin { width: 100%; max-width: 104px; aspect-ratio: 1; object-fit: contain; }
.cell b { font-size: 14px; font-weight: 700; line-height: 1.3; text-align: center; }
.cell small { font-size: 12px; font-weight: 700; color: var(--sub); }
.cell[aria-pressed="true"] { background: var(--cream); border-style: dashed; box-shadow: none; transform: none; }
.cell[aria-pressed="true"] .pin { opacity: .18; filter: grayscale(1); }
.cell[aria-pressed="true"]::after { content: "選択中"; position: absolute; top: 34%; left: 50%; transform: translate(-50%, -50%); font-family: var(--body); font-weight: 700; font-size: 15px; color: var(--or); border: 3px solid var(--or); border-radius: 8px; padding: 0 8px 2px; background: #fff; white-space: nowrap; }
.pin--ph { display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 3px dashed var(--line); background: var(--cream); color: var(--sub); font-size: 12px; font-weight: 700; line-height: 1.2; text-align: center; padding: 10%; }
.cell .pin--ph { width: 76%; }

/* 棚の吹き出し（カーソルを当てたイベントの情報） */
.tip { position: absolute; top: 0; left: 0; z-index: 40; width: max-content; max-width: calc(100vw - 24px); display: grid; grid-template-columns: 168px max-content; gap: 0 12px; align-items: start; background: #fff; border: 2.5px solid var(--ink); border-radius: 16px; box-shadow: 5px 5px 0 var(--ev, var(--or)); padding: 10px 10px 12px; pointer-events: none; opacity: 0; transform: translateY(6px); transition: opacity .15s, transform .15s; }
.tip.show { opacity: 1; transform: none; }
.tip::after { content: ""; position: absolute; left: var(--ax, 50%); bottom: -12px; width: 18px; height: 18px; margin-left: -9px; background: #fff; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg); border-radius: 0 0 4px 0; }
.tip.below::after { bottom: auto; top: -12px; transform: rotate(225deg); }
.tip-ban { position: relative; aspect-ratio: 16 / 9; border-radius: 9px; overflow: hidden; background: var(--cream); margin: 0; }
.tip-ban img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.tip-ban.tall::before { content: ""; position: absolute; inset: -20px; background: var(--img) center/cover; filter: blur(14px); opacity: .55; }
.tip-ban.tall img { object-fit: contain; }
.tip-name { contain: inline-size; display: block; font-weight: 700; font-size: 15px; line-height: 1.4; }
.tip-note { font-size: 13px; line-height: 1.6; margin-top: 4px; color: var(--ink); white-space: pre; }   /* 改行はユーザーが決めた位置だけ（紹介文_改行.md） */
.tip-pf { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 12px; font-weight: 700; color: var(--sub); }
.tip-pf img { width: 54px; }
@media (prefers-reduced-motion: reduce) { .tip { transition: none; transform: none; } }

/* ---- 2 ケース（画面の下に貼りつく。棚を過ぎたら元の位置に収まる） ---- */
.pick { padding-top: 96px; }
.case-zone { position: relative; }
.case-row { display: grid; grid-template-columns: 1fr minmax(0, 560px) 1fr; align-items: center; gap: 32px; }
.case-row .case { grid-column: 2; }
.case { position: relative; }
.case-img { width: 100%; filter: drop-shadow(8px 12px 0 rgba(32, 43, 69, .16)); }
.holes { position: absolute; inset: 0; }
.hole { position: absolute; width: 17%; aspect-ratio: 1; transform: translate(-50%, -66%); border: 0; background: none; padding: 0; border-radius: 50%; cursor: default; }
.hole.next::before { content: ""; position: absolute; left: 50%; top: 66%; width: 46%; aspect-ratio: 1.6; transform: translate(-50%, -50%); border: 2.5px dashed var(--or); border-radius: 50%; animation: blink 1.2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.hole.filled { cursor: pointer; }
.hole .pin { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .3)); }
.hole .pin--ph { font-size: 9px; padding: 6%; }
.hole.filled:hover .pin { transform: translateY(-3px); transition: transform .12s; }
.side { justify-self: start; }
.cnt { font-family: var(--disp); font-size: 52px; line-height: 1; color: var(--or); }
.cnt small { font-size: 20px; color: var(--sub); }
.msg { font-weight: 700; font-size: 14px; margin: 2px 0 6px; }
.reset { display: block; font: inherit; font-size: 12px; font-weight: 700; color: var(--sub); text-decoration: underline; background: none; border: 0; cursor: pointer; margin-top: 4px; }
.btn.go { display: none; }
.btn.go.show { display: inline-flex; animation: rise .4s ease-out; }
.btn.go { white-space: nowrap; }   /* 11-28 ユーザー「改行になってるの直して」（PC でケースの右の列が狭いと折り返していた） */
.go-ico { width: 18px; height: 18px; flex: none; }   /* 11-28 ユーザー「↓ は細くて見づらい。アイコンに」 */
.case.shake { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }
.stamp { position: absolute; left: 0; right: 0; bottom: -5%; display: none; justify-content: center; pointer-events: none; }
.stamp span { font-family: var(--disp); font-size: 36px; color: #fff; background: var(--or); border: 4px solid #fff; outline: 3px solid var(--or); border-radius: 14px; padding: 0 20px 6px; transform: rotate(-8deg); box-shadow: 6px 6px 0 var(--bl-d); }
.case.done .stamp { display: flex; }
.case.done .stamp span { animation: pop .5s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes pop { from { transform: rotate(-8deg) scale(2.2); opacity: 0; } to { transform: rotate(-8deg) scale(1); opacity: 1; } }
@keyframes rise { from { transform: translateY(8px); opacity: 0; } }
.snap { animation: snap .28s ease-out; }
@keyframes snap { 0% { transform: scale(1.2); } 60% { transform: scale(.92); } 100% { transform: scale(1); } }
.fly { position: fixed; z-index: 60; pointer-events: none; object-fit: contain; }

.arrow { height: 0; overflow: hidden; display: flex; flex-direction: column; align-items: center; color: var(--or); transition: height .3s; }
.arrow.show { height: 160px; padding-top: 64px; }
.arrow b { font-family: var(--body); font-weight: 700; font-size: 21px; letter-spacing: .06em; }
.arrow svg { animation: bob 1s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(7px); } }

/* ---- ボタン ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-family: var(--body); font-weight: 700; font-size: 15px; text-decoration: none; color: #fff; background: var(--or); border: 2.5px solid var(--ink); border-radius: 999px; padding: 9px 22px 10px; box-shadow: 3px 3px 0 var(--ink); cursor: pointer; transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn--bl { background: var(--bl); }
.btn--off { background: #E9EEF5; color: var(--sub); box-shadow: none; cursor: default; border-color: #C5D0E0; }
.btn--off:hover { transform: none; box-shadow: none; }
.tlink { font-weight: 700; color: var(--bl-d); }
.ext { display: inline-block; vertical-align: -1px; margin-left: 2px; }

/* ---- 3 予定（週の表） ---- */
.plan { padding-top: 80px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr) 1.3fr; gap: 6px; }
.cal .th { text-align: center; font-family: var(--disp); font-size: 17px; color: #fff; background: var(--bl); border-radius: 10px 10px 0 0; padding: 4px 0 6px; }
.cal .th.d5 { background: var(--bl-d); } .cal .th.d6 { background: var(--or); }
.cal .th.irr { background: var(--ink); font-family: var(--body); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.cal .col { min-height: 150px; background: #fff; border: 2px solid var(--line); border-top: 0; border-radius: 0 0 12px 12px; padding: 8px 6px; display: flex; flex-direction: column; gap: 6px; }
.cal .col.irr { background: var(--cream); }
.blk { position: relative; background: #fff; border: 2px solid var(--ev, var(--or)); border-left: 7px solid var(--ev, var(--or));   /* 11-29 ユーザー：枠は黒でなくイベントの色に */ border-radius: 8px; padding: 4px 6px 5px 8px; font-size: 12.5px; line-height: 1.35; font-weight: 700; }
.blk em { font-style: normal; font-family: var(--disp); font-weight: 400; font-size: 16px; display: block; color: var(--ink); }
.blk small { display: block; font-size: 11px; font-weight: 700; color: var(--sub); }
.blk.new { animation: rise .35s ease-out both; }
a.blk { display: block; color: inherit; text-decoration: none; cursor: pointer; transition: transform .12s, box-shadow .12s; }
a.blk:hover { transform: translate(-1px, -2px); box-shadow: 3px 3px 0 color-mix(in srgb, var(--ev, var(--or)) 62%, #000); }   /* 影はイベントの色を暗くした色（11-29 ユーザー） */
a.blk:focus-visible { outline: 3px solid var(--bl); outline-offset: 2px; }
/* 予定の表に戻るボタン（右下。気づける程度に・11-26 ユーザー） */
.back { position: fixed; right: 24px; bottom: 24px; z-index: 30; display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px 10px 10px; border: 2.5px solid var(--bl); border-radius: 999px; background: #fff; color: var(--bl-d); font-size: 15px; font-weight: 700; text-decoration: none; box-shadow: 3px 3px 0 var(--bl-d), 0 6px 16px rgba(32, 43, 69, .14); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .2s, transform .2s, background .15s, color .15s; }
.back.show { opacity: 1; transform: none; pointer-events: auto; animation: backIn .45s cubic-bezier(.2, 1.5, .4, 1); }
@keyframes backIn { from { transform: translateY(24px) scale(.9); } }
.back:hover { background: var(--bl); color: #fff; }
.back span { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; background: var(--bl); color: #fff; align-items: center; justify-content: center; font-size: 15px; }
.back:hover span { background: #fff; color: var(--bl); }
.back:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; }
/* 予定のチップから飛んできた欄を少し光らせる */
.ev.hit { animation: hit 2.2s ease-out; }
@keyframes hit { 0%, 35% { outline: 4px solid var(--or); outline-offset: 4px; background: var(--or-p); } 100% { outline: 4px solid transparent; outline-offset: 4px; background: #fff; } }
.empty { grid-column: 1 / -1; text-align: center; color: var(--sub); font-weight: 700; padding: 36px 16px; border: 3px dashed var(--line); border-radius: 16px; background: #fff; }
.cal.flash { outline: 4px solid var(--or); outline-offset: 6px; border-radius: 14px; }

/* ---- セクション見出し ---- */
.sec { padding: 120px 32px 0; }
.sec-h { text-align: center; margin-bottom: 40px; }
.sec-h > span { font-family: var(--disp); font-weight: 400; font-size: 32px; line-height: 1.25; padding: 6px 26px 10px; }
.sec-h b { font-weight: 400; font-size: 1.3em; color: var(--yel); }
.sec-h small { font-size: .62em; margin-left: 10px; background: #fff; color: var(--or); border-radius: 999px; padding: 0 10px 2px; vertical-align: 4px; }

/* 参加方法 */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; background: #fff; border: 2.5px solid var(--ink); border-radius: 18px; padding: 18px 10px 20px; box-shadow: 5px 5px 0 var(--bl); }
.steps li:not(:last-child)::after { content: ""; position: absolute; right: -16px; top: 50%; border: 9px solid transparent; border-left: 12px solid var(--or); border-right: 0; transform: translateY(-50%); }
.steps-no { font-family: var(--disp); font-size: 14px; color: var(--bl-d); }
.steps b { font-family: var(--disp); font-weight: 400; font-size: 22px; order: 3; }
.steps svg { width: 52px; height: 52px; color: var(--or); order: 2; }
.how-note { margin-top: 20px; text-align: center; font-weight: 700; color: var(--sub); }

/* 特典 */
.prize-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.prize { display: flex; flex-direction: column; background: #fff; border: 2.5px solid var(--ink); border-radius: 18px; padding: 22px 26px 24px; box-shadow: 5px 5px 0 var(--or); }
.prize-lab { align-self: flex-start; font-family: var(--body); font-weight: 700; font-size: 17px; color: #fff; background: var(--bl-d); border-radius: 999px; padding: 5px 20px 6px; }
.prize h3 { font-family: var(--disp); font-weight: 400; font-size: 30px; line-height: 1.4; margin: 14px 0 18px; color: var(--ink); }
.prize-vis { flex: 1; display: flex; align-items: center; justify-content: center; border-radius: 14px; overflow: hidden; margin: 0; }
.prize-vis--photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
/* 特典①：点線の丸の真ん中に大きな「？」（デザイン制作中・11-26 ユーザー） */
.prize-vis--pin { position: relative; min-height: 260px; background: var(--cream); }
.prize-vis--pin::before { content: ""; position: absolute; left: 50%; top: 50%; width: 200px; height: 200px; transform: translate(-50%, -50%); border: 3px dashed var(--bl); border-radius: 50%; background: #fff; }
.pin-q { position: relative; font-family: var(--disp); font-size: 110px; line-height: 1; color: var(--bl); }
.prize-wip { position: absolute; right: 14px; bottom: 12px; font-family: var(--body); font-weight: 700; font-size: 16px; color: var(--or); background: #fff; border: 2px solid var(--or); border-radius: 999px; padding: 3px 14px 4px; }
.prize-note { margin-top: 14px; text-align: center; font-weight: 700; font-size: 17px; color: var(--bl-d); }
.prize-sub { margin-top: 6px; font-size: 15px; font-weight: 700; color: var(--sub); text-align: center; }

/* 参加イベント（行の形＝案4：左にバナー＋情報／右に受け取り） */
.ev-list { list-style: none; display: grid; gap: 18px; }
.ev { display: grid; grid-template-columns: 256px minmax(0, 1fr) 280px; gap: 0 20px; background: #fff; border: 2.5px solid var(--ink); border-radius: 18px; padding: 16px; box-shadow: 5px 5px 0 var(--ev, var(--or)); }
.ev-ban { position: relative; display: block; width: 256px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--cream); border: 0; padding: 0; cursor: zoom-in; font: inherit; }
.ev-ban:hover img { transform: scale(1.04); } .ev-ban img { transition: transform .2s; }
.ev-zoom { position: absolute; right: 6px; bottom: 6px; display: inline-flex; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); align-items: center; justify-content: center; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
.ev-ban:focus-visible { outline: 3px solid var(--bl); outline-offset: 3px; }
/* 画像の拡大表示 */
.lb { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100vh; margin: 0; display: none; align-items: center; justify-content: center; cursor: zoom-out; }
.lb[open] { display: flex; }
.lb::backdrop { background: rgba(20, 26, 40, .82); }
.lb figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; cursor: default; }
.lb img { width: min(92vw, 1600px, calc(82vh * var(--ar, 1.7778))); height: auto; max-height: 82vh; object-fit: contain; border-radius: 12px; box-shadow: 0 10px 40px rgba(0, 0, 0, .45); }
.lb figcaption { color: #fff; font-weight: 700; font-size: 15px; }
.lb-x { position: fixed; top: 16px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 2px solid #fff; background: rgba(0, 0, 0, .35); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.ev-ban img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.ev-ban.tall::before { content: ""; position: absolute; inset: -20px; background: var(--img) center/cover; filter: blur(14px); opacity: .55; }
.ev-ban.tall img { object-fit: contain; }
.ev-no { font-family: var(--disp); font-size: 13px; color: var(--ink); letter-spacing: .06em; display: inline-flex; align-items: center; gap: 6px; }
.ev-no::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--ev, var(--or)); border: 1.5px solid var(--ink); }   /* テーマカラーは文字に使わない（淡い色が白地で読めない・11-14 の 3:1 ルール）＝印と影だけ */
.ev-name { font-size: 19px; font-weight: 700; line-height: 1.4; }
.ev-note { font-size: 14px; margin: 4px 0 8px; white-space: pre-line; }
.ev-meta { font-size: 13px; color: var(--sub); font-weight: 700; display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; }
.ev-meta dt { color: var(--ink); white-space: nowrap; }
.ev-meta dd { white-space: pre-line; }
.ev-rcv { border: 2px solid var(--line); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 8px; align-self: start; }
.ev-rcv-top { display: flex; align-items: center; gap: 10px; }
.ev-rcv-top .pin { width: 76px; height: 76px; object-fit: contain; flex: none; }
.ev-rcv-top .pin--ph { width: 76px; height: 76px; font-size: 10px; }
.ev-rcv .btn { font-size: 13px; padding: 7px 14px 8px; }
.ev-links { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; border-top: 1px dashed var(--line); padding-top: 8px; font-size: 12px; font-weight: 700; }
.ev-links a { text-decoration: none; border: 1.5px solid var(--ink); border-radius: 999px; padding: 1px 10px 2px; }
.ev-links img { width: 64px; margin-left: auto; }
.ev-links a.sns { border: 0; padding: 0 4px; height: 28px; display: inline-flex; align-items: center; color: var(--ink); transition: opacity .15s, transform .15s; }
.ev-links a.sns:hover { opacity: .6; transform: translateY(-1px); }
.ev-links .brand { width: 18px; height: 18px; fill: currentColor; }
.ev-links .brand.wide { width: 44px; height: 22px; }
.host { margin-top: 26px; display: flex; align-items: center; gap: 18px; background: var(--bl-p); border: 2.5px dashed var(--bl); border-radius: 18px; padding: 18px 24px; }
.host b { font-family: var(--body); font-weight: 700; font-size: 18px; white-space: nowrap; }
.host span { flex: 1; font-size: 14px; font-weight: 700; }

/* ケース */
.casesec { display: grid; grid-template-columns: 1fr 440px; gap: 40px; align-items: center; }
.casesec-h { font-family: var(--disp); font-weight: 400; font-size: 36px; line-height: 1.35; margin-bottom: 14px; }
.casesec-h em { font-style: normal; padding: 0 10px 4px; --band-sh: 4px 4px 0 var(--bl-d); }
.casesec-free { margin: 12px 0 18px; font-weight: 700; }
.casesec-free span { font-family: var(--body); font-weight: 700; font-size: 13px; color: #fff; background: var(--bl); border-radius: 999px; padding: 2px 12px 4px; margin-right: 8px; }
.casesec-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; }
.casesec-img { filter: drop-shadow(10px 14px 0 rgba(32, 43, 69, .18)); }

/* コンプリートしたら */
.report-card { display: flex; align-items: center; gap: 30px; background: var(--or-p); border: 2.5px solid var(--ink); border-radius: 22px; padding: 28px 34px; }
.report-card > div { flex: 1; }
.report-h { font-family: var(--disp); font-weight: 400; font-size: 26px; margin-bottom: 6px; }
.report-tag { font-size: 14px; color: var(--sub); font-weight: 700; margin-top: 6px; }
.report-tag a { color: var(--bl-d); font-weight: 700; }
.report-btn { font-size: 17px; padding: 13px 28px 14px; white-space: nowrap; }

/* FAQ */
.faq-list { display: grid; gap: 10px; max-width: 880px; margin: 0 auto; }
.qa { background: #fff; border: 2.5px solid var(--ink); border-radius: 14px; }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 12px 16px; font-weight: 700; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; margin-left: auto; font-family: var(--disp); font-size: 22px; color: var(--or); }
.qa[open] summary::after { content: "−"; }
.qa .q { flex: none; display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: var(--bl); color: #fff; font-family: var(--disp); align-items: center; justify-content: center; font-size: 15px; }
.qa p { padding: 0 18px 16px 58px; font-size: 15px; }

/* フッター：第1回のページと同じ中身。地は青 #3B82FF・文字は白（11-26 ユーザー）。ロゴは青に沈まないよう白い札に乗せる */
.foot { margin-top: 110px; padding: 44px 16px 46px; text-align: center; background: var(--bl); color: #fff; }
.foot-brand { display: flex; justify-content: center; align-items: center; gap: 18px; }
.foot-brand img { height: 52px; width: auto; box-sizing: content-box; padding: 10px 18px; background: #fff; border-radius: 16px; box-shadow: 4px 4px 0 var(--bl-d); }
.foot-brand p { text-align: left; font-size: 14px; font-weight: 700; color: #fff; line-height: 1.5; }
.foot-brand p a { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-size: 17px; text-decoration: none; }
.foot-brand p a:hover span { text-decoration: underline; }
.foot-x { width: 17px; height: 17px; fill: currentColor; }
.foot-note { margin-top: 18px; font-size: 14px; font-weight: 700; color: #fff; }
.foot-note a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.foot nav { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 14px; font-size: 14px; font-weight: 700; letter-spacing: .06em; }
.foot nav a { color: #fff; text-decoration: none; } .foot nav a:hover { text-decoration: underline; }
.foot nav span { color: rgba(255, 255, 255, .55); }
.foot-copy { margin-top: 10px; font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, .9); letter-spacing: .06em; }
.foot a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.cell:focus-visible, .hole:focus-visible, .btn:focus-visible, .qa summary:focus-visible { outline: 3px solid var(--bl); outline-offset: 3px; }

/* ---- 狭い画面 ---- */
@media (max-width: 1100px) {
  .shelf { grid-template-columns: repeat(4, 1fr); }
  .ev { grid-template-columns: 220px minmax(0, 1fr); } .ev-ban { width: 220px; } .ev-rcv { grid-column: 1 / -1; margin-top: 12px; flex-direction: row; align-items: center; } .ev-links { border: 0; padding: 0; margin-left: auto; }
}
@media (max-width: 700px) {
  body { font-size: 15px; }
  .wrap, .sec { padding-left: 16px; padding-right: 16px; }
  .bar { padding: 8px 16px; } .bar-logo img { width: 84px; } .bar-tag { font-size: 12px; }
  .hero { padding: 24px 0 96px; }
  .hero-in { grid-template-columns: 1fr; padding: 0 16px; gap: 6px; }
  .hero-en { font-size: 13px; }
  .hero-ttl { margin: 6px 0 12px; }
  .hero-vol { font-size: 24px; padding: 2px 12px 5px; margin-bottom: 6px; }
  .hero-name { font-size: 30px; padding: 4px 12px 8px; margin-left: 4px; --band-sh: 5px 5px 0 var(--bl-d); }
  .hero-period { border-width: 2.5px; white-space: nowrap; }
  .hero-period b { font-size: 14px; padding: 3px 10px 4px 8px; } .hero-period span { font-size: 11px; padding: 3px 8px 4px 10px; }
  .hero-rule { font-size: 18px; margin-top: 6px; line-height: 1.15; } .hero-rule b { font-size: 46px; -webkit-text-stroke: 6px #fff; text-shadow: 3px 3px 0 var(--bl-d); vertical-align: -4px; }
  .hero-case { max-width: 200px; margin-top: 2px; justify-self: end; margin-right: 0; }
  .spark--1 { display: none; }
  .hero-say { left: -172px; bottom: 6%; font-size: 14px; padding: 7px 12px 8px; }
  .hero-say::before { right: auto; left: auto; top: 50%; right: -16px; transform: translateY(-50%); border: 8px solid transparent; border-left: 12px solid var(--or); border-right: 0; }
  .spark--1 { left: -12px; transform: rotate(-24deg) scale(.7); }
  .hero-arc { height: 56px; left: -30%; right: -30%; }
  .step { font-size: 19px; gap: 2px 10px; } .step i { width: 34px; height: 34px; font-size: 18px; }
  .step { justify-content: flex-start; margin-bottom: 18px; }
  .step span { flex-basis: 100%; padding-left: 44px; font-size: 12px; }
  .step--first { margin-top: -52px; }
  .shelf { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .cell { padding: 8px 4px 8px; border-radius: 12px; border-width: 2px; box-shadow: 3px 3px 0 var(--ev, var(--or)); }
  .cell b { font-size: 12px; } .cell small { font-size: 10.5px; }
  .cell[aria-pressed="true"]::after { font-size: 13px; }
  .pick { padding-top: 64px; }
  .case-row { grid-template-columns: 1fr; gap: 40px; }
  .case-row .case { grid-column: 1; }
  .side { justify-self: stretch; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 14px; }
  .side .cnt { grid-row: span 2; } .side .go, .side .reset { grid-column: 1 / -1; justify-self: start; }
  .stamp { bottom: -6%; }
  .arrow.show { height: 130px; padding-top: 30px; } .arrow b { font-size: 18px; }
  .stamp span { font-size: 28px; padding: 0 10px 3px; border-width: 3px; outline-width: 2px; box-shadow: 3px 3px 0 var(--bl-d); }
  .cnt { font-size: 30px; } .cnt small { font-size: 15px; } .msg { font-size: 12px; }
  .go { font-size: 14px; }
  .cal { grid-template-columns: 58px 1fr; gap: 6px 0; }
  .cal .th { border-radius: 10px 0 0 10px; display: flex; align-items: center; justify-content: center; padding: 0; }
  .cal .th.irr { font-size: 12px; }
  .cal .col { min-height: 0; border-top: 2px solid var(--line); border-left: 0; border-radius: 0 10px 10px 0; flex-direction: row; flex-wrap: wrap; }
  .cal .col.none { min-height: 44px; background: var(--cream); }
  .blk { flex: 1 1 130px; }
  .sec { padding-top: 84px; }
  .plan { padding-top: 56px; }
  .sec-h > span { font-size: 20px; padding: 4px 14px 7px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 14px; } .steps li:nth-child(2)::after { display: none; }
  .steps b { font-size: 16px; }
  .prize-list { grid-template-columns: 1fr; gap: 14px; }
  .prize { padding: 18px 18px 20px; } .prize h3 { font-size: 23px; } .prize-lab { font-size: 15px; } .prize-vis--pin { min-height: 220px; } .prize-vis--pin::before { width: 170px; height: 170px; } .pin-q { font-size: 92px; }
  .ev { grid-template-columns: 1fr; padding: 12px; } .ev-ban { width: 100%; margin-bottom: 10px; }
  .ev-rcv { flex-direction: column; align-items: stretch; } .ev-links { margin-left: 0; }
  .host { flex-direction: column; align-items: flex-start; gap: 8px; }
  .casesec { grid-template-columns: 1fr; gap: 24px; } .casesec-h { font-size: 26px; } .casesec-img { max-width: 300px; justify-self: center; }
  .report-card { flex-direction: column; align-items: stretch; padding: 22px; gap: 16px; }
  .qa p { padding-left: 18px; }
  .foot-brand { flex-direction: column; gap: 10px; } .foot-brand p { text-align: center; }
  .back { right: 12px; bottom: 14px; font-size: 13px; padding: 7px 14px 8px 8px; } .back span { width: 22px; height: 22px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .back { transition: none; } .back.show { animation: none; }
  .ev.hit { animation: none; outline: 4px solid var(--or); outline-offset: 4px; }
  .snap, .case.shake, .case.done .stamp span, .blk.new, .go.show, .arrow svg, .hole.next::before { animation: none; }
  .arrow, .cell, .btn { transition: none; }
}

/* ---- ① 押せる札の印：指のアイコン（SVG Repo 512951・PD）。最初の 1 つを選ぶまで（11-28 ユーザー：文字でなく記号で） ---- */
.cell .tap { display: none; }
.shelf.hint .cell .tap { display: block; position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; color: var(--or); pointer-events: none; }
.tap-ico { position: relative; z-index: 1; display: block; width: 100%; height: 100%; fill: currentColor; filter: drop-shadow(0 0 1.5px #fff) drop-shadow(0 0 1.5px #fff); transform-origin: 45% 85%; }
.tap::before { content: ""; position: absolute; left: 44%; top: 26%; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; background: var(--or); opacity: 0; }
.shelf.hint-anim .tap-ico { animation: tapPress 1.3s ease-in-out var(--d, 0s) infinite; }
.shelf.hint-anim .tap::before { animation: tapRipple 1.3s ease-out var(--d, 0s) infinite; }
@keyframes tapPress { 0%, 100% { transform: translate(0, 0) scale(1); } 28% { transform: translate(-2px, 3px) scale(.86); } 42% { transform: translate(0, 0) scale(1); } }
@keyframes tapRipple { 0%, 24% { transform: scale(.3); opacity: 0; } 30% { opacity: .45; } 70%, 100% { transform: scale(1.6); opacity: 0; } }

/* ---- ② 飛ぶピンズの跡の点 ---- */
.trail { position: fixed; z-index: 59; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--ev, var(--or)); border: 2px solid #fff; pointer-events: none; }

/* ---- ② 画面の下の帯（文字なし：ケースの絵・8 つの丸・↓）。ケースが見えている間は隠す。11-28 ユーザー「今の 2 倍に」 ---- */
.dock { position: fixed; left: 50%; bottom: 18px; z-index: 31; width: max-content; display: inline-flex; align-items: center; gap: 24px; padding: 12px 16px 12px 20px; background: #fff; border: 3.5px solid var(--ink); border-radius: 999px; box-shadow: 5px 5px 0 var(--bl); text-decoration: none; color: var(--ink); opacity: 0; transform: translateX(-50%); pointer-events: none; transition: opacity .25s; }
.dock.show { opacity: 1; pointer-events: auto; }
.dock:hover { box-shadow: 7px 7px 0 var(--bl); }
.dock:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; }
.dock-case { display: block; width: 84px; height: auto; }
.dock-case.bump { animation: dockBump .5s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes dockBump { 0% { transform: scale(1); } 40% { transform: scale(1.35) rotate(-8deg); } 100% { transform: scale(1); } }
.dock-dots { display: grid; grid-template-columns: repeat(8, 22px); gap: 8px; }
.dock-dots i { display: block; width: 22px; height: 22px; box-sizing: border-box; border-radius: 50%; border: 3px solid var(--line); background: #fff; }
.dock-dots i.on { border-color: var(--ink); background: var(--ev); }
.dock-dots i.pop { animation: dotPop .45s ease-out; }
@keyframes dotPop { 0% { transform: scale(2); } 100% { transform: scale(1); } }
.dock-go { display: inline-flex; width: 60px; height: 60px; border-radius: 50%; background: var(--bl); color: #fff; align-items: center; justify-content: center; }
.dock-go svg { width: 30px; height: 30px; }
.dock.done { background: var(--or-p); box-shadow: 5px 5px 0 var(--or); }
.dock.done .dock-go { background: var(--or); }
.dock.done .dock-go svg { width: 36px; height: 36px; }
/* ケースに戻ってきたとき、見えていない間に入ったピンズを一瞬光らせる */
.hole .pin.glow { animation: pinGlow 1.4s ease-out; }
@keyframes pinGlow { 0%, 35% { filter: drop-shadow(0 0 4px #fff) drop-shadow(0 0 12px var(--yel)); transform: scale(1.12); } 100% { filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .3)); transform: scale(1); } }
@media (max-width: 700px) {
  .shelf.hint .cell .tap { width: 22px; height: 22px; top: 4px; right: 4px; }
  .tap::before { width: 20px; height: 20px; margin: -10px 0 0 -10px; }
  .dock { bottom: 14px; gap: 12px; padding: 8px 10px 8px 12px; border-width: 3px; box-shadow: 4px 4px 0 var(--bl); }
  body:has(.dock.show) .back { bottom: 104px; }
  .dock-case { width: 64px; }
  .dock-dots { grid-template-columns: repeat(8, 17px); gap: 5px; }
  .dock-dots i { width: 17px; height: 17px; border-width: 2.5px; }
  .dock-go { width: 48px; height: 48px; } .dock-go svg { width: 24px; height: 24px; } .dock.done .dock-go svg { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .shelf.hint-anim .tap-ico, .shelf.hint-anim .tap::before, .dock-case.bump, .dock-dots i.pop, .hole .pin.glow { animation: none; }
  .dock { transition: none; }
}

/* ---- ③ 予定の表の切り替え（11-29 ユーザー決定）：ケースに入れたイベント／第2回のすべて ---- */
.cal-tabs { display: flex; justify-content: center; gap: 0; margin: -6px auto 18px; width: max-content; max-width: 100%; border: 2.5px solid var(--ink); border-radius: 999px; overflow: hidden; background: #fff; box-shadow: 3px 3px 0 var(--bl); }
.cal-tab { font: inherit; font-family: var(--body); font-weight: 700; font-size: 15px; color: var(--ink); background: #fff; border: 0; padding: 9px 20px 10px; cursor: pointer; }
.cal-tab + .cal-tab { border-left: 2.5px solid var(--ink); }
.cal-tab[aria-pressed="true"] { background: var(--bl); color: #fff; }
.cal-tab:focus-visible { outline: 3px solid var(--or); outline-offset: -5px; }

/* ---- 第1回へのバナー（予定の表のすぐ下・全体がリンク・ボタンなし・2027-02-01 から出さない） ----
   11-29 ユーザー：A スタンプ台紙（クリームの紙・オレンジの点線・ピンズは台紙の丸い穴に）。日付のスタンプは大きく・少し傾ける（ユーザー指定） */
.v1-banner { position: relative; display: flex; align-items: center; gap: 28px; margin: 34px 0 0; padding: 22px 36px; color: var(--ink); text-decoration: none;
  background: #FFFBF0; border: 3px solid var(--or); border-radius: 22px; box-shadow: 6px 6px 0 #FFC9A0; transition: transform .12s, box-shadow .12s; }   /* 11-29 ユーザー：内側の点線は無し・塗りを線まで。黒い線はやめてオレンジの線＋淡いオレンジの影 */
.v1-banner[hidden] { display: none; }
.v1-banner:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 #FFC9A0; }
.v1-banner:focus-visible { outline: 3px solid var(--bl); outline-offset: 6px; }
/* ピンズ：2 段・下の段を半分右へずらして斜めに（11-29 ユーザーが D を選択）。穴は無し・白いふち＋影で紙の上に浮かせる。ピンズは回さない */
.v1-pins { flex: none; display: grid; grid-template-columns: repeat(4, 80px); column-gap: 8px; padding-right: 44px; }
.v1-pins img { display: block; width: 80px; height: 80px; object-fit: contain;
  filter: drop-shadow(1.5px 0 0 #fff) drop-shadow(-1.5px 0 0 #fff) drop-shadow(0 1.5px 0 #fff) drop-shadow(0 -1.5px 0 #fff) drop-shadow(0 3px 3px rgba(60, 30, 0, .28)); }
.v1-pins img:nth-child(n+5) { transform: translateX(44px); margin-top: -14px; }
.v1-text { flex: 1; min-width: 330px; display: flex; flex-direction: column; gap: 10px; }
.v1-text b { font-family: var(--disp); font-weight: 400; font-size: 26px; line-height: 1.25; }   /* 「第1回スタンプラリーも／開催中！」の 2 行に固定（Codex d1 の 1） */
.v1-text b em { font-style: normal; color: var(--or); }
.v1-text .nb { display: inline-block; }
.v1-text > span { font-size: 16px; font-weight: 700; line-height: 1.6; color: #53627A; }
.v1-stamp { flex: none; width: 138px; height: 138px; display: grid; place-items: center; text-align: center; color: var(--or); transform: rotate(-12deg); margin: -10px 0 -10px auto; }
.v1-stamp::before { content: ""; position: absolute; width: 138px; height: 138px; border: 5px solid var(--or); border-radius: 50%; box-shadow: inset 0 0 0 5px #FFFBF0, inset 0 0 0 8px var(--or); }
.v1-stamp i { position: relative; font-style: normal; font-family: var(--disp); font-size: 40px; line-height: 1; }
.v1-stamp i small { display: block; font-size: 20px; margin-top: 4px; }
@media (max-width: 1100px) {
  .v1-banner { flex-wrap: wrap; }
}
@media (max-width: 700px) {
  .cal-tabs { width: 100%; }
  .cal-tab { flex: 1; font-size: 13px; padding: 9px 6px 10px; }
  .v1-banner { gap: 20px; padding: 20px 20px; margin: 28px 0 0; }
  .v1-text { order: -1; min-width: 0; }
  .v1-pins { grid-template-columns: repeat(4, 68px); column-gap: 6px; padding-right: 37px; margin: 0 auto; }
  .v1-pins img { width: 68px; height: 68px; } .v1-pins img:nth-child(n+5) { transform: translateX(37px); margin-top: -10px; }

  .v1-text { flex-basis: 100%; }
  .v1-text b { font-size: 21px; }
  .v1-text > span { font-size: 14.5px; }
  /* スマホは 見出し・下の行 → ピンズ → スタンプ（ピンズの下に右寄せ）。11-29 Codex d1 の 9 */
  .v1-stamp { margin: -8px 4px -6px auto; }
  .v1-stamp, .v1-stamp::before { width: 104px; height: 104px; }
  .v1-stamp i { font-size: 28px; } .v1-stamp i small { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .v1-banner { transition: none; } }
