@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){
  /*必要ならばここにコードを書く*/
}



/************************************************************************/



/* 動画の調整 */
.wp-block-video {
  background-color: black; /* 背景を黒にする */
}
.wp-block-video [poster] {
  aspect-ratio: 16 / 9;
  object-fit: contain; 
}



/* 品番の装飾 */
.highlight-box {
  background-color: #777;      /* 背景 */
  color: #fff;                 /* 白文字 */
  padding: 0.2em 0.6em;        /* 内側の余白 */
  border-radius: 4px;          /* 四隅の丸み */
  display: inline-block;       /* インラインでブロックのように */
  font-weight: bold;           /* お好みで文字を太く */
}



/* テーブルを折り返ししない */
table td, table th {
  white-space: nowrap;
}



/* エントリーカード */
.entry-card-thumb.card-thumb,
.related-entry-card-thumb.card-thumb {
  position: relative;
  overflow: hidden;
  background-color: #000;
}
.entry-card-thumb.card-thumb .entry-card-bg-blur,
.related-entry-card-thumb.card-thumb .entry-card-bg-blur {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--entry-thumb-bg);
  background-size: cover;
  background-position: center;
  filter: blur(6px);
  transform: scale(1.1);
  z-index: 0;
}
.entry-card-thumb.card-thumb img,
.related-entry-card-thumb.card-thumb img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  display: block;
}
@media screen and (max-width: 480px) {
  .ect-3-columns .entry-card-wrap {
	width: 100%;
  }
}



/* リンクの下線を消す */
a {
text-decoration: none;
}



/*カテゴリーラベル非表示*/
.cat-label {
display: none;
}



/*文字サイズ*/
.entry-card-title {/*インデックスカード*/
	font-size: 15px;
}
.entry-title {/*記事タイトル*/
	font-size: 18px;
}
.rect-vertical-card .related-entry-card-title {/*関連記事タイトル*/
	font-size: 15px;
}
.related-entry-heading, .comment-title {
	font-size: 18px;
}
.archive-title {/*アーカイブタイトル*/
    font-size: 20px;
}
.article h2 {
	font-size: 18px;
}
@media screen and (max-width: 480px){
.entry-card-title {/*インデックスカード*/
	font-size: 12px;
}
.entry-title {/*記事タイトル*/
	font-size: 15px;
}
.rect-vertical-card .related-entry-card-title {/*関連記事タイトル*/
	font-size: 12px;
}
.related-entry-heading, .comment-title {
	font-size: 15px;
}
.archive-title {/*アーカイブタイトル*/
    font-size: 17px;
}
.article h2 {
	font-size: 15px;
}
}



/*検索窓*/
.search-box {
    margin: 0.2em 0.2em 0.2em;
    position: relative;
}










































