:root {
  --c-black: #000;
  --c-white: #fff;
  --c-dark-gray: hsla(0deg 0% 100% / 10%);
  --c-gray: hsla(0deg 0% 100% / 50%);
  --fs-text: 11px;
  --fs-jp-text: 13px;
  --margin: 60px;
  --gutter: 10px;
  --column: calc((100vw - var(--margin) * 2 - var(--gutter) * 7) / 8);
  --vh: calc(100vh / 100);
}

@media (min-width: 960px) {
  :root {
    --fs-text: 12px;
    --fs-jp-text: 14px;
  }
}

@media (min-width: 1280px) {
  :root {
    --fs-jp-text: 16px;
  }
}

*,
::before,
::after {
  box-sizing: inherit;
  user-select: inherit;
  touch-action: inherit;
  backface-visibility: inherit;
  -webkit-user-drag: inherit;
  -webkit-tap-highlight-color: inherit;
}

* {
  margin: 0;
  padding: 0;
}

html {
  box-sizing: border-box;
  line-height: 1;
  -webkit-user-drag: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  overflow-x: hidden;
  overflow-y: auto;
}

main,
canvas {
  display: block;
}

img,
svg,
video {
  display: block;
  width: 100%;
  height: auto;
}

svg {
  user-select: none;
  pointer-events: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font: inherit;
}

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

ol,
ul {
  list-style: none;
}

input,
button,
select,
textarea {
  appearance: none;
  border: none;
  border-radius: 0;
  background: none;
  outline: none;
  color: inherit;
  font: inherit;
}

body {
  background-color: var(--c-black);
  color: var(--c-white);
  font-family: 'Courier New', 'Monaco', monospace;
  font-weight: 400;
  font-size: var(--fs-text);
  font-feature-settings: 'palt';
  font-synthesis: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
}

::selection {
  background-color: rgb(0, 8, 255);
  color: rgb(255, 255, 255);
}

/* 背景動画 - スクロールに追従、上下左右切れないように */
#Background {
  position: fixed;
  z-index: 1;
  top: 0;
  left: var(--margin);
  right: var(--margin);
  width: auto;
  height: 100vh;
  background-color: var(--c-black);
  overflow: hidden;
  will-change: top;
  display: flex;
  column-gap: var(--gutter);
}

#Background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
  pointer-events: none;
}

.BackgroundVideo {
  position: relative;
  top: 0;
  flex: 1;
  width: 0;
  height: 100%;
  min-height: 100%;
  object-fit: contain;
  object-position: center top;
}

.BackgroundVideo:nth-child(n+2) {
  display: none;
}

@media (min-width: 960px) {
  .BackgroundVideo:nth-child(2) {
    display: block;
  }
  
  .BackgroundVideo:nth-child(3) {
    display: none;
  }
}

@media (min-width: 1280px) {
  .BackgroundVideo:nth-child(3) {
    display: block;
  }
}

.grid {
  position: fixed;
  z-index: 2;
  left: var(--margin);
  right: var(--margin);
  top: 0;
  bottom: 0;
  display: flex;
  column-gap: var(--gutter);
  pointer-events: none;
}

.grid_column {
  width: var(--column);
  height: 100%;
  border-left: 1px solid var(--c-dark-gray);
  border-right: 1px solid var(--c-dark-gray);
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent calc(100% / 8 - 1px),
    var(--c-dark-gray) calc(100% / 8 - 1px),
    var(--c-dark-gray) calc(100% / 8)
  );
}

.siteHeader {
  position: fixed;
  z-index: 4;
  left: var(--margin);
  right: var(--margin);
  top: 0;
  padding-top: 10px;
  user-select: none;
}

.siteHeader_logo {
  width: 200px;
}

.siteHeader_logo svg {
  fill: var(--c-white);
}

.siteHeader_description {
  position: relative;
  margin-top: 10px;
  height: 1em;
}

.siteHeader_description > div {
  white-space: nowrap;
}

@media (min-width: 960px) {
  .siteHeader_description > div {
    position: absolute;
    top: 0;
  }
}

@media not all and (min-width: 960px) {
  .siteHeader_description > div + div {
    margin-top: 0.5em;
  }
}

.siteHeader_description .t1 {
  left: 0;
}

.siteHeader_description .t2 {
  left: calc(var(--column) * 1 + var(--gutter) * 1);
}

.siteHeader_description .t3 {
  left: calc(var(--column) * 2 + var(--gutter) * 2);
}

.siteHeader_description .t4 {
  left: calc(var(--column) * 3 + var(--gutter) * 3);
}

.siteHeader_description .t5 {
  right: 0;
}

.dates {
  position: fixed;
  z-index: 4;
  right: var(--margin);
  bottom: var(--margin);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  row-gap: 2em;
  user-select: none;
}

