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

html, body {
  height: 100%;
  background: #000;
  color: #fff;
  font-family: "Trocchi", serif;
  letter-spacing: -0.5%;
  line-height: 160%;
  overflow: hidden;
}

body {
  height: 100%;
}

.page {
  display: flex;
  width: 100%;
  height: 100%;
}

.index-slot {
  width: 20%;
  flex-shrink: 0;
  height: 100vh;
}

.index {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 10px 10px 12px 12px;
  overflow: visible;
}

.index h2 {
  line-height: 100%;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 12px;
}

.index ol {
  padding-left: 10px;
  list-style: none;
}

.index li {
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.3;
}

.index a {
  line-height: 100%;
  display: grid;
  grid-template-columns: 1.25em 1fr;
  column-gap: 4px;
  color: inherit;
  text-decoration: none;
  outline: none;
  opacity: 1;
}

.index.is-tracking a {
  opacity: 0.2;
}

.index.is-tracking a.is-active {
  text-decoration: underline;
  opacity: 1;
}

.panel {
  width: 80%;
  height: 100vh;
  min-width: 0;
}

.scroller {
  width: 100%;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: none;
  scrollbar-width: none;
}

.scroller::-webkit-scrollbar {
  display: none;
}

.track {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 10% 80px;
}

.item-image {
  padding-top: 20px;
}

.title {
  width: max-content;
  margin: 40px auto 24px;
  text-align: center;
  font-size: clamp(18px, 2.4vw, 30px);
  font-weight: 400;
  line-height: 1.15;
}

.meta {
  text-align: center;
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 22px;
}

.address {
  text-align: center;
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 40px;
}

.body {
  max-width: 42em;
  width: 100%;
  font-size: 14px;
  line-height: 1.55;
}

.body p + p,
.body br {
  margin-top: 1.35em;
}

.item-image img {
  display: block;
  width: min(42em, 100%);
  height: auto;
  background: #fff;
}

.footnote {
  max-width: 42em;
  width: 100%;
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.4;
}

@media (max-width: 800px) {
  html, body {
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .page {
    display: block;
    height: auto;
    min-height: 100dvh;
    overflow: visible;
  }

  .index-slot {
    position: relative;
    width: 100%;
    height: auto;
  }

  .index {
    position: relative;
    z-index: 20;
    display: grid;
    grid-template-columns: 20% 1fr;
    align-items: start;
    column-gap: 12px;
    width: 100%;
    height: auto;
    padding: 20px 20px 24px;
    overflow: hidden;
    background: transparent;
  }

  .index h2 {
    margin-bottom: 0;
    cursor: pointer;
  }

  .index ol {
    padding-left: 0;
  }

  .index.is-stuck {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 92px;
    padding-bottom: 0;
    background: linear-gradient(
      180deg,
      #000 0%,
      #000 22%,
      rgba(0, 0, 0, 0.8) 45%,
      rgba(0, 0, 0, 0.4) 68%,
      rgba(0, 0, 0, 0) 100%
    );
  }

  .index.is-stuck li:not(.is-current) {
    display: none;
  }

  .index.is-stuck li {
    margin-bottom: 0;
  }

  .panel,
  .scroller {
    width: 100%;
    height: auto;
    overflow: visible;
  }

  .title {
    margin: 24px auto 16px;
  }

  .item {
    padding: 24px 24px 48px;
  }
}
