:root {
  --accent: #2E7CF6;
  --accent-fg: #ffffff;
  --accent-light: #e8f0fe;
  --accent-sub: #F5C300;
  --paper: #FAF7F1;
  --bg: #EDE8DE;
  --surface: #F2EFEA;
  --ink: #1A1815;
  --ink-soft: #6B6560;
  --line: #D5CFC2;
  --font: "Zen Maru Gothic", system-ui, sans-serif;
}

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

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.7;
}

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

h1, h2, h3 { margin: 0; }

a { color: inherit; text-decoration: none; }

/* ── Scroll fade-in ───────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  background: #000;
  border-top: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
}
.hero-inner {
  position: relative;
  overflow: hidden;
}
.hero-text {
  display: block;
  width: 100%;
  height: auto;
  max-height: 94vh;
  margin: 0 auto;
  padding: min(3vw, 40px) 1vw;
  position: relative;
  z-index: 1;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* ── Section common ───────────────────────────────────── */
.section {
  padding: 64px 48px;
  border-bottom: 2.5px solid var(--ink);
}
.section--surface {
  background: var(--surface);
}
.section--white {
  background: #fff;
}
.section-heading {
  text-align: center;
  margin-bottom: 32px;
}
.heading-sub {
  font-size: 16px;
}

.section-heading h2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  border: 3px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  background: #fff;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
}

/* ── Intro / B-1 ──────────────────────────────────────── */
.intro {
  padding: 56px 48px;
  /* border-bottom: 2.5px solid var(--ink); */
  text-align: center;
  background: #fff;
}
.intro h2 {
  font-size: clamp(26px, 4vw, 38px);
  margin: 0 0 24px;
  line-height: 1.4;
}
.intro p {
  font-size: 20px;
  line-height: 2;
  margin: 0 auto;
  color: #333;
}
.intro-meta {
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: max-content max-content;
  gap: 12px 24px;
  max-width: 900px;
  width: fit-content;
  text-align: left;
  font-size: 16px;
  line-height: 1.7;
}
.intro-meta-label {
  font-weight: 700;
}

/* ── Sticky nav ───────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 24px;
  border-top: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
  background: #fff;
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.site-nav a {
  padding: 8px 18px;
  border: 2.5px solid var(--accent);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  background: #fff;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a.active {
  background: var(--accent);
  color: var(--accent-fg);
}

/* ── About cards ──────────────────────────────────────── */
.about-intro {
  text-align: center;
  font-size: 20px;
  line-height: 1.8;
  margin: 0 auto 32px;
  max-width: 720px;
}
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 980px;
  margin-inline: auto;
}
.card {
  border: 2.5px solid var(--accent);
  border-radius: 18px;
  padding: 22px;
  background: #fff;
}
.card-title {
  font-weight: 700;
  font-size: 20px;
  color: var(--accent);
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 2.5px dashed var(--accent);
  margin-bottom: 12px;
}
.card p {
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
  color: #333;
}

/* ── Exhibitors ───────────────────────────────────────── */
.exhibitor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 14px;
}
.exhibitor-card {
  border: 2.5px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.exhibitor-card:hover,
.exhibitor-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(26, 24, 21, 0.12);
  border-color: var(--accent);
  outline: none;
}
@media (prefers-reduced-motion: reduce) {
  .exhibitor-card {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }
  .exhibitor-card:hover,
  .exhibitor-card:focus-visible {
    transform: none;
  }
}
.exhibitor-logo {
  width: 70%;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
}
.exhibitor-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  scale: 1.2;
}
.exhibitor-logo.small img {
  scale: .84;
}
.exhibitor-name {
  font-weight: 700;
  font-size: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--line);
}
.exhibitor-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin: 0;
  flex: 1;
}
.exhibitor-card--placeholder {
  align-items: center;
  justify-content: center;
  min-height: 220px;
  border-style: dashed;
  color: #999;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.exhibitor-card--placeholder:hover,
.exhibitor-card--placeholder:focus-visible {
  transform: none;
  box-shadow: none;
  border-color: var(--line);
}
.tag-list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tag {
  font-size: 14px;
  padding: 2px 8px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 999px;
  font-weight: 600;
}
.note {
  font-size: 16px;
  color: var(--ink-soft);
  text-align: center;
}

/* ── Seminar table ────────────────────────────────────── */
.seminar-coming-soon {
  margin: 96px 0;
  text-align: center;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  color: var(--ink-soft);
}

.seminar-table {
  border: 2.5px solid var(--accent);
  border-radius: 8px;
  overflow: hidden;
  max-width: 960px;
  margin-inline: auto;
}
.seminar-table-head {
  display: grid;
  grid-template-columns: 180px 1fr 200px;
  background: var(--accent);
  color: var(--accent-fg);
  font-weight: 700;
  font-size: 16px;
  padding: 12px 18px;
}
.seminar-row {
  display: grid;
  grid-template-columns: 180px 1fr 200px;
  padding: 14px 18px;
  font-size: 16px;
  line-height: 1.6;
  border-top: 2px solid var(--line);
  background: #fff;
}
.seminar-row:nth-child(even) {
  background: var(--surface);
}
.seminar-time {
  font-weight: 600;
  color: var(--accent);
}

/* ── Howto cards ──────────────────────────────────────── */
.card-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 960px;
  margin-inline: auto;
}
.howto-card {
  border: 2.5px solid var(--accent);
  border-radius: 16px;
  padding: 28px;
  background: #fff;
}
.howto-card-title {
  font-weight: 700;
  font-size: 20px;
  color: var(--accent);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 2.5px dashed var(--accent);
}
.howto-card p {
  font-size: 16px;
  line-height: 1.9;
  margin: 0;
  color: #333;
}

