@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
Text Domain: cocoon-child
*/

/* 非表示系の要素 */
.product-affiliate-rate {
    display: none;
}
.cache-delete-link {
    display: none;
}
.internal-blogcard-footer {
    display: none;
}
/* メインコンテンツエリア */
.site-main {
    max-width: 800px;                    /* コンテンツ最大幅 */
    margin: 0 auto;                       /* 中央寄せ */
    padding: 40px 20px;                   /* 内側余白（上:40px 下:40px, 左右:20px） */
    background: #fffef9;                  /* 背景色 */
    border-radius: 12px;                  /* 角丸 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, .05); /* 影 */
}



/* .site-main 内の h2 見出し */
.site-main h2 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 28px;
    padding-left: 14px;                   /* 左の装飾バー用 */
    color: #6faf8e;
    position: relative;                   /* 擬似要素用の基準位置 */
    letter-spacing: .05em;
}

/* 見出し左の短い装飾バー */
.site-main h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: .2em;
    width: 6px;
    height: 1em;
    background: #6faf8e;
    border-radius: 3px;
}

/* 見出し下の点線 */
.site-main h2::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    border-bottom: 1px dotted #6faf8e;
    margin-top: 4px;
}

/* 記事タイトルやh1見出し */
.article-title, h1 {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: #6b4c3b;
    margin-bottom: 12px;
}
/* ページ全体の背景色・基本フォント・文字色 */
body {
    background-color: #fdf6e3;
    font-family: 'Noto Sans JP', sans-serif;
    color: #5c4b3d;
}
/* 見出し共通の色と下余白 */
h2, h3 {
    color: #8b5e3c;
    margin-bottom: 16px;
}
/* H2 見出しの文字サイズ */
h2 {
    font-size: 1.9rem;
}
/* H3 見出しの文字サイズ */
h3 {
    font-size: 1.5rem;
}
/* =========================
   ナビゲーション文字調整
========================= */
#navi .navi-in a {
    font-weight: 600;
    letter-spacing: .05em;
    font-family: "Noto Sans JP", sans-serif;
}
/* ゲーム記事のメイン画像 */
.game-main-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .08);
}
/* ゲーム情報ボックス */
.game-info {
    background: #fdf6e3;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
}
/* ゲーム情報内の段落 */
.game-info p {
    margin-bottom: 8px;
    line-height: 1.5;
    font-size: .95rem;
}
/* ゲーム説明 */
.game-description {
    line-height: 1.8;
    font-size: 1rem;
    color: #4a3c31;
}
/* ゲーム情報内のリンク */
.game-info a {
    color: #1c7ed6;
    text-decoration: underline;
}

/* ===========================
   ゲームカードリスト全体
=========================== */
.game-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); /* カラム幅の最小値240px */
    gap: 24px; /* カード間の隙間 */
	margin-top: 20px;
}

/* ===========================
   ゲームカード全体
=========================== */
.game-card {
    background: #fff; /* カードの背景色 */
    border-radius: 16px; /* 角丸 */
    overflow: hidden; /* はみ出す内容を隠す */
    box-shadow: 0 8px 20px rgba(0, 0, 0, .06); /* 標準時の影 */
    transition: transform .2s ease, box-shadow .2s ease; /* ホバー時の動き */
}

/* ホバー時の挙動 */
.game-card:hover {
    transform: translateY(-4px); /* 少し浮かせる */
    box-shadow: 0 12px 30px rgba(0, 0, 0, .1); /* 影を強める */
}

/* ===========================
   ゲームカード内の画像部分
=========================== */
.game-card-image {
    width: 100%;
    height: 180px; /* 高さ固定 */
    overflow: hidden; /* はみ出す画像を隠す */
}

.game-card-image img {
    width: 100%;
    height: auto; /* 自動で縦横比を維持 */
    display: block; /* 余白をなくす */
}

/* ===========================
   ゲームカード内情報部分
=========================== */
.game-card-info {
    padding: 16px; /* 内側の余白 */
}

.game-card-info h3,
.game-card-info h4 {
    font-size: 1.1rem; /* 見出しサイズ */
    margin-bottom: 8px; /* 下の余白 */
    color: #6b4c3b;
}

