@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: 834px) {

  #navi {
    display: block !important;
  }

  #navi .navi-in > ul {
    display: flex !important;
    flex-wrap: nowrap !important;
  }

  #navi .navi-in > ul > li {
    width: 20% !important;
    min-width: 0 !important;
  }

  /* 元の文字・アイコンを消す */
  #navi .navi-in > ul > li > a {
    font-size: 0 !important;
height: 58px !important;
padding: 8px 1px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
  }

  #navi .navi-in > ul > li > a * {
    display: none !important;
  }

  /* 日本語 */
  #navi .navi-in > ul > li:nth-child(1) > a::before {
    content: "ホーム";
  }

  #navi .navi-in > ul > li:nth-child(2) > a::before {
    content: "仕事";
  }

  #navi .navi-in > ul > li:nth-child(3) > a::before {
    content: "働き方";
  }

  #navi .navi-in > ul > li:nth-child(4) > a::before {
    content: "育休";
  }

  #navi .navi-in > ul > li:nth-child(5) > a::before {
    content: "プロフィール";
  }

  #navi .navi-in > ul > li > a::before {
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
  }

  /* 英語 */
  #navi .navi-in > ul > li:nth-child(1) > a::after {
    content: "HOME";
  }

  #navi .navi-in > ul > li:nth-child(2) > a::after {
    content: "CAREER";
  }

  #navi .navi-in > ul > li:nth-child(3) > a::after {
    content: "LIFESTYLE";
  }

  #navi .navi-in > ul > li:nth-child(4) > a::after {
    content: "PARENTING";
  }

  #navi .navi-in > ul > li:nth-child(5) > a::after {
    content: "PROFILE";
  }

  #navi .navi-in > ul > li > a::after {
    font-size: 8px !important;
    line-height: 1.2 !important;
    margin-top: 4px !important;
  }
}

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

  #navi .navi-in > ul {
    align-items: stretch !important;
  }

  #navi .navi-in > ul > li {
    height: auto !important;
  }

  #navi .navi-in > ul > li > a {
    height: auto !important;
    min-height: 46px !important;
    padding: 5px 1px !important;
  }

  #navi .navi-in > ul > li > a::before {
    font-size: 12px !important;
    line-height: 1.1 !important;
  }

  #navi .navi-in > ul > li > a::after {
    font-size: 7px !important;
    line-height: 1 !important;
    margin-top: 2px !important;
  }
}/* スマホ：ヘッダー下グローバルメニューをコンパクトに */
@media screen and (max-width: 834px) {

  #navi .navi-in > ul > li > a {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    min-height: 10 !important;
  }

  #navi .navi-in > ul > li > a .caption-wrap {
    line-height: 3 !important;
  }

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

  #header-container .header-in {
    overflow: hidden !important;
    max-height: 420px !important;
  }

}