@charset "UTF-8";
/* ==========================================================================
   ゲームチョイス！ ダークテーマ
   親テーマ JIN の上に重ねる。JIN 側の指定が強い箇所だけ !important を使う。
   ========================================================================== */

:root {
  /* GamePlus Navi は「クリーム＋紺＋金」のライトテーマ（見本 docs/@gameplusnavi.com/12.png）。
     変数名は移植元（game-choices）のまま。cyan=金 / violet=濃い金 として使っている。 */
  --gpn-bg:            #f5f2ea;   /* ページ全体のクリーム */
  --gpn-bg-2:          #ffffff;
  --gpn-card:          #ffffff;   /* カード・記事の紙 */
  --gpn-card-2:        #faf8f2;
  --gpn-border:        rgba(27,36,50,.14);
  --gpn-border-solid:  #e2ddd0;
  --gpn-text:          #1b2432;   /* 本文の濃紺 */
  --gpn-muted:         #6b7789;
  --gpn-cyan:          #b8860b;   /* 主アクセント: 明るい紙面でも読める濃い金 */
  --gpn-cyan-dim:      #c9922a;
  --gpn-violet:        #8a6a1f;
  --gpn-navy:          #0d1b2a;   /* 見出し帯・ヘッダー・フッターの紺 */
  --gpn-navy-2:        #12263a;
  --gpn-radius:        14px;
  --gpn-radius-sm:     10px;
  --gpn-max:           1360px;
  --gpn-max-article:   1180px;
  --gpn-gap:           20px;
}

/* -------------------------------------------------- 土台 */
body.gpn-theme {
  background: var(--gpn-bg);
  color: var(--gpn-text);
}
body.gpn-theme #wrapper,
body.gpn-theme #scroll-content,
body.gpn-theme #contents { background: transparent; }

body.gpn-theme a { color: var(--gpn-cyan); }
body.gpn-theme a:hover { color: #7ceeff; }

/* 横スクロール防止 */
html, body.gpn-theme { overflow-x: hidden; max-width: 100%; }
body.gpn-theme img { max-width: 100%; height: auto; }

.gpn-inner {
  width: 100%;
  max-width: var(--gpn-max);
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* -------------------------------------------------- ヘッダー
   背景は外側の #header-box（全幅）だけに持たせる。
   内側の #header はナビの中身をmax-widthで中央寄せするための箱で、
   ここにも同じ半透明背景を重ねると「二重に重なった分だけ暗く」なり、
   中央のナビ部分だけ左右の余白より色が濃く見える（実際に踏んだ不具合）。 */
body.gpn-theme #header-box {
  background: linear-gradient(180deg, #07101f 0%, #0b1425 100%) !important;
  background-image: none;
  border-bottom: 1px solid var(--gpn-border);
  box-shadow: none;
}
body.gpn-theme #header,
body.gpn-theme #header.header-type1 {
  background: transparent !important;
  /* JINのカスタマイザ生成インラインCSSが #header に width:1200px; margin:0 auto を
     直接指定しているため、max-width だけでは負ける。width と margin も明示する。 */
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box;
}

body.gpn-theme #site-info a,
body.gpn-theme #site-info span,
body.gpn-theme .tn-logo-size a {
  color: var(--gpn-text) !important;
  text-shadow: none;
  font-weight: 700;
  letter-spacing: .02em;
}

body.gpn-theme #drawernav3,
body.gpn-theme #drawernav1,
body.gpn-theme #drawernav2,
body.gpn-theme #headmenu,
body.gpn-theme #nav-container {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none;
}
body.gpn-theme #drawernav3 .menu-box > li > a,
body.gpn-theme .fixed-content .menu-box > li > a {
  color: var(--gpn-muted) !important;
  font-weight: 600;
  position: relative;
  transition: color .18s ease;
}
body.gpn-theme #drawernav3 .menu-box > li > a:hover {
  color: var(--gpn-text) !important;
}
/* 現在位置は細いシアン（金）のライン。
   グローバルナビの5項目はすべて同じページ内アンカー（#pickup等）を指しているため、
   WordPressのメニューウォーカーが**5項目全部**に current-menu-item を付けてしまう
   （URLのフラグメント違いを区別しない仕様）。実際に現在地扱いすべきは常に先頭の
   「ホーム」だけなので、`:first-child` を条件に加えて絞り込む。 */
body.gpn-theme #drawernav3 .menu-box > li:not(:first-child).current-menu-item > a,
body.gpn-theme #drawernav3 .menu-box > li:not(:first-child).current_page_item > a {
  color: var(--gpn-muted) !important;
}
body.gpn-theme #drawernav3 .menu-box > li:first-child.current-menu-item > a,
body.gpn-theme #drawernav3 .menu-box > li:first-child.current_page_item > a,
body.gpn-theme #drawernav3 .menu-box > li:first-child > a {
  color: var(--gpn-cyan) !important;
}
body.gpn-theme #drawernav3 .menu-box > li:first-child > a::after {
  content: "";
  position: absolute;
  left: 12%; right: 12%; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--gpn-cyan);
}

