/* AI DEEP LIVE — 告知サイト共通スタイル */

:root {
  --bg: #080b14;
  --bg-soft: #0e1424;
  --card: #121a2e;
  --card-hover: #17203a;
  --border: #223052;
  --text: #e9edf7;
  --text-dim: #97a3bd;
  --text-faint: #6b7794;
  --accent: #5b9dff;
  --accent-soft: #2a4a86;
  --accent-glow: rgba(91, 157, 255, 0.15);
  --live: #ff6b4a;
  --radius: 14px;
  --maxw: 860px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP",
    "Yu Gothic UI", "Meiryo", sans-serif;
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
}

a { color: var(--accent); }

img { max-width: 100%; height: auto; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- ヘッダー ---------- */

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(8, 11, 20, 0.85);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 9px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
  font-size: 15px;
}

.brand small {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-faint);
  letter-spacing: 0.02em;
}

.header-link {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
}

.header-link:hover { color: var(--accent); }

/* ---------- ヒーロー ---------- */

.hero {
  padding: 64px 0 40px;
  background:
    radial-gradient(ellipse 700px 320px at 50% -10%, var(--accent-glow), transparent 70%);
}

.hero h1 {
  margin: 0 0 6px;
  font-size: clamp(30px, 8vw, 52px);
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.hero .byline {
  margin: 0 0 20px;
  color: var(--text-faint);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.hero .tagline {
  margin: 0;
  color: var(--text-dim);
  max-width: 34em;
  font-size: 15px;
}

/* ---------- セクション ---------- */

section { padding: 40px 0; }

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--text-faint);
  text-transform: uppercase;
}

.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ---------- イベントカード（一覧） ---------- */

.event-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.event-card {
  display: block;
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.event-card:hover {
  background: var(--card-hover);
  border-color: var(--accent-soft);
  transform: translateY(-2px);
}

.event-card .meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--text-dim);
}

.date-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 3px 11px;
  background: var(--accent-soft);
  color: #dbe9ff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.03em;
}

.tag {
  padding: 2px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 11px;
  color: var(--text-faint);
}

.event-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.45;
}

.event-card .sub {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}

.event-card .more {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}

.past .event-card { opacity: 0.62; }
.past .event-card:hover { opacity: 1; }

.empty {
  padding: 24px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-faint);
  font-size: 14px;
  text-align: center;
}

/* ---------- イベント詳細ページ ---------- */

.event-hero { padding: 48px 0 8px; }

.back-link {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
}

.back-link:hover { color: var(--accent); }

.event-hero h1 {
  margin: 14px 0 10px;
  font-size: clamp(25px, 6vw, 38px);
  line-height: 1.35;
}

.event-hero .sub {
  margin: 0 0 24px;
  font-size: clamp(15px, 3.4vw, 18px);
  color: var(--text-dim);
  line-height: 1.65;
}

.lead {
  margin: 0;
  padding: 18px 20px;
  background: var(--bg-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  font-size: 15px;
}

.facts {
  display: grid;
  gap: 1px;
  margin: 28px 0 0;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.facts div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding: 13px 18px;
  background: var(--card);
  font-size: 14px;
}

.facts dt {
  margin: 0;
  min-width: 5.5em;
  color: var(--text-faint);
  font-size: 13px;
}

.facts dd { margin: 0; }

.prose p { margin: 0 0 1.1em; }
.prose p:last-child { margin-bottom: 0; }

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.72em;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.note {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--text-faint);
  line-height: 1.7;
}

/* ---------- 登壇者 ---------- */

.person {
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
}

.person h3 {
  margin: 0 0 2px;
  font-size: 18px;
}

.person h3 span {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-faint);
}

.person .role {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--accent);
}

.person .bio {
  margin: 0;
  font-size: 14px;
  color: var(--text-dim);
}

.person .links {
  margin-top: 10px;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.role-label {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}

/* ---------- チケット ---------- */

.tickets {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tickets li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 14px;
  padding: 14px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.tickets .name { font-weight: 700; font-size: 15px; }
.tickets .note { display: block; font-size: 12px; color: var(--text-faint); font-weight: 400; }
.tickets .price { font-size: 17px; font-weight: 700; color: var(--accent); white-space: nowrap; }

/* ---------- CTA ＋ QR ---------- */

.cta {
  margin: 8px 0 0;
  padding: 28px 24px;
  background: linear-gradient(160deg, var(--card), var(--bg-soft));
  border: 1px solid var(--accent-soft);
  border-radius: var(--radius);
  text-align: center;
}

.cta h2 {
  margin: 0 0 6px;
  font-size: 19px;
}

.cta p {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--text-dim);
}

.btn {
  display: inline-block;
  padding: 14px 34px;
  background: var(--accent);
  color: #05203f;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border-radius: 999px;
  transition: filter 0.15s, transform 0.15s;
}

.btn:hover { filter: brightness(1.1); transform: translateY(-1px); }

.qr {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.qr img {
  width: 148px;
  height: 148px;
  border-radius: 10px;
  background: #fff;
  padding: 8px;
  display: block;
  margin: 0 auto 10px;
}

.qr figcaption {
  font-size: 12px;
  color: var(--text-faint);
  line-height: 1.6;
}

/* ---------- フッター ---------- */

.site-footer {
  margin-top: 48px;
  padding: 32px 0 44px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-faint);
}

.site-footer a { color: var(--text-dim); }

.site-footer .hosts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.site-footer .hosts strong { color: var(--text); font-weight: 600; }

/* ---------- レスポンシブ ---------- */

@media (min-width: 600px) {
  .event-card { padding: 26px 28px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 599px) {
  /* 狭い画面ではブランド名の折り返しを避けるため副題を落とす */
  .brand small { display: none; }
  .brand { font-size: 14px; }
  .header-link { font-size: 12px; }
  .hero { padding: 44px 0 28px; }
  section { padding: 32px 0; }
  .facts div { flex-direction: column; gap: 2px; }
  .facts dt { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
