:root {
  color-scheme: dark;
  --paper: #fff;
  --ink: #000000;
  --rule: 1px;
  --font-base: clamp(15px, 1.08vw, 18px);
  --font-name: clamp(20px, 1.8vw, 27px);
  --font-heading: clamp(22px, 2.2vw, 31px);
  --font-kyoto: clamp(34px, 4vw, 48px);
  --font-display: clamp(64px, 8vw, 96px);
  --font-sans: "Zen Kaku Gothic New", sans-serif;
  --font-brand: "Shippori Mincho", serif;
  font-family: var(--font-sans);
  font-size: var(--font-base);
  font-weight: 500;
  line-height: 1.34;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

* { box-sizing: border-box; }
::selection { background-color: var(--ink); color: var(--paper); }
html { min-width: 320px; scroll-behavior: smooth; background-color: #000; }
html.fonts-loading body { visibility: hidden; }
body {
  color-scheme: light;
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
}
a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: var(--rule);
  text-underline-offset: .14em;
  -webkit-tap-highlight-color: transparent;
}
a:hover { text-decoration-style: double; }
button {
  color: inherit;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}
summary { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, dl, figure, address { margin: 0; font: inherit; }
h1, h2, h3, h4 { font-weight: 400; }
ul { padding-left: 1.2em; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Public pre-release gate */
.home-page { min-height: 100svh; overflow: hidden; }
.site-gate {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(12, minmax(0, 1fr));
  width: 100%;
  height: 100svh;
  overflow: hidden;
  background: var(--paper);
}
.site-gate__title {
  grid-column: 8 / span 4;
  grid-row: 7;
  align-self: end;
  justify-self: start;
  width: max-content;
  margin: 0;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: var(--font-display);
  line-height: 1.1;
  letter-spacing: 0;
}

/* Authenticated preview */
.preview-page { min-height: 100svh; }

.mini-logo {
  position: fixed;
  z-index: 20;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: var(--font-name);
  line-height: 1;
  letter-spacing: -.06em;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.mini-logo.is-visible { opacity: 1; pointer-events: auto; }

.mini-reserve {
  position: fixed;
  z-index: 20;
  left: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  height: 2.75rem;
  padding: 0 1.1em;
  border: var(--rule) solid var(--ink);
  border-radius: 999px;
  background-color: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-weight: 700;
  font-size: var(--font-base);
  line-height: 1;
  opacity: 1;
  transition: opacity .2s;
}
.mini-reserve:hover { background-color: var(--paper); color: var(--ink); }
.mini-reserve:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.mini-reserve.is-hidden { opacity: 0; pointer-events: none; }

.quick-tickets {
  padding: clamp(1.25rem, 3vw, 2rem) clamp(.75rem, 2.5vw, 2.5rem);
  border-bottom: var(--rule) dotted var(--ink);
  text-align: center;
}
.quick-tickets > * + * { margin-top: .3em; }
.quick-tickets .ticket-actions { justify-content: center; }

.ticket-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6em .75em;
}
.ticket-button {
  display: inline-flex;
  align-items: center;
  padding: .55em 1.1em;
  border: var(--rule) solid var(--ink);
  border-radius: 999px;
  background-color: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
}
.ticket-button:hover { background-color: var(--paper); color: var(--ink); }
.ticket-button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.preview-home {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 0;
  overflow: hidden;
  background-color: var(--paper);
}
.preview-home__background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}
.preview-home__stage {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
}
.preview-home__item {
  position: absolute;
  z-index: 2;
  margin: 0;
  line-height: 0;
  visibility: hidden;
  opacity: 0;
}
.preview-home__item img { width: 100%; height: auto; }
.preview-home__item.is-visible { visibility: visible; opacity: 1; }

/* AWT2024型：PCは横長の舞台として全要素を収め、SPとは別に再配置する。 */
.preview-home__item--geikan {
  top: -.23446659svh;
  left: 0;
  /* 可視領域488×4265を縦横比そのままで画面高いっぱいにする。 */
  width: 11.9109027svh;
  /* 抽出PNG内の左透明余白10px（全幅508px）を相殺する。 */
  transform: translateX(-1.96850394%);
}
.preview-home__item--kansai { top: 6.5svh; right: 6vw; width: min(32vw, 60svh); }
.preview-home__item--kyoto { top: 10svh; left: 4vw; width: min(9vw, 18svh); }
.preview-home__item--title { top: 17svh; left: 4vw; width: min(28vw, 55svh); }
.preview-home__item--datetime { top: calc(18.5svh + min(28vw, 55svh) * .320963542); left: 4vw; width: min(26vw, 50svh); }
.preview-home__item--no1 { top: 3svh; right: 3vw; width: min(1.9vw, 3.2svh); }
.preview-home__item--ba { top: 12.5svh; right: 2.6vw; width: min(2.4vw, 4svh); }
.preview-home__item--to { top: 34svh; right: 3.6vw; width: min(1.35vw, 2.4svh); }
.preview-home__item--kiroku { top: 46svh; right: 2.6vw; width: min(2.4vw, 4svh); }
.preview-home__item--no2 { top: 77svh; right: 3vw; width: min(1.9vw, 3.2svh); }
.preview-home__item--current {
  top: auto;
  bottom: 0;
  right: 5.5vw;
  width: min(3.8vw, 7svh);
  /* 下端の透明余白だけ画面外へ出し、紺色面を画面下端につける。 */
  transform: translateY(.46274873%);
}
.preview-home__item--considering { top: 60svh; right: calc(6.75vw + min(3.8vw, 7svh)); width: min(21vw, 40svh); }
.preview-home__item--symposium { top: calc(61svh + min(21vw, 40svh) * .350835322); right: calc(6.75vw + min(3.8vw, 7svh)); width: min(24vw, 46svh); }
.preview-home__item--tagline { top: max(47svh, calc(20svh + min(28vw, 55svh) * .320963542 + min(26vw, 50svh) * .30519919)); left: calc(11.442svh + .75vw); width: min(3.2vw, 6svh); }
.preview-home__item--address { bottom: 3svh; left: 34vw; width: min(24vw, 45svh); }
.preview-home__item--geikan { z-index: 1; }
.preview-home__item--no2,
.preview-home__item--current { z-index: 3; }
.preview-home__item--kyoto,
.preview-home__item--title,
.preview-home__item--datetime { z-index: 4; }

/* Shared document structure */
.document-page main,
.lp-content { width: 100%; padding: clamp(.75rem, 2vw, 1.75rem) clamp(.75rem, 2.5vw, 2.5rem) 3rem; }
.lp-content,
.document-page section[id],
.lp-content section[id],
.profile[id] { scroll-margin-top: 3rem; }
.page-header { position: relative; z-index: 2; }
.page-title,
.article-title,
.section-heading {
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.05;
}
.page-title { font-size: var(--font-heading); }
.article-title { max-width: 18ch; font-size: var(--font-heading); line-height: 1.15; }
.article-title span { display: inline-block; }
.section-heading { font-size: var(--font-heading); }
.section-heading--bullet::before {
  content: "●";
  display: inline-block;
  font-size: var(--font-base);
  vertical-align: .16em;
  margin-right: .3em;
}
.document-page section,
.lp-content section { position: relative; margin-top: clamp(3rem, 6vw, 6rem); }
.prose { max-width: 53rem; margin-top: 1.25rem; line-height: 1.5; }
.prose > * + * { margin-top: .7em; }
.prose p:nth-of-type(even) { margin-left: 0; }

/* フライヤー情報面の密度と左右の比率を引き継ぐ。 */
.lp-content > #concept { margin-top: clamp(2rem, 4vw, 4rem); }
.lp-content > #concept .prose {
  width: min(72%, 66rem);
  max-width: none;
  margin: 0 0 0 auto;
}

.prose details,
.profile__statement details { display: block; }
.prose details > summary,
.profile__statement details > summary { cursor: pointer; }
.profile__statement details > summary { list-style: none; }
.profile__statement details > summary::-webkit-details-marker { display: none; }
.prose details > summary:active,
.profile__statement details > summary:active {
  background-color: var(--ink);
  color: var(--paper);
}
@media (hover: hover) {
  .prose details > summary:hover,
  .profile__statement details > summary:hover {
    background-color: var(--ink);
    color: var(--paper);
  }
}
.prose details > summary:focus-visible,
.profile__statement details > summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.prose details > * + *,
.profile__statement details > * + * { margin-top: 1em; }

/* About */
.about-intro { margin-top: clamp(3rem, 8vw, 8rem); }
.about-intro .prose { margin-left: min(19vw, 16rem); }
.about-background .prose { margin: 3rem 0 0 auto; }
.about-purpose .section-heading { margin-left: min(15vw, 14rem); }
.about-purpose .prose { margin-top: 3rem; }

/* Kyoto symposium */
.event-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(6rem, .7fr) minmax(0, 2.3fr);
  min-height: 100svh;
  padding-top: 1rem;
}
.event-hero__title {
  grid-column: 1;
  justify-self: center;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: var(--font-kyoto);
  line-height: 1.1;
  letter-spacing: 0;
  writing-mode: vertical-rl;
}
.event-hero__information {
  grid-column: 2;
  align-self: end;
  justify-self: end;
  max-width: 58rem;
  padding: 0 1vw 7vh 2rem;
}
.event-hero__information > * + * { margin-top: .6em; }
.event-hero__information .article-title { max-width: none; }

