html {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  color: #333;
  font-family: "Kosugi Maru", sans-serif;
  font-size: 14px;
  font-weight: 500;
}

body {
  margin: 0;
  cursor: url(cursor.png);
  background-color: #fff;
  -webkit-text-size-adjust: 100%;
}

nav label div {
  background-color: rgba(0, 111, 171, 1);
}

h1 {
  font-size: 1.9em;
  font-weight: 300;
  letter-spacing: 0.1em;
}

h2 {
  font-size: 1.6em;
  font-weight: 400;
  letter-spacing: 0.1em;
}

h3 {
  font-size: 1.4em;
  font-weight: 700;
  letter-spacing: 0.15em;
}

h4 {
  font-size: 1.1em;
  font-weight: 700;
  letter-spacing: 0.15em;
}

a {
  color: #006fab;
  background-color: none;
  text-decoration: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  z-index: 4;
}

a:hover {
  text-decoration: underline;
}

a.btn {
  display: inline-block;
  position: relative;
  margin: 0.5rem 0.5rem 0.5rem 0;
  padding: 1rem 1.5rem 1rem 1.5rem;
  color: #fff;
  font-weight: 400;
  background-color: #006fab;
  font-size: 1em;
  line-height: 1.5em;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.1em;
  border-style: solid;
  border-color: #006fab;
  border-width: 1px;
  border-radius: 4px;
  z-index: 4;
}

a.btn:hover {
  color: #006fab;
  background: #fff;
}

a.btn.small {
  font-size: 0.8rem;
  margin: 0 0.6rem 0.6rem 0;
  padding: 0.2rem 0.8rem 0.2rem 0.8rem;
  text-align: left;
}

article {
  display: block;
  position: static;
  width: 84%;
  max-width: 767px;
  min-height: 768px;
  z-index: 0;
  margin: 4rem auto 4rem auto;
  padding: 0;
  word-break: break-all;
}

article h1 {
  margin: 0;
  padding: 1.2em 0 1em 0;
}

article h2 {
  margin: 0;
  padding: 1.3em 0 1em 0;
}

article h3 {
  margin: 0;
  padding: 1.4em 0 1.1em 0;
}

article h4 {
  margin: 0;
  padding: 1.5em 0 1.2em 0;
}

article p {
  margin: 0;
  padding: 0 0 1.6em 0;
  line-height: 1.8em;
}

article ul {
  margin: 0;
  padding: 0 0 1.6em 1.6em;
  line-height: 1.8em;
}

article p.text {
  padding: 1.5em 0 1.5em 0;
  font-size: 1.1em;
  line-height: 1.9em;
}

article p.annotaion {
  font-size: 0.9em;
  font-weight: 900;
}

article p.signature {
  text-align: right;
  font-size: 1.2em;
}

article ol {
  margin: 0;
  padding: 0 0 1.6em 0;
  line-height: 1.8em;
  padding-inline-start: 1.4em;
}

article a {
  min-width: 14em;
}

article p.signature {
  padding-top: 1em;
  text-align: right;
  font-size: 1.2em;
}

.largeimg {
  width: 100%;
}

.tourthumb {
  width: 100%;
  max-width: 512px;
  border-radius: 8px;
}

article video {
  width: 100%;
}

article section.app {
  display: block;
  position: static;
  margin: 0 0 2em 0;
  padding: 2em;
  min-height: 9em;
  background-color: rgba(220, 220, 220, 0.5);
}

article section.app h4 {
  margin: 0;
  padding: 0 0 0.2em 0;
}

article section.app span {
  font-size: 0.8em;
}

article section.app img {
  width: 9em;
  height: 9em;
  margin-bottom: 0.7em;
}

article section.app a {
  margin: 0.7em 0 0 0;
}

@media screen and (min-width: 600px) {
  article section.app img {
    float: left;
    margin-right: 1.5em;
  }
}

video.bg {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 10%;
}

img.figure {
  display: block;
  position: fixed;
  bottom: 30%;
  right: 5%;
  z-index: 99;
  width: 40%;
  max-width: 256px;
}

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

footer {
  display: block;
  font-size: 0.9em;
  padding: 2rem 0 2rem 0;
  border-style: none;
}

footer p {
  width: 84%;
  max-width: 767px;
  margin: 1rem auto 1rem auto;
}

#popup {
  display: none;
}

#breakmenu {
  display: none;
}

#popup-video {
  display: block;
  width: 100%;
  object-fit: contain;
  display: none;
  text-shadow: none;
  pointer-events: auto;
  outline: none;
}

#helper-tap {
  position: absolute;
  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;
  color: #006fab;
  font-size: 1.33em;
  line-height: 1.66em;
  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: absolute;
  width: 33%;
  max-width: 320px;
  max-height: 20vh;
  top: 0;
  right: 0;
  transform: perspective(1000px) rotateY(15deg) rotateX(-15deg) rotateZ(2deg) translate3d(-40px, -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;
  color: #006fab;
  font-size: 1.33em;
  line-height: 1.66em;
  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: absolute;
  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;
  color: #006fab;
  font-size: 1.33em;
  line-height: 1.66em;
  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: block;
  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: 1.1em;
  margin: 0em 0.5em 0.8em 0em;
  padding: 0.5rem 1rem 0.5rem 1rem;
}

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

.tourhead h1 {
  line-height: 1.33em;
  margin: 0 0 0.5em 0;
}

.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: 27vh;
  overflow: scroll;
  transform: perspective(1000px) rotateY(-15deg) rotateX(-6deg) rotateZ(0deg) translate3d(0px, 36px, 0px);
  background-color: rgba(0, 0, 0, 0.4);
  margin: 0 auto 0 auto;
  padding: 2em;
  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: 14px;
  scrollbar-width: none;
}

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

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

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

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

.tourhead p.moriyamalab {
  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;
}

.note {
  display: inline-block;
  font-size: 0.66em;
  line-height: 1em;
  margin-bottom: 2em;
}

.forkids {
  color: #006fab;
  font-size: 1.33em;
  line-height: 1.66em;
}

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

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

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

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

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