@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){
  /*必要ならばここにコードを書く*/
}


/* ================================================
   ヒーローセクション (アピールエリア) デザイン変更
   ================================================ */
#appeal {
  background-image: url('https://kiki-care.com/wp-content/uploads/2026/05/hero-image-new.png') !important;
  background-color: #fdf8f0 !important;
  background-position: center center !important;
  background-size: cover !important;
  background-attachment: scroll !important;
  min-height: 480px !important;
  position: relative;
  overflow: hidden;
}

#appeal-in {
  display: none !important;
}

#appeal-in::before {
  content: none;
  display: none;
}

#appeal-in .appeal-title {
  font-size: 26px;
  font-weight: bold;
  line-height: 1.7;
  color: #3a3a3a;
  margin-bottom: 12px;
  border-left: 4px solid #e87a40;
  padding-left: 16px;
  display: block;
}

#appeal-in .appeal-message {
  font-size: 15px;
  color: #555;
  margin-bottom: 24px;
  display: block;
}

#appeal-in .appeal-button,
#appeal-in a.appeal-btn {
  display: inline-block;
  background-color: #e87a40;
  color: #fff !important;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none !important;
  font-size: 15px;
  transition: background 0.2s;
  border: none;
}

#appeal-in .appeal-button:hover,
#appeal-in a.appeal-btn:hover {
  background-color: #c05c20;
  color: #fff !important;
}
/* カテゴリボックス */
.category-btn-wrap {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  padding: 8px !important;
  background-color: #fdf8f0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.category-btn-wrap a.category-btn {
  flex: 0 0 calc(50% - 4px) !important;
  max-width: calc(50% - 4px) !important;
  min-height: 100px !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  font-size: 15px !important;
  font-weight: bold !important;
  color: #4a3728 !important;
  text-decoration: none !important;
  border-radius: 12px !important;
  padding: 16px !important;
  text-align: center !important;
  line-height: 1.5 !important;
  border: none !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08) !important;
  background-image: none !important;
}
.category-btn-wrap a.category-btn:nth-child(1) { background-color: #f5ede0 !important; }
.category-btn-wrap a.category-btn:nth-child(2) { background-color: #e8e4f0 !important; }
.category-btn-wrap a.category-btn:nth-child(3) { background-color: #dde6dd !important; }
.category-btn-wrap a.category-btn:nth-child(4) { background-color: #f5f0d0 !important; }

@media (max-width: 600px) {
  .category-btn-wrap {
    gap: 6px !important;
    padding: 6px !important;
  }
  .category-btn-wrap a.category-btn {
    flex: 0 0 calc(50% - 3px) !important;
    max-width: calc(50% - 3px) !important;
    font-size: 13px !important;
    padding: 12px 8px !important;
    min-height: 80px !important;
  }
}



/* 記事カード：画像＋タイトル2行のみ表示 */
.entry-card-snippet,
.card-snippet,
.e-card-snippet,
.entry-card-meta,
.card-meta,
.e-card-meta,
.admin-pv {
  display: none !important;
}

.entry-card-title,
.card-title,
.e-card-title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}


