﻿body {
}

.mcontainer {
    max-width: 50vw;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background-color: #f4f4f4;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 10px;
}

.subtitle {
    text-align: center;
    font-size: 14px;
    color: #555;
    margin-bottom: 30px;
}

.content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.mbox {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 20px;
    flex: 1 1 calc(50% - 20px); 
    box-sizing: border-box;
}

.mbox .heading {
    font-size: 18px;
    margin-bottom: 10px;
}

.mbox .image {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.mbox .description {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
    text-align:left;
}

.read-more {
    display: inline-block;
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.read-more:hover {
    background-color: #555;
}


/*-----------------------------------------------------------------------------------------*/


/*スマホ対応CSS*/

@media only screen and (max-width: 800px) {

    .mbox {
        flex: 1 1 100%; /* 1つずつ並んだときの幅を調整 */
    }

.mcontainer {
    max-width: 100%;
}






}

}