/* ==========================================================
   Opening and effects
   Source: effects.css
   ========================================================== */
/*
 * effects.css
 * 用途: 表示演出と補助レイアウト
 * このファイル内の各セクションは、元CSSの読み込み順を維持しています。
 */

/* --------------------------------------------------------------------------
 * モバイル用の画像配置
 * -------------------------------------------------------------------------- */
.mobile-character-image_left {
    display: none;
}


@media screen and (max-width: 768px) {
  .mobile-character-image_left {
    width: 90vw; 
    height: auto;
    display: block;
    margin: 0 auto;
    margin: 20px auto; 
  }
}

/* --------------------------------------------------------------------------
 * オープニング画面
 * -------------------------------------------------------------------------- */
#opening-screen {
  position: fixed;
  z-index: 2147483647;
  inset: 0;

  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;

  background-color: #fffafc;

  
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transition: opacity 1s ease;
}


#opening-screen.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}


#opening-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}


.opening-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
}


.opening-bg {
  display: block;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}


#bell-gif {
  width: 150px;
  z-index: 1;
  transform: translateY(230px);
}


@media screen and (max-width: 768px) {
  #bell-gif {
    width: 120px;
    transform: translateY(130px);
  }
}
