.section{
    width: 100%;
}

/* section0 */
.main_section1{
    width: 100%;
    height: 970px;
    position: relative;
    background-image: url(../images/index_bg.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.main_sec1_text {
    position: absolute;
    top: 44%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.main_sec1_text .mt01 {
    font-family: 'Pretendard-Regular', sans-serif;
    font-weight: normal;
    font-size: 30px;
    margin-bottom: 30px;
}

.main_sec1_text .mt01 strong {
    font-family: 'Pretendard-ExtraBold', sans-serif;
    font-weight: normal;
}

.main_sec1_text .mt02 {
    font-family: 'Pretendard-ExtraBold', sans-serif;
    font-weight: normal;
    font-size: 55px;
}

.scroll1 {
    position: absolute;
    /*bottom: 30px;*/
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.scroll1 p{
    font-size: 18px;
    color: #fff;
    font-family: 'Pretendard-Regular', sans-serif;
}

.scroll1 img{
    margin: 16px 0 87px;
    /*animation: up-down infinite 1s ease-in;*/
}

.scroll1 .scroll_wrap{
    position: relative;
}

.scroll1 .line{
    width: 1px;
    height: 84px;
    background-color: white;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ms2_txt {
    text-align: center;
}

.ms2_txt p {
    font-family: 'Pretendard-SemiBold', sans-serif;
    font-weight: normal;
    font-size: 15px;
    color: #00a79d;
    padding-top: 130px;
    padding-bottom: 28px;
}

.ms2_txt span {
    display: block;
    font-family: 'Pretendard-Bold', sans-serif;
    font-weight: normal;
    font-size: 40px;
    margin-bottom: 51px;
}

#section1 .ms2_img1 ul {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding-bottom: 82px;
}

#section1 .ms2_img1 ul li {
    width: 187px;
    height: 61px;
    border: 1px solid #004a58;
    border-radius: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Pretendard-Bold', sans-serif;
    font-weight: normal;
    font-size: 20px;
    color: #004a58;
}

#section1 .ms2_img2 ul {
    display: flex;
    gap: 53px;
    justify-content: center;
    margin-bottom: 140px;
}

#section1 {
    /* position: absolute; */
}

.main_section2 {
    background-image: url(../images/index_bg2.png);
    background-repeat: no-repeat;
    position: absolute;
    top: 920px;
    width: 100%;
}

.ms2_bgtxt {
    position: absolute;
    font-family: 'Pretendard-Black', sans-serif;
    font-weight: normal;
    font-size: 112.69px;
    color: #f9f9f9;
    right: 0;
    bottom: 3%;
}

/* 인사말 */

#section2 {
    height: 890px;
}

.main_section3 {
    background-image: url(../images/index_bg3.jpg);
    height: 890px;
    background-repeat: no-repeat;
    position: relative;
    margin-top: 718px;
}

