:root {
  --navy-950: #0e2138;
  --navy-900: #14304c;
  --navy-800: #1c4165;
  --navy-700: #295277;
  --navy-600: #3c6790;
  --navy-100: #e7eef4;
  --navy-050: #f2f6f9;

  --amber-600: #a97a2e;
  --amber-500: #c1913f;
  --amber-100: #f4e8d4;

  --paper: #faf7f0;
  --paper-raised: #ffffff;
  --paper-sunk: #f1ecdf;
  --line: #ddd4bd;
  --line-soft: #e9e3d3;

  --ink: #1e2733;
  --ink-soft: #4b5563;
  --ink-faint: #7a8494;

  --shadow-sm: 0 1px 2px rgba(20, 30, 45, 0.06), 0 1px 1px rgba(20, 30, 45, 0.04);
  --shadow-md: 0 8px 24px rgba(20, 30, 45, 0.10), 0 2px 6px rgba(20, 30, 45, 0.06);
  --shadow-lg: 0 20px 48px rgba(14, 33, 56, 0.18);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --accent-ink: var(--navy-800);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0d1420;
    --paper-raised: #141d2c;
    --paper-sunk: #0a1119;
    --line: #263349;
    --line-soft: #1d2838;

    --ink: #eef1f6;
    --ink-soft: #b7c0cf;
    --ink-faint: #8792a3;

    --navy-100: #1a2940;
    --navy-050: #101a29;

    --amber-100: #2c2210;

    --accent-ink: #9fc2e4;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.55);
  }
}

:root[data-theme="dark"] {
  --paper: #0d1420;
  --paper-raised: #141d2c;
  --paper-sunk: #0a1119;
  --line: #263349;
  --line-soft: #1d2838;

  --ink: #eef1f6;
  --ink-soft: #b7c0cf;
  --ink-faint: #8792a3;

  --navy-100: #1a2940;
  --navy-050: #101a29;

  --amber-100: #2c2210;

  --accent-ink: #9fc2e4;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

img, svg { max-width: 100%; }

h1, h2, h3, h4 {
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
  letter-spacing: 0.02em;
}

a { color: inherit; }

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Top bar ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--navy-950) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid color-mix(in srgb, var(--amber-500) 30%, var(--navy-950));
}
.topbar-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-label {
  color: #dde6ef;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.topbar-label .divider { color: #5b7186; }
.topbar-cta {
  flex-shrink: 0;
  background: var(--amber-500);
  color: #241705;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 9px 18px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.topbar-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* ===== Hero ===== */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(140, 175, 210, 0.28), transparent 60%),
    linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-800) 100%);
  color: #f3f6f9;
  padding: 76px 24px 64px;
  overflow: hidden;
}
.hero-inner {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* trombone / crop marks — echo of the print flyer */
.crop {
  position: absolute;
  width: 26px;
  height: 26px;
  z-index: 3;
  opacity: 0.55;
}
.crop::before, .crop::after {
  content: "";
  position: absolute;
  background: var(--amber-500);
}


.eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.pill-online {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.28);
  color: #eef3f8;
}
.pill-free {
  background: var(--amber-500);
  color: #241705;
}
.pill-status {
  background: rgba(140, 210, 160, 0.16);
  border: 1px solid rgba(140, 210, 160, 0.4);
  color: #b7ecc4;
}
.pill-status .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #6fd68a;
  box-shadow: 0 0 0 3px rgba(111, 214, 138, 0.25);
}

.hero-kicker {
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  color: #a9bdd0;
  margin-bottom: 10px;
  font-weight: 500;
}
.hero h1 {
  color: #ffffff;
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  font-weight: 800;
  line-height: 1.35;
}
.hero-sub {
  margin-top: 14px;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: #cfdbe6;
  font-family: "Shippori Mincho", serif;
  letter-spacing: 0.03em;
}

