@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/

.nuikatsu-archive {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 15px 60px;
}

.nuikatsu-archive-header {
  margin-bottom: 25px;
}

.nuikatsu-archive-header h1 {
  font-size: 28px;
  margin: 0;
}

.nuikatsu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.nuikatsu-card {
  overflow: hidden;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.nuikatsu-card-image {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f2f2f2;
}

.nuikatsu-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.nuikatsu-card-image:hover img {
  transform: scale(1.04);
}

.nuikatsu-no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #999;
  font-size: 14px;
}

.nuikatsu-card-body {
  padding: 12px 14px 15px;
}

.nuikatsu-card-title {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.4;
}

.nuikatsu-card-title a {
  color: inherit;
  text-decoration: none;
}

.nuikatsu-card-subtitle {
  margin: 0 0 8px;
  color: #555;
  font-size: 13px;
  line-height: 1.6;
}

.nuikatsu-card-date {
  color: #999;
  font-size: 11px;
}

.nuikatsu-pagination {
  margin-top: 35px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .nuikatsu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .nuikatsu-card-body {
    padding: 9px 10px 11px;
  }

  .nuikatsu-card-title {
    font-size: 14px;
  }

  .nuikatsu-card-subtitle {
    font-size: 12px;
  }
}
.nuikatsu-card-body {
  display: flex;
  flex-direction: column;
  min-height: 125px;
}

.nuikatsu-card-nuigurumi {
  margin: auto 0 0;
  padding-top: 8px;
  color: #777;
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
}
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
