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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* 見出しのデザインリセット */
/*H2 */
.entry-content h2{
border:none;
background:none;
padding: 0;
}

/* H3 */
.entry-content h3{
border:none;
background:none;
padding: 0;
}

/* H4 */
.entry-content h4{
border:none;
background:none;
padding: 0;
}

/* 見出しのデザイン設定 */
/* H2 */
.entry-content h2{
color: #333333; /* 文字色 */
font-size: 1.8em; /* 文字サイズ */
padding-top:16px; /* 文字と上部の間隔 */
padding-left:10px;/* 文字と左線の間隔 */
padding-bottom:16px;/* 文字と下部の間隔 */
border-top: solid 2px #555555;/* 上側に実線・色 */
border-bottom: solid 2px #555555;/* 下側に実線・色*/
}

/* H3 */
.entry-content h3{
color: #333333; /* 文字色 */
font-size: 1.4em; /* 文字サイズ */
background-color: #f2f2f2;/* 背景色 */
padding: 10px;
border-left: solid 10px #555555; /* 左側に実線・色*/
}

/* H4 */
.entry-content h4{
color: #333333; /* 文字色 */
font-size: 1.2em; /* 文字サイズ */
padding: 8px;
border-bottom: dotted 3px #555555;/* 下側に点線・色*/
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

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

/*ショートコードでエントリーカードのような表示に*/
.like-entry-cards .new-entry-card-link.widget-entry-card-link.a-wrap {
  padding: 2%;
  max-width: none;
  margin-bottom: 3%;
  border: 1px solid #ccc;
}

.like-entry-cards .new-entry-card-thumb.widget-entry-card-thumb.card-thumb {
  width: 320px;
  float: left;
  margin-right: 1.6%;
  margin-top: 0;
}

.like-entry-cards .new-entry-card-content.widget-entry-card-content.card-content {
  margin-left: 330px;
  padding-bottom: 1.2em;
}

.like-entry-cards .new-entry-card-title.widget-entry-card-title.card-title {
  font-size: 18px;
  margin: 0 0 5px 0;
  line-height: 1.2;
  font-weight: bold;
}

.like-entry-cards .new-entry-card-snippet.widget-entry-card-snippet.card-snippet {
  font-size: 0.8em;
  max-height: 7.8em;
  line-height: 1.3;
  overflow: hidden;
}

.like-entry-cards .new-entry-card-date.widget-entry-card-date.display-none {
  bottom: 0;
  position: absolute;
  right: 0;
  text-align: right;
  line-height: 1;
  display: block;
}

@media screen and (max-width:1280px) {

  .like-entry-cards .new-entry-card-thumb.widget-entry-card-thumb.card-thumb {
    width: 38%;
  }

  .like-entry-cards .new-entry-card-content.widget-entry-card-content.card-content {
    margin-left: 40%;
  }

}

@media screen and (max-width: 480px) {

  .like-entry-cards .new-entry-card-content.widget-entry-card-content.card-content {
    margin-left: 0;
  }

  .like-entry-cards .new-entry-card-thumb.widget-entry-card-thumb.card-thumb {
    margin-bottom: 6px;
  }

  .like-entry-cards .new-entry-card-title.widget-entry-card-title.card-title {
    font-size: 16px;
    line-height: 1.3;
  }

  .like-entry-cards .new-entry-card-snippet.widget-entry-card-snippet.card-snippet {
    margin-bottom: 0;
    clear: both;
    font-size: 13px;
    /*display: none;スニペットをスマホ表示で非表示にする場合に使用*/
  }

}

/*ショートコードでエントリーカードのような表示にその２*/
.like-entry-cards2 .new-entry-card-link.widget-entry-card-link.a-wrap {
  padding: 2%;
  max-width: none;
  margin-bottom: 3%;
  border: 1px solid #ccc;
}

.like-entry-cards2 .new-entry-card-thumb.widget-entry-card-thumb.card-thumb {
  width: 320px;
  margin-right: 1.6%;
  margin-top: 0;
}

.like-entry-cards2 .new-entry-card-content.widget-entry-card-content.card-content {
  margin-left: 0px;
  padding-bottom: 1.2em;
}

.like-entry-cards2 .new-entry-card-title.widget-entry-card-title.card-title {
  font-size: 18px;
  margin: 0 0 5px 0;
  line-height: 1.2;
  font-weight: bold;
}

.like-entry-cards2 .new-entry-card-snippet.widget-entry-card-snippet.card-snippet {
  font-size: 0.8em;
  max-height: 7.8em;
  line-height: 1.3;
  overflow: hidden;
}

.like-entry-cards2 .new-entry-card-date.widget-entry-card-date.display-none {
  bottom: 0;
  position: absolute;
  right: 0;
  text-align: right;
  line-height: 1;
  display: block;
}

@media screen and (max-width:1280px) {

  .like-entry-cards2 .new-entry-card-thumb.widget-entry-card-thumb.card-thumb {
    width: 38%;
  }

  .like-entry-cards2 .new-entry-card-content.widget-entry-card-content.card-content {
    margin-left: 40%;
  }

}

@media screen and (max-width: 480px) {

  .like-entry-cards2 .new-entry-card-content.widget-entry-card-content.card-content {
    margin-left: 0;
  }

  .like-entry-cards2 .new-entry-card-thumb.widget-entry-card-thumb.card-thumb {
    margin-bottom: 6px;
  }

  .like-entry-cards2 .new-entry-card-title.widget-entry-card-title.card-title {
    font-size: 16px;
    line-height: 1.3;
  }

  .like-entry-cards2 .new-entry-card-snippet.widget-entry-card-snippet.card-snippet {
    margin-bottom: 0;
    clear: both;
    font-size: 13px;
    /*display: none;スニペットをスマホ表示で非表示にする場合に使用*/
  }

}

/* ピックアップ記事 */
.content-top {
  background: #ffffff; /* 全体の背景色 */
  margin: 100px 0px;
  padding: 6px 16px; /* 全体の余白 */
}
.pickup-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0;
  padding: 0;
}
.pickup-item {
  list-style: none;
  width: 24%;
  position: relative;
  transition-duration: 0.4s;
  box-shadow: 0px 4px 15px -5px rgba(85,85,85,0.75);
}
.pickup-item img {
  width: 100%;
	height:160px;
	object-fit: cover; 
  vertical-align: bottom;
}
.pickup-item:hover {
  transform: translateY(-6px);
  box-shadow: 0px 8px 18px -5px rgba(85,85,85,0.75);
}
.pickup-title {
  position: absolute;
  top: 80%;
  left: 50%;
  width: 80%;
  text-align: center;
  transform: translateY(-50%) translateX(-50%);
  -webkit-transform: translateY(-50%) translateX(-50%);
  white-space: normal;
  background: rgba(255,255,255,0.9); /* タイトルの背景 */
  font-size: 15px; /* タイトルの文字サイズ */
  padding: 6px 0;
  border-radius: 10px;
  border: 3px solid #ccc; /* タイトルのボーダー */
  transition-duration: 0.4s;
  color: #000; /* タイトルの文字色 */
}

.pickup-item:hover a .pickup-title { /* タイトルのマウスホバー時の設定 */
  border: 3px solid #90dffd; /* タイトルのボーダー */
  background: #555555; /* タイトルの背景色 */
  color: #fff; /* タイトルの文字色 */
}
@media screen and (max-width: 768px){ /* モバイル表示の設定 */
.content-top {
  padding: 20px 16px 4px 16px;
}
.pickup-item {
  width: 48.5%;
  margin-bottom: 16px;
}
}