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

/* モバイル時のみ横スクロール化 */
@media (max-width: 768px) {

  /* 横並びコンテナ */
  .recommended .recommended-in {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 0 16px;
  }

  /* カード（aタグ） */
  .recommended .recommended-in .navi-entry-card-link {
    flex: 0 0 85% !important;
    max-width: 85% !important;
    width: 85% !important;
  }

  /* 既存の2列指定を無効化 */
  .recommended .recommended-in .widget-entry-cards {
    display: contents !important;
  }

  /* スクロールバー非表示 */
  .recommended .recommended-in::-webkit-scrollbar {
    display: none;
  }
}