@charset "utf-8";

h1 {
    font-size: 27px;
    background-color: #595757;
    color: #ffffff;
    padding-top: 10px;
    padding-left: 25px;
    padding-bottom: 10px;
    margin-top: 50px;
}


/* エリア指定 */
.category-area-01,
.category-area-02,
.category-area-03,
.category-area-04 {
    width: 1300px;
    max-width: 96%;
    margin-left: auto;
    margin-right: auto;
}

.category-area-02,
.category-area-03 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}


.category-area-02-section-a,
.category-area-02-section-b,
.category-area-03-section-a,
.category-area-03-section-b {
    width: 50%;
    margin-top: 25px;
    padding-left: 30px;
    padding-right: 30px;
}


.merit1,
.merit2,
.merit3,
.merit4 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 15px;
}

.merit1-photo {
    width: 36%;
}

.merit1-p {
    width: 60%;
}



.merit2-photo,
.merit3-photo,
.merit4-photo {
    width: 60%;
}

.merit2-p,
.merit3-p,
.merit4-p {
    width: 36%;
}

.merit1-p img {
    margin-top: 15px;
}



body {
    font-size: 14px;
    line-height: 1.4;
    margin-top: 10px;
    color: #3E3A39;
}



.category-area-04 {
    display: flex;
    margin-top: 20px;
}

.website-annai p {
    margin-top: 37px;
    margin-left: 30px;
}





/* ボタン */

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 350px;
    height: 50px;
    border-radius: 4px;
    background-color: #e6e6e6;
    color: #333333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-size: 18px;
    position: relative;
    margin-top: 20px;
    margin-left: 30px;
}

.button::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 10px;
    transform: rotate(45deg) translateY(-50%);
    width: 8px;
    height: 8px;
    border-width: 1px 1px 0 0;
    border-style: solid;
    border-color: #555555;
}

.button:hover {
    background-color: #bed6e3;
    color: #333333;
}





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

    /* pxからvwに一括で変換（1300px）ここから========================================================= */

    h1 {
        font-size: 2.077vw;
        background-color: #595757;
        color: #ffffff;
        padding-top: 0.769vw;
        padding-left: 1.923vw;
        padding-bottom: 0.769vw;
        margin-top: 3.846vw;
    }


    /* エリア指定 */
    .category-area-01,
    .category-area-02,
    .category-area-03,
    .category-area-04 {
        width: 100vw;
        max-width: 96%;
        margin-left: auto;
        margin-right: auto;
    }

    .category-area-02,
    .category-area-03 {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }


    .category-area-02-section-a,
    .category-area-02-section-b,
    .category-area-03-section-a,
    .category-area-03-section-b {
        width: 50%;
        margin-top: 1.923vw;
        padding-left: 2.308vw;
        padding-right: 2.308vw;
    }


    .merit1,
    .merit2,
    .merit3,
    .merit4 {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-top: 1.154vw;
    }

    .merit1-photo {
        width: 36%;
    }

    .merit1-p {
        width: 60%;
    }



    .merit2-photo,
    .merit3-photo,
    .merit4-photo {
        width: 60%;
    }

    .merit2-p,
    .merit3-p,
    .merit4-p {
        width: 36%;
    }

    .merit1-p img {
        margin-top: 1.154vw;
    }



    body {
        font-size: 1.077vw;
        line-height: 1.4;
        margin-top: 0.769vw;
        color: #3E3A39;
    }



    .category-area-04 {
        display: flex;
        margin-top: 1.538vw;
    }

    .website-annai p {
        margin-top: 2.846vw;
        margin-left: 2.308vw;
    }





    /* ボタン */

    .button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 26.923vw;
        height: 3.846vw;
        border-radius: 0.308vw;
        background-color: #e6e6e6;
        color: #333333;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        font-size: 1.385vw;
        position: relative;
        margin-top: 1.538vw;
        margin-left: 2.308vw;
    }

    .button::after {
        content: '';
        position: absolute;
        top: 50%;
        right: 0.769vw;
        transform: rotate(45deg) translateY(-50%);
        width: 0.615vw;
        height: 0.615vw;
        border-width: 0.077vw 0.077vw 0 0;
        border-style: solid;
        border-color: #555555;
    }

    .button:hover {
        background-color: #bed6e3;
        color: #333333;
    }






}