/* ============================================================
   Lantern Hall — 参加者側スタイル
   暖色の紙色 × テラコッタ。夜のホールに灯るあかりをイメージ。
   ============================================================ */

:root {
  --paper: #faf7f1;
  --card: #ffffff;
  --ink: #2b2520;
  --ink-soft: #4a4238;
  --muted: #8a7f70;
  --line: #e8e0d2;
  --terra: #c05a2e;
  --terra-dark: #9d4720;
  --amber: #d99a2b;
  --night: #241c15;
  --night-soft: #38160a;

  --cat-seminar: #c05a2e;
  --cat-workshop: #6d7f3a;
  --cat-networking: #c9891b;
  --cat-course: #2f7f77;

  --ok: #3a7d44;
  --warn: #b96a10;
  --ng: #b3402e;

  --radius: 14px;
  --shadow: 0 2px 6px rgba(43, 37, 32, .06), 0 12px 32px rgba(43, 37, 32, .07);
  --font-head: 'Zen Kaku Gothic New', sans-serif;
  --font-num: 'Outfit', sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--terra); }
img { max-width: 100%; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.sp-only { display: none; }

/* ---------- ヘッダー ---------- */
.site-header {
  background: var(--night);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #ffd98a, var(--amber) 55%, #a3630c);
  box-shadow: 0 0 14px rgba(217, 154, 43, .8);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name {
  font-family: var(--font-num);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: .04em;
  color: #f7f0e4;
}
.brand-kana { font-size: 10px; letter-spacing: .3em; color: #9d9184; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a {
  color: #d9cfc0;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.site-nav a:hover { color: #fff; }

/* ---------- ヒーロー ---------- */
.hero {
  background:
    radial-gradient(560px 380px at 78% 18%, rgba(217, 154, 43, .32), transparent 70%),
    radial-gradient(400px 300px at 12% 85%, rgba(192, 90, 46, .22), transparent 70%),
    linear-gradient(160deg, var(--night) 55%, var(--night-soft));
  color: #f7f0e4;
  padding: 96px 0 104px;
}
.hero-eyebrow {
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .35em;
  color: var(--amber);
  margin: 0 0 20px;
}
.hero-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 64px);
  letter-spacing: .06em;
  line-height: 1.3;
  margin: 0 0 22px;
}
.hero-lead { color: #cfc4b3; font-size: 15px; margin: 0 0 40px; }
.hero-stats { display: flex; gap: 48px; margin-bottom: 44px; }
.hero-stats strong {
  display: block;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 38px;
  line-height: 1.1;
  color: #fff;
}
.hero-stats strong span { font-size: 16px; margin-left: 2px; color: var(--amber); }
.hero-stats small { color: #9d9184; font-size: 12px; letter-spacing: .08em; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.btn-primary {
  background: var(--terra);
  color: #fff;
  box-shadow: 0 6px 18px rgba(192, 90, 46, .35);
}
.btn-primary:hover { background: var(--terra-dark); transform: translateY(-1px); }
.btn-lg { padding: 15px 36px; font-size: 15px; }
.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: #f1ebdf; }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-disabled {
  background: #e5ddce;
  color: #9d9184;
  cursor: default;
}

/* ---------- セクション共通 ---------- */
.section { padding: 84px 0; }
.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: .06em;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.section-title span {
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .35em;
  color: var(--terra);
}
.empty-note { color: var(--muted); padding: 32px 0; }

/* ---------- カテゴリフィルタ ---------- */
.cat-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip {
  padding: 7px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all .15s;
}
.chip:hover { border-color: var(--terra); color: var(--terra); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- イベントカード ---------- */
.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 24px;
}
.event-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 24px 20px;
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  transition: transform .18s, box-shadow .18s;
}
.event-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--cat, var(--terra));
}
.event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(43, 37, 32, .08), 0 20px 44px rgba(43, 37, 32, .12);
}
.event-card.is-muted { opacity: .62; }
.cat-seminar    { --cat: var(--cat-seminar); }
.cat-workshop   { --cat: var(--cat-workshop); }
.cat-networking { --cat: var(--cat-networking); }
.cat-course     { --cat: var(--cat-course); }

.event-card-top { display: flex; gap: 16px; align-items: flex-start; }
.ev-date {
  flex-shrink: 0;
  width: 64px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px 0 7px;
  line-height: 1.15;
}
.ev-month { display: block; font-size: 11px; font-weight: 700; color: var(--cat, var(--terra)); }
.ev-day { display: block; font-family: var(--font-num); font-weight: 700; font-size: 26px; }
.ev-wd { display: block; font-size: 10px; color: var(--muted); }

