@font-face {
font-family: motoya;
src: url(fonts/MTXma6kp.ttc);
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: url("back.png") no-repeat center/cover;
  font-family:'motoya', sans-serif;
}


        .character-img {
            position: absolute;
            bottom: 0; /* 下端に合わせる */
            left: 70%; /* 左から50%の位置 */
            transform: translateX(-50%); /* 自身の幅の半分だけ左に戻して完全な中央にする */
            height: 98vh; /* 画面の高さの80%くらいのサイズ（調整可能） */
            width: auto; /* 比率を保ったままリサイズ */
            z-index: 10; /* 背景より手前に表示 */
        }

.container {
  display: flex;
  height: 100vh;
  padding: 40px;
}

.left {
  width: 40%;
}

.right {
  width: 60%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* ロゴ強調 */
.logo {
  width: 500px;
  filter:
    drop-shadow(0 0 0 white)
    drop-shadow(0 0 6px white)
    drop-shadow(4px 6px 10px rgba(0,0,0,0.6));
  margin-bottom: 30px;
            z-index: 20; /* 背景より手前に表示 */
}

.akari-image {
  content: url("akari.png");
  position: absolute;   /* 位置指定できるようにする */
  right: 0;
  bottom: 0;
  max-height: 90vh;
}

/* ボタン */
.buttons button {
  font-family:'motoya', sans-serif;
  display: block;
  width: 100%;
  margin-bottom: 15px;
  padding: 18px;
  font-size: 18px;
  border-radius: 12px;
  border: none;
  background: rgba(255,255,255,0.9);
  cursor: pointer;
}

.buttons button:hover {
  background: #ffdcdc;
}

.girl {
  max-height: 90vh;
}

/* ===== スマホ ===== */
@media (max-width: 768px) {

  html,
  body {
    height: 100%;
    overflow: hidden;   /* ← スクロール完全禁止 */
    touch-action: none; /* ← スマホのスワイプも無効 */
  }


  .container {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    height: 100vh;
  }

  .akari-image {
    content: url("akari-sp.png");
    position: fixed;    /* 画面下部に固定 */
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);

    width: 100%;
    max-width: 100%;
    height: auto;

    z-index: 10;
  }

.logo {
  width: 200px;
  filter:
    drop-shadow(0 0 0 white)
    drop-shadow(0 0 6px white)
    drop-shadow(4px 6px 10px rgba(0,0,0,0.6));
  margin: 15px 0 0 0;
z-index: 50; /* 背景より手前に表示 */
}

  .left {
    width: 100%;
    text-align: left;
    padding-left: 15px;
  }

  .buttons {
    display: none;
  }

  .right {
    width: 100%;
    justify-content: center;
  }

  .girl {
    width: 80%;
    max-height: none;
  }

  /* メニュー */
  .menu-btn {
    display: block !important;
  }

  .menu-btn, .sp-menu { touch-action: auto; }
}

/* メニューボタン */
.menu-btn {
  position: fixed;
  top: 15px;
  right: 20px;
  font-size: 32px;
  cursor: pointer;
  display: none;
  z-index: 1000;
}

/* スマホメニュー */
.sp-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  padding: 80px 20px;
  transition: 0.3s;
  z-index: 999;
}

.sp-menu a {
  display: block;
  color: white;
  font-size: 20px;
  padding: 15px 0;
  text-decoration: none;
}
