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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* ==========================
   Cocoon 読みやすさ向上カスタマイズCSS
   ========================== */

/* --- 全体のフォントサイズと行間調整 --- */
body {
    font-size: 18px; /* 少し大きめで読みやすく */
    line-height: 1.8; /* 行間を広げて視認性アップ */
    font-family: "Helvetica", "Arial", sans-serif;
    color: #333; /* 目に優しい濃いグレー */
    background-color: #f9f9f9; /* 柔らかい背景色 */
}

/* 記事本文の最大幅を調整 */
.entry-content {
    max-width: 750px;
    margin: 0 auto; /* 中央揃え */
}

h1 {
    font-size: 28px;
    font-weight: bold;
}

h2 {
    font-size: 24px;
    border-left: 6px solid #0073e6;
    padding-left: 12px;
}

h3 {
    font-size: 20px;
    border-bottom: 2px solid #0073e6; /* 下線を入れて区切りを明確に */
    padding-bottom: 5px;
    margin-top: 25px;
    margin-bottom: 10px;
}

h4 {
    font-size: 18px;
    font-weight: bold;
    color: #0073e6; /* 強調 */
    margin-top: 20px;
    margin-bottom: 10px;
}

/* --- 本文の調整 --- */
p {
    margin-bottom: 20px;
}

/* --- 箇条書きリストのデザイン改善 --- */
ul {
    padding-left: 20px;
}

ul li {
    margin-bottom: 8px;
    list-style-type: disc; /* デフォルトの点を保持 */
}

/* --- 引用（blockquote）のデザイン --- */
blockquote {
    border-left: 4px solid #0073e6;
    padding: 12px 20px;
    margin: 20px 0;
    background: #eef6ff;
    font-style: italic;
    color: #555;
}

/* --- 目次デザイン改善（Cocoon標準目次） --- */
.toc {
    background: #ffffff;
    border: 2px solid #0073e6;
    padding: 15px;
    border-radius: 5px;
}

.toc li {
    margin-bottom: 5px;
}

/* --- リンクのデザイン --- */
a {
    color: #0073e6;
    text-decoration: none;
    transition: all 0.2s;
}

a:hover {
    text-decoration: underline;
    color: #005bb5;
}

/* --- ボタンのデザイン（CTA向け） --- */
.button {
    display: inline-block;
    background: #0073e6;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s;
}

.button:hover {
    background: #005bb5;
}


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

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

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