@charset "utf-8";

/* 메인 공통 */
.main_content {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.main_content .title_wrap {
    text-align: center;
}

.main_content .title_wrap>span {
    display: block;
    font-size: 18px;
    line-height: 1;
    font-weight: 600;
    color: #685C57;
    padding-bottom: 8px;
    z-index: -1;
}

.main_content .title_wrap .title {
    display: block;
    font-size: 22px;
    font-weight: 600;
    color: #74584C;
    letter-spacing: -0.02em;
    padding-bottom: 16px;
}

.main_content .title_wrap .desc {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
    color: #A37764;
}

.main_section {
    background: var(--white);
}

/* 메인 비주얼 배너 */
.main_visual {
    position: relative;
    width: 100%;
    background: var(--white);
    padding: 0;
    height: 580px;
}

.main_visual .video_box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.main_visual .video_box video {
    width: 100%;
    height: 100%;
    /* ★ 핵심: 블랙바 없이 박스에 맞춰 영상을 꽉 채우고 자름 */
    object-fit: cover;
    /* 영상의 중심을 기준으로 정렬 */
    object-position: center center;
    display: block;
}


/* 메인 카테고리 */
.main_category {
    padding: 44px 20px 71px;
    z-index: 10;
    position: relative;
}

.main_category .inner_box {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.main_category .category_swiper_wrap {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.main_category .category_swiper {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

/* 화살표 버튼 공통 */
.main_category .swiper_btn {
    flex-shrink: 0;
    width: 40px !important;
    height: 40px;
    background: #fff;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-top: 100px;
}

.main_category .swiper_btn img {
    filter: invert(38%) sepia(13%) saturate(1461%) hue-rotate(334deg) brightness(60%) contrast(89%);
    width: 10px;
}

.main_category .swiper_btn:hover {
    background: #74584C;
}

.main_category .swiper_btn:hover img {
    filter: none;
}

.main_category .btn_prev img {
    transform: rotate(180deg);
    /* 기존 화살표 반전 */
}

.main_category .cate_card .text_wrap {
    text-align: left !important;
}

.main_category .cate_card .text_wrap .text_title {
    font-size: 18px;
    color: #685C57;
    word-break: keep-all;
    font-weight: 600;
}

.main_category .cate_card .text_wrap .cate_desc {
    font-size: 14px;
    color: #a37764;
    line-height: 1.4;
    word-break: keep-all;
    font-weight: 400;
    margin-top: 12px;
}

.main_category .cate_card .img_box {
    margin: 10px auto 20px;
    aspect-ratio: 208 / 237;
    width: 208px;
}

.main_category .cate_card .img_box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.main_category .cate_card .cate_desc {
    font-size: 16px;
    color: #424242;
    line-height: 1.4;
    word-break: keep-all;
    font-weight: 400;
}


/* 의료진 섹션 */
.main_doctor {
    position: relative;
    overflow: hidden;
    background-image: url('../../../../../../data/commonimg/main-doctor-mo-bg.png');
    aspect-ratio: 360 / 500;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    box-sizing: border-box;
}

.main_doctor .inner_box {
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    color: #fff;
    align-items: center;
    justify-content: space-between;
    padding: 30px 20px 44px;
    box-sizing: border-box;
}

.main_doctor .inner_box .text_wrap .title {
    font-size: 40px;
    font-weight: 600;
    line-height: 1;
}

.main_doctor .inner_box .text_wrap .desc {
    font-size: 14px;
    line-height: 1.4;
    margin-top: 20px;
}

.main_doctor .more_btn {
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: #fff;
    background-color: transparent;
    border: none;
    width: fit-content;
}

.main_doctor .more_btn .icon {
    width: 8px;
    height: 13px;
}

/* .main_doctor .fade_up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.33, 1, 0.68, 1), 
                transform 1.2s cubic-bezier(0.33, 1, 0.68, 1);
}

.main_doctor .fade_up.active {
    opacity: 1;
    transform: translateY(0);
}

.main_doctor .title.fade_up.active {
    transition-delay: 0.2s;
}

.main_doctor .desc.fade_up.active {
    transition-delay: 0.4s;
}

.main_doctor .more_btn.fade_up.active {
    transition-delay: 0.6s;
} */


/* 장비 섹션 */
.main_equipment {
    padding: 40px 0 60px !important;
    background: #fff;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.main_equipment .equipment_inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.main_equipment .title_box {
    padding: 0 20px;
    box-sizing: border-box;
    text-align: center;
}

.main_equipment .title_box .title {
    color: #74584C;
    font-size: 28px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 16px;
}

.main_equipment .title_box p.desc {
    font-size: 14px;
    color: #A37764;
    line-height: 1.4;
    word-break: keep-all;
}

.main_equipment .equipment_swiper {
    width: 100%;
}

.main_equipment .swiper-slide {
    width: 117px !important;
    height: 181px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s;
}

.main_equipment .img_box {
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.main_equipment .img_box img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* 머무는 공간 섹션 */
.main_place {
    padding: 0 0 41px;
    background: #fff;
    overflow: hidden;
}

.main_place .place_inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 46px;
}

.main_place .title_wrap {
    text-align: center;
    max-width: none;
}

.main_place .title_wrap .subtitle {
    font-size: 18px;
    color: #685C57;
    line-height: 1;
}

.main_place .title_wrap .title {
    font-size: 22px;
    font-weight: 600;
    color: #74584C;
    line-height: 1;
}

.main_place .title_wrap .desc {
    font-size: 14px;
    line-height: 1.4;
    color: #A37764;
}

/* 스와이퍼 핵심 스타일 */
.main_place .place_swiper {
    width: 100%;
    position: relative;
}

.main_place .swiper-slide {
    width: 280px;
    /* 중앙 이미지 너비 */
    aspect-ratio: 16 / 9;
    transition: all 0.6s ease;
    /* 부드러운 전환 */
    transform: scale(0.78);
    filter: grayscale(100) brightness(60%);
}

/* 활성화된(가운데) 슬라이드 */
.main_place .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
    filter: grayscale(0) brightness(100%);
}

.main_place .img_box {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.main_place .img_box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main_place .swiper-pagination {
    position: relative;
    bottom: 0 !important;
    margin-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

/* 기본 점 스타일 (비활성) */
.main_place .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: #E0E0E0;
    /* 피그마 서브2 컬러 */
    border-radius: 50%;
    margin: 0 !important;
    transition: all 0.3s ease;
}

.main_place .swiper-pagination-bullet-active {
    width: 32px;
    height: 7px;
    background-color: #74584C;
    border-radius: 100px;
}


/* main_map 메인 여섯번째 섹션 */
.main_map {
    background-color: #FAF6F5;
    padding: 40px 20px !important;
}

.main_map .title_wrap {
    text-align: left;
}

.main_map .title {
    font-size: 28px !important;
    font-weight: 600;
    color: #74584C;
}

.main_map .cont_wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 42px;
}

.main_map .info_wrap {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
}

.main_map .info_grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: flex-start;
    width: 100%;
}

.main_map .info_item {
    text-align: left;
    width: 100%;
}

.main_map .info_item .info_title {
    display: block;
    color: #74584C;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    position: relative;
    width: 100%;
    flex-shrink: 0;
}

.main_map .info_item .info_title::before {
    content: '';
    display: block;
    width: 24px;
    height: 3px;
    background-color: #74584C;
    margin-bottom: 16px;
}

.main_map .info_item:first-child {
    width: auto;
}

.main_map .info_item .txt {
    color: #74584C;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.main_map .info_item .txt p {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: -0.02em;
    font-weight: 400;

}

.main_map .info_item .txt .label {
    display: inline-block;
    width: 180px;
    font-weight: 400;
    color: #74584C;
    line-height: 1.4;
}

.main_map .res_btn {
    width: 185px;
    height: 48px;
    font-size: 16px;
    font-weight: 600;
    background-color: #74584C;
    color: #fff;
    border-radius: 500px;
    letter-spacing: -0.02em;
    word-break: keep-all;
    border: none;
    outline: none;
    box-sizing: border-box;
    text-decoration: none;
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.main_map .info_item .txt .txt_content{
    display: flex;
    align-items: center;
    gap: 17px;
}

.main_map .info_item .txt .txt_content strong {
    font-weight: 400 !important;
}

.main_map .map_box {
    flex-shrink: 0;
    width: 100%;
    max-width: 680px;
    height: 200px;
    position: relative;
    overflow: hidden;
}

#naver_map {
    width: 100%;
    height: 100%;
    z-index: 1;
}