@charset "UTF-8";
/* このファイルは citygame.scss から生成されています。直接編集しないでください。 */
/* ============================================================
   citygame プラグイン専用スタイル（正本）
   scripts/compile_scss.php で citygame.css を生成する。.css は直接編集しない。
   stay 系の濃紺背景（.guide.stay_guide_page）に載る前提（course.scss と同じ土台）。
   規約：body は px／見出しは clamp／スマホ入力は 16px 固定／id・class はスネークケース小文字。
   ============================================================ */
/* ============================================================
   ヒーロー（ゲーム本体のタイトル画面と同じ意匠）
   背景はゲームと同じ実海岸線データから生成した SVG。
   ページ → ゲームで見た目が地続きになるようにしている。
   ============================================================ */
.citygame_stage {
  position: relative;
  overflow: hidden;
  background-color: #070b11;
  padding: clamp(48px, 9vh, 96px) 20px clamp(40px, 7vh, 72px);
  text-align: center;
}

.citygame_stage_bg {
  position: absolute;
  inset: 0;
  background: url("/assets/img/game/japan-evolution/coast_bg.svg") center/cover no-repeat;
  animation: cg_drift 26s ease-in-out infinite alternate;
}

@keyframes cg_drift {
  from {
    transform: scale(1.02) translateY(0);
  }
  to {
    transform: scale(1.06) translateY(-10px);
  }
}
.citygame_stage_veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 45%, rgba(7, 16, 23, 0.16) 0%, rgba(7, 11, 17, 0.74) 52%, rgba(7, 11, 17, 0.95) 100%);
}

/* 上下のシネマティックな帯 */
.citygame_stage::before,
.citygame_stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: clamp(40px, 9vh, 80px);
  pointer-events: none;
  z-index: 1;
}

.citygame_stage::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(4, 7, 11, 0.92), transparent);
}

.citygame_stage::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(4, 7, 11, 0.95), transparent);
}

.citygame_stage_inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.cg_eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  color: #dd9a33;
  text-transform: uppercase;
}

/* 紋章 */
.cg_crest {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.cg_crest_line {
  width: clamp(36px, 8vw, 92px);
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(200, 168, 106, 0.8));
}

.cg_crest_line:last-child {
  background: linear-gradient(to left, transparent, rgba(200, 168, 106, 0.8));
}

.cg_crest_mark {
  font-size: 12px;
  color: #e5c07f;
  text-shadow: 0 0 14px rgba(229, 192, 127, 0.6);
}

/* 題字。8文字（シミュレーション）が折り返さないよう vw でも頭打ちにする */
.cg_title {
  margin: 0;
  font-weight: 700;
  line-height: 1.14;
  font-size: max(20px, min(58px, 9.6vw));
}

.cg_title_line {
  display: block;
  white-space: nowrap;
  letter-spacing: 0.1em;
  text-indent: 0.1em;
  background: linear-gradient(180deg, #fffaf0 0%, #f6e4bb 38%, #d8b578 62%, #a9843f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 245, 220, 0.18)) drop-shadow(0 3px 16px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 42px rgba(200, 168, 106, 0.3));
}

.cg_title_line + .cg_title_line {
  margin-top: 0.06em;
}

/* 副題（両側に細い罫） */
.cg_sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 18px 0 0;
}

.cg_sub_line {
  flex: 1 1 auto;
  max-width: 110px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(200, 168, 106, 0.55));
}

.cg_sub_line:last-child {
  background: linear-gradient(to left, transparent, rgba(200, 168, 106, 0.55));
}

.cg_sub_text {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: clamp(11px, 1.9vw, 16px);
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  color: #e5c07f;
  font-weight: 500;
}

.cg_lead {
  margin: 22px auto 0;
  max-width: 620px;
  font-size: 14px;
  line-height: 2;
  color: #b9c4cb;
}

.cg_rule {
  width: min(190px, 60%);
  height: 1px;
  border: 0;
  margin: 30px auto 28px;
  background: linear-gradient(to right, transparent, rgba(200, 168, 106, 0.85), transparent);
  position: relative;
}
.cg_rule::after {
  content: "◆";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 8px;
  color: #dd9a33;
  background: #070b11;
  padding: 0 9px;
}

/* ヒーロー内の副次リンク（遊び方ガイド）。主CTA「はじめる」と競合しない控えめな見た目 */
.cg_stage_guide {
  margin: 16px 0 0;
}
.cg_stage_guide a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  border: 1px solid rgba(200, 168, 106, 0.34);
  border-radius: 999px;
  color: #dd9a33;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.cg_stage_guide a::before {
  content: "◆";
  font-size: 7px;
  opacity: 0.8;
}
.cg_stage_guide a:hover, .cg_stage_guide a:focus-visible {
  background-color: rgba(200, 168, 106, 0.14);
  border-color: rgba(229, 192, 127, 0.75);
  color: #f2dda9;
}

