@charset "utf-8";

.sub_con section+section {
    margin: 0 auto
}

.ready {
    padding: 2rem 0;
    background-color: #f7f8f9;
    text-align: center;
    margin: 2rem 0;
}

.imgtab {
    width: var(--width-size);
    margin: 0 auto;
    margin-top: var(--sub_pd_half);
}

.imgtab ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.imgtab li {
    width: 20%;
    text-align: center;
}

.imgtab li a {
    width: 100%;
    height: 100%;
    display: block;
    padding: 2rem 1rem 1rem;
    border: 2px solid #eee;
    border-radius: 1rem;
}

.imgtab li.on a {
    background-color: #ECF5FC;
    border-color: var(--color-main);
}

.imgtab li p {
    font-size: 26px;
    font-weight: 600;
    padding-bottom: 1rem;
}

.imgtab li.on a p {
    color: var(--color-main)
}

.imgtab li span {
    display: inline-flex;
    /* height: 120px; */
    width: 35%;
    justify-content: center;
    align-items: center;
}

.imgtab li span img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.imgtab li:last-child span {
    width: 45%
}

.service-sec {}

.service-sec h4 {
    margin-bottom: 2rem;
    word-break: keep-all;
    /* text-align: left; */
}

.service-sec h4 span {
    color: var(--color-main);
    font-weight: 900;
    font-size: 40px;
}

.service-top {
    text-align: center;
    margin-top: var(--sub_pd);
    display: flex;
    border-bottom: 2px dotted #B8C6E4;
    padding-bottom: var(--sub_pd_half);
    justify-content: center;
    gap: 4rem;
}

.service-top p {
    color: #555;
    /* border-bottom: 2px dotted #B8C6E4; */
    padding-bottom: 2rem;
}

.service-top .txtbox {
    min-width: 50%;
    padding: 2rem 0;
}

.service-tab {
    display: flex;
    margin-top: 2rem;
    justify-content: center;
}

.service-tab li {
    width: 20%;
    text-align: center;
    padding-top: 2rem;
    position: relative;
}

.service-tab li:after {
    content: "";
    position: absolute;
    background-color: #4c70c3;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    border: 4px solid rgb(255 255 255 / 80%);
}

.service-tab li:before {
    content: "";
    position: absolute;
    background-color: rgb(45 81 163 / 30%);
    width: 100%;
    height: 1px;
    top: 0;
    left: 50%;
    margin-top: 10px;
}

.service-tab li:last-child::before {
    display: none
}

.service-tab li:hover::after,
.service-tab li.on:after {
    background-color: var(--color-main)
}

.service-tab li a {
    color: var(--color-main);
    font-weight: 600;
    opacity: .7;
    transition: .3s;
}

.service-tab li:hover a,
.service-tab li.on a {
    opacity: 1
}

.service-top .imgbox {
    width: 35%;
    /* display: inline-block; */
    /* margin-top: 1rem; */
    /* border-bottom: 2px dotted #B8C6E4; */
    /* padding-bottom: var(--sub_pd_half); */
}

.service-top .imgbox img {
    width: 100%;
}

.service-top .imgbox.size img {
    width: 50%;
}

.service>div+div {
    /* margin-top:5rem; */
}