.programme-list { margin-top: 2.5rem; }
.programme-list > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5em;
  padding: .55rem 0;
}
.programme-list > div::after {
  content: "";
  order: 2;
  flex: 1 1 3rem;
  align-self: flex-start;
  margin-top: .67em;
  border-bottom: 2px dotted var(--ink);
}
.programme-list dt, .programme-list dd { margin: 0; }
.programme-list dt { order: 1; flex: 0 0 auto; }
.programme-list dd { order: 3; flex: 0 1 auto; }
.cta-apply { margin-top: 2.5rem; }
.cta-apply > * + * { margin-top: .3em; }
#datetime .section-heading + *,
#venue .section-heading + *,
#price .section-heading + *,
#venue-programmes .section-heading + *,
#access-map .section-heading + * { margin-top: 1.2rem; }
#price p + p { margin-top: .3em; }
.venue-programme-list li + li { margin-top: .3em; }
.access-map__frame {
  display: block;
  width: 100%;
  max-width: 40rem;
  height: 20rem;
  margin-top: 1.5rem;
  border: var(--rule) solid var(--ink);
}

.video-frame {
  display: block;
  width: 100%;
  max-width: 40rem;
  aspect-ratio: 16 / 9;
  margin-top: 1.5rem;
  border: var(--rule) solid var(--ink);
  border-radius: 12px;
  overflow: hidden;
}

