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

/* ============================================================
   NAO 下層ページ — Cocoonコンテナ幅修正
   子テーマ style.css の末尾に追記してください
   ============================================================ */

/* --- 固定ページのメインカラムを全幅に --- */
.page .main {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto;
  float: none !important;
}

/* --- サイドバーを非表示（1カラム化） --- */
.page .sidebar {
  display: none !important;
}

/* --- Cocoonの記事幅制限をリセット --- */
.page .article,
.page .entry-content {
  max-width: 100%;
  width: 100%;
}

/* --- Cocoonのデフォルト見出し装飾をNAOページでリセット --- */
.nao-service h1,
.nao-service h2,
.nao-about h1,
.nao-about h2 {
  border: none !important;
  padding: 0 !important;
  margin-bottom: 0;
  background: none !important;
}

/* --- モバイルでCocoon余白を最適化 --- */
@media (max-width: 767px) {
  .page .content,
  .page .content-in {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page .main {
    padding: 0 !important;
  }

  .page .article {
    padding: 0 !important;
  }

  /* Cocoonのbreadcrumb下の余白調整 */
  .page .entry-content {
    padding: 0 !important;
  }
}
