@charset "UTF-8";

:root {
  --text: #202124;
  --muted: #62666d;
  --line: #d9dde3;
  --soft: #f5f6f8;
  --paper: #ffffff;
  --accent: #24547a;
  --accent-soft: #edf4f9;
  --max-width: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  color: var(--text);
  background: #eef0f2;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans CJK JP", sans-serif;
  line-height: 1.6;
}
a { color: var(--accent); }

.screen-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 58px;
  padding: .65rem max(1rem, calc((100vw - var(--max-width)) / 2));
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-title { font-weight: 600; }
.screen-header nav { display: flex; gap: .9rem; }
.screen-header nav a { text-decoration: none; font-size: .9rem; white-space: nowrap; }

main {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--paper);
  min-height: 100vh;
}

.cover {
  padding: 3.2rem clamp(1rem, 5vw, 4rem) 2.8rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, #f7f9fb 100%);
}
.cover-inner { max-width: 760px; }
.eyebrow { margin: 0 0 .5rem; color: var(--muted); font-size: .95rem; }
.cover h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.2; }
.date-range { margin: 1.2rem 0 0; font-size: 1.1rem; }
.cover .venue { margin: .25rem 0 0; color: var(--muted); }

.page, .program-block { padding: 2.5rem clamp(1rem, 4vw, 3rem); }
.section-title-row, .day-heading-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.section-title-row h2, .day-heading { margin: 0; font-size: clamp(1.45rem, 3vw, 2rem); }
.top-link { font-size: .84rem; white-space: nowrap; text-decoration: none; }

