@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 {
  font-size: 42px;
  line-height: 46px;
  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: 32px;
  }
}

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

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

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: deepskyblue;
  word-break: break-all;
}

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: #e5005a;
  border-color: #e5005a;
  border-radius: 2px;
}

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

div.artists {
  display: block;
  position: relative;
  width: 120%;
  padding: 5em 0;
  margin: 0 0 0 -5%;
  transform-style: preserve-3d;
}

@media screen and (max-width: 767px) {
  div.artists {
    width: 90%;
    text-align: center;
    margin: 0 0 0 5%;
  }
}

@media screen and (max-width: 1280px) {
  div.artists {
    width: 100%;
    text-align: center;
    margin: 0 0 0 0;
  }
}

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

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

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

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

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

a.ball {
  display: inline-block;
  position: relative;
  margin: -1em;
  padding: 5rem;

  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: rgba(229, 0, 90, 0.8);
  border: none;
  border-radius: 50%;
}

@media screen and (max-width: 767px) {
  a.ball {
    display: inline-block;
    position: relative;
    margin: -2em -1em;
    padding: 2rem;
    min-width: 50%;
  }

  div.artists a:nth-child(1) {
    transform: translate3d(0, 0, 15px) scale(0.95);
  }

  div.artists a:nth-child(3) {
    transform: translate3d(0, 0, 15px) scale(0.95);
  }

  div.artists a:nth-child(5) {
    transform: translate3d(0, 0, 15px) scale(0.95);
  }

  div.artists a:nth-child(7) {
    transform: translate3d(0, 0, 15px) scale(0.95);
  }

  div.artists a:nth-child(9) {
    transform: translate3d(0, 0, 15px) scale(0.95);
  }
}

a.ball:hover {
  color: black;
  background-color: white;
  border-color: #e5005a;
}

a.ball div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
}

@supports not (aspect-ratio: 1 / 1) {
  a.ball div {
    height: 0;
    padding-top: 100%;
  }

  a.ball span {
    display: block;
    margin-top: -100%;
  }
}

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

nav label div {
  background-color: black;
}

nav input:checked~label div {
  background-color: #46a8de;
}

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

#title {
  position: relative;
  transform-origin: center bottom;
  transform: translate3d(0, -50vh, -150px) scale(1.75);
  padding: 8em 8% 4em 17%;
  z-index: 2;
}

#title h1 {
  margin: 0;
}

#title img {
  width: 100%;
  max-width: 768px;
  height: 100%;
  object-fit: contain;
  object-position: left top;
  max-height: 40vh;
  pointer-events: none;
}

@media screen and (min-width: 1280px) {
  #title {
    padding: 12em calc((100% - 768px) * 0.42) 4em calc((100% - 768px) * 0.58);
    width: 768px;
  }
}

@media screen and (max-width: 767px) {
  #title {
    transform: translate3d(-1em, -50vh, -150px) scale(1.75);
    width: calc(100% - 48px - (10% - 16px));
    padding: 3em calc(10% - 16px) 5em 16px;
  }

  @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("/life-likeness/hyper/assets/images/lobby_life-likeness_0000_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.larbitssisters {
  background-image: url("/life-likeness/hyper/assets/images/crypto-miner-car_0000_3072w.jpg");
}

.hole.kazokutchi {
  background-image: url("/life-likeness/hyper/assets/images/kazokutchi_0000_3072w.jpg");
}

.hole.komitsu {
  background-image: url("/life-likeness/hyper/assets/images/komitsu_0000_3072w.jpg");
}

.hole.youunderstandkawaii {
  background-image: url("/kids2021/assets/images/kodakalab-komitsu-00_3072w.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;
  transform-origin: center bottom;
  transform: translate3d(0, 0, -2000px) scale(11);
}

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

  .bg {
    height: calc(100dvh + ((100% - 91dvh) / 11));
  }
}

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

#color {
  opacity: 0;
  transition: 900ms;
}

#mono {
  opacity: 0.3;
}

.overlay-title {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  height: 100%;
  width: calc(17% - 1em);
  pointer-events: none;
}

.hardlight {
  mix-blend-mode: hard-light;
}

.overlay-title picture {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 100vh;
  max-height: 100dvh;
  object-fit: contain;
}

.overlay-title img {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  max-height: 100vh;
  max-height: 100dvh;
  object-fit: contain;
  object-position: left top;
  transition: opacity 900ms;
}

#blue {
  opacity: 0.3;
}

#pink {
  opacity: 0;
}

#yellow {
  opacity: 0;
}

@media screen and (min-width: 1280px) {
  .overlay-title {
    height: 100vh;
    height: 100dvh;
  }

  .overlay-title picture {
    height: 100%;
  }

  .overlay-title img {
    height: 100vh;
    height: 100dvh;
    width: auto;
  }
}

@media screen and (max-width: 767px) {
  .overlay-title {
    top: auto;
    bottom: 0;
    left: auto;
    right: 0;
    max-width: 48px;
    height: calc(100% - 56px);
  }

  .overlay-title img {
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    height: 100%;
    object-position: center;
  }
}

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

@media screen and (min-width: 1280px) {
  article {
    margin: 3em auto 3em calc((100% - 768px) * 0.58);
  }
}

@media screen and (max-width: 767px) {
  article {
    width: calc(90% - 32px);
    margin: 3em calc(10% - 16px) 3em 16px;
  }
}

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 8% 6em 17%;
  text-align: left;
  font-size: 11px;
  line-height: 16px;
  font-weight: 400;
  z-index: 85;
  transform: translate3d(0px, 0px, 0px);
}

@media screen and (min-width: 1280px) {
  footer {
    padding: 3em auto 3em auto;
    text-align: center;
  }
}

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

@media screen and (max-width: 767px) {
  footer {
    padding: 3em calc(10% - 16px) 3em 16px;
  }
}

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

footer a {
  cursor: pointer;
}