@charset "UTF-8";

/*子テーマ用「base.css」*/

.article-body p {
    margin-bottom: 0px;
}

.keni-header_wrap {
    background-image: none;
}

/*
Theme Name: 賢威8.0（子テーマ） 
Theme URI: https://rider-store.jp/keni/
Author: 株式会社ウェブライダー		
Author URI: https://web-rider.jp/
Description: 賢威8.0 子テーマです。		
Version: 8.0.0.0
Template: keni80_wp_standard_all_202506192306
*/

/* ========== 全体調整 ========== */
.keni-header_wrap,
.archive_title,
.keni-section,
.entry_title {
  background-image: none;
}

.site-title img {
  scale: 0.5;
  position: relative;
  right: 90px;
}

/* ========== ゲーム情報メタ ========== */
.game-meta {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}

.game-meta li {
    position: relative;
    padding-left: 38px;
    margin-bottom: 8px;
    line-height: 30px;
    font-size: 0.95em;
    color: #333;
}

.meta-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}



.meta-icon {
  flex-shrink: 0;
  margin-right: 8px;
}

/* アイコン背景 */
.game-meta li.genre {
  background: url('https://browser-gamer.com/wp-content/uploads/rpg-icon-resized.png') no-repeat left center;
  background-size: 34px 34px;
}

.game-meta li.feature {
  background: url('https://browser-gamer.com/wp-content/uploads/skill-icon-resized.png') no-repeat left center;
  background-size: 34px 34px;
}


.game-meta li.timer {
  background: url('https://browser-gamer.com/wp-content/uploads/timer-icon-resized.png') no-repeat left center;
  background-size: 34px 34px;
}

/* ========== タイトル & セクション装飾 ========== */
h2 {
  background-image: linear-gradient(50deg, rgb(175 132 242), rgb(254 255 230));
}

h3.game-title {
    border: none;
    color: #000;
    vertical-align: middle;
    margin: 30px 0 0 0;
}

/* ========== ゲームカード ========== */
.game-card {
  position: relative;
  border-radius: 12px;
  background-image: linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.9)), url(https://browser-gamer.com/wp-content/uploads/2025/06/QB_top.jpeg);
  background-size: cover;
  background-position: center;
  min-height: 200px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-bottom: 60px;
}

.game-overlay {
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  padding: 16px;
  scale: 0.9;
  border-radius: 20px 20px 0 0;
  z-index: 10;
  position: relative;
}

.game-overlay-content {
    justify-content: space-around;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex
;
    padding: 0px;
    scale: 0.9;
    border-radius: 0px 0px 20px 20px;
    z-index: 10;
    position: relative;
    bottom: 18px;
    margin: 0;
}

.game-thumb {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  object-fit: cover;
  margin-right: 16px;
}

/* スマホ向け：正方形を維持しつつサイズダウン */
@media (max-width: 600px) {
    .game-thumb {
        /* width: 100%; */
        aspect-ratio: 1 / 1;
        height: 140px;
        width: 94px;
        margin-right: 0;
        margin: 2px 8px 0px 0px;
    }

    .game-overlay, .game-overlay-content {
        padding: 7px;
        scale: 0.95;
    }
}

/* ========== スライダー ========== */
.game-thumb-slider .slick-slide {
  padding: 0 4px;
}

.slick-prev, .slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  line-height: 32px;
  text-align: center;
  border-radius: 50%;
  z-index: 10;
  cursor: pointer;
}

.slick-prev { left: 8px; }
.slick-next { right: 8px; }

.slick-prev:before,
.slick-next:before {
  font-size: 36px;
  color: #fff;
  opacity: 1;
  position: relative;
  top: 5px;
}

.slick-slide img {
    display: block;
    margin: 0 auto;
}

/* ========== ゲームカード本文 ========== */
.article-body p {
  margin-bottom: 0;
}

.game-title {
  font-size: 1.4em;
  margin: 0 0 8px;
}

.game-genre,
.game-feature,
.game-time {
  margin: 4px 0;
  font-size: 0.95em;
  color: #333;
}

.game-provider {
  font-size: 0.9em;
  color: #666;
  margin-top: 8px;
}

/* ========== 詳細開閉ボックス ========== */

.game-detail-box {
    font-size: 0.95em;
    background-color: #efefef;
    padding: 10px 10px;
    text-align: center;
    border-radius: 10px;
    width: 100%;
    list-style: none;
	margin-bottom:20px;
}

.game-detail-box summary::-webkit-details-marker {
  display: none;
}

details.game-detail-box ul {
  list-style: none;
  margin: 10px;
  text-align: left;
  font-size: 12px;
}

.game-detail-content {
  background: rgba(255,255,255,0.9);
  padding: 12px;
  border-left: 4px solid #337ab7;
}

.game-review-h4{
	color:#505050;
	border-bottom:solid 1px;
}

.game-review{
	background-color:#fff;
}

p.r-text {
    text-align: left;
    padding: 8px;
}

/* ========== プレイボタン ========== */
.play-now-button {
  background-image: linear-gradient(50deg, rgb(233 185 17), rgb(175 55 255));
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  display: flex;
  scale: 0.9;
  padding: 10px;
  border-radius: 20px;
  margin: 2px 0 -20px;
  justify-content: center;
  font-size: 20px;
}

/* ========== カテゴリ一覧（Flexカード） ========== */
.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 20px;
}

.category-item {
  flex: 1 1 calc(33.333% - 20px);   /* PC：3列 */
  max-width: calc(33.333% - 20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fafafa;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.category-item:hover {
  transform: scale(1.05);
}

/* アイコンとラベル */
.category-item .icon {
  font-size: 32px;
  margin-bottom: 8px;
  color: #555;
}

.category-item .label {
  font-weight: 700;
  font-size: 16px;
}

/* ✅ スマホ（600px以下）で2列にする */
@media (max-width: 600px) {
  .category-item {
    flex: 1 1 calc(50% - 20px);   /* 横幅を2列用に */
    max-width: calc(50% - 20px);
  }
}
