@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px) {
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px) {
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px) {
  /*必要ならばここにコードを書く*/
}

/* ==========================================================================
   ゲーム推奨PC検索 Cocoonデザインカスタマイズ
   ========================================================================== */

/* --- 1. ヘッダーエリア・要約サマリー --- */
.game-header-area,
.gpu-header-area {
  margin-bottom: 24px;
}

.game-summary {
  background: #f8fafc;
  border-left: 4px solid #3b82f6;
  padding: 14px 18px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #334155;
  border-radius: 0 8px 8px 0;
  margin: 15px 0;
}

.badge-super-light {
  background-color: #10b981;
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.8rem;
}

.badge-light {
  background-color: #06b6d4;
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.8rem;
}

.badge-middle {
  background-color: #3b82f6;
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.8rem;
}

.badge-heavy {
  background-color: #f59e0b;
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.8rem;
}

.badge-super-heavy {
  background-color: #ef4444;
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.8rem;
}

.price-highlight {
  font-size: 1.15rem;
  font-weight: bold;
  color: #e11d48;
}

/* --- 2. 松竹梅 おすすめPCボックス --- */
.matsu-take-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px;
  margin: 25px 0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.matsu-take-box.matsu {
  border-top: 5px solid #dc2626;
}

.matsu-take-box.take {
  border-top: 5px solid #2563eb;
}

.matsu-take-box.ume {
  border-top: 5px solid #059669;
}

.matsu-take-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 8px;
}

.matsu-take-badge {
  font-size: 0.85rem;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 20px;
  color: #ffffff;
}

.matsu-take-badge.matsu {
  background: #dc2626;
}

.matsu-take-badge.take {
  background: #2563eb;
}

.matsu-take-badge.ume {
  background: #059669;
}

.matsu-take-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #1e293b;
}

.matsu-take-desc {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* --- 3. BTOボタンスタイルの文字崩れ防止 --- */
.bto-btn-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

@media (min-width: 640px) {
  .bto-btn-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}

.btn-bto {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  border-radius: 6px;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.15);
  transition: transform 0.1s ease;
}

.btn-bto:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
  opacity: 0.95;
}

.btn-bto .btn-main {
  font-size: 0.95rem;
  font-weight: bold;
  line-height: 1.3;
}

.btn-bto .btn-sub {
  font-size: 0.72rem;
  opacity: 0.9;
  margin-top: 2px;
}

