.truck_contents_title {
    background: url(https://www.kuriyama-truck.com/wp_blog/wp-content/uploads/2025/11/bg_title_contents_pc.jpg) no-repeat 100% center / cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #000;
    font-weight: bold;
    line-height: 1.4;
}


.truck_contents_eyecatch {
    margin: 0 0 20px;
}

.truck_contents_eyecatch img {
    width: 100%;
    height: auto;
    display: block;
}

.truck_contents_post p {
    margin: 0 0 1em;
    line-height: 1.8;
    color: #333;
}

.truck_contents_post h2,
.truck_contents_post h3 {
    margin: 0 0 1em;
    font-weight: bold;
    color: #000;
}

.truck_contents_post h2 {
    font-size: 24px;
    margin: 2em 0 1em;
}

.truck_contents_post h3 {
    font-size: 20px;
    margin: 1.5em 0 1em;
}

/* メリットセクション */
.wp-block-group.merit {
    margin: 2em 0;
    background: #f5f0e8;
    padding: 20px;
    border-radius: 8px;
}

.wp-block-group.merit .wp-block-heading {
    background: #e91e63;
    color: #fff;
    padding: 12px 20px;
    margin: -20px -20px 20px -20px;
    border-radius: 8px 8px 0 0;
    font-size: 18px;
    font-weight: bold;
}

.wp-block-group.merit ol {
    margin: 0;
    padding-left: 20px;
}

.wp-block-group.merit ol li {
    margin: 0 0 1em;
    line-height: 1.8;
    color: #333;
}

.wp-block-group.merit ol li:last-child {
    margin-bottom: 0;
}

.wp-block-group.merit ol li strong {
    color: #000;
    font-weight: bold;
}

/* デメリットセクション */
.wp-block-group.demerit {
    margin: 2em 0;
    background: #f0f0f0;
    padding: 20px;
    border-radius: 8px;
}

.wp-block-group.demerit .wp-block-heading {
    background: #555;
    color: #fff;
    padding: 12px 20px;
    margin: -20px -20px 20px -20px;
    border-radius: 8px 8px 0 0;
    font-size: 18px;
    font-weight: bold;
}

.wp-block-group.demerit ol {
    margin: 0;
    padding-left: 20px;
}

.wp-block-group.demerit ol li {
    margin: 0 0 1em;
    line-height: 1.8;
    color: #333;
}

.wp-block-group.demerit ol li:last-child {
    margin-bottom: 0;
}

.wp-block-group.demerit ol li strong {
    color: #000;
    font-weight: bold;
}

/* リストスタイル */
.truck_contents_post ul,
.truck_contents_post ol {
    margin: 1em 0;
    padding-left: 20px;
}

.truck_contents_post ul li,
.truck_contents_post ol li {
    margin: 0.5em 0;
    line-height: 1.8;
    color: #333;
}

.truck_contents_post ul {
    list-style-type: disc;
}

.truck_contents_post ol {
    list-style-type: decimal;
}

/* コンテンツエリア */
.truck_contents_post {
    line-height: 1.8;
    color: #333;
}

.truck_contents_post img {
    max-width: 100%;
    height: auto;
}

/* レスポンシブ対応 */
@media screen and (max-width: 999px) {

    .truck_contents_post h2 {
        font-size: 20px;
    }

    .truck_contents_post h3 {
        font-size: 18px;
    }

    .wp-block-group.merit,
    .wp-block-group.demerit {
        padding: 15px;
        margin: 1.5em 0;
    }

    .wp-block-group.merit .wp-block-group__inner-container h3,
    .wp-block-group.demerit .wp-block-group__inner-container h3 {
        margin: -15px -15px 15px -15px;
        padding: 10px 15px;
        font-size: 16px;
    }
}

.post_nav dd {
    font-weight: bold;
}

.post_nav dt {
    margin: 0;
}

.post_nav a {
    display: flex;
}

.post_nav dl {
    padding: 0;
}

.truck_contents_post_list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
}

.truck_contents_post_list>li {
    flex: 0 0 calc(50% - 10px);
    margin: 0 0 20px;
}

.truck_contents_post_list_image {
    margin: 0 0 10px;
}

.truck_contents_post_list_image img {
    width: 100%;
}

.truck_contents_post_list_title {
    font-weight: bold;
    line-height: 1.4;
    color: #000;
}

.truck_contents_search_title {
    margin: 1rem 0 1.5rem;
}

