@import url("../../assets/stylesheets/default.css");
@import url("../../assets/stylesheets/loader.css");
@import url("../../assets/stylesheets/navigation.css");

@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;
}

div.artists {
  display: block;
  position: relative;
  width: 110%;
  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(2) {
  transform: translate3d(0, -40px, 10px) scale(1);
}

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

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

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

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

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

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

  user-select: none;

  transition: all 0.3s;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.1em;

  color: black;
  background-color: var(--kids2022-orange);

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

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

div.artists a:nth-child(1) {
  background-color: var(--kids2022-blue);
}

div.artists a:nth-child(2) {
  mask-image: url("../images/mask-01.svg");
  -webkit-mask-image: url("../images/mask-01.svg");
}

div.artists a:nth-child(3) {
  background-color: var(--kids2022-green);
  mask-image: url("../images/mask-02.svg");
  -webkit-mask-image: url("../images/mask-02.svg");
}

div.artists a:nth-child(4) {
  background-color: var(--kids2022-blue);
  mask-image: url("../images/mask-03.svg");
  -webkit-mask-image: url("../images/mask-03.svg");
}

div.artists a:nth-child(5) {
  mask-image: url("../images/mask-04.svg");
  -webkit-mask-image: url("../images/mask-04.svg");
}

div.artists a:nth-child(6) {
  background-color: var(--kids2022-green);
  mask-image: url("../images/mask-05.svg");
  -webkit-mask-image: url("../images/mask-05.svg");
}

div.artists a:nth-child(7) {
  mask-image: url("../images/mask-06.svg");
  -webkit-mask-image: url("../images/mask-06.svg");
}

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

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

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

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

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

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

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

a.ball:hover {
  background-color: white !important;
}

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: var(--kids2022-green);
}

nav input:checked~label div {
  background-color: var(--kids2022-orange);
}

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

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

#title h1 {
  margin: 0;
}

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

@media screen and (max-width: 767px) {
  #title img {
    max-width: none;
    max-height: none;
  }

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

    #title {
      transform-origin: 50% 75%;
    }
  }
}

@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("/kids2022/hyper/assets/images/lobby_tools-for-play_0000_2048w.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.couch {
  background-image: url("/kids2022/hyper/assets/images/couch_0000_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));
  width: 100vw;
  transform-origin: center bottom;
  transform: translate3d(0, 0, -2000px) scale(11);
}

.bg2 {
  position: absolute;
  bottom: 0;
  height: calc(100vh + ((100% - 91vh) / 8));
  width: 122vw;
  transform-origin: center bottom;
  transform: translate3d(0, 0, -1700px) scale(8);
}

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

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

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

.bg picture,
.bg2 picture,
.bg3 picture {
  width: 100%;
  height: 100%;
  z-index: -1;
}

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

.overlay-title {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  transform: translate3d(0, 0, -2px);
  z-index: 3;
}

.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;
}

@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 {
    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 auto 3em auto;
  transform: translateZ(0px);
  font-size: 14px;
  line-height: 1.66em;
  transform-style: preserve-3d;
}

@media screen and (max-width: 767px) {
  article {
    width: calc(100% - 64px);
    margin: 3em 48px 3em 16px;
  }

  article.sitetop {
    margin-top: -8em;
  }
}

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: 13px;
  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;
}