/* ===== 基本設定 ===== */
:root {
  --navy: #123460;
  --navy-dark: #0b2244;
  --gold: #f0b45c;
  --ink: #1f2933;
  --muted: #5f6b7a;
  --line: #dde3ea;
  --bg-alt: #f4f7fa;
  --radius: 10px;
  --header-h: 64px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  color: var(--ink);
  line-height: 1.8;
  background: #fff;
}

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

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

.container { width: min(1080px, 100% - 40px); margin-inline: auto; }

.pc-only { display: none; }
@media (min-width: 768px) { .pc-only { display: inline; } }

.note { color: var(--muted); font-size: 0.875rem; }

/* ===== サンプル表示 ===== */
.sample-banner {
  background: #fff4d6;
  color: #7a5200;
  font-size: 0.8125rem;
  text-align: center;
  padding: 6px 12px;
}

/* ===== ヘッダー ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
  color: var(--navy);
}

.global-nav { display: flex; align-items: center; gap: 20px; }

.global-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.9375rem;
}

.global-nav a:hover { color: var(--navy); }

.global-nav .nav-cta {
  background: var(--navy);
  color: #fff;
  padding: 6px 16px;
  border-radius: 999px;
}

.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-toggle {
    display: grid;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 10px 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--navy); }

  .global-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .global-nav.is-open { display: flex; }
  .global-nav a { padding: 14px 20px; border-top: 1px solid var(--line); }
  .global-nav .nav-cta { border-radius: 0; text-align: center; }
}

/* ===== ヒーロー ===== */
.hero {
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(11, 34, 68, 0.85), rgba(11, 34, 68, 0.35));
  padding: 120px 0 100px;
}

.hero-label {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 2px 12px;
  border-radius: 4px;
  margin: 0 0 16px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.3;
  margin: 0 0 20px;
}

.hero-lead { font-size: 1.0625rem; margin: 0 0 12px; }
.hero-date { font-weight: 700; margin: 0 0 28px; }
.countdown { margin: 16px 0 0; font-size: 0.9375rem; opacity: 0.9; }

/* ===== ボタン ===== */
.button {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 32px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button-primary { background: var(--gold); color: var(--navy-dark); }

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.button-large { font-size: 1.125rem; padding: 16px 48px; }

/* ===== セクション共通 ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }

.section-title {
  font-size: 1.75rem;
  margin: 0 0 32px;
  padding-left: 14px;
  border-left: 6px solid var(--gold);
  line-height: 1.3;
}

/* ===== 開催概要 ===== */
.overview-table { width: 100%; border-collapse: collapse; }

.overview-table th,
.overview-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.overview-table th { width: 8em; color: var(--navy); white-space: nowrap; }

/* ===== プログラム ===== */
.timeline { list-style: none; margin: 0; padding: 0; }

.timeline li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.timeline time { font-weight: 700; color: var(--navy); font-size: 1.125rem; }
.timeline h3 { margin: 0 0 4px; font-size: 1.125rem; }
.timeline p { margin: 0; color: var(--muted); }

/* ===== 登壇者 ===== */
.speakers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
}

.speaker img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; }
.speaker h3 { margin: 12px 0 0; font-size: 1.125rem; }
.speaker-role { margin: 0; color: var(--muted); font-size: 0.875rem; }

/* ===== お知らせ ===== */
.news-list { list-style: none; margin: 0; padding: 0; }

.news-list li {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.news-list time { color: var(--muted); font-variant-numeric: tabular-nums; }

.badge-new {
  display: inline-block;
  background: #c8323c;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ===== 会場 ===== */
.access {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.access img { border-radius: var(--radius); }
.access-list { padding-left: 1.2em; }

@media (max-width: 768px) {
  .access { grid-template-columns: 1fr; }
}

/* ===== よくある質問 ===== */
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 16px 48px 16px 20px;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  position: relative;
}

.faq-q::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--navy);
}

.faq-q[aria-expanded="true"]::after { content: "−"; }
.faq-a { padding: 0 20px 16px; }
.faq-a p { margin: 0; }

/* ===== 申込 ===== */
.entry { text-align: center; }
.entry .section-title { display: inline-block; }
.deadline { font-weight: 700; color: #c8323c; }

/* ===== フッター ===== */
.site-footer {
  background: var(--navy-dark);
  color: #cfd8e3;
  padding: 32px 0;
  font-size: 0.875rem;
  text-align: center;
}

.site-footer p { margin: 4px 0; }

/* ===== ページ先頭へ ===== */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.to-top.is-visible { opacity: 0.9; pointer-events: auto; }
