/* 会場トップの開催情報（event/partials/show-v2-info・2026-10-18 UI提案）。
   PC＝シアター直下の帯の中に白い枠1つ（開催日・会場・参加費を横に並べ、右に参加登録）。
   携帯＝枠を外して行を縦に並べ、参加登録は横幅いっぱい。下へ流れたら画面下に小さく残す（.cv2-sticky）。 */
.cv2-info-band{
  background:linear-gradient(120deg,var(--theme-p1,#0A1F3C) 0%,var(--theme-p2,#0E5A78) 100%);
  padding:14px clamp(16px,3vw,48px);
}
.cv2-info{
  max-width:1560px; margin:0 auto; box-sizing:border-box;
  display:flex; align-items:center; gap:24px;
  background:var(--cp-surface,#fff); color:var(--cp-ink,#1f2d3d);
  border-radius:16px; padding:12px 14px 12px 24px;
  box-shadow:0 10px 28px rgba(10,31,60,.28);
}
.cv2-info__rows{ flex:0 1 auto; min-width:0; display:flex; flex-wrap:wrap; gap:8px 36px; margin:0; }
.cv2-info__row{ display:flex; align-items:baseline; gap:10px; min-width:0; }
.cv2-info__row dt{ flex:0 0 auto; display:inline-flex; align-items:baseline; gap:8px; margin:0; font-size:13px; font-weight:700; color:var(--cp-muted,#5b6e89); }
.cv2-info__row dt i{ color:var(--theme-p2,#0E5A78); font-size:16px; width:18px; text-align:center; }
.cv2-info__row dd{ margin:0; min-width:0; font-size:17px; font-weight:700; color:var(--theme-p1,#0A1F3C); line-height:1.45; }
.cv2-info__row dd small{ display:block; font-size:13px; font-weight:400; color:var(--cp-muted,#5b6e89); }
.cv2-info__act{ flex:0 0 auto; display:flex; flex-direction:column; align-items:flex-start; gap:6px; margin-left:16px; }
/* ★参加登録は情報のすぐ右に置き、枠の右端には寄せない（画面右下のお問合せボタンと重ならないように）。 */
.cv2-info__ok{ color:#047857; font-weight:700; font-size:15px; display:inline-flex; align-items:center; gap:6px; }
/* ★ボタン風リンクは共通のリンク色に文字色を奪われるため !important で白を固定する（CLAUDE.md ボタン・CTAの文字色）。 */
.cv2-info__cta, .cv2-info__cta:hover, .cv2-info__cta:focus, .cv2-info__cta:visited{
  color:#fff !important; text-decoration:none !important;
}
.cv2-info__cta{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-height:52px; padding:0 28px; border:0; border-radius:999px; white-space:nowrap;
  font-weight:900; font-size:17px; line-height:1;
  background:linear-gradient(135deg,var(--theme-p2,#0E5A78) 0%,var(--cp-p3-dim,#11748F) 100%);
  box-shadow:0 8px 20px rgba(14,90,120,.30);
  transition:transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.cv2-info__cta:hover{ filter:brightness(1.08); box-shadow:0 10px 24px rgba(14,90,120,.38); }
.cv2-info__cta:active{ transform:scale(.97); }
.cv2-info__cta:focus-visible{ outline:3px solid var(--theme-p3,#1591B3); outline-offset:3px; }
.cv2-info__cta.is-off, .cv2-info__cta.is-off:hover{
  background:#e5e9ee; color:#5A6572 !important; box-shadow:none; filter:none; cursor:not-allowed; transform:none; font-size:15px;
}
.cv2-info__sub, .cv2-info__sub:hover, .cv2-info__sub:visited{ text-decoration:none !important; color:var(--theme-p2,#0E5A78) !important; }
.cv2-info__sub{
  display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:48px; padding:0 22px;
  border:2px solid var(--theme-p2,#0E5A78); border-radius:999px; background:var(--cp-surface,#fff);
  font-weight:700; font-size:15px; white-space:nowrap; transition:background .15s ease, transform .15s ease;
}
.cv2-info__sub:hover{ background:color-mix(in srgb,var(--theme-p3,#1591B3) 10%,#fff); }
.cv2-info__sub:active{ transform:scale(.97); }

/* 中くらいの幅：参加登録を次の行へ。 */
@media (min-width:768px) and (max-width:1199.98px){
  .cv2-info{ flex-wrap:wrap; }
  .cv2-info__rows{ flex-basis:100%; }
  .cv2-info__act{ margin-left:0; }
}

/* 携帯：外側の帯と枠を外し、白地に行を並べる（区切り線は行の下に1本）。左右の余白は16px。 */
@media (max-width:767.98px){
  .cv2-info-band{ background:var(--cp-surface,#fff); padding:0; }
  .cv2-info{ display:block; border-radius:0; box-shadow:none; padding:4px 16px 16px; }
  .cv2-info__rows{ display:block; }
  .cv2-info__row{ display:grid; grid-template-columns:auto 1fr; gap:10px; padding:10px 0; border-bottom:1px solid color-mix(in srgb,var(--theme-p3,#1591B3) 14%,#e9edf2); }
  .cv2-info__row dt{ width:5.6em; }
  .cv2-info__row dd{ font-size:15px; }
  .cv2-info__act{ display:flex; flex-direction:column; align-items:stretch; gap:10px; margin:14px 0 0; }
  .cv2-info__cta, .cv2-info__sub{ width:100%; }
}

/* 置き場所（2026-11-15 オーナー指示「シアターとメニューのあいだは格好よくない」）。
   PC：題の表紙があれば題の下（components/venue-cover の .vcv__info）、無ければシアターの下の端に半透明で重ねる（--pc）。
   携帯：メニューの下（--sp）。形ごとに、もう一方の幅では表示しない。 */
.cv2-hero{ position:relative; }
@media (min-width:768px){
  .cv2-info-band--sp{ display:none !important; }
  /* 下の端から 34px 上げ、スライドを切り替える点（シアターの下の端）にかぶせない */
  .cv2-info-band--pc{ position:absolute; left:0; right:0; bottom:34px; z-index:6; padding:0 clamp(16px,3vw,48px); background:none; }
  /* 地は薄く、すりガラスのぼかしで文字を読みやすくする（2026-11-16 オーナー指摘「シアターに重なる部品が濃すぎる」・.58→.32） */
  .cv2-info-band--pc .cv2-info{ max-width:1200px; background:rgba(6,30,44,.32); -webkit-backdrop-filter:blur(10px) saturate(1.15); backdrop-filter:blur(10px) saturate(1.15);
    border:1px solid rgba(255,255,255,.26); box-shadow:none; color:#fff; text-shadow:0 1px 2px rgba(0,0,0,.35); }
  .cv2-info-band--pc .cv2-info__cta, .cv2-info-band--pc .cv2-info__sub{ text-shadow:none; }
  .cv2-info-band--pc .cv2-info__row dt, .cv2-info-band--pc .cv2-info__row dt i{ color:#cfe3ee; }
  .cv2-info-band--pc .cv2-info__row dd{ color:#fff; }
  .cv2-info-band--pc .cv2-info__row dd small{ color:#cfe3ee; }
  .cv2-info-band--pc .cv2-info__ok{ color:#a7f3d0; }
  .cv2-info-band--pc .cv2-info__cta, .cv2-info-band--pc .cv2-info__cta:hover, .cv2-info-band--pc .cv2-info__cta:focus, .cv2-info-band--pc .cv2-info__cta:visited{
    background:#fff; color:var(--theme-p2,#0E5A78) !important; box-shadow:none; }
  .cv2-info-band--pc .cv2-info__cta.is-off, .cv2-info-band--pc .cv2-info__cta.is-off:hover{ background:rgba(255,255,255,.2); color:#eef4f8 !important; }
  .cv2-info-band--pc .cv2-info__sub, .cv2-info-band--pc .cv2-info__sub:hover, .cv2-info-band--pc .cv2-info__sub:visited{
    background:transparent; border-color:rgba(255,255,255,.8); color:#fff !important; }
}
@media (max-width:767.98px){ .cv2-info-band--pc{ display:none !important; } }

/* 携帯で開催情報が上へ流れたときの下の帯。出入りはフェード（瞬間表示にしない）。PC では出さない。 */
.cv2-sticky{ display:none; }
@media (max-width:767.98px){
  .cv2-sticky{
    display:flex; align-items:center; gap:10px;
    position:fixed; left:0; right:0; bottom:0; z-index:1030;
    padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));
    background:var(--cp-surface,#fff); border-top:1px solid color-mix(in srgb,var(--theme-p3,#1591B3) 20%,#d5e0e8);
    box-shadow:0 -6px 18px rgba(10,31,60,.15);
    font-size:13px; color:var(--cp-muted,#5b6e89);
    opacity:0; visibility:hidden; transform:translateY(8px);
    transition:opacity .15s ease-out, transform .15s ease-out, visibility 0s linear .15s;
  }
  .cv2-sticky.is-on{ opacity:1; visibility:visible; transform:none; transition:opacity .15s ease-out, transform .15s ease-out, visibility 0s; }
  .cv2-sticky__t{ min-width:0; flex:1 1 auto; }
  .cv2-sticky__t b{ display:block; font-size:15px; color:var(--theme-p1,#0A1F3C); }
  .cv2-sticky .cv2-info__cta{ width:auto; min-height:44px; padding:0 20px; font-size:15px; }
}
@media (prefers-reduced-motion:reduce){
  .cv2-sticky, .cv2-sticky.is-on, .cv2-info__cta, .cv2-info__sub{ transition:none; }
}
html[data-theme="dark"] .cv2-info__ok{ color:#34d399; }
@media print{ .cv2-sticky{ display:none !important; } }
/* 下の帯が出ている間は、文字の大きさの切替を帯の上へ逃がす（重ねない）。 */
@media (max-width:767.98px){ html.cv2-sticky-on .cpdd{ bottom:calc(var(--cv2-sticky-h, 70px) + 8px) !important; } }
/* 帯が出ているあいだは、ページの一番下（下の帯の中＝帯の地の色のまま）に帯の高さぶんのすき間を足す（下の帯の言語のボタン等が帯の裏に隠れないように・2026-10-27）。
   高さは venue-info.js が実測して --cv2-room に入れる（帯＋その上に浮く文字の大きさの切替）。帯が出ていないとき・PC では足さない。 */
@media (max-width:767.98px){
  html.cv2-sticky-on footer.footer::after,
  html.cv2-sticky-on body:not(:has(footer.footer))::after{ content:""; display:block; height:var(--cv2-room, var(--cv2-sticky-h, 70px)); }
}
