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

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

/* アイデア1: Amazon風ヘッダーデザイン */
#header-container {
  background-color: #232F3E;
  /* Amazon風ダークネイビー */
  color: #ffffff;
  border-bottom: 4px solid #FF9900;
  /* Amazon風オレンジのアクセント */
}

/* サイトタイトルとキャッチフレーズの文字色を白に */
.site-name-text,
.tagline {
  color: #ffffff !important;
}

/* サイトタイトルのリンク色とホバー設定 */
.logo-header a,
.site-name-text a {
  color: #ffffff !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* ホバー時にオレンジ色に変化 */
.logo-header a:hover,
.site-name-text a:hover {
  color: #FF9900 !important;
}

/* PC表示: サイドバーを表示 */
#sidebar {
  display: block !important;
}

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

/*834px以下: モバイル表示でサイドバーを非表示にする*/
@media screen and (max-width: 834px) {

  /* サイドバーを非表示 */
  #sidebar {
    display: none !important;
  }

  /* メインコンテンツを全幅にする */
  #main {
    width: 100% !important;
    margin: 0 !important;
  }

  /* コンテンツエリアを全幅にする */
  .content-in {
    display: block !important;
  }
}

/*480px以下*/
@media screen and (max-width: 480px) {

  /* サイドバーを非表示（念のため重複指定） */
  #sidebar {
    display: none !important;
  }
}