@charset "UTF-8";

/* ===== OP ===== */
.no-scroll {
  overflow: hidden;
  height: 100%;
  touch-action: none;
}

.hidden {
  opacity: 0;
  visibility: hidden;
}

.fade-out {
  animation: opFadeOut 0.8s ease forwards;
  pointer-events: none;
}

@keyframes opFadeOut {
  from {
    opacity: 1;
    transform: translateZ(0);
  }

  to {
    opacity: 0;
    transform: translateZ(0);
  }
}

#op-animation {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100svh;
  background-color: #fff;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding:
      env(safe-area-inset-top)
      env(safe-area-inset-right)
      env(safe-area-inset-bottom)
      env(safe-area-inset-left);
  will-change: opacity, transform;
  transform: translateZ(0);
  pointer-events: auto;
}

#op-video {
  width: 100vw;
  height: 100svh;
  object-fit: cover;
  object-position: center center;
  backface-visibility: hidden;
}

/* ===== テキストスクロール ===== */
.marquee {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-text {
  font-family: "helvetica-neue-world", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 14px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  animation: marquee 10s linear infinite;
}

.marquee-text img {
  width: 15px;
  margin: 0 10px;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ===== テキストタイピング ===== */
.text-typing {
  margin-top: 60px;
}

.typing-svg-wrap {
  width: 100%;
  max-width: 261.951px;
  margin: 0 auto;
}

.typing-svg-wrap svg path {
  fill: #fff;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.typing-svg-wrap svg path.show {
  opacity: 1;
}

/* ===== スライム ===== */
.slime-section {
  margin-top: 60px;
}

.slime {
  width: 65px;
  transform-origin: bottom center;
}

.slime:nth-of-type(1) {
  margin: 0 20px 0 auto;
}

.slime:nth-of-type(2) {
  margin: -33px 105px 0 auto;
}

.slime:nth-of-type(3) {
  margin: -5px 50px 0 auto;
}

.slime.is-active {
  animation: jump 1.2s ease-out forwards;
}

@keyframes jump {
  0% { transform: scale(1.1, 0.8) translateY(0); }
  20% { transform: scale(0.9, 1.1) translateY(-50px); }
  40% { transform: scale(1, 1) translateY(-70px); }
  60% { transform: scale(1, 1) translateY(-50px); }
  80% { transform: scale(1.2, 0.7) translateY(0); }
  100% { transform: scale(1, 1) translateY(0); }
}

/* ===== イントロ ===== */
#intro {
  margin-top: 20px;
}

#intro h2 {
  font-family: "itc-benguiat-condensed", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: min(7.906976744186046vw, 34px);
  line-height: 2;
  color: #E8BA21;
  text-align: center;
}

.youtube-wrap {
  width: 100%;
  margin-top: 20px;
  cursor: pointer;
}

.youtube-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility .4s ease;
  z-index: 9999;
}

.youtube-modal.is-show {
  opacity: 1;
  visibility: visible;
}

.youtube-modal-inner {
  position: relative;
  width: min(90vw, 960px);
  aspect-ratio: 16 / 9;
  background: #000;
  transform: scale(.95);
  opacity: 0;
  transition: transform .4s ease, opacity .4s ease;
}

.youtube-modal.is-show .youtube-modal-inner {
  transform: scale(1);
  opacity: 1;
}

#youtube-player {
  width: 100%;
  height: 100%;
}

.youtube-modal-inner iframe {
  width: 100%;
  height: 100%;
}

.youtube-close {
  position: absolute;
  top: -44px;
  right: 0;
  font-size: 32px;
  color: #E8BA21;
  background: none;
  border: none;
  cursor: pointer;
}

@media (max-width: 767px) {
  .youtube-modal-inner {
    width: min(80vw, 430px);
    aspect-ratio: 9 / 16;
  }

  .youtube-close {
    top: -34px;
    font-size: 28px;
  }
}

/* ===== アイテム ===== */
#items {
  position: relative;
}

.item-section {
  padding-top: 175px;
  position: relative;
  z-index: 2;
}

.item-section h2 {
  font-family: "itc-benguiat-condensed", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: min(7.906976744186046vw, 34px);
  line-height: 2;
  color: #E8BA21;
  text-align: center;
}