.btn-dospara {
  background: linear-gradient(180deg, #ff6b35 0%, #e8590c 100%);
}

.btn-mouse {
  background: linear-gradient(180deg, #fab005 0%, #f59f00 100%);
  color: #1e293b !important;
}

.btn-tsukumo {
  background: linear-gradient(180deg, #10b981 0%, #059669 100%);
}

.btn-asus {
  background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff !important;
}

/* --- 4. スペック・判定テーブル --- */
.spec-table-scroll {
  overflow-x: auto;
  margin: 20px 0;
  -webkit-overflow-scrolling: touch;
}

.gamepc-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 500px;
}

.gamepc-spec-table th,
.gamepc-spec-table td {
  border: 1px solid #cbd5e1;
  padding: 10px 12px;
  text-align: left;
}

.gamepc-spec-table th {
  background-color: #f1f5f9;
  color: #334155;
  font-weight: bold;
}

.matrix-status-pass {
  color: #16a34a;
  font-weight: bold;
}

.matrix-status-mid {
  color: #ca8a04;
  font-weight: bold;
}

.matrix-status-fail {
  color: #dc2626;
  font-weight: bold;
}

/* --- 5. Steamステータスサマリー（メリハリ強化） --- */
.steam-status-banner {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 12px;
  padding: 16px 20px;
  color: #f8fafc;
  margin: 20px 0 25px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.status-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.meta-left-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.meta-feature-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 4px;
}

.badge-jp {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.badge-no-jp {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.badge-ctrl {
  background: #e0e7ff;
  color: #4338ca;
  border: 1px solid #c7d2fe;
}

.badge-ctrl-part {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.meta-score-badge,
.meta-recomms-badge {
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
}

.meta-score-badge strong {
  color: #4ade80;
}

.meta-recomms-badge strong {
  color: #38bdf8;
}

.status-date-badge {
  font-size: 0.88rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
}

.genre-tag {
  display: inline-block;
  background: #334155;
  color: #93c5fd !important;
  font-size: 0.85rem;
  padding: 3px 10px;
  border-radius: 12px;
  margin-left: 6px;
  text-decoration: none !important;
  transition: opacity 0.2s, background-color 0.2s;
}

.genre-tag:hover {
  background: #1e293b;
  opacity: 0.9;
}

/* --- Steamステータスサマリー（文字サイズ拡大 ＆ 4カラム対応） --- */
.status-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  text-align: center;
  align-items: center;
  padding: 8px 0;
}

@media (max-width: 680px) {
  .status-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 10px;
  }
}

.status-tit {
  display: block;
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 6px;
  font-weight: bold;
}

.status-val {
  font-size: 1.25rem;
  font-weight: bold;
}

.status-val strong {
  font-size: 1.35rem;
}

.status-val-lg {
  font-size: 1.6rem;
  font-weight: bold;
  color: #fbbf24;
}

/* --- Steam本体価格・セールバッジ --- */
.price-box-flex {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.price-val-sale {
  font-size: 1.25rem;
  font-weight: bold;
  color: #f87171;
}

.price-val-normal {
  font-size: 1.25rem;
  font-weight: bold;
  color: #f8fafc;
}

.price-badge-sale {
  background: #ef4444;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.price-badge-free {
  display: inline-block;
  background: #10b981;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 4px;
}

.price-link-steam {
  display: inline-block;
  font-size: 0.82rem;
  color: #60a5fa !important;
  text-decoration: underline !important;
  font-weight: normal;
  transition: color 0.15s ease;
}

.price-link-steam:hover {
  color: #93c5fd !important;
}

/* 価格逆転セール訴求バッジ */
.badge-sale-highlight {
  display: inline-block;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
}

.price-reverse-note {
  font-size: 0.82rem;
  color: #ef4444;
  font-weight: bold;
  margin-top: 8px;
}

.ume-stepup-note {
  font-size: 0.82rem;
  color: #0369a1;
  font-weight: 500;
  margin-top: 8px;
  background: #f0f9ff;
  border-left: 3px solid #0284c7;
  padding: 6px 10px;
  border-radius: 0 4px 4px 0;
  line-height: 1.5;
}

/* --- 6. 専門ライター要約ボックス --- */
.game-summary-box {
  background: #f0f9ff;
  border-left: 4px solid #0284c7;
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  margin: 20px 0;
}

.summary-label {
  font-size: 0.78rem;
  font-weight: bold;
  color: #0369a1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.game-summary-box p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #334155;
}

/* --- 7. 解像度判定テーブル＆バッジ --- */
.gamepc-matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 540px;
}

.gamepc-matrix-table th,
.gamepc-matrix-table td {
  border: 1px solid #cbd5e1;
  padding: 10px 12px;
  text-align: center;
}

.gamepc-matrix-table th {
  background-color: #f1f5f9;
  color: #334155;
  font-weight: bold;
}

.gamepc-matrix-table .col-tier {
  text-align: left;
}

.gamepc-matrix-table .col-score {
  font-weight: 600;
  color: #475569;
}

.matrix-badge-pass {
  display: inline-block;
  background-color: #dcfce7;
  color: #15803d;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.85rem;
}

.matrix-badge-mid {
  display: inline-block;
  background-color: #dbeafe;
  color: #1d4ed8;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.85rem;
}

.matrix-badge-warn {
  display: inline-block;
  background-color: #fef3c7;
  color: #b45309;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.85rem;
}

.matrix-badge-fail {
  display: inline-block;
  background-color: #fee2e2;
  color: #b91c1c;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.85rem;
}

/* --- 8. 松竹梅 リッチBTO商品カード --- */
.bto-product-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px;
  margin: 28px 0;
  box-shadow: 0 4px 8px -2px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.bto-product-card.card-ume {
  border-top: 5px solid #059669;
}

.bto-product-card.card-take {
  border-top: 5px solid #2563eb;
}

.bto-product-card.card-matsu {
  border-top: 5px solid #dc2626;
}

.card-ribbon {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: bold;
  color: #ffffff;
  padding: 3px 12px;
  border-radius: 14px;
  margin-bottom: 10px;
}

.card-ume .card-ribbon {
  background: #059669;
}

.card-take .card-ribbon {
  background: #2563eb;
}

.card-matsu .card-ribbon {
  background: #dc2626;
}

.card-tier-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #0f172a;
  margin-bottom: 4px;
}

.card-tier-sub {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 14px;
}

.card-spec-summary {
  background: #f8fafc;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
}

.spec-item {
  font-size: 0.93rem;
  color: #334155;
  line-height: 1.8;
}

.spec-tit {
  color: #64748b;
  font-weight: 600;
  margin-right: 6px;
}

.price-val {
  font-size: 1.15rem;
  font-weight: bold;
  color: #e11d48;
}

.card-footer-note {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 10px;
  text-align: right;
}

/* --- 9. ゲーム購入ボックス（Steam誘導） --- */
.game-buy-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
  text-align: center;
}

.game-buy-box p {
  margin-bottom: 12px;
  color: #475569;
}

.buy-btn-wrap {
  display: flex;
  justify-content: center;
}

.btn-steam-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff !important;
  font-weight: bold;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none !important;
  box-shadow: 0 4px 0 #000000;
  transition: transform 0.1s, box-shadow 0.1s;
  width: 100%;
  max-width: 480px;
  text-align: center;
}

