@import url("fonts.css");

html,
body,
p,
ol,
ul,
li,
dl,
dt,
dd,
blockquote,
figure,
fieldset,
legend,
textarea,
pre,
iframe,
hr,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  margin: 0;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

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

iframe {
  border: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

td:not([align]),
th:not([align]) {
  text-align: left;
}

html {
  height: 100%;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

article,
aside,
figure,
footer,
header,
hgroup,
section {
  display: block;
}

body,
button,
input,
select,
textarea {
  font-family: BlinkMacSystemFont, -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

code,
pre {
  font-family: Courier, "Courier New", monospace;
  -moz-osx-font-smoothing: auto;
  -webkit-font-smoothing: auto;
}

body {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 100%;
  font-family: Quattro, Pretendard, monospace;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
  word-break: keep-all;
  cursor: default;
}

body.is-fixed {
  height: 100%;
  overflow: hidden;
}

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

a:hover {
  font-weight: bold;
}

.header {
  position: sticky;
  z-index: 999;
  top: 0;
  width: 100%;
  padding: 0 1rem;
  background-color: white;
}

@media screen and (min-width: 600px) {
  .header {
    position: fixed;
    left: 0;
    width: 10rem;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 1.5rem;
  }
}

@media screen and (max-width: 600px) {
  .header .container {
    padding: 1rem 0;
    border-bottom: 1px solid black;
  }
}

.header .toggle-nav {
  display: block;
  position: absolute;
  z-index: 999;
  top: 0;
  right: 0;
  padding: 1rem;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  background-color: transparent;
  border: 0;
}

.header .nav {
  display: none;
}

@media screen and (min-width: 600px) {
  .header .title {
    margin-bottom: 3rem;
  }

  .header .toggle-nav {
    display: none;
  }

  .header .nav {
    display: block !important;
  }

  .header .others {
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 1.5rem;
  }
}

@media screen and (max-width: 600px) {
  .header .nav {
    margin-top: 1rem;
  }

  .header .others {
    margin-top: 1rem;
  }
}

.nav a {
  display: block;
  width: 100%;
}

.nav a:hover,
.header .is-active {
  font-weight: bold;
}

.main {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  flex: 1 1 auto;
}

@media screen and (min-width: 600px) {
  .main {
    margin-left: 10rem;
  }
}

.section {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  flex: 1 1 auto;
  position: relative;
  padding: 1rem;
}

@media screen and (min-width: 600px) {
  .section {
    padding: 1.5rem;
  }
}

.section-header,
.section-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 0 0 auto;
}

.section-main {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  flex: 1 1 auto;
}

.section-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.list {
  --gap: .75rem;
  list-style-type: none;
  margin: calc(var(--gap) * -1) 0;
}

.list li:not(:last-child) {
  border-bottom: 1px solid black;
}

.list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: var(--gap) 0;
}

.list a:hover {
  font-weight: bold;
}

.list-item {
  opacity: 0;
}

.list-item a div {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.list-item-image {
  flex: 0 0 1.5rem;
}

.list-item-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center center;
}

.list-item-title {
  flex: 1 1 auto;
}

.list-item-date {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.list em {
  font-style: normal;
  border-bottom: 1px dashed black;
}

.card {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: black;
}

.card:active {
  transform: scale(.95);
  transform-origin: center center;
}

.card img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center center;
}

.article {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  flex: 1 1 auto;
}

.article:not(:last-child) {
  margin-bottom: 3rem;
}

.article-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.article-title {
  font-size: 1.75rem;
  font-weight: bold;
  text-wrap: pretty;
}

.article-title em {
  font-style: normal;
  border-bottom: 1px dashed black;
}

.content {
  position: relative;
  line-height: 1.75;
}

@media screen and (min-width: 1500px) {
  .content {
    max-width: 75ch;
  }
}

.content > *:not(:last-child) {
  margin-bottom: 1rem;
}

.content a:not(.index a):not(.footnote-ref):not(.footnote-backref) {
  border-bottom: 1px solid black;
}

.content h1 {
  font-size: 1.125em;
  font-weight: bold;
  text-transform: capitalize;
}

.content h1 + h1 {
  margin-top: -1rem !important;
}

.content h1:not(:first-child) {
  margin-top: 3rem;
}

.content h2 {
  font-weight: bold;
}

.content ul, 
.content ol {
  margin-left: 2rem;
}

.content ul {
  list-style-type: disc;
}

/* .content li {
  margin-left: 1.5rem;
  text-indent: -1.5rem;
} */

.content sup {
  position: relative;
  font-size: .75em;
}

.content sup:target {
  font-weight: bold;
  scroll-margin-top: 25svh;
}

.content em {
  font-style: normal;
  border-bottom: 1px dashed black;
}

.content strong {
  font-style: normal;
}

.content hr {
  margin: 2em 0;
  text-align: center;
  border: 0;
  height: 0;
  line-height: 0;
}

.content hr::after {
  content: "* * *";
}

.content .video {
  position: relative;
  width: 100%;
  margin-bottom: 1.5em;
  padding-top: 56.25%;
}

.content .video:not(:first-child) {
  margin-top: 1.5em;
}

.content .video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.metatext {
  font-size: .875rem;
}

.footnotes {
  margin-top: 2rem;
  font-size: .875rem;
}

.footnotes hr {
  display: none;
}

/* .footnotes li {
  margin-left: 1.5rem;
  text-indent: -1.5rem;
} */

.footnote-ref,
.footnote-backref {
  padding: 0 .25em;
}

.footnotes li:target {
  font-weight: bold;
  scroll-margin-top: 25svh;
}

.slides {
  position: fixed;
  z-index: 999;
  right: -50%;
  bottom: -50%;
  width: 6rem;
  height: 6rem;
  overflow: hidden;
  background-color: black;
  border-radius: 22.5%;
  -webkit-transition: right 1s, bottom 1s, width .5s, height .5s, border-radius .25s;
  -o-transition: right 1s, bottom 1s, width .5s, height .5s, border-radius .25s;
  transition: right 1s, bottom 1s, width .5s, height .5s, border-radius .25s;
  cursor: -webkit-zoom-in;
  cursor: zoom-in;
}

@media screen and (min-width: 900px) {
  .slides {
    width: 12rem;
    height: 12rem;
  }
}

.slides.is-expanded {
  width: calc(100% - 1.5rem);
  height: calc(100% - 1.5rem);
  overflow-x: hidden;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  border-radius: 0;
  cursor: -webkit-zoom-out;
  cursor: zoom-out;
}

.slides.is-expanded::-webkit-scrollbar {
  display: none;
}

.slides.is-visible {
  right: .75rem;
  bottom: .75rem;
}

.slides figure {
  position: relative;
  width: 100%;
  height: 100%;
}

.slides img {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  max-width: 75%;
  width: auto;
  max-height: 75%;
  height: auto;
}

.slides figcaption {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  font-size: .75rem;
  line-height: 1.625;
  text-align: center;
  color: white;
}

.slides figcaption em {
  font-style: normal;
  border-bottom: 1px dashed white;
}

.slides.is-expanded figcaption {
  display: block;
}

.aside {
  margin-top: 3rem;
  padding-top: .5rem;
  border-top: 1px solid black;
}

.button {
  cursor: pointer;
}

.input {
  display: inline-block;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
  border: 0;
  outline: 0;
}

.input::-webkit-input-placeholder {
  color: inherit;
}

.input::-moz-placeholder {
  color: inherit;
}

.input:-ms-input-placeholder {
  color: inherit;
}

.input::-ms-input-placeholder {
  color: inherit;
}

.input::placeholder {
  color: inherit;
}

.columns {
  --gap: 1.5rem;
  --gap-row: var(--gap);
  --gap-column: var(--gap);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap-row) var(--gap-column);
}

