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

/************************************
** 子テーマ用のスタイルを書く
************************************/

/* フォント読み込み（トップページ統一） */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=M+PLUS+Rounded+1c:wght@500;700;800;900&display=swap');

/* FOUC防止：カスタムヘッダー使用ページでCocoonデフォルトヘッダーを非表示 */
.home #header,
.home #header-container,
.home .header,
.home .header-container,
.home .appeal,
.home #navi,
.home .navi,
.home .mobile-header-menu-buttons,
.home .header-appbar,
.post-type-archive-case_study #header,
.post-type-archive-case_study #header-container,
.post-type-archive-case_study .header,
.post-type-archive-case_study .header-container,
.post-type-archive-case_study .appeal,
.post-type-archive-case_study #navi,
.post-type-archive-case_study .navi,
.single-pref_guideline #header,
.single-pref_guideline #header-container,
.single-pref_guideline .header,
.single-pref_guideline .header-container,
.page-template-page-guideline-compare #header,
.page-template-page-guideline-compare #header-container,
.page-template-page-guideline-compare .header,
.page-template-page-guideline-compare .header-container,
.page #header,
.page #header-container,
.page .header,
.page .header-container,
.page .appeal {
  display: none !important;
}

/* 固定ページのサイドバー非表示 */
.page #sidebar,
.page .sidebar,
.page .widget-area,
.page #aside {
  display: none !important;
}
/* sidebar-right レイアウトを解除して中央寄せ */
.page #content-in,
.page .content-in {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}
.page:not(.home) #main,
.page:not(.home) .main {
  width: 100% !important;
  max-width: 860px !important;
  margin: 0 auto !important;
  float: none !important;
}
/* トップページはCocoonの幅制限を外す */
.home #main,
.home .main {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

/* 固定ページ・お問い合わせ等のフォント統一 */
body,
.entry-content,
.entry-title,
.page-title,
input, textarea, select, button,
.wpcf7-form,
.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select,
.wpcf7-submit {
  font-family: 'Noto Sans JP', sans-serif;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.page-title {
  font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
  font-weight: 700;
}

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

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

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