@font-face {
  font-family: "MatineeSerif";
  src: url("../fonts/MatineeSerif-Regular.woff");
  font-variation-settings: "srff" 100, "ital" 0, "wght" 70;
}
html,
body {
  background: white;
  z-index: 1;
  font-family: "MatineeSerif", sans-serif;
  font-size: 12px;
  font-weight: normal;
  padding: 0;
  margin: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: scroll;
  overflow-y: hidden;
}

.nav,
.footer,
.information h .information p {
  transform-origin: bottom;
}

.nav.scrolling-left,
.footer.scrolling-left,
.information.scrolling-left h2,
.information.scrolling-left p {
  transform: skew(5deg);
}

.nav.scrolling-right,
.footer.scrolling-right,
.information.scrolling-right h2,
.information.scrolling-right p {
  transform: skew(-5deg);
}

a,
button,
input,
label {
  cursor: pointer;
}

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

ul,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}

img {
  width: 100%;
  height: auto;
}

a,
a:hover,
a:focus,
a:visited,
a:active {
  text-decoration: none;
  color: inherit;
}

p,
h2 {
  display: block;
  font-size: 2.4rem;
  line-height: 3.1rem;
  margin: 0.6rem 0 0 0;
}
@media screen and (max-width: 600px) {
  p,
  h2 {
    font-size: 1.6rem;
    line-height: 2.25rem;
    margin: 0.4rem 0 0 0;
    transition: line-height 0.1s linear;
  }
}

h2 {
  font-weight: normal;
  margin: 0 0 0 0;
}
@media screen and (max-width: 600px) {
  h2 {
    margin: 1rem 0 0 0;
  }
}

@media screen and (max-width: 500px) {
  .information > .block-type-heading:nth-child(1) h2 {
    margin-top: 0.8rem;
  }
}
.information h2,
.information p {
  transition: transform 0.1s linear;
}
.information .block-type-spacer .spacer {
  display: block;
}
.information .block-type-spacer .spacer.h_1 {
  height: 1.55rem;
}
@media screen and (max-width: 600px) {
  .information .block-type-spacer .spacer.h_1 {
    height: 1.125rem;
  }
}
.information .block-type-spacer .spacer.h_2 {
  height: 3.1rem;
}
@media screen and (max-width: 600px) {
  .information .block-type-spacer .spacer.h_2 {
    height: 2.25rem;
  }
}
.information .block-type-spacer .spacer.h_3 {
  height: 4.65rem;
}
@media screen and (max-width: 600px) {
  .information .block-type-spacer .spacer.h_3 {
    height: 3.375rem;
  }
}

.highlight {
  padding: 0.2rem 0.4rem 0.2rem 0;
  background-color: black;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  box-shadow: -0.4rem 0 0 black;
  margin-left: 0.4rem;
}
@media screen and (max-width: 500px) {
  .highlight {
    padding: 0.2rem;
    margin-left: 0;
  }
}

