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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/


/* サイトのデフォルト背景色 #f4f5f7 */
/* サイトのメイン色 #1e73be */


/* ヘッダーとメニューの間に隙間（余白）を追加する */
#navi {
    position: relative !important;
    border-top: 10px solid #f4f5f7; /* 上に10pxの線を入れる */
}


/* メニューの各ボタンの間に線を入れる */
.menu-header .menu-item {
    display: inline-block; /* 横並び */
    border-right: 1px solid #f4f5f7; /* 右側にのみ線 */
}


/* 最初のメニューアイテムの左側に線を追加 */
.menu-header .menu-item:first-child {
    border-left: 1px solid #f4f5f7;
}


/* メニュー文字を白・太字に */
#navi-in .menu-top a .item-label {
    color: #ffffff;
    font-weight: bold;
}


/* 記事カードのタイトルのリンク色を変更 */
.entry-card-title, 
.related-entry-card-title {
    font-size: 24px;
    color: #1e73be !important;
}


/* 記事タイトルのスタイルを変更 */
.entry-title {
    background: linear-gradient(to bottom, #87cefa, #1e73be); /* 上 → 下 のグラデーション */
    color: #ffffff; /* 文字色を白 */
    font-size: 27px; /* フォントサイズ */
    font-weight: bold; /* 太字（デフォルトがboldなら不要） */
    padding: 25px; /* 上下左右の余白をつける */
    line-height: 1.4;  /* 行間を統一 */
}


/* h2のデザイン */
.article h2 {
    font-size: 24px;  /* フォントサイズ */
    padding: 10px 20px;  /* 内側の余白 */
    background: linear-gradient(to bottom, #ffffff, #87cefa); /* 上から下へのグラデーション */
    color: #1e73be; /* 文字色 */
    border: 1px solid #1e73be; /* 青色の枠線 */
    padding: 20px; /* 上下左右の余白をつける */
}


/* h3～h6のデザイン */
.article h3,
.article h4,
.article h5,
.article h6 {
    color: #1e73be;  /* 文字色 */
}



/* ウィジェット内のh2デザイン（お知らせ用） */
.widget_text h2,
.widget_custom_html h2 {
    font-size: 24px;                       /* フォントサイズ */
    padding: 5px;                          /* 内側の余白 */
    background: #1e73be;                    /* 濃い青の単色背景 */
    color: #ffffff;                         /* 文字色 */
    border: 1px solid #1e73be;             /* 枠線の色 */
    font-weight: bold;
    margin-bottom: 15px;
    border-radius: 3px;                     /* 角丸 */
    text-align: center;                      /* 中央寄せ */
}


/* ウィジェットのカスタムHTMLを枠で囲む */
.widget-custom-box,
.widget-index-top {
    border: 1px solid #93B6DE !important;
    background: #f9f9f9 !important;
    padding: 15px !important;
    border-radius: 10px !important;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1) !important;
    margin-bottom: 20px !important;
}


/* ウィジェットカテゴリーの下に点線 */
.widget_categories li {
    border-bottom: 1px dashed #ccc;
    padding-bottom: 5px;
    margin-bottom: 10px;
}











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

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

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