.programme-copy { margin-top: 4rem; }
.programme-copy + .programme-copy { margin-top: 7rem; }
.programme-copy .section-heading { max-width: 15ch; }
.programme-copy .prose { margin: 2rem 0 0 auto; }
.questions { max-width: 53rem; margin: 1.5rem 0 0 auto; }
.questions li + li { margin-top: .35em; }

.profiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.5vw, 2.75rem);
  margin-top: 1.5rem;
  border-bottom: var(--rule) dotted var(--ink);
}
.profile {
  display: grid;
  grid-template-columns: clamp(5rem, 8vw, 7rem) minmax(0, 1fr);
  gap: clamp(.75rem, 1.5vw, 1.25rem);
  align-items: start;
  margin: 0;
  padding: 1rem 0;
  border-top: var(--rule) dotted var(--ink);
}
.profile__figure { margin: 0; }
.profile__figure img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}
.profile__copy { min-width: 0; }
.profile__copy > * + * { margin-top: .4em; }
.profile__role { margin-bottom: .75em; font-weight: 700; }
.profile__name {
  display: inline;
  font-weight: 700;
  font-size: var(--font-name);
  line-height: 1.05;
  letter-spacing: -.035em;
}
.profile__affiliation { display: inline; margin-left: .9em; }
.profile__affiliation-part { display: inline-block; white-space: nowrap; }
.profile__bio { margin-top: .45em; line-height: 1.5; }
.profile__sns { margin-top: .6em; }
.profile__sns > * + * { margin-top: .2em; }
.profile__sns-heading,
.profile__sns-channel { font-weight: 700; }
.profile__sns-channel {
  display: inline-block;
  min-width: 11em;
  margin-right: .5em;
}
.profile__statement {
  margin-top: 1rem;
  padding-top: .5rem;
  border-top: var(--rule) dotted var(--ink);
}
.profile__statement h4 { text-decoration: underline; text-underline-offset: .14em; }
.profile__statement h4::after { content: " ＋"; text-decoration: none; }
.profile__statement:has(details[open]) h4::after { content: " －"; }

.event-information-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.event-information-grid section { margin-top: 0; }
.event-information__details > section + section {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: var(--rule) dotted var(--ink);
}
.event-information-grid .programme-list { margin-top: 1rem; }
.event-information-grid .access-map__frame { max-width: none; }

.event-footer {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2vw, 2rem);
  row-gap: 1rem;
  margin-top: clamp(3rem, 6vw, 6rem);
  padding-top: 1rem;
  border-top: var(--rule) solid var(--ink);
}
.event-footer address { font-style: normal; }
.event-footer__intro {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: .35em clamp(1.5rem, 4vw, 4rem);
  padding-bottom: .75rem;
  border-bottom: var(--rule) dotted var(--ink);
}
.event-footer__socials { grid-column: 1 / span 4; }
.event-footer__credits { grid-column: 5 / span 4; }
.event-footer__contact { grid-column: 9 / -1; }
.event-footer__heading,
.event-footer__label,
.event-footer__channel { font-weight: 700; }
.event-footer__socials > * + *,
.event-footer__credits > * + *,
.event-footer__contact > * + * { margin-top: .3em; }
.event-footer__credit > * + * { margin-top: .3em; }
.event-footer__credit + .event-footer__credit {
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: var(--rule) dotted var(--ink);
}
.event-footer__channel {
  display: inline-block;
  min-width: 8.5em;
  margin-right: .5em;
}

