@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){
  /*必要ならばここにコードを書く*/
}
/* 「デザインリセット用のコード」 */
/*H2 */
.entry-content h2{
border:none;
background:none;
padding: 0;
}

/* H3 */
.entry-content h3{
border:none;
background:none;
padding: 0;
}

/* H4 */
.entry-content h4{
border:none;
background:none;
padding: 0;
}

/* H5 */
.entry-content h5{
border:none;
background:none;
padding: 0;
}

/* H6 */
.entry-content h6{
border:none;
background:none;
padding: 0;
}
/* 「グリーン系の見出し」 */
.entry-content h2 {
padding: 0.5em;/*文字周りの余白*/
color: #f9fffc;/*文字色*/
background: #6AC1B7;/*背景色*/
border-left: solid 5px #517D99;/*左線（実線 太さ 色）*/
}

.entry-content h3 {
padding: 0.5em;
background: #BFE9DB;
box-shadow: 0 0 4px rgba(0, 0, 0, 0.23);
}

.entry-content h4 {
padding: 0.5em 0;/*上下の余白*/
border-top: solid 3px #6AC1B7;/*上線*/
border-bottom: solid 3px #6AC1B7;/*下線*/
}

.entry-content h5 {
/*線の種類（二重線）太さ 色*/
border-bottom: double 5px #6AC1B7;
}

.entry-content h6 {
/*線の種類（点線）2px 線色*/
border-bottom: dashed 2px #6AC1B7;
}

<style>
/* 2つのリストを囲む親コンテナのスタイル */
.post-lists-flex-container {
    display: flex; /* この一行が、子要素を横並びにするための最も重要な指定です */
    justify-content: space-between; /* 両端に寄せて配置 */
    gap: 30px; /* 左右のリストの間の隙間 */
    margin: 40px 0;
}

/* 各リストのコンテナ（最新・人気）のスタイル */
.post-list-box {
    flex: 1; /* 横幅の比率を1:1に設定し、均等に分割します */
    min-width: 0; /* flexアイテムの幅が縮小できるように設定 */
}

/* リストのタイトル（h3）のスタイル */
.post-list-box h3 {
    font-size: 20px;
    font-weight: bold;
    padding-bottom: 8px;
    border-bottom: 2px solid #ddd;
    margin: 0 0 20px;
}

/* Cocoonのショートコードで生成されるリストのスタイル調整（任意） */
.post-list-box .new-entry-card-link,
.post-list-box .popular-entry-card-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    margin-bottom: 15px;
}

/* ▼▼▼ スマートフォン表示用の設定 ▼▼▼ */
/* 画面幅が768px以下の場合に適用されます */
@media (max-width: 768px) {
    .post-lists-flex-container {
        flex-direction: column; /* 横並びを解除し、縦積みに変更します */
        gap: 40px; /* 上下のリストの間の隙間 */
    }
}
</style>