@charset "UTF-8";

/* service */
.section-title .big {
    background: linear-gradient(transparent 0%, transparent 50%, #F3F0ED 50%, #F3F0ED 100%);
}

.service {
    padding-top: 40px;
}

.service-item {
    position: relative;
    width: 100%;
}

.service-item .img {
    height: 100%;
}

.service-item .img img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.service-item .text._left {
    max-width: 560px;
    padding: 40px 50px;

    background-color: rgba(255, 255, 255, 0.8);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 16%;
}

.service-item .text._right {
    max-width: 560px;
    padding: 40px 50px;

    background-color: rgba(255, 255, 255, 0.8);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 16%;
}

.service-item .title {
    font-size: 24px;
    font-style: bold;
    font-weight: 400;
    line-height: 1.6;
    padding-bottom: 10px;
    border-bottom: solid 1px #000;
    margin-bottom: 40px;
}

.service-item .description {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 2;
}

@media screen and (max-width: 767px) {
    .service-item .img img {
        height: 340px
    }

    .service-item .text._left {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 20px;
        width: calc(100% - 40px);
    }

    .service-item .text.text._right {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 20px;
        width: calc(100% - 40px);
    }


    .service-item .text._right {
        right: 50%;
        transform: translateX(-50%);
    }

    .service-item .title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .service-item .description {
        font-size: 14px;
    }
}

/* tab */
.tab-list {
    display: flex;
    justify-content: center;
    padding: 0 20px;
    margin-bottom: 40px;
}

.tab-list li {
    width: 100%;
    max-width: 150px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: solid 1px #1f1f1f;
    background-color: #1f1f1f;
    cursor: pointer;
    font-size: 14px;
    padding: 10px 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
}


.tab-list li:hover {
    background-color: #FFF;
    color: #1f1f1f;
}

.tab-list li.active {
    background-color: #fff;
    color: #1f1f1f;
}

.tab-wrapper {
    padding: 60px 0;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.tab-content h3 span {
    background: linear-gradient(transparent 50%, #fff 50%);
    font-size: 26px;
    font-weight: 700;
}

.tab-content h3::before {
    content: attr(data-en);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(0, 122, 255, 0.8);
    font-size: 16px;
    font-weight: bold;
}

.tab-content .description {
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
}

.tab-content .title {
    margin-bottom: 30px;
    font-size: 18px;
    text-align: center;
}

.flow {
    margin-bottom: 80px;
}

.flow .description {
    margin-bottom: 60px;
}

.flow .content-item {
    display: grid;
    justify-content: space-between;
    grid-template-columns: repeat(4, 180px);
    margin-bottom: 80px;
}

.flow .content-item .item {
    max-width: 180px;
    width: 100%;
}

.flow .content-item .item .text {
    background-color: #fff;
    border-radius: 0 0 16px 16px;
    padding: 10px 30px;
    text-align: justify;
}

.flow .content-item .item .title {
    background-color: #007AFF;
    border-radius: 16px 16px 0 0;
    padding: 16px;
    color: #fff;
    text-align: center;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    height: 124px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.flow .content-item .item .title .price {
    display: block;
    font-weight: normal;
    font-size: 16px;
}

.flow .content-item .item .number {
    background-color: #000;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

@media screen and (max-width: 767px) {
    .tab-list {
        margin-bottom: 10px;
        flex-wrap: wrap;
    }

    .tab-list li {
        font-size: 10px;
        margin-right: 0;
    }

    .flow {
        margin-bottom: 40px;
    }


    .flow .description {
        margin-bottom: 30px;
    }

    .flow .content-item {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        margin-bottom: 60px;
    }

    .flow .content-item .item {
        width: 100%;
        max-width: 100%;
    }

    .flow .content-item .item .text {
        padding: 10px;
    }

    .flow .content-item .item .title {
        font-size: 24px;
    }
}

.works {
    margin-bottom: 100px;
}

.works-item {
    margin-bottom: 100px;
    text-align: center;
}

.works-item .title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
}

.works-item .images {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    gap: 150px;
    position: relative;
}

.works-item .images::after {
    content: "";
    width: 24px;
    height: 24px;
    background: url(../img/beforeafter/arrow.png) no-repeat;
    background-size: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%);
}

@media screen and (max-width: 767px) {
    .works-item {
        margin-bottom: 40px;
    }

    .works-item .title {
        margin-bottom: 20px;
    }

    .works-item .images {
        gap: 30px;
    }

    .works-item .images::after {
        left: 49%;
    }
}