@charset "UTF-8";

body {
  background-color: white;
}

.container {
  max-width: none !important;
  margin: 0 auto;
  padding: 0;
}

.area-contents {
  text-align: center;
}

/* キービジュアル */
.kv {
  position: relative;
  width: min(100%, 1200px);
  height: auto;
  aspect-ratio: 1200 / 1230;
  margin: 0 auto;
  z-index: -1;
}

.kv .background,
.kv .title {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.kv .background {
  top: 0;
}

.kv .title {
  --top-title: 240;
  top: calc(var(--top-title) * 1px);
}

/* ストーリー */
.story {
  display: block;
  margin: 0 auto;
}

/* 謎カードキャンペーン */
.frame-campaign {
  width: 100%;
  text-align: center;
}

.campaign-homework {
  display: block;
  width: min(100%, 1000px);
  height: auto;
  margin: 0 auto 250px;
}

/* プレイ形式 */
.play {
  --margin-play: 250;
  margin-top: calc(var(--margin-play) * -1px);
}

/* チケット */
.frame-ticket {
  position: relative;
}

.ticket {
  --margin-ticket: 150;
  margin-top: calc(var(--margin-ticket) * -1px);
}

.button-ticket {
  --bottom-button-ticket: 260;
  --width-button-ticket: 212;
  position: absolute;
  right: 0;
  bottom: calc(var(--bottom-button-ticket) * 1px);
  left: 0;
  margin: 0 auto;
}

/* スケジュール */
.schedule {
  --margin-schedule: 100;
  margin-top: calc(var(--margin-schedule) * -1px);
  z-index: 2;
}

/* グッズ */
.goods {
  --margin-goods: 100;
  margin-top: calc(var(--margin-goods) * -1px);
}

/* マップ */
.frame-map {
  position: relative;
  width: 100%;
}

.map-visual {
  --margin-map: 150;
  position: relative;
  width: min(100%, 1000px);
  margin: calc(var(--margin-map) * -1px) auto 0;
}

.map {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.map-grid {
  position: absolute;
  top: 33.5%;
  left: 8.5%;
  display: grid;
  grid-template-columns: 48% 49%;
  column-gap: 3%;
  align-items: center;
  box-sizing: border-box;
  width: 83%;
  height: 42%;
  padding: 2%;
}

.map-square {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background-color: #eeeeee;
}

.iframe-map-square {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-information {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  color: #333333;
}

.nazonika-logo {
  display: block;
  width: 75%;
  height: auto;
  margin: 0 auto 3%;
}

.map-venue-name,
.map-address,
.map-access-title,
.map-access {
  width: 75%;
  margin-right: auto;
  margin-left: auto;
  text-align: left;
}

.map-venue-name {
  margin-bottom: 4%;
  font-size: clamp(11px, 2.1vw, 22px);
  font-weight: bold;
  line-height: 1.3;
}

.map-address {
  margin-bottom: 5%;
  font-size: clamp(8px, 1.4vw, 15px);
  font-weight: bold;
  line-height: 1.5;
}

.map-access-title {
  margin-bottom: 2%;
  font-size: clamp(9px, 1.5vw, 16px);
  font-weight: bold;
  line-height: 1.4;
}

.map-access {
  font-size: clamp(7px, 1.25vw, 13px);
  font-weight: bold;
  line-height: 1.45;
}

.map-link {
  display: inline-block;
  align-self: center;
  margin: 5% auto 0;
  padding: 3% 6%;
  border-radius: 100px;
  background-color: #168eea;
  color: white;
  font-size: clamp(7px, 1.25vw, 13px);
  font-weight: bold;
  line-height: 1;
  text-decoration: none;
}

.map-link:hover {
  color: white;
  text-decoration: none;
  opacity: 0.8;
}

/* 注意事項 */
.notice-sky {
  --margin-notice-sky: 160;
  position: absolute;
  right: 0;
  left: 0;
  margin: calc(var(--margin-notice-sky) * -1px) auto 0;
  z-index: 3;
}

.notice {
  --margin-notice: 160;
  margin-top: calc(var(--margin-notice) * -1px);
}

/* 公演説明・ロゴ */
.frame-about {
  position: relative;
}

.about {
  --margin-about: 150;
  position: relative;
  margin-top: calc(var(--margin-about) * -1px);
}

.logo {
  --bottom-logo: 50;
  --width-logo: 197;
  position: absolute;
  right: 0;
  bottom: calc(var(--bottom-logo) * 1px);
  left: 0;
  margin: 0 auto;
}

/* 画面下部の固定チケットボタン */
#button-fix {
  --width-button-fix: 265;
  --width-contents-background: 1000;
  position: fixed;
  right: calc(50vw - var(--width-contents-background) * 1px / 2);
  bottom: 2%;
  z-index: 3;
}

.button-ticket:hover,
#button-fix:hover {
  cursor: pointer;
  opacity: 0.8;
}

/* 1000px以下 */
@media screen and (max-width: 1000px) {
  .kv .title {
    top: calc(var(--top-title) / 1000 * 100vw);
  }

  .campaign-homework {
    margin-bottom: calc(250 / 1000 * 100vw);
  }

  .play {
    margin-top: calc(var(--margin-play) * -1 / 1000 * 100vw);
  }

  .ticket {
    margin-top: calc(var(--margin-ticket) * -1 / 1000 * 100vw);
  }

  .button-ticket {
    bottom: calc(var(--bottom-button-ticket) / 1000 * 100vw);
    width: calc(var(--width-button-ticket) / 1000 * 100vw);
  }

  .schedule {
    margin-top: calc(var(--margin-schedule) * -1 / 1000 * 100vw);
  }

  .goods {
    margin-top: calc(var(--margin-goods) * -1 / 1000 * 100vw);
  }

  .map-visual {
    margin-top: calc(var(--margin-map) * -1 / 1000 * 100vw);
  }

  .notice-sky {
    margin-top: calc(var(--margin-notice-sky) * -1 / 1000 * 100vw);
  }

  .notice {
    margin-top: calc(var(--margin-notice) * -1 / 1000 * 100vw);
  }

  .about {
    margin-top: calc(var(--margin-about) * -1 / 1000 * 100vw);
  }

  .logo {
    bottom: calc(var(--bottom-logo) / 1000 * 100vw);
    width: calc(var(--width-logo) / 1000 * 100vw);
  }

  #button-fix {
    right: calc(50vw - var(--width-contents-background) / 1000 * 100vw / 2);
    width: calc(var(--width-button-fix) / 1000 * 100vw);
  }
}

/* スマートフォン */
@media screen and (max-width: 768px) {
  .kv {
    width: 100%;
    aspect-ratio: 1000 / 1340;
  }

  .kv .title {
    top: calc(380 / 1000 * 100vw);
  }

  .campaign-homework {
    width: 90%;
    max-width: 90%;
  }
}