.contop {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service h5 {
    font-size: 24px;
    background-color: var(--color-main);
    display: inline-block;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 4rem;
}

.contact {
    font-size: 20px;
    display: inline-flex;
    padding: 1rem 2rem;
    border-radius: 2rem;
    border: 1px solid #ddd;
    vertical-align: middle;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-weight: 600;
    background-color: #fff;
}

.contact span {
    color: #b3b3b3;
    font-size: 28px;
}

.top-p {
    padding-top: 2rem;
    word-break: keep-all;
}

.service-list {
    display: flex;
    text-align: center;
    gap: 2rem;
    /* display: grid; */
    /* grid-template-columns: repeat(2, 1fr); */
    margin-bottom: var(--sub_pd);
}

.service-list li {
    border: 2px solid #ffc9ab;
    padding: 2rem;
    border-radius: 1rem;
    width: 100%;
    background-color: #fff6ec;
    position: relative;
}

.service-list li:nth-child(even) {
    background-color: #ECF5FC;
    border-color: #b8c6e4;
}

.service-list li:before {
    content: "";
    position: absolute;
    width: 30px;
    height: 60px;
    background-color: #fff6ec;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-right: -30px;
    z-index: 1;
    border: 2px solid #ffc9ab;
    border-radius: 0 60px 60px 0;
    border-left: 0;
}

.service-list li:after {
    content: "";
    position: absolute;
    width: 30px;
    height: 60px;
    background-color: #ffffff;
    /* border-radius:50%; */
    left: -2px;
    top: 50%;
    transform: translateY(-50%);
    border: 2px solid #b8c6e4;
    border-radius: 0 30px 30px 0;
    border-left: 0;
}

.service-list li:nth-child(2)::before {
    background-color: #ecf5fc;
    border-color: #b8c6e4;
}

.service-list li:nth-child(1)::after {
    display: none
}

.service-list li:nth-child(3)::after {
    border-color: #ffc9ab
}

.service-list li:nth-child(4)::before {
    display: none
}

.service-list li strong {
    display: block;
    margin-bottom: 1rem;
    font-size: 24px;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #ccc;
}

.service-list li p {
    word-break: keep-all
}

.service-inner {
    padding-top: 10rem;
    margin-top: -4rem;
}

.s1-case {}

.s1-case p {
    word-break: keep-all;
    padding-left: .5rem;
}

.service-box {
    /* background-color:#f7f7f7; */
    padding: 0 3rem 2rem;
    position: relative;
}

.service-box:before {
    background-color: #f7f7f7;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    left: 0;
    top: 0;
    margin-top: 2rem;
    border-radius: 2rem;
}

.circle-list {
    display: flex;
    justify-content: space-around;
    margin-top: 3rem;
    padding: 2rem;
    border: 1px solid #ddd;
    border-radius: 2rem;
}

.circle-list li {
    text-align: center;
}

.circle-list .img {
    display: block;
    /* height: 100%; */
    margin-bottom: 1rem;
}

.program {
    margin-top: 3rem;
}

.program .t1 th {
    background-color: #ECF5FC;
    color: var(--color-main);
    /* border-right: 0; */
    border-color: rgb(45 81 163 / 20%);
    border-left: 0;
    border-top: 1px solid rgb(45 81 163 / 20%);
}

.program .t1 tbody th {
    border-right: 1px solid #ddd
}

/* PC */
@media only screen and (min-width:1024px) and (max-width: 1500px) {}

/* 테블릿 가로, 테블릿 세로 (해상도 768px ~ 1023px)*/
@media all and (max-width: 1023px) {
    .service-top {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .service-top p br {
        display: none;
    }

    .service-top p {
        word-break: keep-all
    }

    .service-top .imgbox {
        width: 65%
    }

    .service-box {
        padding: 0 1.5rem 1rem;
    }

    .program {
        margin-top: 1.5rem
    }
}

/* 모바일 가로, 모바일 세로 (해상도 480px ~ 767px)*/
@media all and (max-width:767px) {
    .service-top .txtbox {
        padding-top: 0
    }

    .service-top .imgbox {
        width: 100%
    }

    .service-tab li {
        width: 100%
    }

    .service-sec h4 {
        font-size: 26px
    }

    .service-sec h4 span {
        font-size: 30px
    }

    .service h5 {
        font-size: 22px;
        width: auto;
        /* text-align: center; */
        word-break: auto-phrase;
    }

    .contop {
        flex-wrap: wrap;
        justify-content: left;
    }

    .contact {
        margin-left: 0;
        font-size: 18px;
        padding: .5rem 1rem;
        margin-top: 1rem;
    }

    .contact span {
        font-size: 20px
    }

    .program {
        margin-top: 2rem
    }

}