.dates_catchcopy {
  text-align: right;
  font-size: var(--fs-jp-text);
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
  font-weight: 500;
  line-height: 1.75;
  white-space: normal;
}

.dates_info {
  text-align: right;
}

.dates_date {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  row-gap: 0.5em;
}

.dates_label {
  font-size: 150%;
  text-transform: uppercase;
}

.dates_location {
  font-size: 125%;
  text-transform: uppercase;
}

@media (min-width: 960px) {
  .dates_label {
    font-size: 200%;
  }
  
  .dates_location {
    font-size: 150%;
  }
}

.dates_cta {
  text-align: right;
}

.dates_button {
  padding: 0.75em 1.5em;
  border: 1px solid var(--c-white);
  background-color: transparent;
  color: var(--c-white);
  font-size: var(--fs-jp-text);
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
  font-weight: 500;
  cursor: pointer;
  text-transform: uppercase;
  transition: background-color 0.3s, color 0.3s;
}

.dates_button:hover {
  background-color: var(--c-white);
  color: var(--c-black);
}

#PageWrapper {
  position: relative;
  z-index: 3;
  left: var(--margin);
  width: calc(100% - var(--margin) * 2);
  min-height: 100vh;
}

#Content {
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
}

.section {
  position: relative;
  width: 100%;
}

.section_border {
  width: 100%;
  height: var(--gutter);
  border-top: 1px solid var(--c-dark-gray);
  border-bottom: 1px solid var(--c-dark-gray);
}

.section_content {
  filter: drop-shadow(rgba(0, 0, 0, 0.75) 0px 0px 8px);
}

.section_h {
  font-size: 125%;
  text-transform: uppercase;
}

.title_h {
  font-size: 300%;
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1.2;
}

.title_info {
  margin-top: 1.5em;
  display: flex;
  flex-direction: column;
  row-gap: 0.5em;
}

.title_date,
.title_location {
  font-size: var(--fs-jp-text);
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
  font-weight: 500;
}

@media (min-width: 960px) {
  .title_h {
    font-size: 400%;
  }
  
  .title_info {
    flex-direction: row;
    column-gap: 2em;
  }
}

.section_t {
  width: calc(var(--column) * 3 + var(--gutter) * 3);
  margin-top: 1em;
  line-height: 1.75;
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
  font-weight: 500;
  font-size: var(--fs-jp-text);
}

@media (min-width: 640px) {
  .section_t {
    width: calc(var(--column) * 2 + var(--gutter) * 2);
  }
}

@media (min-width: 1280px) {
  .section_t {
    width: var(--column);
  }
}

.section_b {
  margin-top: 1em;
  font-weight: 500;
  font-size: var(--fs-jp-text);
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
  padding: 0;
}

.section_b:hover {
  opacity: 0.8;
}

.prologue {
  padding-top: calc(var(--vh) * 50 - var(--gutter) * 0.5);
}

@media (min-width: 1280px) {
  .prologue_content {
    padding-left: calc(var(--column) * 2 + var(--gutter) * 2);
  }
}

.title_count {
  position: relative;
  width: 100%;
  height: 4vw;
  margin-top: 2em;
  margin-bottom: 1em;
}

.title_count > * {
  position: absolute;
  top: 0;
  white-space: nowrap;
  font-size: 4vw;
}

.title_count .n1 {
  left: calc(var(--column) * 0.25);
  transform: translateX(-50%);
}

.title_count .label1 {
  left: calc(var(--column) * 0.75 + var(--gutter) * 0.25);
  transform: translateX(-50%);
}

.title_count .n2 {
  left: calc(var(--column) * 1.25 + var(--gutter) * 0.75);
  transform: translateX(-50%);
}

.title_count .label2 {
  left: calc(var(--column) * 1.75 + var(--gutter) * 1.25);
  transform: translateX(-50%);
}

.title_count .n3 {
  left: calc(var(--column) * 2.25 + var(--gutter) * 1.75);
  transform: translateX(-50%);
}

.title_count .label3 {
  left: calc(var(--column) * 2.75 + var(--gutter) * 2.25);
  transform: translateX(-50%);
}

.title_count .n4 {
  left: calc(var(--column) * 3.25 + var(--gutter) * 2.75);
  transform: translateX(-50%);
}

.title_count .label4 {
  left: calc(var(--column) * 3.75 + var(--gutter) * 3.25);
  transform: translateX(-50%);
}

.title {
  padding-top: calc(var(--vh) * 30 - var(--gutter) * 0.5);
}

@media (min-width: 1280px) {
  .title_content {
    padding-left: calc(var(--column) * 1 + var(--gutter) * 1);
  }
}

.concept {
  padding-top: 150px;
}

