.cost{
    max-width: 1500px;
    margin: 0 auto;    
}

.cost > .inner {
    padding:0 0 80px;
    max-width: 1100px;
    width:85vw;
    margin: 0 auto;
}

.cost .cost-bg .inner .cost-about-title {
    display: flex;
    font-size: 40px;
    font-weight: bold;
    color: #303030;
    letter-spacing: 3px;
    padding-top: 90px;
    margin-bottom: 20px;
    justify-content: center;
}

.cost-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0 2%;
    justify-content: space-between;
    margin: 0px 0 0;
}

.cost-item {
    width: 48%;
    max-width: 530px;
    margin: 0 0 50px;
}

.cost-item:nth-child(3),
.cost-item:nth-child(4){
    margin-bottom:15px;
}

.cost-item h3 {
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.cost-item h3 .cost-title-purple {
    font-size: 40px;
    font-weight: bold;
    color: #6f1e87;
}

.cost-item h3 .cost-title-normal {
    font-size: 20px;
    font-weight: normal;
}

.cost-flex-item.left .cost-flex-item.flex {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 260px;
}

.cost .cost-flex-item.flex {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 40px 40px;
    align-items: end;
    flex-wrap: wrap;
}



.cost-item-flex {
    display: flex;
    gap: 0 2%;
    position: relative;
}

.cost-left {
    width: 40%;
}

.cost-right {
    width: 55%;
}

.cost-right p {
    margin-bottom: 10px;
}

.wrap-link-style{
    display: flex;
    justify-content: center;
}

.estimate-banner-202405{
    max-width:490px;
    width: 90.624vw;
    display: block;
    margin:30px auto 0;
}

@media screen and (max-width: 768px), print {
    .cost{
        margin-top: 40px;
    }

    .cost > .inner {
        padding:0;
        margin:0 auto;
    }

    .cost .cost-bg .inner .cost-about-title {
      display: block;
      font-size: 7.813vw;
      margin: 0 0 3.813vw 0;
      text-align: center;
      padding: 0;
    }

    .cost-item {
        width: 100%;
    }

    .cost-item:nth-child(3){
        margin-bottom: 50px;
    }

    .cost-item h3 {
        font-size: 28px;
    }

    .cost-flex-item.left .cost-flex-item.flex {
        padding: 6.25vw 6.25vw 4.375vw;
        width: 100%;
        margin-bottom: 3.125vw;
        border-bottom: 1px solid #b9b9b9;
    }

    .cost .cost-flex-item.flex {
        flex-direction: column-reverse;
        padding: 0 6.25vw;
    }
    
    .cost #anc1,
    .cost #anc2,
    .cost #anc3 {
        padding-top: 70px;
        margin-top: -70px;
    }

    .cost-left {
        width: auto;
    }

    .cost-right {
        width: 70%;
        max-width: 350px;
    }

    .cost-right a{
        position: absolute;
        left: 0;
        right: 0;
        margin: 0 auto;
        bottom: -40px;
        width: max-content;
    }
    
    .wrap-link-style a{
        margin-bottom: 30px;
    }

    .cost-link-style{
        margin-top:35px;
    }

    .estimate-banner-202405{
        margin-top: 0;        
    }

    .tokucho-margin-t {
        margin-top: 30px;
    }

}

