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

/* ======================
おしゃイラスト共通スタイル
====================== */

/* コンテナ調整 */
.material-container,
.taxonomy-container,
.material-archive-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* タイトル */
.material-title,
.taxonomy-title,
.archive-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #333;
}

/* 説明文 */
.material-content,
.category-description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
}

/* グリッド一覧 */
.material-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

/* カード */
.material-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  background: #fff;
  transition: box-shadow 0.2s;
}
.material-card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}
.material-card h2 {
  font-size: 1rem;
  margin-top: 0.5rem;
  color: #333;
}

/* メタ情報 */
.material-meta {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: #666;
}

/* ダウンロードボタン */
.material-download-button {
  display: inline-block;
  width: 100%;
  max-width: 320px;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
  color: #ffffff;
  background-color: #0073aa;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s;
}
.material-download-button:hover {
  background-color: #005d87;
}

/* セクション見出し */
.material-container h2 {
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: #333;
}