.btn-steam-link:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #000000;
  background: linear-gradient(180deg, #334155 0%, #1e293b 100%);
  color: #ffffff !important;
}

.steam-btn-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn-steam-link .btn-main {
  font-size: 1.02rem;
  color: #f1f5f9;
}

.btn-steam-link .btn-sub {
  font-size: 0.75rem;
  font-weight: normal;
  color: #94a3b8;
  margin-top: 3px;
}

/* --- 9.1 Amazon CTAエリア --- */
.monetize-box {
  background: #fffbeb;
  border: 2px solid #fef3c7;
  border-radius: 10px;
  padding: 20px;
  margin: 25px 0;
  text-align: center;
}

.monetize-sub {
  font-size: 0.88rem;
  color: #78350f;
  margin-bottom: 12px;
}

.btn-amazon-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ff9900 0%, #e68a00 100%);
  color: #111 !important;
  font-weight: bold;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none !important;
  box-shadow: 0 4px 0 #b36b00;
  transition: transform 0.1s;
}

.btn-amazon-cta:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #b36b00;
}

.btn-amazon-cta .btn-main {
  font-size: 1.05rem;
}

.btn-amazon-cta .btn-sub {
  font-size: 0.75rem;
  font-weight: normal;
  margin-top: 2px;
}

.steam-sub-link {
  margin-top: 12px;
  color: #64748b;
}

.steam-sub-link a {
  color: #0284c7;
  text-decoration: underline;
}

.steam-sub-link a:hover {
  color: #0369a1;
}

/* --- 10. 関連ゲームボックス --- */
.related-games-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 24px 0;
}

.related-games-box h4 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: #1e293b;
}

.related-games-box ul {
  margin: 0;
  padding-left: 20px;
}

.related-games-box li {
  line-height: 1.8;
}

/* --- 11. ランキング色分けバッジ ＆ メタ情報 --- */
.rank-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 1.1rem;
}

