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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* アイキャッチ画像のサイズを300x400に固定 */
.entry-thumb img {
    width: 300px;
    height: 400px;
    object-fit: cover; /* 画像が歪まないようにトリミング */
    margin: 0 auto;    /* 中央寄せ */
}

/* 記事一覧のサムネイルコンテナの調整（必要に応じて） */
.entry-card-thumb {
    width: 300px;
    height: 400px;
}
/* センターロゴレイアウトをPCのみ左寄せにする */
@media screen and (min-width: 1024px) {
    .header-in {
        justify-content: flex-start !important;
        text-align: left !important;
    }

    .header-logo-box {
        margin-left: 0 !important;
        margin-right: auto !important;
        text-align: left !important;
    }
}

/* グローバルメニューを下に移動し、幅を広げる */
.navi-in {
    width: 100%;
}
.navi {
    width: 100%;
}
/* センターロゴレイアウトを強制的に左寄せにする */
.header-in {
    display: flex !important;
    justify-content: flex-start !important; /* 中央寄せを左寄せに変更 */
    padding-left: 20px !important;       /* 左端との余白調整 */
}

.header-logo-box {
    margin-left: 0 !important;           /* 左右の自動マージンを解除 */
    margin-right: auto !important;
    text-align: left !important;
}

/* モバイル表示への影響を防ぐ */
@media screen and (max-width: 1023px) {
    .header-in {
        justify-content: center !important; /* スマホは中央のままにする */
    }
    .header-logo-box {
        text-align: center !important;
    }
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

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