/* =========================================
   common.css (メーゼンLIVE配信 共通デザイン)
   ========================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy:     #0F172A;
  --navy-dk:  #020617;
  --blue:     #2563EB;
  --blue-dk:  #1D4ED8;
  --blue-lt:  #EFF6FF;
  --sky:      #0284C7;
  --amber:    #F59E0B;
  --amber-lt: #FEF3C7;
  --emerald:  #059669;
  --emerald-lt: #D1FAE5;
  --bg:       #F8FAFC;
  --bg-alt:   #F1F5F9;
  --text:     #1E293B;
  --muted:    #64748B; /* #4b5769 */
  --err:      #E11D48;
  --p-border: #E2E8F0;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; touch-action: manipulation;}
body {
  font-family: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 2.0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── NAV ── */
nav {
  background: #fff;
  border-bottom: 1px solid var(--p-border);
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 40;
}
.nav-inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(to top right, var(--navy) 0%, #312E81 55%, var(--blue) 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700; font-size: 16px; letter-spacing: 0.025em;
  box-shadow: 0 1px 5px rgba(15,23,42,0.2);
  transition: transform 0.2s;
}
.nav-logo:hover .nav-logo-icon { transform: scale(1.06); }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.25; flex-shrink: 0; }
.nav-logo-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 18px;
  color: var(--navy); letter-spacing: -0.025em;
  white-space: nowrap;
}
.nav-logo-sub {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px; font-weight: 600;
  color: var(--muted); letter-spacing: 0.1em;
  text-transform: uppercase; margin-top: 1px;
  white-space: nowrap;
}
.nav-back {
  font-size: 12px; color: var(--muted);
  text-decoration: none; letter-spacing: 0.04em;
  display: flex; align-items: center; gap: 6px;
  transition: color 0.2s;
}
.nav-back:hover { color: var(--blue); }

/* ── HERO STRIP ── */
.page-header {
  background: var(--bg);
  padding: 44px 20px 12px;
  text-align: center;
  position: relative;
}
.page-header-eyebrow {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.15em;
  color: var(--blue); text-transform: uppercase;
  background: var(--blue-lt);
  border: 1px solid rgba(37,99,235,0.15);
  padding: 5px 16px; border-radius: 20px;
  margin-bottom: 16px;
  font-weight: 700;
}
.page-header-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue-lt);
  border: 1px solid rgba(37,99,235,0.15);
  color: var(--blue);
  margin-bottom: 16px;
}
.page-header h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(21px, 3.5vw, 30px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 10px;
  white-space: pre-line;
}
.page-header-sub {
  font-size: 14px;
  color: var(--muted);
}