@media (min-width: 1280px) {
  .concept_content {
    padding-left: calc(var(--column) * 1 + var(--gutter) * 1);
  }
}

.profile {
  padding-top: 150px;
}

@media (min-width: 1280px) {
  .profile_content {
    padding-left: calc(var(--column) * 2 + var(--gutter) * 2);
  }
}

.profile .twitterLink {
  margin-top: 25px;
}

.access {
  padding-top: 150px;
}

@media (min-width: 1280px) {
  .access_content {
    padding-left: calc(var(--column) * 1 + var(--gutter) * 1);
  }
}

.contact {
  padding-top: 50px;
}

@media (min-width: 1280px) {
  .contact_content {
    padding-left: calc(var(--column) * 1 + var(--gutter) * 1);
  }
}

.contact .twitterLink {
  margin-top: 0.75em;
}

.event {
  padding-top: 150px;
}

@media (min-width: 1280px) {
  .event_content {
    padding-left: calc(var(--column) * 2 + var(--gutter) * 2);
  }
}

.credit {
  padding-top: 150px;
}

.credit_content {
  padding-bottom: 150px;
}

@media (min-width: 1280px) {
  .credit_content {
    padding-left: calc(var(--column) * 1 + var(--gutter) * 1);
  }
}

.credit_list {
  display: flex;
  flex-direction: column;
  row-gap: 50px;
  margin-top: 50px;
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
  font-weight: 500;
}

.credit_item {
  list-style: none;
}

.credit_item .role {
  margin-bottom: 0.5em;
}

.credit_item .name {
  font-size: var(--fs-jp-text);
  line-height: 1.25;
}

.credit_item.first .name {
  font-size: 26px;
}

.siteFooter {
  position: relative;
  width: 100%;
  height: calc(var(--vh) * 100);
  user-select: none;
}

.siteFooter_cr {
  position: absolute;
  right: 0;
  bottom: 10px;
}

.twitterLink a {
  display: inline-flex;
  align-items: center;
  column-gap: 0.5rem;
}

.twitterLink a:hover .twitterLink_text {
  text-decoration: underline;
}

.twitterLink_logo {
  display: block;
  width: 1.2rem;
  height: 1.2rem;
}

.twitterLink_logo svg {
  fill: currentcolor;
}

.twitterLink_text {
  font-size: 125%;
  font-family: 'Courier New', 'Monaco', monospace;
  font-weight: 400;
}

.link {
  font-family: 'Courier New', 'Monaco', monospace;
  font-weight: 400;
}

.link:hover {
  text-decoration: underline;
}

.popup {
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
}

.popup_bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.popup_close {
  position: absolute;
  width: 50px;
  height: 50px;
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.75);
  border: 1px solid var(--c-gray);
  border-radius: 6px;
  cursor: pointer;
}

@media (min-width: 960px) {
  .popup_close {
    left: calc(50% + 265px);
    top: 20px;
  }
}

@media not all and (min-width: 960px) {
  .popup_close {
    right: 20px;
    top: 20px;
  }
}

.popup_close .inner {
  position: relative;
  height: 100%;
}

.popup_close .inner::before,
.popup_close .inner::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  width: 141.411%;
  height: 1px;
  background-color: currentcolor;
  pointer-events: none;
}

.popup_close .inner::before {
  left: 0;
  transform-origin: left top;
  transform: rotate(45deg);
}

.popup_close .inner::after {
  right: 0;
  transform-origin: right top;
  transform: rotate(-45deg);
}

.popup_inner {
  position: relative;
  width: 100%;
  height: calc(100% - 40px);
  background-color: rgba(0, 0, 0, 0.75);
  border: 1px solid var(--c-gray);
  border-radius: 6px;
  overflow-y: scroll;
}

@media not all and (min-width: 960px) {
  .popup_inner {
    width: calc(100% - 40px);
  }
}

@media (min-width: 960px) {
  .popup_inner {
    width: 520px;
  }
}

.popup_content {
  width: 100%;
  padding: 20px;
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
  font-weight: 500;
}

.popup h3 {
  margin-left: -0.1em;
  margin-bottom: 1em;
  font-size: 24px;
  line-height: 1.2;
}

.popup li,
.popup p {
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.02em;
}

.popup ul li {
  position: relative;
  padding-left: 1.2em;
}

.popup ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  display: block;
  width: 4px;
  height: 4px;
  background-color: currentcolor;
  border-radius: 50%;
}

.popup ol {
  counter-reset: item 0;
}

.popup ol li {
  counter-increment: item 1;
  position: relative;
  padding-left: 1.2em;
}

.popup ol li::before {
  content: counter(item) '.';
  position: absolute;
  left: 0;
  top: 0;
  display: block;
}

.popup a {
  text-decoration: underline;
}
