:root {
  --text: #222;
  --muted: #666;
  --line: #e3e3e3;
  --bg: #fff;
  --bg-soft: #f6f7f9;
  --accent: #1b4592;
  --accent-ink: #fff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
small, .small { font-size: 0.85em; color: var(--muted); }
small { display: block; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ヘッダー */
.hero {
  padding: 56px 16px 48px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.hero-label {
  display: inline-block;
  margin: 0 0 16px;
  padding: 2px 12px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.85rem;
}
.hero-presents { margin: 0; color: var(--muted); }
.hero h1 {
  margin: 4px 0 24px;
  font-size: clamp(1.5rem, 5.5vw, 2.25rem);
  line-height: 1.4;
}
.hero-date { margin: 0; font-size: 1.15rem; font-weight: bold; }
.hero-date span { display: block; font-weight: normal; font-size: 1rem; }
.hero-sub { margin: 4px 0 28px; color: var(--muted); }

/* 本文 */
main { max-width: 720px; margin: 0 auto; padding: 0 16px; }
section { padding: 40px 0; border-bottom: 1px solid var(--line); }
section:last-child { border-bottom: 0; }
h2 {
  margin: 0 0 20px;
  font-size: 1.25rem;
  padding-left: 12px;
  border-left: 4px solid var(--accent);
  line-height: 1.4;
}
h3 { font-size: 1rem; margin: 24px 0 8px; }
p { margin: 0 0 12px; }

.points ul { margin: 0; padding: 0; list-style: none; }
.points li { padding: 10px 0 10px 28px; position: relative; border-bottom: 1px dashed var(--line); }
.points li:last-child { border-bottom: 0; }
.points li::before { content: "✓"; position: absolute; left: 4px; color: var(--accent); font-weight: bold; }
.questions { margin: 0; padding: 0; list-style: none; }
.questions li { padding: 6px 0 6px 1.5em; position: relative; }
.questions li::before { content: "★"; position: absolute; left: 0; color: var(--accent); }

.info { margin: 0; }
.info dt { font-weight: bold; margin-top: 20px; }
.info dt:first-child { margin-top: 0; }
.info dd { margin: 4px 0 0; }
@media (min-width: 600px) {
  .info { display: grid; grid-template-columns: 7em 1fr; gap: 20px 16px; }
  .info dt, .info dd { margin: 0; }
}

.sessions { border-collapse: collapse; margin: 8px 0; }
.sessions th { text-align: left; font-weight: normal; padding: 2px 16px 2px 0; vertical-align: top; white-space: nowrap; }
.sessions td { padding: 2px 0; }
.sessions small { display: inline; }

.notes { margin: 8px 0 0; padding-left: 1.2em; font-size: 0.92rem; }
.notes li { margin-bottom: 6px; }

.people { display: flex; justify-content: center; gap: 16px; }
.people figure { margin: 0; width: 160px; }
.people img { width: 160px; height: 200px; object-fit: cover; }
.people figcaption { text-align: center; font-size: 0.9rem; margin-top: 6px; }

.lecturer { display: flex; gap: 16px; align-items: center; }
.lecturer img { width: 120px; height: 120px; object-fit: cover; flex-shrink: 0; }
.lecturer-name { font-size: 1.15rem; font-weight: bold; margin: 0; }
.reg-no {
  margin: 24px 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

.gift { display: grid; gap: 16px; }
.gift img { width: 100%; max-width: 280px; margin: 0 auto; }
@media (min-width: 600px) {
  /* 写真は左の欄の幅に収める(はみ出すと右の文章に重なる) */
  .gift { grid-template-columns: 240px 1fr; align-items: center; }
  .gift img { max-width: 100%; }
}
.gift-list { margin: 0 0 12px; padding-left: 1.4em; }
.gift-list li { margin-bottom: 2px; font-weight: bold; }

/* ボタン */
.btn {
  display: inline-block;
  min-width: 220px;
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

.apply { text-align: center; }
.apply h2 { text-align: left; }

/* フッターは共通のもの(/assets/frame.css)がビルドで入る */
