@import url("../../assets/stylesheets/loader.css");
@import url("../../assets/stylesheets/navigation.css");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Sawarabi+Gothic&display=swap");

@font-face {
  font-family: localArial;
  src: local("Arial");
  unicode-range: U+0030-0039;
}

html {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  font-feature-settings: "palt";
}

body {
  margin: 0;

  color: black;
  font-family: localArial, "IBM Plex Sans", "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "Sawarabi Gothic", sans-serif;
  font-weight: 400;
  background-color: white;
  transition: 900ms;
}

@supports (-webkit-touch-callout: none) {
  /* iOS devices */

  body {
    perspective: 200px;
  }
}

h1,
h2,
h3,
h4 {
  color: #4f5791;
}

h1 {
  font-size: 27px;
  line-height: 36px;
  font-weight: 600;
  font-family: localArial, "Noto Sans JP", sans-serif;
  letter-spacing: 1px;
  word-spacing: 4px;
}

@media screen and (max-width: 767px) {
  h1 {
    font-size: 27px;
    line-height: 36px;
  }
}

h2 {
  font-size: 21px;
  line-height: 28px;
  font-weight: 500;
  font-family: "IBM Plex Sans", "Noto Sans JP", sans-serif;
}

@media screen and (max-width: 767px) {
  h2 {
    font-size: 21px;
    line-height: 28px;
  }
}

h3 {
  font-size: 21px;
  line-height: 24px;
  font-weight: 500;
  font-family: "IBM Plex Sans", "Noto Sans JP", sans-serif;
}

h4 {
  display: inline-block;
  vertical-align: middle;
  margin: 1em 0 0 0;
}

h4 span {
  font-size: 0.66em;
  padding-left: 1.5em;
}

a {
  color: #4f5791;
  word-break: break-all;
  z-index: 4;
}

a:hover {
  color: skyblue;
}

a.btn {
  display: inline-block;
  position: relative;
  margin: 0.5rem 0.5rem 0.5rem 0;

  padding: 0.8rem 1.2rem;

  font-weight: 400;
  font-size: 1em;
  line-height: 1.5em;
  cursor: pointer;

  user-select: none;

  transition: all 0.3s;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.1em;
  border-style: solid;
  border-width: 1px;

  color: white;
  background-color: #4f5791;
  border-color: #4f5791;
  border-radius: 2px;
}

a.btn:hover {
  color: #4f5791;
  background-color: white;
  border-color: #4f5791;
}

.artists {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  position: relative;
  width: 133%;
  max-width: 90vw;
  left: -16.66%;
  margin: 0;
  padding: 0 0 5em 0;
  text-align: center;
  transform-style: preserve-3d;
  transform: translate3D(0, 50px, 0);
}

@media screen and (max-width: 1280px) {
  .artists {
    width: 110%;
    left: 0;
    margin-top: -3em;
  }
}

@media screen and (max-width: 767px) {
  .artists {
    width: 100%;
    margin-top: -5em;
  }
}

.artists a {
  transform: translate3D(0px, 0px, 1px) scale(1);
}

.artists a:nth-child(1) {
  transform: translate3D(0, 50px, 25px) scale(0.95);
}

.artists a:nth-child(3) {
  transform: translate3D(0, 50px, 25px) scale(0.95);
}

.artists a:nth-child(5) {
  transform: translate3D(0, 50px, 25px) scale(0.95);
}

.artists a:nth-child(7) {
  transform: translate3D(0, 50px, 25px) scale(0.95);
}

.artists a:nth-child(9) {
  transform: translate3D(0, 75px, 25px) scale(0.95);
}

.artists a {
  display: inline-block;
  position: relative;
  margin: 2em;
  padding: 0;

  font-weight: 400;
  font-size: 1.1em;
  line-height: 1.5em;
  cursor: pointer;

  user-select: none;

  transition: all 0.3s;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.1em;
  border-style: solid;
  border-width: 1px;

  color: white;
  background-color: #4f5791;
  border: none;
  transform-style: preserve-3d;
}

@media screen and (max-width: 1280px) {
  .artists a {
    margin: 3em;
    transform: translate3D(0px, 0px, 1px) scale(1);
  }
}

@media screen and (max-width: 767px) {
  .artists a {
    transform: translate3D(-50px, 0px, 1px) scale(1);
  }

  .artists a:nth-child(1) {
    transform: translate3D(50px, 50px, 15px) scale(0.95);
  }

  .artists a:nth-child(3) {
    transform: translate3D(50px, 50px, 15px) scale(0.95);
  }

  .artists a:nth-child(5) {
    transform: translate3D(50px, 50px, 15px) scale(0.95);
  }

  .artists a:nth-child(7) {
    transform: translate3D(50px, 50px, 15px) scale(0.95);
  }

  .artists a:nth-child(9) {
    transform: translate3D(50px, 50px, 15px) scale(0.95);
  }
}