/* ── Access ───────────────────────────────────────────── */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 960px;
  margin-inline: auto;
  align-items: start;
}
.access-map {
  border-radius: 8px;
  overflow: hidden;
  border: 2.5px solid var(--line);
}
.access-map iframe {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: none;
}
.access-info {
  font-size: 16px;
  line-height: 2;
}
.access-venue {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
}
.access-address {
  color: #444;
  margin-bottom: 16px;
}
.access-route-label {
  font-weight: 700;
  color: var(--accent);
  margin-top: 24px;
}

#access {
  padding-bottom: 140px;
}

/* ── Footer ───────────────────────────────────────────── */
.footer {
  padding: 48px 48px 120px;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  justify-content: space-between;
  align-items: start;
  font-size: 14px;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-name {
  font-weight: 700;
  font-size: 16px;
}
.footer-right {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 20px;
  max-width: 520px;
  opacity: 0.8;
  line-height: 1.7;
}
.footer-right-label {
  font-weight: 700;
}

/* ── Fixed CTA (B-2) ──────────────────────────────────── */
.cta-primary {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 100;
  width: 140px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-fg);
  font-family: var(--font);
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  line-height: 1.5;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(26, 24, 21, 0.35);
  transition: opacity 0.15s, transform 0.15s;
}
.cta-primary:hover {
  opacity: 0.88;
  transform: scale(1.04);
}

.fixed-cta {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  pointer-events: none;
  white-space: nowrap;
}
.fixed-cta a {
  pointer-events: auto;
  display: inline-block;
  padding: 15px 28px;
  padding-right: 40px;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
}
.fixed-cta a:hover {
  opacity: 0.88;
  transform: translateY(-4px);
}
.cta-secondary {
  background: var(--accent-sub);
  color: var(--ink);
  border: 2.5px solid currentColor;
  box-shadow: 0 6px 16px rgba(26, 24, 21, 0.25);
  font-size: 14px;
  position: relative;
}
.cta-secondary::after {
  content: ">";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-80%) scaleY(1.6);
  font-size: 1em;
  line-height: 1;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 900px) {
  .seminar-table-head,
  .seminar-row {
    grid-template-columns: 110px 1fr 90px;
  }
}

@media (max-width: 1440px) {
  .exhibitor-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 48px 20px;
  }
  .seminar-coming-soon {
    margin: 64px 0;
  }
  .intro {
    padding: 40px 20px;
  }
  .site-nav {
    padding: 10px 12px;
    gap: 6px;
  }
  .site-nav a {
    padding: 6px 12px;
    font-size: 12px;
  }
  .intro-meta {
    font-size: 13px;
  }
  .card-grid-3 {
    grid-template-columns: 1fr;
  }
  .exhibitor-grid {
    grid-template-columns: 1fr 1fr;
  }
  .seminar-table-head,
  .seminar-row {
    grid-template-columns: 90px 1fr 75px;
    font-size: 11px;
    padding: 8px 10px;
  }
  .card-grid-2 {
    grid-template-columns: 1fr;
  }
  .access-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 20px 120px;
  }
  .fixed-cta {
    flex-direction: column;
    gap: 8px;
    width: calc(100% - 32px);
    left: 16px;
    transform: none;
  }
  .fixed-cta a {
    width: 100%;
    padding: 14px 20px;
    font-size: 14px;
  }
  .cta-primary {
    width: 96px;
    height: 96px;
    font-size: 13px;
    bottom: 90px;
    right: 16px;
  }
}

@media (max-width: 480px) {
  .exhibitor-grid {
    grid-template-columns: 1fr;
  }
  .seminar-table-head,
  .seminar-row {
    grid-template-columns: 60px 1fr 60px;
    column-gap: 4px;
    font-size: 10px;
    padding: 6px 4px;
  }
}
