body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.main-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1100px; /* メインコンテンツの幅 */
    margin: 0 auto;
    background-color: transparent; /* 背景色なし */
}

.layout-1, .layout-2, .layout-3, .layout-4 {
    flex: 1; /* 等分に配置 */
    box-sizing: border-box;
    padding: 0 5px;
}

.layout-3 {
    display: flex;
    flex-direction: column; /* 上下に配置 */
    justify-content: center;
}

.layout-1 {
    display: flex;
    align-items: center;
}

.layout-1 .icon {
    width: 70px; /* アイコンの幅を設定 */
    height: auto;
    margin-right: 10px;
}

.layout-1 .title {
    font-size: 26px;
    color: #3682e4;
    margin: 0;
}

.layout-2 .text {
    font-size: 16px;
    margin-top: 20px;
}

.layout-4 .image {
    width: 100%;
    height: auto;
    display: block;
}



/* レスポンシブ対応 */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column; /* 縦に並べる */
        padding: 10px;
    }
    .layout-1, .layout-2 {
        width: 100%; /* 幅を100%にする */
        padding: 0 5px;
        order: 1; /* 並び順を指定 */
    }
    .layout-3, .layout-4 {
        width: 100%; /* 幅を100%にする */
        padding: 5px;
        order: 2; /* 並び順を指定 */
    }
    .layout-1 {
        display: flex;
        flex-direction: row; /* アイコンとタイトルを横に並べる */
        align-items: center;
    }
    .layout-1 .icon {
        margin-right: 10px;
        width: 50px; /* アイコンの幅を縮小 */
    }
    .layout-1 .title {
        font-size: 22px; /* フォントサイズを縮小 */
    }
    .layout-2 .text {
        margin-top: 10px; /* マージンを縮小 */
        font-size: 14px; /* フォントサイズを縮小 */
    }
}