/* ヘッダー内の検索フォーム */
.gpn-nav-search { display: flex; align-items: center; }
.gpn-search {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--gpn-border);
  border-radius: 999px;
  padding: 4px 6px 4px 14px;
}
.gpn-search input[type="search"] {
  background: transparent;
  border: 0;
  outline: none;
  /* ヘッダーは紺のまま（ライトテーマでも反転していない）なので、
     ライトテーマの --gpn-text（濃紺）をそのまま使うと暗背景に暗文字で読めなくなる。
     入力文字は明るい色に固定する。 */
  color: #f2f5f9;
  font-size: 13px;
  width: 150px;
  padding: 4px 0;
}
.gpn-search input[type="search"]::placeholder { color: #8a9ab0; }
.gpn-search button {
  background: transparent;
  border: 0;
  cursor: pointer;
  color: #b9c4d2;
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0;
}
.gpn-search button svg { width: 16px; height: 16px; }
.gpn-search:focus-within { border-color: var(--gpn-cyan); }

/* ヘッダー右端の「お問い合わせ」。参考デザインの「お気に入り／ログイン」の位置に置く */
.gpn-nav-contact { display: flex; align-items: center; margin-left: 18px; }
.gpn-nav-contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #dbe4ee !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.gpn-nav-contact a:hover { color: var(--gpn-cyan) !important; }
.gpn-nav-contact svg { width: 18px; height: 18px; flex: none; }

@media screen and (max-width: 768px) { .gpn-nav-contact { display: none; } }

/* トップではJINのヘッダー画像とピックアップスライダーを出さない（Heroに置き換えるため） */
body.gpn-front #main-image,
body.gpn-front .pickup-contents-box-post-type,
body.gpn-front .pickup-contents-box-menu-type { display: none !important; }

/* スマホのハンバーガー */
body.gpn-theme .sp-menu-open .cps-icon-bar { background: var(--gpn-text); }
body.gpn-theme .sp-menu-box { background: #07101f; }
body.gpn-theme .sp-menu-box .menu-box > li > a { color: var(--gpn-text); border-color: var(--gpn-border); }

/* ==========================================================================
   HERO
   ========================================================================== */
.gpn-hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 40px;
  background:
    radial-gradient(circle at 75% 35%, rgba(139,92,246,.12), transparent 38%),
    radial-gradient(circle at 28% 24%, rgba(227, 192, 74,.09), transparent 42%),
    linear-gradient(180deg, #0a1526 0%, #070e1c 60%, var(--gpn-bg) 100%);
}
.gpn-hero__bg {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(38% 42% at 18% 22%, rgba(227, 192, 74,.16) 0%, rgba(227, 192, 74,0) 70%),
    radial-gradient(34% 40% at 78% 62%, rgba(139,92,246,.20) 0%, rgba(139,92,246,0) 70%);
}
.gpn-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
  gap: 32px;
  align-items: end;
}
.gpn-hero__lead {
  padding-top: 14px;
  font-size: clamp(30px, 4vw, 68px);
  line-height: 1.3;
  font-weight: 800;
  margin: 0 0 18px;
  letter-spacing: .01em;
  color: #fff;
}
.gpn-hero__desc {
  color: var(--gpn-muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.85;
  margin: 0 0 22px;
  max-width: 34em;
}
.gpn-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }

.gpn-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.gpn-btn svg { width: 17px; height: 17px; }
.gpn-btn--primary {
  background: linear-gradient(92deg, var(--gpn-cyan-dim) 0%, var(--gpn-violet) 100%);
  color: #04101c !important;
  box-shadow: 0 6px 18px rgba(227, 192, 74,.16);
}
.gpn-btn--primary:hover { transform: translateY(-1px); color: #04101c !important; }
.gpn-btn--ghost {
  background: rgba(255,255,255,.04);
  border-color: var(--gpn-border);
  color: var(--gpn-text) !important;
}
.gpn-btn--ghost:hover { border-color: var(--gpn-cyan); color: #fff !important; }

.gpn-hero__tagslabel { display: block; color: var(--gpn-muted); font-size: 12px; margin-bottom: 9px; }
.gpn-hero__tags ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.gpn-hero__tags a {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--gpn-border);
  background: rgba(255,255,255,.03);
  color: var(--gpn-muted) !important;
  font-size: 12px;
  text-decoration: none;
}
.gpn-hero__tags a:hover { border-color: var(--gpn-cyan); color: var(--gpn-cyan) !important; }

.gpn-hero__visual { position: relative; min-height: 300px; display: flex; justify-content: center; }
.gpn-hero__char { display: block; max-height: 440px; width: auto; margin-left: auto; }
.gpn-hero__char--placeholder {
  width: 100%;
  max-width: 340px;
  min-height: 300px;
  border: 1px dashed var(--gpn-border);
  border-radius: var(--gpn-radius);
  background: linear-gradient(160deg, rgba(227, 192, 74,.06), rgba(139,92,246,.08));
  display: flex; align-items: center; justify-content: center;
  color: var(--gpn-muted); font-size: 12px; text-align: center; line-height: 1.9;
}
.gpn-hero__balloon {
  position: absolute;
  top: 6px; right: 0;
  max-width: 200px;
  background: rgba(11,20,36,.92);
  border: 1px solid var(--gpn-border);
  border-radius: var(--gpn-radius-sm);
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--gpn-text);
  z-index: 2;
}
.gpn-hero__balloonby { display: block; margin-top: 6px; color: var(--gpn-muted); font-size: 11px; }

/* ==========================================================================
   セクション共通
   ========================================================================== */
.gpn-section { padding: 44px 0; }
.gpn-section__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 28px;
}
.gpn-section__title {
  position: relative;
  margin: 0;
  padding-left: 14px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .02em;
  background: none;
  border: 0;
}
.gpn-section__title::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 20px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gpn-cyan), var(--gpn-violet));
}
.gpn-empty { color: var(--gpn-muted); font-size: 14px; }
.gpn-tag {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(227, 192, 74,.12);
  border: 1px solid rgba(227, 192, 74,.28);
  color: var(--gpn-cyan);
  font-size: 11px;
  line-height: 1.7;
  white-space: nowrap;
}
.gpn-thumb-empty {
  display: block; width: 100%; height: 100%;
  background: linear-gradient(140deg, #12203a, #0b1424);
}

/* -------------------------------------------------- ジャンルカード */
.gpn-genres {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--gpn-gap);
}
.gpn-genre a {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px;
  padding: 22px 12px 18px;
  height: 100%;
  box-sizing: border-box;
  border: 1px solid var(--gpn-border);
  border-radius: var(--gpn-radius);
  background: linear-gradient(170deg, var(--gpn-card-2) 0%, var(--gpn-card) 100%);
  text-decoration: none;
  text-align: center;
  transition: border-color .18s ease, transform .18s ease;
}
.gpn-genre a:hover { border-color: var(--gpn-cyan); transform: translateY(-2px); }
.gpn-genre__icon { width: 40px; height: 40px; color: var(--gpn-cyan); }
.gpn-genre--action .gpn-genre__icon,
.gpn-genre--strategy .gpn-genre__icon { color: var(--gpn-violet); }
.gpn-genre__name { font-size: 16px; font-weight: 800; color: #fff; }
.gpn-genre__desc { font-size: 11px; color: var(--gpn-muted); line-height: 1.7; }
.gpn-genre__count { font-size: 11px; color: #64788f; }

/* -------------------------------------------------- 記事カード */
.gpn-cards {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--gpn-gap);
}
.gpn-card a {
  display: flex; flex-direction: column;
  height: 100%;
  border: 1px solid var(--gpn-border);
  border-radius: var(--gpn-radius);
  background: var(--gpn-card);
  overflow: hidden;
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease;
}
.gpn-card a:hover { border-color: var(--gpn-cyan); transform: translateY(-2px); }
.gpn-card__thumb { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0b1424; }
.gpn-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gpn-card__rank {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 7px;
  background: linear-gradient(140deg, var(--gpn-cyan-dim), var(--gpn-violet));
  color: #04101c; font-size: 12px; font-weight: 800;
}
.gpn-card__body { display: flex; flex-direction: column; gap: 7px; padding: 12px 13px 14px; }
.gpn-card__title {
  font-size: 13.5px; font-weight: 700; line-height: 1.55; color: var(--gpn-text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.gpn-card__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: #64788f; font-size: 11px; }
.gpn-card__desc {
  font-size: 11.5px; color: var(--gpn-muted); line-height: 1.75;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* -------------------------------------------------- 2カラム（新着レビュー／ランキング） */
.gpn-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.gpn-split__col { min-width: 0; }

.gpn-list, .gpn-rank { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.gpn-list__item a, .gpn-rank__item a {
  display: flex; gap: 13px; align-items: center;
  padding: 11px;
  border: 1px solid var(--gpn-border);
  border-radius: var(--gpn-radius-sm);
  background: var(--gpn-card);
  text-decoration: none;
  transition: border-color .18s ease;
}
.gpn-list__item a:hover, .gpn-rank__item a:hover { border-color: var(--gpn-cyan); }
.gpn-list__thumb {
  flex: 0 0 108px; width: 108px; aspect-ratio: 16 / 10;
  border-radius: 8px; overflow: hidden; background: #0b1424;
}
.gpn-list__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gpn-list__body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.gpn-list__title {
  font-size: 13.5px; font-weight: 700; color: var(--gpn-text); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.gpn-list__desc {
  font-size: 11.5px; color: var(--gpn-muted); line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.gpn-rank__no {
  flex: 0 0 26px; width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--gpn-border);
  color: var(--gpn-muted); font-size: 12px; font-weight: 800;
}
.gpn-rank__no--1 { background: linear-gradient(140deg, #d4af37, #f0d98a); color: #2a1f00; border-color: transparent; }
.gpn-rank__no--2 { background: linear-gradient(140deg, #9fb4c9, #dfe8f0); color: #22303d; border-color: transparent; }
.gpn-rank__no--3 { background: linear-gradient(140deg, #b3763f, #dda877); color: #2c1a08; border-color: transparent; }
.gpn-rank__thumb { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 8px; overflow: hidden; background: #0b1424; }
.gpn-rank__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gpn-rank__body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.gpn-rank__title {
  font-size: 13px; font-weight: 700; color: var(--gpn-text); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ==========================================================================
   トップ以外（記事・カテゴリ・固定ページ）のダーク化
   ========================================================================== */
body.gpn-theme .post-list-mag,
body.gpn-theme .main-contents,
body.gpn-theme #main-contents,
body.gpn-theme #main-contents-one,
body.gpn-theme article,
body.gpn-theme .cps-post-box,
body.gpn-theme .post-list-item { background: transparent; }

body.gpn-theme .post-list-mag-inner,
body.gpn-theme .post-list-inner,
body.gpn-theme #sidebar .widget,
body.gpn-theme .widget_categories,
body.gpn-theme .cps-post-main,
body.gpn-theme #breadcrumb {
  background: var(--gpn-card);
  border: 1px solid var(--gpn-border);
  border-radius: var(--gpn-radius);
  color: var(--gpn-text);
}

body.gpn-theme h1, body.gpn-theme h2, body.gpn-theme h3,
body.gpn-theme h4, body.gpn-theme h5 { color: var(--gpn-text); }
body.gpn-theme p, body.gpn-theme li, body.gpn-theme td, body.gpn-theme dd { color: #dbe4ee; }

body.gpn-theme table th { background: var(--gpn-card-2); color: var(--gpn-text); border-color: var(--gpn-border); }
body.gpn-theme table td { background: var(--gpn-card); border-color: var(--gpn-border); }

body.gpn-theme #footer,
body.gpn-theme #footer-box,
body.gpn-theme .footer-box {
  background: #050a14;
  border-top: 1px solid var(--gpn-border);
  color: var(--gpn-muted);
}
body.gpn-theme #footer a, body.gpn-theme .footer-box a { color: var(--gpn-muted); }
body.gpn-theme #footer a:hover { color: var(--gpn-cyan); }

/* アプリーチはライト配色の枠なので、暗背景でも読めるよう最低限だけ整える */
body.gpn-theme .appreach { color: #24313f; }
body.gpn-theme .appreach .appreach__name { color: #16202b; }

/* ==========================================================================
   レスポンシブ
   ========================================================================== */
@media screen and (max-width: 1199px) {
  .gpn-genres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gpn-cards  { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media screen and (max-width: 1024px) {
  .gpn-hero__inner { grid-template-columns: 1fr; }
  /* 縦積みでは吹き出しと画像が横並びにならないよう列方向にする */
  .gpn-hero__visual { order: -1; min-height: 0; flex-direction: column; align-items: center; gap: 12px; }
  .gpn-hero__char { max-height: 300px; margin: 0 auto; }
  .gpn-hero__balloon { position: static; max-width: 460px; margin: 0 auto; text-align: center; }
  .gpn-hero__balloonby { text-align: center; }
  .gpn-search input[type="search"] { width: 120px; }
}

@media screen and (max-width: 768px) {
  .gpn-hero { padding: 36px 0 34px; }
  .gpn-section { padding: 32px 0; }
  .gpn-genres { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .gpn-cards  { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .gpn-split  { grid-template-columns: 1fr; gap: 26px; }
  .gpn-genre a { padding: 16px 8px 14px; }
  .gpn-genre__icon { width: 32px; height: 32px; }
  .gpn-genre__name { font-size: 14px; }
  .gpn-nav-search { display: none; }
  /* 画像未設定のプレースホルダーが縦を占有しすぎないようにする */
  .gpn-hero__char--placeholder { min-height: 140px; max-width: 260px; }
  .gpn-hero__char { max-height: 220px; }
}

@media screen and (max-width: 480px) {
  .gpn-inner { padding: 0 14px; }
  .gpn-genres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gpn-cards  { grid-template-columns: 1fr; }
  .gpn-hero__lead { font-size: 26px; }
  .gpn-hero__cta .gpn-btn { flex: 1 1 100%; justify-content: center; }
  .gpn-list__thumb { flex-basis: 92px; width: 92px; }
}

/* 動きを減らす設定を尊重する */
@media (prefers-reduced-motion: reduce) {
  .gpn-btn, .gpn-card a, .gpn-genre a, .gpn-list__item a, .gpn-rank__item a { transition: none; }
  .gpn-card a:hover, .gpn-genre a:hover, .gpn-btn--primary:hover { transform: none; }
}

/* -------------------------------------------------- フッターの補助リンク */
.gpn-footlinks {
  background: #050a14;
  border-top: 1px solid var(--gpn-border);
  padding: 14px 20px 22px;
}
.gpn-footlinks ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: var(--gpn-max);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  justify-content: center;
}
.gpn-footlinks a {
  color: var(--gpn-muted) !important;
  font-size: 12px;
  text-decoration: none;
}
.gpn-footlinks a:hover { color: var(--gpn-cyan) !important; }

/* -------------------------------------------------- カテゴリラベル
   JIN はカテゴリごとの色をインラインで当てるため、シアン系へ寄せる。
   （黄色・オレンジはアクセントに使わない方針）
   注意: `.cps-post-cat` は記事タイトル上のバッジを**包む横幅いっぱいのspan**で、
   見えているピル型バッジはその中の `<a>` の方。span自体に背景・枠線を付けると、
   ピルの後ろに横長の四角い枠が浮いて見える不具合になる（2026-08-19に発生。
   移植元の game-choices でも同じ不具合があった）。
   span（コンテナ）には付けず、中の `<a>`（実際のバッジ）だけを対象にする。 */
body.gpn-theme .cat-name,
body.gpn-theme .post-cat {
  background-color: rgba(227, 192, 74,.14) !important;
  border: 1px solid rgba(227, 192, 74,.32);
  color: var(--gpn-cyan) !important;
  text-shadow: none;
  box-shadow: none;
}
body.gpn-theme .cps-post-cat a,
body.gpn-theme .cat-name a {
  background-color: rgba(227, 192, 74,.16) !important;
  border: 1px solid rgba(227, 192, 74,.34);
  color: var(--gpn-cyan) !important;
  text-shadow: none;
  box-shadow: none;
}

/* パンくず・日付・メタ情報 */
body.gpn-theme #breadcrumb, body.gpn-theme #breadcrumb a,
body.gpn-theme .post-date, body.gpn-theme .cps-post-date,
body.gpn-theme .post-meta { color: var(--gpn-muted); }

/* 記事本文の枠 */
body.gpn-theme .cps-post-main, body.gpn-theme .post-content-box,
body.gpn-theme article.post { background: var(--gpn-card); }

/* サイドバー見出し */
body.gpn-theme #sidebar .widgettitle,
body.gpn-theme #sidebar .widget-title,
body.gpn-theme .widget h4 { color: var(--gpn-text); border-color: var(--gpn-border); }

/* 入力欄 */
body.gpn-theme input[type="text"], body.gpn-theme input[type="search"],
body.gpn-theme input[type="email"], body.gpn-theme textarea, body.gpn-theme select {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--gpn-border);
  color: var(--gpn-text);
}
body.gpn-theme input::placeholder, body.gpn-theme textarea::placeholder { color: #6f8098; }

/* ページネーション */
body.gpn-theme .pagination a, body.gpn-theme .pagination span,
body.gpn-theme .page-numbers {
  background: var(--gpn-card);
  border: 1px solid var(--gpn-border);
  color: var(--gpn-text);
}
body.gpn-theme .page-numbers.current,
body.gpn-theme .pagination .current {
  background: linear-gradient(92deg, var(--gpn-cyan-dim), var(--gpn-violet));
  color: #04101c;
  border-color: transparent;
}

/* -------------------------------------------------- 記事一覧（JIN post-list） */
body.gpn-theme .post-list-item { background: transparent; }
body.gpn-theme .post-list-inner {
  background: var(--gpn-card);
  border: 1px solid var(--gpn-border);
  border-radius: var(--gpn-radius);
  overflow: hidden;
  transition: border-color .18s ease;
}
body.gpn-theme .post-list-link:hover .post-list-inner { border-color: var(--gpn-cyan); }

body.gpn-theme .post-list-title,
body.gpn-theme .post-list-title.entry-title {
  color: var(--gpn-text);
}
body.gpn-theme .post-list-date,
body.gpn-theme .post-list-date.date,
body.gpn-theme .writer,
body.gpn-theme .post-list-publisher,
body.gpn-theme .post-list-meta time { color: var(--gpn-muted); }

/* カテゴリバッジ（JINはカテゴリ色を当てるので上書きする）
   `.cps-post-cat` はここでも同じ理由でコンテナのspanには付けず `a` だけにする */
body.gpn-theme .post-list-cat,
body.gpn-theme .pickup-cat,
body.gpn-theme [class*="post-list-cat"],
body.gpn-theme .cps-post-cat a {
  background-color: rgba(227, 192, 74,.16) !important;
  border: 1px solid rgba(227, 192, 74,.34);
  color: var(--gpn-cyan) !important;
  text-shadow: none;
  box-shadow: none;
}

/* 記事下の関連記事・次の記事 */
body.gpn-theme .related-post-box,
body.gpn-theme .related-entry-list,
body.gpn-theme .prev-next-box,
body.gpn-theme .cps-post-box,
body.gpn-theme .sns-btn-box { background: transparent; }
body.gpn-theme .related-entry-list li,
body.gpn-theme .prev-next-box a {
  background: var(--gpn-card);
  border: 1px solid var(--gpn-border);
  border-radius: var(--gpn-radius-sm);
  color: var(--gpn-text);
}

/* 目次（Table of Contents Plus） */
body.gpn-theme #toc_container {
  background: var(--gpn-card) !important;
  border: 1px solid var(--gpn-border) !important;
  color: var(--gpn-text);
}
body.gpn-theme #toc_container a { color: var(--gpn-cyan); }
body.gpn-theme #toc_container .toc_title { color: var(--gpn-text); }

/* 見出しデザイン（JINの薄い背景色は暗背景で浮くため整える） */
body.gpn-theme .cps-post-main h2 {
  background: linear-gradient(92deg, rgba(227, 192, 74,.14), rgba(139,92,246,.12));
  border-left: 4px solid var(--gpn-cyan);
  color: var(--gpn-text);
}
body.gpn-theme .cps-post-main h3 {
  border-bottom: 1px solid var(--gpn-border);
  color: var(--gpn-text);
}

/* 引用・コード */
body.gpn-theme blockquote { background: var(--gpn-card-2); border-left: 3px solid var(--gpn-cyan); color: #dbe4ee; }
body.gpn-theme pre, body.gpn-theme code { background: #0a1120; color: #d6e2f0; border: 1px solid var(--gpn-border); }

/* -------------------------------------------------- 一覧カードの詰め
   JIN はカスタマイザ生成CSSとメディアクエリ内で色を指定しており、
   通常の詳細度では勝てないため、文字色と白背景だけ明示的に上書きする。 */
body.gpn-theme a.post-list-link { background: transparent; }
body.gpn-theme .post-list-title,
body.gpn-theme .post-list-title.entry-title,
body.gpn-theme .post-list-link .post-list-title { color: var(--gpn-text) !important; }
body.gpn-theme .post-list-date,
body.gpn-theme .post-list-date.date,
body.gpn-theme .post-list-meta .writer,
body.gpn-theme .post-list-publisher { color: var(--gpn-muted) !important; }
body.gpn-theme .post-list-link:hover .post-list-title { color: var(--gpn-cyan) !important; }

/* サイドバーの最新記事・関連記事のタイトル */
body.gpn-theme #sidebar a,
body.gpn-theme .widget a,
body.gpn-theme .related-entry-list a { color: var(--gpn-text); }
body.gpn-theme #sidebar a:hover, body.gpn-theme .widget a:hover { color: var(--gpn-cyan); }

/* -------------------------------------------------- ボタン類 */
body.gpn-theme input[type="submit"],
body.gpn-theme button[type="submit"]:not(.gpn-search button),
body.gpn-theme .wpcf7-submit {
  background: linear-gradient(92deg, var(--gpn-cyan-dim) 0%, var(--gpn-violet) 100%);
  color: #04101c;
  border: 0;
  border-radius: 999px;
  padding: 12px 34px;
  font-weight: 700;
  cursor: pointer;
}
body.gpn-theme input[type="submit"]:hover,
body.gpn-theme .wpcf7-submit:hover { opacity: .9; }

/* フォームの枠 */
body.gpn-theme .wpcf7 { background: var(--gpn-card-2); border: 1px solid var(--gpn-border); border-radius: var(--gpn-radius); }
body.gpn-theme .wpcf7-response-output { color: var(--gpn-text); border-color: var(--gpn-border) !important; }

/* ページ上部へ戻るボタン */
body.gpn-theme #page-top a, body.gpn-theme .pagetop a {
  background: var(--gpn-card);
  border: 1px solid var(--gpn-border);
  color: var(--gpn-cyan);
}

/* -------------------------------------------------- フッター本体
   JIN の <footer> はカスタマイザのメインカラーが入るため、暗色へ寄せる */
body.gpn-theme footer,
body.gpn-theme footer .footer-inner {
  background: #050a14 !important;
  color: var(--gpn-muted);
}
body.gpn-theme footer a { color: var(--gpn-muted) !important; }
body.gpn-theme footer a:hover { color: var(--gpn-cyan) !important; }

/* フッター上部の「HOME」バーとトップへ戻る */
body.gpn-theme #footer-menu,
body.gpn-theme .footer-menu,
body.gpn-theme #footer-top,
body.gpn-theme .home-btn-box {
  background: #070e1c;
  border-top: 1px solid var(--gpn-border);
}

/* ==========================================================================
   2026-08-17 デザイン調整
   ・Heroの完成（画像未設定でも成立させる）
   ・カードの洗練
   ・大画面の余白改善
   ・カテゴリページのブランド統一
   ここより下の指定が最終。上の同名ルールを意図的に上書きしている。
   ========================================================================== */

/* -------------------------------------------------- 幅
   トップとアーカイブだけ広げ、記事本文の読み幅は広げない */
body.gpn-front .gpn-inner,
body.gpn-archive .gpn-inner { max-width: var(--gpn-max); }
/* JIN の #contents は width:1200px 固定。トップとアーカイブだけ広げる。
   記事ページ（single）と固定ページは読み幅を変えたくないので触らない。 */
body.gpn-front #contents,
body.gpn-archive #contents {
  width: 100%;
  max-width: var(--gpn-max);
  margin-left: auto;
  margin-right: auto;
}
/* アーカイブは2カラムのまま、本文側だけ広げる。
   JIN は main と sidebar が float で、それぞれ margin-left:30px を持つ。
   30 + main + 30 + 350(sidebar) が #contents に収まらないとサイドバーが下へ落ちるので、
   420px（=30+30+350+余裕10）を引いた幅にする。 */
@media screen and (min-width: 1200px) {
  body.gpn-archive #main-contents { width: calc(100% - 420px); }
  body.gpn-archive #main-contents-one { width: calc(100% - 60px); }
}

/* -------------------------------------------------- Hero */
.gpn-hero { padding-bottom: 0; }
/* Heroの直後のセクションだけ上の余白を詰める */
.gpn-hero + .gpn-section { padding-top: 34px; }
.gpn-hero__inner { padding-bottom: 0; }
.gpn-hero__body { padding-bottom: 40px; }

.gpn-hero__visual {
  position: relative;
  align-self: end;
  justify-content: flex-end;
  min-height: 0;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
/* 画像は下端から立ち上がるように置く。1000〜1500pxの透過PNGでも破綻しない */
.gpn-hero__char {
  display: block;
  width: 100%;
  max-width: 430px;
  max-height: 400px;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  margin: 0 0 0 auto;
}
/* 画像未設定のときは説明文を出さず、控えめな装飾だけで場所を保つ */
.gpn-hero__char--empty {
  display: block;
  width: 100%;
  max-width: 400px;
  height: 300px;
  margin-left: auto;
  border-radius: 200px 200px 20px 20px;
  border: 1px solid rgba(80,130,180,.18);
  background:
    radial-gradient(58% 52% at 50% 74%, rgba(139,92,246,.24), transparent 72%),
    radial-gradient(50% 44% at 50% 36%, rgba(227, 192, 74,.16), transparent 74%),
    repeating-linear-gradient(90deg, rgba(120,170,220,.05) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(0deg, rgba(120,170,220,.05) 0 1px, transparent 1px 34px);
}
.gpn-hero__balloon {
  position: static;
  max-width: 260px;
  margin: 0 0 0 auto;
  background: rgba(11,20,36,.9);
  border: 1px solid var(--gpn-border);
  border-radius: 14px;
  font-size: 12.5px;
  line-height: 1.85;
}
.gpn-hero__visual--empty .gpn-hero__balloon { margin-bottom: 4px; }

/* -------------------------------------------------- セクション見出し */
.gpn-section__note { font-size: 11.5px; color: var(--gpn-muted); }
.gpn-section__title { font-weight: 800; font-size: 21px; }

/* -------------------------------------------------- カード共通の質感 */
.gpn-card a,
.gpn-genre a,
.gpn-list__item a,
.gpn-rank__item a {
  background: rgba(14,25,43,.85);
  border: 1px solid var(--gpn-border);
  border-radius: 14px;
  box-shadow: none;
}
.gpn-card a:hover,
.gpn-genre a:hover,
.gpn-list__item a:hover,
.gpn-rank__item a:hover {
  border-color: rgba(227, 192, 74,.55);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transform: translateY(-3px);
}
.gpn-list__item a:hover, .gpn-rank__item a:hover { transform: translateY(-2px); }

/* -------------------------------------------------- ジャンルカード（薄く色分け） */
.gpn-genres { gap: 18px; }
.gpn-genre a { padding: 26px 14px 20px; gap: 10px; }
.gpn-genre__icon { width: 42px; height: 42px; }
.gpn-genre__name { font-size: 16.5px; font-weight: 800; }
.gpn-genre__desc { font-size: 11.5px; }

.gpn-genre--rpg a        { background: linear-gradient(180deg, rgba(227, 192, 74,.09), rgba(14,25,43,.92) 62%); }
.gpn-genre--action a     { background: linear-gradient(180deg, rgba(192,80,220,.10), rgba(14,25,43,.92) 62%); }
.gpn-genre--simulation a { background: linear-gradient(180deg, rgba(227, 192, 74,.09), rgba(14,25,43,.92) 62%); }
.gpn-genre--strategy a   { background: linear-gradient(180deg, rgba(139,92,246,.10), rgba(14,25,43,.92) 62%); }
.gpn-genre--puzzle a     { background: linear-gradient(180deg, rgba(227, 192, 74,.09), rgba(14,25,43,.92) 62%); }
.gpn-genre--mmorpg a     { background: linear-gradient(180deg, rgba(96,140,255,.10), rgba(14,25,43,.92) 62%); }

.gpn-genre--rpg .gpn-genre__icon        { color: #e8cc6a; }
.gpn-genre--action .gpn-genre__icon     { color: #e0a84a; }
.gpn-genre--simulation .gpn-genre__icon { color: #c8b46a; }
.gpn-genre--strategy .gpn-genre__icon   { color: #d8b65a; }
.gpn-genre--puzzle .gpn-genre__icon     { color: #d9c07a; }
.gpn-genre--mmorpg .gpn-genre__icon     { color: #cfae52; }

/* -------------------------------------------------- 今週のおすすめ
   PCは4枚。5枚目以降は横スクロールで見せる（ライブラリは足さない） */
.gpn-cards {
  grid-template-columns: none;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * var(--gpn-gap)) / 4);
  gap: var(--gpn-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(227, 192, 74,.35) transparent;
}
.gpn-cards::-webkit-scrollbar { height: 8px; }
.gpn-cards::-webkit-scrollbar-thumb { background: rgba(227, 192, 74,.28); border-radius: 999px; }
.gpn-cards::-webkit-scrollbar-track { background: transparent; }
.gpn-card { scroll-snap-align: start; }
.gpn-card__thumb { aspect-ratio: 16 / 9; }
.gpn-card__body { padding: 14px 15px 16px; gap: 8px; }
.gpn-card__title {
  font-size: 14.5px; font-weight: 700; line-height: 1.6;
  -webkit-line-clamp: 3;
}
.gpn-card__desc { font-size: 12px; -webkit-line-clamp: 2; }
.gpn-card__rank { width: 26px; height: 26px; font-size: 12.5px; }

/* -------------------------------------------------- 新着レビュー／ランキング */
.gpn-split { grid-template-columns: minmax(0, 51fr) minmax(0, 49fr); gap: 28px; }
.gpn-list, .gpn-rank { gap: 12px; }
.gpn-list__item a { padding: 13px; gap: 15px; }
.gpn-list__thumb { flex-basis: 132px; width: 132px; aspect-ratio: 16 / 9; }
.gpn-list__title { font-size: 14px; font-weight: 700; line-height: 1.6; }
.gpn-list__desc { font-size: 12px; color: var(--gpn-muted); }
.gpn-rank__item a { padding: 12px 13px; }
.gpn-rank__thumb { flex-basis: 62px; width: 62px; height: 62px; }
.gpn-rank__title { font-size: 13.5px; line-height: 1.55; }
/* 4位以降はネイビー／シアン系 */
.gpn-rank__no { background: rgba(227, 192, 74,.10); border-color: rgba(227, 192, 74,.28); color: var(--gpn-cyan); }
.gpn-rank__no--1 { background: linear-gradient(140deg, #d4af37, #f0d98a); color: #2a1f00; border-color: transparent; }
.gpn-rank__no--2 { background: linear-gradient(140deg, #9fb4c9, #dfe8f0); color: #22303d; border-color: transparent; }
.gpn-rank__no--3 { background: linear-gradient(140deg, #b3763f, #dda877); color: #2c1a08; border-color: transparent; }

/* -------------------------------------------------- カテゴリページの見出し */
.gpn-archive-head {
  margin: 0 0 30px;
  padding: 26px 26px 24px;
  border: 1px solid var(--gpn-border);
  border-radius: 16px;
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(227, 192, 74,.09), transparent 60%),
    rgba(14,25,43,.85);
}
.gpn-archive-head__body { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.gpn-archive-title {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  color: #fff;
  letter-spacing: .02em;
  background: none;
  border: 0;
  padding: 0;
}
.gpn-archive-count { margin: 0; font-size: 12px; color: var(--gpn-muted); }
.gpn-archive-intro {
  margin: 12px 0 0;
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--gpn-muted);
  max-width: 62em;
}
/* 親テーマ側の「― CATEGORY ―」見出しが出る経路（タグ・月別）でも英字ラベルを隠す */
body.gpn-theme .archive-title-sub { display: none; }
body.gpn-theme .archive-post-header { text-align: left; border: 0; }
body.gpn-theme .archive-title {
  color: var(--gpn-text);
  font-weight: 800;
  text-align: left;
}

/* -------------------------------------------------- アーカイブの記事カード */
body.gpn-archive .post-list-thumb,
body.gpn-archive .post-list-thumb img {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
}
body.gpn-archive .post-list-inner { border-radius: 14px; }
body.gpn-theme .post-list-title { font-weight: 700; line-height: 1.6; }
body.gpn-theme .post-list-date { font-size: 12px; }

/* -------------------------------------------------- サイドバー */
body.gpn-theme #sidebar .widget,
body.gpn-theme #sidebar section {
  background: rgba(14,25,43,.85);
  border: 1px solid var(--gpn-border);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: none;
}
body.gpn-theme #sidebar .widgettitle,
body.gpn-theme #sidebar .widget h4,
body.gpn-theme #sidebar .widget-title {
  position: relative;
  margin: 0 0 16px;
  padding: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--gpn-text);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--gpn-border);
  text-align: left;
}
body.gpn-theme #sidebar .widgettitle::after,
body.gpn-theme #sidebar .widget h4::after,
body.gpn-theme #sidebar .widget-title::after {
  content: "";
  position: absolute; left: 0; bottom: -1px;
  width: 58px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gpn-cyan), var(--gpn-violet));
}


/* -------------------------------------------------- ヘッダーの検索フォーム
   ナビの高さに合わせ、押せる範囲をはっきりさせる */
.gpn-search { height: 38px; padding: 0 4px 0 14px; box-sizing: border-box; }
.gpn-search input[type="search"] { height: 100%; }
.gpn-search button,
body.gpn-theme .gpn-search button {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  min-width: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(227, 192, 74,.16);
  color: var(--gpn-cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
body.gpn-theme .gpn-search button:hover { background: rgba(227, 192, 74,.3); }
.gpn-search button svg { width: 15px; height: 15px; }

/* -------------------------------------------------- タイポグラフィ */
body.gpn-theme h1, body.gpn-theme h2, body.gpn-theme h3 { font-weight: 700; }
body.gpn-theme .gpn-section__title, body.gpn-theme .gpn-hero__lead,
body.gpn-theme .gpn-archive-title { font-weight: 800; }
body.gpn-theme p, body.gpn-theme li { font-weight: 400; }

/* ==========================================================================
   レスポンシブ（調整分）
   ========================================================================== */
@media screen and (max-width: 1199px) {
  .gpn-cards { grid-auto-columns: calc((100% - 2 * var(--gpn-gap)) / 3); }
  .gpn-genres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media screen and (max-width: 1024px) {
  .gpn-hero { padding: 34px 0 0; }
  .gpn-hero__body { padding-bottom: 30px; }
  .gpn-hero__inner { grid-template-columns: 1fr; align-items: stretch; }
  /* 縦積みでは テキスト → CTA → ジャンルタグ → キャラクター の順に見せる */
  .gpn-hero__visual { order: 1; align-items: center; justify-content: center; margin-top: 4px; }
  .gpn-hero__body { padding-bottom: 12px; }
  .gpn-hero__char { max-width: 300px; max-height: 260px; margin: 0 auto; }
  .gpn-hero__char--empty { max-width: 260px; height: 150px; margin: 0 auto; }
  .gpn-hero__balloon { margin: 0 auto; max-width: 420px; text-align: center; }
  .gpn-split { grid-template-columns: 1fr; }
}

@media screen and (max-width: 900px) {
  .gpn-split { grid-template-columns: 1fr; gap: 34px; }
}

@media screen and (max-width: 768px) {
  .gpn-section { padding: 34px 0; }
  .gpn-section__head { margin-bottom: 20px; }
  .gpn-cards { grid-auto-columns: 78%; }
  .gpn-genres { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .gpn-archive-head { padding: 20px; margin-bottom: 22px; }
  body.gpn-theme #sidebar .widget { padding: 18px; }
}

@media screen and (max-width: 480px) {
  .gpn-hero { padding: 26px 0 0; }
  .gpn-hero__body { padding-bottom: 24px; }
  .gpn-hero__lead { padding-top: 8px; }
  .gpn-hero__char { max-width: 220px; max-height: 200px; }
  .gpn-hero__char--empty { max-width: 200px; height: 110px; }
  .gpn-genres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gpn-cards { grid-auto-columns: 84%; }
  .gpn-list__thumb { flex-basis: 104px; width: 104px; }
  .gpn-section { padding: 30px 0; }
}

/* -------------------------------------------------- ゲームコンシェルジュ
   サイドバーのプロフィールカード。トップのHeroと同じ設定・同じ配色で統一する。 */
.gpn-concierge { text-align: center; }

.gpn-concierge__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 104px;
  margin: 2px auto 14px;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(70% 70% at 50% 35%, rgba(227, 192, 74,.14), rgba(11,20,36,1) 72%);
  border: 1px solid rgba(227, 192, 74,.34);
  box-shadow: 0 0 0 4px rgba(227, 192, 74,.06);
}
.gpn-concierge__icon img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.gpn-concierge__icon--fallback { color: var(--gpn-cyan); }
.gpn-concierge__icon--fallback svg { width: 44px; height: 44px; }

.gpn-concierge__name {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--gpn-text);
  letter-spacing: .02em;
}
.gpn-concierge__desc {
  margin: 0 0 12px;
  font-size: 12.5px;
  line-height: 1.95;
  color: var(--gpn-muted);
  text-align: left;
}
.gpn-concierge__role {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--gpn-cyan);
}
.gpn-concierge__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(227, 192, 74,.34);
  background: rgba(227, 192, 74,.10);
  color: var(--gpn-cyan) !important;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  box-sizing: border-box;
  transition: background .18s ease, border-color .18s ease;
}
.gpn-concierge__cta:hover {
  background: rgba(227, 192, 74,.2);
  border-color: rgba(227, 192, 74,.6);
  color: #7ceeff !important;
}

/* プロフィールウィジェットに見出し要素は無いため、追加の打ち消しは不要 */

/* ==========================================================================
   2026-08-17 画像・ビジュアル調整（第4弾）
   ・Heroの人物はカードに入れず、背景の中に直接立たせる
   ・表示比率をUI側で決め、画像をそこへ収める（元画像の比率に合わせない）
   ここより下の指定が最終。
   ========================================================================== */

/* -------------------------------------------------- Hero の骨格 */
.gpn-hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.gpn-hero__inner {
  position: relative;
  z-index: 2;               /* 人物より前。ただし人物の上に枠線は置かない */
  display: block;           /* グリッドをやめ、人物は絶対配置で背景に置く */
  width: 100%;
}
.gpn-hero__body {
  max-width: 56%;           /* 人物のスペースを空ける */
  padding-bottom: 0;
}
.gpn-hero--nochar .gpn-hero__body { max-width: 64%; }

/* -------------------------------------------------- 人物（カードに入れない） */
.gpn-hero__figure {
  position: absolute;
  right: 2%;
  bottom: 0;
  top: 0;
  width: 44%;
  max-width: 640px;
  z-index: 1;
  pointer-events: none;     /* 吹き出しだけ後で有効化する */
}
.gpn-hero--nochar .gpn-hero__figure { width: 38%; }

/* 人物の身体がHeroの下端に接する */
.gpn-hero__char {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 95%;
  max-height: 620px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom right;
  display: block;
  z-index: 2;
}

/* 人物の背面に置く装飾。人物より前面に枠線を出さない */
.gpn-hero__glow {
  position: absolute;
  right: 4%;
  bottom: 0;
  width: 86%;
  height: 82%;
  z-index: 1;
  border-radius: 50% 50% 18% 18% / 60% 60% 12% 12%;
  background:
    radial-gradient(58% 54% at 50% 68%, rgba(139,92,246,.22), transparent 72%),
    radial-gradient(50% 46% at 50% 34%, rgba(227, 192, 74,.16), transparent 76%),
    repeating-linear-gradient(90deg, rgba(120,170,220,.045) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(0deg,  rgba(120,170,220,.045) 0 1px, transparent 1px 36px);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 60%, #000 55%, transparent 100%);
          mask-image: radial-gradient(70% 70% at 50% 60%, #000 55%, transparent 100%);
}

/* 吹き出しは人物の顔の横あたりに置く */
.gpn-hero__balloon {
  position: absolute;
  top: 5%;
  left: 0;
  right: auto;
  max-width: 250px;
  margin: 0;
  z-index: 3;
  pointer-events: auto;
  background: rgba(11,20,36,.92);
  border: 1px solid var(--gpn-border);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 12.5px;
  line-height: 1.85;
  text-align: left;
}
.gpn-hero--nochar .gpn-hero__balloon { top: 16%; left: auto; right: 0; }

/* -------------------------------------------------- 画像の表示比率
   UI側で領域を決め、画像をそこへ収める。元画像の比率には合わせない。 */
.gpn-card__thumb,
.gpn-list__thumb,
.gpn-rank__thumb {
  overflow: hidden;
  background: #0b1424;      /* 白背景の画像でもカードの形が崩れない */
}
.gpn-card__thumb img,
.gpn-list__thumb img,
.gpn-rank__thumb img,
.gpn-concierge__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .35s ease;
}

/* 今週のおすすめ：画像を主役に。4枚表示で高さ180〜210px */
.gpn-card__thumb {
  aspect-ratio: 16 / 9;
  border-radius: 14px 14px 0 0;
}
.gpn-card a { border-radius: 14px; overflow: hidden; }
.gpn-card:hover img { transform: scale(1.03); }

/* 新着レビュー：一覧性を優先し、サムネイルのサイズを揃える */
.gpn-list__thumb {
  flex: 0 0 136px;
  width: 136px;
  height: 77px;             /* 136 x 77 ≒ 16:9 */
  aspect-ratio: auto;
  border-radius: 10px;
}
.gpn-list__item:hover img { transform: scale(1.03); }

/* ランキング：順位 → 画像 → タイトル の順に視線が流れる大きさ */
.gpn-rank__thumb {
  flex: 0 0 68px;
  width: 68px;
  height: 68px;
  aspect-ratio: 1;
  border-radius: 10px;
}
.gpn-rank__item:hover img { transform: scale(1.03); }

/* 画像が無いときの穴埋めも同じ比率にする（高さが動かない） */
.gpn-thumb-empty {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(140deg, #12203a, #0b1424);
}

/* -------------------------------------------------- カテゴリ・アーカイブの記事カード */
body.gpn-archive .post-list-thumb {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background: #0b1424;
  border-radius: 14px 14px 0 0;
}
body.gpn-archive .post-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  aspect-ratio: auto;       /* 上の共通指定を打ち消し、親の比率に従わせる */
  transition: transform .35s ease;
}
body.gpn-archive .post-list-link:hover .post-list-thumb img { transform: scale(1.03); }
/* 同じ行のカードの高さを揃える */
body.gpn-archive .post-list-inner { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
body.gpn-archive .post-list-item { display: flex; }
body.gpn-archive .post-list-link { display: flex; flex-direction: column; width: 100%; }
body.gpn-archive .post-list-meta { flex: 1 1 auto; }

/* -------------------------------------------------- サイドバーのコンシェルジュ画像 */
.gpn-concierge__icon {
  width: 124px;
  height: 124px;
}
.gpn-concierge__icon img { object-position: center top; }
.gpn-concierge__icon--fallback svg { width: 50px; height: 50px; }

/* -------------------------------------------------- 暗いoverlayを常時掛けない */
.gpn-card__thumb::after,
.gpn-list__thumb::after,
body.gpn-archive .post-list-thumb::after { content: none; }

/* ==========================================================================
   レスポンシブ（画像調整分）
   ========================================================================== */
@media screen and (max-width: 1024px) {
  /* 縦積み。DOM順では figure が先にあるので、order で テキスト → キャラクター にする */
  .gpn-hero { min-height: 0; display: flex; flex-direction: column; align-items: stretch; }
  .gpn-hero__bg { order: 0; }
  .gpn-hero__inner { order: 1; }
  .gpn-hero__figure { order: 2; }
  .gpn-hero__body { max-width: none; }
  .gpn-hero--nochar .gpn-hero__body { max-width: none; }
  .gpn-hero__figure {
    position: relative;
    right: auto; bottom: auto; top: auto;
    width: 100%;
    max-width: none;
    height: 300px;
    margin: 6px auto 0;
    pointer-events: auto;
  }
  /* 画像が無いときは装飾だけの空きスペースを作らない */
  .gpn-hero--nochar .gpn-hero__figure { width: 100%; height: auto; margin-top: 0; }
  .gpn-hero--nochar .gpn-hero__glow { display: none; }
  .gpn-hero__char {
    position: absolute;
    left: 50%; right: auto;
    transform: translateX(-50%);
    height: 100%;
    max-height: 300px;
    object-position: bottom center;
  }
  .gpn-hero__glow { right: auto; left: 50%; transform: translateX(-50%); width: 320px; height: 100%; }
  .gpn-hero__balloon {
    position: relative;
    top: auto; left: auto; right: auto;
    max-width: 440px;
    margin: 0 auto 10px;
    text-align: center;
    z-index: 3;
  }
  .gpn-hero--nochar .gpn-hero__balloon { top: auto; right: auto; }
}

@media screen and (max-width: 768px) {
  .gpn-list__thumb { flex-basis: 120px; width: 120px; height: 68px; }
  .gpn-rank__thumb { flex-basis: 62px; width: 62px; height: 62px; }
}

@media screen and (max-width: 480px) {
  .gpn-hero__figure { height: 250px; }
  .gpn-hero--nochar .gpn-hero__figure { height: 120px; }
  .gpn-hero__char { max-height: 250px; }
  .gpn-hero__glow { width: 240px; }
  .gpn-list__thumb { flex-basis: 112px; width: 112px; height: 63px; }
}

/* 動きを減らす設定では拡大しない */
@media (prefers-reduced-motion: reduce) {
  .gpn-card:hover img,
  .gpn-list__item:hover img,
  .gpn-rank__item:hover img,
  body.gpn-archive .post-list-link:hover .post-list-thumb img { transform: none; }
}

/* ランキングのカテゴリタグが横いっぱいに伸びないようにする */
.gpn-rank__body { align-items: flex-start; }
.gpn-rank__body .gpn-tag { align-self: flex-start; width: auto; }

/* -------------------------------------------------- ヘッダーロゴ
   JIN は topnavi_logo_image_url の画像に対し、カスタマイザ生成のインラインCSSで
   幅を固定し（既定400px）、#site-info を width/max-width 250px・overflow:hidden で
   切ってしまう。インラインCSSより後に効かせる手段が無いため、
   ここだけは !important で高さ基準に置き換える。 */
body.gpn-theme #site-info {
  width: auto !important;
  max-width: none !important;
  overflow: visible !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: flex !important;
  align-items: center;
}
body.gpn-theme #site-info .tn-logo-size,
body.gpn-theme #site-info .sp-logo-size {
  display: inline-flex !important;
  align-items: center;
  width: auto !important;
  max-width: none !important;
  overflow: visible !important;
}
body.gpn-theme #site-info .tn-logo-size a,
body.gpn-theme #site-info .sp-logo-size a {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
body.gpn-theme #site-info img {
  display: block;
  height: 44px !important;
  width: auto !important;
  max-width: none !important;
}
@media screen and (max-width: 1024px) {
  body.gpn-theme #site-info img { height: 34px !important; }
}
@media screen and (max-width: 480px) {
  body.gpn-theme #site-info img { height: 28px !important; }
}

/* ==========================================================================
   2026-08-17 Hero構図とロゴサイズの調整（第6弾）
   ・ロゴを読める大きさに拡大（比率3.16:1のため高さより幅を基準にする）
   ・キャラクターをHero右側のビジュアルそのものにする
   ここより下の指定が最終。
   ========================================================================== */

/* -------------------------------------------------- ヘッダーロゴ
   素材は 2172x724（不透明部分 3.16:1）で、余白はほぼ無い。
   幅180〜230pxを取ると高さは57〜73pxになるため、高さではなく幅を基準にする。
   ヘッダーはそのぶん高くなる。 */
body.gpn-theme #site-info img {
  height: auto !important;
  width: 200px !important;
  max-width: 200px !important;
  object-fit: contain;
}
body.gpn-theme #header,
body.gpn-theme #header.header-type1 { min-height: 86px; }

@media screen and (max-width: 1024px) {
  body.gpn-theme #site-info img { width: 168px !important; max-width: 168px !important; }
  body.gpn-theme #header, body.gpn-theme #header.header-type1 { min-height: 74px; }
}
@media screen and (max-width: 480px) {
  body.gpn-theme #site-info img { width: 132px !important; max-width: 132px !important; }
  body.gpn-theme #header, body.gpn-theme #header.header-type1 { min-height: 62px; }
}

/* -------------------------------------------------- Hero全体を1枚のビジュアルに */
@media screen and (min-width: 1025px) {
  .gpn-hero {
    min-height: 720px;
    padding-top: 0;
    padding-bottom: 0;
  }
  .gpn-hero__body {
    max-width: 56%;      /* 左 54〜57% */
    padding-top: 24px;
    padding-bottom: 24px;
  }

  /* 人物はHeroの右側そのもの。カード・固定枠には入れない */
  .gpn-hero__figure {
    right: 2%;
    top: 0;
    bottom: 0;
    width: 46%;          /* 右 43〜46% */
    max-width: none;
  }
  /* 頭部がHero上端付近、太もも付近が下端に接地する */
  .gpn-hero__char {
    height: 100%;
    max-height: none;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: bottom right;
  }

  /* 背景のグローは人物の背後だけ。人物より目立たせない */
  .gpn-hero__glow {
    right: 2%;
    bottom: 0;
    width: 78%;
    height: 76%;
    opacity: .85;
  }

  /* 吹き出しは顔の左側に置き、人物が話しているように見せる。
     図形の右端からの割合で位置を決め、髪や手に重ならないようにする。 */
  .gpn-hero__balloon {
    top: 7%;
    left: auto;
    right: 62%;
    max-width: 250px;
  }
}

/* 1440px以上でも人物が小さく見えないよう、下限の高さを少し上げる */
@media screen and (min-width: 1440px) {
  .gpn-hero { min-height: 760px; }
}

/* ==========================================================================
   2026-08-17 参考モックの構図を移植（第7弾）
   素材: gamechoices-logo.png / gamechoices-concierge-hero.png / gamechoices-hero-bg.png
   Hero を「左テキスト＋右画像の2カラム」ではなく、
   背景・HUD素材・人物・吹き出し・テキストを重ねた1枚のキービジュアルとして組む。
   ここより下の指定が最終。
   ========================================================================== */

/* -------------------------------------------------- ヘッダー
   ロゴ素材のキャンバスは 2172x724 = きっかり 3:1。
   幅220pxを取ると高さは73pxになるため、指定の「max-height:48px」とは両立しない。
   3要素（ゲームパッド／ゲームチョイス！／サブコピー）が読めることを優先し、
   幅を基準にしてヘッダーの高さをそのぶん広げる。 */
/* こちらが最終的に効く宣言（後勝ち）。同じ理由で背景は #header-box だけに持たせる。 */
body.gpn-theme #header-box {
  background: rgba(3, 10, 20, .96) !important;
  border-bottom: 1px solid rgba(44, 95, 135, .32);
}
body.gpn-theme #header,
body.gpn-theme #header.header-type1 {
  background: transparent !important;
}
body.gpn-theme #header,
body.gpn-theme #header.header-type1 { min-height: 78px; }

body.gpn-theme #site-info img {
  width: 208px !important;
  max-width: 208px !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain;
}
body.gpn-theme #site-info,
body.gpn-theme #site-info a { display: flex; align-items: center; }

@media screen and (min-width: 1600px) {
  body.gpn-theme #site-info img { width: 228px !important; max-width: 228px !important; }
  body.gpn-theme #header, body.gpn-theme #header.header-type1 { min-height: 84px; }
}
@media screen and (max-width: 1024px) {
  body.gpn-theme #site-info img { width: 168px !important; max-width: 168px !important; }
  body.gpn-theme #header, body.gpn-theme #header.header-type1 { min-height: 68px; }
}
@media screen and (max-width: 480px) {
  body.gpn-theme #site-info img { width: 140px !important; max-width: 140px !important; }
  body.gpn-theme #header, body.gpn-theme #header.header-type1 { min-height: 58px; }
}

/* 検索欄をロゴ・ナビと同じ高さの中心に揃える */
body.gpn-theme .gpn-nav-search { align-self: center; }
body.gpn-theme .gpn-search { height: 38px; box-sizing: border-box; }

/* -------------------------------------------------- Hero の骨格 */
.gpn-hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: var(--gpn-max);
  margin: 0 auto;
  --gpn-hero-h: clamp(500px, 38vw, 610px);
  min-height: 500px;
  height: var(--gpn-hero-h);
  padding: 0;
  display: block;                 /* 中身はすべて重ねる */
  border-radius: 0;
  background:
    radial-gradient(circle at 72% 40%, rgba(104, 74, 255, .16), transparent 38%),
    radial-gradient(circle at 30% 30%, rgba(227, 192, 74, .09), transparent 38%),
    linear-gradient(110deg, #06101d 0%, #07111e 48%, #081225 100%);
}
.gpn-hero__bg { display: none; }   /* 旧レイヤーは使わない */

/* HUD・近未来都市の素材。全面へ引き伸ばさず右側だけの装飾レイヤーにする */
.gpn-hero .gpn-hero__bgimg {
  position: absolute;
  right: 0;
  top: 0;
  width: 62%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: .62;
  pointer-events: none;
  z-index: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 15%, #000 38%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 15%, #000 38%);
}
/* 左側テキストの可読性を守るための帯 */
.gpn-hero::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 58%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(4,11,22,.92) 0%, rgba(4,11,22,.72) 55%, transparent 100%);
}

/* -------------------------------------------------- 人物 */
.gpn-hero__figure {
  position: absolute;
  right: 1.5%; top: 0; bottom: 0; left: auto;
  width: 50%;
  max-width: none;
  z-index: 3;
  pointer-events: none;
}
/* body.gpn-theme img { max-width:100%; height:auto } の方が詳細度が高いので、
   クラス2つのセレクタにして人物だけ確実に上書きする */
.gpn-hero .gpn-hero__char {
  position: absolute;
  right: 0;
  bottom: 0;
  top: auto;
  height: 97%;
  max-height: none;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom right;
  display: block;
  z-index: 3;
}
/* 人物の背後だけのごく薄い光。素材のHUDより目立たせない */
.gpn-hero__glow {
  position: absolute;
  right: 2%;
  bottom: 0;
  width: 46%;
  height: 88%;
  z-index: 2;
  opacity: .7;
  border-radius: 50% 50% 20% 20% / 62% 62% 14% 14%;
  background:
    radial-gradient(56% 52% at 50% 62%, rgba(139,92,246,.20), transparent 72%),
    radial-gradient(48% 44% at 50% 32%, rgba(227, 192, 74,.14), transparent 76%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 60%, #000 55%, transparent 100%);
          mask-image: radial-gradient(70% 70% at 50% 60%, #000 55%, transparent 100%);
}

/* -------------------------------------------------- 吹き出し
   素材の顔は画像内 x=55% / y=20% の位置。人物の顔の左上へ寄せる。 */
/* 人物の幅はHeroの高さで決まるため、吹き出しの位置もHeroの高さから計算する。
   人物の表示幅 = 0.776 * Hero高さ、顔の左端 = 人物の左端 + 38.5%。
   顔の左 60px の位置に吹き出しの右端が来るようにする。 */
.gpn-hero__balloon {
  position: absolute;
  top: 58px;
  left: auto;
  right: calc(80px + 0.477 * var(--gpn-hero-h));
  width: 220px;
  max-width: 220px;
  margin: 0;
  z-index: 4;
  pointer-events: auto;
  background: rgba(5, 16, 31, .86);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(227, 192, 74, .35);
  border-radius: 13px;
  padding: 13px 15px;
  font-size: 13px;
  line-height: 1.8;
  color: #e6eef8;
  text-align: left;
}
.gpn-hero__balloonby { display: block; margin-top: 6px; font-size: 11px; color: var(--gpn-muted); }

/* -------------------------------------------------- 左側コンテンツ */
.gpn-hero__inner {
  position: relative;
  z-index: 5;
  height: 100%;
  max-width: var(--gpn-max);
  padding: 0;
  display: flex;
  align-items: center;
}
.gpn-hero__body {
  position: relative;
  z-index: 5;
  width: 52%;
  max-width: 52%;
  padding: 0 0 0 36px;
}
.gpn-hero--nochar .gpn-hero__body { width: 64%; max-width: 64%; }

.gpn-hero__lead {
  font-size: clamp(42px, 4.2vw, 64px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -.025em;
  margin: 0 0 18px;
  color: #fff;
}
.gpn-hero__desc {
  max-width: 520px;
  line-height: 1.9;
  font-size: 14px;
  color: #d7e0ea;
  margin: 0 0 22px;
}

/* CTA */
.gpn-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 20px; }
.gpn-hero__cta .gpn-btn {
  height: 50px;
  border-radius: 12px;
  padding-inline: 24px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  box-sizing: border-box;
}
.gpn-hero__cta .gpn-btn svg { width: 18px; height: 18px; }
.gpn-hero__cta .gpn-btn--primary {
  background: linear-gradient(90deg, #c9a227, #8a6a1f);
  color: #04101d !important;
  border: 0;
  box-shadow: 0 6px 22px rgba(227, 192, 74, .22);
}
.gpn-hero__cta .gpn-btn--primary:hover { filter: brightness(1.06); color: #04101d !important; }
.gpn-hero__cta .gpn-btn--ghost {
  background: rgba(6, 15, 29, .72);
  border: 1px solid rgba(227, 192, 74, .45);
  color: var(--gpn-text) !important;
}
.gpn-hero__cta .gpn-btn--ghost:hover { border-color: rgba(227, 192, 74, .7); }

/* 人気のジャンル */
.gpn-hero__tags { margin: 0; }
.gpn-hero__tagslabel { display: block; font-size: 11.5px; color: var(--gpn-muted); margin: 0 0 8px; }
.gpn-hero__tags ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.gpn-hero__tags ul li a {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(227, 192, 74, .45);
  background: rgba(6, 15, 29, .72);
  color: #cddced !important;
  font-size: 12px;
  text-decoration: none;
  transition: border-color .18s ease, color .18s ease;
}
.gpn-hero__tags ul li a:hover { border-color: var(--gpn-cyan); color: var(--gpn-cyan) !important; }

/* -------------------------------------------------- Hero とジャンルの距離 */
.gpn-hero + .gpn-section { padding-top: 24px !important; margin-top: 0; }
.gpn-section { padding-top: 26px; padding-bottom: 26px; }

/* -------------------------------------------------- 各セクションを薄いパネルに */
body.gpn-front .gpn-section > .gpn-inner,
body.gpn-front .gpn-section--split > .gpn-inner {
  background: rgba(5, 13, 25, .38);
  border: 1px solid rgba(49, 85, 122, .28);
  border-radius: 14px;
  padding: 18px;
}
body.gpn-front .gpn-section__head { margin-bottom: 12px; }

/* -------------------------------------------------- ジャンルカード（密度を上げる） */
.gpn-genres { gap: 16px; }
.gpn-genre > a {
  min-height: 156px;
  padding: 16px 12px 14px;
  gap: 7px;
  border: 1px solid rgba(49, 85, 122, .34);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
/* カテゴリごとの色は上部だけ。ベースは暗いまま保つ */
.gpn-genre--rpg > a        { background: linear-gradient(180deg, rgba(227, 192, 74,.08) 0%, rgba(12,24,42,.94) 46%); }
.gpn-genre--action > a     { background: linear-gradient(180deg, rgba(192,80,220,.09) 0%, rgba(12,24,42,.94) 46%); }
.gpn-genre--simulation > a { background: linear-gradient(180deg, rgba(227, 192, 74,.08) 0%, rgba(12,24,42,.94) 46%); }
.gpn-genre--strategy > a   { background: linear-gradient(180deg, rgba(139,92,246,.09) 0%, rgba(12,24,42,.94) 46%); }
.gpn-genre--puzzle > a     { background: linear-gradient(180deg, rgba(227, 192, 74,.08) 0%, rgba(12,24,42,.94) 46%); }
.gpn-genre--mmorpg > a     { background: linear-gradient(180deg, rgba(96,140,255,.09) 0%, rgba(12,24,42,.94) 46%); }
.gpn-genre__icon { width: 34px; height: 34px; }
.gpn-genre__name { font-size: 15px; }
.gpn-genre__desc { font-size: 11.5px; }
.gpn-genre__count { font-size: 11px; }

/* ==========================================================================
   レスポンシブ（第7弾）
   ========================================================================== */
@media screen and (max-width: 1439px) {
  .gpn-hero__balloon { top: 48px; }
  .gpn-hero__body { padding-left: 28px; }
}

@media screen and (max-width: 1024px) {
  /* 縦積み。テキスト → 吹き出し → 人物 の順 */
  .gpn-hero {
    height: auto;
    min-height: 0;
    padding: 30px 0 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .gpn-hero::before { content: none; }
  .gpn-hero .gpn-hero__bgimg {
    position: absolute;
    width: 100%;
    height: 62%;
    top: auto;
    bottom: 0;
    opacity: .34;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%);
            mask-image: linear-gradient(180deg, transparent 0%, #000 45%);
  }
  .gpn-hero__inner { order: 1; height: auto; display: block; padding: 0 24px; }
  .gpn-hero__balloon {
    order: 2;
    position: relative;
    top: auto; right: auto; left: auto;
    width: auto;
    max-width: 440px;
    margin: 0 auto 10px;
    text-align: center;
  }
  .gpn-hero__figure { order: 3; position: relative; right: auto; top: auto; bottom: auto; width: 100%; height: 300px; }
  .gpn-hero__body { width: auto; max-width: none; padding: 0 0 18px; }
  .gpn-hero--nochar .gpn-hero__body { width: auto; max-width: none; }
  .gpn-hero .gpn-hero__char {
    position: absolute;
    left: 50%; right: auto;
    transform: translateX(-50%);
    height: 100%;
    max-width: 92vw;
    object-position: bottom center;
  }
  .gpn-hero__glow { right: auto; left: 50%; transform: translateX(-50%); width: 300px; height: 100%; }
  .gpn-hero__lead { font-size: 30px; }
  body.gpn-front .gpn-section > .gpn-inner { padding: 14px; }
}

@media screen and (max-width: 480px) {
  .gpn-hero { padding-top: 24px; }
  .gpn-hero__lead { font-size: 26px; }
  .gpn-hero__figure { height: 250px; }
  .gpn-hero__cta .gpn-btn { flex: 1 1 100%; justify-content: center; }
}

/* ==========================================================================
   第8弾 ジャンルカードのアート素材（2026-08-17）
   素材にジャンル名・キャッチコピーが焼き込まれているので、カード＝画像にする。
   テンプレート側の文字は読み上げ・検索向けに残し、視覚的には隠す。
   ========================================================================== */
.gpn-genre--art > a {
  display: block;
  padding: 0;
  gap: 0;
  min-height: 0;
  position: relative;
  overflow: hidden;
  /* 素材が自前のネオン枠を持っているため、カードの枠線は重ねない（二重枠の防止）。
     ホバー時だけ .gpn-genre a:hover (0,2,1) が色を付ける */
  border: 1px solid transparent;
  border-radius: 12px;
}
/* カテゴリ別のグラデーションは画像が担うので、素材の余白と同じ暗さで塗り潰す。
   （一括指定では色分けの既存指定に負けるため、カテゴリ別セレクタも並べる） */
.gpn-genre--art > a,
.gpn-genre--art.gpn-genre--apps > a,
.gpn-genre--art.gpn-genre--rpg > a,
.gpn-genre--art.gpn-genre--action > a,
.gpn-genre--art.gpn-genre--simulation > a,
.gpn-genre--art.gpn-genre--puzzle > a,
.gpn-genre--art.gpn-genre--others > a { background: #05070d; }

/* body.gpn-theme img (0,1,2) に負けないようクラス2つで指定する */
.gpn-genre--art .gpn-genre__art {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 11px;
}

/* 画像に入っている文字はHTML側では隠す（消さない） */
.gpn-genre--art .gpn-genre__name,
.gpn-genre--art .gpn-genre__desc {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  white-space: nowrap;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
}

/* 件数だけは素材に無いので、右上に小さく重ねる */
.gpn-genre--art .gpn-genre__count {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(126, 173, 214, .34);
  background: rgba(4, 10, 20, .74);
  color: #cddced;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .02em;
  pointer-events: none;
}

.gpn-genre--art > a:focus-visible { outline: 2px solid var(--gpn-cyan); outline-offset: 2px; }

@media screen and (max-width: 768px) {
  .gpn-genre--art > a { padding: 0; }
  .gpn-genre--art .gpn-genre__count { top: 7px; right: 7px; padding: 2px 7px; font-size: 10.5px; }
}

/* ==========================================================================
   第9弾 ジャンル統合（2026-08-17）
   ストラテジー→シミュレーション、MMORPG→RPGへ統合。おすすめアプリ／その他アプリを追加。
   アート素材が未設定になった場合のフォールバック用に、新2ジャンルの色も用意しておく。
   ========================================================================== */
.gpn-genre--apps > a   { background: linear-gradient(180deg, rgba(227, 192, 74,.10) 0%, rgba(12,24,42,.94) 46%); }
.gpn-genre--others > a { background: linear-gradient(180deg, rgba(150,120,246,.09) 0%, rgba(12,24,42,.94) 46%); }
.gpn-genre--apps .gpn-genre__icon   { color: #e3c04a; }
.gpn-genre--others .gpn-genre__icon { color: #c2a45e; }

/* ==========================================================================
   第10弾 ジャンルカードのアート差し替え（色調整版・2026-08-18）
   新素材は6枚とも 1536x1024（3:2）で揃っているので、カード枠も 3:2 にする。
   素材と枠の比が同じなので cover でも一切切れない。
   ========================================================================== */
.gpn-genre--art > a {
  display: block;
  aspect-ratio: 3 / 2;
}
.gpn-genre--art .gpn-genre__art {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

/* ==========================================================================
   第11弾 Hero下部のサポートパネル（2026-08-18）
   旧「人気のジャンル」タグを廃止し、同じ場所にサイトの機能を伝えるHUDパネルを置く。
   Heroの世界観（deep navy / cyan / violet / glass）はそのまま使い、発光は控えめにする。
   ========================================================================== */
/* 旧タグは出力自体を消したが、キャッシュ等で残っても表示しない保険 */
.gpn-hero__tags { display: none; }

/* Heroの縦に余裕を作るための微調整（数px単位。窮屈にはしない） */
.gpn-hero__desc { margin-bottom: 18px; }
.gpn-hero__cta  { margin-bottom: 16px; }

.gpn-hero__support {
  position: relative;
  margin: 0;
  padding: 13px 16px 15px;
  border: 1px solid rgba(227, 192, 74, .42);
  border-radius: 14px;
  background: rgba(5, 17, 32, .72);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .20);
}

/* --- HUDのコーナー装飾。情報より目立たせない --- */
.gpn-hero__support::before,
.gpn-hero__support::after,
.gpn-hero__supporthud::before,
.gpn-hero__supporthud::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 0 solid rgba(227, 192, 74, .55);
  pointer-events: none;
}
.gpn-hero__support::before { left: -1px;  top: -1px;    border-left-width: 2px;  border-top-width: 2px;    border-top-left-radius: 14px; }
.gpn-hero__support::after  { right: -1px; top: -1px;    border-right-width: 2px; border-top-width: 2px;    border-top-right-radius: 14px; }
.gpn-hero__supporthud::before { left: -1px;  bottom: -1px; border-left-width: 2px;  border-bottom-width: 2px; border-bottom-left-radius: 14px; }
.gpn-hero__supporthud::after  { right: -1px; bottom: -1px; border-right-width: 2px; border-bottom-width: 2px; border-bottom-right-radius: 14px; }
/* 4隅のコーナーを描く土台。左下には小さなダッシュも1本だけ引く */
.gpn-hero__supporthud {
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(227, 192, 74,.42) 0 6px, transparent 6px 11px);
  background-repeat: no-repeat;
  background-size: 40px 1px;
  background-position: 26px calc(100% - 4px);
}

/* --- タイトル行 --- */
.gpn-hero__supporttitle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 11px;
  line-height: 1;
}
.gpn-hero__supporticon { width: 17px; height: 17px; color: var(--gpn-cyan); flex: none; }
.gpn-hero__supportlabel {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #dff4ff;
  white-space: nowrap;
}
.gpn-hero__supportline {
  flex: 1 1 auto;
  height: 1px;
  min-width: 20px;
  background: linear-gradient(90deg, rgba(227, 192, 74,.10), rgba(227, 192, 74,.55));
}
.gpn-hero__supportbars {
  flex: none;
  width: 44px;
  height: 9px;
  background: repeating-linear-gradient(90deg, rgba(227, 192, 74,.62) 0 2px, transparent 2px 5px);
}

/* --- 3カード --- */
.gpn-support {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.gpn-support__item a {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 100%;
  box-sizing: border-box;
  padding: 12px 13px;
  border: 1px solid rgba(120, 146, 178, .45);
  border-radius: 12px;
  background: rgba(7, 21, 39, .82);
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease;
}
.gpn-support__item a:hover {
  transform: translateY(-2px);
  border-color: rgba(227, 192, 74, .7);
}
.gpn-support__item a:focus-visible { outline: 2px solid var(--gpn-cyan); outline-offset: 2px; }
.gpn-support .gpn-support__ico { width: 30px; height: 30px; flex: none; }

/* PCではテキスト幅（52%）より少しはみ出させて、説明文を1行に収める。
   キャラクターの左端（1440pxで x=947 / パネル右端は x=860）には掛からない範囲。 */
@media screen and (min-width: 1200px) {
  .gpn-hero--haschar .gpn-hero__support { width: calc(100% + 120px); max-width: none; }
}
.gpn-support__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.gpn-support__name { font-size: 13px; font-weight: 700; color: #eaf3fb; line-height: 1.3; }
.gpn-support__desc { font-size: 11px; color: var(--gpn-muted); line-height: 1.4; }

@media (prefers-reduced-motion: reduce) {
  .gpn-support__item a { transition: none; }
  .gpn-support__item a:hover { transform: none; }
}

/* --- タブレット：3列が窮屈なら横スクロールに切り替える --- */
@media screen and (max-width: 1024px) {
  .gpn-hero__support { padding: 12px 14px 14px; }
  .gpn-support { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .gpn-support__item a { padding: 11px 11px; gap: 9px; }
}

/* --- タブレット：文字を縮めて3列を保たず「2列＋1列」にする --- */
@media screen and (max-width: 860px) {
  .gpn-support { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gpn-support__item:last-child { grid-column: 1 / -1; }
  .gpn-support__item a { padding: 13px 14px; }
}

/* --- スマホ：縦に積むとHeroが伸びすぎるので、1カードずつの横スワイプにする --- */
@media screen and (max-width: 480px) {
  .gpn-hero__support { padding: 11px 12px 13px; }
  .gpn-hero__supportlabel { font-size: 12.5px; }
  .gpn-hero__supportbars { width: 34px; }
  .gpn-support {
    display: flex;
    grid-template-columns: none;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .gpn-support::-webkit-scrollbar { display: none; }
  /* 中途半端に次のカードが覗かないよう、1枚をきっちり見せる */
  .gpn-support__item { flex: 0 0 100%; scroll-snap-align: start; }
  .gpn-support__item:last-child { grid-column: auto; }
  .gpn-support__name { font-size: 13.5px; }
  .gpn-support__desc { font-size: 11.5px; }
}

/* ==========================================================================
   第12弾 今週のおすすめをカルーセル化（2026-08-18）
   取得を8件→10件にし、左右の矢印で4枚ぶん送れるようにする。
   中身は素の横スクロールのままなので、JSが動かなくても全件見られる。
   ========================================================================== */
.gpn-carousel { position: relative; }

/* 停止位置を必ず揃える（カードが見切れたまま止まらない） */
.gpn-cards { scroll-snap-type: x mandatory; scroll-padding-left: 0; }

.gpn-carousel__nav {
  position: absolute;
  top: 70px;                      /* 16:9サムネイル（1360px時は高さ176px）の中央に合わせる */
  z-index: 3;
  width: 38px;
  height: 38px;
  display: none;                  /* スクロールが必要なときだけ出す */
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(120, 146, 178, .55);
  border-radius: 999px;
  background: rgba(6, 16, 30, .84);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  color: #dff1ff;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, opacity .18s ease;
}
.gpn-carousel.is-scrollable .gpn-carousel__nav { display: flex; }
.gpn-carousel__nav svg { width: 18px; height: 18px; }
.gpn-carousel__nav--prev { left: -8px; }
.gpn-carousel__nav--next { right: -8px; }
.gpn-carousel__nav:hover { border-color: rgba(227, 192, 74, .75); background: rgba(9, 24, 42, .92); }
.gpn-carousel__nav:focus-visible { outline: 2px solid var(--gpn-cyan); outline-offset: 2px; }
.gpn-carousel__nav[disabled] { opacity: .3; cursor: default; }
.gpn-carousel__nav[disabled]:hover { border-color: rgba(120, 146, 178, .55); background: rgba(6, 16, 30, .84); }

/* キーボードで横スクロールできるようにフォーカスを受けるが、枠は出しすぎない */
.gpn-cards:focus { outline: none; }
.gpn-cards:focus-visible { outline: 2px solid rgba(227, 192, 74, .45); outline-offset: 4px; }

/* 画面が狭いとカードも小さくなるので、サムネイル中央の位置を詰める */
@media screen and (max-width: 1199px) {
  .gpn-carousel__nav { top: 52px; }
}

/* タッチ環境はスワイプで足りるので矢印を出さない */
@media screen and (max-width: 1024px) {
  .gpn-carousel.is-scrollable .gpn-carousel__nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .gpn-carousel__nav { transition: none; }
}

/* ==========================================================================
   第13弾 今週のおすすめのラベル（2026-08-18）
   ランキングではないので順位番号をやめ、全カード共通の「PICKUP」ラベルにする。
   ========================================================================== */
.gpn-card__badge {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  display: inline-flex; align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 7px;
  background: linear-gradient(140deg, var(--gpn-cyan-dim), var(--gpn-violet));
  color: #04101c;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .10em;
  line-height: 1;
  white-space: nowrap;
}

/* ==========================================================================
   第14弾 記事本文の読みやすさ（2026-08-18）
   1) 本文の箱に左右の余白が無く、文字が枠にくっついていた
   2) アプリーチが白背景のまま暗い紙面に浮き、しかも
      body.gpn-theme p { color:#dbe4ee } が効いて「開発元／価格」が白地に薄いグレーで読めなかった
   ========================================================================== */

/* -------------------------------------------------- 本文の左右余白 */
body.gpn-theme .cps-post-main {
  padding: 26px 30px 32px;
  box-sizing: border-box;
}
/* 箱いっぱいに見せたい要素は、余白ぶんだけ外へ出す */
body.gpn-theme .cps-post-main > .wp-block-image.full-bleed,
body.gpn-theme .cps-post-main > figure.full-bleed {
  margin-left: -30px;
  margin-right: -30px;
  width: calc(100% + 60px);
  max-width: none;
}

@media screen and (max-width: 1024px) {
  body.gpn-theme .cps-post-main { padding: 22px 22px 26px; }
  body.gpn-theme .cps-post-main > .wp-block-image.full-bleed,
  body.gpn-theme .cps-post-main > figure.full-bleed {
    margin-left: -22px; margin-right: -22px; width: calc(100% + 44px);
  }
}

@media screen and (max-width: 600px) {
  body.gpn-theme .cps-post-main { padding: 18px 16px 22px; }
  body.gpn-theme .cps-post-main > .wp-block-image.full-bleed,
  body.gpn-theme .cps-post-main > figure.full-bleed {
    margin-left: -16px; margin-right: -16px; width: calc(100% + 32px);
  }
}

/* -------------------------------------------------- アプリーチを紙面に合わせる
   記事内の <style id="appreach-css"> は body の後方にあるため、
   同じ詳細度だと後勝ちで負ける。クラス2つ以上で上書きする。 */
body.gpn-theme .appreach {
  background: rgba(9, 22, 40, .92);
  border: 1px solid rgba(120, 146, 178, .45);
  border-radius: 12px;
  color: #dbe4ee;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .18);
}
body.gpn-theme .appreach .appreach__name { color: #eaf3fb; }
body.gpn-theme .appreach .appreach__info,
body.gpn-theme .appreach .appreach__info span,
body.gpn-theme .appreach .appreach__developper,
body.gpn-theme .appreach .appreach__price,
body.gpn-theme .appreach .appreach__posted,
body.gpn-theme .appreach .appreach__posted a { color: #9fb3c8; }
/* 透過アイコンが暗い背景に沈まないよう、下に白を敷く */
body.gpn-theme .appreach .appreach__icon {
  background: #fff;
  object-fit: contain;
}

/* -------------------------------------------------- 追従サイドバーの暴走（スマホ・タブレット）
   JINの followwidget.js は #sidebar に inline で position:fixed / bottom / left を付ける。
   1カラムになる幅ではサイドバーが本文と同じ幅になるため、記事の上に重なって文字が読めなくなる。
   インラインstyleより強い !important で、狭い画面では必ず通常フローに戻す。 */
@media screen and (max-width: 1024px) {
  body.gpn-theme #sidebar {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: auto !important;
    margin: 0 0 30px !important;
  }
}

/* ==========================================================================
   第18弾 Hero背景を新素材（bg2）へ差し替え（2026-08-18）
   旧素材は右62%だけに敷いていたが、新素材は
   「左にHUD／中央に発光する床／右に都市」で1枚の絵として完成しているため、
   Hero全面に敷く。左は素材自体が暗いので、文字の下だけ軽く沈めれば足りる。
   ※ body.gpn-theme img (0,1,2) に負けないよう、必ずクラス2つで指定する。
   ========================================================================== */
.gpn-hero .gpn-hero__bgimg {
  left: 0;
  right: auto;
  top: 0;
  bottom: auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Heroは素材よりかなり横長（1360x547 に対し素材は1494x1053）なので、
     縦は約57%しか映らない。文字と人物の間に「GAME RANKING」パネルが収まる 44% を採用。
     ここを下げると床の光の輪が入るが、サポートパネルに隠れて効果が出ない。 */
  object-position: center 44%;
  opacity: .92;
  -webkit-mask-image: none;
          mask-image: none;
}

/* 見出しと説明文の下だけ沈めて可読性を確保する */
.gpn-hero::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 56%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(4, 11, 22, .80) 0%, rgba(4, 11, 22, .44) 62%, transparent 100%);
}

@media screen and (max-width: 1024px) {
  /* 縦積みでは人物と文字が主役。背景は全面のまま少し落とす */
  .gpn-hero .gpn-hero__bgimg {
    height: 100%;
    top: 0;
    bottom: auto;
    opacity: .55;
    object-position: center 62%;
  }
  .gpn-hero::before {
    width: 100%;
    background: linear-gradient(180deg, rgba(4, 11, 22, .78) 0%, rgba(4, 11, 22, .42) 46%, rgba(4, 11, 22, .70) 100%);
  }
}

/* ==========================================================================
   第20弾 新着レビューのページ送り（2026-08-18）
   丸いボタンで 1 2 3 4 5 … 42。現在地はサイトのアクセント（シアン→バイオレット）で塗る。
   ========================================================================== */
.gpn-pager { margin: 16px 0 2px; }
.gpn-pager ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.gpn-pager__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(120, 146, 178, .45);
  background: rgba(7, 21, 39, .82);
  color: #cddced !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease, background-color .18s ease;
}
a.gpn-pager__item:hover {
  border-color: rgba(227, 192, 74, .7);
  background: rgba(11, 30, 52, .92);
  transform: translateY(-1px);
}
a.gpn-pager__item:focus-visible { outline: 2px solid var(--gpn-cyan); outline-offset: 2px; }
.gpn-pager__item.is-current {
  background: linear-gradient(140deg, var(--gpn-cyan-dim), var(--gpn-violet));
  border-color: transparent;
  color: #04101c !important;
}
.gpn-pager__gap {
  color: var(--gpn-muted);
  font-size: 13px;
  padding: 0 2px;
  user-select: none;
}

@media (prefers-reduced-motion: reduce) {
  .gpn-pager__item { transition: none; }
  a.gpn-pager__item:hover { transform: none; }
}

@media screen and (max-width: 480px) {
  .gpn-pager ul { gap: 6px; }
  .gpn-pager__item { width: 32px; height: 32px; font-size: 12.5px; }
}

/* ==========================================================================
   GPN固有 Heroのキービジュアル（2026-08-18）
   GPNのKVは 2172x724（3:1）で、「GAMEPLUS NAVI／次に冒険するゲーム、ここで見つかる。／
   タグライン」まで焼き込まれた完成品。これを背景として cover で敷くと
   (1) 左右が切れてロゴが欠ける (2) HTML側の見出しと同じ文言が二重に見える、の2つが起きる。

   そこでKVがあるときだけ、Heroを「上=KVを丸ごと1枚 / 下=CTAとサポートパネル」の縦2段にする。
   KVは切らずに全部見せ、HTML側の見出しと説明文は視覚的に隠す（読み上げ・検索用には残す）。
   ========================================================================== */
.gpn-hero--kv {
  height: auto;
  min-height: 0;
  padding: 0 0 26px;
  overflow: hidden;
}
.gpn-hero--kv::before { content: none; }
.gpn-hero--kv .gpn-hero__bg,
.gpn-hero--kv .gpn-hero__figure,
.gpn-hero--kv .gpn-hero__glow { display: none; }

/* 背景ではなく1枚の絵として、通常フローで置く */
.gpn-hero--kv .gpn-hero__bgimg {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  opacity: 1;
  object-fit: contain;
  -webkit-mask-image: none;
          mask-image: none;
}

.gpn-hero--kv .gpn-hero__inner {
  height: auto;
  display: block;
  padding-top: 20px;
}
.gpn-hero--kv .gpn-hero__body {
  width: auto;
  max-width: none;
  padding: 0 30px;
}

/* 吹き出しはKVの右上へ重ねる */
.gpn-hero--kv .gpn-hero__balloon {
  top: 26px;
  right: 30px;
  left: auto;
  bottom: auto;
}

@media screen and (min-width: 1025px) {
  /* KVに焼き込まれている文言はHTML側では出さない（二重表示の防止） */
  .gpn-hero--kv .gpn-hero__lead,
  .gpn-hero--kv .gpn-hero__desc {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    white-space: nowrap;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    border: 0;
  }
  .gpn-hero--kv .gpn-hero__cta { margin-top: 0; }
}

@media screen and (max-width: 1024px) {
  /* 狭い画面ではKVの焼き込み文字が小さくて読めないので、HTML側の見出しを出す */
  .gpn-hero--kv .gpn-hero__body { padding: 16px 20px 0; }
  .gpn-hero--kv .gpn-hero__balloon {
    position: static;
    margin: 14px 20px 0;
    max-width: none;
  }
}

/* KV下の帯では横幅いっぱいだとカードが間延びするので、CTAの列に合わせて絞る */
@media screen and (min-width: 1025px) {
  .gpn-hero--kv .gpn-hero__support { max-width: 1000px; }
}

/* -------------------------------------------------- 目次（Table of Contents Plus）
   GPNだけ TOC プラグインが入っている。枠と背景は共通ルールで暗くなるが、
   見出し「Contents」の色はプラグイン側の指定（暗い青紫）が残って読めないので上書きする。 */
body.gpn-theme #toc_container .toc_title,
body.gpn-theme #toc_container .toc_title * { color: var(--gpn-text) !important; }
body.gpn-theme #toc_container .toc_list a { color: #dbe4ee !important; text-decoration: none; }
body.gpn-theme #toc_container .toc_list a:hover { color: var(--gpn-cyan) !important; }
body.gpn-theme #toc_container .toc_number { color: var(--gpn-muted); }
body.gpn-theme #toc_container .toc_toggle a { color: var(--gpn-muted) !important; }

/* ==========================================================================
   Hero下の導線カード（2026-08-18）
   支給素材は「カード全体が1枚の画像」。見出しも説明文も矢印も焼き込まれているので、
   HTML側の文字は視覚的に隠し、画像をそのままカードとして並べる。
   ========================================================================== */
.gpn-navcards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.gpn-navcard a {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.gpn-navcard a:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.28); }
.gpn-navcard a:focus-visible { outline: 2px solid var(--gpn-cyan); outline-offset: 3px; }
/* body.gpn-theme img (0,1,2) に負けないようクラス2つで指定する */
.gpn-navcard .gpn-navcard__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}
.gpn-navcard .gpn-navcard__label {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  white-space: nowrap;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .gpn-navcard a { transition: none; }
  .gpn-navcard a:hover { transform: none; }
}

@media screen and (max-width: 768px) {
  .gpn-navcards { grid-template-columns: 1fr; gap: 12px; }
}

/* GPNのジャンルカード素材は 1485x1059（≒7:5）。移植元の 3:2 のままだと上下が切れるので合わせる */
.gpn-genre--art > a { aspect-ratio: 7 / 5; }

/* ==========================================================================
   ライトテーマ（2026-08-18）
   見本 docs/@gameplusnavi.com/12.png に合わせて、紙面をクリーム＋白へ反転する。
   移植元（game-choices）は暗色前提で色を直書きしている箇所が多いので、
   ここで主要セレクタをまとめて上書きする。**このブロックが最優先**。
   ヘッダー・Hero・見出し帯・フッターは紺のまま残す。
   ========================================================================== */
body.gpn-theme { background: var(--gpn-bg); color: var(--gpn-text); }
body.gpn-theme #wrapper,
body.gpn-theme #scroll-content,
body.gpn-theme #contents,
body.gpn-theme .gpn-contents { background: transparent; }

/* -------------------------------------------------- セクションの紙 */
body.gpn-front .gpn-section > .gpn-inner,
body.gpn-front .gpn-section--split > .gpn-inner {
  background: #fff;
  border: 1px solid var(--gpn-border);
  box-shadow: 0 2px 12px rgba(27, 36, 50, .06);
}

/* -------------------------------------------------- 見出しは紺の帯にする */
body.gpn-front .gpn-section__head,
body.gpn-front .gpn-split__col > .gpn-section__head {
  background: var(--gpn-navy);
  margin: -18px -18px 16px;
  padding: 13px 18px;
  border-radius: 13px 13px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
body.gpn-front .gpn-section__title { color: #fff; font-size: 17px; }
body.gpn-front .gpn-section__title::before { background: var(--gpn-cyan-dim); }
body.gpn-front .gpn-section__note { color: rgba(255,255,255,.72); }

/* 見出し右の「もっと見る」 */
.gpn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.34);
  background: rgba(255,255,255,.06);
  color: #f4e9cf !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease;
}
.gpn-more:hover { background: rgba(255,255,255,.14); border-color: var(--gpn-cyan-dim); }
.gpn-more svg { width: 13px; height: 13px; }

/* -------------------------------------------------- カード類を白に */
body.gpn-theme .gpn-card a,
body.gpn-theme .gpn-list__item a,
body.gpn-theme .gpn-rank__item a {
  background: #fff;
  border: 1px solid var(--gpn-border);
  box-shadow: 0 1px 6px rgba(27, 36, 50, .05);
}
body.gpn-theme .gpn-card a:hover,
body.gpn-theme .gpn-list__item a:hover,
body.gpn-theme .gpn-rank__item a:hover {
  border-color: rgba(184, 134, 11, .55);
  box-shadow: 0 10px 26px rgba(27, 36, 50, .12);
}
body.gpn-theme .gpn-card__title,
body.gpn-theme .gpn-list__title,
body.gpn-theme .gpn-rank__title { color: var(--gpn-text); }
body.gpn-theme .gpn-card__desc,
body.gpn-theme .gpn-list__desc { color: #5d6a7d; }
body.gpn-theme .gpn-card__meta time,
body.gpn-theme .gpn-card__meta { color: #8a94a3; }
body.gpn-theme .gpn-thumb-empty { background: linear-gradient(140deg, #e9e4d6, #f5f2ea); }

/* カテゴリバッジ */
body.gpn-theme .gpn-tag {
  background: rgba(184, 134, 11, .10);
  border: 1px solid rgba(184, 134, 11, .30);
  color: #8a6a1f;
}

/* 順位バッジ（4位以降） */
body.gpn-theme .gpn-rank__no {
  background: rgba(27, 36, 50, .06);
  border-color: var(--gpn-border);
  color: #6b7789;
}
body.gpn-theme .gpn-rank__thumb { background: #eee9dc; }

/* -------------------------------------------------- ページ送り */
body.gpn-theme .gpn-pager__item {
  background: #fff;
  border-color: var(--gpn-border);
  color: #46536a !important;
}
body.gpn-theme a.gpn-pager__item:hover { background: #fbf7ec; border-color: rgba(184,134,11,.55); }
body.gpn-theme .gpn-pager__item.is-current {
  background: linear-gradient(140deg, #d9a52f, #b8860b);
  color: #2a1f00 !important;
  border-color: transparent;
}
body.gpn-theme .gpn-pager__gap { color: #8a94a3; }

/* -------------------------------------------------- カルーセルの矢印 */
body.gpn-theme .gpn-carousel__nav {
  background: rgba(255, 255, 255, .94);
  border-color: var(--gpn-border);
  color: #33405a;
  box-shadow: 0 2px 10px rgba(27, 36, 50, .14);
}
body.gpn-theme .gpn-carousel__nav:hover { background: #fff; border-color: rgba(184,134,11,.6); }
body.gpn-theme .gpn-cards { scrollbar-color: rgba(184,134,11,.45) transparent; }
body.gpn-theme .gpn-cards::-webkit-scrollbar-thumb { background: rgba(184,134,11,.35); }

/* -------------------------------------------------- 本文・見出し・リンク */
body.gpn-theme h1, body.gpn-theme h2, body.gpn-theme h3,
body.gpn-theme h4, body.gpn-theme h5 { color: var(--gpn-text); }
body.gpn-theme p, body.gpn-theme li, body.gpn-theme td, body.gpn-theme dd { color: #33405a; }
body.gpn-theme .post-meta { color: #8a94a3; }

/* 記事ページの紙 */
body.gpn-theme .cps-post-main,
body.gpn-theme .post-list-mag-inner,
body.gpn-theme .post-list-inner,
body.gpn-theme #sidebar .widget,
body.gpn-theme .widget_categories,
body.gpn-theme #breadcrumb,
body.gpn-theme .post-content-box,
body.gpn-theme article.post {
  background: #fff;
  border: 1px solid var(--gpn-border);
  color: var(--gpn-text);
}

/* アプリーチは明るい紙面なので、素材どおりの白い箱に戻す */
body.gpn-theme .appreach {
  background: #fafafa;
  border: 1px solid #e2e2e2;
  color: #24313f;
  box-shadow: none;
}
body.gpn-theme .appreach .appreach__name { color: #16202b; }
body.gpn-theme .appreach .appreach__info,
body.gpn-theme .appreach .appreach__info span,
body.gpn-theme .appreach .appreach__developper,
body.gpn-theme .appreach .appreach__price,
body.gpn-theme .appreach .appreach__posted,
body.gpn-theme .appreach .appreach__posted a { color: #6d7b8a; }

/* 目次 */
body.gpn-theme #toc_container { background: #faf8f2; border: 1px solid var(--gpn-border); }
body.gpn-theme #toc_container .toc_title,
body.gpn-theme #toc_container .toc_title * { color: var(--gpn-text) !important; }
body.gpn-theme #toc_container .toc_list a { color: #33405a !important; }
body.gpn-theme #toc_container .toc_list a:hover { color: var(--gpn-cyan) !important; }

/* -------------------------------------------------- Heroは紺のまま */
body.gpn-theme .gpn-hero { background: var(--gpn-navy); }
body.gpn-theme .gpn-hero__lead,
body.gpn-theme .gpn-hero__balloon { color: #fff; }
body.gpn-theme .gpn-hero__desc { color: #d8dfe8; }
body.gpn-theme .gpn-hero__balloon { background: rgba(9, 20, 33, .86); border-color: rgba(201,162,39,.35); }
body.gpn-theme .gpn-hero__balloonby { color: #b9c4d2; }
body.gpn-theme .gpn-hero__cta .gpn-btn--primary {
  background: linear-gradient(90deg, #e0b73a, #b8860b);
  color: #241a00 !important;
}
body.gpn-theme .gpn-hero__cta .gpn-btn--ghost {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.34);
  color: #f2f5f9 !important;
}

/* -------------------------------------------------- Hero下の帯（検索窓＋ジャンルタグ）
   見本は「検索窓」と「人気のジャンル：タグ…」が横一列に並ぶ1本の帯。
   検索窓を固定幅にして、残りの幅をタグ側へ渡す。 */
.gpn-herobar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin: 0 0 22px;
}
.gpn-herosearch {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 0 0 auto;
  width: 100%;
  max-width: 360px;
  background: rgba(255, 255, 255, .95);
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
}
.gpn-herosearch input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: #1b2432;
  font-size: 14px;
  outline: none;
}
.gpn-herosearch input[type="search"]::placeholder { color: #93a0b1; }
.gpn-herosearch button {
  flex: none;
  width: 52px;
  height: 46px;
  border: 0;
  cursor: pointer;
  background: var(--gpn-navy);
  color: #f4e9cf;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.gpn-herosearch button:hover { background: #16304a; }
.gpn-herosearch button svg { width: 18px; height: 18px; }

/* -------------------------------------------------- Hero内の「人気のジャンル」タグ */
.gpn-herotags {
  margin: 0;
  flex: 1 1 260px;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
.gpn-herotags__label {
  color: #b9c4d2;
  font-size: 12.5px;
  font-weight: 600;
  margin-right: 2px;
  white-space: nowrap;
}
.gpn-herotags a {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .06);
  color: #dfe6ee !important;
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}
.gpn-herotags a:hover {
  border-color: var(--gpn-cyan);
  background: rgba(227, 192, 74, .12);
  color: var(--gpn-cyan) !important;
}

@media (prefers-reduced-motion: reduce) { .gpn-herotags a { transition: none; } }

@media screen and (max-width: 640px) {
  /* 検索窓とタグを横に並べる余白が無いので縦積みに戻す */
  .gpn-herobar { flex-direction: column; align-items: stretch; gap: 12px; }
  .gpn-herosearch { max-width: none; }
}

/* -------------------------------------------------- フッターを明るく（見本に合わせる） */
body.gpn-theme #footer,
body.gpn-theme #footer-in,
body.gpn-theme .footer-inner {
  background: #fff;
  color: #46536a;
  border-top: 1px solid var(--gpn-border);
}
body.gpn-theme #footer a,
body.gpn-theme .gpn-footlinks a { color: #46536a !important; }
body.gpn-theme #footer a:hover,
body.gpn-theme .gpn-footlinks a:hover { color: var(--gpn-cyan) !important; }
body.gpn-theme .gpn-footlinks { border-top: 1px solid var(--gpn-border); }
body.gpn-theme #footer .copyright,
body.gpn-theme #footer small { color: #8a94a3; }

/* KVを使うときは、3枚の導線カードがCTAの役目を兼ねるのでボタンは出さない（見本に合わせる） */
.gpn-hero--kv .gpn-hero__cta { display: none; }

/* JINのボタンCSSに負けないよう、検索ボタンの色は明示する */
.gpn-herosearch button[type="submit"] {
  background: var(--gpn-navy) !important;
  color: #f4e9cf !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.gpn-herosearch button[type="submit"]:hover { background: #16304a !important; }

/* 検索ボタンのアイコンが潰れる（JIN側の svg 指定に負けて width:0 になる）ので明示する */
.gpn-herosearch button[type="submit"] svg {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  flex: none;
  display: block;
}

/* フッターは <footer>（idなし）。見本に合わせて明るくする */
body.gpn-theme footer,
body.gpn-theme footer .footer-box,
body.gpn-theme .footer-box {
  background: #fff !important;
  color: #46536a;
  border-top: 1px solid var(--gpn-border);
}
body.gpn-theme footer a { color: #46536a !important; }
body.gpn-theme footer a:hover { color: var(--gpn-cyan) !important; }
body.gpn-theme footer .copyright,
body.gpn-theme footer small,
body.gpn-theme footer .footer-copy { color: #8a94a3 !important; }

/* ==========================================================================
   KVまわりの調整（2026-08-18）
   1) KVの上と左右に余白が出ていた → Heroだけ全幅にして、ヘッダーとの隙間も詰める
   2) 導線カードの高さが揃わない → rank素材だけ 1896x830 と比率が違うので枠を固定する
   ========================================================================== */
.gpn-hero--kv {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  margin-top: 0;
  border-radius: 0;
  padding-top: 0;
}
/* Hero直前の余白（テーマ側の padding / margin）を消す */
body.gpn-front #contents,
body.gpn-front .gpn-contents { padding-top: 0; margin-top: 0; }
body.gpn-front .gpn-hero--kv .gpn-hero__bgimg { border-radius: 0; }

/* KVの中の要素は従来どおり中央1360pxに収める */
.gpn-hero--kv .gpn-hero__inner {
  max-width: var(--gpn-max);
  margin-left: auto;
  margin-right: auto;
}

/* 導線カードは3枚とも同じ高さに揃える（素材の比率違いを吸収する） */
.gpn-navcard a {
  aspect-ratio: 2048 / 768;
  display: block;
  height: auto;
}
.gpn-navcard .gpn-navcard__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* KVを画面いっぱいに出す。
   親の #contents が max-width:1360px で中央寄せなので、その制限を 100vw で抜ける。
   100vw は縦スクロールバーぶん広くなるので、横スクロールが出ないよう body 側で抑える。 */
body.gpn-front { overflow-x: hidden; }
.gpn-hero--kv {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* ==========================================================================
   新着レビューとランキングを別々の紙に分ける（2026-08-18）
   2カラムを1枚の白い紙の中に入れていたため、各カラムの見出し帯が
   負マージンで左右に伸びて**1本につながって見えていた**。
   紙をカラム単位にして、帯もそのカラムの中で完結させる。
   ========================================================================== */
body.gpn-front .gpn-section--split > .gpn-inner {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}
body.gpn-front .gpn-split__col {
  background: #fff;
  border: 1px solid var(--gpn-border);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(27, 36, 50, .06);
  padding: 18px;
  overflow: hidden;
}
body.gpn-front .gpn-split__col > .gpn-section__head {
  margin: -18px -18px 16px;
  border-radius: 13px 13px 0 0;
}
/* 2カラムの間隔を空ける */
body.gpn-front .gpn-split { gap: 22px; }

@media screen and (max-width: 900px) {
  body.gpn-front .gpn-split { gap: 18px; }
}
@media screen and (max-width: 600px) {
  body.gpn-front .gpn-split__col { padding: 16px; }
  body.gpn-front .gpn-split__col > .gpn-section__head { margin: -16px -16px 14px; }
}

/* ==========================================================================
   指摘対応（2026-08-18・その2）
   ========================================================================== */

/* -------------------------------------------------- 1) カテゴリ見出しの配色
   .gpn-archive-head は紺のまま残しているのに、ライトテーマ化のときに追加した
   `body.gpn-theme h1,h2,h3...{color:var(--gpn-text)}`（class+tag = 詳細度0,1,1）が
   `.gpn-archive-title{color:#fff}`（詳細度0,1,0）に勝ってしまい、
   紺の背景に紺の文字が乗って読めなくなっていた。クラス2つで上書きする。 */
body.gpn-theme .gpn-archive-title { color: #fff !important; }
body.gpn-theme .gpn-archive-count { color: #b9c4d2 !important; }
body.gpn-theme .gpn-archive-intro { color: #cfd8e3 !important; }

/* -------------------------------------------------- 2) サイドバー検索ウィジェットの高さ
   JIN/コアブロック既定のボタンが padding:12px 34px + border-radius:999px のまま
   だったため、幅に対して文字「検索」が縦に折り返し、ボタンだけ70px近くまで
   伸びて入力欄と高さが揃わなかった。高さを固定し、文字を1行に強制する。 */
#sidebar .wp-block-search__inside-wrapper { align-items: stretch; gap: 0; }
#sidebar .wp-block-search__input {
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--gpn-border);
  border-radius: 10px 0 0 10px;
  background: #fff;
  color: var(--gpn-text);
  font-size: 14px;
  box-sizing: border-box;
}
#sidebar .wp-block-search__button {
  height: 46px;
  padding: 0 20px;
  border-radius: 0 10px 10px 0;
  background: linear-gradient(140deg, var(--gpn-cyan-dim), var(--gpn-cyan)) !important;
  color: #241a00 !important;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  box-sizing: border-box;
}
#sidebar .wp-block-search__button:hover { filter: brightness(1.05); }

/* -------------------------------------------------- 3) 「最近の投稿」のサムネイル
   ウィジェットが core/latest-posts の既定設定（サムネイル非表示）のままだった。
   投稿側は widget_block オプションで displayFeaturedImage を有効化し、
   ここでは有効化後の見た目（小さいサムネ＋タイトルの横並び）を整える。 */
#sidebar .wp-block-latest-posts { list-style: none; margin: 0; padding: 0; }
#sidebar .wp-block-latest-posts__list.is-grid { display: block; }
#sidebar .wp-block-latest-posts li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gpn-border);
}
#sidebar .wp-block-latest-posts li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
#sidebar .wp-block-latest-posts__featured-image {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #eee9dc;
}
#sidebar .wp-block-latest-posts__featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#sidebar .wp-block-latest-posts__post-title {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 700;
  color: var(--gpn-text) !important;
  text-decoration: none;
}
#sidebar .wp-block-latest-posts__post-title:hover { color: var(--gpn-cyan) !important; }

/* ==========================================================================
   フッター配色の最終上書き（2026-08-18・その3）
   このCSSはダーク時代→ライト化と複数回手を入れており、
   #footer-box（id）／.footer-inner／.gpn-footlinks の背景色が
   途中のどのブロックからも上書きされずに黒(#050a14)のまま残っていた。
   ここに集約し、実際に存在するセレクタ（id・class）を漏れなく指定する。
   このファイルの一番最後にあるルールが最優先。
   ========================================================================== */
body.gpn-theme #footer-box,
body.gpn-theme #footer-box .footer-inner,
body.gpn-theme .gpn-footlinks {
  background: #fff !important;
  color: #46536a;
}
body.gpn-theme #footer-box #privacy a,
body.gpn-theme #footer-box #law a,
body.gpn-theme .gpn-footlinks a {
  color: #46536a !important;
}
body.gpn-theme #footer-box #privacy a:hover,
body.gpn-theme #footer-box #law a:hover,
body.gpn-theme .gpn-footlinks a:hover {
  color: var(--gpn-cyan) !important;
}
/* #copyright はリンクではなく span 直書きなので、色を明示しないと親の color を継承するだけになる */
body.gpn-theme #footer-box #copyright { color: #8a94a3 !important; }
body.gpn-theme #footer-box #copyright svg { fill: #8a94a3; }
body.gpn-theme .gpn-footlinks { border-top: 1px solid var(--gpn-border) !important; }
/* JIN親テーマは各リンクに border-left/right:1px solid #fff（明るいフッター前提の区切り線）
   を付けている。今は白背景なので白地に白で見えていないが、
   game-choices.com（暗色フッター）で同じ構造が白い縦線として浮いて見える不具合が出た。
   GPN側も将来フッターを暗色に戻したときに同じ不具合が出ないよう、ここで無効化しておく。 */
body.gpn-theme #footer-box .footer-inner a { border: 0 !important; }
/* #footer-box 自体にも古いダーク時代の border-top:1px solid var(--gpn-border) が残っている。
   #footer-box は margin:0 213px（JINの設定で中央寄せ・全幅より狭い）ため、
   その上境界線が footer の端まで届かず「中途半端に薄い横線」に見える
   （game-choices.com で発生したのと同じ不具合。GPNは白背景なのでごく薄いが実在する）。 */
body.gpn-theme #footer-box { border-top: 0 !important; }
/* #footer-box を消しても線が残っていた。原因は <footer> タグ自体と .footer-inner が
   それぞれ独立に JIN親テーマのデフォルト border-top:1px solid rgba(27,36,50,.14) を
   持っていたため（#footer-boxとは別要素・別ルーツ）。両方を明示的に0にする。 */
body.gpn-theme footer,
body.gpn-theme footer .footer-inner,
body.gpn-theme .footer-inner {
  border-top: 0 !important;
}
