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

/* =========================================
   出会い系ランキング（スクショ形）
========================================= */

/* 全体 */
.entry-content .deai-rank{
  margin: 30px auto;
  max-width: 900px;
  line-height: 1.45;
}

/* タイトル */
.entry-content .deai-rank-title{
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 14px;
}

/* カード */
.entry-content .deai-card{
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  margin: 0 0 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

/* 横並び */
.entry-content .deai-inner{
  display: flex;
  gap: 18px;
  align-items: stretch;
}

/* 左の画像：でかく */
.entry-content .deai-image{
  flex: 0 0 380px; /* ←画像領域の横幅（好みで340〜420） */
}

.entry-content .deai-image a{
  display:block;
}

.entry-content .deai-image img{
  width: 100%;
  height: 220px;         /* ←ここが“でかい見た目”の要 */
  object-fit: cover;
  border-radius: 12px;
  display:block;
}

/* 右側 */
.entry-content .deai-content{
  flex: 1;
  min-width: 0;
}

.entry-content .deai-name{
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 6px;
}

.entry-content .deai-desc{
  margin: 0 0 12px;
  font-size: 14px;
  color: #444;
}

/* スペック：罫線のテーブル風 */
.entry-content .deai-spec{
  background: #f5f6f8;
  border-radius: 12px;
  padding: 10px 14px;
  margin: 0 0 14px;
}

.entry-content .deai-spec-row{
  display: grid;
  grid-template-columns: 92px 1fr;
  column-gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.entry-content .deai-spec-row:last-child{
  border-bottom: none;
}

.entry-content .deai-spec-label{
  font-weight: 800;
  white-space: nowrap;
  margin:0;
}

.entry-content .deai-spec-value{
  margin:0;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  line-break: strict;
}

/* バッジ（左上） */
.entry-content .deai-badge{
  position: absolute;
  top: -12px;
  left: -12px;
  font-weight: 800;
  font-size: 13px;
  padding: 7px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
}

/* ボタン：スクショみたいに小さめで角丸 */
.entry-content .deai-btn{
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
  transition: .2s;
}

.entry-content .deai-btn:hover{
  opacity: .9;
  transform: translateY(-1px);
}

/* =========================
   順位別（枠＋バッジ＋ボタン）
========================= */

/* 1位：金 */
.entry-content .rank-1{
  border: 2px solid #e3b341;
}
.entry-content .rank-1 .deai-badge{
  background: #e3b341;
  color: #000;
}
.entry-content .rank-1 .deai-btn{
  background: #e3b341;
  color: #000;
}

/* 2位：銀 */
.entry-content .rank-2{
  border: 2px solid #c9c9c9;
}
.entry-content .rank-2 .deai-badge{
  background: #c9c9c9;
  color: #000;
}
.entry-content .rank-2 .deai-btn{
  background: #c9c9c9;
  color: #000;
}

/* 3位：銅 */
.entry-content .rank-3{
  border: 2px solid #cd7f32;
}
.entry-content .rank-3 .deai-badge{
  background: #cd7f32;
  color: #fff;
}
.entry-content .rank-3 .deai-btn{
  background: #cd7f32;
  color: #fff;
}

/* 4位以下：グレー */
.entry-content .rank-other{
  border: 2px solid #e5e7eb;
}
.entry-content .rank-other .deai-badge{
  background: #888;
  color: #fff;
}
.entry-content .rank-other .deai-btn{
  background: #888;
  color: #fff;
}

/* スマホ：縦積み */
@media screen and (max-width: 768px){
  .entry-content .deai-inner{
    flex-direction: column;
  }
  .entry-content .deai-image{
    flex: none;
  }
  .entry-content .deai-image img{
    height: 200px;
  }
  .entry-content .deai-spec-row{
    grid-template-columns: 86px 1fr;
  }
}
/* ===== スペック行 完全安定版 ===== */
.entry-content .deai-spec-row{
  display: grid;
  grid-template-columns: 110px 1fr; /* ←これが本質 */
  column-gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

/* ラベル */
.entry-content .deai-spec-label{
  font-weight: 800;
  white-space: nowrap;
}

/* 値 */
.entry-content .deai-spec-value{
  white-space: normal;
  word-break: break-word;
}