.contents {
    height: auto;
    padding-bottom: 100px;
    /* background: rgba(137, 202, 218, 0.5); */
}

.top-item {
    width: 100%;
    height: 70vh;
    position: relative;
}

.top-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.top-image img {
    width: 100%;
    height: 100%;
    z-index: -1;
    position: relative;
}

.top-image img::before {
    content: '';
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.title-line {
    background-color: #1f2c5c;
    content: '';
    display: block;
    height: 2px;
    margin-top: 8px;
}

.ourworks-sub {
    font-size: 30px;
    display: block;
    /* font-family: 'Damion', cursive; */
    font-family: 'Tangerine', cursive;
    font-weight: 800;
}

.title-sub {
    font-size: 1.2rem;
}

.main-txt {
    font-family: 'Roboto', sans-serif;
    display: inline-block;
    text-align: center;
    font-weight: 700;
    padding: 70px 20px 20px 20px;
    font-size: 30px;
    letter-spacing: 0.18em;
    color: #1f2c5c;
    margin-bottom: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

/* contents1 ------------------------------------------------------*/
.ourworks-title {
    font-family: 'Noto Sans JP', sans-serif;
    /* font-family: 'Roboto', sans-serif; */
    display: inline-block;
    text-align: center;
    font-weight: 600;
    padding: 100px 0;
    font-size: 30px;
    letter-spacing: 0.18em;
}

.business-items {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 50px 0;
}

.business-image-back {
    background: #1f2c5c;
    position: absolute;
    left: 0;
    width: 50%;
    z-index: -1;
    top: -10%;
    padding-top: 45%;
}

.business2-image-back {
    background: #1f2c5c;
    position: absolute;
    right: 0%;
    width: 50%;
    z-index: -1;
    top: -10%;
    padding-top: 45%;
}

.business-card {
    width: 45%;
}

.business-card.res{
    margin-left: 50px;
}

.res-business-card{
    display: none;
}

.card-head {
    display: flex;
    align-items: center;
}

.line-item {
    width: 60%;
    height: 130px;
    display: flex;
    align-items: center;
}

.line {
    height: 1px;
    line-height: 130px;
    background-color: #000;
    width: 100%;
    display: block;
}

.card-num-item {
    position: relative;
}

.card-num {
    color: #000;
    opacity: 0.1;
    font-weight: 600;
    font-size: 130px;
    text-align: left;
    position: relative;
}

.card-num-txt {
    position: absolute;
    bottom: 30%;
    left: 0;
    white-space: nowrap;
    font-family: 'Tangerine', cursive;
    font-size: 30px;
    font-weight: 700;
}

/* .card-title{
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 2rem;
    width: 250px;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
} */

.card-txt-item {
    width: 100%;
}

.card-txt-title {
    font-size: 35px;
    text-align: center;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 1.5px;
}

.card-txt {
    width: 50%;
    margin: 0 auto;
    text-align: left;
    padding: 30px;
    letter-spacing: 1.5px;
    font-size: 18px;
    font-family: 'Noto Sans JP', sans-serif;
}

.business-txt {
    width: 40%;
    text-align: left;
    font-size: 17px;
}

.business-txt-title {
    text-align: center;
}

.business-txt-title h3 {
    color: #1f2c5c;
    border-bottom: 1px solid #1f2c5c;
    display: inline-block;
    margin-bottom: 10px;
}

.business-txt p {
    border: 1px solid #1f2c5c;
    background: rgba(137, 202, 218, 0.5);
    border-radius: 5px;
    padding: 10px;
    text-align: center;
}

.business-txt.res {
    display: none;
    width: 90%;
    margin: 0 auto;
    margin-top: 80px;
    text-align: left;
}

.business-image {
    width: 45%;
}

.business-image img {
    width: 100%;
    height: 100%;
}

.business-detail-btn {
    text-align: center;
    width: 200px;
    margin: 0 auto;
    margin-top: 50px;
}

.business-detail-btn a {
    display: block;
    border: 1px solid #dadada;
    padding: 15px 50px;
    cursor: pointer;
    color: #000;
}

.business-detail-btn a:hover {
    background: #1f2c5c;
    color: #fff;
    transition: 0.5s;
    font-family: 'Noto Sans JP', sans-serif;
}



/* contents2 ----------------------------------------------------------*/
.contents2 {
    height: auto;
    padding-bottom: 100px;
    /* background: rgba(137, 202, 218, 0.5); */
    /* -webkit-clip-path: polygon(0 0, 100% 15%, 100% 100%, 0% 85%);
    clip-path: polygon(0 0, 100% 15%, 100% 100%, 0% 85%);  */
}

@media screen and (max-width:1000px) {
    .top-item {
        margin-bottom: 50px;
    }

    .business-items {
        display: block;
        margin: 0;
    }

    .business-title {
        padding: 50px 0 20px 0;
        font-size: 23px;
    }

    .business-image {
        width: 80%;
        margin: 0 auto;
    }

    .business-image-back {
        width: 80%;
        left: 5%;
        top: 5%;
        padding-top: 78%;
    }

    .business2-image-back {
        width: 80%;
        right: 5%;
        top: 5%;
        padding-top: 78%;
    }

    .business-card.res{
        display: none;
    }

    .res-business-card{
        display: block;
        width: 80%;
        margin: 30px auto;
    }

    .business-card{
        width: 80%;
        margin: 30px auto;
    }

    .card-txt{
        width: 80%;
    }

    /* .business-txt {
        display: none;
    } */

    /* .business-txt.res {
        display: block;

    } */
}


@media screen and (max-width:670px) {
    .top-item {
        margin-bottom: 50px;
    }

    .business-items {
        display: block;
    }

    .business-title {
        padding: 50px 0 20px 0;
        font-size: 23px;
    }

    .business-image {
        width: 80%;
        margin: 0 auto;
    }

    .business-image-back {
        width: 80%;
        left: 5%;
        top: 5%;
        padding-top: 78%;
    }

    .business2-image-back {
        width: 80%;
        right: 5%;
        top: 5%;
        padding-top: 78%;
    }
/* 
    .business-txt {
        display: none;
    } */
/* 
    .business-txt.res {
        display: block;

    } */
}