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

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



/* ===== エントリーカードかわいい化 ===== */

.a-wrap.entry-card-wrap {
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 4px 14px rgba(0,0,0,0.08);
  transition:
    transform .25s ease,
    box-shadow .25s ease;
  border: none;
  position: relative;
}

/* ふわっと浮く */
.a-wrap.entry-card-wrap:hover {
  transform: translateY(-6px);
  box-shadow:
    0 12px 28px rgba(0,0,0,0.14);
}

/* サムネ */
.entry-card-thumb img {
  transition: transform .4s ease;
}

/* 画像ズーム */
.a-wrap.entry-card-wrap:hover .entry-card-thumb img {
  transform: scale(1.06);
}

/* タイトル */
.entry-card-title {
  font-size: 1.1em;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 10px;
  color: #444;
}

/* スニペット */
.entry-card-snippet {
  color: #777;
  line-height: 1.7;
  font-size: 0.92em;
}

/* NEW風リボン */
.a-wrap.entry-card-wrap::before {
  content: "NEW";
  position: absolute;
  top: 12px;
  left: -30px;
  width: 100px;
  text-align: center;
  background: #ff7eb6;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 5px 0;
  transform: rotate(-45deg);
  z-index: 9;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

/* メタ情報 */
.entry-card-meta {
  opacity: .7;
  font-size: .8em;
}

/* スマホ */
@media screen and (max-width: 480px) {

  .a-wrap.entry-card-wrap {
    border-radius: 18px;
  }

  .entry-card-title {
    font-size: 1em;
  }

}




















/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

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