.rank-gold {
  background: linear-gradient(135deg, #ffd700 0%, #ffae00 100%);
  color: #4a2c00;
  box-shadow: 0 2px 6px rgba(255, 174, 0, 0.4);
}

.rank-silver {
  background: linear-gradient(135deg, #e0e0e0 0%, #b0bec5 100%);
  color: #263238;
}

.rank-bronze {
  background: linear-gradient(135deg, #d7ccc8 0%, #a1887f 100%);
  color: #3e2723;
}

.rank-top10 {
  background: #3b82f6;
  color: #fff;
  font-size: 0.95rem;
}

.rank-badge-normal {
  font-size: 1.15rem;
  color: #fbbf24;
}

.release-date-text {
  font-size: 0.82rem;
  color: #94a3b8;
}

/* --- 12. 内部リンクスタイル --- */
.gpu-internal-link {
  color: #2563eb !important;
  text-decoration: underline !important;
  font-weight: bold;
}

.gpu-internal-link:hover {
  color: #1d4ed8 !important;
  text-decoration: none !important;
}

/* --- 13. Amazon収益化ボックスの改善 --- */
.monetize-badge {
  display: inline-block;
  background: #10b981;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.monetize-btn-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
  align-items: center;
}

.btn-amazon-sub-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #111111 !important;
  font-weight: bold;
  padding: 10px 24px;
  border-radius: 8px;
  border: 2px solid #ff9900;
  text-decoration: none !important;
  transition: background 0.1s ease;
  width: 100%;
  max-width: 480px;
}

.btn-amazon-sub-cta:hover {
  background: #fff7ed;
}

.btn-amazon-sub-cta .btn-main {
  font-size: 0.95rem;
}

.btn-amazon-sub-cta .btn-sub {
  font-size: 0.72rem;
  color: #666;
  margin-top: 2px;
}

/* --- 通信回線解説ボックス --- */
.network-spec-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #3b82f6;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0 30px 0;
}

.network-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.net-check-item {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 10px;
  text-align: center;
}

.net-tit {
  display: block;
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 2px;
}

.net-val {
  font-size: 0.95rem;
  font-weight: bold;
  color: #1e293b;
}

.net-tip {
  font-size: 0.82rem;
  color: #64748b;
  margin-top: 8px;
}

/* --- 広告ショートコード スタイル (gamepc_network_ad) --- */
.gamepc-ad-wrapper {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
}

.gamepc-ad-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.gamepc-ad-badge {
  background: #94a3b8;
  color: #fff;
  font-size: 0.7rem;
  padding: 1px 6px;
  border-radius: 3px;
  font-weight: bold;
}

.gamepc-ad-caption {
  font-size: 0.85rem;
  font-weight: bold;
  color: #475569;
}

.gamepc-ad-title {
  font-size: 0.95rem;
  font-weight: bold;
  margin-bottom: 6px;
}

.gamepc-ad-features {
  margin: 0;
  padding-left: 18px;
  font-size: 0.85rem;
  color: #475569;
}

/* --- モダン購入・周辺機器カード (monetize-clean-card) --- */
.monetize-clean-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin: 25px 0;
  overflow: hidden;
}

.monetize-section {
  padding: 20px;
}

.monetize-section:first-child {
  border-bottom: 1px solid #f1f5f9;
  background: #fafafa;
}

.monetize-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.monetize-tag {
  background: #f97316;
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 4px;
}

.monetize-tag.tag-steam {
  background: #1e293b;
}

.monetize-tit {
  font-size: 1.1rem;
  font-weight: bold;
  color: #1e293b;
}

.monetize-desc {
  font-size: 0.9rem;
  color: #475569;
  margin-bottom: 14px;
  line-height: 1.6;
}

/* ボタン */
.btn-clean-amazon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ff9900 0%, #e68a00 100%);
  color: #111111 !important;
  text-decoration: none !important;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 3px 0 #b36b00;
  transition: transform 0.1s;
}