.cg_stage_foot {
  margin: 26px 0 0;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: #7f7568;
}

/* ヒーロー内に置くとき、開始CTA・ログイン枠は中央で幅を絞る */
.citygame_stage_inner .citygame_start,
.citygame_stage_inner .citygame_auth {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.citygame_stage_inner .citygame_pc_only {
  max-width: 460px;
}

/* 旧ヒーロー（他ページで使う可能性を残して定義は保持） */
.citygame_hero {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}

.citygame_hero_eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #dd9a33;
  margin: 0 0 10px;
}

.citygame_hero_title {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
  line-height: 1.35;
}

.citygame_hero_lead {
  font-size: 14px;
  line-height: 1.9;
  color: #b9c4cb;
  margin: 0;
}

.citygame_pc_only {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 640px;
  margin: 0 auto 24px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background-color: rgba(255, 255, 255, 0.04);
}

.citygame_pc_only_icon {
  flex: 0 0 auto;
  display: inline-flex;
  color: #dd9a33;
}
.citygame_pc_only_icon svg {
  width: 20px;
  height: 20px;
}

.citygame_pc_only_text {
  font-size: 13px;
  line-height: 1.7;
  color: #b9c4cb;
}

.citygame_start {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
}

.citygame_start_loading {
  text-align: center;
  font-size: 13px;
  color: #b9c4cb;
}

.citygame_start_note {
  text-align: center;
  font-size: 13px;
  line-height: 1.8;
  color: #b9c4cb;
  margin: 0;
}

.citygame_cta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s, transform 0.15s;
}
.citygame_cta:hover, .citygame_cta:focus-visible {
  transform: translateY(-1px);
}
.citygame_cta.is_start {
  background-color: #dd9a33;
  border-color: #dd9a33;
}
.citygame_cta.is_start .citygame_cta_title,
.citygame_cta.is_start .citygame_cta_text,
.citygame_cta.is_start .citygame_cta_arrow {
  color: #16222e;
}
.citygame_cta.is_start .citygame_cta_text {
  opacity: 0.75;
}
.citygame_cta.is_start:hover, .citygame_cta.is_start:focus-visible {
  background-color: #c4842a;
  border-color: #c4842a;
}
.citygame_cta.is_login {
  background-color: rgba(255, 255, 255, 0.04);
}
.citygame_cta.is_login:hover, .citygame_cta.is_login:focus-visible {
  border-color: #dd9a33;
}

.citygame_cta_body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.citygame_cta_title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.citygame_cta_text {
  font-size: 12px;
  color: #b9c4cb;
}

.citygame_cta_arrow {
  flex: 0 0 auto;
  font-size: 18px;
  color: #dd9a33;
}

.citygame_start_bottom {
  margin-top: 36px;
}

@media (max-width: 640px) {
  .citygame_cta {
    flex-wrap: wrap;
  }
}
/* ---- インライン会員ログイン／登録 ---- */
.citygame_auth {
  max-width: 420px;
  margin: 18px auto 0;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background-color: rgba(255, 255, 255, 0.03);
}

.citygame_auth_tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.citygame_auth_tab {
  flex: 1 1 auto;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: transparent;
  color: #b9c4cb;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.citygame_auth_tab.is_active {
  background-color: #dd9a33;
  border-color: #dd9a33;
  color: #16222e;
}

.citygame_auth_form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.citygame_auth_form input {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 16px; /* スマホでの自動ズーム防止（規約：フォーム入力は16px固定） */
}
.citygame_auth_form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.citygame_auth_form input:focus-visible {
  outline: none;
  border-color: #dd9a33;
}

.citygame_auth_submit {
  padding: 11px 16px;
  border: none;
  border-radius: 8px;
  background-color: #dd9a33;
  color: #16222e;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s;
}
.citygame_auth_submit:hover, .citygame_auth_submit:focus-visible {
  background-color: #c4842a;
}
.citygame_auth_submit:disabled {
  opacity: 0.6;
  cursor: default;
}

.citygame_auth_msg {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: #ffb0a8;
  min-height: 1em;
}

.citygame_auth_note {
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.7;
  color: #b9c4cb;
  text-align: center;
}

/* ---- SNS ログイン ---- */
.citygame_oauth {
  margin-bottom: 4px;
}

