.section-title-blue {
    display: inline-block;
    position: relative;
    min-width: 300px;
    width: fit-content;
    padding: 5px 20px;
    margin: 0 auto;
    background-color: #005cb2;
    color: #fff;
    border-radius: 5px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

.section-title-blue::after {
    content: '';
    position: absolute;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px;
    border-style: solid;
    border-color: #005cb2 transparent transparent transparent;
}

.section-title-light-blue {
    display: inline-block;
    position: relative;
    min-width: 300px;
    width: fit-content;
    padding: 5px 20px;
    margin: 0 auto;
    background-color: #86c2fb;
    color: #005cb2;
    border-radius: 5px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

.section-title-light-blue::after {
    content: '';
    position: absolute;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px;
    border-style: solid;
    border-color: #86c2fb transparent transparent transparent;
}







#vendor-cases-section {}
.vendor-cases-section {}
#vendor-cases-section .section-title-wrapper{
    margin-bottom: 30px;
    text-align: center;
}



/* =========================
   施工事例カード：グリッド
   - SP: 1列
   - PC: 3列（3x3想定）
========================= */

.area-case-wrapper {
    display: grid;
    grid-template-columns: 1fr; /* SP: 1列 */
    gap: 12px;
}

/* PC */
@media (min-width: 768px) {
    .area-case-wrapper {
        grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3列 */
        gap: 16px;
    }
    .vendor-case-contents .area-case-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2列 */
        gap: 16px;
    }
}

/* カード自体をグリッド内で崩れないように */
.vendor-latest-item-box {
    width: 100%;
    min-height:auto!important;
}

/* 中のカードを伸ばして高さ揃えたい場合（任意） */
.vendor-latest-item-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.vendor-latest-item-card-body {
}

#vendor-cases-load-more {
    display: inline-block;
    width: fit-content;
    min-width: 300px;
    margin: 0;
    padding: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #0073e6;
    background-color: #fff;
    border: solid 1px #0073e6;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s;
}
#vendor-cases-load-more::after {
    content: '';
    display: inline-block;
    border: solid currentColor;
    border-width: 0 1px 1px 0;
    padding: 3px;
    margin-left: 10px;
    transform: translateY(-50%) rotate(45deg);
}
#vendor-cases-close {
    display: inline-block;
    width: fit-content;
    min-width: 300px;
    margin: 0;
    padding: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #0073e6;
    background-color: #fff;
    border: solid 1px #0073e6;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s;
}
.case-load-more {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* SP */
@media (max-width: 768px) {
    .vendor-latest-item-box {
        width: 96%!important;
        margin: auto;
    }
    .case-load-more {
        display: flex;
        gap: 12px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        margin-bottom: 15vw;
    }
}
.vendor-price{padding-top:0!important; color: red; font-weight: bold;}
.vendor-latest-item-header-right{gap:0!important; align-items:end!important;}
.vendor-latest-item.vendor-latest-item-date{
    display: flex;
}
@media (max-width: 768px) {
    .vendor-latest-item.vendor-latest-item-date{
        justify-content:end;
    }
}
.vendor-latest-item.vendor-latest-item-date img,
.vendor-latest-item.vendor-latest-item-date span {
    display: block;
}
.vendor-latest-item.vendor-latest-item-date span{
    padding-top:2px; margin-left:5px;
}

.vendor-latest-item-box {
    width: 100%;
    min-height: 300px;
    overflow-y: auto;
    background-color: #f0f6fb;
    padding: 10px 20px;
    border-radius: 5px;
}

.vendor-latest-item-card-header {
    display: flex;
    justify-content: space-between;
    padding-bottom: 5px;
    border-bottom: 2px dotted #005cb2;
    font-size: 12px;
}
.vendor-latest-item-header-left{
    padding-top:6px;
    width:105px;
}
.vendor-latest-item-header-right{
    padding-top:6px;
    width:115px;
}
.vendor-latest-item-header-left-inner {
    display: flex;
    gap: 10px;
    color: #005cb2;
}
.vendor-latest-item-card-header {
    display: flex;
    justify-content: space-between;
    padding-bottom: 5px;
    border-bottom: 2px dotted #005cb2;
    font-size: 12px;
}
.vendor-latest-item-header-left-inner {
    display: flex;
    gap: 10px;
    color: #005cb2;
}

.vendor-latest-item-card-header {
    display: flex;
    justify-content: space-between;
    padding-bottom: 5px;
    border-bottom: 2px dotted #005cb2;
    font-size: 12px;
}
.vendor-latest-item-header-left-inner {
    display: flex;
    gap: 10px;
    color: #005cb2;
}

.vendor-latest-item-header-right {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: baseline;
}
@media (max-width: 768px) {
    .vendor-latest-item-header-right {
        flex-direction: column-reverse!important;
        padding-top: 6px;
        width: 140px;
        font-size:3.5vw;
    }
    .vendor-latest-item-card-header{
        margin-bottom:3vw;
    }
}
.vendor-latest-item-card-body {
    font-size: 14px;
}
.loadmore-wrap .fiy {
    font-size: 11px;
    text-align: right;
    margin-bottom: 15px;
}

.section-name {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    color: #005CB2;
    font-size: 20px;
    font-weight: bold;
}


#template-area .section-title-light-blue {
    background-color: #86c2fb;
    color: #fff;
}
#template-area .section-title {
    display: inline-block;
    position: relative;
    min-width: 300px;
    width: fit-content;
    padding: 5px 20px;
    margin: 0 auto;
    border-radius: 5px;
    text-align: center;
    font-size: 20px !important;
    font-weight: bold;
}
@media (min-width: 960px) {
    #template-area .section-title {
        top: -20px;
    }
}


