.contents_wrap .d_contents{
    width: 100%;
    height: 600px;
    background: url(/img01/sub/diagnosis/1/1.png) no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}

.contents_wrap .d_contents.d2{
    background: url(/img01/sub/diagnosis/2/1.png) no-repeat;
    background-size: cover;
    background-position: center;
}
.contents_wrap .d_contents.d2-2{
    background: url(/img01/sub/diagnosis/2/6.png) no-repeat;
    background-size: cover;
    background-position: center;
    margin-top: 100px;
}

.contents_wrap .d_contents.d3{
    background: url(/img01/sub/diagnosis/3/1.png) no-repeat;
    background-size: cover;
    background-position: center;
}

.contents_wrap .d_contents.d4{
    background: url(/img01/sub/diagnosis/4/1.png) no-repeat;
    background-size: cover;
    background-position: center;
}

.contents_wrap .d_contents.d5{
    background: url(/img01/sub/diagnosis/5/1.png) no-repeat;
    background-size: cover;
    background-position: center;
}

.contents_wrap .d_contents.d5-1{
    background: url(/img01/sub/diagnosis/5/1-2.png) no-repeat;
    background-size: cover;
    background-position: center;
}



/* 슬기로운입원생활 */
.contents_wrap .d_contents.d6{
    background: url(/img01/sub/hospitalized/1/1.png) no-repeat;
    background-size: cover;
    background-position: center;
}
.contents_wrap .d_contents.d7{
    background: url(/img01/sub/hospitalized/2/1.png) no-repeat;
    background-size: cover;
    background-position: center;
}
.contents_wrap .d_contents.d8{
    background: url(/img01/sub/hospitalized/3/1.png) no-repeat;
    background-size: cover;
    background-position: center;
}

/* 특별한 코칭 */
.contents_wrap .d_contents.d9{
    background: url(/img01/sub/hospitalized/4/1.png) no-repeat;
    background-size: cover;
    background-position: center;
}


.contents_wrap .d_contents .d_box{
    position: absolute;
    right: 30px;
    bottom: 30px;
    background: #ffffff;
    padding: 30px;
    box-shadow: var(--box-shadow);
    text-align: left;
}

.contents_wrap .d_contents .d_box p{
    margin-top: 20px;
}

.con article{
    margin-top: 100px;
    display: flex;
    text-align: center;
    align-items: center;
}

.con article:nth-child(odd){
    flex-direction: row-reverse;
}

.con.d_text article{
    text-align: right;
}

.con.d_text article:nth-child(odd){
    text-align: left;
}

.con article .con_text_box{
    width: 50%;
    height: auto;
    padding: 0 50px;
}

.con article .con_text_box h1{
    font-size: 32px;
    font-weight: 400;
}

.con article .con_text_box p{
    margin-top: 20px;
    font-size: 20px;
    color: #999999;
}

.con article .con_text_box p.c-point{
    color: var(--main-color);
}

.con article .con_text_box p label{
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    text-align: left;
}

.con article .con_text_box p label input{
    display: none;
}

.con article .con_text_box p label input+span{
    width: 20px;
    height: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    display: block;
    margin-right: 20px;
}

.con article .con_text_box p label input:checked + span{
    background: var(--main-color);
}

.con article .con_text_box p label span:last-child{
    width: calc(100% - 40px);
    display: inline-block;
}

.con article .con_img_box{
    width: 50%;
    height: auto;
    background-color: #fafafa;
}

/* */
.contents_img_wrap{
    margin-top: 100px;
    background: transparent;
}

.contents_img_wrap .contents_img{
    font-size: 20px;
    text-align: left;
    padding: 20px;
}

.contents_img_wrap .contents_img h1{
    text-align: center;
    margin-top: 30px;
}

.contents_img_wrap .contents_img a{
    margin-top: 100px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 40px;
    border: 1px solid #ccc;
    cursor: pointer;
}

.contents_img_wrap .contents_img a:hover{
    background: var(--main-color);
}

.contents_img_wrap .contents_img:nth-child(odd){
    background: #fafafa;
}

.contents_img_wrap .contents_img p{
    margin: 30px 20px;
}
.contents_subtxt{font-size: 24px;
    width: 1000px;
    margin: 0 auto;}

    .con_txt_box{    margin-top: 60px;
        padding: 30px 20px;
        background-color: #FAFAFA;
        font-size: 20px;
        line-height: 33px;
    }


@media all and (max-width: 1024px){
    .con article .con_text_box h1{
        font-size: 24px;
    }
    .con article .con_text_box p{
        font-size: 18px;
    }

    .contents_img_wrap .contents_img h1{
        font-size: 20px;
    }
    .contents_img_wrap .contents_img a{
        margin-top: 60px;
    }
}

@media all and (max-width: 860px){
    .contents_img_wrap{
        flex-wrap: wrap;
    }

    .contents_img_wrap .contents_img{
        width: 50%;
    }
    .contents_subtxt{    font-size: 18px;
        width: 100%;}
}

@media all and (max-width: 760px){

    .contents_wrap .d_contents .d_box h1{
        font-size: 20px;
    }
    .contents_wrap .d_contents .d_box p{
        font-size: 14px;
    }

    .con article{
        flex-direction: column-reverse;
    }

    .con article:nth-child(odd){
        flex-direction: column-reverse;
    }

    .con article .con_img_box{
        width: 100%;
    }

    .con article .con_text_box{
        width: calc(100% - 40px);
        margin-top: 20px;
        padding: 0 20px;
        text-align: left;
    }
}

@media all and (max-width: 520px){
    .contents_wrap .d_contents{
        height: 60vw;
        margin-bottom: 20vw;
    }

    .contents_wrap .d_contents .d_box{
        width: 90%;
        bottom: auto;
        top: 50vw;
        right: 50%;
        transform: translateX(50%);
    }
}

@media all and (max-width: 500px){
    .contents_img_wrap .contents_img {
        width: 100%;
    }
}

@media all and (max-width: 420px){
    .contents_img_wrap .contents_img{
        height: 35vw;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .contents_img_wrap .contents_img h1{
        font-size: 18px;
        margin-top: 10px;
    }
    .contents_img_wrap .contents_img a {
        margin-top: 0;
        margin-bottom: 0;
        font-size: 14px;
    }

    .contents_icon_wrap .contents_card img{
        width: 25vw;
    }
    .contents_wrap .d_contents{
        margin-bottom: 90vw;
    }

}