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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/*フロント固定ページのタイトルを非表示*/
.home.page .entry-title{
  display: none;
}
/* ヘッダー画像を横幅いっぱいに表示 */
#header {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

#header .header-image {
  width: 100%;
  max-width: 100%;
}

#header .header-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* サムネイル角丸 */
.entry-card-thumb img {
  border-radius: 20px;
}

/* 投稿一覧カードのサムネイル */
.card-thumb img {
  border-radius: 12px;
}

/* 記事上部のアイキャッチ */
.article-header img,
.eye-catch img {
  border-radius: 12px;
}

/* サイト全体の最大幅制限を解除（必要な場合） */
#header .site-header-wrap {
  max-width: 100%;
  padding: 0;
}
/* キャッチフレーズのレイアウト変更 */
#header .header-in {
  display: flex;
  flex-direction: column; /* 縦並びにする */
}

/* キャッチフレーズを画像（ロゴ）の下に移動 */
#header .tagline {
  order: 2; /* 順番を下に下げる */
  margin-top: 15px; /* 画像との間の余白（お好みで調整） */
  margin-bottom: 10px;
  
  /* ---- 見た目の変更（ここをお好みで編集） ---- */
  color: #dc143c;      /* 文字の色（例: 濃いグレー） */
  font-size: 18px;     /* フォントサイズ（文字の大きさ） */
  font-weight: normal; /* 文字の太さ（太くしたい場合は bold ） */
  /* -------------------------------------------- */
}

/* ヘッダー画像・ロゴの順番を上にする */
#header .logo {
  order: 1;
}

/* デフォルト（PC）の表示：スマホ用を隠す */
.header-images .sp-img {
  display: none;
}
.header-images .pc-img {
  display: block;
  width: 100%;
  height: auto;
}

/* 画面幅が1023px以下（スマホ・タブレット）の時 */
@media screen and (max-width: 1023px) {
  .header-images .pc-img {
    display: none; /* PC用を隠す */
  }
  .header-images .sp-img {
    display: block; /* スマホ用を表示 */
    width: 100%;
    height: auto;
  }
}
/* ヘッダーのサイトタイトルのみを非表示にする */
.header-container .site-name-text {
  display: none !important;
}

/* ヘッダー全体の余白を調整（画像とキャッチフレーズの間を縮める） */
.header-container-in {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.header {
  padding-bottom: 5px !important; /* キャッチフレーズの下側の余白（調整可） */
}

/* キャッチフレーズ自体の上の余白を半分にする */
.tagline {
  margin-top: 2px !important; /* ここの数値を小さくするとさらに画像に近づきます */
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

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