#template-area .section-title-wrapper h2 {
    text-align: center;
}
#template-area .section-title-bg-blue {
    background-color: #005cb2;
    padding: 5px 10px;
}

@media (min-width: 960px) {
    #template-area .section-title
   {
    top: -20px;
}
}

#template-area .section-title-light-blue {
    background-color: #86c2fb!important;
    color: #fff!important;
}
#template-area .section-title {
    display: inline-block;
    position: relative;
    min-width: 300px;
    width: fit-content;
    padding: 5px 20px;
    margin: 0 auto;
    border-radius: 5px;
    text-align: center;
    font-size: 20px !important;
    font-weight: bold;
}

#template-area .section-name {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}
@media (min-width: 960px) {
    #template-area .section-name {
        position: relative;
        top: -7px;
    }
}
.vendor-latest-item-card-body-meta{
    display:flex;
    justify-content:flex-end;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .vendor-latest-item-card-body-meta {
        margin-top:16px;
        flex-direction: column;
        text-align: right;
        font-size: 12px;
    }
}
.vendor-latest-item.vendor-latest-item-location{
    font-size:12px;
}
.vendor-latest-item-type{font-weight:bold;}
.vendor-latest-item-header-pre {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.vendor-latest-item-header-pre img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (min-width: 770px) {
    .vendor-case-contents .vendor-latest-item-card-header {
        padding-bottom:10px;
        border-bottom: 3px dotted #005cb2;
        font-size: 20px;
    }
    .vendor-case-contents .vendor-latest-item-box {
        padding-top: 20px;
    }
    .vendor-case-contents .vendor-latest-item-header-pre {
        width:80px;
        height:80px;
    }
    .vendor-case-contents .vendor-latest-item-header-left {
        padding-top: 10px;
        width: 215px;
    }
    .vendor-case-contents .vendor-latest-item-header-right {
        flex-direction: column-reverse;
        padding-bottom:2px;
    }
    .vendor-case-contents .vendor-latest-item-card-body {
        min-height:160px;
        font-size: 20px;
        margin-top: 16px;
        margin-bottom:16px;
        padding: 0 8px;
    }
    .vendor-case-contents .vendor-latest-item-card-body-meta {
        display: flex;
        justify-content: space-between;
        margin-bottom: 8px;
        font-size: 16px;
    }
    .vendor-case-contents .vendor-latest-item.vendor-latest-item-location {
        font-size: 16px;
    }
}
@media (max-width: 770px) {
    .vendor-latest-item-header-left {
        width: 160px;
        font-size: 3.5vw;
    }
}
