@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-color: #fdf8f0 !important;
  background-position: right center !important;
  background-size: 50% auto !important;
  background-attachment: scroll !important;
  min-height: 400px !important;
  position: relative;
}

#appeal-in {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  padding: 60px 5% 60px 8% !important;
  max-width: 50% !important;
  min-height: 400px !important;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  background-color: #fdf8f0 !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;
}

@media (max-width: 768px) {
  #appeal {
    background-position: bottom center !important;
    background-size: 90% auto !important;
    min-height: 520px !important;
  }
  #appeal-in {
    max-width: 100% !important;
    padding: 32px 6% 200px !important;
    min-height: auto !important;
  }
  #appeal-in::before {
    font-size: 20px;
  }
}

/* ================================================
   カテゴリーボックス デザイン変更
   ================================================ */
.category-btn-wrap {
  display: flex !important;
  gap: 16px !important;
  justify-content: center !important;
  padding: 32px 24px !important;
  flex-wrap: wrap !important;
  background-color: #fdf8f0 !important;
  max-width: 900px !important;
  margin: 0 auto !important;
}

.category-btn-wrap a.category-btn,
.category-btn {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffffff !important;
  border: 2px solid #e8d5b0 !important;
  border-radius: 14px !important;
  padding: 24px 20px !important;
  min-width: 150px !important;
  max-width: 220px !important;
  flex: 1 !important;
  text-decoration: none !important;
  color: #3a3a3a !important;
  font-weight: bold !important;
  font-size: 14px !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07) !important;
  text-align: center !important;
  line-height: 1.5 !important;
}

.category-btn-wrap a.category-btn:hover,
.category-btn:hover {
  background: #fff5e8 !important;
  border-color: #e87a40 !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12) !important;
  color: #e87a40 !important;
}

.category-btn-wrap a.category-btn:nth-child(1)::before,
.category-btn:nth-child(1)::before {
  content: "\1F3E0";
  font-size: 38px;
  margin-bottom: 12px;
  display: block;
}

.category-btn-wrap a.category-btn:nth-child(2)::before,
.category-btn:nth-child(2)::before {
  content: "\1FAA' ";
  font-size: 38px;
  margin-bottom: 12px;
  display: block;
}

.category-btn-wrap a.category-btn:nth-child(3)::before,
.category-btn:nth-child(3)::before {
  content: "\1F4D3";
  font-size: 38px;
  margin-bottom: 12px;
  display: block;
}

@media (max-width: 600px) {
  .category-btn-wrap {
    gap: 10px !important;
    padding: 20px 12px !important;
  }
  .category-btn-wrap a.category-btn,
  .category-btn {
    min-width: 90px !important;
    padding: 14px 10px !important;
    font-size: 12px !important;
  }
  .category-btn-wrap a.category-btn:nth-child(1)::before,
  .category-btn-wrap a.category-btn:nth-child(2)::before,
  .category-btn-wrap a.category-btn:nth-child(3)::before,
  .category-btn:nth-child(1)::before,
  .category-btn:nth-child(2)::before,
  .category-btn:nth-child(3)::before {
    font-size: 28px;
    margin-bottom: 8px;
  }
}