
@media screen and (max-width: 768px) {
    header{
        height: 60vh;
    }
    picture{
        padding-right: 10px;
        padding-left: 10px;
    }
    /* about / 1tap / 6item セクションのキャプション画像（スマホ版）をさらに小さく表示 */
    .about .about_caption img,
    .search_1tap .about_caption img,
    .serch_6item .about_caption img {
        max-width: 400px;
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
        padding-top: 80px;
    }
    .about_container{
        gap: 50px;
    }


    .about_container img,
    .about_container picture,
    .about_container .about_text1 img,
    .about_container .about_text2 img {
        display: block !important;
        margin: 0 auto !important;
        max-width: 100%;
        height: auto;
    }

    .search_flex{
        gap: 30px;
    }
    
    .form-group label{
        font-size: 22px;
        text-align: center;
        padding: 0;
    }
    .button-group{
        justify-content: center;
    }

    .serch_6item{
        background-image: url(../images/6item_back_sp.webp);
        background-size: cover;
        background-position: center;
        background-repeat: repeat;
    }

    .area_btn,
    .ninzu_btn,
    .kukan_btn,
    .genre_btn {
        gap: 10px;
}
.yosan_btn{
    gap: 10px;
}

.result-card{
    margin-left: 20px;
    margin-right: 20px;
}
.results_count{
    margin-left: 20px;
    margin-right: 20px;
}
}

@media screen and (max-width: 400px) {
    header img{
        padding-top: 190px; 
    }
}

@media screen and (max-width: 350px) {
    header img{
        padding-top: 80px;
    }
}