.nav,
.footer {
  position: fixed;
  width: 100vw;
  margin: 0 0.4rem 0 0.4rem;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(26, 1fr);
  transition: transform 0.1s linear;
}
@media screen and (max-width: 500px) {
  .nav,
  .footer {
    margin: 0 0.2rem 0 0.2rem;
  }
}
.nav div.home, .nav div.counter,
.footer div.home,
.footer div.counter {
  grid-column-start: 1;
  grid-column-end: span 17;
}
@media screen and (max-width: 500px) {
  .nav div.home, .nav div.counter,
  .footer div.home,
  .footer div.counter {
    grid-column-end: span 15;
  }
}
.nav div.counter,
.footer div.counter {
  align-self: end;
}
.nav div.infocontact, .nav div.title,
.footer div.infocontact,
.footer div.title {
  grid-column-start: 18;
  grid-column-end: span 9;
}
@media screen and (max-width: 500px) {
  .nav div.infocontact, .nav div.title,
  .footer div.infocontact,
  .footer div.title {
    grid-column-start: 16;
    grid-column-end: span 11;
  }
}
.nav div .projectdesc,
.footer div .projectdesc {
  cursor: pointer;
}
.nav .title a,
.footer .title a {
  text-decoration: underline;
}
.nav p,
.footer p {
  background-color: black;
  color: white;
  display: inline;
  padding: 0.2rem 0.4rem 0.2rem 0;
  box-shadow: -0.4rem 0 0 black;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
@media screen and (max-width: 500px) {
  .nav p,
  .footer p {
    padding: 0.2rem 0.2rem 0.1rem 0;
    box-shadow: -0.2rem 0 0 black;
  }
}

.footer {
  top: initial;
  bottom: 0;
}
@media screen and (max-width: 500px) {
  .footer {
    margin-bottom: -1px;
  }
}

.info,
.cvinfo {
  cursor: pointer;
}

.info.open span {
  opacity: 0;
  position: absolute;
}

.info.open:after {
  content: "Close";
}

.infowrap,
.text_shown {
  position: fixed;
  width: 100vw;
  margin: 0;
  padding-top: 6.2rem;
  z-index: 1;
  display: none;
  color: white;
  overflow-y: scroll;
  padding-bottom: 6rem;
  height: 100vh;
  height: 100dvh;
  overflow-x: hidden;
}
@media screen and (max-width: 500px) {
  .infowrap,
  .text_shown {
    top: 0;
    height: 100vh;
    height: 100dvh;
    padding-top: 6.75rem;
  }
}
.infowrap.show,
.text_shown.show {
  display: block;
}
.infowrap .information,
.text_shown .information {
  margin-top: 2.15rem;
  display: inline-block;
  width: 62vw;
}
@media screen and (max-width: 500px) {
  .infowrap .information,
  .text_shown .information {
    margin-top: 0.8vw;
    width: 100vw;
  }
}
.infowrap .legalnoticewrap,
.text_shown .legalnoticewrap {
  display: none;
}
.infowrap .legalnoticewrap.show,
.text_shown .legalnoticewrap.show {
  display: block;
}
.infowrap a,
.text_shown a {
  text-decoration: underline;
}

.text_shown {
  width: 50vw;
  float: right;
  position: fixed;
  right: 0;
}
@media screen and (max-width: 500px) {
  .text_shown {
    width: 100vw;
  }
}
.text_shown .information {
  width: initial;
  width: 34.6153846154vw;
  float: right;
}
@media screen and (max-width: 500px) {
  .text_shown .information {
    width: 100vw;
  }
}
.text_shown .information p:first-of-type {
  margin-top: 0;
}

.cvwrap {
  position: fixed;
  width: 98vw;
  margin: 0;
  top: 4vw;
  cursor: pointer;
  z-index: 10;
  display: none;
}
@media screen and (max-width: 500px) {
  .cvwrap {
    top: 3vw;
  }
}
.cvwrap.show {
  display: block;
}
.cvwrap .cv {
  height: calc(100vh - 7rem);
  height: calc(100dvh - 7rem);
  overflow: scroll;
  background-color: white;
}
@media screen and (max-width: 500px) {
  .cvwrap .cv {
    height: calc(100vh - 5rem);
    height: calc(100dvh - 5rem);
  }
}

.works {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
}
.works .wrap {
  height: 100vh;
  height: 100dvh;
  width: max-content;
  bottom: 0;
  position: absolute;
  padding-right: 0;
}
@media screen and (max-width: 500px) {
  .works .wrap {
    width: 100vw;
    overflow-y: scroll;
  }
}
.works .work {
  width: max-content;
  height: 100vh;
  height: 100dvh;
  display: inline-block;
  position: sticky;
  left: 0;
}
@media screen and (max-width: 500px) {
  .works .work {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    left: initial;
    top: 0;
  }
}
.works .work .workwrap {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
}
.works .work .workwrap img,
.works .work .workwrap video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}
@media screen and (max-width: 500px) {
  .works .work .workwrap img,
  .works .work .workwrap video {
    object-position: center top;
  }
}
.works .work .workwrap img.small,
.works .work .workwrap video.small {
  padding: 10% 0;
}
@media screen and (max-width: 500px) {
  .works .work .workwrap img.small,
  .works .work .workwrap video.small {
    padding: 0 5%;
  }
}
.works .work .workwrap img.medium,
.works .work .workwrap video.medium {
  padding: 5% 0;
}
@media screen and (max-width: 500px) {
  .works .work .workwrap img.medium,
  .works .work .workwrap video.medium {
    padding: 0 2.5%;
  }
}
.works .work .workwrap .projectinfo {
  display: none;
}
.works .work .workwrap .projectinfo p {
  z-index: 100;
  background-color: black;
  color: white;
  display: inline;
  white-space: pre-wrap;
  padding: 0.6rem 0.6rem 0.4rem 0;
  box-shadow: -0.6rem 0 0 black;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
@media screen and (max-width: 500px) {
  .works .work .workwrap .projectinfo p {
    padding: 0.3rem 0.3rem 0.2rem 0;
    box-shadow: -0.3rem 0 0 black;
  }
}
.works .work:nth-of-type(8n + 1) .workwrap {
  margin-left: 3.8461538462vw;
  width: 96.1538461538vw;
}
@media screen and (max-width: 500px) {
  .works .work:nth-of-type(8n + 1) .workwrap {
    margin-left: 0;
    width: 100vw;
    margin-top: 3.8461538462vh;
    margin-top: 3.8461538462dvh;
    height: 96.1538461538vh;
    height: 96.1538461538dvh;
  }
}
.works .work:nth-of-type(8n + 1) .projectinfo {
  margin-left: 61.5384615385vw;
}
.works .work:nth-of-type(8n + 2) .workwrap {
  margin-left: 7.6923076923vw;
  width: 92.3076923077vw;
}
@media screen and (max-width: 500px) {
  .works .work:nth-of-type(8n + 2) .workwrap {
    margin-left: 0;
    width: 100vw;
    margin-top: 7.6923076923vh;
    margin-top: 7.6923076923dvh;
    height: 92.3076923077vh;
    height: 92.3076923077dvh;
  }
}
.works .work:nth-of-type(8n + 2) .projectinfo {
  margin-left: 57.6923076923vw;
}
.works .work:nth-of-type(8n + 3) .workwrap {
  margin-left: 11.5384615385vw;
  width: 88.4615384615vw;
}
@media screen and (max-width: 500px) {
  .works .work:nth-of-type(8n + 3) .workwrap {
    margin-left: 0;
    width: 100vw;
    margin-top: 11.5384615385vh;
    margin-top: 11.5384615385dvh;
    height: 88.4615384615vh;
    height: 88.4615384615dvh;
  }
}
.works .work:nth-of-type(8n + 3) .projectinfo {
  margin-left: 53.8461538462vw;
}
.works .work:nth-of-type(8n + 4) .workwrap {
  margin-left: 15.3846153846vw;
  width: 84.6153846154vw;
}
@media screen and (max-width: 500px) {
  .works .work:nth-of-type(8n + 4) .workwrap {
    margin-left: 0;
    width: 100vw;
    margin-top: 15.3846153846vh;
    margin-top: 15.3846153846dvh;
    height: 84.6153846154vh;
    height: 84.6153846154dvh;
  }
}
.works .work:nth-of-type(8n + 4) .projectinfo {
  margin-left: 50vw;
}
.works .work:nth-of-type(8n + 5) .workwrap {
  margin-left: 19.2307692308vw;
  width: 80.7692307692vw;
}
@media screen and (max-width: 500px) {
  .works .work:nth-of-type(8n + 5) .workwrap {
    margin-left: 0;
    width: 100vw;
    margin-top: 19.2307692308vh;
    margin-top: 19.2307692308dvh;
    height: 80.7692307692vh;
    height: 80.7692307692dvh;
  }
}
.works .work:nth-of-type(8n + 5) .projectinfo {
  margin-left: 46.1538461538vw;
}
.works .work:nth-of-type(8n + 6) .workwrap {
  margin-left: 23.0769230769vw;
  width: 76.9230769231vw;
}
@media screen and (max-width: 500px) {
  .works .work:nth-of-type(8n + 6) .workwrap {
    margin-left: 0;
    width: 100vw;
    margin-top: 23.0769230769vh;
    margin-top: 23.0769230769dvh;
    height: 76.9230769231vh;
    height: 76.9230769231dvh;
  }
}
.works .work:nth-of-type(8n + 6) .projectinfo {
  margin-left: 42.3076923077vw;
}
.works .work:nth-of-type(8n + 7) .workwrap {
  margin-left: 26.9230769231vw;
  width: 73.0769230769vw;
}
@media screen and (max-width: 500px) {
  .works .work:nth-of-type(8n + 7) .workwrap {
    margin-left: 0;
    width: 100vw;
    margin-top: 26.9230769231vh;
    margin-top: 26.9230769231dvh;
    height: 73.0769230769vh;
    height: 73.0769230769dvh;
  }
}
.works .work:nth-of-type(8n + 7) .projectinfo {
  margin-left: 38.4615384615vw;
}
.works .work:nth-of-type(8n + 8) .workwrap {
  margin-left: 30.7692307692vw;
  width: 69.2307692308vw;
}
@media screen and (max-width: 500px) {
  .works .work:nth-of-type(8n + 8) .workwrap {
    margin-left: 0;
    width: 100vw;
    margin-top: 30.7692307692vh;
    margin-top: 30.7692307692dvh;
    height: 69.2307692308vh;
    height: 69.2307692308dvh;
  }
}
.works .work:nth-of-type(8n + 8) .projectinfo {
  margin-left: 34.6153846154vw;
}

.texts {
  display: none;
}

.extra {
  display: none;
}