@charset "UTF-8";
@import url("main_pc.css");
@media only all and (max-width: 1023px) {
    .gnb-area,
    .header-area,
    .footer-wrapper {
        padding: 0;
    }

    .header {
        height: 4.5833rem;
    }
    .main-container {
        max-width: 100%;
        padding: 0 1.25rem 0 1.25rem;
        margin: 0;
    }
    .main-contents01 {
        margin-bottom:3.667rem;
    }
    .main-contents01-area01 {
        padding-right: 0;
        margin-bottom: 1.375rem;
    }
    .main-contents01-area01:before {
        display: none;
    }
    .main-visual-wrapper {
        top: 0;
        left: -1.25rem;
        width: calc(100% + 2.5rem);
        border-radius: 0;
        margin-bottom: 1.375rem;
    }
    #main-visual-slider .swiper-slide .pc {
        display: none;
    }
    #main-visual-slider .swiper-slide .mobile {
        display: block;
        width: 100%;
    }
    .main-visual-option {
        bottom: 2.292rem;
        left: 2.917rem;
        height: 2.083rem;;
        padding: 0 1.125rem 0 0.417rem;
        border-radius: 0.417rem;
    }
    .main-visual-option button {
        margin: 0 0.833rem;
        width: 0.458rem;
        height: 0.625rem;
        background-size: 0.458rem 0.625rem;
    }
    #main-visual-pagination {
        font-size: 0.833rem;
    }
    #main-visual-pagination .swiper-pagination-current {
        color: #fcff9f !important
    }
    .main-menu01 {
        position: static;
        width: 100%;
        height: 100%;
        padding: 0.625rem 2.75rem 1.292rem 2.75rem;
        border: 0.167rem solid #607a9b;
        border-radius: 0.5rem;
    }
    .main-menu01>li {
        width: 100%;
        height: auto;
        padding: 0;
    }
    .main-menu01>li>a {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 1.875rem 0 1.875rem 5.708rem;
        height: 100%;
    }
    .main-menu01>li>a>img {
        width: 4.667rem;
        margin-top: -2.333rem;
    }
    .main-menu01>li>a>dl dt {
        margin-bottom: 0.083rem;
        font-size: 1.75rem;
        line-height: 2.375rem;
    }
    .main-menu01>li>a>dl dd {
        font-size: 2.083rem;
        line-height: 2.417rem;
    }
    .main-menu01>li>a>dl dd+dd {
        margin-top: 0.083rem;
        font-size: 1.333rem;
        line-height: 2.042rem;
    }
    .main-contents01-area02 {
        display: block;
    }
    .main-reservation-area {
        width: 100%;
        height: auto;
        padding: 2.083rem 2.917rem 2.583rem 2.917rem;
        border-radius: 1rem;
    }
    .main-reservation-area+.main-reservation-area {
        margin-top: 0.792rem;
    }
    .main-reservation-area h2 {
        margin-bottom: 0.792rem;
        font-size: 1.833rem;
        line-height: 2.5rem;
    }

    .main-reservation-area.type01 {
        padding-bottom: 2rem;
    }

    .main-reservation-area.type01 h2 {
        margin-bottom: 1.125rem;
    }

    .main-reservation-area.type02 h2,
    .main-reservation-area.type04 h2 {
        margin-bottom: 0.792rem;
    }


    .main-reservation-area .word {
        position: relative;
        left: -3.75rem;
        width: calc(100% + 7.5rem);
        font-size: 1.333rem;
        line-height: 1.833rem;
        margin-bottom: 0.375rem;
    }

    .main-reservation-area .phone {
        margin-top: 1.208rem;
        font-size: 1.75rem;
        line-height: 2.167rem
    }

    .main-reservation-area input[type="text"] {
        height: 4rem;
        font-size: 1.417rem;
        border-radius: 0.5rem;
    }
    .main-reservation-area button {
        margin-top: 0.75rem;
        height: 3.333rem;
        border-radius: 0.5rem;
        font-size: 1.417rem;
    }
    .main-reservation-area a {
        margin-top: 0.75rem;
        width: 100%;
        height: 3.333rem;
        border-radius: 0.5rem;
        font-size: 1.417rem;
    }

    .main-reservation-area a:hover {
        background-color: rgba(255, 255, 255, 1);
        box-shadow: 0.25rem 0.25rem 0.917rem 0 rgba(0, 0, 0, 0.15)
    }
    .main-reservation-area button:hover {
        box-shadow: 0.25rem 0.25rem 0.917rem 0 rgba(0, 0, 0, 0.15)
    }


    .doctor-search-wrapper {
        height: 3.333rem;
        border-radius: 0.5rem;
    }

    .doctor-search-wrapper input[type="text"] {
        height: 3.333rem;
        font-size: 1.167rem;
    }

    .doctor-search-wrapper button[type="submit"] {
        width: 3.333rem;
        height: 3.333rem;
        background-size: 1.167rem 1.167rem;
    }


    .main-contents02 {
        margin-bottom: 3.333rem;
    }
    .main-bookmark-wrapper {
        border: 0.167rem solid #1f4eaa;
        border-radius: 1rem;
        /* padding: 5.25rem 2.917rem 2.458rem 2.917rem; */
        padding: 4.167rem 1.25rem 2.458rem 1.25rem;
    }
    .main-title-type01 {
        font-size: 2rem;
        line-height: 2.667rem;
    }
    .main-bookmark-wrapper h2 {
        top: -0.5rem;
        left: -0.167rem;
        padding-right: 2.25rem;
        padding-bottom: 2.25rem;
    }
    .main-bookmark-wrapper:before,
    .main-bookmark-wrapper:after {
        width: 0.75rem;
        height: 0.75rem;
    }
    .main-bookmark-wrapper:before {
        top: -0.417rem;
        left: 12.5rem;
    }
    .main-bookmark-wrapper:after {
        top: 4.375rem;
        left: -0.417rem;
    }
    .main-bookmark-wrapper ul {
        display: block;
    }
    .main-bookmark-wrapper ul:after {
        display: block;
        content: "";
        clear: both;
    }
    .main-bookmark-wrapper ul>li {
        float: left;
        width: 33.3333%;
        margin-top: 2.333rem;
    }
    .main-bookmark-wrapper ul>li:nth-of-type(1),
    .main-bookmark-wrapper ul>li:nth-of-type(2),
    .main-bookmark-wrapper ul>li:nth-of-type(3) {
        margin-top: 0;
    }
    .main-bookmark-wrapper ul>li>a>img {
        display: block;
        width: 3.667rem;
        margin: 0 auto 0.5rem auto;
    }
    .main-bookmark-wrapper ul>li>a>strong {
        font-size: 1.167rem;
        line-height: 1.917rem;
    }
    .main-contents03 {
        flex-wrap: wrap;
        width: 100%;
        margin-bottom: 2.917rem;
        gap: 0;
    }

    .main-press-wrapper {
        width: calc(100% + 1.25rem);
        float: none;
        order: 2;
        margin-top: 3.333rem;
    }

    .main-press-area {
        margin-top: 1rem;
    }

    .main-press-wrapper #main-press-slider .swiper-wrapper .swiper-slide {
        display: flex
    }

    #main-press-slider .swiper-wrapper {
        width: calc(100% + 1.25rem);
    }

    #main-press-slider .swiper-wrapper .swiper-slide {
        float: initial;
        width: 100%;
        margin-right: 0;
    }

    .main-press-box {
        padding: 57.68% 1.75rem 1.333rem 1.75rem;
        border-radius: 0.667rem;
    }

    .main-press-box .image {
        border-top-left-radius: 0.667rem;
        border-top-right-radius: 0.667rem;
    }


    .main-press-box .title {
        margin-top: 0.667rem;
        margin-bottom: 1.583rem;
        font-size: 1.25rem;
        line-height: 1.667rem;
        height: 5rem;
    }

    .main-press-box .date {
        padding-left: 1.333rem;
        font-size: 1rem;
        line-height: 1rem;
        background-size: 0.917rem 0.917rem;
    }

    .main-press-wrapper  .btn-more {
        right: 1.25rem;
    }


    .main-hospital-wrapper {
        width: 100%;
        float: none;
        order: 1;
        padding-top: 3.75rem
    }

    .main-hospital-wrapper .main-title-type01 {
        position: absolute;
        top: 0;
        left:0;
    }

    .main-hospital-box {
        display: none;
        padding-top: 4.083rem;
    }
	.main-hospital-area > li {
		text-align: center;
	}
    .main-hospital-area > li button,
	.main-hospital-area > li > a {
        top: 0;
		display: inline-block;
        font-size: 1.25rem;
        line-height: 2rem;
        padding-bottom: 0.625rem;
        max-width: 20%;
        font-weight: 500;
    }

    .main-hospital-area > li:nth-of-type(1) button {
        width: 15%;
    }

    .main-hospital-area > li button.active {
        font-weight: 700;
    }

    .main-hospital-area > li button:before {
        bottom: -0.208rem;
        width: 0.5rem;
        height: 0.5rem;
        margin-left: -0.25rem;
    }

    .main-hospital-area > li:nth-of-type(1) button {
        left: 0;
    }

    .main-hospital-area > li:nth-of-type(2) button {
        left: 15%;
    }

    .main-hospital-area > li:nth-of-type(3) button {
        left: 36%;
    }

    .main-hospital-area > li:nth-of-type(4) button {
        left: 57%;
    }

    .main-hospital-area > li:nth-of-type(5) button,
	.main-hospital-area > li:nth-of-type(5) > a {
        left: 78%;
    }

	.main-hospital-area > li > a[target="_blank"]:after {
		position: absolute;
		top: 0.5rem;
		right: -1.25rem;
		width: 1rem;
		height: 1rem;
		background-size: 1rem 1rem;
	}

    .main-hospital-box > ul > li + li {
        margin-top: 0.542rem;
    }

    .main-hospital-box > ul > li a strong {
        width: calc(100% - 5.75rem);
        font-size: 1.167rem;
        line-height: 1.75rem;
    }

    .main-hospital-box > ul > li a strong .badge {
        width: 3.417rem;
        height: 1.75rem;
        margin-right: 0.708rem;
        font-size: 0.917rem;
        border-radius: 0.167rem;
    }

    .main-hospital-box > ul > li a .date {
        font-size: 1.083rem;
        line-height: 1.75rem;
        margin-top: -0.875rem;
    }

    .main-hospital-wrapper .btn-more {
        margin-top: -3.75rem;
    }

    .main-news-wrapper {
        margin-top: 0.958rem;
    }
    .main-news-tabs {
        top: 0.25rem;
        left: 11.458rem;
        gap: 1.667rem;
    }
    .main-news-tabs>li>button {
        font-size: 1.25rem;
        line-height: 2.125rem;
        padding-bottom: 0.542rem;
    }
    .main-news-tabs>li>button:before {
        margin-left: -0.208rem;
        width: 0.417rem;
        height: 0.417rem;
    }
    .main-news-area {
        width: calc(100% + 1.25rem);
    }
    .main-news-box {
        height: 10.708rem;
        padding: 1.25rem 1.833rem 0 1.833rem;
        border-radius: 0.583rem;
    }
    .main-news-box dl {
        margin-bottom: 1.292rem;
    }
    .main-news-box dl>dt {
        font-size: 0.875rem;
        line-height: 1.125rem;
    }
    .main-news-box dl>dd {
        font-size: 1.75rem;
        line-height: 1.75rem;
    }
    .main-news-box .badge {
        top: 1.583rem;
        right: 1.5rem;
        padding: 0 1.083rem;
        height: 1.875rem;
        border-radius: 1.875rem;
        font-size: 1rem;
    }
    .main-news-box>p {
        font-size: 1.25rem;
        line-height: 1.75rem;
        max-height: 3.5rem;
    }
    .main-container .btn-more {
        top: 0;
        width: 2.417rem;
        height: 2.417rem;
        border-radius: 0.417rem;
    }
    .main-container .btn-more:hover {
        box-shadow: 0.167rem 0.167rem 0.667rem 0 rgba(0, 0, 0, 0.15);
    }
    .main-container .btn-more:before {
        width: 0.708rem;
        height: 0.708rem;
        margin-top: -0.354rem;
        margin-left: -0.354rem;
        background-size: 0.708rem 0.708rem;
        background-image: url(../img/main/icon_more01_mobile.gif);
    }
    .main-contents04 {
        margin-bottom: 2.708rem;
    }



    .main-youtube-wrapper {
        margin-bottom: 1.5rem;
    }
    .main-title-youtube {
        gap: 0.75rem;
        font-size: 1.583rem;
        margin-bottom: 2rem;
    }
    .main-title-youtube>img {
        width: 2.792rem
    }
    .main-youtube-area {
        display: block;
    }
    .main-youtube-area .main-first-youtube {
        width: 100%;
        border-radius: 0.5rem;
    }
    .main-youtube-area .main-first-youtube:hover {
        box-shadow: 0.25rem 0.25rem 0.917rem 0 rgba(0, 0, 0, 0.15)
    }
    .main-youtube-area .main-first-youtube>.image {
        border-radius: 0.5rem;
    }
    .main-youtube-box {
        margin-top: 0.667rem;
        gap: 0.583rem;
        width: 100%;
    }
    .main-youtube-group {
        gap: 0.583rem;
    }
    .main-youtube-group>a {
        width: calc(50% - 0.292rem);
        border-radius: 0.5rem;
    }
    .main-youtube-group>a:hover {
        box-shadow: 0.25rem 0.25rem 0.917rem 0 rgba(0, 0, 0, 0.15)
    }
    .main-youtube-group>a>.image {
        border-radius: 0.5rem;
    }
    .main-location-wrapper {
        position: relative;
    }
    .main-map-wrapper {
        height: 42rem;
        border-radius: 0.5rem;
	}
	.main-map-wrapper iframe {
		position: relative;
		overflow: hidden;
		height: 35rem
	}

    .root_daum_roughmap .wrap_map {
        height: 42rem !important;
    }
    .main-location-wrapper .main-location-information {
        position: absolute;
        top: initial;
        top: auto;
        bottom: 2.083rem;
        left: 1.458rem;
        max-width: calc(100% - 2.916rem);
        padding: 2.167rem 2.25rem 1.667rem 2.25rem;
        border-radius: 0.5rem
    }
    .main-location-wrapper .main-location-information>h2 {
        gap: 0.542rem;
        margin-bottom: 0.542rem;
    }
    .main-location-wrapper .main-location-information>h2>img {
        width: 1.125rem;
    }
    .main-location-wrapper .main-location-information>h2>strong {
        font-size: 1.542rem;
        line-height: 1.542rem;
    }
    .main-location-wrapper .main-location-information address {
        margin-bottom: 0.625rem;
        font-size: 1.167rem;
        line-height: 1.667rem;
        word-break: keep-all;
    }
    .main-location-wrapper .main-location-information ul {
        gap: 0.667rem;
    }
    .main-location-wrapper .main-location-information ul>li {
        width: calc(50% - 0.3335rem);
    }
    .main-location-wrapper .main-location-information ul>li>a {
        height: 2.917rem;
        text-indent: 1.208rem;
        font-size: 1.083rem;
    }
    .main-location-wrapper .main-location-information ul>li>a::before {
        right: 1.208rem;
        width: 0.458rem;
        height: 0.792rem;
        margin-top: -0.391rem;
        background-size: 0.458rem 0.792rem
    }
    .main-location-wrapper .main-location-information ul>li>a:hover {
        box-shadow: 0.25rem 0.25rem 0.917rem 0 rgba(0, 0, 0, 0.15)
    }
    .main-location-wrapper .main-location-information ul>li>a:hover::before {
        right: 0.917rem;
    }


    .main-location-wrapper .main-linked-map {
        margin-top: 0.917rem;
        gap: 0.667rem;
		width: 100%;
    }

	.main-location-wrapper .main-linked-map > a {
		width: 100%;
        font-size: 1rem;
        line-height: 1.708rem;
		letter-spacing: -0.25px;
		gap: 0.25rem;
		letter-spacing: -1px;
	}

    .main-location-wrapper .main-linked-map > a > img {
        width: 1.667rem;
    }



    .main-contents05 {
        position: relative;
        padding: 2.958rem 0 1.875rem 0;
    }


    .main-family-area01 {
        margin-top: 1.542rem;
        gap: 0.667rem;
        width: calc(100% + 0.667rem);
    }

    .main-family-area01 > a {
        width: calc(50% - 0.667rem);
        border-radius: 0.5rem;
    }

    .main-family-area01 > a:hover,
    .main-family-area01 > a:focus {
        box-shadow: 0.25rem 0.25rem 0.917rem 0 rgba(0, 0, 0, 0.15)
    }

    .main-family-area01 > a .image {
        border-top-left-radius: 0.5rem;
        border-top-right-radius: 0.5rem;
    }

    .main-family-area01 > a .image > img.pc {
        display: none;
    }

    .main-family-area01 > a .image > img.mobile {
        display: block;
    }

    .main-family-area01 > a dl {
        height: 12.667rem;
        padding: 1.25rem 1.167rem;
        border-bottom-left-radius: 0.5rem;
        border-bottom-right-radius: 0.5rem;
    }

    .main-family-area01 > a dl dt {
        margin-bottom: 0.542rem;
        font-size: 1.167rem;
        line-height: 1.5rem;
    }

    .main-family-area01 > a dl dd {
        font-size: 1rem;
        line-height: 1.333rem;
    }

    .main-family-area02 {
        margin-top: 1.792rem;
        gap: 0.667rem;
        width: calc(100% + 0.667rem);
    }

    .main-family-area02 > a {
        width: calc(50% - 0.667rem);
        height: 2.5rem;
        padding: 0 2.208rem 0 1.333rem;
        border-radius: 0.333rem;
        font-size: 1.083rem;
        line-height: 1.25rem;
    }

    .main-family-area02 > a:hover {
        box-shadow: 0.25rem 0.25rem 0.917rem 0 rgba(0, 0, 0, 0.15)
    }

    .main-family-area02 > a:before {
        right:1rem;
        width: 0.833rem;
        height: 0.458rem;
        margin-top: -0.229rem;
        background-size: 0.833rem 0.458rem;
    }


    .main-family-area02 > a:hover:before {
        right: 1rem;
    }

	.main-family-area02 {
		margin-top: 3.375rem;
		padding-top: 1.875rem
	}
}

@media only all and (max-width: 639px) {
    .main-news-tabs {
        left: 10rem;
        gap: 0.833rem;
    }
    .main-news-tabs>li>button {
        font-size: 1.25rem;
        line-height: 2.125rem;
        padding-bottom: 0.25rem;
    }

    .root_daum_roughmap .wrap_map {
        height: 44rem !important;
    } 

}

@media only all and (max-width: 475px) {
    .main-menu01 {
        padding: 0.625rem 1.25rem 1.292rem 1.25rem;
    }

    .main-menu01>li>a>dl dd {
        font-size: 2rem
    }

    .main-news-tabs>li>button {
        font-size: 1rem;
    }

    .root_daum_roughmap .wrap_map {
        height: 41rem !important;
    }

}

@media only all and (max-width: 375px) {
    .main-family-area01 > a dl {
        height: 13.667rem;
    }
	.main-location-wrapper .main-linked-map > a {
		font-size: 0.8333rem;
	}
}

@media only all and (max-width: 280px) {
	.main-location-wrapper .main-location-information {
        padding: 1.5rem;
	}

	.main-location-wrapper .main-linked-map > a {
		line-height: 1;
		word-break: keep-all
	}
}