.btn-clean-amazon:hover {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #b36b00;
  opacity: 0.95;
}

.btn-clean-main {
  font-size: 1rem;
}

.btn-clean-sub {
  font-size: 0.75rem;
  font-weight: normal;
  margin-top: 2px;
}

.btn-clean-steam {
  display: inline-block;
  background: #2a475e;
  color: #c7d5e0 !important;
  text-decoration: none !important;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: bold;
  transition: background 0.1s;
}

.btn-clean-steam:hover {
  background: #1b2838;
  color: #fff !important;
}

/* --- 回線インフォグラフィックカード --- */
.network-rich-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  margin: 25px 0 35px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.network-lead-badge {
  display: inline-block;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 0.82rem;
  font-weight: bold;
  padding: 4px 12px;
  border-left: 4px solid #3b82f6;
  border-radius: 0 4px 4px 0;
  margin-bottom: 12px;
}

.network-lead-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 20px;
}

.network-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.net-feature-col {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}

.net-feature-col.highlight-col {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.net-icon {
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.net-title {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: bold;
  margin-bottom: 4px;
}

.net-value {
  font-size: 1.15rem;
  font-weight: bold;
  color: #1e293b;
  margin-bottom: 8px;
}

.net-feature-col.highlight-col .net-value {
  color: #1d4ed8;
}

.net-desc {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.5;
  text-align: left;
}

.network-action-box {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed #cbd5e1;
}

.action-tit {
  font-size: 0.88rem;
  font-weight: bold;
  color: #475569;
  margin-bottom: 12px;
}

/* --- 関連記事（同負荷ゲーム）カードグリッド --- */
.related-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 20px 0 30px 0;
}

.related-game-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.related-game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  border-color: #3b82f6;
}

.related-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 460 / 215;
  background: #0f172a;
  overflow: hidden;
}

.related-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.related-thumb-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(15, 23, 42, 0.85);
  color: #fbbf24;
  font-size: 0.72rem;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 4px;
}

.related-card-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.related-card-title {
  font-size: 0.95rem;
  font-weight: bold;
  color: #1e293b;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-card-meta {
  font-size: 0.8rem;
  color: #64748b;
}

/* --- 体験版 (Demo) ボタン --- */
.btn-clean-demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #059669;
  color: #ffffff !important;
  font-size: 0.88rem;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none !important;
  margin-top: 8px;
  box-shadow: 0 3px 0 #047857;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn-clean-demo:hover {
  transform: translateY(1px);
  box-shadow: 0 2px 0 #047857;
  background: #047857;
}

