  /* font */
  @import url("https://use.typekit.net/zpj6uzr.css");

* {margin: 0 auto; padding: 0; box-sizing: border-box; word-break: keep-all;}

html, body {
    width: 100%;
    height: 100%;
    /* overflow: hidden; */
    touch-action: pan-y;
    font-family: 'Pretendard', sans-serif;
    background: #f0f0f0;
    word-break: keep-all;
}
/* .font_en {
    font-family: am-novecento, sans-serif;
    font-style: normal;
    font-weight: 400;
} */

/* main-anime */
.viewer {
  width: 100%;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
  overflow: hidden;
  /* background: #e2e2e2; */
  /* background: linear-gradient(to right,#fefefe, #b6b6b6,#dbdbdb, #fefefe); */
}

.page {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: left center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition:
    transform 0.85s cubic-bezier(.65,0,.25,1),
    opacity 0.65s ease;
  cursor: pointer;
}

.page img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.page.active {
  opacity: 1;
  transform: rotateY(0deg) scale(1);
  z-index: 3;
}

.page.next {
  opacity: 0;
  transform: rotateY(-12deg) translateX(5%);
  z-index: 2;
}

.page.previous {
  opacity: 0;
  transform: rotateY(12deg) translateX(-5%);
  z-index: 1;
}

.page.leaving {
  opacity: 0;
  transform: rotateY(-75deg) scale(.96);
}

.hint {
  position: fixed;
  bottom: 25%;
  left: 50%;
  transform: translateX(-50%);
  color: #999;
  font-size: 11px;
  letter-spacing: 2px;
  z-index: 10;
  opacity: .65;
  pointer-events: none;
  animation: blink 1.8s infinite;
}

@keyframes blink {
  0%, 100% { opacity: .35; }
  50% { opacity: .8; }
}

@media (prefers-reduced-motion: reduce) {
  .page {
    transition: opacity .2s ease;
  }
}

.townmate_en {
  font-family: "Momo Trust Display";
  font-weight: bold;
  font-style: normal;
}

/* mobile fixed */
.wrap {
    max-width: 390px;
    margin: 20px  auto;
    /* background: rgba(250,250,250,0.5); */
    background: #f0f0f0;
    border-radius: 10px;
    box-shadow: 3px 5px 15px rgba(0,0,0,0.1);
}
.logo { 
    font-weight: 900;
    line-height: 1;
}

  /* header */
.header {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #000;
}
.header img {width: 104px;}
/* hero */
.hero {
    padding: 42px 0;
    border-bottom: 1px solid #000;
    text-align: center;
}
.hero p {
  font-size: 20px;
  font-weight: 700;
}

.hero > img {width:320px;}

@media (min-width: 240px) {
    .hero .title { font-size: 62px; }
}

.intro {
    padding: 32px 20px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 700;
}
.intro p + p { margin-top: 28px; }

/* visual */
.visual {
    width: 350px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 10px auto 20px;
}
.visual video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ticket */
.ticket-wrap { padding: 72px 20px 0; width: 350px;}
.ticket {
    position: relative;
    transform: rotate(9deg);
    border: 1.5px solid #000;
    padding: 36px 22px 30px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.6;
  }
  .ticket::before {
    content: "";
    position: absolute;
    top: -1.5px;
    left: 50%;
    width: 44px;
    height: 22px;
    transform: translateX(-50%);
    /* background: rgba(250,250,250,0.5); */
    background: #f0f0f0;
    border: 1.5px solid #000;
    border-top: 0;
    border-radius: 0 0 44px 44px;
  }

  /* location */
  .location { padding: 80px 24px 0; text-align: center;}
  .location h2 {
    font-weight: 900;
    font-size: 40px;
    padding-bottom: 10px;
    border-bottom: 1.5px solid #000;
}
  .info {
    margin: 20px 0;
    gap: 6px 14px;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.info th {
    width: 40px;
    font-weight: 700;
    vertical-align: top;
    padding: 3px 30px 3px 0;
}

.info td {
    font-weight: 500;
    vertical-align: top;
    padding: 3px 0;
}

.map {
    margin-top: 24px;
    width: 100%;
}
.map img {
    width: 350px;
    height: 200px;
}

.notice {
    margin-top: 28px;
    font-size: 11px;
    line-height: 1.5;
    color: #969696;
    text-align: left;
}
.notice b { display: block; font-weight: 500; margin-bottom: 20px; }

  /* button */
  .cta-wrap {
    margin: 55px auto;
    text-align: center;
}
  .cta {
    position: relative;
    display: inline-block;
    min-width: 164px; padding: 18px 24px 14px;
    background: #0a4fd6;
    color: #f0f0f0;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
  }
  .cta::before {
    content: ""; position: absolute; top: 0; left: 50%; width: 22px; height: 11px;
    transform: translateX(-50%); background: #f0f0f0; border-radius: 0 0 22px 22px;
  }

  /* footer */
.footer {
  padding: 40px 24px;
  background: linear-gradient(to bottom, #f0f0f0 0%, #f6f6f6 55%, #fff 100%);
}
  .footer img {width: 103px;}
  .footer p { margin-top: 10px; font-size: 9px; color: #000; }