@charset "utf-8";

#process {
    background: none;
}

/* ///////////////////////////// */
/* SECTION ABOUT PROCESS */
/* ///////////////////////////// */

.about_process_img-box {
    aspect-ratio: 3 / 1.5;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.88rem;
    box-sizing: border-box;
    margin-bottom: 3.13rem;
}

@media screen and (max-width: 412px) {
    .about_process_img-box {
        aspect-ratio: 3 / 2;
    }
}

.about_process_img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

#about_process h3 {
    text-align: center;
    position: relative;
    margin-bottom: 9.375rem;
}

@media screen and (max-width: 412px) {
    #about_process h3 {
        margin-bottom: 6.25rem;
    }
}

#about_process h3::after {
    content: "";
    display: block;
    border-left: 1.5px solid #777;
    position: absolute;
    height: 3.13rem;
    bottom: -5.3rem;
    left: 50%;
    transform: translate(-50%, 0);
}

@media screen and (max-width: 412px) {
    #about_process h3::after {
        bottom: -4.3rem;
    }
}

#about_process .text-area {
    text-align: center;
    margin-bottom: 3.13rem;
}

.btn_wrapper {
    justify-content: space-around;
    margin: 0;
}

@media screen and (max-width: 1280px) {
    .btn_wrapper {
        padding: 0 5%;
    }
}

@media screen and (max-width: 412px) {
    .btn_wrapper .btn_link:first-child {
        margin-bottom: 1.88rem;
    }
}

.btn_wrapper .btn_link::after {
    position: absolute;
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    right: 1rem;
    border-style: solid;
    border-right: 16px solid transparent;
    border-left: 0px solid transparent;
    border-top: 8px solid #333;
    border-bottom: 0;
}

.btn_wrapper .btn_link:hover::after {
    border-top: 8px solid #A6381B;
}

/* ///////////////////////////// */
/* SECTION FULL ORDER/APARTMENT */
/* ///////////////////////////// */

.process_content-box {
    background-color: #F5F5F5;
    padding: 3.13rem 3.13rem 6.25rem 3.13rem;
    border-radius: 1.88rem;
}

@media screen and (max-width: 412px) {
    .process_content-box {
        padding: 5% 5% 10% 5%;
    }
}

.heading-box {
    padding-top: 1.88rem;
    margin-bottom: 5rem;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (max-width: 412px) {
    .heading-box {
        margin-bottom: 3.13rem;
    }
}

.heading-box .decoration::before {
    left: 3.31rem;
}

.heading-box .decoration::after {
    right: 3.31rem;
}

.heading-box .decoration {
    margin-bottom: 1.88rem;
}

.heading-box h3,
.heading-box h4 {
    text-align: center;
}

.steps-content {
    justify-content: space-between;
    position: relative;
    margin-bottom: 9.375rem;
}

.time-needed-box {
    background-color: #fff;
    border-radius: 1.25rem;
    display: flex;
    justify-content: center;       
    align-items: center;
    border: 1px solid #7B2109;
    width: 17%;
}

@media screen and (max-width: 412px) {
    .time-needed-box {
        width: 100%;
        margin-bottom: 1.88rem;
        padding: 5%;
        box-sizing: border-box;
    }
}

.steps-content ul {
    width: 78%;
    position:relative;
    z-index: 0;
}

@media screen and (max-width: 412px) {
    .steps-content ul {
        width: 100%;
    }
}

.steps-content ul::before {
    content: "";
    display: block;
    border-left: 2px solid #31596D;
    position: absolute;
    height: 100%;
    left: 4rem;
    z-index: -1;
}

@media screen and (max-width: 412px) {
    .steps-content ul::before {
        left: 2.5rem;
    }
}

.process_list-item {
    display: flex;
    align-items: center;
    margin-bottom: 3.13rem;
}

.process_list-item:last-of-type {
    margin-bottom: 0;
}

#process h5 {
    flex-shrink: 0;  
    display: block;
    width: 8.12rem;
    height: 8.12rem;
    border-radius: 50%;
    background-color: #7B2109;
    display: flex;
    justify-content: center;       
    align-items: center;
    color: #fff;
    margin-right: 3.13rem;
}

@media screen and (max-width: 412px) {
    #process h5 {
        font-size: 0.88rem;
        width: 5rem;
        height: 5rem;
        margin-right: 1.25rem;
    }
}

#process h6 {
    color: #31596D;
}

#process .after-follow {
    margin-bottom: 3.13rem;
}

#process h4.after-follow_title {
    text-align: center;
    margin-bottom: 1.88rem;
    color: #31596D;
}

#process .after-follow_text {
    text-align: center;
}

.process_link-box {
    margin: 0;
}

/* ///////////////////////////// */
/* SECTION REFORM */
/* ///////////////////////////// */

#process_reform .heading-box .decoration::before {
    left: 6rem;
}

#process_reform .heading-box .decoration::after {
    right: 6rem;
}

#process_reform h5 {
    background-color: #31596D;
}

#process_reform h6 {
    color: #7B2109;
}

#process_reform ul {
    position: relative;
    z-index: 0;
    margin-bottom: 3.13rem;
}

#process_reform ul::before {
    content: "";
    display: block;
    border-left: 2px solid #7B2109;
    position: absolute;
    height: 100%;
    left: 4rem;
    z-index: -1;
}

@media screen and (max-width: 412px) {
    #process_reform ul::before {
        left: 2.5rem;
    }
}

#process_reform .time-needed-box {
    background-color: #fff;
    border-radius: 1.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #31596D;
    width: 65%;
    padding: 1.25rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 6.25rem;
    position: relative;
}

@media screen and (max-width: 412px) {
    #process_reform .time-needed-box {
        width: 100%;
    }
}

#process_reform .after-follow_title {
    text-align: center;
    color: #7B2109;
}

/* RED ARROW */

.steps-content::after {
    content: "";
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border-left: 3.13rem solid transparent;
    border-right: 3.13rem solid transparent;
    border-top: 1.88rem solid #7B2109;
    left: 50%;
    transform: translate(-50%, 0);
    bottom: -4.8rem;
}

.steps-content:last-of-type::after {
    display: none;
}

#process_reform .time-needed-box::after {
    content: "";
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border-left: 3.13rem solid transparent;
    border-right: 3.13rem solid transparent;
    border-top: 1.88rem solid #31596D;
    left: 50%;
    transform: translate(-50%, 0);
    bottom: -4rem;
}