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

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

/* Above Single SNS Buttons に置いた「テキスト」ウィジェットを控えめデザインに */
.widget-above-single-sns-buttons.widget_text{
  background: #fafafa;
  border: 1px dashed #e5e7eb;
  border-radius: 6px;
  padding: 10px 12px;
  margin: 12px 0 10px;
}

.widget-above-single-sns-buttons.widget_text .textwidget p{
  color: #6b7280;
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

/* リンクも主張を弱める */
.widget-above-single-sns-buttons.widget_text .textwidget a{
  color: inherit;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 2px;
}
.widget-above-single-sns-buttons.widget_text .external-icon{
  font-size: .85em;
  opacity: .6;
  margin-left: 2px;
}

/* Polylang言語スイッチャー - 7言語のみ表示 */
.widget_polylang li {
    display: none !important;
}

/* 表示する7言語 */
.widget_polylang .lang-item-ja,  /* 日本語 */
.widget_polylang .lang-item-en,  /* 英語 */
.widget_polylang .lang-item-zh,  /* 中国語 */
.widget_polylang .lang-item-fr,  /* フランス語 */
.widget_polylang .lang-item-de,  /* ドイツ語 */
.widget_polylang .lang-item-pt,  /* ポルトガル語 */
.widget_polylang .lang-item-es   /* スペイン語 */
{
    display: list-item !important;
}

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

/* ===== Slim header & compact content (≤834px) ===== */
@media screen and (max-width: 834px){

  /* Header container */
  #header-in{
    padding: 4px 12px !important;
    margin: 0 !important;
    border: 0 !important;
  }
  #header-in::before,
  #header-in::after{
    content: none !important;
    display: none !important;
  }

  /* Tagline */
  #header .tagline{
    font-size: 11px !important;
    line-height: 1.25 !important;
    margin: 0 0 2px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* Logo block (h1/div 両対応) */
  #header h1.logo-header,
  #header div.logo-header,
  .logo, .logo-header, .logo-text{
    margin: 0 !important;
    padding: 0 !important;
  }
  .site-name-text-link{
    display: inline-block !important;
    line-height: 1.15 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  #header .site-name-text{
    font-size: 16.5px !important;
    line-height: 1.12 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
  }
  #header{ padding-bottom: 0 !important; border: 0 !important; }

  /* Breadcrumb */
  .breadcrumb-wrap{ margin-top: 6px !important; padding-top: 0 !important; }
  .breadcrumb, .breadcrumb a{ font-size: 12px; line-height: 1.2; }

  /* Main area (サイドバーは触らない) */
  main.main{
    padding: 12px 12px 14px !important;   /* 既定 32px を圧縮 */
    margin: 6px 0 8px !important;         /* 既定 12px を圧縮 */
    border: 0 !important;
  }
  main.main::before,
  main.main::after,
  .content-in.wrap::before,
  .content-in.wrap::after{
    content: none !important;
    display: none !important;
    border: 0 !important;
  }

  /* Entry title */
  .entry-title{
    text-wrap: balance;
    font-size: 22px;
    line-height: 1.28;
    margin-top: 6px;
  }

  /* Eye-catch spacing */
  .entry-content .eye-catch,
  .eye-catch{ margin-top: 8px !important; }
  
  .widget-above-single-sns-buttons.widget_text .textwidget p{ font-size: 12px;

}


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