.column {
  grid-column: span 12;
}

.column.is-1-12 {
  grid-column: span 1;
}

.column.is-2-12 {
  grid-column: span 2;
}

.column.is-3-12 {
  grid-column: span 3;
}

.column.is-4-12 {
  grid-column: span 4;
}

.column.is-5-12 {
  grid-column: span 5;
}

.column.is-6-12 {
  grid-column: span 6;
}

.column.is-7-12 {
  grid-column: span 7;
}

.column.is-8-12 {
  grid-column: span 8;
}

.column.is-9-12 {
  grid-column: span 9;
}

.column.is-10-12 {
  grid-column: span 10;
}

.column.is-11-12 {
  grid-column: span 11;
}

.column.is-12-12 {
  grid-column: span 12;
}

@media screen and (min-width: 600px) {
  .column.is-1-12-600 {
    grid-column: span 1;
  }

  .column.is-2-12-600 {
    grid-column: span 2;
  }

  .column.is-3-12-600 {
    grid-column: span 3;
  }

  .column.is-4-12-600 {
    grid-column: span 4;
  }

  .column.is-5-12-600 {
    grid-column: span 5;
  }

  .column.is-6-12-600 {
    grid-column: span 6;
  }

  .column.is-7-12-600 {
    grid-column: span 7;
  }

  .column.is-8-12-600 {
    grid-column: span 8;
  }

  .column.is-9-12-600 {
    grid-column: span 9;
  }

  .column.is-10-12-600 {
    grid-column: span 10;
  }

  .column.is-11-12-600 {
    grid-column: span 11;
  }

  .column.is-12-12-600 {
    grid-column: span 12;
  }

  .column > .column-sticky {
    position: sticky;
    top: 1.5rem;
  }
}

@media screen and (min-width: 900px) {
  .column.is-1-12-900 {
    grid-column: span 1;
  }

  .column.is-2-12-900 {
    grid-column: span 2;
  }

  .column.is-3-12-900 {
    grid-column: span 3;
  }

  .column.is-4-12-900 {
    grid-column: span 4;
  }

  .column.is-5-12-900 {
    grid-column: span 5;
  }

  .column.is-6-12-900 {
    grid-column: span 6;
  }

  .column.is-7-12-900 {
    grid-column: span 7;
  }

  .column.is-8-12-900 {
    grid-column: span 8;
  }

  .column.is-9-12-900 {
    grid-column: span 9;
  }

  .column.is-10-12-900 {
    grid-column: span 10;
  }

  .column.is-11-12-900 {
    grid-column: span 11;
  }

  .column.is-12-12-900 {
    grid-column: span 12;
  }
}

@media screen and (min-width: 1200px) {
  .column.is-1-12-1200 {
    grid-column: span 1;
  }

  .column.is-2-12-1200 {
    grid-column: span 2;
  }

  .column.is-3-12-1200 {
    grid-column: span 3;
  }

  .column.is-4-12-1200 {
    grid-column: span 4;
  }

  .column.is-5-12-1200 {
    grid-column: span 5;
  }

  .column.is-6-12-1200 {
    grid-column: span 6;
  }

  .column.is-7-12-1200 {
    grid-column: span 7;
  }

  .column.is-8-12-1200 {
    grid-column: span 8;
  }

  .column.is-9-12-1200 {
    grid-column: span 9;
  }

  .column.is-10-12-1200 {
    grid-column: span 10;
  }

  .column.is-11-12-1200 {
    grid-column: span 11;
  }

  .column.is-12-12-1200 {
    grid-column: span 12;
  }
}