@media (max-width: 48rem) {
  .preview-page .mini-reserve {
    left: .25rem;
    height: 2.25rem;
    padding: 0 .9em;
  }
  .preview-home {
    height: 100svh;
    min-height: 0;
  }
  .preview-home__background {
    object-position: 54% center;
  }
  .preview-home__item--geikan { top: -.23446659svh; left: 0; width: 11.9109027svh; }
  .preview-home__item--kansai { top: calc(51 / 667 * 100svh); left: calc(155 / 375 * 100vw); right: auto; width: calc(187 / 375 * 100vw); }
  .preview-home__item--kyoto { top: calc(135 / 667 * 100svh); left: calc(50 / 375 * 100vw); width: calc(78 / 375 * 100vw); }
  .preview-home__item--title { top: calc(174 / 667 * 100svh); left: calc(50 / 375 * 100vw); width: calc(230 / 375 * 100vw); }
  .preview-home__item--datetime { top: calc(174 / 667 * 100svh + 230 / 375 * 100vw * .320963542 + .75rem); left: calc(50 / 375 * 100vw); width: calc(222 / 375 * 100vw); }
  .preview-home__item--no1 { top: calc(20 / 667 * 100svh); right: calc(11 / 375 * 100vw); width: calc(25 / 375 * 100vw); }
  .preview-home__item--ba { top: calc(75 / 667 * 100svh); right: calc(9 / 375 * 100vw); width: calc(31 / 375 * 100vw); }
  .preview-home__item--to { top: calc(216 / 667 * 100svh); right: calc(13 / 375 * 100vw); width: calc(18 / 375 * 100vw); }
  .preview-home__item--kiroku { top: calc(294 / 667 * 100svh); right: calc(9 / 375 * 100vw); width: calc(31 / 375 * 100vw); }
  .preview-home__item--no2 { top: calc(514 / 667 * 100svh); right: calc(11 / 375 * 100vw); width: calc(25 / 375 * 100vw); }
  .preview-home__item--current { top: auto; bottom: 0; left: calc(292 / 375 * 100vw); right: auto; width: calc(40 / 375 * 100vw); }
  .preview-home__item--considering { top: calc(452 / 667 * 100svh); left: calc(116 / 375 * 100vw); right: auto; width: calc(160 / 375 * 100vw); }
  .preview-home__item--symposium { top: calc(452 / 667 * 100svh + 160 / 375 * 100vw * .350835322 + .5rem); left: calc(94 / 375 * 100vw); right: auto; width: calc(191 / 375 * 100vw); }
  .preview-home__item--tagline { top: calc(355 / 667 * 100svh); left: calc(81 / 375 * 100vw); width: calc(37 / 375 * 100vw); }
  .preview-home__item--address { bottom: calc(13 / 667 * 100svh); left: calc(72 / 375 * 100vw); width: calc(210 / 375 * 100vw); }

  .document-page main,
  .lp-content { padding-inline: .75rem; }
  .lp-content > #concept .prose { width: 100%; }
  .about-intro .prose,
  .about-background .prose,
  .about-purpose .section-heading { margin-left: 0; }
  .event-hero { display: block; min-height: 92svh; padding-top: 9vh; }
  .event-hero__title { writing-mode: horizontal-tb; }
  .event-hero__information { margin-top: 21vh; padding: 0; }
  .profiles { grid-template-columns: 1fr; }
  .profile { grid-template-columns: 4.75rem minmax(0, 1fr); gap: .75rem; }
  #tamaki-mori .profile__affiliation {
    --font-affiliation: clamp(.8rem, calc(5.5vw - .373333rem), 1rem);
    display: block;
    margin: .4em 0 0;
    font-size: var(--font-affiliation);
    white-space: nowrap;
  }
  .event-information-grid { grid-template-columns: 1fr; gap: 3rem; }
  .event-footer { grid-template-columns: 1fr; row-gap: 0; }
  .event-footer__intro,
  .event-footer__socials,
  .event-footer__credits,
  .event-footer__contact { grid-column: 1; }
  .event-footer__socials,
  .event-footer__credits,
  .event-footer__contact {
    padding: .75rem 0;
    border-bottom: var(--rule) dotted var(--ink);
  }
  .event-footer__contact { border-bottom: 0; }
}

@media (max-width: 23rem) {
  .programme-list > div { gap: .35em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .preview-home__item,
  .preview-home__item--vertical {
    visibility: visible;
    opacity: 1;
  }
}