.game-card-info p {
    font-size: .95rem; /* 段落サイズ */
    color: #4a3c31;       /* 段落文字色 */
    line-height: 1.4;  /* 行間 */
    margin: 0;         /* 上下余白リセット */
}

/* ピックアップゲームのセクション全体 */
.top-recommended-games {
    margin-top: 60px;
	margin-bottom: 60px;
	padding: 0 10px;
}
/* ピックアップゲームセクションの見出し */
.top-recommended-games h2 {
    font-size: 1.2rem;
    font-weight: 500;
    color: #6faf8e;
}    

/* ===========================
   特集記事のグリッド配置
=========================== */

.latest-posts-featured {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    gap: 0px; /* 必要なgapに統一 */
}

/* 1つ目の記事は縦2行分に拡大 */
.latest-posts-featured .post-1 {
    grid-column: 1/2;
    grid-row: 1/3;
}
/* 2つ目の記事は右上 */
.latest-posts-featured .post-2 {
    grid-column: 2/3;
    grid-row: 1/2;
}
/* 3つ目の記事は右下 */
.latest-posts-featured .post-3 {
    grid-column: 2/3;
    grid-row: 2/3;
}

/* =========================
   記事タイトル（サムネイル上に重ねる部分）
========================= */
.latest-post-title {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 12px 14px;
    font-size: .9rem;
    font-weight: 700;
    color: #fff;
    background: 0 0;
    transition: all .3s ease;
}
/* =========================
   個別記事カード
========================= */
.latest-post-card {
    position: relative;
    overflow: hidden;
}
/* =========================
   サムネイル部分
========================= */
.latest-post-card {
    position: relative; /* カード自体を相対位置に */
    display: inline-block;
    overflow: hidden; /* はみ出し防止 */
}

.latest-post-thumb img {
    display: block;
    width: 100%;
    height: auto;
}

/* タイトルを画像の下端に固定 */
.latest-post-title {
    position: absolute;
    bottom: 0; /* 下端に固定 */
    left: 0;
    width: 100%;
    color: #fff;
    padding: 8px 12px;
    box-sizing: border-box;
    background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0)); /* 下から上にグラデ */
    margin: 0;
}

/* ホバー効果 */
.latest-post-card:hover .latest-post-title {
    color: #2f4f3e; /* ホバー文字色 */
    background: linear-gradient(to top, rgba(243, 240, 232, .95), rgba(243, 240, 232, .7), rgba(243, 240, 232, 0));
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}


/* =========================
   プラットフォーム別タブ全体の余白
========================= */
.top-platform-tabs {
    margin: 10px 0;
	background-color: #f5f5f5;  /* お好みの色に変更 */
  padding: 1em 1em;             /* 上下の余白も追加 */
  border-radius: 8px;         /* 角丸をつけたい場合 */
}
/* =========================
   タブボタンを並べるエリア
========================= */
.platform-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
/* =========================
   各プラットフォームのタブ
========================= */
.platform-tab {
    padding: 6px 14px;
    border-radius: 999px;
    background: #eef3ec;
    border: none;
    font-size: .85rem;
    color: #4a5d4e;
    cursor: pointer;
}
/* =========================
   選択中（アクティブ）のタブ
========================= */
.platform-tab.is-active {
    background: #dfe8dc;
    font-weight: 600;
}
/* =========================
   準備中メッセージ
========================= */
.coming-soon {
    color: #7a8a7d;
    font-size: .9rem;
}
/* =========================
   プラットフォーム内のゲーム一覧
========================= */
.platform-content .game-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* =========================
   プラットフォーム別ゲームカード内のタイトル
========================= */
.platform-content .game-card-info h4 {
    font-size: .95rem;
    line-height: 1.4;
}
/* =========================
   プラットフォームコンテンツ全体の余白（最重要）
========================= */
.platform-content {
    padding-bottom: 32px;
}

/* =========================
   「もっと見る」リンクエリア
========================= */
.platform-more-link {
    text-align: center;
}

/* =========================
   「もっと見る」ボタン本体
========================= */
#platform-more-button {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 999px;
    background: #6faf8e;
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