.schedule-days {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 1.4rem;
}
.day-schedule {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.day-schedule h3 {
  margin: 0;
  padding: .85rem 1rem;
  font-size: 1.05rem;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}
.schedule-list { padding: .35rem 0; }
.schedule-item {
  display: grid;
  grid-template-columns: 7.7rem 1fr;
  gap: .85rem;
  padding: .65rem 1rem;
  border-bottom: 1px solid #edf0f2;
}
.schedule-item:last-child { border-bottom: 0; }
.schedule-time { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.schedule-time span { font-weight: 400; color: var(--muted); }
.schedule-title { min-width: 0; }
.schedule-title a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #9aa8b6;
  text-underline-offset: .18em;
  text-decoration-thickness: 1px;
}
.schedule-title a:hover,
.schedule-title a:focus-visible {
  color: var(--link);
  text-decoration-color: currentColor;
}

.details { border-top: 8px solid var(--soft); }
.program-block + .program-block { border-top: 8px solid var(--soft); }
.day-heading span {
  display: inline-block;
  margin-left: .45rem;
  padding: .12rem .55rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .75em;
  vertical-align: .1em;
}

.session {
  margin-top: 1.7rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.session-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .95rem 1rem;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}
.session-heading h3 { margin: 0; font-size: 1.02rem; }
.chairs { color: var(--muted); font-size: .88rem; text-align: right; }
.chairs span { margin-right: .4rem; font-weight: 600; color: var(--text); }

.program-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: .92rem;
}
.program-table th {
  padding: .65rem .75rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
  font-weight: 600;
  text-align: left;
}
.program-table td {
  padding: .8rem .75rem;
  border-bottom: 1px solid #eceff2;
  vertical-align: top;
}
.program-table tbody tr:last-child td { border-bottom: 0; }
.program-table tbody tr:hover { background: #fafbfc; }
.program-table .num { width: 6.5rem; text-align: center; white-space: nowrap; }
.program-table .time { width: 6rem; text-align: center; white-space: nowrap; font-variant-numeric: tabular-nums; }
.program-table .presenter { width: 10rem; }
.program-table .title { overflow-wrap: anywhere; }


.poster-section {
  padding: 2.5rem clamp(1rem, 4vw, 3rem);
  border-top: 8px solid var(--soft);
}
.poster-heading-row { margin-bottom: .5rem; }
.poster-note {
  margin: .2rem 0 1.2rem;
  color: var(--muted);
  font-size: .88rem;
}
.poster-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: .92rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.poster-table th {
  padding: .65rem .75rem;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
  color: var(--muted);
  font-size: .78rem;
  font-weight: 600;
  text-align: left;
}
.poster-table td {
  padding: .8rem .75rem;
  border-bottom: 1px solid #eceff2;
  vertical-align: top;
}
.poster-table tbody tr:last-child td { border-bottom: 0; }
.poster-table tbody tr:hover { background: #fafbfc; }
.poster-table .poster-presenter { width: 10rem; }
.poster-table .poster-title { overflow-wrap: anywhere; }


@media (max-width: 700px) {
  html { scroll-padding-top: 0; }
  body { background: #fff; }
  .screen-header {
    position: static;
    display: block;
    padding: .7rem 1rem;
  }
  .header-title { font-size: .92rem; }
  .screen-header nav { margin-top: .35rem; gap: 1rem; overflow-x: auto; }
  .screen-header nav a { font-size: .82rem; }
  main { width: 100%; }
  .cover { padding: 2rem 1rem 1.6rem; }
  .cover h1 { font-size: 2rem; }
  .date-range { font-size: 1rem; }
  .page, .program-block { padding: 1.5rem .85rem; }
  .top-link { display: none; }
  .schedule-days { display: block; margin-top: 1rem; }
  .day-schedule { margin-bottom: 1rem; border-radius: 10px; }
  .schedule-item { grid-template-columns: 6.9rem 1fr; gap: .55rem; padding: .65rem .75rem; }
  .schedule-time { font-size: .88rem; }
  .schedule-title { font-size: .93rem; line-height: 1.45; }
  .details { border-top-width: 5px; }
  .program-block + .program-block { border-top-width: 5px; }
  .day-heading-row { display: block; }
  .day-heading { font-size: 1.35rem; }
  .session { margin-top: 1.2rem; border: 0; border-radius: 0; overflow: visible; }
  .session-heading {
    display: block;
    padding: .8rem .15rem .65rem;
    background: transparent;
    border-bottom: 2px solid var(--accent);
  }
  .session-heading h3 { font-size: 1rem; }
  .chairs { margin-top: .25rem; text-align: left; font-size: .82rem; }

  .program-table, .program-table tbody, .program-table tr, .program-table td {
    display: block;
    width: 100%;
  }
  .program-table { font-size: .95rem; }
  .program-table thead { display: none; }
  .program-table tbody tr {
    margin: .75rem 0;
    padding: .85rem .9rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
  }
  .program-table tbody tr:hover { background: #fff; }
  .program-table td {
    border: 0;
    padding: 0;
    text-align: left !important;
    white-space: normal !important;
  }
  .program-table .num, .program-table .time {
    display: inline-block;
    width: auto;
    margin: 0 .5rem .45rem 0;
    padding: .16rem .45rem;
    border-radius: 5px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: .8rem;
    font-weight: 600;
  }
  .program-table .num::before, .program-table .time::before {
    content: attr(data-label) " ";
    color: var(--muted);
    font-weight: 400;
  }
  .program-table .presenter {
    width: auto;
    margin: .05rem 0 .3rem;
    font-weight: 600;
  }
  .program-table .presenter::before {
    content: attr(data-label) "：";
    color: var(--muted);
    font-size: .8rem;
    font-weight: 400;
  }
  .program-table .title { line-height: 1.5; overflow-wrap: anywhere; }

  .poster-section {
    padding: 1.5rem .85rem;
    border-top-width: 5px;
  }
  .poster-note { font-size: .82rem; }
  .poster-table, .poster-table tbody, .poster-table tr, .poster-table td {
    display: block;
    width: 100%;
  }
  .poster-table { border: 0; font-size: .95rem; }
  .poster-table thead { display: none; }
  .poster-table tbody tr {
    margin: .75rem 0;
    padding: .85rem .9rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
  }
  .poster-table tbody tr:hover { background: #fff; }
  .poster-table td {
    border: 0;
    padding: 0;
    text-align: left;
  }
  .poster-table .poster-presenter {
    width: auto;
    margin-bottom: .3rem;
    font-weight: 600;
  }
  .poster-table .poster-presenter::before {
    content: attr(data-label) "：";
    color: var(--muted);
    font-size: .8rem;
    font-weight: 400;
  }
  .poster-table .poster-title {
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

}
@page poster {
  size: A4;
  margin: 13mm;
}

@media print {
  @page { size: A4; margin: 0; }
  body {
    background: #fff;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif CJK JP", serif;
    line-height: 1.3;
    print-color-adjust: exact;
  }
  .screen-header { display: none; }
  main { max-width: none; margin: 0; }
  .cover {
    width: 210mm;
    min-height: 297mm;
    padding: 35mm 22mm;
    background: #fff;
    break-after: page;
    text-align: center;
  }
  .cover-inner { max-width: none; }
  .eyebrow { margin-top: 35mm; font-size: 24pt; color: #171717; }
  .cover h1 { margin-top: 18mm; font-size: 22pt; }
  .date-range, .cover .venue { font-size: 13pt; color: #171717; }
  .schedule-page {
    width: 210mm;
    min-height: 297mm;
    padding: 16mm 14mm;
    break-after: page;
  }
  .section-title-row h2 { font-size: 17pt; }
  .top-link { display: none; }
  .schedule-days { display: block; margin-top: 8mm; }
  .day-schedule { border: 0; border-radius: 0; margin-bottom: 7mm; }
  .day-schedule h3 { padding: 0; background: none; border: 0; font-size: 13pt; }
  .schedule-list { padding: 0; margin-left: 12mm; }
  .schedule-item { display: grid; grid-template-columns: 32mm 1fr; padding: .35mm 0; border: 0; font-size: 9.5pt; }
  .schedule-time { text-align: right; padding-right: 6mm; font-weight: 400; }
  .details { border: 0; }
  .program-block {
    width: 210mm;
    min-height: 297mm;
    padding: 13mm;
    break-before: page;
    border: 0 !important;
  }
  .day-heading { font-size: 15pt; }
  .day-heading span { margin: 0; padding: 0; background: none; color: inherit; font-size: inherit; }
  .session { margin-top: 7mm; border: 0; border-radius: 0; overflow: visible; }
  .session-heading {
    display: grid;
    grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
    align-items: end;
    padding: 0 1mm .6mm;
    background: none;
    border-bottom: .7pt solid #555;
  }
  .session-heading h3 {
    min-width: 0;
    font-size: 9.7pt;
    font-weight: normal;
  }
  .chairs {
    min-width: 0;
    padding-right: 3mm;
    font-size: 8.8pt;
    color: #171717;
    text-align: right;
    overflow-wrap: anywhere;
  }
  .chairs span { margin-right: .3rem; font-weight: normal; }
  .program-table { font-size: 7.8pt; line-height: 1.15; border-bottom: .7pt solid #555; }
  .program-table th { padding: .35mm 1mm; border-bottom: .5pt solid #555; color: #171717; font-weight: normal; }
  .program-table td { padding: .42mm 1mm; border: 0; }
  .program-table .num { width: 16mm; text-align: center; }
  .program-table .time { width: 16mm; text-align: center; }
  .program-table .presenter { width: 28mm; text-align: center; }

  .poster-section {
    page: poster;
    width: auto;
    padding: 0;
    border: 0;
    break-before: page;
  }
  .poster-heading-row { margin-bottom: 2mm; }
  .poster-note {
    margin: 0 0 3mm;
    color: #171717;
    font-size: 8pt;
  }
  .poster-table {
    table-layout: fixed;
    border: 0;
    border-bottom: .7pt solid #555;
    border-radius: 0;
    overflow: visible;
    font-size: 7.8pt;
    line-height: 1.15;
  }
  .poster-table thead { display: table-header-group; }
  .poster-table th {
    padding: .35mm 1mm;
    border: 0;
    border-bottom: .5pt solid #555;
    background: none;
    color: #171717;
    font-weight: normal;
  }
  .poster-table td {
    padding: .55mm 1mm;
    border: 0;
    vertical-align: top;
  }
  .poster-table .poster-presenter { width: 28mm; text-align: center; }
  .poster-table .poster-title { overflow-wrap: anywhere; }

}