@media (max-width: 999px) {
    .truck_contents_title {
        background: url(https://www.kuriyama-truck.com/wp_blog/wp-content/uploads/2025/11/bg_title_contents_sp.jpg) no-repeat 100% 100% / cover;
        height: 150px;
        font-size: 20px;
    }

    .truck_contents_post_list_title {
        font-size: 14px;
    }

    .truck_contents_search_title {
        font-size: 18px;
    }
}

@media (min-width: 1000px) {
    .truck_contents_title {
        background: url(https://www.kuriyama-truck.com/wp_blog/wp-content/uploads/2025/11/bg_title_contents_pc.jpg) no-repeat 100% center / cover;
        height: 240px;
        font-size: 32px;
        margin: 0 0 20px;
    }

    .truck_contents_post_list_title {
        font-size: 18px;
    }

    .truck_contents_search_title {
        font-size: 24px;
    }
}

/* ページング */
.truck_contents_paging {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 40px 0 20px;
    padding: 0;
    gap: 10px;
}

.truck_contents_paging li {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.truck_contents_paging li.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.truck_contents_paging li.disabled a {
    background: #f5f5f5;
    border: 1px solid #ddd;
    color: #999;
    cursor: not-allowed;
}

.truck_contents_paging li.current span {
    background: #333;
    color: #fff;
    padding: 8px 15px;
    display: inline-block;
    font-weight: bold;
    border: 1px solid #333;
}

.truck_contents_paging a {
    background: #fff;
    border: 1px solid #ddd;
    padding: 8px 15px;
    display: inline-block;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.truck_contents_paging a:hover {
    background: #333;
    color: #fff;
    border-color: #333;
}

@media (max-width: 999px) {
    .truck_contents_paging {
        margin: 30px 0 15px;
        gap: 5px;
    }

    .truck_contents_paging li.current span,
    .truck_contents_paging a {
        padding: 6px 12px;
        font-size: 14px;
    }
}

/* wp-block-columns */
.wp-block-columns {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    margin: 1.5em 0;
    align-items: flex-start;
}

.wp-block-column {
    flex-grow: 1;
    flex-shrink: 1;
    min-width: 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 781px) {
    .wp-block-columns {
        flex-direction: column;
        gap: 15px;
    }

    .wp-block-column {
        flex-basis: 100% !important;
        width: 100%;
    }
}

/* wp-block-gallery */
.wp-block-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 1.5em 0;
    padding: 0;
    list-style: none;
}

.wp-block-gallery .blocks-gallery-item {
    flex: 1 1 calc(33.333% - 6px);
    min-width: 0;
    margin: 0;
}

.wp-block-gallery .blocks-gallery-item figure {
    margin: 0;
    height: 100%;
}

.wp-block-gallery .blocks-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wp-block-gallery .blocks-gallery-item figcaption {
    font-size: 12px;
    color: #fff;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    padding: 4px 8px;
    text-align: center;
}

@media (max-width: 781px) {
    .wp-block-gallery .blocks-gallery-item {
        flex: 1 1 calc(50% - 4px);
    }
}

@media (max-width: 480px) {
    .wp-block-gallery .blocks-gallery-item {
        flex: 1 1 100%;
    }
}

/* トラックタイプカード */
.truck_type_cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 2em 0;
}

.truck_type_card {
    flex: 0 1 calc(50% - 10px);
    min-width: 280px;
    max-width: calc(50% - 10px);
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.truck_type_card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.truck_type_card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.truck_type_card_image {
    width: 100%;
    padding: 20px;
    background: #f8f8f8;
    text-align: center;
}

.truck_type_card_image img {
    max-width: 120px;
    height: auto;
    display: inline-block;
}

.truck_type_card_content {
    padding: 20px;
}

.truck_type_card_title {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    margin: 0 0 10px;
    line-height: 1.4;
}

.truck_type_card_description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0 0 15px;
}

.truck_type_card_link {
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    color: #e91e63;
    margin-top: 10px;
}

.truck_type_card:hover .truck_type_card_link {
    color: #c2185b;
}

.truck_type_card_content h3 {
    margin: 0;
}

@media (max-width: 999px) {
    .truck_type_cards {
        flex-direction: column;
        gap: 15px;
        margin: 1.5em 0;
    }

    .truck_type_card {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .truck_type_card_image {
        padding: 15px;
    }

    .truck_type_card_image img {
        max-width: 100px;
    }

    .truck_type_card_content {
        padding: 15px;
    }

    .truck_type_card_title {
        font-size: 18px;
    }

    .truck_type_card_description {
        font-size: 13px;
    }
}