/* メニュー全体のコンテナ */
#menu-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: radial-gradient(#0a0a0a, #1a001a);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 20px rgba(128, 0, 128, 0.3);
  font-family: 'Courier New', Courier, monospace;
  color: #eee;
  padding: 1em;
  position: relative;
  overflow: hidden;
}

/* メニューボタン */
#menu-button {
  margin: 1em;
  padding: 1em;
  font-size: 1.2em;
  background: transparent;
  color: violet;
  border: 1px solid violet;
  cursor: pointer;
  transition: all 0.3s ease;
}

#menu-button:hover {
  background-color: rgba(238, 130, 238, 0.1);
  text-shadow: 0 0 8px violet;
}

/* メニューリスト */
.menu-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height 1s ease;
  background-color: rgba(10, 0, 10, 0.85);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 1em;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(3px);
}

.menu-list.open {
  max-height: 300px;
}

/* メニュー項目リンク */
.menu-list a {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1s ease, transform 0.8s ease;
  color: #bbb;
  font-weight: bold;
  letter-spacing: 1px;
  text-decoration: none;
  padding: 0.5em 0;
  position: relative;
}

.menu-list.open a {
  opacity: 1;
  transform: translateY(0);
}

/* ホバーエフェクト（じわっと浮かぶ＋光る） */
.menu-list a:hover {
  color: violet;
  text-shadow: 0 0 5px violet, 0 0 10px darkviolet;
}

/* 軽いノイズ背景を重ねる（疑似要素で） */
#menu-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://www.transparenttextures.com/patterns/asfalt-dark.png');
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}


body {
  /*background-image: url("../wall/wall_purple.jpg"); /* 画像ファイルのパス */
  background-size: cover;          /* 画面いっぱいに拡大 */
  background-position: center;     /* 画像の中心を表示 */
  background-repeat: no-repeat;    /* 繰り返さない */
  background-attachment: fixed;    /* スクロールしても固定 */
  z-index: -1;                     /* 背景なので他の要素より後ろに */
}


.title-image {
  width: 100%;       /* 横幅は画面幅いっぱいに */
  max-width: 300px;  /* ただし最大300pxまでに制限 */
  height: auto;      /* 高さは自動調整で縦横比を維持 */
  display: block;    /* 余計な余白を消して中央寄せ可能 */
  margin: 0 auto;    /* 中央に配置 */
}