.artists a:hover {
  color: black;
  mix-blend-mode: normal;
  background-image: none;
  background-color: rgba(255, 255, 255, 0.9);
  border-color: #e5005a;
}

.artists a div {
  display: flex;
  position: absolute;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 25;
  background-color: rgba(255, 255, 255, 0);
  transition: 150ms;
}

.artists a:hover div {
  background-color: rgba(255, 255, 255, 1);
}

.artists a::before {
  display: block;
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  mix-blend-mode: normal;
  background-color: rgba(162, 255, 0, 0.5);
  transition: 300ms;
  transform: rotate(-4deg);
  transform-origin: 0 0;
  pointer-events: none;
  z-index: 5;
}

.artists a:hover::before {
  transform: rotateZ(-1deg) scale(1.05);
}

.artists a:nth-of-type(1):before {
  background-color: #ffe500;
}

.artists a:nth-of-type(2):before {
  background-color: #b17a17;
  transform-origin: 100% 0;
}

.artists a:nth-of-type(3):before {
  background-color: #a9dff9;
  transform-origin: 15% 80%;
}

.artists a:nth-of-type(4):before {
  background-color: #0093d6;
  transform-origin: 0 100%;
}

.artists a:nth-of-type(5):before {
  background-color: #d6c418;
  transform-origin: 100% 100%;
}

.artists a:nth-of-type(6):before {
  background-color: #98c9ec;
  transform-origin: 100% 100%;
}

.artists a:nth-of-type(7):before {
  background-color: #63c7cb;
  transform-origin: 20% 20%;
}

.artists a::after {
  display: block;
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  mix-blend-mode: normal;
  background-color: rgba(0, 221, 255, 0.742);
  transition: 300ms;
  transform: rotateZ(-8deg);
  transform-origin: 0 0;
  pointer-events: none;
  z-index: 5;
}

.artists a:hover::after {
  transform: rotateZ(-2deg) scale(1.03);
}

.artists a:nth-of-type(1):after {
  background-color: #ffe500;
}

.artists a:nth-of-type(2):after {
  background-color: #dbbf11;
  transform-origin: 100% 0;
}

.artists a:nth-of-type(3):after {
  background-color: #d1ecfb;
  transform-origin: 20% 75%;
}

.artists a:nth-of-type(4):after {
  background-color: #9ccdee;
  transform-origin: 0 100%;
}

.artists a:nth-of-type(5):after {
  background-color: #edde7e;
  transform-origin: 100% 100%;
}

.artists a:nth-of-type(6):after {
  background-color: #5abae9;
  transform-origin: 100% 100%;
}

.artists a:nth-of-type(7):after {
  background-color: #daefec;
  transform-origin: 20% 20%;
}

.artists a img {
  display: block;
  position: relative;
  max-height: 180px;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  transition: 300ms;
  z-index: 25;
}

.artists a:hover img {
  opacity: 0;
}

nav label {
  transform: translate3d(0, 0, 0);
}

nav label div {
  background-color: black;
}

nav input:checked~label div {
  background-color: #4f5791;
}

.menu {
  transform: translate3d(0, 0, 0);
}

#title {
  position: relative;
  transform-origin: center bottom;
  transform: translate3d(0, -10vh, -30px) scale(1.12);
  padding: 0;
  z-index: 17;
}

#title h1 {
  margin: 0;
}

#title img {
  width: 80%;
  max-height: 66vh;
  margin: 10vw 10vw 0 10vw;
  object-fit: contain;
  object-position: center top;
  pointer-events: none;
}

@media screen and (max-width: 767px) {
  #title img {
    width: 90%;
    margin: 25vw 5vw 0 5vw;
  }

  @supports (-webkit-touch-callout: none) {
    /* iOS devices */

    #title {
      transform-origin: center;
    }
  }
}

@keyframes hole {
  0% {
    -webkit-mask-size: 90% 90%;
    mask-size: 90% 90%;
  }

  33% {
    -webkit-mask-size: 75% 90%;
    mask-size: 75% 90%;
  }

  66% {
    -webkit-mask-size: 95% 75%;
    mask-size: 95% 75%;
  }

  100% {
    -webkit-mask-size: 90% 90%;
    mask-size: 90% 90%;
  }
}

@keyframes hover {
  0% {
    -webkit-mask-size: 90% 90%;
    mask-size: 90% 90%;
  }

  100% {
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
  }
}

.enter {
  position: relative;
  margin: 0 10% 0 auto;
  text-align: center;
  transform-style: preserve-3d;
}