/* ホバー時のボタン挙動 */
#platform-more-button:hover {
    background: #5c9f7c;
    transform: translateY(-2px);
}

/* =========================
   今月の注目リスト全体
========================= */
.top-this-month-list {
    margin: 60px 0;
}
/* 見出し（h2）のデザイン */
.top-this-month-list h2 {
    font-size: 1.2rem;
    font-weight: 500;
    color: #6faf8e;
}
/* =========================
   リリース一覧（ul）
========================= */
.release-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
/* 各リリース項目（li） */
.release-item {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 6px 0;
    font-size: .95rem;
}
/* リリースタイトルのリンク */
.release-item a {
    color: #4a5d4e;
    text-decoration: none;
}
/* ホバー時に下線を表示 */
.release-item a:hover {
    text-decoration: underline;
}
/* リリース日付 */
.release-date {
    font-size: .8rem;
    color: #7a8a7d;
    min-width: 44px;
}

/* =========================
   今月の一覧「もっと見る」リンク
========================= */
.month-more-link {
    text-align: right;     /* 右寄せ表示 */
    margin-top: 8px;       /* 上との余白 */
}

/* 「もっと見る」リンク本体 */
.month-more-link a {
    font-size: .9rem;      /* 少し目立たせる */
    font-weight: 600;      /* 太字で誘導 */
    color: #6faf8e;        /* アクセントカラー */
    text-decoration: none; /* 下線なし */
}

/* ホバー時 */
.month-more-link a:hover {
    text-decoration: underline;
}
/* =========================
   今月発売作品リスト（ul / li）
========================= */
.release-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
/* 各リリース項目（1行ごと）の下余白 */
.release-list li {
    margin-bottom: 8px;
}
/* 発売日表示（左側の日付） */
.release-date {
    font-weight: 600;
    margin-right: 6px;
    color: #555;
}
/* =========================
   セールカレンダー全体
========================= */
.sale-calendar {
    max-width: 100%;
    margin: 20px auto;
}
/* カレンダーヘッダー（前月 / 次月 + タイトル） */
.sale-calendar-header {
    text-align: center;
    margin-bottom: 10px;
}
/* 「2026年1月」などのタイトル */
.sale-calendar-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 10px;
}
/* 前月・次月リンク */
.sale-calendar-nav {
    font-size: .8rem;
    color: #27ae60;
    text-decoration: none;
    margin: 0 5px;
}
.sale-calendar-nav:hover {
    text-decoration: underline;
}
/* =========================
   セールカレンダー表
========================= */
.sale-calendar-table {
    width: 100%;
    border-collapse: collapse;
}
/* 日付セル・曜日セル共通 */
.sale-calendar-table td, .sale-calendar-table th {
    border: 1px solid #aaa;
    width: 14.28%;
    text-align: center;
    padding: 6px 0;
    vertical-align: top;
}
/* 日付の数字 */
.sale-day-number {
    font-weight: 700;
    margin-bottom: 4px;
}
/* 「3件」などのセール件数ボタン */
.sale-count-button {
    display: inline-block;
    padding: 2px 6px;
    font-size: .75rem;
    background-color: #f39c12;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 4px;
}
.sale-count-button:hover {
    background-color: #e08e0b;
}
/* =========================
   セールゲームカード一覧（グリッド）
========================= */
.sale-game-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 20px;
}
/* セールゲームカード */
.sale-game-card {
    background: #fffaf0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}
/* ホバー時 */
.sale-game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .12);
}
/* セールゲームのサムネイル */
.sale-game-card-image img {
    width: 100%;
    display: block;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}
