/* ============================================================
   With Token — ゲームページ共通スタイル (page-styles.css)
   クラス: .wt-* プレフィックス (全ゲームページ共通)
   ゲームページID: 3580, 3497, 3582, 3507, 3584
   更新: 2026-04-06
   ============================================================ */

/* CSS変数 */
.page-id-3580, .page-id-3497, .page-id-3582, .page-id-3507, .page-id-3584 {
  --cream: #FDF8F0;
  --yellow: #F5C842;
  --yellow-light: #FFF3D4;
  --green: #7EC8A4;
  --green-light: #E8F5EE;
  --brown: #3D2B1F;
  --brown-mid: #8B6F5E;
  --blue-light: #DBEAFE;
  --blue: #2563EB;
  --radius: 12px;
  background-color: #FDF8F0;
}

/* ヘッダー */
.wt-header {
  background: #fff;
  border-bottom: 3px solid #F5C842;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  margin-bottom: 0;
}
.wt-logo {
  font-size: 1.125rem;
  font-weight: 900;
  color: #3D2B1F;
  text-decoration: none;
  letter-spacing: .05em;
}
.wt-logo span { color: #F5C842; }
.wt-back {
  font-size: .875rem;
  color: #8B6F5E;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}
.wt-back:hover { color: #3D2B1F; }

/* ヒーロー共通 */
.wt-hero { padding: 56px 24px 48px; }
.wt-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.wt-hero-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.2);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wt-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* オユビデダンス: 正方形パッケージ画像を全体表示 */
.page-id-3582 .wt-hero-img { aspect-ratio: 1 !important; }
.page-id-3582 .wt-hero-img img { object-fit: cover !important; object-position: top !important; }
.wt-img-placeholder { font-size: 5rem; text-align: center; }
.wt-breadcrumb { font-size: .8rem; margin-bottom: 12px; }
.wt-game-title {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
}
.wt-specs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.wt-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
}
.wt-tag-yellow { background: #FFF3D4; color: #7a5c00; border: 1px solid #F5C842; }
.wt-tag-green  { background: #E8F5EE; color: #2a7a55; border: 1px solid #7EC8A4; }
.wt-tag-blue   { background: #DBEAFE; color: #1d4ed8; border: 1px solid #93C5FD; }
.wt-tagline { font-size: 1rem; font-weight: 600; line-height: 1.6; }

/* WTBGC ヒーロー（テキストセンター） */
.wt-hero-badge {
  display: inline-block;
  background: #F5C842;
  color: #3D2B1F;
  font-size: .75rem;
  font-weight: 900;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.wt-hero-title { font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 900; margin-bottom: 8px; letter-spacing: .03em; }
.wt-hero-subtitle { font-size: 1rem; font-weight: 700; margin-bottom: 20px; }
.wt-hero-desc { max-width: 600px; margin: 0 auto; font-size: .9375rem; line-height: 1.8; }

/* セクション共通 */
.wt-section { max-width: 860px; margin: 0 auto; padding: 56px 24px; }
.wt-section-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: #3D2B1F;
  border-left: 4px solid #F5C842;
  padding-left: 12px;
  margin-bottom: 24px;
}
.wt-divider { border: none; border-top: 1px solid #e8dfd5; margin: 0; }

/* テキスト */
.wt-desc p { margin-bottom: 1em; font-size: .9375rem; }
.wt-desc p:last-child { margin-bottom: 0; }

/* 遊び方ステップ */
.wt-steps { display: flex; flex-direction: column; gap: 20px; }
.wt-step { display: flex; gap: 16px; align-items: flex-start; }
.wt-step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: #F5C842;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: .9rem;
  color: #3D2B1F;
}
.wt-step-body strong { display: block; font-size: .9375rem; font-weight: 700; margin-bottom: 4px; }
.wt-step-body p { font-size: .875rem; color: #8B6F5E; }

/* スペック表 */
.wt-spec-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.wt-spec-table tr { border-bottom: 1px solid #e8dfd5; }
.wt-spec-table tr:first-child { border-top: 1px solid #e8dfd5; }
.wt-spec-table th {
  width: 160px;
  padding: 12px 8px 12px 0;
  font-weight: 700;
  color: #8B6F5E;
  vertical-align: top;
  white-space: nowrap;
}
.wt-spec-table td { padding: 12px 0; }

/* 特徴カード */
.wt-feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 24px; }
.wt-feature-card { background: #fff; border: 1px solid #e8dfd5; border-radius: 12px; padding: 20px; text-align: center; }
.wt-feature-icon { font-size: 2rem; margin-bottom: 8px; }
.wt-feature-label { font-size: .875rem; font-weight: 700; color: #3D2B1F; }
.wt-feature-desc { font-size: .8rem; color: #8B6F5E; margin-top: 4px; }

/* エディション比較 */
.wt-edition-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 24px; }
.wt-edition-card { border: 2px solid #e8dfd5; border-radius: 12px; padding: 20px; background: #fff; }
.wt-edition-card.featured { border-color: #F5C842; background: #FFF3D4; }
.wt-edition-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #8B6F5E; margin-bottom: 8px; }
.wt-edition-card.featured .wt-edition-label { color: #7a5c00; }
.wt-edition-name { font-size: 1rem; font-weight: 900; color: #3D2B1F; margin-bottom: 6px; }
.wt-edition-desc { font-size: .8125rem; color: #8B6F5E; }

/* ポイントボックス */
.wt-point-box { background: #FFF3D4; border: 1px solid #F5C842; border-radius: 12px; padding: 20px 24px; margin-top: 24px; }
.wt-point-box p { font-size: .9rem; color: #3D2B1F; font-weight: 600; }

/* コンテスト条件カード */
.wt-condition-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 8px; }
.wt-condition-card { background: #fff; border: 1px solid #e8dfd5; border-radius: 12px; padding: 20px; }
.wt-condition-icon { font-size: 2rem; margin-bottom: 8px; }
.wt-condition-title { font-size: .875rem; font-weight: 700; color: #3D2B1F; margin-bottom: 4px; }
.wt-condition-desc { font-size: .8rem; color: #8B6F5E; }

/* 賞品ボックス */
.wt-prize-box { background: #FFF3D4; border: 1px solid #F5C842; border-radius: 12px; padding: 20px 24px; }
.wt-prize-box ul { padding-left: 1.2em; font-size: .9rem; }
.wt-prize-box li { margin-bottom: 6px; }

/* ラウンドカード */
.wt-round-list { display: flex; flex-direction: column; gap: 20px; }
.wt-round-card { background: #fff; border: 1px solid #e8dfd5; border-radius: 12px; overflow: hidden; }
.wt-round-header { background: #3D2B1F; padding: 16px 20px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.wt-round-num { background: #F5C842; color: #3D2B1F; font-size: .875rem; font-weight: 900; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.wt-round-header-title { font-size: 1rem; font-weight: 700; color: #fff; }
.wt-round-body { padding: 20px; }
.wt-round-links { display: flex; flex-direction: column; gap: 8px; }
.wt-round-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #FDF8F0;
  border: 1px solid #e8dfd5;
  border-radius: 8px;
  text-decoration: none;
  color: #3D2B1F;
  font-size: .875rem;
  font-weight: 600;
  transition: background .15s;
}
.wt-round-link:hover { background: #FFF3D4; border-color: #F5C842; }
.wt-round-link-icon { font-size: 1rem; flex-shrink: 0; }
.wt-round-link-arrow { margin-left: auto; color: #8B6F5E; font-size: .875rem; }

/* 購入セクション */
.wt-buy-section { background: #3D2B1F; padding: 48px 24px; }
.wt-buy-inner { max-width: 860px; margin: 0 auto; }
.wt-buy-title { font-size: 1.25rem; font-weight: 900; color: #fff; margin-bottom: 8px; }
.wt-buy-sub { font-size: .875rem; color: #d4c4b8; margin-bottom: 28px; }
.wt-buy-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.wt-buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity .2s;
}
.wt-buy-btn:hover { opacity: .85; }
.wt-buy-btn-amazon  { background: #F5C842; color: #3D2B1F; }
.wt-buy-btn-amazon2 { background: #FFF3D4; color: #3D2B1F; border: 1px solid #F5C842; }
.wt-buy-btn-base    { background: #fff; color: #3D2B1F; }
.wt-buy-btn-booth   { background: #7EC8A4; color: #3D2B1F; }
.wt-buy-btn-event   { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.4); }

/* CTA セクション */
.wt-cta-section { background: #3D2B1F; padding: 48px 24px; text-align: center; }
.wt-cta-title { font-size: 1.25rem; font-weight: 900; color: #fff; margin-bottom: 12px; }
.wt-cta-desc { font-size: .875rem; color: #d4c4b8; margin-bottom: 24px; }
.wt-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  background: #F5C842;
  color: #3D2B1F;
  transition: opacity .2s;
}
.wt-cta-btn:hover { opacity: .85; }
/* wpautop干渉対策: pラッパーのマージン除去・br非表示 */
.wt-cta-section p { margin: 0; }
.wt-cta-btn br { display: none; }

/* フッター */
.wt-footer {
  background: #3D2B1F;
  color: #d4c4b8;
  text-align: center;
  padding: 28px 24px;
  font-size: .8125rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.wt-footer a { color: #F5C842; text-decoration: none; }

/* Kadence entry-content リセット */
.page-id-3580 .entry-content-wrap,
.page-id-3497 .entry-content-wrap,
.page-id-3582 .entry-content-wrap,
.page-id-3507 .entry-content-wrap,
.page-id-3584 .entry-content-wrap {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.page-id-3580 .wp-block-html,
.page-id-3497 .wp-block-html,
.page-id-3582 .wp-block-html,
.page-id-3507 .wp-block-html,
.page-id-3584 .wp-block-html {
  max-width: 100% !important;
}
.page-id-3580 main,
.page-id-3497 main,
.page-id-3582 main,
.page-id-3507 main,
.page-id-3584 main {
  padding-top: 0 !important;
}

/* レスポンシブ */
@media (max-width: 640px) {
  .wt-hero-inner { grid-template-columns: 1fr; }
  .wt-hero-img { max-width: 320px; margin: 0 auto; }
  .wt-spec-table th { width: 120px; font-size: .8rem; }
  .wt-buy-btn { font-size: .8125rem; padding: 12px 18px; }
}
