@charset "utf-8";
/* ======================================================================================================================= */
/* ======================================================= main style ==================================================== */
/* ======================================================================================================================= */

main {
    position: relative;
}
#wrapper {
    overflow: hidden;
}
.content:first-of-type {
    padding-top: 0;
}
.content-slide{
    background-color: #000;
}
.main-slide {
    
    max-width: 1920px;
    margin: 0 auto;
}

.main-slide .swiper-slide {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.main-slide .swiper-slide .img {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scale(1.2);
    transition: transform 0.8s ease-in-out;
}

.main-slide .swiper-pagination {
    left: 0;
    bottom: 40px !important;
    top: auto !important;
    width: 100%;
}
.main-slide .swiper-pagination-bullet {
    margin: 0 4px;
    width: 14px;
    height: 14px;
    background: #ffffffdd;
    transition: all 0.4s ease-in-out;
}
.main-slide .swiper-pagination-bullet-active {
    background: #f2bf5e;
    opacity: 1;
}

.main-tit {
    margin-bottom: 40px;
    text-align: center;
}
.main-tit .sub-tit {
    font-weight: 600;
    white-space: pre-line;
}
.main-tit .tit {
    font-weight: 900;
    font-family: 'NanumSquare', san-serif;
    transform: skew(-0.1deg);
    white-space: pre-line;
}
.main-tit .sub {
    margin-top: 30px;
    white-space: pre-line;
}


/* ===================== Mobile size : 425px ======================= */

@media screen and (max-width: 480px) {
    main {
        margin-top: 55px;
    }

    .main-tit {
        margin-bottom: 20px;
    }
}

/* ===================== Mobile size : 425px ======================= */

@media screen and (max-width: 480px) and (min-height: 720px) {
    
}

@media screen and (max-width: 480px) and (min-height: 850px) {
    .main-slide .swiper-slide {
        height: calc(var(--vh, 1vh) * 100 - 285px);
    }
}

/* ======================================================================================================================= */
/* ======================================================= main style ==================================================== */
/* ======================================================================================================================= */

.main01{
    padding-top: 0;
    color: #fff;
}

.main01-bg{
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    background: url(../img/main/main01-bg.jpg) center/cover no-repeat;
}

.main01 p{
    font-size: 24px;
    white-space: pre-line;
}
.main01 h1 {
    font-size: 60px;
}

.main01 .sub-box{
    padding: 320px 0;
    text-align: center;
}

.main01 .point{
    display: inline-block;
    color: #f1bf5e;
    font-weight: 900;
    position: relative;
}
.main01 p:first-child {
    font-size: 12px;
    letter-spacing: 0.7rem;
    position: absolute;
    left: 50%;
    top: 150px;
    transform: translateX(-50%);
}
.main01 .point:after{
    content: '';
    background-color: #f1bf5e;
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll_icon {
  transition: opacity 1s;
  transition-delay: 1s;
  position: absolute;
  bottom: 15px;
  width: 35px;
  left: 50%;
  margin-left: -22.5px;
  cursor: pointer;
  animation: move_scroll 2s infinite;
  z-index: 2;
}

@media(max-width:1200px) {
    .main01 p:first-child {
        white-space: nowrap;
        top: 40px;
    }
    .main01 .point:after{
        width: 6px;
        height: 6px;
        top: -6px;
    }
    .main01-bg{
        background: url(../img/main/m_main01-bg.jpg) right/cover no-repeat;
    }
}
@media(max-width:768px) {
    
    .main01 .sub-box{
        padding: 200px 0;
    }
    .main01 p:first-child {
        font-size: 8px;
        letter-spacing: 0.3rem;
    }
    .main01 p{
        font-size: 18px;
        white-space: pre-line;
    }
    .main01 h1 {
        font-size: 35px;
    }
}



.main02 {
    background-color: #f3f6f9;
}

.main02 .inner {
    padding: 80px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main02 .sub-box {
    flex-shrink: 0;
    margin-right: 80px;
}

.main02 .sub-box h2{
    font-weight: 800;
    font-size: 35px;
}

@media(max-width:1200px) {
    .main02-img-box{
        margin: 40px 30px 0 30px;
    }
    .main02 .sub-box {
        margin: 0 30px;
    }
    .main02 .inner {
        flex-direction: column;
        align-items: start;
    }
}

.main-sub-tit .main-sub-num {
    display: block;
    font-weight: 900;
    color: #24408152;
    font-style: italic;
    font-size: 68px;
}

.main-sub-tit2 .main-sub-num {
    display: block;
    font-weight: 900;
    color: #ffffff52;
    font-style: italic;
    font-size: 68px;
}

.main03{
    color: #fff;
    background: url(../img/main/main03-bg.jpg) center/cover no-repeat;
    background-attachment: fixed;
}

.main03 .sub-box{
    text-align: center;
    padding: 180px 0;
}
.main03 p{
    font-size: 24px;
    white-space: pre-line;
}
.main03 h2 {
    font-size: 50px;
    font-weight: 800;
}


@media(max-width:768px) {
    .main03 p{
        font-size: 18px;
    }
    .main03 h2 {
        font-size: 28px;
    }
    .main03 .sub-box{
        padding: 250px 0;
    }
    .main-sub-tit .main-sub-num, .main-sub-tit2 .main-sub-num {
        font-size: 60px;
    }
}
@media(max-width:468px) {}

.main04 {
    background-color: #f3f6f9;
}

.main04 .inner {
    padding: 80px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main04 .sub-box {
    flex-shrink: 0;
    margin-left: 80px;
}

.main04 .sub-box h2{
    font-weight: 800;
    font-size: 35px;
}

@media(max-width:1200px) {
    .main04-img-box{
        margin: 40px 30px 0 30px;
    }
    .main04 .sub-box {
        margin: 0 30px;
    }
    .main04 .inner {
        flex-direction: column-reverse;
        align-items: end;
        text-align: right;
    }
}

.main-card-section li{
    display: flex;
    justify-content: center;
    align-items: center;
}

.main05 {
    background-color: #245088;
    color: #fff;
}

.main06 {
    background-color: #f8d89a;
}

.main05 .sub-box, .main06 .sub-box{
    width: 100%;
    max-width: 500px;
}

.main02 .sub-box h2,
.main04 .sub-box h2,
.main05 .sub-box h2,
.main06 .sub-box h2{
    font-weight: 800;
    font-size: 35px;
}

@media(max-width:768px) {
    .main05-img-box, .main07-img-box{
        margin: 20px;
    }
    .main-card-section li{
        padding: 40px;
    }
    .main06 ul{
        flex-direction: column-reverse;
    }
    .main02 .sub-box h2,
    .main04 .sub-box h2,
    .main05 .sub-box h2,
    .main06 .sub-box h2{
        font-size: 28px;
    }
}

.main07 {
    background-color: #000;
}

/* ======================================================================================================================= */
/* ====================================================== Review Section ================================================= */
/* ======================================================================================================================= */

.review {
    background-color: #213a70; /* 시안의 진푸른 배경색 */
    padding: 120px 0;
    overflow: hidden;
    color: #fff;
}

.review-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.card-top-green img {
    width: 100%;
}

.review-inner {
    margin-left: calc((100vw - 1400px)/2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 왼쪽 타이틀 영역 */
.review-title-box {
    width: 30%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: stretch;
}

.review-title-box h2 {
    font-size: 50px;
    line-height: 1.3;
    letter-spacing: 1px;
    color: #fff;
}


.review-sub-text {
    font-size: 20px;
    line-height: 1.6;
    margin-top: 40px;
    opacity: 0.9;
}

/* 왼쪽 하단 큰 디테일 버튼 */
.btn-detail-view {
    display: inline-block;
    width: 240px;
    height: 54px;
    line-height: 52px;
    border: 1px solid #fff;
    border-radius: 30px;
    text-align: center;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-detail-view:hover {
    background-color: #fff;
    color: #213a70;
}

.mobile-only { display: none !important; }

/* 오른쪽 스와이퍼 영역 */
.review-slider-wrap {
    width: 60%;
    overflow: hidden;
    position: relative;
}

.review-swiper {
    padding-bottom: 50px !important;
    overflow: visible !important; /* 슬라이드가 화면 우측으로 자연스럽게 빠지도록 설정 */
}

.mock-review-img {
    background: #fff;
    border: 1px solid #e9ecef;
    flex-grow: 1;
    border-radius: 4px;
}


/* 카드 하단 디테일 뷰 텍스트 링크 */
.btn-card-detail {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* 하단 주황색 선 스크롤바 커스텀 */
.review-scrollbar {
    background: rgba(255, 255, 255, 0.2) !important;
    height: 2px !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
}

.review-scrollbar .swiper-scrollbar-drag {
    background: #d3ad7b !important; /* 시안의 주황/베이지 톤 바 */
}

@media (max-width:1200px) {
    .review-inner {
        margin-left: 0;
    }
    .review-title-box {
        width: auto;
        margin: 0 10px;
    }
    .review-slider-wrap {
        width: auto;
    }
}

@media screen and (max-width: 768px) {
    .btn-detail-view {
        margin-top: 40px;
    }
    .review {
        padding: 70px 0;
    }

    .review-inner {
        flex-direction: column; /* 상하 배치로 변경 */
        align-items: flex-start;
    }
    .review-slider-wrap{
        width: 100%;
    }
    .review-title-box {
        width: 100%;
        min-height: auto;
        margin-bottom: 40px;
    }

    .review-title-box h2 {
        font-size: 28px;
    }
}




/* info-map */
.info-map {
  padding-bottom: 120px;
  background-color: #f3f6f9;
}
.info-map h3.info-map-title-con {
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.info-map p {
  font-size: 18px;
}
.info-map h3.info-map-title-con > span:first-child {
  flex-shrink: 0;
}
.info-map h3.info-map-title-con img {
  height: 35px;
  width: 35px;
  flex-shrink: 0;
}
.info-map .info-map-sub {
    display: flex;
    flex-direction: column;
    font-size: 24px;
    font-weight: 800;
    gap: 4px;
}
.info-map h2.info-map-sub {
  font-weight: 800;
}

/* --- 진료시간 자간 및 양쪽 정렬 수정 영역 --- */
.info-map-sub .info-time {
  display: flex;
  gap: 80px;
  align-items: center;
}

/* 첫 번째 li (요일/제목) 영역 자간 균등 배분 */
.info-map-sub .info-time li:nth-child(1) {
    width: 150px;                   /* 폰트 크기(24px) 대비 적절한 너비로 조정 */
    text-align: justify;
    text-align-last: justify;
    text-justify: inter-character;  /* ★ 한글 글자 단위 자간 균등 배분 핵심 속성 */
    flex-shrink: 0;                 /* 너비 줄어듦 방지 */
    white-space: nowrap;
}
/* ------------------------------------------- */

/* 카카오 지도 박스 높이 등 레이아웃 보정 */
.info-map .root_daum_roughmap {
  width: 100% !important;
  border-radius: 15px;
  overflow: hidden;
}

/* 오시는 길 카테고리 카드 */
.info-map-category .info-map-category-box {
  text-align: center;
  background-color: #fff;
  box-shadow: 9px 10px 21px -3px #1a6db617;
  border-radius: 30px;
  padding: 20px;
}
.info-map-category .info-map-category-box strong {
  font-weight: 700;
  font-size: 24px;
}
.info-map-category .info-map-category-box > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px;
  height: 150px;
}
.info-map-category .info-map-category-box > div:first-child {
  border-bottom: 1px solid #00000010;
}

/* 미디어 쿼리 (반응형) */
@media(max-width:1200px) {
  .info-map .info-map-sub {
    font-size: 20px;
  }
  .info-map-btn a {
    font-size: 18px;
    padding: 8px;
  }
}

@media(max-width:769px) {
  .info-map h3.info-map-title-con{
    font-size: 16px;
  }
  .info-map {
    padding-bottom: 80px;
  }
  .info-map-btn {
    max-width: 100%;
  }
  .info-map-btn a {
    font-size: 18px;
    padding: 2px;
  }
  .info-map .info-map-sub {
    font-size: 18px;
  }
  .info-map-sub .info-time {
    gap: 20px;
  }
  
  /* 모바일 화면에서 요일 항목 너비 자동 조정 */
  .info-map-sub .info-time li:nth-child(1) {
    width: 95px;
  }

  .info-map-category .info-map-category-box .info-map-category-box-con > div {
    max-height: 170px;
    height: auto;
  }
  .info-map-category .info-map-category-box p {
    font-size: 16px;
    font-weight: 700;
  }
}