.citygame_oauth_label {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  color: #b9c4cb;
  text-align: center;
}

.citygame_oauth_btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.citygame_oauth_btn {
  display: block;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s;
}
.citygame_oauth_btn:hover, .citygame_oauth_btn:focus-visible {
  opacity: 0.85;
}

.citygame_oauth_or {
  position: relative;
  margin: 16px 0 14px;
  text-align: center;
}
.citygame_oauth_or::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.22);
}
.citygame_oauth_or span {
  position: relative;
  padding: 0 12px;
  background-color: #16222e;
  font-size: 11px;
  color: #b9c4cb;
}

/* ---- お知らせ（post_list layout="news_top" の .news_list を暗背景向けに上書き） ---- */
.citygame_news_wrap {
  max-width: 780px;
  margin: 56px auto 0;
}

.citygame_news .news_list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.citygame_news .news_item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}
.citygame_news .news_item_link {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  padding: 14px 4px;
  text-decoration: none;
  transition: background-color 0.2s;
}
.citygame_news .news_item_link:hover, .citygame_news .news_item_link:focus-visible {
  background-color: rgba(255, 255, 255, 0.04);
}
.citygame_news .news_date {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  color: #dd9a33;
}
.citygame_news .news_text {
  flex: 1 1 260px;
  font-size: 13.5px;
  line-height: 1.7;
  color: #fff;
}

.citygame_news_empty {
  text-align: center;
  font-size: 13px;
  color: #b9c4cb;
}

/* ---- 見出し共通 ---- */
.citygame_section_title {
  font-size: clamp(18px, 2.6vw, 22px);
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin: 0 0 22px;
}

/* ---- 特徴グリッド ---- */
.citygame_features {
  max-width: 980px;
  margin: 56px auto 0;
}

.citygame_feature_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.citygame_feature {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background-color: rgba(255, 255, 255, 0.03);
}

.citygame_feature_icon {
  display: inline-flex;
  color: #dd9a33;
}
.citygame_feature_icon svg {
  width: 24px;
  height: 24px;
}

.citygame_feature_title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.citygame_feature_text {
  font-size: 12.5px;
  line-height: 1.8;
  color: #b9c4cb;
}

@media (max-width: 900px) {
  .citygame_feature_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .citygame_feature_grid {
    grid-template-columns: 1fr;
  }
}
/* ---- スクリーンショットギャラリー ---- */
.citygame_gallery_wrap {
  max-width: 1080px;
  margin: 56px auto 0;
}

.citygame_gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.citygame_gallery_item {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  line-height: 0;
}

.citygame_gallery_img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .citygame_gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .citygame_gallery {
    grid-template-columns: 1fr;
  }
}
/* ---- 遊び方ステップ ---- */
.citygame_steps_wrap {
  max-width: 780px;
  margin: 56px auto 0;
}

.citygame_steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.citygame_step {
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-areas: "num title" "num text";
  column-gap: 14px;
  row-gap: 3px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background-color: rgba(255, 255, 255, 0.03);
}

.citygame_step_num {
  grid-area: num;
  align-self: start;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #dd9a33;
  color: #16222e;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.citygame_step_title {
  grid-area: title;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.citygame_step_text {
  grid-area: text;
  font-size: 12.5px;
  line-height: 1.8;
  color: #b9c4cb;
}

/* ---- 掲示板への導線（ゲーム一覧ハブ内） ---- */
.game_hub_bbs {
  max-width: 980px;
  margin: 26px auto 0;
  text-align: center;
}
.game_hub_bbs a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border: 1px solid rgba(221, 154, 51, 0.55);
  border-radius: 999px;
  color: #dd9a33;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.game_hub_bbs a:hover, .game_hub_bbs a:focus-visible {
  background-color: #dd9a33;
  border-color: #dd9a33;
  color: #16222e;
}

/* ---- 遊び方ガイドへの導線（ランディング内） ---- */
.citygame_guide_link {
  margin: 22px 0 0;
  text-align: center;
}
.citygame_guide_link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border: 1px solid rgba(221, 154, 51, 0.55);
  border-radius: 999px;
  color: #dd9a33;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.citygame_guide_link a:hover, .citygame_guide_link a:focus-visible {
  background-color: #dd9a33;
  border-color: #dd9a33;
  color: #16222e;
}

/* ---- 遊び方ガイド（/game/japan-evolution/guide/） ---- */
.cg_guide .section_inner {
  max-width: 820px;
}

.cg_guide_toc {
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background-color: rgba(255, 255, 255, 0.03);
  margin-bottom: 44px;
}

