@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon
Version:    1.1.2
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

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

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

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

/* ========================================
   T13: カテゴリアーカイブヒーロー
   ======================================== */
.ky-cat-hero {
  background: linear-gradient(135deg, #faf6ed 0%, #f5ecd9 100%);
  border-left: 4px solid #b18b50;
  padding: 24px 28px;
  margin-bottom: 32px;
  border-radius: 8px;
}

.ky-cat-lead {
  font-size: 16px;
  line-height: 1.8;
  color: #4a3a2a;
  margin: 0 0 16px;
  font-family: "Noto Serif JP", serif;
}

.ky-cat-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.ky-cat-bullets li {
  font-size: 14px;
  line-height: 1.7;
  color: #5a4a3a;
  padding-left: 0;
  margin-bottom: 6px;
}

.ky-cat-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.ky-cta-btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.ky-cta-primary {
  background: #b18b50;
  color: #fff;
}

.ky-cta-primary:hover {
  background: #9a7842;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(177, 139, 80, 0.3);
}

.ky-cta-secondary {
  background: #fff;
  color: #6b2c39;
  border: 1px solid #6b2c39;
}

.ky-cta-secondary:hover {
  background: #6b2c39;
  color: #fff;
  transform: translateY(-2px);
}

/* SP対応 */
@media (max-width: 768px) {
  .ky-cat-hero { padding: 18px 16px; }
  .ky-cat-lead { font-size: 15px; }
  .ky-cat-cta { flex-direction: column; }
  .ky-cta-btn { width: 100%; text-align: center; }
}

/* ========================================
   T13: パンくずのデザイン微調整
   ======================================== */
.breadcrumb {
  font-size: 13px;
  color: #6a5a4a;
  margin-bottom: 16px;
  padding: 8px 0;
}

.breadcrumb a {
  color: #6b2c39;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}




/* ========================================
   T15: DL素材ウィジェット
   ======================================== */
.ky-dl-list { list-style: none; padding: 0; margin: 0 0 12px; }
.ky-dl-list li { margin-bottom: 10px; }
.ky-dl-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #faf6ed;
  border-radius: 4px;
  text-decoration: none;
  color: #4a3a2a;
  transition: all 0.3s ease;
}
.ky-dl-list a:hover {
  background: #f5ecd9;
  transform: translateX(3px);
  color: #6b2c39;
}
.ky-dl-rank {
  display: inline-block;
  width: 22px; height: 22px;
  line-height: 22px;
  text-align: center;
  background: #b18b50;
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.ky-dl-title { flex: 1; font-size: 13px; line-height: 1.4; }
.ky-dl-meta { font-size: 11px; color: #998877; }
.ky-dl-allbtn {
  display: block;
  text-align: center;
  font-size: 13px;
  padding: 8px;
  color: #6b2c39;
  text-decoration: none;
  border: 1px solid #6b2c39;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.ky-dl-allbtn:hover {
  background: #6b2c39;
  color: #fff;
}

/* ========================================
   T15: スクロール追従の調整
   ======================================== */
.ky-sticky-cv {
  font-size: 13px;
}
.sidebar-scroll {
  /* Cocoon標準のサイドバー追従クラス。微調整があれば */
  max-width: 280px;
}

/* ========================================
   SP対応
   ======================================== */
@media (max-width: 768px) {
  .widget { padding: 14px 12px; }
  .widget-title, .ky-widget-title { font-size: 16px; }
}