.greeting_text {
    height: 890px;
    width: 50%;
    background-image: url(../images/greeting_img2.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.gr_txt {
    margin-top: 95px;
    margin-left: 95px;
}

.main_section3 .ms3_bgtxt {
    position: absolute;
    font-family: 'Pretendard-Black', sans-serif;
    font-weight: normal;
    font-size: 113px;
    color: #f9f9f9;
    opacity: 0.2;
    left: 0;
    bottom: -3%;
}

.greeting_img {
    position: relative;
}

.gr_txt1 {
    font-family: 'Pretendard-SemiBold', sans-serif;
    font-weight: normal;
    font-size: 15px;
    color: #75b1ad;
    margin-bottom: 25px;
}

.gr_txt2 {
    font-family: 'Pretendard-Bold', sans-serif;
    font-weight: normal;
    font-size: 40px;
    color: #ffffff;
    margin-bottom: 61px;
}

.gr_txt3 {
    font-family: 'Pretendard-Regular', sans-serif;
    font-size: 18px;
    color: #ffffff;
    line-height: 1.5;
}

.gr_txt3 strong {
    font-family: 'Pretendard-Bold', sans-serif;
}

.greeting_txt .txt1 {
    font-family: 'Pretendard-Bold', sans-serif;
    font-weight: normal;
    font-size: 40px;
    color: #ffffff;
    margin-bottom: 61px;
}

.greeting_txt {
    position: absolute;
    top: 95px;
    left: 1055px;
}

/* 의료진 소개 */
.main_section4 {
    /* background-image: url(/images/index_bg4.png);
    background-repeat: no-repeat; */
    /* position: relative; */
}

.his_area {
    display: flex;
        justify-content: space-between;
}
.his_area2{
    margin-top: 50px;

}

.his_area3{
    margin-top: 100px;

}

.left_txt {
    margin-bottom: 118px;
}

.ms4_left span {
    font-family: 'Pretendard-Light', sans-serif;
    font-size: 18px;
    color: #222222;
    padding-top: 158px;
    display: block;
    margin-bottom: 27px;
}

.ms4_left span::before {
    content: "l";
    margin-right: 13px;
}

.ms4_left span::after {
    content: "l";
    margin-left: 13px;
}

.ms4_left strong {
    margin-left: 18px;
    font-family: 'Pretendard-SemiBold', sans-serif;
    font-size: 30px;
    color: #004a58;
}

.ms4_left pre {
    font-family: 'Pretendard-Regular', sans-serif;
    font-size: 18px;
    color: #454545;
    margin-top: 47px;
    margin-bottom: 90px;
    /*line-height: 0.8;*/
    line-height: 30px;
    /*margin-left: -90px;*/
}
.pre_fix{
    font-family: 'Pretendard-Regular', sans-serif;
    font-size: 18px;
    color: #454545;
    margin-top: 20px;
    margin-bottom: 90px;
    /*line-height: 0.8;*/
    line-height: 30px;
    /*margin-left: -90px;*/
}
.his_area2 .ms4_left pre{

}
.pre_fix span{
    font-family: 'Pretendard-Bold', sans-serif;
    font-size: 20px;
    color: #454545;
    padding-top: 20px;
    margin-bottom: 0;
}
.pre_fix span::before, .pre_fix span::after{
    content: none;
}

.left_txt2 {
    font-family: 'Pretendard-SemiBold', sans-serif;
    font-size: 18px;
    color: #222222;
    margin-top: 25px;
}

.left_txt2 span {
    font-family: 'Pretendard-SemiBold', sans-serif;
    font-size: 30px;
    color: #004a58;
}

.left_txt3 {
    font-family: 'Pretendard-Regular', sans-serif;
    font-size: 18px;
    color: #454545;
    line-height: 1.7;
    margin-top: 47px;
    margin-bottom: 90px;
}

.ms4_left {
    /* position:relative; */
    /* width: 50%; */
}

.his_img {
    position: absolute;
    left: -27%;
    bottom: 7%;
}

.ms4_right {

}

.right_txt1 {
    font-family: 'Pretendard-SemiBold', sans-serif;
    font-weight: normal;
    font-size: 15px;
    color: #00a79d;
    margin-top: 120px;
    text-align: right;
}

.right_txt2 {
    font-family: 'Pretendard-Bold', sans-serif;
    font-weight: normal;
    font-size: 40px;
    text-align: right;
    margin-top: 27px;
    margin-bottom: 80px;
}

.ms4_right img {
   
}

.ms4_bgtxt {
    position: absolute;
    font-family: 'Pretendard-Black', sans-serif;
    font-weight: normal;
    font-size: 112.69px;
    color: #f9f9f9;
    right: -1%;
    top: 9%;
    z-index: -1;
}

#section3 {
    background-image: url(../images/index_bg4.png);
    background-repeat: no-repeat;
/*    height: 2105px;*/
    padding: 100px 0;
    width: 1920px;
    position: relative;
    background-position: 26%;
}

#section4{
    height: 1355px;
    /* margin-top: 400px; */
    background-image: url(../images/index_bg5.png);
    background-repeat: no-repeat;
}

.main_section5 {
    position: relative;
}

.ms5_bg1 {
    position: relative;
    height: 769px;
    background-color: #00a299;
}

.ms5_bgtxt {
    position: absolute;
    font-family: 'Pretendard-Black', sans-serif;
    font-weight: normal;
    font-size: 112.69px;
    color: #36ada5;
    left: 0;
    bottom: -3%;
    white-space: nowrap;
    overflow: hidden;
}

.ms5_txt {
    position: relative;
}

.ms5_txt1 {
    font-family: 'Pretendard-SemiBold', sans-serif;
    font-weight: normal;
    font-size: 15px;
    color: #85dad5;
    text-align: center;
    padding-top: 130px;
}

.main_section5 .center span{
    font-family: 'Pretendard-Bold', sans-serif;
    font-weight: normal;
    font-size: 40px;
    color: #ffffff;
    text-align: center;
    margin-top: 37px;
    display: block;
}

.ms5_txt2 {
    font-family: 'Pretendard-Regular', sans-serif;
    font-size: 20px;
    color: #ffffff;
    text-align: center;
    margin-top: 67px;
    margin-bottom: 45px;
}

.ms5_txt2 strong {
    font-family: 'Pretendard-Bold', sans-serif;
}

