@charset "UTF-8";

:root {
  --color-paper: #000;
  --color-ink: #fff;
  --color-mark: #fff;
  --color-mark-ink: #000;
  --color-link: #fff;
  --canvas-width: 980px;
  --font-sans: Arial, "Helvetica Neue", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

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

html {
  min-width: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  overflow-x: auto;
  overflow-y: scroll;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.08em;
}

h1,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

::selection {
  background: var(--color-mark);
  color: var(--color-mark-ink);
}

.l-canvas {
  position: relative;
  width: 100%;
}

.c-skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 8px 10px;
  transform: translateY(calc(-100% - 16px));
  background: var(--color-paper);
  border: 1px solid var(--color-ink);
  font-size: 11px;
  line-height: 1;
}

.c-skip-link:focus {
  transform: translateY(0);
}

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

/* Home: original 980px / 1597px composition. */

.p-home__canvas {
  min-height: 100vh;
}

.p-home__media-space {
  display: none;
}

.p-home__profile {
  position: absolute;
  top: 24px;
  left: 8px;
  z-index: 2;
  width: 310px;
  font-size: 13px;
  line-height: 1.4;
}

.p-home__profile p {
  min-height: 1.4em;
}

.p-home__profile mark {
  padding: 0;
  background: var(--color-mark);
  color: var(--color-mark-ink);
}

.p-home__space {
  height: 1.4em;
}

@media (max-width: 979px) {
  .p-home__profile {
    left: 8px;
    width: calc(100% - 48px);
  }

  .p-home__media-space {
    display: none;
  }
}
