@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;
}
<!DOCTYPE html>
<html lang="ja">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <style>
        .info-box {
            font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
            line-height: 1.9;
            color: #333;
            background-color: #fff;
            padding: 20px;
            border: 1px solid #ddd;
            border-radius: 8px;
            max-width: 800px;
            margin: 20px auto;
        }
        .info-box h2 {
            font-size: 26px;
            font-weight: bold;
            text-align: center;
            color: #000000;
            line-height: 1.5;
            margin: 10px 0 20px;
            border-bottom: 2px solid #FFCDD2;
            padding-bottom: 10px;
        }
        .info-box h3 {
            font-size: 20px;
            font-weight: bold;
            color: #333;
            border-left: 5px solid #D32F2F;
            padding-left: 10px;
            margin: 30px 0 15px;
        }
        .info-box p, .info-box ul {
            font-size: 16px;
        }
        .info-box ul {
            list-style: none;
            padding: 0;
        }
        .info-box ul li {
            background: url('') no-repeat left 8px; /* チェックマーク */
            padding-left: 28px;
            margin-bottom: 10px;
        }
        .info-box strong {
            color: #D32F2F;
            font-weight: bold;
        }
        .info-box .catchphrase {
            text-align: center;
            font-weight: bold;
            font-size: 18px;
            background-color: #FFF3E0;
            padding: 10px;
            border-radius: 5px;
            margin: 25px 0 10px;
        }
        .btn {
            display: block;
            box-sizing: border-box;
            width: 100%;
            padding: 18px 20px;
            border-radius: 10px;
            text-decoration: none;
            font-weight: bold;
            font-size: 20px;
            text-align: center;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }
        .btn-red {
            background: linear-gradient(135deg, #f44336, #d32f2f);
            color: white;
        }
        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(0,0,0,0.2);
        }
        .category-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }
        .category-card {
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 20px;
            text-align: center;
        }
        .category-card h4 {
            margin: 0 0 10px;
            font-size: 18px;
            color: #d32f2f;
        }
        .category-card p {
            font-size: 14px;
            margin: 0;
            color: #555;
        }
        .category-card a {
            text-decoration: none;
            color: inherit;
        }
        .category-card a:hover {
            opacity: 0.8;
        }
    </style>
</head>
<body>
<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>