body {
    font-family: 'Hiragino Maru Gothic ProN', 'Rounded Mplus 1c', 'Meiryo', sans-serif;
    background-color: #fff9e6;
    color: #333;
    margin: 0;
    padding: 20px;
    text-align: center;
}
h1 {
    color: #ff8c00;
    font-size: 2.5em;
    margin-bottom: 10px;
}
p.description {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 20px;
}
/* ★絞り込みボタンエリア */
.filter-area {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 30px;
}
.filter-btn {
    display: inline-block;
    font-size: 0.85em;
    font-weight: bold;
    padding: 6px 14px;
    border-radius: 20px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: opacity 0.2s, border-color 0.2s;
    color: #fff;
}
.filter-btn:hover {
    opacity: 0.8;
}
/* アクティブ（選択中）のボタンに枠線 */
.filter-btn.active {
    border-color: #333;
}
.filter-btn-all {
    background-color: #999;
}
.filter-btn-tap {
    background-color: #4caf50;
}
.filter-btn-switch {
    background-color: #29b6c8;
}
.filter-btn-gaze {
    background-color: #ff9800;
}
.filter-btn-online {
    background-color: #e53935;
}
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.game-card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, opacity 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}
/* ★非表示カード */
.game-card.hidden {
    display: none;
}
.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}
.game-card h2 {
    font-size: 1.3em;
    color: #ff6b6b;
    margin: 0 0 15px 0;
}
.game-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    background-color: #eeeeee;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    margin-bottom: 10px;
}
/* ★タグリスト：左寄せ */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-start;
    margin-bottom: 12px;
}
.tag {
    display: inline-block;
    font-size: 0.72em;
    font-weight: bold;
    padding: 3px 9px;
    border-radius: 3px;
    color: #fff;
}
.tag-tap {
    background-color: #4caf50;
}
.tag-switch {
    background-color: #29b6c8;
}
.tag-gaze {
    background-color: #ff9800;
}
.tag-online {
    background-color: #e53935;
}
.game-card p {
    font-size: 0.9em;
    margin: 0;
    color: #555;
    line-height: 1.5;
    text-align: left;
}
/*========== 更新履歴 ========== */
.changelog-area {
    max-width: 800px;
    margin: 50px auto 30px;
    text-align: left;
}
.changelog-area h2 {
    font-size: 1.3em;
    color: #ff8c00;
    margin-bottom: 12px;
    text-align: center;
}
.changelog-box {
    background-color: #fff;
    border: 2px solid #ffd580;
    border-radius: 12px;
    padding: 16px 20px;
    height: 200px;
    overflow-y: scroll;
    font-size: 0.9em;
    line-height: 1.8;
    color: #444;
}
.changelog-box table {
    width: 100%;
    border-collapse: collapse;
}
.changelog-box td {
    padding: 4px 10px 4px 0;
    vertical-align: top;
}
.changelog-box td:first-child {
    white-space: nowrap;
    color: #999;
    width: 90px;
}
/* リクエストボタンエリア */
.request-btn-area {
    margin-top: 50px;
    text-align: center;
}
.request-btn {
    display: inline-block;
    font-size: 1.1em;
    font-weight: bold;
    padding: 14px 36px;
    border-radius: 6px;
    background-color: #4caf50;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}
.request-btn:hover {
    opacity: 0.8;
}

/* ========== フッター ========== */
.footer {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #ffd580;
    text-align: center;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.85em;
    color: #666;
    text-decoration: underline;
}

.footer-links a:hover {
    color: #ff8c00;
}

.copyright {
    font-size: 0.75em;
    color: #888;
    margin: 0;
}

/* ========== 利用上の注意（アコーディオン） ========== */
.notes-accordion {
    max-width: 800px;
    margin: 0 auto 30px;
    background-color: #ffffff;
    border: 2px solid #ffd580;
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.notes-accordion summary {
    padding: 14px 20px;
    font-size: 1.05em;
    font-weight: bold;
    color: #ff8c00;
    background-color: #fffaf0;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s;
    outline: none;
}

.notes-accordion summary:hover {
    background-color: #ffe8b3;
}

.notes-content {
    padding: 20px;
    font-size: 0.95em;
    line-height: 1.7;
    color: #444;
}

.notes-content h3 {
    font-size: 1.1em;
    color: #ff6b6b;
    margin: 20px 0 8px 0;
    border-bottom: 2px dotted #ffd580;
    padding-bottom: 4px;
}

.notes-content h3:first-child {
    margin-top: 0;
}

.notes-content p {
    margin: 0 0 10px 0;
}

.notes-content p:last-child {
    margin-bottom: 0;
}


/* タイトル全体の指定 */
h1.main-title {
    color: #ff8c00;
    font-size: 2.5em;
    margin-top: 30px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block; /* 吹き出しの基準位置を合わせる */
}

/* 吹き出し本体 */
.bubble {
    position: absolute;
    top: -28px;               /* 高さを微調整 */
    left: 50%;                /* 少し右寄りに配置 */
    /* 右肩上がりに7度傾ける（角度はお好みで調整可） */
    transform: translateX(-50%) rotate(7deg);
    
    background-color: #ff8c00;
    color: #ffffff;
    font-size: 0.38em;
    font-weight: bold;
    
    /* 上下の余白を広げてふっくら丸みを持たせる */
    padding: 6px 14px;
    border-radius: 50px;
    
    line-height: 1;
    white-space: nowrap;
    display: inline-block;
}

/* 吹き出しのしっぽ（三角部分） */
.bubble::after {
    content: "";
    position: absolute;
    top: 96%;
    left: 42%;                /* 傾きに合わせてしっぽの位置を自然に調整 */
    transform: rotate(-7deg); /* 傾きを少し戻して真下方向へ向ける */
    
    /* 三角形のサイズ */
    border-width: 10px 5px 0 5px;
    border-style: solid;
    border-color: #ff8c00 transparent transparent transparent;
}