/* 情報エリア */
.sale-game-card-info {
    padding: 8px 12px;
    text-align: center;
}
/* ゲームタイトル */
.sale-game-card-title {
    font-size: .95rem;
    font-weight: 600;
    color: #6b4c3b;
    text-decoration: none;
}
.sale-game-card-title:hover {
    color: #f39c12;
}
/* 価格表示 */
.sale-game-card-price {
    margin-top: 6px;
    font-size: .85rem;
    color: #333;
}
/* 元価格（打ち消し） */
.sale-game-card-price .original-price {
    text-decoration: line-through;
    color: #999;
}
/* セール価格 */
.sale-game-card-price .sale-price {
    font-weight: 700;
    color: #f39c12;
}
/* =========================
   ゲーム個別記事ページ（single-game）
   ・記事全体のカード風レイアウト
========================= */
.game-single-article {
    max-width: 900px;
    margin: 30px auto;
    padding: 16px;
    background: #fffaf0;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}
/* ゲームタイトル（h1想定） */
.game-single-title {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 16px;
}
/* メイン画像 */
.game-main-image img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 16px;
}

/* =========================
   Game Tags
========================= */

.game-tags {
  margin-top: 24px;
  font-size: 0.85rem;
}

.game-tags__label {
  color: #aaa;
  margin-right: 6px;
}

.game-tags__list {
  display: inline-flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.game-tags__item a {
  padding: 4px 8px;
  background: rgba(90, 200, 130, 0.3);
  border-radius: 4px;
  color: #3aa86f;
  text-decoration: none;
}

.game-tags__item a:hover {
  background: rgba(30, 110, 70, 0.6);
  color: #ffffff;
}
/* =========================
   ゲーム基本情報（価格・発売日など）
========================= */
.game-info-card {
    background: #fff8e7;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: .95rem;
}
/* 情報カード内の段落 */
.game-info-card p {
    margin: 6px 0;
}

/* 価格表示全体 */
.game-price {
    margin-top: 8px;
    font-weight: 600;
    font-size: 1rem;
}
/* 通常価格（取り消し線） */
.game-price .original-price {
    text-decoration: line-through;
    color: #999;
}
/* セール価格 */
.game-price .sale-price {
    color: #f39c12;
    font-weight: 700;
}
/* ゲーム説明本文 */
.game-description {
    margin-top: 20px;
    line-height: 1.6;
}
/* =========================
   ゲームレビューセクション全体
========================= */
.game-review {
    margin-top: 48px;
    padding: 28px 32px;
    background: #fbfbf9;
    border: 1px solid #e3e1dc;
    border-radius: 12px;
    font-size: 16px;
    color: #333;
}
/* レビュー見出し */
.game-review h2 {
    font-size: 1.75em;
    font-weight: 700;
    border-bottom: 3px solid #c5b895;
    padding-bottom: 8px;
    margin-bottom: 20px;
    color: #4c4536;
}
/* =========================
   総合評価（★評価）
========================= */
.review-total {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}
/* 「総合評価」ラベル */
.review-total .label {
    font-size: .9em;
    color: #6a655e;
}
/* 星表示 */
.review-total .stars {
    font-size: 1.4em;
    color: #d4a85b;
}
/* =========================
   各評価項目スコア
========================= */
.review-scores {
    margin: 14px 0 24px;
    padding: 0;
    list-style: none;
    font-size: .94em;
}
/* スコア1行ごとのレイアウト */
.review-scores li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ece8e3;
    padding: 10px 0;
    color: #555;
}
/* 数値部分 */
.review-scores li span:last-child {
    color: #a58042;
}
/* =========================
   難易度表示
========================= */
.review-difficulty {
    margin: 20px 0;
}
/* 難易度の値 */
.review-difficulty .value {
    display: inline-block;
    background: #ebe8dd;
    color: #6a6456;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: .9em;
    font-weight: 600;
}
/* =========================
   良い点・悪い点
========================= */
.review-cons, .review-pros {
    margin-top: 26px;
}
/* セクション見出し */
.review-cons h3, .review-pros h3 {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 8px;
    color: #5a5648;
}
/* 箇条書き */
.review-cons ul, .review-pros ul {
    padding-left: 1.3em;
    list-style-type: disc;
    color: #444;
}
/* =========================
   レビュー総評
========================= */
.review-summary {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid #ece8e3;
    font-size: 1em;
    line-height: 1.75;
    color: #444;
}
/* =========================
   ゲームカード画像ラッパー
========================= */
.game-card-image {
    position: relative;
}
/* =========================
   レビューあり表示バッジ
========================= */
.has-review {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 8px;
    font-size: .7em;
    background: rgba(240, 237, 230, .95);
    color: #5f5a4e;
    border-radius: 6px;
    line-height: 1;
}

