@charset "UTF-8";
/**
 * エスパー魔美 50周年ティザー / 2026-12-02 rev05
 *
 * @format
 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: #000;
  color: #fff;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

picture {
  display: block;
}

/* カンプを一枚のポスターとして扱い、全要素を同比率で拡縮する。 */
.teaser {
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: clip;
}

.stage {
  position: relative;
  isolation: isolate;
  width: min(100%, 178.864628821svh);
  aspect-ratio: 2048/1145;
}

.stage > * {
  position: absolute;
  margin: 0;
}

/* PC: カンプの位置とサイズをパーセントで指定 */
.visual {
  left: 4%;
  top: -2%;
  width: 91.5%;
  z-index: 0;
}

.anniversary {
  left: 5.3%;
  top: 5.6%;
  width: 9.5%;
  z-index: 2;
}

.comic {
  left: 17%;
  top: 6.2%;
  width: 14.4%;
  z-index: 2;
}

.anime {
  left: 11.65%;
  top: 57.2%;
  width: 18.1%;
  z-index: 1;
}

.legal {
  right: 4.5%;
  bottom: 9.5%;
  width: 5%;
  z-index: 2;
}

.anime:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* KVとその他の要素の初期状態 */
.intro-pending .enter-up,
.intro-pending .reveal {
  opacity: 0;
}

/* KVのアニメーション開始 */
.intro-running .enter-up {
  animation: enter-up 1s ease-out both;
}

/* KVが登場しても、他の要素はまだ非表示 */
.intro-running .reveal {
  opacity: 0;
}

/* KVのアニメーション終了後に表示 */
.intro-running.intro-reveal .reveal {
  animation: appear 0.4s ease-out both;
}

@keyframes enter-up {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* 動きを抑制する設定への対応 */
@keyframes appear {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* SP: iPhone 12/13/14 標準モデルの390px幅を想定。 */
@media (width < 768px) {
  .stage {
    width: min(100%, 65.1493598862svh);
    aspect-ratio: 916/1406;
  }
  .visual {
    left: 9.5%;
    top: 2.7%;
    width: 80%;
  }
  .anniversary {
    left: 12.7%;
    top: 4.8%;
    width: 16.8%;
  }
  .comic {
    left: 25.5%;
    top: 76.3%;
    width: 50%;
  }
  .anime {
    left: 12.7%;
    top: 49.8%;
    width: 24%;
  }
  .legal {
    left: 50%;
    right: auto;
    bottom: 3.5%;
    width: 10%;
    transform: translateX(-50%);
  }
}
/* 極端に低い画面では読みやすさを優先し縦スクロールを許容 */
@media (width >= 768px) and (max-height: 400px) {
  .teaser {
    min-height: 400px;
  }
  .stage {
    width: min(100%, 715.4585152838px);
  }
}
@media (width < 768px) and (max-height: 420px) {
  .teaser {
    min-height: 420px;
  }
  .stage {
    width: min(100%, 273.627311522px);
  }
}/*# sourceMappingURL=mami50th.css.map */