@charset "utf-8";
/* ============================
main
==============================*/
.bus-wrapper{
    margin-top: 10px;
    position: relative;
    border-bottom: 2px solid #21562B;
}

.bus-wrapper::before{
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: #21562B;
    position: absolute;
    left: 0;
    right: 0;
    top: 9px;
    transform: translateY(-50%);
}

.section--bus::after{
    content: "";
    display: block;
    width: 40px;
    height: 30px;
    background-image: url(../img/bus_illast.webp);
    background-size: cover;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 50;
    bottom: -5px;
    right: 20px;
}

.bus_topic{
    text-align: center;
}

.service_intro{
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 20px;
}

.nav-links{
    margin-top: 30px;
    text-align: center;
    font-size: 1.2rem;
}

.links-item{
    position: relative;
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 500;
    padding-bottom: 3px;
}

.links-item::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-pink);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.links-item:hover::after{
    transform: scaleX(1);
}

.content_box{
    margin-bottom: 30px;
}

@media screen and (min-width: 769px){
    .section {
        padding: 80px 70px;
    }

    .bus-wrapper{
        margin-bottom: 100px;
    }

    .bus-wrapper::before{
        top: 20px;
    }

    .bus-wrapper::after{
        width: 150px;
        height: 113px;
        bottom: -130px;
    }
    
    .section--bus::after{
        width: 133px;
        height: 100px;
        bottom: -10px;
        right: 50px;
    }
}
/* pc 769px */

.service_box{
    display: block;
    padding: 20px;
    border-radius: 20px;
    border: 3px solid #FF8EBE;
    background: #FFF;
    margin-top: 30px;
}

.service_title{
    display: flex;
    align-items: center;
    gap: 5px;
    border-bottom: 2px solid var(--primary-pink);
}

.service_icon{
    width: 50px;
    height: auto;
}

.title_txt{
    font-size: 1.6rem;
    font-weight: 700;
    margin-left: 5px;
}

.service_txt2{
    font-size: 1.4rem;
    font-weight: 500;
    margin-top: 15px;
}

.content_list{
    margin: 15px 0 15px 10px ;
}

.service_point{
    width: 20px;
}

.list_txt{
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 500;
}

.service_detail{
    display: flex;
    gap: 20px;
}

.service_detail_txt{
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.service_detail_txt:hover{
    color: var(--primary-pink);
}

.service_imgbox{
    margin-top: 20px;
}

.service_imgbox img{
  width: 100%;
  height: 280px;
  border-radius: 10px;
  object-fit: cover;
}

.safetyassessment{
    padding: 20px;
    border-radius: 20px;
    background: #FF8EBE;
    margin-top: 30px;
}

.assessment_title{
    color: #FFF;
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    border-bottom: 2px solid #FFF;
    margin-top: 10px;
}

.assessment_txt{
    color: #FFF;
    font-size: 1.2rem;
    margin: 20px 0;
    font-weight: 500;
}

.img_topic{
    color: #FFF;
    font-size: 1.2rem;
    text-align: center;
    margin-top: 10px;
    font-weight: 600;
}

@media screen and (min-width: 769px){
    .service_box {
        display: flex;
        flex-direction: row;
    }

    .service_box.reverse {
        flex-direction: row-reverse;
    }

    .service_intro{
        font-size: 1.8rem;
        font-weight: 500;
        text-align: center;
        margin-top: 50px;
    }

    .nav-links{
        margin: 50px auto;
        font-size: 2rem;
    }
    
    .links-item{
        font-size: 2rem;
        margin: 0 20px;
    }

    .service_box {
        padding: 3vw 7vw;
        margin-top: 50px;
        justify-content: space-between;
        gap: 20px;
    }

    .service_imgbox img{
        width: 390px;
        height: 390px;
        border-radius: 20px;
    }

    .service_icon{
        width: 80px;
    }

    .title_txt{
        font-size: 2.6rem;
    }
    
    .service_title{
        gap: 15px;
        border-bottom: 5px solid var(--primary-pink);
        width: 45vw;
    }

    .service_txt2{
        font-size: 2.2rem;
        margin-top: 35px;
        font-weight: 700;
    }

    .content_list {
        margin: 30px 0 30px 20px;
    }

    .service_point{
        width: 30px;
    }

    .list_txt{
        font-size: 2rem;
        font-weight: 700;
        gap: 5px;
        margin-top: 10px;
    }

    .service_detail_txt{
        font-size: 1.8rem;
        margin-top: 30px;
    }

    .service_detail{
        gap: 50px;
    }

    .content_box{
        margin-bottom: 50px;
    }

    .safetyassessment{
        padding: 3vw 7vw;
        margin-top: 50px;
        display: flex;
        gap: 100px;
        align-items: center;
    }

    .assessment_title{
        font-size: 2.6rem;
        font-weight: 700;
        border-bottom: 3px solid #FFF;
        width: 40vw;
        margin: 0 auto;
    }

    .assessment_txt{
        font-size: 1.8rem;
        margin-top: 40px;
    }

    .img_topic{
        font-size: 1.8rem;
    }

}
/* pc 769px */