/* =========================
   レビュー一覧グリッド
========================= */
.review-game-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}
/* =========================
   レビューカード
========================= */
.review-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}
/* ホバー時 */
.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}
/* =========================
   レビューサムネイル
========================= */
.review-thumb {
    position: relative;
}
.review-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #4caf50;
    color: #fff;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 999px;
}
/* =========================
   レビュー情報エリア
========================= */
.review-info {
    padding: 14px;
}
/* ゲームタイトル */
.review-game-title {
    font-size: 15px;
    margin-bottom: 6px;
}
/* 難易度・補足情報 */
.review-difficulty, .review-score {
    font-size: 13px;
    color: #555;
}

/* =========================
   スコア表示
========================= */
.review-score {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 14px 12px;
}
.review-stars {
    line-height: 1;
}
.review-star {
    font-size: 15px;
}
.review-star.full {
    color: #f4c150;
}
.review-star.empty {
    color: #ddd;
}
/* 数値 */
.score-number {
    font-size: 12px;
    color: #666;
}
/* ラベル */
.score-label {
    font-size: 12px;
    color: #777;
    white-space: nowrap;
}
/* =========================
   レビュー並び替え
========================= */
.review-sort {
    margin-bottom: 16px;
    font-size: 13px;
}
.review-sort a {
    margin-right: 8px;
    color: #666;
}
.review-sort a.active {
    font-weight: 600;
    color: #333;
    text-decoration: underline;
}


/* =========================
   特集一覧グリッド
========================= */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
/* =========================
   特集カード
========================= */
.feature-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}
/* ホバー時の浮き上がり演出 */
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}
/* =========================
   特集サムネイル画像
========================= */
.feature-thumb img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}
/* =========================
   特集カード情報エリア
========================= */
.feature-info {
    padding: 16px;
}
/* 特集タイトル */
.feature-info h2 {
    font-size: 17px;
    margin-bottom: 6px;
}
/* 特集説明文 */
.feature-info p {
    font-size: 13px;
    color: #666;
}
/* =========================
   特集内ゲーム一覧セクション
========================= */
.feature-games {
    margin-top: 40px;
}
/* =========================
   特集内ゲーム一覧タイトル
========================= */
.feature-games-title {
    font-size: 1.4rem;
    margin-bottom: 16px;
    border-left: 4px solid #7aa17a;
    padding-left: 10px;
}
/* =========================
   レビュー一覧用の簡易スコア表示
========================= */
.review-score-mini {
    font-size: 12px;
    color: #777;
    margin-top: 4px;
}
/* =========================
   特集カードのリード文
========================= */
.feature-lead {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-top: 6px;
}
/* =========================
   セールゲーム一覧（横並び）
========================= */
.sale-game-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Cocoonサイドバー用ジャンルプルダウン */
.game-genre-dropdown {
  margin-bottom: 1em;
  padding: 0.8em;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #f8f8f8;
}

.game-genre-dropdown label {
  display: block;
  margin-bottom: 0.4em;
  font-weight: bold;
  font-size: 0.95em;
  color: #333;
}

.game-genre-dropdown select {
  width: 100%;
  padding: 0.5em;
  font-size: 0.95em;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
}

.game-genre-dropdown select:focus {
  outline: none;
  border-color: #2f4f3e;
  box-shadow: 0 0 0 2px rgba(47,79,62,0.2);
}

/* 固定ページ用共通ラッパー */
.page-wrapper {
    max-width: 1200px;       /* コンテンツ最大幅 */
    margin: 0 auto;          /* 中央寄せ */
    padding-left: 40px;      /* 左余白 */
    padding-right: 40px;     /* 右余白 */
    box-sizing: border-box;  /* 幅計算にパディングを含める */
}


/* platform アーカイブ全体 */
.platform-archive-page, .feature-slowlife-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 80px;
  box-sizing: border-box;
}

/* タイトル */
.platform-archive-title {
  margin: 40px 0 24px;
  font-size: 1.8rem;
}

