@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
*/



/************************************
** 固定ページだけタイトルを非表示にする
************************************/
.page .entry-title {
display: none;
}

/************************************
** 固定ページだけ日付を非表示にする
************************************/
.page .date-tags {
  display: none;
}


/************************************
** ヘッダーロゴ位置調整
************************************/
.logo{
	text-align:left;
}


/************************************
** リンクをロゴ画像の範囲内にする
************************************/


/************************************
** サイト名非表示
************************************/
.site-name-text {
display: none;
}

/************************************
** グローバルメニューの区切り線
************************************/
#navi .navi-in > ul > li{
  border-right: 1px solid #eee;
}

#navi .navi-in > ul > li:last-child{
  border-right-width: 0;
}

.navi-in > ul > .menu-item-has-children > a::after{
  right: 10px;
} 

/************************************
** 特定の固定ページでグローバルメニューを非表示
************************************/
.page-id-1751 .header-menu,
.page-id-1751 .navi,
.page-id-1912 .header-menu,
.page-id-1912 .navi {
  display: none;
}


/************************************
** 特定の投稿カテゴリーでグローバルメニューを非表示
************************************/
.category-space .header-menu,
.category-space .navi,
.category-log .header-menu,
.category-log .navi,
.category-memo .header-menu,
.category-memo .navi,
.category-special .header-menu,
.category-special .navi{
  display: none;
}


/************************************
** カテゴリー一覧の投稿カードに出るカテゴリラベルを非表示
************************************/
.category .cat-label {
  display: none;
}





/************************************
** 固定ページの背景を透過する
************************************/
#main, #footer {
  background: transparent;
}

/スマホ横並び維持/
.wp-block-columns {
flex-wrap: nowrap;
}





/************************************
** 投稿カテゴリーページのヘッダーを非表示にする
************************************/
body.category-10 #header { 
  background-image: none;
  height: 0px;
} 

body.category-11 #header { 
  background-image: none;
  height: 0px;
} 

body.category-12 #header { 
  background-image: none;
  height: 0px;
} 

body.category-13 #header { 
  background-image: none;
  height: 0px;
} 





/* 投稿ページ＆カテゴリーページの背景を一括指定 */
body.single,
body.category {
  background-image: url("https://hikaruri.illust.jp/wp-content/uploads/2024/12/paper-1074131_19202-scaled.jpg") !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  background-position: center !important;
}

/* 固定ページ全体の共通背景 */
body.page {
	  background-image: url("https://hikaruri.illust.jp/wp-content/uploads/2024/09/paper-1074131_1920-scaled.jpg") !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  background-position: center !important;
}




/************************************
** 個別ページだけ背景を別画像にする
************************************/
body.page-id-80,
body.page-id-1488,
body.page-id-1491,
body.page-id-1501,
body.page-id-1503,
body.page-id-1671,
body.page-id-1751,
body.page-id-1788,
body.page-id-1912{
  background-image: url("https://hikaruri.illust.jp/wp-content/uploads/2024/12/paper-1074131_19202-scaled.jpg") !important;
}




