/* ===== イベント告知：見出しの上の 1 行（p）／最上部の帯（t） ===== */
:root{ --ev-blue:#0063d4; --ev-ink:#1d2a3a; --ev-sub:#5c6b7a;
  /* 帯と日付の札のグラデーション。流すために左右対称に並べ、幅 200% で動かす */
  --kx-flow:linear-gradient(90deg,#3190FD 0%,#8A5CF0 27.5%,#E64F98 50%,#8A5CF0 72.5%,#3190FD 100%);
  --kx-violet:#6f45e0; }
/* p：見出しの上の 1 行 */
.ev-p-wrap{display:flex;justify-content:center;margin:-32px 0 18px;opacity:0;animation:evIn .9s 2.2s cubic-bezier(.22,1,.36,1) forwards}
.ev-p{display:inline-flex;align-items:center;gap:18px;padding:5px 12px 5px 5px;border-radius:999px;background:#fff;
  border:1px solid rgba(138,92,240,.18);box-shadow:0 1px 2px rgba(40,20,100,.05),0 10px 28px rgba(138,92,240,.10);
  color:var(--ev-ink) !important;text-decoration:none;font-size:17px;line-height:1;word-break:keep-all;transition:border-color .25s,box-shadow .25s}
.ev-p:hover{border-color:rgba(138,92,240,.36);box-shadow:0 1px 2px rgba(40,20,100,.05),0 12px 32px rgba(138,92,240,.18)}
.ev-p-tag{display:inline-flex;align-items:baseline;gap:7px;padding:10px 17px;border-radius:999px;background:var(--kx-flow);background-size:200% 100%;animation:kxFlow 14s linear infinite;color:#fff;
  font-family:var(--font-en);font-weight:700;font-size:16.5px;letter-spacing:.02em}
.ev-p-tag i{font-style:normal;font-weight:600;font-size:13px;letter-spacing:.08em;opacity:.85}
.ev-p-txt{letter-spacing:.03em}
.ev-p-go{display:inline-flex;align-items:center;gap:4px;padding-left:18px;border-left:1px solid rgba(138,92,240,.2);color:var(--kx-violet);font-weight:bold;font-size:16px;height:22px}
.ev-p-go svg{width:17px;height:17px;transition:transform .25s}
.ev-p:hover .ev-p-go svg{transform:translateX(3px)}
.home .kv-section .mv-ttl{margin-bottom:26px}

/* h：スクロールして出るヘッダーの下に付く細い帯（ヘッダーと一緒に出る） */
.ev-h{position:absolute;top:100%;left:0;right:0;display:flex;justify-content:center;align-items:center;height:40px;background:var(--kx-flow);background-size:200% 100%;animation:kxFlow 14s linear infinite;color:#fff;font-size:13.5px;font-weight:600;text-shadow:0 1px 3px rgba(30,10,70,.35);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 8px 18px rgba(90,40,160,.14);
  transform:none;opacity:1;visibility:visible;transition:transform .55s cubic-bezier(.22,1,.36,1) .08s,opacity .4s ease .08s,visibility 0s}
/* ヘッダーと一緒に、帯がすっと下りてくる */
.c-header.is-top .ev-h{transform:translateY(-14px);opacity:0;visibility:hidden;pointer-events:none;transition:transform .3s ease,opacity .2s ease,visibility 0s .3s}
.c-header.is-open .ev-h, body.ev-h-closed .ev-h{display:none}
.ev-h-link{display:inline-flex;align-items:center;gap:14px;color:#fff !important;text-decoration:none;letter-spacing:.03em;word-break:keep-all;white-space:nowrap}
.ev-h-link b{font-weight:bold}
.ev-h-link .en{font-family:var(--font-en);font-weight:600;letter-spacing:.04em}
.ev-h .sep{width:1px;height:12px;background:rgba(255,255,255,.5)}
.ev-h .go{display:inline-flex;align-items:center;gap:3px;margin-left:10px;padding:5px 10px 5px 14px;border-radius:999px;background:#fff;color:var(--kx-violet);font-weight:bold;font-size:13px;line-height:1;text-shadow:none;box-shadow:0 0 0 1px rgba(255,255,255,.9),0 2px 10px rgba(60,20,120,.26)}
.ev-h .go svg{width:13px;height:13px;transition:transform .25s}
.ev-h-x{position:absolute;right:18px;top:50%;transform:translateY(-50%);width:28px;height:28px;border:0;border-radius:50%;background:transparent;color:#fff;cursor:pointer;display:grid;place-items:center;opacity:.8}
.ev-h-x:hover{opacity:1;background:rgba(255,255,255,.14)}
.ev-h-x svg{width:16px;height:16px}
.ev-h-x{opacity:.95;width:32px;height:32px}
.c-header.is-top .ev-h{animation-play-state:paused}
.ev-h-link:hover .go svg{transform:translateX(3px)}

@keyframes kxFlow{from{background-position:0% 50%}to{background-position:-200% 50%}}
@keyframes evIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.ev-p-wrap{animation:none;opacity:1}.ev-p-tag,.ev-h{animation:none}.ev-h,.c-header.is-top .ev-h{transition:none;transform:none}}

/* タブレット幅：帯から会場を外す */
@media (max-width:1100px){
  .ev-h-link>.sep:nth-of-type(3),.ev-h-link>span:nth-of-type(4){display:none}
}
/* スマホ幅：帯は日付と登録の入り口だけ、見出しの上の 1 行は 2 段に */
@media (max-width:767px){
  .ev-h{font-size:12px}
  .ev-h-link{gap:8px;padding-left:12px;padding-right:36px}
  .ev-h-link b,.ev-h-link>.sep,.ev-h-link>span:nth-of-type(4){display:none}
  .ev-h .go{margin-left:0;font-size:11.5px;padding:4px 7px 4px 10px}
  .ev-h-x{right:6px}
  .ev-p-wrap{margin:14px 16px 14px;position:relative;z-index:2}
  .ev-p{flex-wrap:wrap;justify-content:center;gap:8px 10px;padding:10px 14px;border-radius:20px;font-size:14px;line-height:1.5;text-align:center}
  .ev-p-tag{padding:7px 13px;font-size:14px}
  .ev-p-go{order:3;flex-basis:100%;justify-content:center;padding-left:0;border-left:0;font-size:14px;height:auto}
}
