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

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

body {
  background-color: #ffffff;
}

.logo-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-header .logo {
  flex-shrink: 0;
}

/* スクロール前後でロゴサイズを統一（スクロール後は hlt-top-menu が max-height:60px を付与） */
#header .logo-header img {
  max-height: 60px;
  height: auto;
  vertical-align: middle;
}

/* カスタムCSSの .site-name-text { width:0; height:0 } を上書き */
.logo .site-name-text {
  width: auto !important;
  height: auto !important;
  font-size: inherit !important;
  color: inherit !important;
  display: block !important;
}

.logo-header .site-name-text-link,
.logo-header .site-name-text {
  color: #333333 !important;
}

.logo-header .header-search {
  flex: 1;
  margin-top: 8px;
}

/* アイキャッチ画像下方にタイトルをオーバーレイ */
.ect-vertical-card .entry-card-wrap .entry-card-content {
  margin-top: -2.4em;
  position: relative;
  z-index: 2;
}

.ect-vertical-card .entry-card-title {
  background-color: #000;
  color: #fff;
  padding: 0.3em 0.6em;
  margin: 0 0 0.4em;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.entry-card-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#header-container {
  background: #ffffff !important;
  color: #333333 !important;
  margin-top: 0 !important;
}

/* 小カテゴリボタン（コンテンツ上部） */
.liacsy-subcats-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  background-color: #ffffff;
}

.liacsy-subcat-btn {
  color: #333333 !important;
  text-decoration: none !important;
  padding: 6px 16px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
}

.liacsy-subcat-btn:hover {
  color: #000000 !important;
  background-color: #f5f5f5;
  text-decoration: none !important;
}

body {
  margin-top: 0 !important;
}


/*
.widget_new_entries .display-none {
	display: block;
	padding-top: 0.2em;
	text-align: down;
}
*/
/* デスクトップ向けのスタイル */

/* 例えば、#my-element というIDを持つ要素を表示する場合 */
/* デスクトップでは表示する */
/* それをコメントアウト
#my-element {
  display: block;
}
*/
/*
.main, 
.sidebar {
  background-color: #ccc;
}
*/
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*必要ならばここにコードを書く*/
/*1023px以下*/
/* モバイルでは非表示にする */
/* それをコメントアウト*/
@media screen and (max-width: 1023px){
	#my-element {
    display: none;
  }
}


/*834px以下*/
/* モバイルでは非表示にする */
/* それをコメントアウト*/
@media screen and (max-width: 834px){
	#my-element {
    display: none;
  }
}


/*480px以下*/
/* モバイルでは非表示にする */
/* それをコメントアウト*/
@media screen and (max-width: 480px){
	#my-element {
    display: none; /* モバイルでは非表示にする */
  }
}
