@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&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@600&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);
}

body {
  margin: 0;
  perspective: 10000000;

  font-family: localArial, "IBM Plex Sans", "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "Sawarabi Gothic", sans-serif;
  font-weight: 400;
}

h1 {
  color: #6f8b8b;
  font-size: 42px;
  line-height: 46px;
  font-weight: 600;
  font-family: localArial, "Noto Sans JP", sans-serif;
  letter-spacing: -2px;
  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.btn {
  display: inline-block;
  position: relative;
  margin: 0.5rem 0.5rem 0.5rem 0;

  height: 3rem;
  padding: 0 1.5rem 0 1.5rem;

  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: #6f8b8b;
  border-color: #6f8b8b;

  border-radius: 2px;
}

a.btn:hover {
  color: black;
  background-color: white;
}

a.btn::before {
  display: inline-block;
  content: "";
  width: 0;
  height: 100%;
  vertical-align: middle;
}

nav label div {
  background-color: black;
}

#title {
  display: block;
  position: fixed;
  bottom: 16px;
  right: 16px;
  max-width: calc(20% - 32px);
  max-height: calc(90vh - 32px);
  mix-blend-mode: multiply;
  pointer-events: none;
  /* transform: translate3d(0, 0, -1000px); */
  z-index: 3;
}

@media screen and (max-width: 767px) {
  #title {
    bottom: 8px;
    right: 8px;
    max-width: calc(10% - 8px);
  }
}

#title img {
  position: relative;
  max-width: 100%;
  max-height: calc(90vh - 96px);
}

#bg img {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  pointer-events: none;
  /* transform: translate3d(0, 0, -1001px); */
  z-index: -1;
}

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

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

  66% {
    -webkit-mask-size: 105% 85%;
    mask-size: 105% 85%;
  }

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

.enter {
  position: relative;
  width: 78%;
  text-align: center;
}

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

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

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

  animation: 10s infinite hole;

  z-index: 80;
}

