@charset "UTF-8";
/*!
Theme Name: Cocoon Child
Template: cocoon-master
Version: 1.1.3
*/

/************************************
** エントリーカード一覧表示用
************************************/

/* 一覧ラップ */
.entry-card-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 40px;
}

/* 各カード */
.entry-card {
  width: 300px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 0.3s;
}

.entry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* サムネイル */
.entry-card-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #f8f8f8;
}

.entry-card-thumb img {
  width: 100%;
  height: auto; /* ← 縦横比を自然に保つ */
  object-fit: contain; /* ← 拡大せず全体表示 */
  display: block;
}

/* 内容エリア */
.entry-card-content {
  padding: 1em;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex-grow: 1;
  text-align: left;
}

/* タイトル */
.entry-card-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #111;
  line-height: 1.4;
  margin: 0 0 0.5em 0;
  white-space: normal;
  width: 100% !important;
}

.entry-card-title a {
  color: inherit;
  text-decoration: none;
  display: inline !important;
  width: auto !important;
}

/* 日付 */
.entry-card-date {
  font-size: 0.85rem;
  color: #666;
  margin: 0 !important;
}

/************************************
** レスポンシブ対応
************************************/
@media screen and (max-width: 834px) {
  .entry-card {
    width: 48%;
  }
}

@media screen and (max-width: 480px) {
  .entry-card {
    width: 100%;
  }
}

/************************************
** テキスト左寄せ＆リセット
************************************/
.entry-card-content,
.entry-card-title,
.entry-card-title a,
.entry-card-date {
  text-align: left !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

/************************************
** 「もっと見る」ボタンスタイル
************************************/
.more-link-wrapper {
  text-align: center;
  margin-top: 1em;
}

.more-link {
  display: inline-block;
  padding: 0.5em 1.2em;
  background: #444;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

.more-link:hover {
  background: #000;
}
/************************************
** エントリーカード画像表示（余白なし & 全体表示）
************************************/
.entry-card-thumb {
  width: 100%;
  overflow: hidden;
  background-color: #f8f8f8;
  display: flex;
  justify-content: center;
  align-items: center;
}

.entry-card-thumb img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
/* 見出しの余白とサイズ調整（モバイル向け） */
.category-title,
.archive-title {
  margin-top: 12px;
  margin-bottom: 4px;
  font-size: 20px;
}

/* カードとテキストの余白調整（詰めるなら） */
.entry-card-content {
  padding: 8px 12px;
}

/* カード下の余白（必要なら） */
.entry-card {
  margin-bottom: 12px;
}
.all-articles-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px; /* 丸と文字の間 */
  margin: 32px 0;
}

.circle-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #B6AFA7; /* グレージュ */
  color: #fff;
  text-align: center;
  line-height: 36px;
  font-size: 20px;
  font-weight: bold;
}

.text-link {
  font-weight: 600;
  color: #333;
  text-decoration: none;
  font-size: 16px;
}

.text-link:hover {
  text-decoration: underline;
}
