@charset "UTF-8";

@media screen and (max-width: 768px) {
    main:has(.column_h1) {
        padding-top: 65px;
    }

    .container:has(.column) {
        padding-top: 60px;
    }

    .newpostlist {
        grid-template-columns: repeat(2, 1fr);
        font-size: 14px;
    }

    @media screen and (max-width: 500px) {
        .newpostlist {
            grid-template-columns: 1fr;
            gap: 24px;
        }
    }


    .sp_only {
        display: block;
    }

    .pc_only {
        display: none;
    }

    .container h1 {
        font-size: 24px;
    }

    .container h2 {
        font-size: 20px;
    }

    .container h3 {
        font-size: 19px;
    }

    .container h4 {
        font-size: 18px;
    }

    .subhead,
    .numhead,
    .box-ttl,
    .summarybox_ttl,
    .c-btn a,
    .numbering_ttl,
    .pickup_name,
    .step_ttl {
        font-size: 18px;
    }

    .fukidashi,
    .postlist_ttl,
    .meritdemerit_ttl,
    .review_name,
    .map_ttl,
    .accordion_ttl,
    .surveybox_ttl {
        font-size: 16px;
    }

    .content,
    .table .c-btn a {
        font-size: 14px;
    }

    .simplebox,
    .summarybox,
    .surveybox,
    .imgscrollbox,
    .review {
        padding: 1.25em;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .quotebox {
        padding: 3.25em 1.25em 1.25em;
    }

    .quotebox::before {
        top: .8em;
        left: 1.25em;
        width: 30px;
    }

    .quotebox .img_full {
        width: 100%;
    }

    .notebox_inner {
        padding: 1em 1.25em 1.25em;
    }


    .tag li {
        font-size: 12px;
    }

    .jump {
        grid-template-columns: repeat(2, 1fr);
    }

    .step_ttl {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .postlist_wrap {
        grid-template-columns: repeat(2, 1fr);
    }

    @media screen and (max-width: 500px) {
        .postlist_wrap {
            grid-template-columns: 1fr;
            gap: 24px;
        }
    }

    .imgscrollbox_list li {
        flex: 0 0 calc(50% - 16px);
        max-width: calc(50% - 16px);
    }

    .imgscrollbox_list li:last-child::after {
        width: 1.25em;
    }

}