.item-section h3 {
  margin-top: 30px;
  font-family: "Cinema Letter";
  font-size: min(3.7209302325581395vw, 16px);
  line-height: 2;
  color: #E8BA21;
  text-align: center;
}

.item-section p {
  width: calc(100% - 40px * 2);
  margin: 20px auto 0;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: min(2.7906976744186047vw, 12px);
  line-height: 2;
  color: #fff;
  text-align: left;
}

/* ===== エテポンゲ ===== */
.eteponge-section {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  height: 240px;
}

.eteponge {
  width: 100%;
  max-width: 150px;
  opacity: 0;
}

.eteponge.play {
  animation:
    eteponge-fadein 1s ease-out forwards,
    eteponge-move 3s ease-out forwards,
    eteponge-step 3s ease-in-out 0.2s forwards;
}

@keyframes eteponge-fadein {
  from {
    opacity: 0;
    transform: translate(-10px, -10px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

@keyframes eteponge-move {
  from {
    margin: 0;
  }

  to {
    margin: 60px 0 0 20px;
  }
}

@keyframes eteponge-step {
  0% { transform: translate(0, 0) rotate(0deg); }
  12.5% { transform: translate(-3px, -4px) rotate(-2deg); }
  25% { transform: translate(0, 0) rotate(0deg); }
  37.5% { transform: translate(3px, -4px) rotate(2deg); }
  50% { transform: translate(0, 0) rotate(0deg); }
  62.5% { transform: translate(-3px, -4px) rotate(-2deg); }
  75% { transform: translate(0, 0) rotate(0deg); }
  87.5% { transform: translate(3px, -4px) rotate(2deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

/* ===== 回転アイコン ===== */
.card-row {
  width: calc(100% - 20px * 2);
  margin: 60px auto 0;
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(3, 1fr);
}

.card {
  width: 100%;
  perspective: 1000px;
}

.noflip {
  width: 100%;
}

.card-inner {
  width: 100%;
  padding-top: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(.4,0,.2,1);
}

.card.is-flipped .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
}

.card-back {
  transform: rotateY(180deg);
}

.card-front img,
.card-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== ボタン ===== */
.btn-section {
  margin-top: 60px;
}

.btn-section a:nth-of-type(1) {
  display: block;
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  transform: scale(1);
  transition: transform .3s;
}

.btn-section a:nth-of-type(2) {
  display: block;
  width: 100%;
  max-width: 199px;
  margin: 30px auto 0;
  transform: scale(1);
  transition: transform .3s;
}

.btn-section a:hover {
  transform: scale(1.1);
}

/* ===== スライムナイト ===== */
.slime-knight-section {
  padding: 50px 0 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.text-fashion svg {
  width: 100%;
  max-width: 74.251px;
}

.text-fashion svg path {
  fill: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.text-fashion svg path.show {
  opacity: 1;
  transform: translateY(0);
}

.slime-knight {
  width: 100%;
  max-width: 120px;
  transform: translateX(40px);
  opacity: 0;
}

.slime-knight.slide-in {
  animation: slimeSlideIn 0.6s ease-out forwards;
}

@keyframes slimeSlideIn {
  from {
      transform: translateX(40px);
      opacity: 0;
  }

  to {
      transform: translateX(0);
      opacity: 1;
  }
}

.slime-knight-inner.jump {
  animation: slimeDoubleJump 1.1s ease-out;
}

@keyframes slimeDoubleJump {
  0% { transform: translateY(0); }
  18% { transform: translateY(-28px); }
  30% { transform: translateY(0); }
  40% { transform: translateY(0); }
  58% { transform: translateY(-22px); }
  70% { transform: translateY(0); }
  85% { transform: translateY(-14px); }
  100% { transform: translateY(0); }
}

/* ===== モーダル ===== */
body.modal-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: #002F51;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s;
  z-index: 1000;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  width: 100%;
  height: 100%;
  background: #002F51;
  position: relative;
  padding: 80px 20px;
}

.modal-scroll {
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.modal-scroll::-webkit-scrollbar {
  display: none;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 15px;
  border: 1px solid #E8BA21;
  color: #E8BA21;
  background: none;
  border-radius: 50%;
  width: 37px;
  height: 37px;
  cursor: pointer;
  z-index: 10;
}

.close-btn::before, .close-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 23px;
  background: #E8BA21;
}

.close-btn::before {
  transform: translate(-50%,-50%) rotate(45deg);
}

.close-btn::after {
  transform: translate(-50%,-50%) rotate(-45deg);
}

/* ===== 商品ブロック ===== */
.product:nth-of-type(n+2) {
  margin-top: 80px;
}

.product-text {
  width: calc(100% - 20px * 2);
  margin: 0 auto;
}

.product-title {
  margin-top: 30px;
  font-family: "Cinema Letter";
  font-size: min(3.7209302325581395vw, 16px);
  line-height: 2;
  color: #E8BA21;
  text-align: center;
}

.product-caption {
  margin-top: 20px;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: min(2.7906976744186047vw, 12px);
  line-height: 2;
  color: #fff;
  text-align: left;
}

.product-credit {
  margin-top: 30px;
}

.price-row:nth-of-type(n+2) {
  margin-top: 10px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-row span {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: min(2.7906976744186047vw, 12px);
  line-height: 2;
  color: #fff;
  text-align: left;
}

.price-row span a {
  padding-bottom: 3px;
  position: relative;
}

.price-row span a::before {
  background: #fff;
  content: '';
  width: 100%;
  height: 1px;
  position: absolute;
  left: 0;
  bottom: 0;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform .3s;
}

.price-row span a:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}

.buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  background: #20AEE5;
  border: 1px solid #fff;
  border-radius: 50px;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-size: min(2.3255813953488373vw, 10px);
  line-height: 2;
  color: #fff;
  transition: .3s cubic-bezier(0.5, 1, 0.89, 1);
  cursor: pointer;
}

.buy-btn:hover {
  background: #fff;
  color: #20AEE5;
  transform: scale(1.1);
}

.product-comment {
  margin-top: 20px;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: min(2.3255813953488373vw, 10px);
  line-height: 2;
  color: #fff;
  text-align: left;
}

.product-comment a {
  text-decoration: underline;
}

.product-comment a:hover {
  text-decoration: none;
}

@media screen and (min-width: 768px) {
  .modal-container {
      padding: 80px 0;
  }

  .close-btn {
      position: fixed;
  }

  .product {
      width: 100%;
      max-width: 820px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
  }

  .product-image {
      width: 100%;
      max-width: 390px;
  }

  .product-text {
      width: 100%;
      max-width: 370px;
      margin: 0;
  }

  .product-title {
    margin: 0;
  }
}

/* ===== インフォ/ショッピングバッグ ===== */
.shopper-section h2 {
  font-family: "itc-benguiat-condensed", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: min(7.906976744186046vw, 34px);
  line-height: 2;
  color: #E8BA21;
  text-align: center;
}

.shopper-section h3 {
  margin-top: 30px;
  font-family: "Cinema Letter";
  font-size: min(3.7209302325581395vw, 16px);
  line-height: 2;
  color: #E8BA21;
  text-align: center;
}

.shopper-section p {
  width: calc(100% - 40px * 2);
  margin: 20px auto 0;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: min(2.7906976744186047vw, 12px);
  line-height: 2;
  color: #fff;
  text-align: left;
}

/* ===== おどるほうせき ===== */
.goodybag-section {
  margin: 40px auto 0;
}

.goodybag-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 10px;
  margin-top: -80px;
  margin-left: 28px;
}

.shopper {
  width: calc(100% - 40px * 2);
  margin: 0 auto;
}

.shopper img {
  transform: scale(0);
  opacity: 0;
  transform-origin: center;
}

.goodybag {
  width: 100%;
  max-width: 200px;
}

.text-shopper {
  padding: 20px 0;
}

.text-shopper svg {
  width: 100%;
  max-width: 74.25px;
}

.text-shopper svg path {
  fill: #fff;
}

.goodybag-section.is-active .shopper img {
  animation: shopperPop 0.8s ease-out forwards;
}

.goodybag-section.is-active .goodybag {
  animation: goodybagLaugh 1.2s ease-in-out infinite;
  animation-delay: 0.9s;
}

.goodybag-section.is-active .text-shopper svg {
  animation: shopperTextWiggle 1.2s ease-in-out infinite;
  animation-delay: 0.9s;
}

@keyframes shopperPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes goodybagLaugh {
  0% { transform: translateY(0) rotate(0); }
  15% { transform: translateY(-3px) rotate(-3deg); }
  30% { transform: translateY(-3px) rotate(3deg); }
  45% { transform: translateY(-3px) rotate(-3deg); }
  60% { transform: translateY(0) rotate(0); }
  100% { transform: translateY(0) rotate(0); }
}

@keyframes shopperTextWiggle {
  0% { transform: translateY(0) rotate(0); }
  15% { transform: translateY(-2px) rotate(-2deg); }
  30% { transform: translateY(-2px) rotate(2deg); }
  45% { transform: translateY(-2px) rotate(-2deg); }
  60% { transform: translateY(0) rotate(0); }
  100% { transform: translateY(0) rotate(0); }
}

/* ===== インフォ/ノベルティ ===== */
.novelty-section h3 {
  margin-top: 30px;
  font-family: "Cinema Letter";
  font-size: min(3.7209302325581395vw, 16px);
  line-height: 2;
  color: #E8BA21;
  text-align: center;
}

.novelty-section p {
  width: calc(100% - 40px * 2);
  margin: 20px auto 0;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: min(2.7906976744186047vw, 12px);
  line-height: 2;
  color: #fff;
  text-align: left;
}

/* ===== 宝箱 ===== */
.treasure-chest-section {
  width: calc(100% - 40px * 2);
  margin: 40px auto 0;
}

.novelty-list {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.novelty-item {
  width: 30%;
  position: relative;
}

.novelty-item img {
  width: 100%;
  height: auto;
  display: block;
}

.chest {
  cursor: pointer;
  /* animation-name: chest-wiggle;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite; */
  transform-origin: center bottom;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* @keyframes chest-wiggle {
  0%   { transform: rotate(0deg); }
  10%  { transform: rotate(2deg); }
  20%  { transform: rotate(-2deg); }
  30%  { transform: rotate(1deg); }
  40%  { transform: rotate(-1deg); }
  100% { transform: rotate(0deg); }
} */

.chest.opened {
  animation: none;
}

.chest.fade-out {
  opacity: 0;
  transform: scale(0.8);
}

.item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  animation: pop 0.4s ease forwards;
  z-index: 2;
}

@keyframes pop {
  to {
      opacity: 1;
      transform: translateY(0) scale(1);
  }
}

/* ===== インフォ/壁紙プレゼント ===== */
.wallpaper-section h3 {
  margin-top: 30px;
  font-family: "Cinema Letter";
  font-size: min(3.7209302325581395vw, 16px);
  line-height: 2;
  color: #E8BA21;
  text-align: center;
}

.wallpaper-section p {
  width: calc(100% - 40px * 2);
  margin: 20px auto 0;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: min(2.7906976744186047vw, 12px);
  line-height: 2;
  color: #fff;
  text-align: left;
}

/* ===== ミニゲーム ===== */
.game-ui {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: calc(100% - 50px * 2);
  margin: 60px auto 0;
}

#resetBtn {
  padding: 10px;
  background: #002F51;
  border: 1px solid #E8BA21;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-size: min(2.7906976744186047vw, 12px);
  line-height: 2;
  color: #fff;
  cursor: pointer;
  transform: scale(1);
  transition: transform .3s;
}

#resetBtn:hover {
  transform: scale(1.1)
}

.timer {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-size: min(3.255813953488372vw, 14px);
  line-height: 2;
  color: #E8BA21;
}

.game-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 15px;
  width: calc(100% - 20px * 2);
  margin: 25px auto 0;
}

.game-card {
  aspect-ratio: 1 / 1;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.4s;
  cursor: pointer;
}

.game-card.is-flipped {
  transform: rotateY(180deg);
}

.game-card-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
}

.game-card-front {
  transform: rotateY(180deg);
}

body.is-modal-open,
html.is-modal-open {
  position: fixed;
  width: 100%;
  /* overflow: hidden; */
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  display: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 999;
}

.modal.is-show {
  display: flex;
}

.modal-content {
  width: 350px;
  background: #fff;
  border: 1px solid #E8BA21;
  padding: 30px 20px;
  border-radius: 10px;
  animation: pop .3s ease;
  text-align: center;
  max-height: 90svh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-content::-webkit-scrollbar {
  display: none;
}

.modal-content {
  scrollbar-width: none;
}

.modal-content {
  -ms-overflow-style: none;
}

@keyframes pop {
  from {
    transform: scale(.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.topbtn {
  display: block;
  width: 35px;
  margin: -10px 0 0 auto;
}

.btmbtn {
  width: 120px;
  height: 40px;
  background: #fff;
  border: 1px solid #E8BA21;
  border-radius: 50px;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-size: min(2.3255813953488373vw, 10px);
  line-height: 2;
  color: #E8BA21;
  cursor: pointer;
}

.clear-title {
  font-family: "Cinema Letter";
  font-size: min(4.186046511627907vw, 18px);
  line-height: 2;
  color: #000;
}

.clear-sub {
  font-family: "Cinema Letter";
  font-size: min(4.651162790697675vw, 20px);
  line-height: 2;
  color: #000;
}

.clear-time {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-size: min(3.255813953488372vw, 14px);
  line-height: 2;
  color: #E8BA21;
}

.carousel-wrapper {
  position: relative;
  --swiper-navigation-sides-offset: 0px;
  --swiper-navigation-top-offset: 45%;
  --swiper-navigation-size: 57px;
}

.swiper {
  max-width: 200px;
  margin: 20px auto;
}

.swiper-button-next,
.swiper-button-prev {
  height: calc(var(--swiper-navigation-size) / 44 * 27) !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  display: none;
}

.download-btn {
  position: relative;
  display: inline-block;
  margin-top: 20px;
  width: 120px;
  height: 40px;
  background: #20AEE5;
  border-radius: 50px;
  cursor: pointer;
}

.download-btn span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 2;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-size: min(2.3255813953488373vw, 10px);
  line-height: 2;
  color: #fff;
}

.download-btn::before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 1;
  content: "";
  width: 116px;
  height: 36px;
  background: #20AEE5;
  border: 1px solid #fff;
  border-radius: 50px;
}

/* ===== ゴールデンスライム ===== */
.gem-slime-section {
  margin: 60px auto 0;
  overflow: hidden;
}

.gem-slime-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 25px;
}

.text-present {
  opacity: 0;
  transform: translateX(-20px);
}

.text-present svg {
  width: 100%;
  max-width: 74.251px;
}

.text-present svg path {
  fill: #fff;
}

.gem-slime {
  opacity: 0;
  transform: translateX(170px);
}

.gem-slime img {
  width: 100%;
  max-width: 170px;
  display: block;
}

.gem-slime-section.play .text-present {
  animation: textFadeSlide 0.8s ease-out forwards;
}

.gem-slime-section.play .gem-slime {
  animation:
    slimeSlideIn 1s ease-out forwards,
    slimeGotto 0.35s ease-out forwards;
  animation-delay: 0.3s, 1.25s;
  transform-origin: left bottom;
}

@keyframes textFadeSlide {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slimeSlideIn {
  to {
    opacity: 1;
    transform: translateX(30px);
  }
}

@keyframes slimeGotto {
  0% { transform: translateX(30px) rotate(0deg); }
  95% { transform: translateX(30px) rotate(0deg); }
  100% { transform: translateX(30px) translateY(27px) rotate(-21deg); }
}

/* ===== GAME ===== */
.game h2 {
  font-family: "itc-benguiat-condensed", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: min(7.906976744186046vw, 34px);
  line-height: 2;
  color: #E8BA21;
  text-align: center;
}

.banner-wrap {
  width: calc(100% - 30px * 2);
  margin: 20px auto 0;
}

.banner-wrap a img {
  transform: scale(1);
  transition: transform .3s;
}

.banner-wrap a:hover img {
  transform: scale(1.1);
}

/* ===== フッターアイテムボタン ===== */
.footer-btn h3 {
  font-family: "Cinema Letter";
  font-size: min(3.7209302325581395vw, 16px);
  line-height: 2;
  color: #E8BA21;
  text-align: center;
}

.footer-btn a {
  display: block;
  width: 100%;
  max-width: 260px;
  margin: 20px auto 0;
  transform: scale(1);
  transition: transform .3s;
}

.footer-btn a:hover {
  transform: scale(1.1);
}