body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  background: #faf8e8;
  color: #333;
}

/* =========================
     ヘッダー
  ========================= */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: #ffde00;
  border-bottom: 4px solid #e4b100;
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
}

.nav a {
  margin-left: 20px;
  text-decoration: none;
  font-size: 18px;
  color: #333;
  font-weight: bold;
}

.nav .nav-btn {
  background: #333;
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 16px;
  transition: background 0.3s;
}

.nav .nav-btn:hover {
  background: #555;
}

/* =========================
     メインビジュアル
  ========================= */
.main-visual img {
  width: 100%;
  display: block;
}

/* =========================
     カードセクション
  ========================= */
.cards {
  padding: 50px 20px;
  text-align: center;
}

.cards h2 {
  font-size: 28px;
  margin-bottom: 30px;
}

.card-grid {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  padding: 0 20px;
}

.card {
  background: #fff;
  border: 4px solid #ffd900;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 0 #e0b600;
  transition: transform .2s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
}

/* =========================
     ★ 名前帯（ボタン装飾）
     1行固定 + JSで自動縮小
  ========================= */
.item-name {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 90%;
  max-width: 260px;
  height: 48px;
  margin: 18px auto 0;
  padding: 0 10px;
  box-sizing: border-box;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  /* …を出したいなら ellipsis */

  font-size: 18px;
  /* JSがここから縮小 */
  font-weight: 700;
  line-height: 1;

  color: #fff;
  background: linear-gradient(#d24b00, #b02f00);
  border-radius: 18px;
  border: 3px solid #f7d47b;
  box-shadow: 0 0 0 3px #8a5b19 inset;
}

/* =========================
     ニュース（完全中央）
  ========================= */
.news {
  padding: 50px 20px;
  background: #fff7cc;
  text-align: center;
}

.news h2 {
  text-align: center;
  margin-bottom: 20px;
}

.news ul {
  max-width: 600px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.news li {
  padding: 12px 0;
  border-bottom: 1px solid #e6d48f;
  text-align: center;
}

/* =========================
     フッター
  ========================= */
.footer {
  text-align: center;
  padding: 20px;
  background: #ffde00;
  border-top: 4px solid #e4b100;
  font-weight: bold;
}

/* =========================
     ポスターセクション
  ========================= */
.poster-section {
  text-align: center;
  padding: 60px 20px;

  /* 背景：元の画像があるならこれでOK */
  background-image: url("buki/gold-ring-bg.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;

  /* 画像ないなら下を使ってもOK */
  /* background: #000; */
}

/* =========================
     ★ ポスター枠（光る）
  ========================= */
.poster-frame {
  position: relative;
  width: 90%;
  max-width: 750px;
  margin: 0 auto;

  padding: 14px;
  border-radius: 32px;

  background: linear-gradient(140deg, #fff8c9, #d6a23c, #fff1a8, #b8872e);
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.35),
    inset 0 0 18px rgba(255, 255, 255, 0.85);

  overflow: hidden;
  /* 光がはみ出ない */
}

.poster-frame img {
  width: 100%;
  display: block;
  border-radius: 24px;
}

/* ★ 光が走る演出（復活） */
.poster-frame::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 70%;
  height: 100%;

  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.85) 50%,
      rgba(255, 255, 255, 0) 100%);

  transform: skewX(-25deg);
  animation: posterShine 2.8s infinite;
  pointer-events: none;
}

@keyframes posterShine {
  0% {
    left: -130%;
    opacity: 0;
  }

  35% {
    opacity: 1;
  }

  60% {
    left: 130%;
    opacity: 1;
  }

  100% {
    left: 130%;
    opacity: 0;
  }
}

/* =========================
     金バナー
  ========================= */
.gold-banner {
  width: 90%;
  max-width: 680px;
  margin: 40px auto 0;
  padding: 20px 10px;
  text-align: center;

  font-size: 28px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 2px;

  background: linear-gradient(#dca000, #a87400);
  border-radius: 18px;
  border: 4px solid #f7d47b;
  box-shadow:
    0 0 0 4px #7a4e00 inset,
    0 4px 12px rgba(0, 0, 0, 0.4),
    0 0 20px #ffe69a;
}

/* =========================
     ボタン（キラッ）
  ========================= */
.weapon-btn {
  position: relative;
  overflow: hidden;

  display: inline-block;
  margin-top: 25px;
  padding: 14px 40px;

  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  text-decoration: none;

  border-radius: 25px;
  background: linear-gradient(#d24b00, #a52800);
  border: 3px solid #f7d47b;
  box-shadow: 0 0 0 3px #8a5b19 inset, 0 4px 8px rgba(0, 0, 0, 0.3);

  transition: transform 0.2s ease, filter 0.2s ease;
}

.weapon-btn:hover {
  transform: scale(1.06);
  filter: brightness(1.2);
}

.weapon-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(120deg,
      transparent 0%,
      rgba(255, 255, 255, 0.65) 50%,
      transparent 100%);
  transform: skewX(-25deg);
  animation: btnShine 2.3s infinite;
}

@keyframes btnShine {
  0% {
    left: -120%;
  }

  60% {
    left: 140%;
  }

  100% {
    left: 140%;
  }
}

/* =========================
     スマホ最適化
  ========================= */
@media (max-width: 1024px) {

  html,
  body {
    overflow-x: hidden !important;
    width: 100% !important;
  }

  .header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 8px 5px;
  }

  .logo img {
    height: 24px;
  }

  .nav {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 0;
    width: auto;
  }

  .nav a {
    font-size: 11px;
    margin-left: 0;
    padding: 2px 0;
    white-space: nowrap;
    color: #333;
  }

  /* Reset button style for mobile */
  .nav .nav-btn {
    background: transparent !important;
    color: #333 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    font-size: 11px !important;
    font-weight: bold !important;
    box-shadow: none !important;
    border: none !important;
    margin: 0 !important;
  }

  .nav .nav-btn:hover {
    background: transparent !important;
  }

  .card-grid {
    display: block;
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }

  .card {
    width: 92%;
    max-width: 320px;
    margin: 0 auto 22px;
    padding: 16px 12px 12px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .card img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
  }

  .item-name {
    width: 80%;
    max-width: none;
    margin: 6px auto 0;
    font-size: 16px;
    /* JSが必要ならここから下げる */
  }
}

/* =========================
   ホール関係者様ページ
========================= */
.hall-staff-section {
  text-align: center;
  padding: 60px 20px;
  background-image: url("buki/gold-ring-bg.png");
  /* Reuse poster background */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.section-title-deco {
  display: inline-block;
  padding: 10px 40px;
  margin-bottom: 40px;

  font-size: 28px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;

  background: linear-gradient(#d24b00, #b02f00);
  border-radius: 18px;
  border: 3px solid #f7d47b;
  box-shadow: 0 0 0 3px #8a5b19 inset;
}

.download-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 30px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  background: #333;
  border: 2px solid #fff;
  border-radius: 5px;
  transition: background 0.3s;
}

.download-btn:hover {
  background: #555;
}