@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){
  /*必要ならばここにコードを書く*/
	.site-title,
.site-description {
  display: none !important;
}

}

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

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
/* カスタム追従ヘッダー */
#custom-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ADB6DC; /* 六感工房のテーマカラー */
  z-index: 9999;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  padding: 10px 20px;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  font-size: 18px;
}
.site-title a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
body {
  padding-top: 70px; /* ヘッダーの高さ分スペース */
}
/* カスタムヘッダー用スタイル */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: #ADB6DC;
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
/* ▼ カスタム追従ヘッダー固定対応 ▼ */
.custom-fixed-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background-color: #ADB6DC;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.custom-fixed-header a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.custom-sns-buttons a {
  margin-left: 10px;
  padding: 5px 10px;
  border-radius: 5px;
}
/* ログイン中の管理バーと重ならないように調整 */
body.admin-bar .custom-fixed-header {
  top: 32px;
}
/* 見出し帯セクションの見出しスタイル調整 */
.section-title {
  color: #ffffff !important;         /* 文字色を白に */
  font-size: 1.4rem !important;       /* フォントサイズを少し小さく */
  font-weight: bold;
  text-align: center;
  padding: 20px 0;
}
/* 背景が #ADB6DC の見出し帯内の h2 要素に適用 */
section[style*="background:#ADB6DC"] h2 {
  color: #ffffff !important;
  font-size: 1.4rem !important;
}
/* 六感工房の理念・取り組みの見出し帯に白文字＆小さめフォントを適用 */
.entry-content h2 {
  color: #ffffff !important;
  font-size: 1.4rem !important;
}

/* 背景が #ADB6DC のセクションを指定して、念のため背景色も上書き */
.entry-content h2:has(span) {
  background-color: #ADB6DC !important;
  padding: 20px 0;
  text-align: center;
}
.header-container-in .site-title,
.header-container-in .site-description {
  display: none !important;
}
@media screen and (max-width: 768px) {
  .single .wrap,
  .single .main,
  .single .content,
  .single .article,
  .single .entry,
  .single .entry-content {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  .single .article {
    padding: 0 !important;
    margin: 0 !important;
  }

  .single .article h1,
  .single .article h2,
  .single .article p,
  .single .article img {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}


