/* 画面全体の土台（welcomeと同じ考え方） */
.screen {
  position: fixed;
  inset: 0;
  background: #fff; /* 背景色はお好みで */
}

/* 論理画面：responsive-scaler が absolute+transform を当てる前提 */
#logicView {
  position: absolute;   /* responsive-scaler が位置を制御 */
  width: 430px;         /* 論理幅 */
  height: 932px;        /* 論理高 */
  overflow: hidden;
    /* フッターを除く全体背景 */
  background: url("../img/background.png") no-repeat center top;
  background-size: cover;
  display: flex;
  flex-direction: column;
  border: 1px solid #cfd8e3;   /* welcome.css と同じ薄いグレー */
  border-radius: 28px;         /* 角丸 */
}

/* ヘッダー画像（指定の shopheader.png） */
.hero {
  position: relative;
  width: 100%;
  height: 160px; /* 背景画像の高さに合わせて調整 */
  overflow: visible;
}

/* 背景画像（header.png） */
.hero-img {
  width: 100%;
  height: 100%;
  background-image: url("/img/eventheader.png");
  background-size: cover;        /* 全面にフィット */
  background-position: center;   /* 中央基準 */
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* ロゴ（logo.png） */
.logo {
  position: absolute;
  top: 15px;                    /* 少し上に浮かせる */
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 80px;
  background-image: url("/img/logo.png");
  background-size: contain;      /* 比率を保って収まる */
  background-repeat: no-repeat;
  background-position: center;
  z-index: 2;
  pointer-events: none;
}

/* ページタイトル（論理空間でpx指定OK） */
.shop-title {
  margin: 16px 16px 8px;
  font-size: 22px;
}

/* 既存の共通 user-info があるなら必要に応じて調整 */
.user-info-wrapper {
  padding: 8px 12px;
}

/* ===== ボタン ===== */
.button-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 16px auto 24px;
  align-items: center;
}

/* 論理空間で幅をpx指定（responsive-scalerが拡縮） */
.button {
  position: relative;
  width: 360px;           /* ← 画像の横幅感に合わせて調整 */
  height: 100px;          /* ← 画像の縦幅感に合わせて調整 */
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  cursor: pointer;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;

  /* 文字（中央・大きめ） */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  font-weight: bold;

  /* 白文字の可読性UP（黒フチ） */
  text-shadow:
    -1px -1px 1px #000,
     1px -1px 1px #000,
    -1px  1px 1px #000,
     1px  1px 1px #000;

  transition: transform 0.1s, filter 0.3s;
}

/* 各ボタンに背景画像の割当 */
#sityubo-btn {
  background-image: url("../img/Pshop.png");
}
#exchange-key-btn {
  background-image: url("../img/Tshop.png");
}
#exchange-rp-btn {
  background-image: url("../img/Dshop.png");
}

/* hover効果（PC向け） */
.shop-button:hover {
  transform: scale(1.02);
  filter: brightness(1.05);
}

.button.disabled {
  background: linear-gradient(135deg, #bdc3c7, #95a5a6);
  cursor: default;
  pointer-events: none; /* ← クリック無効 */
  color: #eee;
}

.button {
  font-family: "Rounded M+ 1c", sans-serif;
  font-weight: 700;
  font-size: 27px;
  color: #ffffff;
  letter-spacing: 0.04em;

  /* ───── 濃い青灰色の縁 ───── */
  -webkit-text-stroke: 0.8px rgba(95, 115, 155, 1);

  /* ───── 立体感のある影 ───── */
  text-shadow:
    0 2px 3px rgba(0, 0, 0, 0.35),
    0 4px 10px rgba(140, 180, 255, 0.4),
    0 0 12px rgba(180, 220, 255, 0.6),
    0 -2px 2px rgba(255, 255, 255, 1);

  transform: translateY(2px);
}
