/* =========================================
   アプリ感リセット設定（前回と同じ）
========================================= */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans JP', sans-serif;
  overscroll-behavior-y: none; 
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* =========================================
   メインエリア・背景画像設定
========================================= */
/* 変更前の中身を書き換えてください */
.app-main {
  position: relative; /* ←追加：擬似要素の基準になります */
  min-height: 100vh;
  padding-top: 55px; 
  padding-bottom: 70px; 
  background-color: #fcfcfc; /* ←追加：一番奥のベース背景色 */
}

/* 新規追加：画像を一番手前に配置するレイヤー */
.app-main::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 10;
    pointer-events: none;
    background-image: url(../img/bg.jpg);
    background-size: auto 95vh;
    background-position: 15% bottom;
    background-repeat: no-repeat;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 40%, black 70%, black 100%);
    mask-image: linear-gradient(to right, transparent 0%, transparent 15%, black 80%, black 100%);
}

/* =========================================
   メニューリスト設定
========================================= */
.menu-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  /* 上部に少し余白を設ける */
  padding-top: 1.5rem; 
}

.menu-item {
  display: flex;
  /* 英語と日本語のテキストの底辺（ベースライン）を綺麗に揃える */
  align-items: baseline; 
  padding: 1.2rem 2.5rem;
  text-decoration: none;
  color: #222;
}

/* 重要：メニューの背景色を左から右へのグラデーションにする 
  左側は文字を読みやすく不透明に、右側は背景の人物を見せるために透明に
*/
.bg-solid {
  background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 40%, rgba(255, 255, 255, 0.3) 100%);
}
.bg-trans {
  background: linear-gradient(to right, rgba(242, 242, 242, 0.9) 0%, rgba(242, 242, 242, 0.75) 40%, rgba(242, 242, 242, 0.2) 100%);
}

.menu-item:active {
  background: rgba(200, 200, 200, 0.5) !important;
}

/* =========================================
   タイポグラフィ（フォント設定）
========================================= */
.en-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.3rem; /* サイズアップ */
  margin-right: 1.5rem;
  letter-spacing: 1px;
  color: #1a1a1a;
  line-height: 1; /* 行高を詰めて余計な隙間をなくす */
}

.ja-title {
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
  font-size: 0.85rem; 
  font-weight: 500;
  letter-spacing: 0.3em; 
  color: #1a1a1a;
  position: relative;
  top: -2px; 
}

/* =========================================
   ナビゲーション設定
========================================= */
.nav-label {
  font-size: 0.6rem;
  display: block;
  margin-top: 3px;
}

.pb-safe {
  padding-bottom: env(safe-area-inset-bottom, 10px) !important;
}

/* =========================================
   PC・タブレット表示時の切り替え設定
========================================= */
/* 画面幅が768px以上（タブレット・PC）の場合 */
@media screen and (min-width: 768px) {
  
  /* アプリ本体のUI（背景画像ごと）を非表示にする */
  #app-wrapper {
    display: none !important;
  }

  /* bodyの背景をリセットして、メッセージを画面中央に配置する設定 */
  body {
    background-color: #f8f9fa; /* やさしいグレー背景 */
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* PC用メッセージを表示 */
  #pc-warning {
    display: block !important;
    width: 100%;
    padding: 20px;
  }

  /* メッセージの見た目を整える（白枠のカード風） */
  .warning-content {
    max-width: 500px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    color: #333;
    font-size: 1.1rem;
    line-height: 1.8;
  }
}