.cat-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--cat, var(--terra));
  border: 1px solid currentColor;
  border-radius: 4px;
  padding: 1px 8px;
  margin-bottom: 6px;
}
.cat-badge-seminar    { color: var(--cat-seminar); }
.cat-badge-workshop   { color: var(--cat-workshop); }
.cat-badge-networking { color: var(--cat-networking); }
.cat-badge-course     { color: var(--cat-course); }

.event-card-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
}
.event-card-summary {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  flex-grow: 1;
}
.event-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 12px;
  color: var(--ink-soft);
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}
.event-card-foot { display: flex; align-items: center; gap: 10px; }

/* ---------- 残席メーター・状態バッジ ---------- */
.meter {
  flex-grow: 1;
  height: 6px;
  border-radius: 999px;
  background: #efe8da;
  overflow: hidden;
}
.meter span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--amber), var(--terra));
}
.seat-note { font-size: 12px; color: var(--ink-soft); white-space: nowrap; }
.seat-note strong { font-family: var(--font-num); font-size: 15px; color: var(--terra); }

.state-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.s-open      { background: #e4efe0; color: var(--ok); }
.s-few       { background: #f7ead3; color: var(--warn); }
.s-full      { background: var(--ink); color: #fff; }
.s-ended     { background: #eae4d8; color: var(--muted); }
.s-cancelled { background: #f4ddd8; color: var(--ng); }

/* ---------- ABOUT ---------- */
.section-about { background: #f2ecdf; }
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.about-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
}
.about-num {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 14px;
  color: var(--amber);
  letter-spacing: .2em;
}
.about-card h3 {
  font-family: var(--font-head);
  font-size: 17px;
  margin: 10px 0 12px;
}
.about-card p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }

/* ---------- 終了イベント ---------- */
.section-past { padding-top: 0; }
.past-list { list-style: none; margin: 0; padding: 0; }
.past-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.past-date { font-family: var(--font-num); font-weight: 600; color: var(--muted); width: 84px; flex-shrink: 0; }
.past-list .cat-badge { margin-bottom: 0; flex-shrink: 0; }
.past-list a { color: var(--ink-soft); text-decoration: none; flex-grow: 1; }
.past-list a:hover { color: var(--terra); }

/* ---------- アクセス ---------- */
.section-access { padding-top: 0; }
.access-table {
  width: 100%;
  max-width: 720px;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.access-table th, .access-table td {
  text-align: left;
  padding: 16px 22px;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
}
.access-table tr:last-child th, .access-table tr:last-child td { border-bottom: none; }
.access-table th { width: 140px; color: var(--muted); font-weight: 500; background: #fbf8f2; }

/* ---------- イベント詳細 ---------- */
.detail-head {
  background:
    radial-gradient(480px 300px at 85% 0%, rgba(217, 154, 43, .22), transparent 70%),
    var(--night);
  color: #f7f0e4;
  padding: 44px 0 48px;
  border-bottom: 5px solid var(--cat, var(--terra));
}
.breadcrumb { font-size: 12px; margin: 0 0 22px; }
.breadcrumb a { color: #9d9184; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.detail-head .cat-badge { color: var(--amber); }
.detail-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: .04em;
  line-height: 1.45;
  margin: 6px 0 14px;
}
.detail-datetime {
  font-family: var(--font-num);
  font-weight: 500;
  font-size: 16px;
  color: #d9cfc0;
  margin: 0;
}

.detail-body {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 44px;
  padding-top: 48px;
  padding-bottom: 84px;
  align-items: start;
}
.detail-summary {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.7;
  margin: 0 0 32px;
}
.detail-section { margin-bottom: 40px; }
.detail-section h2 {
  font-family: var(--font-head);
  font-size: 18px;
  padding-left: 12px;
  border-left: 4px solid var(--terra);
  margin: 0 0 18px;
}
.detail-description { font-size: 15px; margin: 0; }

.speaker-box {
  display: flex;
  gap: 18px;
  align-items: center;
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
}
.speaker-avatar {
  width: 56px; height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--terra));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.speaker-name { font-weight: 700; font-size: 16px; margin: 0; }
.speaker-title { font-size: 13px; color: var(--muted); margin: 2px 0 0; }

.detail-side { position: sticky; top: 88px; }
.apply-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}
.apply-info { margin: 0 0 18px; }
.apply-info > div {
  display: flex;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13.5px;
}
.apply-info dt { width: 60px; flex-shrink: 0; color: var(--muted); }
.apply-info dd { margin: 0; font-weight: 500; }
.apply-fee { font-family: var(--font-num); font-weight: 700; font-size: 16px; color: var(--terra); }
.apply-capacity { margin-bottom: 20px; }
.apply-capacity .meter { margin-bottom: 8px; }
.apply-capacity .seat-note { display: block; }
.apply-note { font-size: 11.5px; color: var(--muted); text-align: center; margin: 12px 0 0; }

/* ---------- 申込フロー ---------- */
.page-narrow { max-width: 720px; padding-top: 48px; padding-bottom: 84px; }
.steps {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0 0 32px;
  padding: 0;
}
.steps li {
  flex: 1;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  background: #efe8da;
  padding: 10px 4px;
  border-radius: 8px;
}
.steps li.is-active { background: var(--ink); color: #fff; }
.steps li.is-done { background: #e4efe0; color: var(--ok); }

.apply-event-box {
  background: var(--card);
  border-left: 5px solid var(--cat, var(--terra));
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 18px 22px;
  margin-bottom: 26px;
}
.apply-event-box .cat-badge { margin-bottom: 4px; }
.apply-event-title { font-family: var(--font-head); font-weight: 700; font-size: 17px; margin: 0 0 4px; }
.apply-event-meta { font-size: 12.5px; color: var(--muted); margin: 0; }

.form-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 36px;
}
.form-row { margin-bottom: 22px; }
.form-row label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 8px;
}
.req {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--terra);
  border-radius: 4px;
  padding: 1px 7px;
  margin-left: 6px;
  vertical-align: 2px;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fdfcf9;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: 2px solid rgba(192, 90, 46, .45);
  border-color: var(--terra);
}
.form-help { font-size: 11.5px; color: var(--muted); margin: 6px 0 0; }
.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}
.form-actions-center { justify-content: center; }

/* ---------- 確認・完了 ---------- */
.confirm-heading {
  font-family: var(--font-head);
  font-size: 20px;
  margin: 0 0 24px;
}
.confirm-list { margin: 0; }
.confirm-list > div {
  display: flex;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.confirm-list dt { width: 130px; flex-shrink: 0; color: var(--muted); }
.confirm-list dd { margin: 0; font-weight: 500; }
.confirm-sep { border-top: 2px solid var(--line); }

.complete-card { text-align: center; }
.complete-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #e4efe0;
  color: var(--ok);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 14px;
}
.complete-heading { font-family: var(--font-head); font-size: 22px; margin: 0 0 26px; }
.complete-no-label { font-size: 12px; letter-spacing: .2em; color: var(--muted); margin: 0; }
.complete-no {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 40px;
  letter-spacing: .06em;
  color: var(--terra);
  margin: 2px 0 28px;
}
.complete-card .confirm-list { text-align: left; }
.complete-note { font-size: 13px; color: var(--ink-soft); margin: 24px 0 0; }
.complete-note small { color: var(--muted); }

/* ---------- フラッシュ ---------- */
.flash-wrap { padding-top: 20px; }
.flash {
  border-radius: 10px;
  padding: 13px 18px;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 18px;
}
.flash p { margin: 2px 0; }
.flash-success { background: #e4efe0; color: var(--ok); }
.flash-error { background: #f4ddd8; color: var(--ng); }

/* ---------- フッター ---------- */
.site-footer {
  background: var(--night);
  color: #9d9184;
  padding: 44px 0 36px;
  font-size: 13px;
}
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.footer-brand {
  font-family: var(--font-num);
  font-weight: 600;
  font-size: 18px;
  color: #f7f0e4;
  margin: 0 0 8px;
}
.footer-brand span { font-size: 10px; letter-spacing: .3em; margin-left: 10px; color: #9d9184; }
.footer-shop p { margin: 0; }
.footer-note { margin: 0; font-size: 11.5px; }
.footer-note a { color: #9d9184; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
  .pc-only { display: none; }
  .sp-only { display: inline; }
  .site-nav { display: none; }
  .hero { padding: 64px 0 72px; }
  .hero-stats { gap: 28px; }
  .about-grid { grid-template-columns: 1fr; }
  .detail-body { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .form-card { padding: 26px 22px; }
  .form-actions { flex-direction: column-reverse; }
  .form-actions .btn { width: 100%; text-align: center; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
