/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  text-align: left;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

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

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/JetBrainsMono-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/JetBrainsMono-Italic.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/JetBrainsMono-Bold.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/JetBrainsMono-BoldItalic.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/NotoSans-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/NotoSans-Italic.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/NotoSans-Bold.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/NotoSans-BoldItalic.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans Condensed";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/NotoSans-Condensed.woff2") format("woff2");
}
body {
  font-family: "Noto Sans", sans-serif;
  font-size: 18px;
  line-height: var(--line-height);
  --line-height: 24px;
  --miku-aoi-dark: ##137a7f;
  --miku-aoi: #02BBBA;
  --miku-red: #ee286e;
  --dark-gray: #373b3e;
  --light-gray: #FAFAFA;
  --light-gray-2: #e1e1e1;
  --text-color: #000;
  background: var(--miku-aoi);
  color: var(--text-color);
}
@media (prefers-color-scheme: dark) {
  body {
    background: #000;
    --dark-gray: #EEE;
    --light-gray: #373b3e;
    --light-gray-2: #4f5559;
    --text-color: #FFF;
  }
}

jp, *[lang=ja-JP] {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.95em;
  font-style: normal;
}

zhcn, *[lang=zh-CN] {
  font-family: "Noto Sans SC", sans-serif;
  font-size: 0.95em;
  font-style: normal;
}

zhtw, *[lang=zh-TW] {
  font-family: "Noto Sans TC", sans-serif;
  font-size: 0.95em;
  font-style: normal;
}

#site-container {
  display: grid;
  grid-template-columns: [main-start] calc(100vw - 2em) [main-end];
  grid-template-rows: auto;
  grid-template-areas: "header" "main" "footer";
  margin: 0 auto;
  width: calc(100% - 2em);
}
@media screen and (min-width: 1024px) {
  #site-container {
    grid-template-columns: [main-start] 66ch [main-end];
    width: 66ch;
  }
  #site-container.home {
    grid-template-columns: [sidebar-start] 22ch [sidebar-end] 2ch [main-start] 66ch [main-end];
    grid-template-rows: auto;
    grid-template-areas: "header . main" ". . footer";
    width: 90ch;
  }
}

#site-header {
  border-top: 0.25rem solid var(--miku-red);
  display: flex;
  font-family: "Noto Sans", sans-serif;
  grid-area: header;
  margin: 0;
  padding: var(--line-height) 0;
}
#site-header hr {
  display: none;
}
@media screen and (min-width: 1024px) {
  .home #site-header {
    border: 0;
    display: block;
    padding-top: calc(0.25rem + 8 * var(--line-height));
    text-align: right;
  }
  .home #site-header h1 {
    color: #FFF;
    font-family: "Noto Sans Condensed", sans-serif;
    font-size: 3rem;
    font-weight: 400;
    line-height: 2.5rem;
    margin: 1.25rem 0 0 0;
    text-align: right;
  }
  .home #site-header hr {
    border-bottom: 0;
    border-left: 0;
    border-right: 0;
    border-top: 0.25rem solid var(--miku-red);
    display: block;
    margin: calc(var(--line-height) / 2) 0;
  }
  .home #site-header nav {
    display: block;
    margin: 0;
  }
  .home #site-header nav ul {
    display: block;
  }
  .home #site-header nav ul li {
    background: var(--miku-red);
    box-sizing: border-box;
    color: #FFF;
    display: block;
    height: calc(var(--line-height) * 2);
    margin: var(--line-height) 0;
    position: relative;
    transition: 0.1s ease-in all;
  }
  .home #site-header nav ul li a {
    box-sizing: border-box;
    display: block;
    height: 100%;
    padding: calc(var(--line-height) / 2) 1em;
    text-align: right;
    text-decoration: none;
    width: 100%;
  }
  .home #site-header nav ul li:hover {
    box-shadow: 0 0em 0.5em var(--miku-red);
  }
  .home #site-header nav ul li:hover a {
    text-shadow: 0 0em 0.5em #FFF;
  }
  .home #site-header nav a {
    color: inherit;
  }
}
#site-header h1 {
  color: #FFF;
  display: inline-block;
  flex: 1 0;
  font-weight: bold;
}
#site-header h1 a:link, #site-header h1 a:visited, #site-header h1 a:active {
  color: inherit;
  text-decoration: none;
}
#site-header h1 a:hover {
  color: inherit;
  text-decoration: underline;
}
#site-header nav {
  display: inline-block;
  flex: 0 0 auto;
  margin: 0;
}
#site-header nav ul li {
  color: #FFF;
  display: inline-block;
}
#site-header nav a {
  color: inherit;
  transition: 0.1s ease-in all;
}
#site-header nav a:hover {
  text-shadow: 0 0em 0.5em var(--miku-red);
}

main {
  background: var(--light-gray);
  grid-area: main;
  margin: 1rem auto;
  padding: 0 1rem;
  width: calc(100% - 2rem);
}
.page main {
  margin-top: calc(var(--line-height) * 2);
}
.page main h2.p-name {
  font-family: "Noto Sans Condensed", sans-serif;
  font-size: 2rem;
  font-weight: normal;
  padding-top: var(--line-height);
}

*[aria-hidden=true] {
  user-select: none;
}