/* ── マイページ: アカウントメニュー(nav右側に配置) ── */
.nav-account { position: relative; flex-shrink: 0; }
.account-trigger {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--p-border);
  border-radius: 999px; padding: 6px 16px 6px 8px;
  cursor: pointer; white-space: nowrap;
  font-family: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif;
  font-size: 13px; font-weight: 700; color: var(--navy);
  transition: border-color 0.2s;
}
.account-trigger:hover { border-color: var(--blue); }
.account-trigger-icon {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: var(--blue-lt); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.account-menu {
  display: none;
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 240px;
  background: #fff; border: 1px solid var(--p-border);
  border-radius: 16px; padding: 16px;
  box-shadow: 0 12px 32px rgba(15,23,42,0.14);
  text-align: left;
}
.account-menu.open { display: block; }
.account-menu-row { margin-bottom: 12px; }
.account-menu-label {
  display: block; font-size: 11px; color: var(--muted);
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 2px;
}
.account-menu-value { display: block; font-size: 14px; color: var(--navy); font-weight: 600; word-break: break-all; }
.account-menu-mypage { display: block; width: 100%; text-align: center; margin-top: 4px; }
.account-menu-logout { display: block; width: 100%; text-align: center; margin-top: 8px; }
@media (max-width: 480px) {
  .account-trigger span:not(.account-trigger-icon) { display: none; }
  .account-trigger { padding: 6px; }
}

/* ── MAIN ── */
main {
  flex: 1;
  max-width: 680px;
  margin: 0 auto;
  padding: 36px 20px 72px;
  width: 100%;
}
main.wide { max-width: 760px; }

/* ── マイページ: タブ + お知らせ ── */
.mypage-tabbar {
  display: flex; gap: 4px;
  border-bottom: 1px solid var(--p-border);
  margin-bottom: 22px;
}
.mypage-tab {
  padding: 12px 18px; font-size: 14px; font-weight: 700; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  display: flex; align-items: center; gap: 6px;
  text-decoration: none; cursor: pointer;
}
.mypage-tab.active { color: var(--navy); border-bottom-color: var(--blue); }
.mypage-tab:not(.active):not(.disabled):hover { color: var(--text); border-bottom-color: var(--p-border); }
.mypage-tab.disabled { color: #C4CBD6; }
.mypage-tab-badge {
  font-size: 10px; padding: 1px 7px; border-radius: 8px;
  background: var(--bg-alt); color: var(--muted); font-weight: 600;
}
.mypage-notice {
  background: #fff; border: 1px solid var(--p-border);
  border-radius: 16px; padding: 18px 20px; margin-bottom: 28px;
}
.mypage-notice-header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.mypage-notice-icon {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  background: var(--blue-lt); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.mypage-notice-title { font-size: 13px; font-weight: 700; color: var(--navy); }
.mypage-notice-empty { font-size: 13px; color: var(--muted); line-height: 1.8; }

.mypage-notice-item { padding: 12px 0; border-top: 1px solid var(--bg-alt); }
.mypage-notice-item:first-of-type { border-top: none; padding-top: 0; }
.mypage-notice-item-date { font-size: 11px; color: var(--muted); font-weight: 500; margin-bottom: 3px; }
.mypage-notice-item-text { font-size: 13px; color: var(--muted); line-height: 1.8; }
.mypage-notice-item-extra[hidden] { display: none; }

.mypage-notice-more-btn {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  width: 100%; margin-top: 6px; padding: 9px 0;
  background: var(--bg-alt); border: none; border-radius: 10px;
  font-size: 12px; font-weight: 700; color: var(--muted);
  cursor: pointer; font-family: inherit;
}
.mypage-notice-more-btn:hover { background: var(--p-border); }
.mypage-notice-more-btn svg { transition: transform 0.2s; }
.mypage-notice-more-btn.open svg { transform: rotate(180deg); }

.list-section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px; font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--p-border);
  display: flex; align-items: center; gap: 8px;
}
.list-section-title:not(:first-child) { margin-top: 36px; }

/* ── イベント概要カード ── */
.event-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 28px;
  margin-bottom: 28px;
  border: 1px solid var(--p-border);
  box-shadow: 0 2px 14px rgba(15,23,42,0.06);
}
.event-badge {
  display: inline-block;
  background: var(--emerald-lt);
  color: #047857;
  border: 1px solid rgba(5,150,105,0.2);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.event-badge.closed { background: var(--bg-alt); color: var(--muted); border-color: var(--p-border); }
.content-type-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 700; padding: 5px 14px;
  border-radius: 20px; margin-bottom: 14px;
}
.content-type-badge.live { background: var(--amber-lt); color: #92400E; }
.content-type-badge.archive { background: #EDE9FE; color: #7C3AED; }
.event-card-top { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.event-card-top .content-type-badge { margin-bottom: 0; }
.badge-round {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 20px;
  margin-right: 10px;
}
.event-title {
  /* font-family: 'Noto Serif JP', serif; */
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(19px, 2.8vw, 25px);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 18px;
}
.event-title-sm { font-size: clamp(16px, 2.2vw, 19px); }
.event-desc {
  color: var(--text);
  margin: 10px 0 24px;
  font-size: 14px;
  line-height: 2;
  white-space: pre-line;
  background: var(--bg);
  border: 1px solid var(--p-border);
  border-radius: 14px;
  padding: 18px 20px;
}
.event-details {
  display: flex; flex-direction: column; gap: 12px;
}
.event-detail-item {
  display: flex; align-items: flex-start; gap: 12px;
}
.event-detail-icon {
  width: 34px; height: 34px; flex-shrink: 0;
  background: var(--blue-lt);
  border: 1px solid rgba(37,99,235,0.18);
  color: var(--blue);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
}
.event-detail-body { flex: 1; }
.event-detail-label {
  font-size: 11px; color: var(--muted);
  letter-spacing: 0.1em; text-transform: uppercase;
  line-height: 1;
}
.event-detail-value {
  font-size: 15px; color: var(--navy); 
  /* font-weight: 600; */
  font-weight:normal; /* 2026-09-12 */
  margin-top: 2px; line-height: 1.5;
}

/* ── イベント概要カード用ピル(オンライン開催・参加費) ── */
.live-pill-row {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 16px;
}
.live-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
}
.live-pill svg { flex-shrink: 0; }
.live-pill-blue { background: var(--blue-lt); color: var(--blue); }
.live-pill-amber { background: var(--amber-lt); color: #92400E; }
.live-pill-row-link {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 700; color: var(--blue);
  text-decoration: none; white-space: nowrap;
}
.live-pill-row-link:hover { text-decoration: underline; }

/* ── イベント詳細4項目グリッド ── */
.live-info-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  background: var(--bg); border: 1px solid var(--p-border);
  border-radius: 16px; padding: 16px; margin-bottom: 20px;
}
@media (max-width: 480px) { .live-info-grid { grid-template-columns: 1fr; } }
.live-info-item { display: flex; align-items: center; gap: 10px; }
.live-info-icon {
  width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.live-info-icon.icon-blue    { background: var(--blue-lt); color: var(--blue); }
.live-info-icon.icon-emerald { background: var(--emerald-lt); color: var(--emerald); }
.live-info-icon.icon-amber   { background: var(--amber-lt); color: var(--amber); }
.live-info-icon.icon-violet  { background: #EDE9FE; color: #7C3AED; }
.live-info-label { display: block; font-size: 10px; color: var(--muted); font-weight: 600; }
.live-info-value { display: block; font-weight: 700; color: var(--navy); font-size: 13px; margin-top: 1px; }

/* ── フォームカード ── */
.form-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 2px 14px rgba(15,23,42,0.06);
  border: 1px solid var(--p-border);
  margin-bottom: 20px;
}
.form-card-featured {
  border: 2px solid var(--blue);
  box-shadow: 0 12px 32px rgba(37,99,235,0.16);
}
.payment-summary {
  background: var(--bg); border: 1px solid var(--p-border);
  border-radius: 14px; padding: 16px 18px;
  margin-bottom: 20px;
  font-size: 13px; color: var(--muted);
}
.payment-summary-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 4px 0;
}
.payment-summary-value { font-weight: 700; color: var(--navy); text-align: right; }
.payment-summary-total {
  margin-top: 8px; padding-top: 10px;
  border-top: 1px solid var(--p-border);
  font-size: 14px; color: var(--text); font-weight: 700;
}
.payment-summary-total .payment-summary-value { font-size: 17px; color: var(--blue); }
.form-card-title {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: 'Noto Serif JP', serif;
  font-size: 19px; font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.01em;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--bg-alt);
}
.form-card-step {
  flex-shrink: 0;
  background: var(--amber-lt); color: #92400E;
  font-family: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif;
  font-size: 11px; font-weight: 700;
  padding: 5px 14px; border-radius: 999px;
  white-space: nowrap;
}
.form-card-title .optional-note {
  display: block; font-size: 11px; font-weight: 400; color: var(--muted); margin-top: 6px;
}

/* フィールド */
.field { margin-bottom: 20px; }
.field:last-child { margin-bottom: 0; }
.field-label {
  display: block;
  font-size: 13px; font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}
.field-label .optional { font-size: 11px; color: #9CA3AF; font-weight: 400; margin-left: 6px; }
.field-label .required { font-size: 11px; color: var(--err); font-weight: 500; margin-left: 6px; }

input::placeholder,
textarea::placeholder {
  color: #9CA3AF;
}

input[type="text"],
input[type="email"],
input[type="number"],
select {
  width: 100%;
  font-family: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif;
  font-size: 16px;
  padding: 12px 14px;
  border: 1.5px solid var(--p-border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
  background: #fff;
}
input.err, select.err {
  border-color: var(--err);
  box-shadow: 0 0 0 3px rgba(225,29,72,0.1);
}
.field-note {
  font-size: 12px; color: var(--muted);
  margin-top: 5px; line-height: 1.7;
}

/* 参加者ブロック(複数名対応) */
.entry-block {
  border: 1px solid var(--p-border);
  border-radius: 14px;
  padding: 18px 18px 4px;
  margin-bottom: 16px;
  background: var(--bg);
}
.entry-block-title {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--blue); font-weight: 700;
  letter-spacing: 0.04em; margin-bottom: 14px;
}
.entry-block-title svg { flex-shrink: 0; }
.entry-row { display: flex; gap: 10px; }
.entry-row .field { flex: 1; }

/* ラジオ(アンケート) */
.radio-list { display: flex; flex-direction: column; gap: 10px; }
.radio-item { display: flex; align-items: center; gap: 10px; }
.radio-item input[type="radio"] { width: 18px; height: 18px; accent-color: var(--blue); flex-shrink: 0; }
.radio-item label { font-size: 14px; color: var(--text); cursor: pointer; }

/* 利用規約 */
.terms-check {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 24px;
}
.terms-check input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--blue);
  flex-shrink: 0; margin-top: 3px; cursor: pointer;
}
.terms-check label {
  font-size: 13px; color: var(--muted); line-height: 1.8; cursor: pointer;
}