.slider2 img {
    height: 704px;
    width: 1400px;
    top: -43%;
    border-radius: 15px;
    margin-bottom: 14px;
}

.slider2_nav img {
    height: 168px;
    width: 96%;
    padding:0 2%;
}

.slider2_nav .slick-initialized .slick-slider .slick-slide {
    width: 285px !important;
}

.ms5_img {
    position: relative;
}

.slider2 {
    position: absolute;
    /* margin-top: -400px; */
}

.slick-list .draggable {
    padding: 0;
}

#section5{
    height: 100%;
    background-image: url(../images/index_bg6.jpg);
}

.main_section6 {
    position: relative;
}

.ms6_txt1 {
    font-family: 'Pretendard-SemiBold', sans-serif;
    font-weight: normal;
    font-size: 15px;
    color: #00a79d;
    text-align: center;
    padding-top: 130px;
}

.ms6_txt2 {
    font-family: 'Pretendard-Bold', sans-serif;
    font-weight: normal;
    font-size: 40px;
    color: #222222;
    text-align: center;
    margin-top: 24px;
    margin-bottom: 89px;
}

.ms6_bgtxt {
    position: absolute;
    font-family: 'Pretendard-Black', sans-serif;
    font-weight: normal;
    font-size: 112.69px;
    color: #fafafa;
    left: 0;
    bottom: -1.4%;
}

.ms6_list ul {
    display: flex;
    gap: 90px 50px;
    flex-wrap: wrap;
    padding-bottom: 130px;
    justify-content: space-between;
}

.ms6_list ul li{
    width: 430px;
}

.iteminfo {
    margin-left: 5px;
}

.iteminfo p {
    font-family: 'Pretendard-SemiBold', sans-serif;
    font-weight: normal;
    font-size: 20px;
    color: #222222;
    margin-top: 31px;
    margin-bottom: 21px;
}

.iteminfo span {
    font-family: 'Pretendard-Regular', sans-serif;
    font-weight: normal;
    font-size: 18px;
    color: #222222;
    line-height: 1.5;
}




.slider2_nav .slick-slide img{
    /* opacity: 0.6; */
    filter: brightness(60%)
}

.slider2_nav .slick-slide.slick-current img{
    /* opacity: 1; */
    filter: brightness(100%)
}

.m_section2{
    display: none;
}

.img_wrap img{
    width:100%;
    height:100%;
    object-fit: cover;
}

.m_only_inline{
    display: none !important;
}

.pc_only_inline{
    display: inline !important;
}

.pre_fix i{
    font-style: normal;
}