.hero-meta {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.hero-meta-item {
  background: rgba(10, 22, 38, 0.4);
  padding: 20px 22px;
}
.hero-meta-item .label {
  font-size: 0.76rem;
  color: #9fb4c7;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.hero-meta-item .value {
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.hero-meta-item .value small {
  font-weight: 500;
  color: #b9c9d8;
  font-size: 0.82rem;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.btn-primary {
  background: var(--amber-500);
  color: #241705;
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 34px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(193, 145, 63, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(193, 145, 63, 0.45); }
.hero-host {
  color: #b9c9d8;
  font-size: 0.88rem;
}

/* ===== Section scaffolding ===== */
section { padding: 72px 0; }
.section-alt { background: var(--navy-050); }
.section-sunk { background: var(--paper-sunk); }

.section-head {
  max-width: 640px;
  margin: 0 auto 44px;
  text-align: center;
}
.section-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--amber-600);
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 600;
}
.section-head p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* ===== Greetings ===== */
.greet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.greet-card {
  background: var(--paper-raised);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-sm);
}
.greet-card .quote-mark {
  font-family: "Shippori Mincho", serif;
  font-size: 2.6rem;
  color: var(--amber-500);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}
.greet-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.greet-card p {
  color: var(--ink-soft);
  font-size: 0.94rem;
  margin: 0 0 14px;
}
.greet-card p:last-of-type { margin-bottom: 0; }
.greet-sign {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 600;
  text-align: right;
}
.greet-sign span {
  display: block;
  font-weight: 400;
  color: var(--ink-faint);
  font-size: 0.82rem;
  margin-bottom: 2px;
}

/* ===== Overview table ===== */
.overview-card {
  background: var(--paper-raised);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.overview-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 20px 30px;
  border-bottom: 1px solid var(--line-soft);
}
.overview-row:last-child { border-bottom: none; }
.overview-row .k {
  font-weight: 700;
  color: var(--accent-ink);
  font-size: 0.92rem;
  padding-top: 2px;
}
.overview-row .v {
  font-size: 0.96rem;
  color: var(--ink);
}
.overview-row .v strong { font-variant-numeric: tabular-nums; }
.overview-row .v .note {
  display: block;
  margin-top: 6px;
  font-size: 0.84rem;
  color: var(--ink-faint);
}
.overview-row.highlight {
  background: var(--amber-100);
}
.overview-row.highlight .k { color: var(--amber-600); }

@media (max-width: 640px) {
  .overview-row { grid-template-columns: 1fr; gap: 6px; padding: 18px 22px; }
}

/* ===== Timeline (schedule) ===== */
.timeline {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  max-width: 560px;
  margin: 0 auto;
}
.timeline-point {
  flex: 1;
  text-align: center;
  position: relative;
  padding-top: 26px;
}
.timeline-point::before {
  content: "";
  position: absolute;
  top: 6px; left: 50%;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--amber-500);
  transform: translateX(-50%);
  box-shadow: 0 0 0 5px var(--amber-100);
}
.timeline-point::after {
  content: "";
  position: absolute;
  top: 12px; left: -50%;
  width: 100%; height: 2px;
  background: var(--line);
}
.timeline-point:first-child::after { display: none; }
.timeline-point .tl-date { font-weight: 700; font-size: 1.1rem; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.timeline-point .tl-time { font-size: 0.85rem; color: var(--ink-faint); margin-top: 2px; }
.timeline-point .tl-label { font-size: 0.8rem; color: var(--amber-600); font-weight: 600; margin-top: 6px; }

/* ===== Programs ===== */
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}
.program-card {
  background: var(--paper-raised);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.program-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.program-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.5;
}
.program-duration {
  flex-shrink: 0;
  background: var(--navy-100);
  color: var(--accent-ink);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.program-speaker {
  font-size: 0.88rem;
  color: var(--ink-faint);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.program-speaker strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
  margin-top: 2px;
}
.program-bio {
  font-size: 0.86rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

.glossary {
  margin-top: 28px;
  background: var(--navy-100);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}
.glossary h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-ink);
  margin-bottom: 10px;
}
.glossary p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ===== Flow steps ===== */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  counter-reset: step;
}
.flow-card {
  position: relative;
  background: var(--paper-raised);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 30px 26px 26px;
  box-shadow: var(--shadow-sm);
}
.flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.flow-card h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.flow-card p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0;
}
.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-500);
  font-size: 1.3rem;
}
@media (max-width: 900px) { .flow-arrow { display: none; } }

/* ===== Form ===== */
.form-card {
  background: var(--paper-raised);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  max-width: 640px;
  margin: 0 auto;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}
.field label .req {
  color: #c0522f;
  margin-left: 4px;
  font-size: 0.78rem;
  font-weight: 700;
}
.field input {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  outline-offset: 2px;
}
.field input::placeholder { color: var(--ink-faint); }
.field input:focus-visible {
  outline: 2px solid var(--amber-500);
  border-color: var(--amber-500);
}
@media (max-width: 560px) {
  .form-card { padding: 28px 22px; }
  .form-grid { grid-template-columns: 1fr; }
}

.form-submit {
  margin-top: 26px;
  width: 100%;
  background: var(--amber-500);
  color: #241705;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  padding: 15px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(193, 145, 63, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(193, 145, 63, 0.4); }
.form-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--ink-faint);
  text-align: center;
}

/* ===== Orgs ===== */
.org-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px 24px;
  max-width: 780px;
  margin: 0 auto;
  padding: 0;
}
.org-list li {
  list-style: none;
  font-size: 0.86rem;
  color: var(--ink-soft);
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}

/* ===== Contact ===== */
.contact-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--navy-900);
  color: #eef3f8;
  border-radius: var(--radius-lg);
  padding: 34px 36px;
  text-align: center;
}
.contact-card h3 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-card .sub {
  color: #9fb4c7;
  font-size: 0.84rem;
  margin-bottom: 22px;
}
.contact-rows {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  font-size: 0.94rem;
}
.contact-rows div { text-align: left; }
.contact-rows .label { font-size: 0.74rem; color: #8fa5ba; letter-spacing: 0.04em; }
.contact-rows .val { font-weight: 700; font-variant-numeric: tabular-nums; }

/* ===== Footer ===== */
footer {
  padding: 36px 24px 44px;
  text-align: center;
  color: var(--ink-faint);
  font-size: 0.8rem;
}
footer .foot-org { color: var(--ink-soft); font-weight: 600; margin-bottom: 6px; }