.hole img {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

article {
  position: relative;
  width: 75%;
  max-width: 768px;
  margin: 3em 20% 3em 5%;
  padding: 0;
  /* transform: translate3d(0px, 0, 500px); */
  mix-blend-mode: multiply;
  font-size: 14px;
  line-height: 1.66em;
}

@media screen and (min-width: 1280px) {
  article {
    margin: 3em auto 3em auto;
  }
}

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

article.normalBlend {
  mix-blend-mode: normal;
}

p img {
  width: 100%;
}

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

footer {
  display: block;
  position: relative;
  color: black;
  width: 75%;
  max-width: 768px;
  margin: 3em 20% 3em 5%;
  height: 80px;
  font-size: 11px;
  line-height: 13px;
  font-weight: 400;
  z-index: 85;
  transform: translate3d(0px, 0px, 0px);
}

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

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

main {
  display: block;
  position: fixed;
  top: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

main picture {
  display: block;
  position: fixed;
  top: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

main picture img {
  display: block;
  position: fixed;
  top: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.doormenu {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: center;
  position: fixed;
  width: 100%;
  height: 17vh;
  bottom: 4vh;
  z-index: 98;
  text-align: center;
  pointer-events: none;
}

a {
  z-index: 4;
}

.doormenu a {
  font-size: 1rem;
  margin: 0.5rem;
  white-space: nowrap;
  pointer-events: auto;
}

#helper-tap {
  position: fixed;
  width: 50%;
  max-width: 480px;
  max-height: 20vh;
  left: 20%;
  bottom: 20%;
  transform: perspective(1000px) rotateY(1deg) rotateX(30deg) rotateZ(0deg) translate3d(0px, 25px, 35px);
  /* transform: perspective( 1000px ) rotateY( 1deg ) rotateX( 30deg ) rotateZ( 0deg ) translate3d( 0px, 0px, 0px ); */
  background-color: rgba(255, 255, 255, 0.5);
  margin: 0;
  padding: 2em;
  font-size: 1em;
  line-height: 1.33em;
  text-align: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
  border-radius: 14px;
  scrollbar-width: none;
}

#helper-menu {
  display: none;
  position: fixed;
  width: 33%;
  max-width: 320px;
  max-height: 20vh;
  top: 0;
  right: 0;
  transform: perspective(1000px) rotateY(15deg) rotateX(-15deg) rotateZ(-2deg) translate3d(-40px, 0px, 80px);
  /* transform: perspective( 1000px ) rotateY( 15deg ) rotateX( -15deg ) rotateZ( 2deg ) translate3d( 0px, 0px, 0px ); */
  background-color: rgba(255, 255, 255, 0.5);
  margin: 0;
  padding: 2em;
  font-size: 1em;
  line-height: 1.33em;
  text-align: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
  border-radius: 14px;
  scrollbar-width: none;
}

#helper-button {
  display: none;
  position: fixed;
  width: 50%;
  max-width: 320px;
  max-height: 20vh;
  left: 10%;
  bottom: 40%;
  transform: perspective(1000px) rotateY(15deg) rotateX(-15deg) rotateZ(2deg) translate3d(-30px, -15px, 80px);
  /* transform: perspective( 1000px ) rotateY( 15deg ) rotateX( -15deg ) rotateZ( 2deg ) translate3d( 0px, 0px, 0px ); */
  background-color: rgba(255, 255, 255, 0.5);
  margin: 0;
  padding: 2em;
  font-size: 1em;
  line-height: 1.33em;
  text-align: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
  border-radius: 14px;
  scrollbar-width: none;
}

.tourhead {
  display: none;
  position: fixed;
  width: 80%;
  top: 0;
  z-index: 99;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
  padding: 3.15em 10% 0 10%;
  text-align: center;
  color: #fff;
}

@media screen and (max-width: 767px) {
  .tourhead {
    width: 90%;
    padding: 2.5em 5% 0 5%;
  }
}

.tourhead.dark {
  color: #111;
}

.tourhead a {
  display: inline-block;
  -webkit-user-select: auto;
  -moz-user-select: auto;
  -ms-user-select: auto;
  user-select: auto;
  pointer-events: auto;
  white-space: nowrap;
}

.tourhead a.btn {
  font-size: 1em;
  margin: 0em 0.5em 0.8em 0em;
  padding: 0.2em 1rem 0 1rem;
  height: 2em;
}

.tourhead a span {
  font-size: 0.66em;
}

.tourhead h1 {
  font-size: 1.66em;
  line-height: 1.33em;
  margin: 0 0 0.5em 0;
  color: white;
  letter-spacing: 0;
  word-spacing: normal;
}

.tourhead.dark h1 {
  text-shadow: 0px 0px 1px rgba(255, 255, 255, 0.5);
}

.tourhead h1 a {
  color: inherit;
  letter-spacing: 0.1em;
  text-decoration: inherit;
}

.tourhead h1 span {
  font-size: 0.66em;
}

@media screen and (max-width: 767px) {
  .tourhead h1 {
    font-size: 1.4em;
    margin: 0;
  }
}

.tourhead p {
  width: 80%;
  max-width: 640px;
  max-height: 21vh;
  overflow: scroll;
  transform: perspective(1000px) rotateY(-15deg) rotateX(-6deg) rotateZ(0deg) translate3d(0px, 12px, 0px);
  background-color: rgba(0, 0, 0, 0.4);
  margin: 0 auto 0 auto;
  padding: 1.5em;
  font-size: 1em;
  line-height: 1.6em;
  text-align: left;
  -webkit-user-select: auto;
  -moz-user-select: auto;
  -ms-user-select: auto;
  user-select: auto;
  pointer-events: auto;
  border-radius: 4px;
  scrollbar-width: none;
}

.tourhead p img {
  width: 100%;
  border-radius: 4px;
}

@media screen and (max-width: 767px) {
  .tourhead p {
    width: 98%;
    padding: 1em;
    max-height: 18vh;
    transform: perspective(1000px) rotateY(-15deg) rotateX(-6deg) rotateZ(0deg) translate3d(-20px, 9px, 0px);
  }
}

.tourhead.dark p {
  background-color: rgba(255, 255, 255, 0.5);
}

.tourhead p::-webkit-scrollbar {
  display: none;
}

.tourhead p.left {
  display: none;
  transform: perspective(3000px) rotateY(20deg) rotateX(-6deg) rotateZ(0deg) translate3d(-10px, 14px, 0px);
}

.tourhead p.right {
  display: none;
  transform: perspective(3000px) rotateY(-20deg) rotateX(-6deg) rotateZ(0deg) translate3d(-14px, 14px, 0px);
}

.tourhead p span.title {
  font-size: 1.6em;
  font-weight: 400;
  letter-spacing: 0.1em;
}

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

  .menu {
    transform: translateZ(10000px);
  }

  nav label {
    transform: translateZ(10001px);
  }
}

_:lang(x)+_:-webkit-full-screen-document,
.menu {
  transform: translateZ(10000px);
}

_:lang(x)+_:-webkit-full-screen-document,
nav label {
  transform: translateZ(10001px);
}