.hole {
  display: block;
  position: relative;
  width: 256px;
  height: 256px;
  margin: 0 auto;
  overflow: hidden;
  will-change: mask-size;
  will-change: -webkit-mask-size;

  -webkit-mask-image: url("/assets/images/ellipse.svg");
  -webkit-mask-size: cover;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;

  mask-image: url("/assets/images/ellipse.svg");
  mask-size: 100% 100%;
  mask-position: center center;
  mask-repeat: no-repeat;

  animation: 10s infinite hole;

  background-image: url("/viewpoints-of-reality/assets/images/hole.jpg");
  background-color: aliceblue;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;

  transform-origin: 50% 50%;
  transform: translate3d(0, 0, 5px) scale(1);
  transition: 0.3s;
  z-index: 80;
}

.hole.fujiwara-marina {
  background-image: url("/viewpoints-of-reality/hyper/assets/images/fujiwara-marina_vma-goriyaku_0010.jpg");
}

.hole.sato-ryotaro {
  background-image: url("/viewpoints-of-reality/hyper/assets/images/sato-ryotaro_shibata-mao_0000.jpg");
}

.hole.shibata-mao {
  background-image: url("/viewpoints-of-reality/hyper/assets/images/shibata-mao_takahashi-ryohei_0000.jpg");
}

.hole.takahashi-ryohei {
  background-image: url("/viewpoints-of-reality/hyper/assets/images/takahashi-ryohei_taniguchi-akihiko_0000.jpg");
}

.hole.taniguchi-akihiko {
  background-image: url("/viewpoints-of-reality/hyper/assets/images/taniguchi-akihiko_fujiwara-marina_0000.jpg");
}

.hole.uchida-seira {
  background-image: url("/viewpoints-of-reality/hyper/assets/images/vma-01_vma-02_0000.jpg");
}

.hole:hover {
  transform: translate3d(0, 0, 5px) scale(1.5);
}

.hole::before {
  content: "";
  display: block;
  padding-top: 100%;
}

p img {
  width: 100%;
}

main {
  position: relative;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  perspective: 200px;
  perspective-origin: center bottom;
}

main::-webkit-scrollbar {
  display: none;
}

.stage {
  position: relative;
  transform: translate3d(0, 0, 0);
  transform-style: preserve-3d;
}

.bg {
  position: absolute;
  bottom: 0;
  height: calc(100vh + ((100% - 91vh) / 11));
  height: calc(100dvh + ((100% - 91dvh) / 11));
  width: 100vw;
  max-width: 1280px;
  transform-origin: center bottom;
  transform: translate3d(0, 0, -2000px) scale(11);
}

.bg2 {
  position: absolute;
  bottom: 0;
  height: calc(100vh + ((100% - 91vh) / 5.5));
  height: calc(100dvh + ((100% - 91dvh) / 5.5));
  width: 120vw;
  max-width: 1768px;
  transform-origin: center bottom;
  transform: translate3d(0, 0, -1000px) scale(6);
}

.bg picture img,
.bg2 picture img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: fill;
  width: 100%;
  height: 100%;
  z-index: -1;
}

@media screen and (max-width: 1280px) {
  .bg2 {
    width: 133vw;
  }
}

@media screen and (max-width: 767px) {
  .bg {
    min-width: 768px;
  }

  .bg2 {
    width: 140vw;
  }
}

article {
  position: relative;
  width: 75%;
  max-width: 768px;
  margin: 3em auto;
  padding: 0;
  transform: translateZ(0px);
  font-size: 14px;
  line-height: 1.66em;
  transform-style: preserve-3d;
}

@media screen and (max-width: 767px) {
  article {
    width: 80%;
  }
}

article:first-of-type {
  padding-top: 3em;
}

article p {
  padding: 0;
}

p.kantougen {
  font-size: 16px;
  line-height: 27px;
}

p.right {
  margin: 2em 0 3em 0;
  text-align: right;
}

p.caption {
  font-size: 0.9em;
  line-height: 1.33em;
  margin: 3em 0;
}

iframe {
  width: 100%;
  height: 350px;
  border-style: none;
}

footer {
  display: block;
  position: relative;
  padding: 3em 17% 6em 8%;
  text-align: center;
  font-size: 11px;
  line-height: 16px;
  font-weight: 400;
  z-index: 85;
  transform: translate3d(0px, 0px, 0px);
}

@media screen and (max-width: 767px) {
  footer {
    width: calc(90% - 32px);
    padding: 3em 4em 6em 4em;
    text-align: left;
  }
}

footer::before {
  display: inline-block;
  content: "";
  width: 0;
  height: 100%;
  vertical-align: text-bottom;
}

footer a {
  cursor: pointer;
}