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

/* フロントページ：H1を最上端に【白抜き固定帯】として表示 */
.home .entry-title {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 5px 15px !important;
    font-size: 11px !important;
    color: #888888 !important;
    background: #ffffff !important;
    text-align: left !important;
    z-index: 99999 !important;
    border-bottom: 1px solid #eeeeee !important;
    line-height: 1.2 !important;
}

/* コンテンツ全体を帯の分だけ押し下げる */
body.home {
    padding-top: 25px !important;
}

/* スマホ用：1行に収める微調整 */
@media screen and (max-width: 480px) {
    .home .entry-title {
        font-size: 10px !important;
        padding: 4px 10px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    body.home {
        padding-top: 22px !important;
    }
}

/* 管理バー表示時（ログイン中）の重なり防止 */
.admin-bar.home .entry-title {
    top: 32px !important;
    border-bottom: none !important;
}
@media screen and (max-width: 782px) {
    .admin-bar.home .entry-title {
        top: 46px !important;
    }
}