/* 申し込みボタン */
.btn-submit {
  display: block; width: 100%;
  background: var(--blue);
  color: #fff;
  font-family: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif;
  font-weight: 700; font-size: 16px;
  padding: 18px;
  border-radius: 14px;
  border: none; cursor: pointer;
  letter-spacing: 0.03em;
  text-align: center; text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(37,99,235,0.3);
  margin-bottom: 14px;
}
.btn-submit:hover {
  background: var(--blue-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(37,99,235,0.4);
}
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.live-apply-btn { display: flex; align-items: center; justify-content: center; gap: 8px; }
.live-apply-note {
  text-align: center; font-size: 11px; color: var(--muted);
  margin-top: -6px;
}

.submit-note {
  font-size: 12px; color: var(--muted);
  text-align: center; line-height: 1.8;
}

.btn-primary {
  display: inline-block; width: 100%;
  background: var(--navy);
  color: #fff;
  font-family: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif;
  font-weight: 700; font-size: 15px;
  padding: 16px 20px; border-radius: 14px;
  border: none; cursor: pointer;
  letter-spacing: 0.03em; text-decoration: none; text-align: center;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(15,23,42,0.18);
  margin-bottom: 12px;
}
.btn-primary:hover {
  background: #1E293B;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15,23,42,0.24);
}
.btn-ghost {
  display: inline-block;
  border: 1.5px solid var(--p-border);
  color: var(--muted); font-size: 14px;
  padding: 13px 20px; border-radius: 14px;
  text-decoration: none; text-align: center;
  transition: all 0.2s;
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-lt); }