.cg_guide_toc_title {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #dd9a33;
}

.cg_guide_toc_list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 20px;
  margin: 0;
  padding-left: 20px;
}
.cg_guide_toc_list li {
  font-size: 13px;
  line-height: 1.8;
  color: #b9c4cb;
}
.cg_guide_toc_list a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.cg_guide_toc_list a:hover, .cg_guide_toc_list a:focus-visible {
  color: #dd9a33;
  border-bottom-color: #dd9a33;
}

.cg_guide_sec {
  margin-bottom: 48px;
  scroll-margin-top: 24px;
}
.cg_guide_sec p {
  font-size: 14px;
  line-height: 1.95;
  color: #e6ebef;
  margin: 0 0 14px;
}
.cg_guide_sec strong {
  color: #fff;
  font-weight: 700;
}

.cg_guide_h {
  font-size: clamp(17px, 2.4vw, 20px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  position: relative;
}
.cg_guide_h::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 48px;
  height: 1px;
  background-color: #dd9a33;
}

.cg_guide_list {
  margin: 0 0 16px;
  padding-left: 20px;
}
.cg_guide_list li {
  font-size: 13.5px;
  line-height: 1.95;
  color: #e6ebef;
  margin-bottom: 8px;
}

.cg_guide_steps {
  list-style: none;
  counter-reset: cg_step;
  margin: 0 0 16px;
  padding: 0;
}
.cg_guide_steps li {
  counter-increment: cg_step;
  position: relative;
  padding: 0 0 0 44px;
  margin-bottom: 16px;
}
.cg_guide_steps li::before {
  content: counter(cg_step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #dd9a33;
  color: #16222e;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cg_guide_steps strong {
  display: block;
  font-size: 14px;
  color: #fff;
  margin-bottom: 3px;
}
.cg_guide_steps span {
  display: block;
  font-size: 13px;
  line-height: 1.9;
  color: #b9c4cb;
}

.cg_guide_table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px;
  font-size: 13px;
}
.cg_guide_table th,
.cg_guide_table td {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  text-align: left;
  line-height: 1.8;
}
.cg_guide_table thead th {
  background-color: rgba(255, 255, 255, 0.06);
  color: #dd9a33;
  font-weight: 700;
}
.cg_guide_table tbody th {
  width: 34%;
  background-color: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}
.cg_guide_table tbody td {
  color: #e6ebef;
}

.cg_guide_note {
  padding: 12px 16px;
  border-left: 2px solid #dd9a33;
  background-color: rgba(255, 255, 255, 0.03);
  font-size: 13px !important;
  color: #b9c4cb !important;
}

.cg_guide_fig {
  margin: 20px 0;
}
.cg_guide_fig img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
}
.cg_guide_fig figcaption {
  margin-top: 8px;
  font-size: 11.5px;
  line-height: 1.7;
  color: #b9c4cb;
  text-align: center;
}

/* ガイド最下部：ゲームのページ（LP）へ戻る */
.cg_guide_back {
  margin: 40px 0 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  text-align: center;
}
.cg_guide_back a {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid rgba(200, 168, 106, 0.45);
  border-radius: 999px;
  color: #dd9a33;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.cg_guide_back a:hover, .cg_guide_back a:focus-visible {
  background-color: #dd9a33;
  border-color: #dd9a33;
  color: #16222e;
}

@media (max-width: 640px) {
  .cg_guide_toc_list {
    grid-template-columns: 1fr;
  }
  .cg_guide_table {
    display: block;
    overflow-x: auto;
  }
}
/* ---- ゲームハブ（/game/ 一覧） ---- */
.game_hub_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}

.game_hub_card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s, transform 0.15s;
}
.game_hub_card:hover, .game_hub_card:focus-visible {
  border-color: #dd9a33;
  transform: translateY(-2px);
}

.game_hub_card_thumb {
  position: relative;
  display: block;
  line-height: 0;
}
.game_hub_card_thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.game_hub_card_tag {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background-color: rgba(22, 34, 46, 0.8);
  color: #dd9a33;
  font-size: 11px;
  font-weight: 700;
}

.game_hub_card_body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px 20px;
}

.game_hub_card_title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.game_hub_card_lead {
  font-size: 12.5px;
  line-height: 1.8;
  color: #b9c4cb;
}

.game_hub_card_arrow {
  margin-top: 4px;
  font-size: 16px;
  color: #dd9a33;
}

@media (max-width: 900px) {
  .game_hub_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .game_hub_grid {
    grid-template-columns: 1fr;
  }
}