@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){
  .entry-card-title {
      font-size: 14px;
  }
} 

/* モバイルのグローバルナビ(メニュー)の設定 */
#navi .navi-in > .menu-mobile a{
color:#ffffff;
}

/* 検索結果6記事後 Pcolle固定2商品 */

.poichi-search-fixed-ads {
    grid-column: 1 / -1;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;

    width: 100%;
    max-width: 540px;

    margin: 8px auto 18px;
}

.poichi-search-ad-card {
    position: relative;
    overflow: hidden;

    display: block;

    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;

    color: #1f2937;
    text-decoration: none;

    box-shadow: 0 4px 14px rgba(15,23,42,.04);
}

.poichi-search-ad-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eee;
}

.poichi-search-ad-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.poichi-search-ad-title {
    padding: 10px 11px 12px;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.poichi-search-ad-label {
    position: absolute;
    z-index: 5;

    top: 7px;
    left: 7px;

    padding: 3px 6px;

    background: #556176;
    color: #fff;

    border-radius: 4px;

    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

/* スマホも2列維持 */
@media (max-width: 767px) {

    .poichi-search-fixed-ads {
        max-width: none;
        gap: 8px;
        margin: 6px auto 14px;
    }

    .poichi-search-ad-title {
        padding: 8px 8px 10px;
        font-size: 12px;
    }

}