/* --- ゲームポータル ジャンルフィルター横並び担保 --- */
.game-genre-filter-wrapper,
.game-genre-filter-wrap {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.game-genre-label,
.genre-filter-label {
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

/* --------------------------------------------------
 * モバイルヘッダー・ボタンバー ダークモード統合
 * -------------------------------------------------- */
@media screen and (max-width: 834px) {

  /* ヘッダー全体およびモバイルボタンバー背景の黒化統一（余計なボーダー・シャドウを完全撤廃） */
  .mobile-header-buttons,
  .mobile-menu-buttons,
  #header-container,
  .header {
    background-color: #050b0f !important;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
  }

  /* モバイルボタン（メニュー・検索等）の配色 */
  .mobile-menu-buttons .menu-button,
  .mobile-menu-buttons .menu-button>a {
    background-color: #050b0f !important;
    color: #ffffff !important;
  }

  /* アイコン色（ネオンシアン） */
  .mobile-menu-buttons .menu-button .menu-icon,
  .mobile-menu-buttons .menu-icon {
    color: #38bdf8 !important;
  }

  /* キャプション文字（白） */
  .mobile-menu-buttons .menu-button .menu-caption,
  .mobile-menu-buttons .menu-caption {
    color: #f1f5f9 !important;
  }

  /* タップ・ホバー時の背景 */
  .mobile-menu-buttons .menu-button>a:hover,
  .mobile-menu-buttons .menu-button>a:active {
    background-color: #1e293b !important;
  }

  /* ロゴ周りの余計なマージン・ボーダー解消 */
  .header-container .logo-header,
  .mobile-header-buttons .logo-header {
    background-color: transparent !important;
    border: none !important;
  }

  /* --------------------------------------------------
   * モバイル展開メニュー・ドロワー（navi-menu-content）完全ダーク統合
   * -------------------------------------------------- */
  /* ドロワー全体およびリスト背景の黒化統一 */
  #navi-menu-content,
  .navi-menu-content,
  .menu-content,
  .menu-drawer,
  .menu-drawer li {
    background-color: #050b0f !important;
    color: #f8fafc !important;
  }

  /* メニュー項目リンク（文字色白・ダーク下線ボーダー） */
  .menu-drawer a {
    background-color: #050b0f !important;
    color: #f8fafc !important;
    border-bottom: 1px solid #1e293b !important;
    display: block;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  /* タップ・ホバー時のネオンシアンハイライト */
  .menu-drawer a:hover,
  .menu-drawer a:active {
    background-color: #1e293b !important;
    color: #38bdf8 !important;
  }

  /* 閉じるボタン（×マーク領域） */
  .navi-menu-close-button,
  .menu-close-button {
    background-color: #0b1320 !important;
    color: #94a3b8 !important;
    border-bottom: 1px solid #1e293b !important;
  }

  .navi-menu-close-button:hover,
  .menu-close-button:hover {
    background-color: #1e293b !important;
    color: #38bdf8 !important;
  }

  /* 検索ドロワー展開領域の背景統一 */
  #search-menu-content,
  .search-menu-content {
    background-color: #050b0f !important;
    border-bottom: 1px solid #1e293b !important;
  }
}

/* --------------------------------------------------
 * PCグローバルナビ インライン検索窓スタイル（方針A: 中央集約配置）
 * -------------------------------------------------- */
@media screen and (min-width: 835px) {

  /* ナビゲーションリスト全体をセンターロゴ直下に中央寄せ */
  #navi .navi-in>ul,
  .menu-header {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
  }

  /* 検索窓メニュー項目：最右端吸着を解除し、メニューのすぐ右隣に自然配置 */
  .menu-item-header-search {
    margin-left: 20px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    height: 100% !important;
  }

  /* 検索フォームコンテナ（横幅220px・高さ34px） */
  .header-inline-search-form {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 220px !important;
    height: 34px !important;
    flex-shrink: 0 !important;
  }

  /* 検索入力フィールド（サイバーダーク） */
  .header-inline-search-input {
    width: 100% !important;
    height: 100% !important;
    background-color: #0b1320 !important;
    border: 1px solid #1e293b !important;
    border-radius: 4px !important;
    color: #f8fafc !important;
    font-size: 13px !important;
    padding: 0 34px 0 12px !important;
    outline: none !important;
    transition: all 0.25s ease-in-out !important;
  }

  .header-inline-search-input::placeholder {
    color: #64748b !important;
  }

  .header-inline-search-input:focus {
    border-color: #38bdf8 !important;
    background-color: #050b0f !important;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.3) !important;
  }

  /* 検索実行ボタン（虫眼鏡） */
  .header-inline-search-submit {
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    width: 34px !important;
    height: 34px !important;
    background: transparent !important;
    border: none !important;
    color: #38bdf8 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    transition: color 0.2s ease !important;
  }

  .header-inline-search-submit:hover {
    color: #7dd3fc !important;
  }
}

/* スマホ・タブレット表示時はナビ内検索を非表示（ヘッダーアイコンと重複させない） */
@media screen and (max-width: 834px) {
  .menu-item-header-search {
    display: none !important;
  }
}