/* ── 注意事項 ── */
.notice-box {
  background: #fff;
  border-radius: 14px;
  padding: 22px 24px;
  border: 1px solid var(--p-border);
}
.notice-box-title {
  font-size: 13px; font-weight: 700;
  color: var(--navy); letter-spacing: 0.04em;
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 7px;
}
.notice-box ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.notice-box ul li {
  font-size: 13px; color: var(--muted);
  line-height: 1.8;
  display: flex; align-items: flex-start; gap: 8px;
}
.notice-box ul li::before {
  content: '·';
  color: var(--blue); font-size: 18px;
  line-height: 1.4; flex-shrink: 0;
}

/* ── 動画プレーヤーカード ── */
.video-card {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 2px 14px rgba(15,23,42,0.06);
  border: 1px solid var(--p-border);
  margin-bottom: 20px;
}
.video-card-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px; font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
  padding: 0 4px;
  display: flex; align-items: center; gap: 10px;
}
.video-wrap {
  position: relative; width: 100%; aspect-ratio: 16/9;
  background: var(--navy); border-radius: 12px; overflow: hidden;
}
.video-wrap video { width: 100%; height: 100%; display: block; background: #000; }
.video-notice {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 16px; padding: 14px 16px;
  background: var(--amber-lt); border: 1px solid rgba(245,158,11,0.25);
  border-radius: 10px;
}
.video-notice svg { flex-shrink: 0; margin-top: 2px; color: #92400E; }
.video-notice p { font-size: 13px; color: #92400E; line-height: 1.8; }

/* ── ロックカード(未購入者向け) ── */
.lock-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 28px;
  text-align: center;
  box-shadow: 0 2px 14px rgba(15,23,42,0.06);
  border: 1px solid var(--p-border);
  margin-bottom: 20px;
}
.lock-icon { font-size: 36px; margin-bottom: 14px; }
.check-circle {
  width: 72px; height: 72px;
  background: var(--blue-lt);
  border: 2px solid rgba(37,99,235,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.check-mark { font-size: 36px; color: var(--text); line-height: 1; }
.check-circle-amber { background: var(--amber-lt); border-color: rgba(245,158,11,0.35); }
.check-circle-amber .check-mark { color: #92400E; }
.lock-title { font-family: 'Noto Serif JP', serif; font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.lock-text { font-size: 14px; color: var(--muted); line-height: 1.9; margin-bottom: 22px; }
.lock-card-featured {
  border: 2px solid var(--blue);
  box-shadow: 0 12px 32px rgba(37,99,235,0.16);
}

/* MyAlert / MyConfirm */
dialog {
  border: none; border-radius: 16px;
  width: 420px; max-width: calc(100% - 40px);
  padding: 0; background: #fff;
  box-shadow: 0 20px 60px rgba(15,23,42,0.2), 0 4px 16px rgba(15,23,42,0.1);
  margin: auto;
}
dialog::backdrop { background: rgba(15,23,42,0.55); }
.alert-inner, .confirm-inner { padding: 28px 24px 20px; display: flex; flex-direction: column; gap: 20px; }
.alert-top, .confirm-top { display: flex; align-items: flex-start; gap: 14px; }
.alert-icon, .confirm-icon {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--blue-lt); border: 1.5px solid rgba(37,99,235,0.25);
  color: var(--blue); flex-shrink: 0;
  font-weight: 700; font-size: 20px;
  font-family: 'Noto Serif JP', Georgia, serif;
}
.alert-msg, .confirm-msg { font-size: 14px; color: var(--text); line-height: 1.8; padding-top: 8px; }
.alert-footer { display: flex; justify-content: flex-end; padding-top: 4px; border-top: 1px solid var(--bg-alt); }
.confirm-divider { height: 1px; background: var(--bg-alt); }
.confirm-btns { display: flex; justify-content: flex-end; gap: 10px; }
.alert-btn, .confirm-btn {
  height: 38px; padding: 0 28px;
  background: var(--blue);
  color: #fff; border: none; border-radius: 10px;
  font-size: 13px; font-weight: 700;
  font-family: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif; letter-spacing: 0.03em;
  cursor: pointer; transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  box-shadow: 0 2px 8px rgba(37,99,235,0.25);
}
.alert-btn:hover, .confirm-btn:hover { background: var(--blue-dk); transform: translateY(-1px); }
.confirm-cancel { background: var(--bg-alt); color: var(--muted); box-shadow: none; border: 1px solid var(--p-border); }
.confirm-cancel:hover { background: var(--bg-alt); color: var(--text); }

/* ── フッター ── */
footer {
  background: var(--navy-dk); padding: 32px 20px; text-align: center; flex-shrink: 0;
}
.footer-logo-row {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 14px;
}
.footer-logo-icon {
  width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700; font-size: 14px;
}
.footer-logo-text {
  font-family: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif;
  font-weight: 500; font-size: 16px; color: #fff; letter-spacing: -0.01em;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.35); }

/* ── BACK TO TOP ── */
#back-to-top {
  position: fixed; border: none; padding: 0;
  bottom: 28px; right: 24px; z-index: 150;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(37,99,235,0.35);
  opacity: 0; pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  cursor: pointer;
}
#back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
#back-to-top:hover { background: var(--blue-dk); }

@media (max-width: 500px) {
  .form-card { padding: 24px 18px; }
  .event-card { padding: 22px 18px; }
}