main {
  border-radius: 0.5em;
  box-shadow: 0 0em 0.2em var(--dark-gray);
}
main ol, main p, main ul {
  margin: var(--line-height) 0;
}
main ol ol, main ol ul, main ul ul, main ul ol {
  margin: 0 0;
}
main li {
  hyphens: auto;
  text-align: justify;
}
main hr {
  border-bottom: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0.25rem solid var(--miku-aoi);
  margin: calc(var(--line-height) / 2) 0;
}
main h1, main h2, main h3 {
  font-family: "Noto Sans", sans-serif;
  line-height: 1.25em;
  text-wrap: balance;
}
main h2:not(.p-name) {
  background: var(--dark-gray);
  color: var(--light-gray);
  margin: 0 -1rem;
  padding: 1rem 0 1rem 1rem;
}
main h2 {
  font-size: 1.25em;
  font-weight: bold;
}
main h3 {
  font-weight: bold;
  line-height: 1.25em;
  margin: var(--line-height) 0;
}
main .footnotes {
  border-top: 0.25em dotted var(--dark-gray);
}
main a:link {
  color: var(--miku-aoi);
}
main a:visited {
  color: var(--miku-aoi-dark);
}
main a:hover {
  color: var(--miku-red);
}
main a:active {
  color: var(--miku-aoi);
}
main p {
  hyphens: auto;
  text-align: justify;
}
main details {
  margin: 1em 0;
}
main dl dt {
  clear: left;
  float: left;
  font-style: italic;
  margin-right: 0.25em;
}
main ol {
  list-style-type: decimal;
  padding: 0 0 0 1em;
}
main ul {
  list-style-type: disc;
  padding: 0 0 0 1em;
}
main blockquote {
  background: var(--light-gray);
  box-sizing: border-box;
  color: var(--dark-gray);
  font-style: italic;
  margin: var(--line-height) 0;
  padding: 0.01em 2em;
}
main blockquote[lang=ja-JP] {
  font-style: normal;
}
main blockquote p:first-child {
  margin-top: 0;
}
main blockquote p:last-child {
  margin-bottom: 0;
}
main code {
  color: var(--dark-gray);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9em;
}
main div.highlight {
  background: var(--light-gray);
  overflow-x: auto;
  padding: var(--line-height) 1ch;
}
main div.highlight code {
  color: inherit;
}
main div.highlight code .c1, main div.highlight code .k, main div.highlight code .kn, main div.highlight code .kt, main div.highlight code .p, main div.highlight code .si {
  color: var(--dark-gray);
  font-weight: bold;
}
main div.highlight code .c1 {
  font-style: italic;
}
main em {
  font-style: italic;
}
main figure img {
  width: 100%;
}
main figure.gallery {
  align-items: center;
  display: flex;
  height: 18em;
}
main figure.gallery .image {
  flex: 0 0 15em;
  height: 18em;
}
main figure.gallery .image img {
  height: 18em;
  width: 15em;
  object-fit: cover;
}
main figure.gallery figcaption {
  flex: 1 0 60%;
  margin-left: 1em;
}
main figure.gallery figcaption p {
  margin: 0 0 1em 0;
  text-align: left;
  text-wrap: balance;
}
main figure.gallery figcaption dt {
  font-size: 85%;
  font-style: italic;
}
main figure.gallery figcaption dd {
  font-size: 85%;
}
main .callout-warning {
  font-weight: bold;
}
main p.lyrics, main .lyrics p {
  white-space: pre-line;
}
main .footnote::before {
  content: "[";
}
main .footnote::after {
  content: "]";
}
main strong {
  font-weight: bold;
}
main table {
  border-collapse: collapse;
  margin: 1em -1rem;
  table-layout: fixed;
  width: calc(100% + 2rem);
}
main th {
  font-weight: bold;
}
main td, main th {
  padding: 0.5rem;
}
main td p:first-child, main th p:first-child {
  margin-top: 0;
}
main td p:last-child, main th p:last-child {
  margin-bottom: 0;
}
main tbody tr:nth-child(odd) {
  background-color: var(--light-gray-2);
}
main time {
  font-style: italic;
  font-weight: normal;
}

#site-footer {
  background: var(--light-gray);
  border-radius: 0.5em;
  box-shadow: 0 0em 0.2em var(--dark-gray);
  grid-area: footer;
  margin: var(--line-height) auto;
  padding: 1rem;
  width: calc(100% - 2rem);
}
#site-footer .header {
  color: var(--dark-gray);
  display: block;
  font-style: italic;
  text-align: right;
  text-wrap: balance;
}
#site-footer hr {
  border-bottom: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0.25rem solid var(--miku-aoi);
  margin: calc(var(--line-height) / 2) 0;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5em;
  margin: var(--line-height) 0;
}
.cards .card {
  border-radius: 0.5rem;
  box-shadow: 0 0 0.05em var(--text-color);
  box-sizing: border-box;
  display: flex;
  flex: 1 0 calc(50% - 0.5em);
  flex-direction: column;
  min-width: 30ch;
  overflow: clip;
}
.cards .card .title {
  font-family: "Noto Sans", sans-serif;
  font-weight: bold;
  padding: 1rem 1rem 0;
}
.cards .card .title a {
  color: inherit;
  text-decoration: none;
}
.cards .card .body {
  flex: 1 0;
  font-size: 0.9em;
  line-height: 1.25em;
  padding: 0 1rem;
}
.cards .card .body p {
  text-align: left;
}
.cards .card .footer {
  background: var(--miku-aoi);
  color: #FFF;
  display: flex;
  font-size: 0.9em;
  padding: 1rem;
}
.cards .card .footer > div {
  flex: 1 0 50%;
}
.cards .card .footer time {
  display: inline-block;
  text-align: right;
  width: 100%;
}
.cards .card .footer a {
  color: inherit;
}
.cards .card-double {
  flex: 1 0 100%;
}

/*# sourceMappingURL=main.css.map */