/*
Theme Name: Lightning Child Sample
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 0.6.1
*/

/* グラフサイズ */
canvas#countryChart{
	width:100%;
	max-height:400px;
}

canvas#ccuChart{
	width:100%;
	max-height:400px;
}

/* グラフ右上バー */
/* 色の段階 */
#review-gradient {
	transform: translateY(15px);  /* 下に4px移動 */
    position: absolute;
    right: 25px;
    width: 220px;
    height: 25px;
    display: flex;
    flex-direction: column;
    font-size: 12px;
}

#review-gradient .bar {
    display: flex;
    height: 5px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

#review-gradient .bar div {
    flex: 1;
}

/* 色の段階 */
#review-gradient .bar div:nth-child(1) { background-color: #0066CC; }
#review-gradient .bar div:nth-child(2) { background-color: #3399FF; }
#review-gradient .bar div:nth-child(3) { background-color: #66C0F4; }
#review-gradient .bar div:nth-child(4) { background-color: #99D0FF; }
#review-gradient .bar div:nth-child(5) { background-color: #B9A074; }
#review-gradient .bar div:nth-child(6) { background-color: #E27C5D; }
#review-gradient .bar div:nth-child(7) { background-color: #D05A3B; }
#review-gradient .bar div:nth-child(8) { background-color: #C03A2D; }
#review-gradient .bar div:nth-child(9) { background-color: #A82A1F; }

/* ラベル */
#review-gradient .labels {
    display: flex;
    justify-content: space-between;
    margin-top: 2px;
    font-weight: 500;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    #review-gradient { width: 180px; font-size: 11px; }
    #review-gradient .bar { height: 14px; }
}

@media screen and (max-width: 480px) {
    #review-gradient { width: 140px; font-size: 10px; }
    #review-gradient .bar { height: 12px; }
}


/* ---------------------------
   ゲームセクション共通
---------------------------- */
.game-section {
    background-color: #fff;                   /* 白背景 */
    border-radius: 12px;                      /* 角丸 */
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* 軽い影 */
    padding: 20px;                            /* 内側余白 */
    margin-bottom: 30px;                      /* 下の余白 */
    overflow: hidden;                         /* はみ出し防止 */
}

/* ヘッダー画像 */
.game-section .game-main-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* タイトル */
.game-section h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #222;
}

/* 公式説明 */
.game-section .official-description {
    margin: 20px auto;
    padding: 20px;
    background-color: #e1eef5;
    position: relative;
    border-radius: 6px; /* 柔らかく角丸 */
    box-shadow: 0 2px 6px rgba(0,0,0,0.08); /* 軽く浮かせる */
}

.game-section .official-description::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 0;
    height: 0;
    border-width: 0 20px 20px 0;
    border-style: solid;
    border-color: #4c9ac0 #fff #4c9ac0 transparent;
    box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.15);
}

.game-section .official-description p {
    font-size: 1em;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

/* ---------------------------
   ゲーム情報テーブル
---------------------------- */
.game-section .game-info-table {
    width: 100%;
    max-width: 800px;
    margin: 1.5em 0;
    border-collapse: collapse;
    background-color: #f9fbfd;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    font-size: 0.95rem;
	margin:auto;
}

/* テーブルのヘッダー */
.game-section .game-info-table th {
    background-color: #cfe0ec;      /* ヘッダー水色 */
    color: #2b4f63;                 /* 文字色 */
    text-align: left;               /* 左寄せで改行減 */
    border: 1.2px solid #d3d7dc;
    padding: 1em 1.2em;             /* パディング広め */
    font-size: 1em;                 
    font-weight: 600;               
    white-space: nowrap;            /* 改行させず1行に */
}

/* テーブルのセル */
.game-section .game-info-table td {
    border: 1.2px solid #d3d7dc;   /* 薄いグレーの縁 */
    padding: 0.8em 1em;
    text-align: left;
}

/* ---------------------------
   タグリンク・ラベル風（統合）
---------------------------- */
.game-section .game-tag-link,
.game-section .game-tag {
    display: inline-block;
    padding: 4px 8px;
    margin: 2px 4px 2px 0;
    font-size: 0.8rem;
    color: #ffffff;
    background-color: #2b4f63;     /* 落ち着いた暗め青系 */
    border-radius: 4px;
    text-decoration: none;
}

.game-section .game-tag-link:hover {
    background-color: #1e3745;
}

/* ---------------------------
   Steamウィジェット
---------------------------- */
.game-section .steam-widget-wrapper {
    display: flex;
    justify-content: center;
    margin: 1em 0;
}

/* ---------------------------
   ニュース / パッチノート
---------------------------- */
.game-news {
    background: #282e39;
    border: 1px solid #2a475e;
    border-radius: 6px;
    padding: 1.5em;
    color: #c7d5e0;
    margin-top: 2em;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.game-news h2 {
    border-bottom: 2px solid #66c0f4;  /* Steamブルー下線 */
	border-top:none;
    font-size: 1.3em;
    font-weight: 600;
    padding-bottom: 0.3em;
    margin-bottom: 1em;
	text-align:center;
}


.game-news li {
    margin-bottom: 0.8em;
}

.game-news a {
    display: flex;
    gap: 1em;
    color: #c9c9c9;
    text-decoration: none;
    padding: 0.3em 0.5em;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}


/* ---------------------------
   引用ブロック全体（はみ出さない版）
---------------------------- */
blockquote {
    background-color: #f0f8ff;       /* 薄い青背景 */
    border-left: 6px solid #2b4f63;  /* 左側アクセントライン */
    padding: 1em 1em;                /* 内側余白 */
    margin: 1.5em 0;                 /* 上下の余白 */
    border-radius: 8px;              /* 角丸で柔らかく */
    color: #1e3745;                  /* 文字色 */
    font-style: italic;              /* 斜体で引用感 */
    line-height: 1.6;
    font-size: 1em;
    overflow: hidden;                /* はみ出し防止 */
    box-sizing: border-box;          /* パディング込みで幅計算 */
}

/* 引用内の段落間隔を少し広く */
blockquote p {
    margin: 0.8em 0;
}

/* 引用符閉じは削除してもOK、はみ出る原因になりやすい */
blockquote::after {
    content: "";
}

/* コンテンツとフッターの間に余白を追加 */
.entry-body {
    margin-bottom: 60px; /* 数値はお好みで調整 */
}


.entry-footer {
    display: none !important;
}

.entry-meta-item-author { display: none; }
.entry-meta-item-updated { display: none; }
.entry-meta-item-date { display: none; }
.vk_post .vk_post_date {display:none;}