@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 screen and (max-width: 1023px) {
  #navi .navi-in {
    overflow: visible !important;
  }

  #navi .menu-mobile > .menu-item-has-children > .sub-menu {
    left: 0;
    right: auto;
    width: calc(100vw - 24px);
    max-width: 380px;
    max-height: 70vh;
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
    z-index: 9999;
    -webkit-overflow-scrolling: touch;
  }

  #navi .menu-mobile > .menu-item-has-children > .sub-menu > li {
    width: 100% !important;
    height: auto !important;
    min-height: 46px;
    line-height: 1.4 !important;
  }

  #navi .menu-mobile > .menu-item-has-children > .sub-menu > li > a,
  #navi .menu-mobile > .menu-item-has-children > .sub-menu .caption-wrap {
    display: block;
    height: auto !important;
    line-height: 1.4 !important;
    white-space: normal;
  }

  #navi .menu-mobile > .menu-item-has-children > .sub-menu > li > a {
    padding: 13px 16px;
  }

  #navi .menu-mobile > .menu-item-has-children > .sub-menu .item-description {
    display: none !important;
  }
}
/* ヘッダーナビ：RentaBrickの名称を省略しない */@media screen and (min-width: 1024px) {  #navi .navi-in > ul { justify-content: center !important; }  #navi .navi-in > ul > li { width: auto !important; flex: 0 0 auto !important; }  #navi .navi-in > ul > li > a { padding-left: 18px !important; padding-right: 18px !important; white-space: nowrap !important; overflow: visible !important; text-overflow: clip !important; }}@media screen and (max-width: 1023px) {  #navi .navi-in > ul > li:last-child { width: 100% !important; flex: 0 0 100% !important; }  #navi .navi-in > ul > li:last-child > a { white-space: nowrap !important; overflow: visible !important; text-overflow: clip !important; }}/* トップページ：RentaBrick一覧見出しのスマホ表示 */@media screen and (max-width: 600px) {  .front-page-type-category-2-columns .list-category-78-column .list-title-in {    box-sizing: border-box;    max-width: 100%;    padding-left: 50px;    padding-right: 50px;  }}
