/* ==============================
   背景スクロール完全停止
============================== */
body.lang-lock {
  overflow: hidden;
  height: 100vh;
}

/* ==============================
   オーバーレイ全体
============================== */
.lang-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;
}

/* ==============================
   スクロールする中身
============================== */
.lang-overlay-inner {
  height: 100%;
  overflow-y: auto;       /* ← ここがスクロール主体 */
  -webkit-overflow-scrolling: touch;

  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 24px 16px 48px;
  box-sizing: border-box;

  color: #fff;
  text-align: center;
  font-family: 'Helvetica Neue', sans-serif;
}

/* ==============================
   ヘッダー
============================== */
.lang-header-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  margin-bottom: 24px;
}

/* ==============================
   言語選択
============================== */
.lang-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.lang-button {
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  border: 2px solid #9e6767;
  background: transparent;
  color: #9e6767;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.lang-button:hover {
  background: #9e6767;
  color: #fff;
}

/* ==============================
   プロフィール画像
============================== */
.lang-profile-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}

/* ==============================
   スマホ調整
============================== */
@media (max-width: 600px) {

  .lang-header-img {
    max-width: 420px;
    margin-bottom: 20px;
  }

  .lang-buttons {
    gap: 1.2rem;
    margin-bottom: 24px;
  }

  .lang-profile-img {
    max-width: 100%;
  }
}
