.container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 20px 80px;
    font-family: '游ゴシック体', 'Yu Gothic', YuGothic, 'ヒラギノ角ゴ Pro', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, sans-serif;
    color: #494949;

}

h1 {
    font-size: 28px;
    margin-top: 70px;
    margin-bottom: 70px;
    text-align: center;
}

.heading {
    font-size: 22px;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 20px;
    width: 100%;
    clear: both; /* 前の要素からクリア */
}

.section-group {
    background-color: #F4F8FA; /* 背景色を追加 */
    margin: 20px 0;
    padding: 20px;
    display: flex; /* フレックスボックスを使用 */
    flex-wrap: wrap; /* 項目が折り返されるように設定 */
    box-sizing: border-box;
}


.section-group {
    background-color: #F4F8FA; /* 背景色を追加 */
    margin: 20px 0;
    padding: 20px;
    box-sizing: border-box;
}

.section-a, .section-b {
    box-sizing: border-box;
    padding: 20px;
    flex-basis: 100%; /* section-a, bが全幅をとるように設定 */
}

.section-a {
    display: flex;
    align-items: center; /* 画像とキャプションを中央に配置 */
    margin-bottom: 60px;
}

.image-placeholder {
    width: 240px; /* 画像の幅を240pxに設定 */
    height: 200px; /* 画像の高さを200pxに設定 */
    background-color: #ccc; /* 画像のプレースホルダーの色 */
    margin-right: 20px; /* 画像とキャプションの間隔 */
}

.caption {
    font-size: 18px;
    flex: 3; /* 画像とキャプションの割合を7:3に設定 */
    text-align: left; /* キャプションのテキストを左揃え */
    margin-left: 20px; /* 画像とキャプションの間隔 */
}

.section-b {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    margin-bottom: 30px;
}

.title {
    font-size: 18px; /* タイトルのフォントサイズを変更 */
    flex: 4; /* タイトルとリストアイテムが同じ行になるように設定 */
    margin: 0; /* マージンをリセット */
    padding-right: 10px; /* タイトルとリストアイテムの間にスペースを追加 */
    margin-left: 30px;
}

.list-item {
    flex: 6; /* リストアイテムがタイトルより広がるように設定 */
    text-align: left; /* リストアイテムを左揃え */
    margin: 0; /* マージンをリセット */
    padding-left: 10px; /* タイトルとリストアイテムの間にスペースを追加 */
    list-style: none; /* リストマーカーを削除 */
    font-size: 14px;
}



@media (max-width: 790px) {
    .section-a {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }

    .image-placeholder {
        width: 100%; /* 幅を100%に変更 */
        height: auto; /* 高さを自動調整 */
        margin-bottom: 10px;
    }

    .caption {
        text-align: center;
        width: calc(100% - 40px);
        margin: 0 20px 20px; /* 左右のマージンを追加し、下に余白を設定 */
    }

    .section-b {
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }

    .title {
        text-align: center;
        width: 100%;
        margin-bottom: 10px;
    }

    .list-item {
        width: 100%;
        text-align: center;
    }

    .list-item li {
        text-align: center;
        margin-bottom: 5px;
    }
}




