/* リスト全体のスタイル */
.manga-list-compact {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 600px; /* 文字だけなので少し幅を狭めに設定 */
}

/* 1作品分のスタイル */
.manga-item-compact {
  border-bottom: 1px dashed #ccc; /* 圧迫感を出さないよう、点線で区切る */
}

/* リンク全体のスタイル（横並び） */
.manga-item-compact a {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 6px 0px; /* 余白を小さくしてコンパクトに */
  transition: background-color 0.2s;
}

/* マウスを乗せた時の背景色 */
.manga-item-compact a:hover {
  background-color: #f5f9fc; /* ほんのり色をつけてクリックできることをアピール */
}

/* サムネイル画像の枠（小さめ） */
.manga-thumb-compact {
  width: 60px; /* 縦横60pxのコンパクトサイズ */
  height: 60px;
  flex-shrink: 0;
  margin-right: 15px; /* タイトルとの隙間 */
  margin-left: -10px; /* タイトルとの隙間 */
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #ddd;
}

/* サムネイル画像本体 */
.manga-thumb-compact img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* タイトルのスタイル */
.manga-title {
  font-size: 1em;
  font-weight: bold;
  color: #1a5276; /* サイトの雰囲気に合わせた色（変更可） */
  line-height: 1.4;
}

/* 見出しのデザイン */
.manga-section-title {
  font-size: 1.2rem;
    color: #ffffff !important; /* 文字を真っ白にしてコントラストを最大に */
    /* 背景を少し明るい紺色 グレーのグラデーションに */
    background: linear-gradient(90deg, #1a5276, #2980b9); 
    padding: 10px 15px;
    margin-top: 35px;
    border-radius: 4px;
    border-left: 6px solid #ffcc00; /* アクセントに金（階級章風）を入れると映えます */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* 軽い影で浮かせる */
}

/* リストの黒丸を消し、余白を調整する */
.manga-list-compact {
  list-style: none; /* これで黒丸が消えます */
  padding: 0;       /* 左側の余白を詰める */
  margin: 0;
}

/* 各項目のレイアウト調整（念のため） */
.manga-item-compact {
  list-style-type: none; /* 重ねて指定して確実に消す */
}


.manga-banner-entry a {
  text-decoration: none;
  display: block;
  max-width: 600px; /* バナーの幅 */
  margin: 20px 0;
}

.banner-content {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1a5276, #2980b9); /* サイトに合わせた青 */
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.banner-content:hover {
  transform: translateY(-2px); /* マウスを乗せると少し浮く */
}

.banner-content img {
  width: 100px; /* 左側のアイコンサイズ */
  height: 100px;
  object-fit: cover;
  border-right: 2px solid rgba(255,255,255,0.2);
}

.banner-text {
  padding: 15px 20px;
  color: #ffffff;
}

.banner-text h3 {
  margin: 0 0 5px 0;
  font-size: 1.3rem;
  color: #ffffff !important;
}

.banner-text p {
  margin: 0;
  font-size: 0.9rem;
  color: #ffffff !important; /* 文字を真っ白にする */
  opacity: 1 !important;     /* 透明度をなくしてくっきりさせる */
  font-weight: bold;         /* 少し太字にするとさらに読みやすいです */
}

/* カード全体を並べるコンテナを中央寄せに設定 */
.card-container {
  display: flex;
  flex-wrap: wrap;       /* 画面幅に合わせて折り返す */
  gap: 20px;             /* カード同士の隙間 */
  justify-content: center; /* これでカードが中央に寄ります */
  margin: 30px auto;     /* 上下の余白をとりつつ、左右を自動調整 */
  max-width: 1000px;     /* コンテナが広がりすぎないように制限 */
}

/* カード自体の設定（再掲：微調整済み） */
.entry-card {
  flex: 0 1 280px;       /* 固定幅ではなく、280pxをベースに柔軟に */
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}
.entry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.entry-card a {
  text-decoration: none;
  display: block;
}

/* 画像を正方形に固定する魔法のコード */
.card-image {
  width: 100%;
  aspect-ratio: 1 / 1; /* 横1：縦1の正方形に固定 */
  overflow: hidden;
  background-color: #f0f0f0;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 枠に合わせて中央で切り抜き */
}

/* カード下のテキストエリア */
.card-text {
  padding: 12px;
  text-align: center;
  background: linear-gradient(to bottom, #ffffff, #f9f9f9);
}

.card-text h3 {
  margin: 0 0 5px 0;
  font-size: 1.1rem;
  color: #1a5276 !important; /* サイトのメインの青 */
  font-weight: bold;
}

.card-text p {
  margin: 0;
  font-size: 0.85rem;
  color: #666;
}

/* スマホ用の調整（1列にする） */
@media screen and (max-width: 480px) {
  .entry-card {
    width: calc(100%);
    max-width: none;
  }
}


/* カード内のタイトルエリアを強調 */
/* カード内のタイトルエリアを中央寄せにする */
.card-text h3 {
    text-align: center; /* 文字を中央に寄せる */
    background: linear-gradient(135deg, #1a5276, #2980b9);
    color: #ffffff !important;
    margin: -12px -12px 15px -12px;
    padding: 18px;
    font-size: 1.2rem;
    font-weight: bold;
    border-bottom: 3px solid #ffcc00;
}

/* カード自体の装飾をさらに強化 */
.entry-card {
    border: 0px solid #000;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15); /* 影を少し強めて立体感を出す */
}

/* マウスを乗せた時の動き */
.entry-card:hover {

    border-color: #3498db;
    box-shadow: 0 12px 30px rgba(26, 82, 118, 0.4);
}