/* mobile */
@media screen and (max-width: 767px) {


    #wrap{
        word-break: keep-all;
    }

    .pc_only_inline{
        display: none !important;
    }

    .m_only_inline{
        display: inline !important;
    }

    .pc_section2{
        display: none;
    }

    .m_section2,
    .m_section2 .main_section3{
        display: block;
        height: 100% !important;
    }

    .m_section2 flex_wrap{
        display: flex;
        flex-direction: column;
    }

    .main_section1{
        height: 70vh;
        background-position: center 70px;
    }

	.main_sec1_text .mt01 {
		font-size: 17px;
	}

	.main_sec1_text .mt02 {
		font-size: 30px;
	}

	.main_sec1_text {
        width: 90%;
	}

    .scroll1 img{
        margin: 12px 0 10px;
    }

    .scroll1 p{
        font-size: 12px;
    }

    .scroll1 .line{
        height: 55px;
        top: 80%;
        left: 50%;
        transform: translate(-50%, -50%);
    }



    .main_section2 {
        background-image: none;
        position: initial;
	}

    .ms2_txt p{
        padding-top: 30px;
        padding-bottom: 30px;
    }

	.ms2_txt {

	}

	.ms2_txt span {
		position: relative;
		/*right: 15px;*/
		margin-bottom: 30px;
        font-size: 30px;
	}

    #section1 .ms2_img1 ul li{
        font-size: 16px;
        margin-bottom: 10px;
        height: 50px;
    }

	#section1 .ms2_img1 ul {
        display: flex;
        justify-content: center;
        align-items: center;
        padding-bottom: 30px;
	}

	#section1 .ms2_img2 ul {
		flex-wrap: wrap;
        gap: 10px;
        padding-bottom: 30px;
        margin-bottom: 0px;
	}

    #section1 .ms2_img2 ul li{
        width: 47%;
        text-align: center;
    }

	#section1 .ms2_img2 ul li img {
		/*width: 140px;*/
        width: 100%;
	}

	.ms2_bgtxt, .ms3_bgtxt, .ms4_bgtxt {
		display: none;
	}

	.main_section3 {
		background-size: contain;
		    margin-top: 30px;
	}

	.greeting_txt {
	    position: initial !important;
	    /*top: 0;*/
	    /*left: 203px;*/
	}

	.gr_txt1 {
	    font-size: 22px;
	}

	.gr_txt2 {
		font-size: 16px;
		margin-bottom: 6px;
	}

	.gr_txt3 {
		font-size: 14px;
	}

    #section2,
    .main_section3{
        height: 500px;
    }


    .m_section2 .main_section3{
        background-image: none;
    }

    .m_section2 .greeting_txt{
        padding: 20px;
        background-image: url(../images/main_m_only2.png);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .m_section2 .flex_wrap{
        flex-direction: column;
    }

    .bgtxt,
    .ms3_bgtxt,
    .ms4_bgtxt,
    .ms6_bgtxt{
        display: none;
    }

    #section3{
        background-image: none;
        /*background-repeat: no-repeat;*/
        height: 100%;
        width: 100%;
        position: initial;
        /*background-position: 26%;*/
    }

    .ms4_left span{
        padding-top: 20px;
        margin-bottom: 18px;
    }

    .his_area{
        flex-direction: column-reverse;
    }
    
    .his_area3{
        
        margin-top: 40px;
    }

    .ms4_right img{
        margin-left: 0;
        width: 100%;
    }

    .ms4_right{
        width: 100%;
    }

    .right_txt1{
        margin-top: 30px;
        text-align: center;
    }

    .right_txt2{
        margin-top: 20px;
        margin-bottom: 30px;

        font-size: 30px;
        text-align: center;
    }

    .ms4_left pre{
        font-size: 15px;
        margin-top: 20px;
        margin-left: 0px;
        white-space: pre-wrap;
        line-height: 24px;
        margin-bottom: 30px;
    }
    .pre_fix{
        font-size: 15px;
    }
    .ms4_left span {
        padding-top: 10px;
        margin-bottom: 0;
        font-size: 18px;
    }

    .ms4_left strong{
        margin-left: 8px;
    }

    .ms5_txt1{
        padding-top: 30px;
    }

    .main_section5 .center span{
        margin-top: 16px;
        font-size: 28px;
    }

    .ms5_txt2{
        font-size: 16px;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .slick-list.draggable{
        width: 90%;
        margin: 0 auto;
    }

    .slider2 img{
        width: 100%;
        height: 100%;
    }

    .slider2_nav img{
        width: 100%;
        height: initial;
    }

    #section4{
        background-image : none;
        background-color :#00a299;
        height: 100%;
        padding-bottom: 60px;
    }

    .ms6_txt1{
        padding-top: 30px;
    }

    .ms6_txt2{
        margin-bottom: 30px;
        font-size: 30px;
    }

    .ms6_list ul{
        gap: 30px;
        padding-bottom: 30px;
    }

    .ms6_list ul li{
        width: 100%;
    }

    .ms6_list ul li .item_img img{
        width: 100%;
    }

    .iteminfo p{
        margin-top: 10px;
        margin-bottom: 20px;
    }

}




/* tablet */
@media screen and (min-width: 768px) and (max-width: 1024px) {

    .main_sec1_text{
        width: 100%;
    }


    .pc_only_inline{
        display: none !important;
    }

    .m_only_inline{
        display: inline !important;
    }

    .m_section2{
        display: block;
    }

    .m_section2,
    .m_section2 .main_section3{
        display: block;
        height: 100% !important;
    }

    .m_section2 flex_wrap{
        display: flex;
        flex-direction: column;
    }

    .pc_section2{
        display: none;
    }

    #section1 .ms2_img2 ul{
        gap: 0;
    }

    #section1 .ms2_img2 ul li img{
        width: 90%;
    }

    .m_section2 .main_section3{
        background-image: none;
    }

    .m_section2 .greeting_txt{
        padding: 20px;
        background-image: url(../images/main_m_only2.png);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .m_section2 .flex_wrap{
        flex-direction: column;
    }

    #section3{
        background-image: none;
        /*background-repeat: no-repeat;*/
        height: 100%;
        width: 100%;
        position: initial;
        /*background-position: 26%;*/
    }

    .ms4_left span{
        padding-top: 30px;
    }

    .ms4_left pre{
        white-space: pre-wrap;
    }

    .greeting_txt{
        position: initial;
    }

    .his_area{
        flex-direction: column-reverse;
    }

    .his_area img{
        width: 50%;
    }

    .right_txt2,
    .right_txt1{
        text-align: center;
    }

    .ms4_right{
        width: 100%;
    }

    .ms4_right img{
        margin-left: 0;
    }



}