/* カード一覧 */
.platform-archive-inner .game-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
/* サムネイルサイズを調整する */
.platform-archive-inner .game-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}


/* =========================
   モバイル共通：767px以下
========================= */
@media (max-width: 767px) {

  /* ────────── 最新記事（縦リスト化） ────────── */
  .top-latest-posts .latest-post-list,
  .top-latest-posts .latest-posts-featured {
      display: block !important;
  }

  .top-latest-posts .latest-post-card {
      grid-column: auto !important;
      grid-row: auto !important;
      height: auto !important;
      padding-bottom: 12px;
      margin-bottom: 12px;
      border-bottom: 1px dotted #ccc;
  }

  .top-latest-posts .latest-post-card a {
      display: flex !important;
      align-items: center;
      gap: 12px;
  }

  .top-latest-posts .latest-post-thumb {
      width: 96px;
      height: 64px;
      flex-shrink: 0;
      overflow: hidden;
  }

  .top-latest-posts .latest-post-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
  }

  .top-latest-posts .latest-post-title {
      position: static !important;
      background: none !important;
      padding: 0 !important;
      margin: 0 !important;
      font-size: 0.95rem;
      line-height: 1.4;
      color: #2f4f3e;
  }

  /* ────────── おすすめゲームピックアップ（縦リスト化） ────────── */
  .top-recommended-games .game-list { display: block; }

  .top-recommended-games .game-card:nth-child(n+6) { display: none; }

  .top-recommended-games .game-card {
      background: #fff;
      border: 1px dotted #ccc;
      border-radius: 8px;
      padding: 10px;
      margin-bottom: 12px;
  }

  .top-recommended-games .game-card a {
      display: flex;
      align-items: center;
      gap: 12px;
  }

  .top-recommended-games .game-card-image {
      width: 96px;
      height: 64px;
      flex-shrink: 0;
      overflow: hidden;
      border-radius: 8px;
  }

  .top-recommended-games .game-card-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
  }

  .top-recommended-games .game-card-info {
      position: static;
      padding: 0;
      background: none;
  }

  .top-recommended-games .game-card-info h4 {
      margin: 0;
      font-size: 0.95rem;
      line-height: 1.4;
      color: #2f4f3e;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 3;
      overflow: hidden;
  }

  .top-recommended-games .has-review { display: none; }

  /* ────────── プラットフォームタブ（2列化） ────────── */
  .top-platform-tabs .game-list {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 0;
  }

  .top-platform-tabs .game-card {
      margin: 0;
      padding: 0;
      border: none;
  }

  .top-platform-tabs .game-card a {
      display: block;
  }

  .top-platform-tabs .game-card-info { display: none; }

  .top-platform-tabs .game-card img {
      width: 100%;
      aspect-ratio: 1 / 1;
      object-fit: cover;
      display: block;
  }

  .top-platform-tabs .game-card,
  .top-platform-tabs .game-card a,
  .top-platform-tabs .game-card img {
      border-radius: 0 !important;
      transform: none !important;
      transition: none !important;
  }

  /* ────────── レビュー表示 ────────── */
  .game-review { padding: 18px; }
  .review-total .stars { font-size: 1.3em; }

}

/* =========================
   モバイルヘッダーメニュー：480px以下
========================= */
@media screen and (max-width: 480px) {

    /* ULを完全リセット */
    .mobile-header-menu-buttons {
        display: flex !important;
        justify-content: space-between !important;
        width: 100% !important;
        height: 30px !important;
        padding: 0 !important;
        margin: 0 !important;
        min-height: 0 !important;
        box-sizing: border-box;
        overflow: hidden;
    }

    /* LIを高さぴったりに */
    .mobile-header-menu-buttons .menu-button {
        flex: 1 1 auto !important;
        height: 30px !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* aリンク内 */
    .mobile-header-menu-buttons .menu-button-in {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 30px !important;
        padding: 0 4px !important;  /* 上下0で詰める */
        font-size: 12px !important;
        line-height: normal !important;
    }

    /* アイコン非表示 */
    .mobile-header-menu-buttons .custom-menu-icon { display: none !important; }

    .mobile-header-menu-buttons .menu-caption {
        line-height: normal !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

}
