@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){
  /*必要ならばここにコードを書く*/
}

/* ==============================
   Gamelinq - ゲーム検索
================================ */

.gamelinq-search {
  max-width: 900px;
  margin: 30px auto 50px;
  padding: 32px;
  text-align: center;
  background: #f7f8fa;
  border-radius: 16px;
}

.gamelinq-search h2 {
  margin: 0 0 8px;
  font-size: 28px;
  color: #333333;
}

.gamelinq-search p {
  margin: 0 0 24px;
  color: #666666;
  font-size: 15px;
}

.gamelinq-search-box {
  display: flex;
  max-width: 650px;
  margin: 0 auto;
}

.gamelinq-search-box input {
  flex: 1;
  min-width: 0;
  height: 50px;
  padding: 0 18px;
  font-size: 16px;
  border: 2px solid #6c86e8;
  border-right: none;
  border-radius: 10px 0 0 10px;
  background: #ffffff;
  outline: none;
}

.gamelinq-search-box input:focus {
  border-color: #5575d9;
}

.gamelinq-search-box button {
  width: 90px;
  height: 50px;
  border: none;
  border-radius: 0 10px 10px 0;
  background: #6c86e8;
  color: #ffffff;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
}

.gamelinq-search-box button:hover {
  background: #5575d9;
}

/* スマホ */
@media screen and (max-width: 600px) {
  .gamelinq-search {
    padding: 24px 16px;
  }

  .gamelinq-search h2 {
    font-size: 23px;
  }

  .gamelinq-search-box button {
    width: 75px;
  }
}

/* ==============================
   Gamelinq - ゲーム一覧
================================ */

.gamelinq-games {
  max-width: 1000px;
  margin: 0 auto 50px;
}

.gamelinq-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.gamelinq-section-header h2 {
  margin: 0;
  font-size: 24px;
  color: #333333;
}

.gamelinq-section-header a {
  color: #5575d9;
  font-size: 14px;
  text-decoration: none;
}

.gamelinq-section-header a:hover {
  text-decoration: underline;
}

.gamelinq-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gamelinq-game-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.gamelinq-game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.08);
}

.gamelinq-game-image {
  aspect-ratio: 16 / 9;
  background: #eef1f7;
}

.gamelinq-game-card span {
  display: block;
  padding: 12px;
  color: #333333;
  font-size: 15px;
  font-weight: bold;
}

/* タブレット */
@media screen and (max-width: 900px) {
  .gamelinq-game-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* スマホ */
@media screen and (max-width: 480px) {
  .gamelinq-game-grid {
    gap: 10px;
  }

  .gamelinq-game-card span {
    padding: 9px;
    font-size: 13px;
  }
}
/* ==============================
   Gamelinq - 人気Tips
================================ */

.gamelinq-popular {
  max-width: 1000px;
  margin: 0 auto 50px;
}

.gamelinq-tips-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gamelinq-tip {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}

.gamelinq-tip:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
}

.gamelinq-tip-rank {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #6c86e8;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
}

.gamelinq-tip strong {
  color: #333333;
  font-size: 16px;
}

.gamelinq-tip p {
  margin: 4px 0 0;
  color: #777777;
  font-size: 13px;
}

/* スマホ */
@media screen and (max-width: 480px) {
  .gamelinq-tip {
    padding: 13px;
    gap: 12px;
  }

  .gamelinq-tip-rank {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .gamelinq-tip p {
    font-size: 12px;
  }
}