@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){
  /*必要ならばここにコードを書く*/
}
/* ===== 全体フォント設定 ===== */
body {
    font-size: 16px; /* PC用文字サイズ */
    font-weight: 400; /* 標準の太さ */
    color: #333333; /* 文字色 */
    font-family: 'Helvetica Neue', 'Yu Gothic', 'Meiryo', sans-serif;
    line-height: 1.8; /* 行間調整 */
}

/* スマホ用フォントサイズ */
@media screen and (max-width: 768px) {
    body {
        font-size: 15px;
    }
}

/* ===== 見出しの調整 ===== */
.article h2 {
    font-size: 22px;
    font-weight: 600;
    border-left: 4px solid #3366CC;
    padding-left: 8px;
    margin: 20px 0 10px 0;
}

.article h3 {
    font-size: 18px;
    font-weight: 500;
    color: #3366CC;
}

/* ===== リンク色 ===== */
a {
    color: #3366CC;
    text-decoration: none;
}
a:hover {
    color: #4A90E2;
    text-decoration: underline;
}

/* ===== サイドバー見出し ===== */
.widget-title {
    background-color: #3366CC;
    color: #FFFFFF;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 4px;
}

/* ===== ボタン調整 ===== */
button,
input[type="submit"] {
    background-color: #3366CC;
    color: #FFFFFF;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}
button:hover,
input[type="submit"]:hover {
    background-color: #4A90E2;
}
.article h2 {
    font-size: 22px !important;
    font-weight: 600 !important;
    border-left: 4px solid #3366CC !important;
    padding-left: 8px !important;
    margin: 20px 0 10px 0 !important;
}
/* 見出し2の青ラインを強制適用 */
.article h2, 
.article .entry-content h2 {
    font-size: 22px !important;
    font-weight: 600 !important;
    border-left: 6px solid #3366CC !important;
    padding-left: 12px !important;
    margin: 20px 0 10px 0 !important;
    background: none !important;
    box-shadow: none !important;
}
/* CocoonのH2デザインを打ち消して青ラインを強制適用 */
.entry-content h2,
.article h2 {
    display: block;
    font-size: 24px !important;
    font-weight: 600 !important;
    color: #222222 !important;
    border-left: 5px solid #3366CC !important;
    padding-left: 10px !important;
    margin: 20px 0 15px 0 !important;
    line-height: 1.5 !important;
}
/* ===== H2 見出し ===== */
.entry-content h2 {
    font-size: 24px !important;
    font-weight: 600 !important;
    color: #222 !important;
    border-left: 5px solid #3366CC !important;
    padding-left: 10px !important;
    margin: 25px 0 15px 0 !important;
    background: none !important;
    box-shadow: none !important;
}

/* ===== H3 見出し ===== */
.entry-content h3 {
    font-size: 20px !important;
    font-weight: 500 !important;
    border-bottom: 2px solid #4A90E2 !important;
    padding-bottom: 4px !important;
    margin: 20px 0 12px 0 !important;
    color: #333 !important;
}

/* ===== H4 見出し ===== */
.entry-content h4 {
    font-size: 18px !important;
    font-weight: 500 !important;
    background-color: #EAF2FB !important;
    padding: 4px 8px !important;
    margin: 18px 0 10px 0 !important;
    color: #333 !important;
    border-left: 3px solid #4A90E2 !important;
}