@charset "utf-8";
/*========================================================================================================================================= */
/*================================================================ common ================================================================= */
/*========================================================================================================================================= */
#content{padding-top: 153px;}

.stick ul.flex li h6{background: #2c4a68; color: #fff; padding: 10px;  font-weight: 700; transform: skew(-0.1deg);}
.stick ul.flex li:nth-child(2n) h6{background: #006a65;}


/* 미들 타이틀 (작은 타이틀) */
.middle-title {text-align: center; margin-bottom: 40px;} 
.middle-title p { font-weight: 400; white-space: pre-line; margin-top: 20px;} 
.middle-title.white h3{color: #fff;}
.middle-title.white p{color: #fff;}
.middle-title h4 {line-height: 1.4; transform: skew(-0.1deg); white-space: pre-line;} 
.middle-title h5 {white-space: pre-line;}
.middle-title h6 {white-space: pre-line; color: #093e52;}
.middle-title > span.num::before {transform: skew(-0.1deg); margin: 0 auto 20px; border-radius: 50%; background: #00a99e;} 
.middle-title .en-sub{color: #008d70;letter-spacing: 0.5px;margin-bottom: 10px;font-weight: 500;font-size: 2em;}

/* 둥그런 타이틀 */
.border-title {text-align: center; margin-bottom: 40px;} 
.border-title h5{display: inline-block;padding: 10px 50px;-webkit-border-radius: 30px;-moz-border-radius: 30px;border-radius:30px ;font-weight: 900;background: #f3f3f3;}


/* 테이블 스타일 */
.table-wrap {text-align: center;}
.table-wrap .middle-title h4 {display: inline-block; padding: 12px 20px 8px; background-color: #2c4a68; color: #fff;}
.table-wrap table {width: 100%; white-space: pre-line;}
.table-wrap table tr, .table-wrap table th, .table-wrap table td {font-size: 18px; padding: 15px 10px; border: 1px solid #eee; vertical-align: middle;}
.table-wrap table thead tr, .table-wrap table tbody tr th {background: #f5f5f5; font-weight: 600;}
.table-wrap .imp-icon img{max-width: 50px; margin-bottom: 10px;}


/* 사진 들어간 테이블 */
.photo-table table {text-align: center; width: 100%;}
.photo-table table tr, .photo-table table tr td {padding: 15px 10px; border: 1px solid #ccc; vertical-align: middle;color: #000;}
.photo-table table td {white-space: pre-line;}
.photo-table table thead tr:first-of-type td, .photo-table table thead tr {border: none;}
.photo-table table thead tr:first-of-type td {padding: 0;}
.photo-table table thead tr:last-of-type td {background: #0cb2fb; color: #fff; font-weight: 600; font-size: 20px;}
.photo-table table thead tr:first-of-type td:not(:first-child) {border: 1px solid #ccc; border-bottom: none;}
.photo-table table tbody{background: #fff;}

/* 숫자 리스트 */
.num-list .num {position: relative; margin-bottom: 30px; padding-left: 50px; text-align: left; /* display: flex; align-items: center; */}
.num-list .num:last-child {margin-bottom: 0;}
.num-list .num::before {position: absolute; display: flex; align-items: center; justify-content: center; left: 0; top: 0px; width: 35px; height: 35px; font-size: 20px;}
.num-list .num:nth-child(2n)::before {background-color: #00635e;}
.num-list.middle .num::before {top: 50%; transform: translateY(-50%);}


/* 이미지 테두리 리스트 */
.line-list img {border: 1px solid #ccc;}


/* 원형 이미지 테두리 리스트 */
.circle-list img {border-radius: 50%; border: 1px solid #ccc;}


/* 파란 선 들어간 네모 박스 */
.line-box li > div {position: relative; padding: 30px 20px 30px 30px; border: 1px solid #eee;}
.line-box li > div::after {content: ''; display: block; width: 10px; height: 100%; position: absolute; left: 0; top: 0; background-color: #2c4a68;}
.line-box h5 {margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid #eee; font-weight: 500;}
.line-box p {white-space: pre-line;}


/* 사진+텍스트 들어간 기본 스타일 */
.basic-box {display: flex; align-items: center; justify-content: flex-start; margin-top: 40px;}
.basic-box:first-of-type {margin-top: 0;}
.basic-box li:first-child {flex: 1;}
.basic-box li:last-child {margin-left: 30px; flex: 1;}
.basic-box li h5 {margin: 0 0 15px; font-weight: 600; white-space: pre-line; font-family: 'GmarketSansMedium'; transform: skew(-0.1deg);}
.basic-box li.num h5 {margin: 20px 0 15px;}
.basic-box li p {white-space: pre-line;}
.basic-box.line li h5 {position: relative; padding-bottom: 10px;}
.basic-box.line li h5::before {position: absolute; content: ''; left: 0; bottom: 0; width: 50px; height: 2px; background: #274c8d;}


/* 원 안에 아이콘 없는 박스 */
.circle-box > div > div {border-radius: 50%; background-color: #f5f5f5;}
.circle-box:nth-child(2n-1) > div > div {background-color: #ebf4f2;}
.circle-box > div > div::after {content: ''; display: block; padding-bottom: 100%;}
.circle-box p {position: absolute; width: 100%; height: auto; bottom: 50%; transform: translate(0, 50%); text-align: center; white-space: pre-line;}
.circle-box h5 {position: absolute; white-space: pre-line; text-align: center; bottom: 50%; transform:translateY(50%); display: inline-block; width: 100%;	}
/* .circle-box span{font-size: 24px; font-weight: bold;} */


/* 원 안에 아이콘 들어간 리스트 */
.circle-icon > li > div > div {border-radius: 50%; border: 2px solid #f5f5f5; width: 100%; height: 100%;}
.circle-icon > li:nth-child(2n-1) > div > div {border: 2px solid #d9dfee;}
.circle-icon > li > div > div::after {content: ''; display: block; padding-bottom: 100%;}
.circle-icon > li > div > div > div {position: absolute; display: flex; flex-direction: column; justify-content: center; align-items: center; top: 50%; transform: translate(-50%, -50%); left: 50%; height: 50%; width: 100%;}
.circle-icon p {margin-top: 15px; line-height: 1.4;}


/* 배경색 타이틀 */
.bg-tit {display: inline-block; padding: 6px 32px; margin: 0 auto 40px; border-radius: 40px; background: #00a99e; color: #fff; font-family: 'Noto Sans KR','Noto Sans KR'; font-weight: 700;}


/* 둥근 모서리를 가진 배경색 타이틀 */
.radius-tit {display: inline-block; padding: 8px 42px; margin: 0 auto; border-radius: 40px; background: linear-gradient(to right, #1f3d74, #4067aa); color: #fff;}


/* 자세히 보기 버튼 */
.detail-btn a {position: relative; display: inline-block; margin-top: 20px; padding: 12px 30px; border: 1px solid #333; font-size: 15px; font-weight: 700; transition: 0.4s ease-in-out;}
.detail-btn a::before {content: ""; position: absolute; top: 0; left: 0; width: 0; height: 100%; background-color: #327cbd; transition: 0.4s ease-in-out; z-index: -1;}
.detail-btn a:hover::before {width: 100%;}
.detail-btn a:hover {color: #fff; border: 1px solid #327cbd;}

/*================================================================ 1500px 이하 ================================================================= */
@media screen and (max-width:1500px) {

}

/*================================================================ 1200px 이하 ================================================================= */
@media screen and (max-width:1200px) {
/* #wrapper {margin-top: 69px;} */

}

/*================================================================ 1025px 이하 ================================================================= */
@media screen and (max-width:1025px) {

}

/*================================================================ 900px 이하 ================================================================= */
@media screen and (max-width:900px) {
.middle-title .en-sub{font-size: 1.1em;}


/* 테이블 스타일 */
.table-wrap .table-scroll {overflow-x: scroll; overflow-y: hidden; max-width: 100%;}
.table-scroll::-webkit-scrollbar {width: 12px;}
.table-scroll::-webkit-scrollbar-track {-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1); box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1); border-radius: 5px; background-color: rgba(220, 220, 220, 0.3);}
.table-scroll::-webkit-scrollbar-thumb {background-clip: padding-box; border-radius: 5px; background-color: #516371; border: 2px solid transparent;}
.table-wrap table {min-width: 900px;}
.table-wrap table tr, .table-wrap table th, .table-wrap table td {font-size: 15px;}
}

/*================================================================ 769px 이하 ================================================================= */
@media screen and (max-width:769px) {

.res-bg{padding: 80px 0 !important;}

/* 숫자 스타일 */
.num::before {margin: 10px auto 0;}
.num-list .num::before {margin: 0 10px 0 0;}


/* 사진 들어간 테이블 */
.photo-table table td {font-size: 15px;}
.photo-table table thead tr:last-of-type td {font-size: 18px;}


/* 사진+텍스트 들어간 기본 스타일 */
.basic-box {display: block; text-align: center;}
.basic-box:not(:first-of-type) {margin-top: 40px;}
.basic-box li:last-child {margin-left: 0; margin-top: 20px;}
.basic-box li h5 {margin: 20px 0 10px !important;}
.basic-box li img {border-radius: 20px; max-width: 500px; width: 100%;}
.basic-box.line li h5::before {left: 50%; transform: translateX(-50%);}


/* 파란 선 들어간 네모 박스 */
.line-box li::after {width: 8px;}
.line-box li > div {height: auto !important;}
}

/*================================================================ 600px 이하 ================================================================= */
@media screen and (max-width:600px) {

}

/*================================================================ 425px 이하 ================================================================= */
@media screen and (max-width:425px) {
.middle-title p { margin-top: 0;} 
.link {top: -60px;}
.res-bg{padding: 50px 0 !important;}
.stick .flex > li > div.m10{margin: 5px;}
.title-num{font-size: 20px; width: 45px; height: 45px;}


/* 숫자 스타일 */
.num::before {width: 40px; height: 40px; font-size: 17px; margin: 0 auto;}
.num-list .num {display: flex; align-items: center; margin-bottom: 0; padding-left: 40px;}
.num-list .num:not(:first-child) {margin-top: 20px;}
.num-list .num::before {width: 30px; height: 30px; margin: 0 auto; font-size: 16px;}


/* 미들 타이틀 (작은 타이틀) */
.middle-title{margin-bottom: 20px;}
.middle-title p{line-height: 1.7;}
.middle-title > span.num::before {margin: 0 auto 10px;}


/* 사진+텍스트 들어간 기본 스타일 */
.basic-box li img {border-radius: 10px; max-width: 70%;}
.basic-box li h5 {margin: 15px 0 10px !important; line-height: 1.4;}


/* 원 안에 아이콘 없는 박스 */
.circle-box > div {margin: 5px !important;}
.circle-box h5 {font-size: 15px;}


/* 파란 선 들어간 네모 박스 */
.line-box li::after {width: 5px;}
.line-box li > div {padding: 25px 20px 30px 25px;}
.line-box li h5 {padding-bottom: 5px; margin-bottom: 10px;}


/* 테이블 스타일 */
.table-wrap table {min-width: 700px;}
.table-wrap table tr, .table-wrap table th, .table-wrap table td {font-size: 12px;}
.table-wrap .imp-icon img{max-width: 30px; margin-bottom: 5px;}


/* 사진 들어간 테이블 */
.photo-table table td {font-size: 12px;}
.photo-table table tr, .photo-table table tr td {padding: 10px 5px;}
.photo-table table thead tr:last-of-type td {font-size: 15px;}


/* 배경색 타이틀 */
.bg-tit {padding: 3px 24px; margin: 0 auto 20px;}


/* 둥근 모서리를 가진 배경색 타이틀 */
.radius-tit {padding: 6px 32px;}
}


/*========================================================================================================================================= */
/*================================================================ common ================================================================= */
/*========================================================================================================================================= */

/* =================================================================================================================================== */
/* =========================================================== main-common =========================================================== */
/* =================================================================================================================================== */

main {overflow: hidden;}
.swiper-container{position: relative; width: 100%; margin: 0 auto;}
.swiper-button-prev, .swiper-button-next {margin: 0;}

.case-comparison {position: relative;}
.case-comparison .case {position: relative;}
.case-comparison .case-num {position: absolute; display: flex; align-items:center; top: 10px; left: 10px; width: 80px; height: 80px; border: 1px solid #fff; z-index: 1; background: rgba(0,0,0,0.6);}
.case-comparison .case-num p {width: 100%; color: #fff; text-align: center; white-space: pre-line; font-weight: 900;}
.case-comparison .case-img {text-align: center; border: 1px solid #727272;}
.case-comparison .case-img img {width: 100%;}
.case-comparison .case-exp {position: absolute; right: 20px; bottom: 20px;}
.case-comparison .case-exp p {color: #fff; font-weight: 700;}
.case-comparison .case-after {position: absolute; top: 0; left: 0; width: 100%; z-index: 0; opacity: 0;}
.case-comparison .case-after {-webkit-animation: fadeIn50 1s 0.3s forwards; animation: fadeIn50 1s 0.3s forwards;}
.case-comparison .case-after.move {-webkit-animation: none; animation: none;}

@-webkit-keyframes fadeIn50 {
    0% {opacity: 0;}
    to {opacity: 0.5;}
}
@keyframes fadeIn50 {
    0% {opacity: 0;}
    to {opacity: 0.5;}
}

.case-slider {padding: 20px 15px 0; display: flex; align-items: center; justify-content: space-between; width: 100%;}
.case-slider .txt {font-size: 18px; font-weight: 700; transform: skew(-0.1deg);}
.case-slider .prog-bar {width: 75%; display: flex; justify-content: center; position: relative;}
.case-slider .prog-bar:after {position: absolute; content: ""; top: 50%; left: 0; transform: translateY(-50%); width: 100%; height: 2px; background: #ededed; z-index: -1;}

.case-slider input[type=range] {-webkit-appearance: none; width: 100%; background: transparent;}
.case-slider input[type='range' i] {appearance: auto; cursor: default; color: -internal-light-dark(rgb(16, 16, 16), rgb(255, 255, 255)); padding: initial; border: initial; margin: 2px;}
.case-slider input[type='range'] {-webkit-appearance: none; width: 100%; background: transparent;}
.case-slider input[type='range']::-webkit-slider-thumb {-webkit-appearance: none; background: #fff; width: 44px; height: 44px; background: url("../img/main/range_arrow.png") center/cover no-repeat;}
.case-slider input[type='range']::-moz-range-thumb {background: #fff; width: 44px; height: 44px; background: url("../img/main/range_arrow.png") center/cover no-repeat;}
.case-slider input[type='range']:focus {outline: none;}
.case-slider input[type='range']::-ms-track {width: 100%; cursor: pointer; background: transparent; border-color: transparent; color: transparent;}

.case-caution ul {display: flex;}
.case-caution ul > li:first-child {margin-right: 5px;}
.case-caution ul > li:last-child {flex: 1;}

#gallery .swiper-container {width: 100%; margin: 0 auto;}
#gallery .swiper-slide-container {height: 100%; margin: 0 auto; display: flex; justify-content: center; align-items: center;}
#gallery .swiper-button-prev, #gallery .swiper-button-next {color: #fff; top: 50%; transform: translateY(-50%);}
.gallery-top {height: 80%; width: 100%;}
.gallery-thumbs {height: 20%; padding: 10px 0;}
.gallery-thumbs .swiper-slide {width: 20%; height: 100%; opacity: 0.4;}
.gallery-thumbs .swiper-slide-thumb-active {opacity: 1;}

/* 탭 메뉴 스타일 */
.dentist .tab-btn {display: flex; margin: 20px 0 40px;}
.dentist .tab-btn input {display: none;}
.dentist .tab-btn label {display: inline-block; padding: 15px 25px; text-align: center; border: 1px solid #ccc; color: #bbb; background-color: #fff;}
.dentist .tab-btn label:hover {color: #7fcef4; cursor: pointer; transition: all ease 0.3s;}
.dentist .tab-btn input:checked + label {color: #fff; background-color: #111; transition: all ease 0.3s;}

/* 탭 메뉴 내용 스타일 */
.dentist{padding-top: 100px;}
.dentist .tab-content {}
/* #tab-content2, #tab-content3, #tab-content4, #tab-content5 {display: none;} */
.dentist .tab-content > ul {display: flex; width: 100%;gap:50px;align-items: center;}
.dentist .tab-content > ul > li {width: 60%; position: relative;}
.dentist .tab-content > ul > li:first-child{width: 40%;text-align: center;}
.dentist .tab-content .tab-name {border-bottom: 2px dotted #ddd; margin-bottom: 20px; padding-bottom: 20px;}
.dentist .tab-content .tab-name > div {}
.dentist .tab-content .tab-name > div h3 { white-space: pre-line;font-weight: 700;}
.dentist .tab-content .tab-name > div span {padding: 0 5px; font-size: 0.5em; font-weight: 500; background: #0cb2fb; color: #fff;}
.dentist .tab-content .tab-name p {font-weight: 700;}
.dentist .tab-content .tab-name p.txt {margin-top: 20px; padding-top: 20px; font-weight: 400; white-space: pre-line; border-top: 2px dotted #ddd;}
.dentist .tab-content > ul > li:first-child img {max-width:500px; width: 100%;}
.dentist .tab-content .disc-box-wrap{display: flex;}
.dentist .tab-content .disc-list {list-style-type: disc; margin-left: 20px; width: 50%;}
.dentist .tab-content .disc-list li.none{list-style-type:none; margin-left: -20px;}
.dentist .tab-content .disc-list li {line-height: 1.8;  font-size: 20px;font-family: 'Noto Sans KR','Noto Sans KR'; font-weight: 500;}
.dentist .tab-name h6{display: flex;align-items: center;gap:10px;}



.case-slide-wrap {position: relative;}
.case-button-next,
.case-button-prev {top: 50%; transform: translateY(-50%); color: #727272; margin-top: 0;}
.case-button-next {right: -50px;}
.case-button-prev {left: -50px;}
.case-pagination {bottom: -40px !important;}
.case-pagination .swiper-pagination-bullet {width: 10px; height: 10px; background: #fff; opacity: 0.8; transition: all 0.5s ease-in-out; border: 1px solid #eee;}
.case-pagination .swiper-pagination-bullet-active { width: 25px; border-radius: 5px; background: #0cb2fb;}

.main-tit {position: relative; text-align: center; margin-bottom: 40px;}
.main-tit.white {color: #fff;}
.main-tit .sub-tit {margin-bottom: 5px; font-weight: 600;letter-spacing: 1px;}
.main-tit .tit {color: #000; font-family:'Noto Sans KR','Noto Sans KR'; font-weight: 800; transform: skew(-0.1deg);}
.main-tit.white .tit {color: #fff;}

/* ==================================================================================================================================== */
/* ============================================================ ysc 히어로 배너 (공통) ============================================================ */
/* ==================================================================================================================================== */

.ysc-hero-banner {
    position: relative;
    width: 100%;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.ysc-hero-banner__inner {
    position: relative;
    z-index: 1;
    text-align: center;
}
.ysc-hero-banner__en {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.25em;
    color: rgba(255,255,255,0.75);
    margin-bottom: 12px;
}
.ysc-hero-banner__title {
    font-size: 38px;
    font-weight: 800;
    color: #fff;
    transform: skew(-0.1deg);
}

/* ===================== 1024px ======================= */
@media screen and (max-width: 1024px) {
    .ysc-hero-banner { min-height: 180px; }
    .ysc-hero-banner__title { font-size: 32px; }
}

/* ===================== 769px ======================= */
@media screen and (max-width: 769px) {
    .ysc-hero-banner { min-height: 150px; }
    .ysc-hero-banner__title { font-size: 26px; }
    .ysc-hero-banner__en { font-size: 12px; }
}

/* ===================== 425px ======================= */
@media screen and (max-width: 425px) {
    .ysc-hero-banner { min-height: 120px; }
    .ysc-hero-banner__title { font-size: 22px; }
	.dentist .tab-name h6{padding: 10px 15px;background: #eee;}
}

/* ==================================================================================================================================== */
/* ============================================================ ysc 히어로 배너 (공통) ============================================================ */
/* ==================================================================================================================================== */

/* ===================== Mobile size : 1700px ======================= */

@media screen and (max-width: 1700px){
	.main_promise_left{padding-left: 20px;padding-top: 100px;	}
}

/* ===================== Mobile size : 1500px ======================= */

@media screen and (max-width: 1500px){

.dentist .tab-content .tab-name p {display: inline-block;}
.dentist .tab-btn {margin: 20px auto 40px; flex-direction: column; max-width: 350px;}
.dentist .tab-btn label {padding: 8px 15px;}
.dentist .tab-content .tab-name > div{display: block;}
.dentist .tab-content > ul > li:first-child img  {max-width:250px; width: 100%;}
.dentist .tab-content > ul {display: block; background: none;}
.dentist .tab-content > ul > li {width: 100%; text-align: center;}
.dentist .tab-content > ul > li:first-child{width: 100%;}
.dentist .tab-content > ul > li:last-child{width: 100% ;margin: 20px 0 0 0;}

.dentist .tab-content .disc-box{display: block;}
.dentist .tab-content .disc-list {display: flex; flex-direction: column; align-items: flex-start; width: 100%;max-width:500px; margin-bottom: 20px; text-align: left;}

}


/* ===================== Mobile size : 1200px ======================= */

@media screen and (max-width: 1200px){
#content{padding-top: 68.2px;}

.case-slide-wrap {margin: 120px auto 0; padding-bottom: 50px;}
.case-pagination {bottom: 0 !important;}

.case-button-next,
.case-button-prev {top: -75px; transform: none; transition: all 0.3s ease-in-out;}
.case-button-next {right: 20px;}
.case-button-prev {left: auto;right: 90px;}
.case-button-next::after,
.case-button-prev::after {font-size: 35px;}
.case-button-next::before,
.case-button-prev::before {position: absolute;	content: ""; width: 55px; height: 55px; border: 1px solid; left: 50%; top: 50%; transform: translate(-50%, -50%);}




}


/* ===================== Mobile size : 1024px ======================= */

@media screen and (max-width: 1024px){
.dentist{padding-top: 50px;}



}

/* ===================== Mobile size : 900px ======================= */

@media screen and (max-width: 900px){
.case-comparison .case-num {width: 60px; height: 60px;}
.case-comparison .case-num p {font-size: 14px; line-height: 1.3;}
}

/* ===================== Mobile size : 769px ======================= */

@media screen and (max-width: 769px){
.dentist .tab-content .disc-box-wrap{flex-direction: column;}

.case-comparison > li:last-child {margin-top: 40px;}
.case-button-next {right: 15px;}
.case-button-prev {right: 80px;}
.case-button-next::after,
.case-button-prev::after {font-size: 30px;}
.case-button-next::before,
.case-button-prev::before {width: 50px; height: 50px;}
}

/* ===================== Mobile size : 600px ======================= */

@media screen and (max-width: 600px) {
#gallery .swiper-button-prev:after,
#gallery .swiper-button-next:after {font-size: 30px;}

.dentist .tab-content .disc-list {margin-left: 20px;}

}

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

@media screen and (max-width: 425px){
#content{padding-top: 55.7px}
.case-slider {padding: 0 10px;}
.case-slider .txt {font-size: 14px;}
.case-slider .prog-bar {width: 70%;}
.case-comparison > li:last-child {margin-top: 20px;}

.dentist .tab-btn {margin: 10px auto 30px;}
.dentist .tab-content .tab-name > div h3 {font-size: 25px;}
.dentist .tab-content .tab-name p {font-size: 14px;}
.dentist .tab-content .disc-list {max-width: 260px;}
.dentist .tab-content .disc-box > p{background: #f3f3f3;padding: 10px;-webkit-border-radius: 13px;-moz-border-radius:13px;border-radius: 13px;}
.dentist .tab-content .disc-list li {font-size: 14px;}
.dentist .tab-content img {max-width: 250px;}


.case-slide-wrap {margin: 80px auto 0;}
.case-button-next,
.case-button-prev {top: -65px;}
.case-button-next {right: 10px;}
.case-button-prev {right: 60px;}
.case-button-next::after,
.case-button-prev::after {font-size: 20px;}
.case-button-next::before,
.case-button-prev::before {width: 40px; height: 40px;}

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


/* =================================================================================================================================== */
/* =========================================================== main-common =========================================================== */
/* =================================================================================================================================== */


/* ==================================================================================================================================== */
/* =========================================================== 메인 슬라이드 영역 =========================================================== */
/* ==================================================================================================================================== */
.main-video{vertical-align: top;margin-top: -120px;}
.main-slide .swiper-slide .img {width: 100%; height: calc(var(--vh, 1vh) * 100 - 55px);}
.main-slide .slide1 .zoom {background: url(../img/main/slide_01.png) center/cover no-repeat;}
.main-slide .slide2 .zoom {background: url(../img/main/slide_02.png) 20%/cover no-repeat;}
.main-slide .slide3 .zoom {background: url(../img/main/slide_03.png) 20%/cover no-repeat;}
.main-slide .slide4 .zoom {background: url(../img/main/slide_04.png) center/cover no-repeat;}
.main-slide .slide5 .zoom {background: url(../img/main/slide_05.png) center/cover no-repeat;}
.main-slide .slide6 .zoom {background: url(../img/main/slide_06.png) center/cover no-repeat;}
.main-slide .swiper-slide .txt {position: absolute; display: flex; align-items: center; justify-content: center; left: 0; top: 0; width: 100%; height: 100%; color: #fff;}
.main-slide .swiper-slide .txt article {position: relative; top: 40px; text-align: center; opacity: 0; transition: all 1s ease-in-out; filter: drop-shadow(1px 1px 5px rgba(0,0,0,0.5));}
.main-slide .swiper-slide-active .txt article {top: 0; opacity: 1;}
.main-slide .swiper-slide .txt .logo {margin-bottom: 50px;}
.main-slide .swiper-slide .txt .tit {font-family: "GmarketSansBold";}
.main-slide .swiper-slide .txt .sub {white-space: pre-line; letter-spacing: 0.05em;margin-bottom: 10px;}
.main-slide .swiper-scrollbar.main-slide-scroll {left: 50%; width: 75%; background: rgba(255,255,255,0.4); transform: translateX(-50%); bottom: 80px;}
.main-slide .swiper-scrollbar.main-slide-scroll .swiper-scrollbar-drag {background: #fff;}

/* slide3 이미지 절대 위치 */
.swiper-slide .slide3-img {position: absolute;bottom: 10%;width: 600px;z-index: 10;left: 50%;margin-left: -300px;}
.swiper-slide .slide4-img {position: absolute;bottom: 10%;width: 400px;z-index: 10;left: 50%;margin-left: -200px;}

.swiper-slide .slide3-img img {
  width: 100%;
  height: auto;
}

.swiper-slide .slide3-img {

  /* 애니메이션 초기 상태 (밑에서 + 투명) */
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease-in-out;
  /* 살짝 늦게 나오게 하고 싶으면 ↓ 이거 주면 됨 */
  /* transition-delay: .15s; */
}

/* 슬라이드가 활성화 되었을 때 */
.swiper-slide.swiper-slide-active .slide3-img {
  opacity: 1;
  transform: translateY(0);
}

/* =================== 더블보드 설명 박스 =================== */
.doubleboard-box {
  margin: 40px auto 0;
  padding: 22px 40px;
  max-width: 520px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 4px;
  text-align: center;
  box-sizing: border-box;
}

.doubleboard-box strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.doubleboard-box span {
  display: block;
  font-size: 18px;
  font-weight: 400;
}


/*================================================================ 1500px 이하 ================================================================= */
@media screen and (max-width:1500px) {

}

/*================================================================ 1200px 이하 ================================================================= */
@media screen and (max-width:1200px) {
/* #wrapper {margin-top: 69px;} */
.main-video{vertical-align: top;margin-top: 0;}

.main-slide .swiper-slide .img {height: 550px;}
.main-slide .swiper-slide .txt article {padding: 0 20px;}
.main-slide .swiper-slide .txt {height: 75%;}
.main-slide .slide1 .txt {height: 100%;}

  .doubleboard-box {
    margin-top: 30px;
    padding: 18px 24px;
    max-width: 420px;
  }

  .doubleboard-box strong {
    font-size: 20px;
    margin-bottom: 6px;
  }

  .doubleboard-box span {
    font-size: 16px;
  }
}

/*================================================================ 1025px 이하 ================================================================= */
@media screen and (max-width:1025px) {

}
/* ===================== Mobile size : 901px~ ======================= */

@media screen and (min-width:901px){
.main-slide .swiper-button-next {color: #fff; font-size: 65px; right: 130px; width: 50px; height: 100px;  background: rgba(255,255,255,0.1);}
.main-slide .swiper-button-prev {color: #fff; font-size: 65px; left: 130px; width: 50px; height: 100px; background: rgba(255,255,255,0.1);}

}

/* ===================== Mobile size : 900px ======================= */

@media screen and (max-width:900px){
.main-slide .swiper-button-next {color: #fff; }
.main-slide .swiper-button-prev {color: #fff; }

  .doubleboard-box {
    margin-top: 24px;
    padding: 16px 18px;
    max-width: 90%;
  }

  .doubleboard-box strong {
    font-size: 18px;
  }

  .doubleboard-box span {
    font-size: 14px;
    line-height: 1.5;
  }
   .slide3 .slide3-img{
    bottom: 20%;
    width: 250px;
    z-index: 10;
    left: 50%;
    margin-left: -125px;
	}

	.swiper-slide .slide4-img {
	bottom: 15%;
	width: 250px;
	z-index: 10;
	left: 50%;
	margin-left: -125px;

}

.main-slide .slide1 .zoom {background: url(../img/main/slide_01.png) center/cover no-repeat;}
.main-slide .slide2 .zoom {background: url(../img/main/slide_02.png) center/cover no-repeat;}
.main-slide .slide3 .zoom {background: url(../img/main/slide_03.png) right/cover no-repeat;}
.main-slide .slide4 .zoom {background: url(../img/main/slide_04.png) 70%/cover no-repeat;}
.main-slide .slide5 .zoom {background: url(../img/main/slide_05.png) center/cover no-repeat;}
.main-slide .slide6 .zoom {background: url(../img/main/slide_06.png) right/cover no-repeat;}

}


/* ==================================================================================================================================== */
/* =========================================================== 메인 슬라이드 영역 =========================================================== */
/* ==================================================================================================================================== */


/* ==================================================================================================================================== */
/* ============================================================ area1 스타일 ============================================================ */
/* ==================================================================================================================================== */


.ysc-about-section{background: #fff;}

/* 2단 그리드 */
.ysc-about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    gap: 60px;
    align-items: start;
}

/* 좌: 사진 2장 */
.ysc-about-imgs {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ysc-about-img {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.ysc-about-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* 우: 텍스트 */
.ysc-about-copy p {
    font-size: 16px;
    color: #333;
    line-height: 1.95;
    white-space: pre-line;
    margin-bottom: 24px;
}
.ysc-about-copy p:last-of-type { margin-bottom: 0; }
.ysc-about-copy p b {
    font-weight: 900 !important;
    color: #111;
}

/* 서명 */
.ysc-about-sign {
    margin-top: 32px !important;
    font-size: 17px !important;
    color: #555;
}
.ysc-about-sign b {
    font-size: 22px !important;	
	font-family: 'InkLipquid','Nanum Pen Script', cursive;
    font-weight: 900 !important;
    color: #111;
    margin-left: 4px;
}

/* ===================== 1200px ======================= */
@media screen and (max-width: 1200px) {
    .ysc-about-grid { gap: 40px; }
	.main-slide .slide1 .zoom {background: url(../img/main/m_slide_01.png) center/cover no-repeat;}
}

/* ===================== 1024px ======================= */
@media screen and (max-width: 1024px) {
    .ysc-about-copy p { font-size: 15px; }
}

/* ===================== 769px ======================= */
@media screen and (max-width: 769px) {
    .ysc-about-section .middle-title { text-align: center; }
    .ysc-about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .ysc-about-img { border-radius: 8px; }
}

/* ===================== 425px ======================= */
@media screen and (max-width: 425px) {
    .ysc-about-section .middle-title h3 { font-size: 24px; }
    .ysc-about-copy p { font-size: 14px; line-height: 1.85; }
    .ysc-about-sign { font-size: 15px !important; }
    .ysc-about-sign b { font-size: 20px !important; }
}


/* ==================================================================================================================================== */
/* ============================================================ area1 스타일 ============================================================ */
/* ==================================================================================================================================== */


/* ==================================================================================================================================== */
/* ============================================================ area2 스타일 ============================================================ */
/* ==================================================================================================================================== */



/* ===================== Mobile size : 1500px ======================= */

@media screen and (max-width: 1500px){

}


/* ===================== Mobile size : 1200px ======================= */

@media screen and (max-width: 1200px){
}


/* ===================== Mobile size : 1024px ======================= */

@media screen and (max-width: 1024px){
}

/* ===================== Mobile size : 900px ======================= */

@media screen and (max-width: 900px){


}

/* ==================================================================================================================================== */
/* ============================================================ area2 스타일 ============================================================ */
/* ==================================================================================================================================== */


/* ==================================================================================================================================== */
/* ============================================================ area3 스타일 ============================================================ */
/* ==================================================================================================================================== */

.area3-bg {background: url(../img/main/area3_01.png) no-repeat center/cover;}
.area3{color: #fff;}
.area3 .naver-img {max-width: 500px; margin: 40px auto 0;}
.naver-adv-list {display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 60px 0 30px;}
.naver-adv-list li {width: calc(25% - 10px);background: #111; padding: 20px; border-radius: 13px; border: 3px solid #aaa;color: #fff; text-align: center; font-weight: 600; min-width: 120px;}
.naver-adv-list li span {font-size: 16px; font-weight: 400;}
.naver-compare {padding: 10px;display: flex; justify-content: center; gap: 10px;margin-top: 30px;}
.naver-compare .box {text-align: center;}
.naver-compare .box img {width: 100%; max-width: 400px;}
.naver-compare .gray {background: #555; color: #fff; padding: 10px; font-weight: 500;}
.naver-compare .blue {background: #789dbb; color: #fff; padding: 10px; font-weight: 500;}

.center-label{color: #000;}

/* ===================== Mobile size : 1500px ======================= */

@media screen and (max-width: 1500px) {

}


/* ===================== Mobile size : 1200px ======================= */

@media screen and (max-width: 1200px) {

}


/* ===================== Mobile size : 1024px ======================= */

@media screen and (max-width: 1024px) {

}

/* ===================== Mobile size : 900px ======================= */

@media screen and (max-width: 900px) {

}

/* ===================== Mobile size : 769px ======================= */

@media screen and (max-width: 769px) {
  .naver-adv-list li {min-width: 45%; padding: 15px;}
  .naver-compare .box img {max-width: 100%;}
  .area3-bg {padding: 60px 0 40px;}
}

/* ===================== Mobile size : 600px ======================= */

@media screen and (max-width: 600px) {
.center-label{width: 90%;background: #000;color: #fff;margin: auto;padding: 10px;}
}

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

@media screen and (max-width: 425px) {


}


/* ==================================================================================================================================== */
/* ============================================================ area3 스타일 ============================================================ */
/* ==================================================================================================================================== */

.ysc-special01-section { padding-top: 0; background: #fff; }

/* 히어로 */
.ysc-special01-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 70px;
}
.ysc-special01-bg {
    background: url(../img/main/bg1.png) right no-repeat;
}

/* inner 기준 텍스트 영역 */
.ysc-special01-hero__copy {
    padding: 80px 0 0;
    text-align: center;
}

/* 뱃지 */
.ysc-special01-badge {
    display: inline-block;
    padding: 8px 20px;
	font-size: 40px;
    color: #000;
    transform: skew(-0.1deg);
	font-family: 'InkLipquid','Nanum Pen Script', cursive;
	letter-spacing: 0;
}

/* 제목 */
.ysc-special01-title {
    color: #111;
    margin-bottom: 20px;
    line-height: 1.4;
    transform: skew(-0.1deg);
}

/* 설명 */
.ysc-special01-desc {
    color: #444;
    margin-bottom: 20px;
}



/* 정말 그럴까요 */
.ysc-special01-question {
    font-weight: 800;
    color: #111;
    margin-bottom: 16px;
    transform: skew(-0.1deg);
}

/* 연세센텀치과는 다음 기준 */
.ysc-special01-answer {
    display: block;
	margin-top: 30px;
   
}
.ysc-special01-answer h5 {
	display: inline-block;
	 padding: 12px 24px;
	background: linear-gradient(to top, #031d27 0%, #004661 100%);
    color: #fff;
}

/* 원형 기준 리스트 */
.ysc-criteria-list {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
}
.ysc-criteria-list li {
    width: calc(20% - 24px);
    min-width: 140px;
}
.ysc-criteria-circle {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: 2px solid #093e52;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    transition: all 0.3s ease;
}
.ysc-criteria-circle:hover {
    background: #093e52;
}
.ysc-criteria-circle:hover .num,
.ysc-criteria-circle:hover h5 { color: #fff; }
.ysc-criteria-circle .num {
    font-size: 20px;
    font-weight: 900;
    color: #aaa;
    line-height: 1;
}


/* 하단 문구 */
.ysc-criteria-bottom {
    text-align: center;
    font-size: 25px;
    font-weight: 500;
    color: #333;
    padding: 30px 0 10px;
}
.ysc-criteria-bottom b {
    font-weight: 900 !important;
    color: #093e52;
}

/* ===================== 1200px ======================= */
@media screen and (max-width: 1200px) {
    .ysc-special01-hero__copy { width: 65%; }
}

/* ===================== 1024px ======================= */
@media screen and (max-width: 1024px) {
    .ysc-special01-hero { min-height: auto; }
    .ysc-special01-hero__copy {
        width: 100%;
        padding: 50px 0 0;
        background: rgba(255,255,255,0.92);
		margin: 20px 0;
    }
    .ysc-criteria-list li { min-width: 120px; }
    .ysc-criteria-circle p { font-size: 16px; }
}

/* ===================== 769px ======================= */
@media screen and (max-width: 769px) {
    .ysc-special01-hero { margin-bottom: 40px; }
    .ysc-criteria-list { gap: 14px; }
    .ysc-criteria-list li { width: calc(33% - 14px); min-width: 100px; }
    .ysc-criteria-bottom { font-size: 18px; }
	 .ysc-special01-badge { font-size: 25px; padding: 6px 14px; }
}

/* ===================== 425px ======================= */
@media screen and (max-width: 425px) {
   
   
    .ysc-criteria-list li { width: calc(33.3% - 14px); }
    .ysc-criteria-circle p { font-size: 15px; }
    .ysc-criteria-bottom { font-size: 16px; }
}


/* ==================================================================================================================================== */
/* ============================================================ area3 스타일 ============================================================ */
/* ==================================================================================================================================== */

/* ==================================================================================================================================== */
/* ============================================================ 특별함01 서브배너 ============================================================ */
/* ==================================================================================================================================== */

.ysc-special01-banner {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    background: url(../img/main/bg2.png) center/cover no-repeat;
    overflow: hidden;
}

/* 텍스트 */
.ysc-special01-banner__copy {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 80px 20px;
}
.ysc-special01-banner__en {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: #888;
    margin-bottom: 20px;
}
.ysc-special01-banner__title {
    font-size: 36px;
    font-weight: 500;
    color: #111;
    line-height: 1.5;
    white-space: pre-line;
    margin-bottom: 24px;
    transform: skew(-0.1deg);
}
.ysc-special01-banner__title b {
    font-weight: 900 !important;
    color: #0f3460;
}
.ysc-special01-banner__desc {
    color: #333;
    white-space: pre-line;
    line-height: 1.9;
}
.ysc-special01-banner__desc b {
    font-weight: 900 !important;
    color: #111;
}

/* ===================== 1200px ======================= */
@media screen and (max-width: 1200px) {
    .ysc-special01-banner__title { font-size: 30px; }
}

/* ===================== 1024px ======================= */
@media screen and (max-width: 1024px) {
	.ysc-special01-banner { background: url(../img/main/m_bg2.png) 70%/cover no-repeat;}
    .ysc-special01-banner { min-height: 380px; }
    .ysc-special01-banner__title { font-size: 26px; }
    .ysc-special01-banner::before {
        background: linear-gradient(to right, rgba(240,240,240,0.95) 55%, rgba(240,240,240,0) 85%);
    }
}

/* ===================== 769px ======================= */
@media screen and (max-width: 769px) {
    .ysc-special01-banner { min-height: auto; }
    .ysc-special01-banner::before {
        background: rgba(240,240,240,0.88);
    }
    .ysc-special01-banner__copy { padding: 50px 20px; }
    .ysc-special01-banner__title { font-size: 24px; }
    .ysc-special01-banner__desc { font-size: 15px; }
}

/* ===================== 425px ======================= */
@media screen and (max-width: 425px) {
    .ysc-special01-banner__title { font-size: 20px; }
    .ysc-special01-banner__en { font-size: 12px; }
    .ysc-special01-banner__desc { font-size: 14px; }
}

/* ==================================================================================================================================== */
/* ============================================================ 특별함01 서브배너 ============================================================ */
/* ==================================================================================================================================== */
/* ==================================================================================================================================== */
/* ============================================================ 자연치아살리기 주요 치료 종류 ============================================================ */
/* ==================================================================================================================================== */

.ysc-treat-type-section { background: #fff; }

/* 타이틀 */
.ysc-treat-type-title {
    text-align: center;
    margin-bottom: 20px;
}
.ysc-treat-type-title h5 {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(to top, #031d27 0%, #004661 100%);
    color: #fff;
}

/* 카드 리스트 */
.ysc-treat-type-list {
    display: flex;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.ysc-treat-type-list li {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* 이미지 */
.ysc-treat-type-img {
    background: #eef0f4;
}
.ysc-treat-type-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}
.ysc-treat-type-list li:hover .ysc-treat-type-img img {
    transform: scale(1.04);
}

/* 캡션 */
.ysc-treat-type-cap {
    background: linear-gradient(to top, #031d27 0%, #004661 100%);
    padding: 16px 10px;
    text-align: center;
}
.ysc-treat-type-cap p {
    font-weight: 700;
    color: #fff;
    transform: skew(-0.1deg);
}

/* ===================== 1200px ======================= */
@media screen and (max-width: 1200px) {
    .ysc-treat-type-title h5 { font-size: 22px; padding: 12px 30px; }
    .ysc-treat-type-cap p { font-size: 18px;line-height: 1.1; }
}

/* ===================== 1024px ======================= */
@media screen and (max-width: 1024px) {
    .ysc-treat-type-list { gap: 8px; }
    .ysc-treat-type-cap p { font-size: 15px; }
    .ysc-treat-type-cap { padding: 12px 8px; }
}

/* ===================== 769px ======================= */
@media screen and (max-width: 769px) {
    .ysc-treat-type-title h5 { font-size: 18px; padding: 10px 20px; }
    .ysc-treat-type-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .ysc-treat-type-list li:nth-child(4),
    .ysc-treat-type-list li:nth-child(5) {
        grid-column: span 1;
    }
}

/* ===================== 425px ======================= */
@media screen and (max-width: 425px) {
    .ysc-treat-type-list { grid-template-columns: repeat(2, 1fr); }
    .ysc-treat-type-list li:nth-child(5) { grid-column: span 2; max-width: 50%; margin: 0 auto; width: 100%; }
    .ysc-treat-type-title h5 { font-size: 16px; padding: 10px 16px; }
    .ysc-treat-type-cap p { font-size: 14px; }
    .ysc-treat-type-cap { padding: 10px 6px; }
}

/* ==================================================================================================================================== */
/* ============================================================ 자연치아살리기 주요 치료 종류 ============================================================ */
/* ==================================================================================================================================== */

/* ==================================================================================================================================== */
/* ============================================================ 발치는 마지막 선택 섹션 ============================================================ */
/* ==================================================================================================================================== */

.ysc-last-section { background: #fff; }

/* 상단 배너 */
.ysc-last-banner {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: rgba(0,0,0,0.5) url(../img/main/bg3.png) top right/cover no-repeat;
}

.ysc-last-banner__copy {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 70px 20px;
}
.ysc-last-banner__en {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.65);
    margin-bottom: 16px;
}
.ysc-last-banner__title {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    transform: skew(-0.1deg);
}
.ysc-last-banner__desc {
    color: rgba(255,255,255,0.88);
    white-space: pre-line;
    line-height: 1.9;
}
.ysc-last-banner__desc b {
    font-weight: 900 !important;
    color: #fff;
}

/* Before / After 케이스 */
.ysc-last-cases {
    padding: 70px 20px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* 케이스 행 */
.ysc-case-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* 케이스 아이템 */
.ysc-case-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.ysc-case-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* BEFORE / AFTER 라벨 */
.ysc-case-label {
    text-align: center;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.15em;
}
.ysc-case-label.before {
    color: #aaa;
    background: #eee;
}
.ysc-case-label.after {
    color: #fff;
    background: #093e52;
    font-weight: 900;
}

/* ===================== 1200px ======================= */
@media screen and (max-width: 1200px) {
    .ysc-last-banner__title { font-size: 30px; }
}

/* ===================== 1024px ======================= */
@media screen and (max-width: 1024px) {
    .ysc-last-banner { min-height: 260px; background-blend-mode: color-burn;}

    .ysc-last-banner__title { font-size: 26px; }
    .ysc-last-banner__desc { font-size: 15px; }
}

/* ===================== 769px ======================= */
@media screen and (max-width: 769px) {
    .ysc-last-banner__title { font-size: 24px; }
    .ysc-last-cases { padding: 40px 20px; gap: 30px; }
    .ysc-case-row { gap: 10px; }
}

/* ===================== 425px ======================= */
@media screen and (max-width: 425px) {
    .ysc-last-banner { min-height: auto; }
    .ysc-last-banner__copy { padding: 50px 20px; }
    .ysc-last-banner__title { font-size: 22px; }
    .ysc-last-banner__en { font-size: 11px; }
    .ysc-case-label { font-size: 14px; padding: 10px 0; }
}

/* ==================================================================================================================================== */
/* ============================================================ 발치는 마지막 선택 섹션 ============================================================ */
/* ==================================================================================================================================== */

/* ==================================================================================================================================== */
/* ============================================================ 특별함02 디지털 장비 ============================================================ */
/* ==================================================================================================================================== */

.ysc-special02-section { position: relative; }
.ysc-special02-bg { background: url(../img/main/bg4.png) center/cover no-repeat; }
.ysc-special02-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(3, 29, 39, 0.82);
    z-index: 0;
}
.ysc-special02-section .inner { position: relative; z-index: 1; }

/* 타이틀 */
.ysc-special02-section .middle-title h3 {
    white-space: pre-line;
    margin-bottom: 24px;
	color: #fff;
}
.ysc-special02-section .middle-title h3 b { display: block; }

/* 인용 */
.ysc-special02-quote {
    position: relative;
    display: inline-block;
    padding: 0 40px;
    margin-top: 10px;
}
.ysc-special02-quote::before {
    content: '\201C';
    position: absolute;
    left: 0;
    top: 10px;
    font-size: 60px;
    color: rgba(255,255,255,0.3);
    line-height: 1;
    font-family: 'Playfair Display', serif;
}
.ysc-special02-quote::after {
    content: '\201D';
    position: absolute;
    right: 0;
    bottom: -20px;
    font-size: 60px;
    color: rgba(255,255,255,0.3);
    line-height: 1;
    font-family: 'Playfair Display', serif;
}
.ysc-special02-quote p {
    color: rgba(255,255,255,0.85);
    white-space: pre-line;
    line-height: 1.9;
}
.ysc-special02-quote p b {
    font-weight: 900 !important;
    color: #fff;
}

/* 장비 그리드 */
.ysc-eq-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 50px 0 0;
}
.ysc-eq-grid li {
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}
.ysc-eq-grid li:hover { transform: translateY(-4px); }

/* 이미지 */
.ysc-eq-img {
    background: #fff;
    padding: 20px;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.ysc-eq-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease;
}
.ysc-eq-grid li:hover .ysc-eq-img img { transform: scale(1.05); }

/* 캡션 */
.ysc-eq-cap {
    padding: 12px 14px 14px;
    background: #64c7e1;
    text-align: center;
}
.ysc-eq-cap h6 {
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    transform: skew(-0.1deg);
}
.ysc-eq-cap p {
    color: rgba(255,255,255,0.75);
    white-space: pre-line;
    line-height: 1.5;
}

/* ===================== 1200px ======================= */
@media screen and (max-width: 1200px) {
    .ysc-eq-grid { gap: 12px; }
}

/* ===================== 1024px ======================= */
@media screen and (max-width: 1024px) {
    .ysc-eq-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
}

/* ===================== 769px ======================= */
@media screen and (max-width: 769px) {
    .ysc-eq-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .ysc-special02-quote { padding: 0 20px; }
}

/* ===================== 425px ======================= */
@media screen and (max-width: 425px) {
    .ysc-eq-grid { gap: 8px; }
    .ysc-eq-cap h6 { font-size: 18px; }
    .ysc-eq-cap p { font-size: 13.5px; }
    .ysc-eq-img { padding: 14px; }
}

/* ==================================================================================================================================== */
/* ============================================================ 특별함02 디지털 장비 ============================================================ */
/* ==================================================================================================================================== */
/* ==================================================================================================================================== */
/* ============================================================ 특별함03 통증 완화 마취시스템 ============================================================ */
/* ==================================================================================================================================== */

.ysc-special03-section { background: url(../img/main/bg5.png) left/cover no-repeat; }
/* 인용 */
.ysc-special03-quote {
    position: relative;
    display: inline-block;
    padding: 0 36px;
    margin-top: 16px;
}
.ysc-special03-quote::before {
    content: '\201C';
    position: absolute;
    left: -10px;
    top: 60%;
    font-size: 55px;
	line-height: 0.1 !important;
    color: #cce8f0;
    line-height: 1;
    font-family: 'Playfair Display', serif;
}
.ysc-special03-quote::after {
    content: '\201D';
    position: absolute;
    right: -10px;
    top: 60%;
    font-size: 55px;
	line-height: 0.1 !important;
    color: #cce8f0;
    line-height: 1;
    font-family: 'Playfair Display', serif;
}
.ysc-special03-quote p {
    white-space: pre-line;
    line-height: 1.9;
}

/* 콘텐츠 이미지 */
.ysc-special03-img {
    margin-top: 50px;
    text-align: center;
}
.ysc-special03-img img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    display: inline-block;
}

/* ===================== 769px ======================= */
@media screen and (max-width: 769px) {
    .ysc-special03-img { margin-top: 30px; }
    .ysc-special03-quote { padding: 0 24px; }
	.ysc-special03-quote::before {top: 50%;}
	.ysc-special03-quote::after {top: 50%;}
}

/* ===================== 425px ======================= */
@media screen and (max-width: 425px) {
    .ysc-special03-quote { padding: 0 18px; }
    .ysc-special03-img { margin-top: 20px; }
}

/* ==================================================================================================================================== */
/* ============================================================ 특별함03 통증 완화 마취시스템 ============================================================ */
/* ==================================================================================================================================== */
/* ==================================================================================================================================== */
/* ============================================================ 특별함04 멸균 소독 시스템 ============================================================ */
/* ==================================================================================================================================== */

.ysc-special04-section { background: url(../img/main/bg6.png) center/cover no-repeat; }

/* 그리드 */
.ysc-sterilize-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 50px 0 0;
}
.ysc-sterilize-grid li {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.07);
    transition: transform 0.3s ease;
}
.ysc-sterilize-grid li:hover { transform: translateY(-4px); }

/* 이미지 */
.ysc-sterilize-img {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.ysc-sterilize-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.ysc-sterilize-grid li:hover .ysc-sterilize-img img { transform: scale(1.05); }

/* 번호 뱃지 */
.ysc-sterilize-num {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #093e52 0%, #004661 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* 텍스트 */
.ysc-sterilize-txt {
    padding: 12px 12px 14px;
	text-align: center;
}
.ysc-sterilize-txt h6 {
	font-size: 22px;
    color: #093e52;
    margin-bottom: 6px;
    transform: skew(-0.1deg);
}
.ysc-sterilize-txt p {
    color: #666;
    white-space: pre-line;
    line-height: 1.7;
}

/* ===================== 1200px ======================= */
@media screen and (max-width: 1200px) {
    .ysc-sterilize-grid { gap: 12px; }
}

/* ===================== 1024px ======================= */
@media screen and (max-width: 1024px) {
    .ysc-sterilize-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
}

/* ===================== 769px ======================= */
@media screen and (max-width: 769px) {
    .ysc-sterilize-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .ysc-sterilize-txt { padding: 10px; }
}

/* ===================== 425px ======================= */
@media screen and (max-width: 425px) {
    .ysc-sterilize-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .ysc-sterilize-txt h6 { font-size: 14px; }
    .ysc-sterilize-txt p { font-size: 12px; }
    .ysc-sterilize-num { width: 22px; height: 22px; font-size: 10px; }
}

/* ==================================================================================================================================== */
/* ============================================================ 특별함04 멸균 소독 시스템 ============================================================ */
/* ==================================================================================================================================== */

/* ==================================================================================================================================== */
/* ============================================================ 특별함05 신뢰는 결과로 증명됩니다 ============================================================ */
/* ==================================================================================================================================== */

.ysc-special05-section {
    position: relative;
    padding: 120px 0;
}
.ysc-special05-bg {
    background: url(../img/main/bg7.png) center/cover no-repeat;
}

.ysc-special05-section .inner {
    position: relative;
    z-index: 1;
}

.laurel-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6em;
}

.laurel {
    display: none; /* 기본은 숨김 */
    width: 32px;
    height: auto;
    flex-shrink: 0;
}

.laurel--right {
    transform: scaleX(-1);
}

/* 425px 이하 모바일에서만 노출 */
@media (max-width: 425px) {
    .laurel {
        display: block;
    }
}

/* 인용 */
.ysc-special05-quote {
    position: relative;
    display: inline-block;
    padding: 0 36px;
    margin-top: 16px;
}
.ysc-special05-quote::before {
    content: '\201C';
    position: absolute;
    left: 0;
    top: 10px;
    font-size: 55px;
    color: rgba(0,0,0,0.25);
    line-height: 1;
    font-family: 'Playfair Display', serif;
}
.ysc-special05-quote::after {
    content: '\201D';
    position: absolute;
    right: 0;
    bottom: -16px;
    font-size: 55px;
    color: rgba(0,0,0,0.25);
    line-height: 1;
    font-family: 'Playfair Display', serif;
}


/* 하단 3단 그리드 */
.ysc-special05-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 20px;
    margin-top: 50px;
    align-items: stretch;
}

/* 상장 */
.ysc-special05-award {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.ysc-special05-award img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 우측 텍스트 박스 */
.ysc-special05-copy {
    background: linear-gradient(to top, #031d27 0%, #004661 100%);
    border-radius: 10px;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}
.ysc-special05-copy p {
    color: rgba(255,255,255,0.88);
    white-space: pre-line;
    line-height: 2;
    text-align: center;
}
.ysc-special05-copy p b {
    font-weight: 900 !important;
    color: #64c7e1;
}

/* ===================== 1200px ======================= */
@media screen and (max-width: 1200px) {
    .ysc-special05-copy { padding: 40px 28px; }
}

/* ===================== 1024px ======================= */
@media screen and (max-width: 1024px) {
    .ysc-special05-grid { grid-template-columns: 1fr; gap: 16px; }
    .ysc-special05-copy { grid-column: span 1; padding: 40px; }
    .ysc-special05-section { padding: 80px 0; }
}

/* ===================== 769px ======================= */
@media screen and (max-width: 769px) {
    .ysc-special05-grid { grid-template-columns: 1fr; gap: 12px; }
    .ysc-special05-copy { grid-column: span 1; padding: 30px 20px; gap: 20px; }
    .ysc-special05-quote { padding: 0 20px; }
    .ysc-special05-section { padding: 60px 0; }
}

/* ===================== 425px ======================= */
@media screen and (max-width: 425px) {
    .ysc-special05-grid { grid-template-columns: 1fr; }
    .ysc-special05-copy { grid-column: span 1; padding: 24px 16px; }
    .ysc-special05-copy p { font-size: 15px; }
    .ysc-special05-section { padding: 50px 0; }
}

/* ==================================================================================================================================== */
/* ============================================================ 특별함05 신뢰는 결과로 증명됩니다 ============================================================ */
/* ==================================================================================================================================== */

/* ==================================================================================================================================== */
/* ============================================================ 특별함06 원데이 치료 ============================================================ */
/* ==================================================================================================================================== */


.ysc-special06-section { background: url(../img/main/bg8.png) center/cover no-repeat;}

/* 3단 그리드 */
.ysc-oneday-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 50px 0 0;
}
.ysc-oneday-grid li {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}
.ysc-oneday-grid li:hover { transform: translateY(-4px); }

/* 이미지 */
.ysc-oneday-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.ysc-oneday-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.ysc-oneday-grid li:hover .ysc-oneday-img img { transform: scale(1.04); }

/* 텍스트 */
.ysc-oneday-copy {
    padding: 28px 24px 32px;
    background: linear-gradient(to top, #031d27 0%, #004661 100%);
    text-align: center;
}
.ysc-oneday-copy h6 {
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    transform: skew(-0.1deg);
    line-height: 1.4;
}
.ysc-oneday-copy p {
    color: rgba(255,255,255,0.78);
    white-space: pre-line;
    line-height: 1.85;
}

/* ===================== 1200px ======================= */
@media screen and (max-width: 1200px) {
    .ysc-oneday-grid { gap: 16px; }
}

/* ===================== 1024px ======================= */
@media screen and (max-width: 1024px) {
    .ysc-oneday-copy { padding: 22px 18px 26px; }
}

/* ===================== 769px ======================= */
@media screen and (max-width: 769px) {
    .ysc-oneday-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 30px auto 0;
    }
}

/* ===================== 425px ======================= */
@media screen and (max-width: 425px) {
    .ysc-oneday-copy h5 { font-size: 17px; }
    .ysc-oneday-copy p { font-size: 14px; }
    .ysc-oneday-copy { padding: 18px 14px 22px; }
}

/* ==================================================================================================================================== */
/* ============================================================ 특별함06 원데이 치료 ============================================================ */
/* ==================================================================================================================================== */

/* ==================================================================================================================================== */
/* ============================================================ 원데이 치료 상세 ============================================================ */
/* ==================================================================================================================================== */

.ysc-oneday-detail-section { background: #fff; }

/* 비교 블록 */
.ysc-compare-block { margin-bottom: 30px; text-align: center;}
.ysc-compare-block:last-of-type { margin-bottom: 50px; }

/* 라벨 */
.ysc-compare-label {
    display: inline-block;
    padding: 10px 30px;
    margin-bottom: 14px;
}
.ysc-compare-label h5 {
    font-weight: 700;
    transform: skew(-0.1deg);
}
.ysc-compare-label.gray {
    background: #888;
}
.ysc-compare-label.gray h5 { color: #fff; }
.ysc-compare-label.blue {
    background: linear-gradient(to top, #031d27 0%, #004661 100%);
}
.ysc-compare-label.blue h5 { color: #fff; }

/* 비교 이미지 */
.ysc-compare-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* 아침 점심 저녁 */
.ysc-timeflow-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.ysc-timeflow-list li {
    position: relative;
    text-align: center;
}

/* 뱃지 */
.ysc-timeflow-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
	font-size: 30px;
    border-radius: 50%;
    color: #fff;
    font-weight: 800;
    margin-bottom: -40px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* 이미지 */
.ysc-timeflow-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.ysc-timeflow-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* 태그 */
.ysc-timeflow-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}
.ysc-timeflow-tags span {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid #093e52;
    border-radius: 4px;
    color: #093e52;
    font-weight: 600;
	font-size: 20px;
}

/* ===================== 1024px ======================= */
@media screen and (max-width: 1024px) {
    .ysc-timeflow-list { gap: 16px; }
    .ysc-timeflow-badge { width: 66px; height: 66px; margin-bottom: -33px; font-size: 20px;}
}

/* ===================== 769px ======================= */
@media screen and (max-width: 769px) {
    .ysc-timeflow-list {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
        gap: 30px;
    }
    .ysc-compare-label { padding: 8px 20px; }
}

/* ===================== 425px ======================= */
@media screen and (max-width: 425px) {
    .ysc-timeflow-badge { width: 100px; height: 100px; margin-bottom: -28px; font-size: 20px; }
    .ysc-timeflow-tags span { padding: 5px 12px; }
}

/* ==================================================================================================================================== */
/* ============================================================ 원데이 치료 상세 ============================================================ */
/* ==================================================================================================================================== */

/* ==================================================================================================================================== */
/* ============================================================ 임플란트 섹션 ============================================================ */
/* ==================================================================================================================================== */

/* 임플란트 비주얼 배경 */
.ysc-implant-visual {
    background: url(../img/main/bg9.png) right center no-repeat;
}

/* 히어로 배너 */
.ysc-hero-implant { background: url(../img/main/hero_about3.png) center/cover no-repeat; }

/* ===================== 769px ======================= */
@media screen and (max-width: 769px) {
    .ysc-implant-visual { background: #f4f6f9; }
}

/* ==================================================================================================================================== */
/* ============================================================ 임플란트 섹션 ============================================================ */
/* ==================================================================================================================================== */

/* ==================================================================================================================================== */
/* ============================================================ 디지털 임플란트 시스템 ============================================================ */
/* ==================================================================================================================================== */

.ysc-implant-step-section { background: url(../img/main/bg10.png) center/cover no-repeat;}

.ysc-implant-step-section .txt .top {
    padding: 10px;
    font-weight: 700;
    color: #fff;
    transform: skew(-0.1deg);
}
.ysc-implant-step-section .txt .mid {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    background: #f5f5f5;
    white-space: pre-line;
    line-height: 1.7;
    min-height: 100px;
}

.ysc-implant-step-section  img{width: 100%;}
/* ===================== 900px ======================= */
@media screen and (max-width: 900px) {
    .ysc-implant-step-section .flex > li { width: 50%; }
}

/* ===================== 425px ======================= */
@media screen and (max-width: 425px) {
    .ysc-implant-step-section .flex > li { width: 50%; }
    .ysc-implant-step-section .txt .mid { min-height: auto; }
}

/* ==================================================================================================================================== */
/* ============================================================ 디지털 임플란트 시스템 ============================================================ */
/* ==================================================================================================================================== */

/* ==================================================================================================================================== */
/* ============================================================ 임플란트 종류 ============================================================ */
/* ==================================================================================================================================== */

.ysc-implant-type-section { background: #fff; }

/* 리스트 */
.ysc-implant-type-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 아이템 */
.ysc-implant-type-list li {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    border: 1px solid #e0e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.ysc-implant-type-list li:hover {
    box-shadow: 0 8px 30px rgba(9,62,82,0.12);
}

/* 이미지 */
.ysc-implant-type-img {
    overflow: hidden;
}
.ysc-implant-type-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    opacity: 0.9;
}
.ysc-implant-type-list li:hover .ysc-implant-type-img img {
    transform: scale(1.04);
    opacity: 1;
}

/* 텍스트 */
.ysc-implant-type-copy {
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}
.ysc-implant-type-copy h4 {
    font-weight: 800;
    color: #093e52;
    transform: skew(-0.1deg);
}
.ysc-implant-type-copy p {
    color: #444;
    white-space: pre-line;
    line-height: 1.9;
}

/* 주의사항 */
.ysc-implant-type-notice {
    color: #999 !important;
    margin-top: -8px;
}

/* ===================== 1200px ======================= */
@media screen and (max-width: 1200px) {
    .ysc-implant-type-list li { grid-template-columns: 340px 1fr; }
    .ysc-implant-type-copy { padding: 30px 36px; }
}

/* ===================== 1024px ======================= */
@media screen and (max-width: 1024px) {
    .ysc-implant-type-list li { grid-template-columns: 280px 1fr; }
    .ysc-implant-type-copy { padding: 24px 28px; }
}

/* ===================== 769px ======================= */
@media screen and (max-width: 769px) {
    .ysc-implant-type-list li {
        grid-template-columns: 1fr;
    }
    .ysc-implant-type-img {
        max-height: 260px;
    }
    .ysc-implant-type-copy {
        padding: 24px 20px;
        gap: 12px;
    }
}

/* ===================== 425px ======================= */
@media screen and (max-width: 425px) {
    .ysc-implant-type-list { gap: 12px; }
    .ysc-implant-type-img { max-height: 200px; }
    .ysc-implant-type-copy { padding: 18px 16px; }
    .ysc-implant-type-copy h4 { font-size: 20px; }
    .ysc-implant-type-copy p { font-size: 14px; }
}

/* ==================================================================================================================================== */
/* ============================================================ 임플란트 종류 ============================================================ */
/* ==================================================================================================================================== */

/* ==================================================================================================================================== */
/* ============================================================ 오스템 프리미엄 라인 ============================================================ */
/* ==================================================================================================================================== */

.ysc-osstem-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}
.ysc-osstem-bg {
    background: #0a1427 url(../img/main/bg11.png) center /cover  no-repeat;
}
.ysc-osstem-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(3, 29, 39, 0.82);
    z-index: 0;
}
.ysc-osstem-section .inner {
    position: relative;
    z-index: 1;
}

/* 그래프 이미지 */
.ysc-osstem-chart {
    margin-top: 50px;
    text-align: center;
}
.ysc-osstem-chart img {
    width: 100%;
    max-width: 900px;
    height: auto;
    display: inline-block;
}

.ysc-osstem-section h3{color: #fff;}
.ysc-osstem-section p{color: #fff;}

/* ===================== 1024px ======================= */
@media screen and (max-width: 1024px) {
    .ysc-osstem-section { padding: 80px 0; }
    .ysc-osstem-chart { margin-top: 36px; }
}

/* ===================== 769px ======================= */
@media screen and (max-width: 769px) {
    .ysc-osstem-section { padding: 60px 0; }
    .ysc-osstem-chart { margin-top: 24px; }
}

/* ===================== 425px ======================= */
@media screen and (max-width: 425px) {
    .ysc-osstem-section { padding: 50px 0; }
    .ysc-osstem-chart { margin-top: 20px; }
}

/* ==================================================================================================================================== */
/* ============================================================ 오스템 프리미엄 라인 ============================================================ */
/* ==================================================================================================================================== */

/* ==================================================================================================================================== */
/* ============================================================ 오스템 SOI 표면 임플란트 ============================================================ */
/* ==================================================================================================================================== */

.ysc-soi-section { background: #fff; }
.ysc-megagen-section{ background: #fff; }
/* 상단 비주얼 */
.ysc-soi-visual {
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    gap: 30px;
    align-items: center;
    margin: 50px 0;
    padding: 40px;
}

/* 로고 */
.ysc-soi-visual__logo img {
    width: 100%;
    height: auto;
    display: block;
}

/* 비교 이미지 2개 */
.ysc-soi-visual__compare {
    display: flex;
    gap: 16px;
    justify-content: center;
}
.ysc-soi-compare-item {
    flex: 1;
    border-radius: 8px;
    overflow: visible;
    text-align: center;
}

/* 비교 프레임 */
.ysc-soi-compare-frame {
    position: relative;
    padding-top: 40px;
}

/* 배경 사각 이미지 */
.ysc-soi-compare-bg {
    overflow: hidden;
}
.ysc-soi-compare-bg img {
    width: 100%;
    height: auto;
    display: block;
}

/* 튀어나온 원형 이미지 */
.ysc-soi-compare-circle {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 55%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.ysc-soi-compare-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 라벨 */
.ysc-soi-compare-label {
    padding: 10px;
    font-weight: 700;
    margin-top: 0;
}
.ysc-soi-compare-label.gray {
    background: #eee;
    color: #555;
}
.ysc-soi-compare-label.blue {
    background: linear-gradient(to top, #031d27 0%, #004661 100%);
    color: #fff;
}



/* 제품 이미지 */
.ysc-soi-visual__product img {
    width: 100%;
    height: auto;
    display: block;
}

/* 특장점 리스트 */
.ysc-soi-feature-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.ysc-soi-feature-list li {
    background: #f8f9fb;
    border-radius: 16px;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    transition: box-shadow 0.3s ease;
}
.ysc-soi-feature-list li:hover {
    box-shadow: 0 8px 28px rgba(9,62,82,0.1);
}

/* 번호 */
.ysc-soi-num {
    font-size: 14px;
    font-weight: 500;
    color: #aaa;
    letter-spacing: 0.05em;
}

/* 텍스트 */
.ysc-soi-feature-copy h5 {
    font-weight: 800;
    color: #093e52;
    margin-bottom: 10px;
    transform: skew(-0.1deg);
}
.ysc-soi-feature-copy p {
    color: #555;
    white-space: pre-line;
    line-height: 1.85;
}

/* vs 비교 이미지 */
.ysc-soi-feature-img img {
    width: 100%;
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ===================== 1200px ======================= */
@media screen and (max-width: 1200px) {
    .ysc-soi-visual { grid-template-columns: 130px 1fr 160px; gap: 20px; padding: 30px; }
}

/* ===================== 1024px ======================= */
@media screen and (max-width: 1024px) {
    .ysc-soi-visual {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }
    .ysc-soi-visual__logo { grid-column: 1; grid-row: 1; }
    .ysc-soi-visual__product { grid-column: 2; grid-row: 1; text-align: center; }
    .ysc-soi-visual__compare { grid-column: span 2; grid-row: 2; }
    .ysc-soi-visual__product img { max-width: 160px; margin: 0 auto; }
}

/* ===================== 769px ======================= */
@media screen and (max-width: 769px) {
    .ysc-soi-visual { grid-template-columns: 1fr; padding: 24px; }
    .ysc-soi-visual__logo { text-align: center; }
    .ysc-soi-visual__logo img { max-width: 250px; margin: 0 auto; }
    .ysc-soi-visual__product { grid-column: 1; grid-row: auto; }
    .ysc-soi-visual__compare { grid-column: 1; }
    .ysc-soi-feature-list { grid-template-columns: 1fr; gap: 14px; }
    .ysc-soi-feature-list li { padding: 28px 20px; }
}

/* ===================== 425px ======================= */
@media screen and (max-width: 425px) {
    .ysc-soi-visual { padding: 18px; gap: 16px;margin: 0 0 20px 0; }
    .ysc-soi-feature-list li { padding: 22px 16px; }
    .ysc-soi-feature-copy h5 { font-size: 18px; }
    .ysc-soi-feature-copy p { font-size: 14px; }
}

/* ===================== 769px ======================= */
@media screen and (max-width: 769px) {
    .ysc-soi-compare-frame { padding-top: 30px; }
    .ysc-soi-compare-circle { width: 50%; }
}

/* ===================== 425px ======================= */
@media screen and (max-width: 425px) {
    .ysc-soi-visual__compare { gap: 10px; }
    .ysc-soi-compare-frame { padding-top: 24px; }
    .ysc-soi-compare-circle { width: 48%; }
    .ysc-soi-compare-label { font-size: 13px; padding: 8px; }
}

/* ==================================================================================================================================== */
/* ============================================================ 오스템 SOI 표면 임플란트 ============================================================ */
/* ==================================================================================================================================== */

/* ==================================================================================================================================== */
/* ============================================================ 메가젠 임플란트 ============================================================ */
/* ==================================================================================================================================== */


/* 비교 이미지 (원형 없이 사각형) */
.ysc-megagen-img-wrap {
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}
.ysc-megagen-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
}


/* ==================================================================================================================================== */
/* ============================================================ 메가젠 임플란트 ============================================================ */
/* ==================================================================================================================================== */

/* ==================================================================================================================================== */
/* ============================================================ 충치치료 섹션 ============================================================ */
/* ==================================================================================================================================== */

.ysc-hero-cavity { background: url(../img/main/hero_about4.png) center/cover no-repeat; }

.ysc-cavity-section { background: #fff; }

.ysc-cavity-section .txt .top {
    padding: 10px;
    font-weight: 700;
    color: #fff;
    transform: skew(-0.1deg);
}
.ysc-cavity-section .txt .mid {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    background: #f5f5f5;
    white-space: pre-line;
    line-height: 1.7;
    min-height: 130px;
}
.ysc-cavity-section .txt .btm {
    padding: 12px 10px;
    font-weight: 700;
    color: #fff;
    background: #222;
    transform: skew(-0.1deg);
}

/* ===================== 900px ======================= */
@media screen and (max-width: 900px) {
    .ysc-cavity-section .flex > li { width: 50%; }
    .ysc-cavity-section .txt .mid { min-height: auto; }
}

/* ===================== 425px ======================= */
@media screen and (max-width: 425px) {
    .ysc-cavity-section .flex > li { width: 50%; }
    .ysc-cavity-section .txt .mid { padding: 16px 10px; }
}

/* ==================================================================================================================================== */
/* ============================================================ 충치치료 섹션 ============================================================ */
/* ==================================================================================================================================== */

/* ==================================================================================================================================== */
/* ============================================================ Q-RAY 진단 시스템 ============================================================ */
/* ==================================================================================================================================== */

.ysc-qray-section { position: relative; background: #fff; }
.ysc-qray-bg {
    background: url(../img/main/bg12.png) right center/cover no-repeat;
    background-color: #fff;
}

/* 케이스 2세트 */
.ysc-qray-cases {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 730px;
    margin: 50px auto 0;
}

/* 케이스 이미지 묶음 */
.ysc-qray-case-imgs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* 이미지 아이템 */
.ysc-qray-case-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* 라벨 */
.ysc-qray-label {
    padding: 14px 10px;
    text-align: center;
    font-weight: 700;
    transform: skew(-0.1deg);
}
.ysc-qray-label.gray {
    background: #555;
    color: #fff;
}
.ysc-qray-label.blue {
    background: linear-gradient(to top, #031d27 0%, #004661 100%);
    color: #fff;
}

/* ===================== 1024px ======================= */
@media screen and (max-width: 1024px) {
    .ysc-qray-bg { background: #fff; }
    .ysc-qray-cases { max-width: 600px; }
}

/* ===================== 769px ======================= */
@media screen and (max-width: 769px) {
    .ysc-qray-cases { max-width: 100%; margin-top: 30px; }
    .ysc-qray-label { font-size: 15px; padding: 12px 8px; }
}

/* ===================== 425px ======================= */
@media screen and (max-width: 425px) {
    .ysc-qray-cases { gap: 14px; }
    .ysc-qray-label { font-size: 14px; padding: 10px 6px; }
}

/* ==================================================================================================================================== */
/* ============================================================ Q-RAY 진단 시스템 ============================================================ */
/* ==================================================================================================================================== */

/* ==================================================================================================================================== */
/* ============================================================ 잇몸질환 섹션 ============================================================ */
/* ==================================================================================================================================== */

.ysc-gum-section { background: #fff; }

.ysc-gum-section .txt .top {
    padding: 10px;
    font-weight: 700;
    color: #fff;
    transform: skew(-0.1deg);
}
.ysc-gum-section .txt .mid {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    background: #f5f5f5;
    white-space: pre-line;
    line-height: 1.7;
    min-height: 80px;
}
.ysc-gum-section .txt .btm {
    padding: 12px 10px;
    font-weight: 700;
    color: #fff;
    background: #222;
    transform: skew(-0.1deg);
}

/* ===================== 900px ======================= */
@media screen and (max-width: 900px) {
    .ysc-gum-section .flex > li { width: 50%; }
    .ysc-gum-section .txt .mid { min-height: auto; }
}

/* ===================== 425px ======================= */
@media screen and (max-width: 425px) {
    .ysc-gum-section .flex > li { width: 50%; }
    .ysc-gum-section .txt .mid { padding: 16px 10px; }
}

/* ==================================================================================================================================== */
/* ============================================================ 잇몸질환 섹션 ============================================================ */
/* ==================================================================================================================================== */
/* ==================================================================================================================================== */
/* ============================================================ 신경치료 섹션 ============================================================ */
/* ==================================================================================================================================== */

.ysc-nerve-section { background: #fff; }

.ysc-nerve-section .txt .top {
    padding: 12px 10px;
    font-weight: 700;
    color: #fff;
    transform: skew(-0.1deg);
}

/* ===================== 900px ======================= */
@media screen and (max-width: 900px) {
    .ysc-nerve-section .flex > li { width: 50%; }
}

/* ===================== 425px ======================= */
@media screen and (max-width: 425px) {
    .ysc-nerve-section .flex > li { width: 50%; }
}

/* ==================================================================================================================================== */
/* ============================================================ 신경치료 섹션 ============================================================ */
/* ==================================================================================================================================== */
/* ==================================================================================================================================== */
/* ============================================================ 사랑니 발치 섹션 ============================================================ */
/* ==================================================================================================================================== */

.ysc-wisdom-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}
.ysc-wisdom-bg {
    background: url(../img/main/bg13.png) center/cover no-repeat;
}
.ysc-wisdom-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(3, 15, 40, 0.85);
    z-index: 0;
}
.ysc-wisdom-section .inner {
    position: relative;
    z-index: 1;
}

/* 우측 텍스트 영역 */
.ysc-wisdom-wrap {
    display: flex;
    justify-content: center;
}
.ysc-wisdom-copy {
    width: 70%;
}

/* 매복 유형 그리드 */
.ysc-wisdom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 40px 0;
    text-align: center;
}
.ysc-wisdom-grid li img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-bottom: 12px;
}
.ysc-wisdom-grid li p {
    color: #fff;
    font-weight: 600;
    transform: skew(-0.1deg);
}

/* 하단 배너 문구 */
.ysc-wisdom-bottom {
    display: flex;
    justify-content: center;
}
.ysc-wisdom-bottom p {
    display: inline-block;
    padding: 16px 50px;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 50px;
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    transform: skew(-0.1deg);
    transition: all 0.3s ease;
}
.ysc-wisdom-bottom p:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

/* ===================== 1200px ======================= */
@media screen and (max-width: 1200px) {
    .ysc-wisdom-copy { width: 80%; }
}

/* ===================== 1024px ======================= */
@media screen and (max-width: 1024px) {
    .ysc-wisdom-copy { width: 100%; }
    .ysc-wisdom-section { padding: 80px 0; }
}

/* ===================== 769px ======================= */
@media screen and (max-width: 769px) {
    .ysc-wisdom-grid { gap: 14px; }
    .ysc-wisdom-bottom p { font-size: 16px; padding: 14px 30px; }
    .ysc-wisdom-section { padding: 60px 0; }
}

/* ===================== 425px ======================= */
@media screen and (max-width: 425px) {
    .ysc-wisdom-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .ysc-wisdom-grid li p { font-size: 14px; }
    .ysc-wisdom-bottom p { font-size: 14px; padding: 12px 20px; }
    .ysc-wisdom-section { padding: 50px 0; }
}

/* ==================================================================================================================================== */
/* ============================================================ 사랑니 발치 섹션 ============================================================ */
/* ==================================================================================================================================== */

/* ==================================================================================================================================== */
/* ============================================================ 턱관절 섹션 ============================================================ */
/* ==================================================================================================================================== */

.ysc-tmj-section {
    position: relative;
    padding-top: 120px;
    padding-bottom: 80px;
}
.ysc-tmj-bg {
    background: url(../img/main/bg14.png) center/cover no-repeat;
}
.ysc-tmj-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(3, 15, 40, 0.78);
    z-index: 0;
}
.ysc-tmj-section .inner {
    position: relative;
    z-index: 1;
}
.ysc-tmj-section img{width: 100%;}
/* 카드 스타일 */
.ysc-tmj-section .txt .top {
    padding: 12px 10px;
    font-weight: 700;
    color: #fff;
    transform: skew(-0.1deg);
}
.ysc-tmj-section .txt .mid {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    background: rgba(255,255,255,0.92);
    white-space: pre-line;
    line-height: 1.7;
    min-height: 80px;
    color: #333;
}
.ysc-tmj-section .txt .btm {
    padding: 12px 10px;
    font-weight: 700;
    color: #fff;
    background: #111;
    transform: skew(-0.1deg);
}

/* 하단 문구 흰색 */
.ysc-criteria-bottom.white {
    color: #fff;
    border-top: 0;
}
.ysc-criteria-bottom.white b {
    color: #64c7e1;
}

/* ===================== 900px ======================= */
@media screen and (max-width: 900px) {
    .ysc-tmj-section .flex > li { width: 50%; }
    .ysc-tmj-section .txt .mid { min-height: auto; }
    .ysc-tmj-section { padding-top: 80px; }
}

/* ===================== 425px ======================= */
@media screen and (max-width: 425px) {
    .ysc-tmj-section .flex > li { width: 50%; }
    .ysc-tmj-section { padding-top: 60px; }
}

/* ==================================================================================================================================== */
/* ============================================================ 턱관절 섹션 ============================================================ */
/* ==================================================================================================================================== */

/* ==================================================================================================================================== */
/* ============================================================ 턱관절 물리치료기 섹션 ============================================================ */
/* ==================================================================================================================================== */

.ysc-tmsono-section { position: relative; }
.ysc-tmsono-bg {
    background: url(../img/main/bg15.png) center/cover no-repeat;
    background-color: #f4f7fb;
}

/* 좌우 레이아웃 */
.ysc-tmsono-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* 텍스트 */
.ysc-tmsono-copy .middle-title { text-align: left; }

/* 손글씨 문구 */
.ysc-tmsono-handwrite {
    font-family: 'InkLipquid','Nanum Pen Script', cursive;
    font-size: 36px;
    color: #093e52;
    margin-top: 30px;
    line-height: 1.4;
    transform: skew(-0.1deg);
}

/* 장비 이미지 */
.ysc-tmsono-img {
    text-align: center;
}
.ysc-tmsono-img img {
    width: 100%;
    max-width: 460px;
    height: auto;
    display: inline-block;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.12));
    transition: transform 0.4s ease;
}
.ysc-tmsono-img img:hover { transform: translateY(-6px); }

/* ===================== 1200px ======================= */
@media screen and (max-width: 1200px) {
    .ysc-tmsono-wrap { gap: 40px; }
    .ysc-tmsono-handwrite { font-size: 30px; }
}

/* ===================== 1024px ======================= */
@media screen and (max-width: 1024px) {
    .ysc-tmsono-handwrite { font-size: 26px; }
}

/* ===================== 769px ======================= */
@media screen and (max-width: 769px) {
    .ysc-tmsono-wrap {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .ysc-tmsono-copy .middle-title { text-align: center; }
    .ysc-tmsono-handwrite { text-align: center; font-size: 26px; }
	.ysc-tmsono-img{margin-bottom: 5%;}
    .ysc-tmsono-img img { max-width: 240px; }
}

/* ===================== 425px ======================= */
@media screen and (max-width: 425px) {
    .ysc-tmsono-handwrite { font-size: 22px; margin-top: 20px; }
    .ysc-tmsono-img img { max-width: 150px; }
}

/* ==================================================================================================================================== */
/* ============================================================ 턱관절 물리치료기 섹션 ============================================================ */
/* ==================================================================================================================================== */

/* ==================================================================================================================================== */
/* ============================================================ area4 스타일 ============================================================ */
/* ==================================================================================================================================== */


.cavities-bg{color: #fff; background: rgba(0,0,0,0.5) url(../img/main/area4_01.png) right/cover no-repeat;}

.area4-1{background: #fff;}
.area4-1 ul.flex .img img {
    width: 100%;
}
.area4-1 ul.flex .txt .top,
.area4-1 ul.flex .txt .btm {
    color: #fff;
}
.area4-1 ul.flex .txt .top {
    padding: 5px 10px;
    font-weight: 800;
    background: #828282;
}
.area4-1 ul.flex .txt .mid {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 5px;
    height: auto;
    background: #e1e1e1;
}
.area4-1 ul.flex .txt .btm {
    padding: 10px;
    font-weight: 600;
    background: #000;
}


.cavities ul.flex .img img {width: 100%;}
.cavities ul.flex .txt .top,
.cavities ul.flex .txt .btm {color: #fff;}
.cavities ul.flex .txt .top {padding: 5px 10px; font-weight: 800; background: #008d70;}
.cavities ul.flex .txt .mid {display: flex; align-items: center; justify-content: center; padding: 25px 10px; height: 175px; background: #ededed;}
.cavities ul.flex .txt .btm {padding: 10px; font-weight: 600; background: #000;}

.gum ul.flex .img img {width: 100%;}
.gum ul.flex .txt .top,
.gum ul.flex .txt .btm {color: #fff;}
.gum ul.flex .txt .top {padding: 5px 10px; font-weight: 800; background: #008d70;}
.gum ul.flex .txt .mid {display: flex; align-items: center; justify-content: center; padding: 20px 5px; height: auto; background: #ededed;}
.gum ul.flex .txt .btm {padding: 10px 5px; font-weight: 600; background: #000;}



/* ===================== Mobile size : 1500px ======================= */

@media screen and (max-width: 1500px){

}


/* ===================== Mobile size : 1200px ======================= */

@media screen and (max-width: 1200px){

}


/* ===================== Mobile size : 1024px ======================= */

@media screen and (max-width: 1024px){

}

/* ===================== Mobile size : 900px ======================= */

@media screen and (max-width: 900px){
 .area4-1 ul.flex {max-width: 600px;margin: 0 auto;}
 .area4-1 ul.flex > li {width: 50%;}

.cavities ul.flex {max-width: 600px; margin: 0 auto;}
.cavities ul.flex > li {width: 50%;}
.cavities ul.flex .txt .mid {height: 160px;}

.gum ul.flex {max-width: 600px; margin: 0 auto;}
.gum ul.flex > li {width: 50%;}
}

/* ===================== Mobile size : 769px ======================= */

@media screen and (max-width: 769px){


}

/* ===================== Mobile size : 600px ======================= */

@media screen and (max-width: 600px) {
.cavities-bg{background-blend-mode: color;}


}

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

@media screen and (max-width: 425px){

.cavities ul.flex .txt .mid {height: 150px; padding: 20px 10px;}

}


/* ==================================================================================================================================== */
/* ============================================================ area4 스타일 ============================================================ */
/* ==================================================================================================================================== */



/* ================= 치료사례 배너 ================= */
.case-hero{
  position: relative;
  width: 100%;
  min-height: 500px;
  overflow: hidden;
}

.case-hero__bg{
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background: url(../img/custom/case-hero_bg.png) no-repeat top center / cover;
}

/* 텍스트 가독성용 오버레이 */
.case-hero__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.28);
}

/* 중앙 정렬 */
.case-hero .inner{
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-hero__content{
  text-align: center;
}

.case-hero__title{
  margin: 0 0 18px;
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.02em;
}

/* 버튼 */
.case-hero__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 34px;
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  color: #111;
  font-weight: 800;
  text-decoration: none;
  transition: .25s;
}

.case-hero__btn .plus{
  font-size: 18px;
  line-height: 1;
  transform: translateY(-1px);
}

.case-hero__btn:hover{
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
}

/* ================= 반응형 ================= */
@media (max-width: 768px){
  .case-hero,
  .case-hero .inner{
    min-height: 280px;
  }

  .case-hero__btn{
    padding: 12px 28px;
  }
  .guarantee-section{padding: 50px 0;}

}
/* ==================================================================================================================================== */
/* ============================================================ 진료시간 / 위치 섹션 ============================================================ */
/* ==================================================================================================================================== */

.ysc-location-section { background: #fff; }

/* 지도 2단 */
.ysc-location-maps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 0;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.ysc-location-map__kakao { width: 100%; }
.ysc-location-map__kakao .root_daum_roughmap { width: 100% !important; }
.ysc-location-map__guide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 하단 정보 */
.ysc-location-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* 좌: 진료시간 */
.ysc-location-time {
    background: linear-gradient(to top, #031d27 0%, #004661 100%);
    padding: 40px;
    color: #fff;
}
.ysc-location-time h5 {
    font-weight: 800;
    color: #fff;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    transform: skew(-0.1deg);
}
.ysc-time-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}
.ysc-time-list li {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 25px;
    color: rgba(255,255,255,0.85);
    position: relative;
}
.ysc-time-list li:last-child { border-bottom: none; }
.ysc-time-list li.highlight {
    font-weight: 700;
    color: #fff;
}
.ysc-time-list .day {
    width: 120px;
    flex-shrink: 0;
    text-align: justify;
    text-align-last: justify;
    /* 아래 두 줄이 핵심 */
    display: block;
    overflow: hidden;
}
.ysc-time-list .time {
    width: 300px;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
    letter-spacing: 0.02em;
}

/* 야간 뱃지 */
.badge-night {
    display: inline-block;
    padding: 2px 10px;
    background: #64c7e1;
    color: #031d27;
    font-size: 12px;
    font-weight: 700;
    border-radius: 12px;
    white-space: nowrap;
}

/* 안내 문구 */
.ysc-time-notice p {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    white-space: pre-line;
    line-height: 1.9;
}

/* 우: 오시는 길 */
.ysc-location-address {
    background: #f4f7fb;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
}
.ysc-location-address__block h5 {
    font-weight: 800;
    color: #093e52;
    margin-bottom: 8px;
    transform: skew(-0.1deg);
}
.ysc-location-address__block p {
    font-size: 22px;
    color: #444;
    white-space: pre-line;
    line-height: 1.8;
}
.ysc-location-tel {
    display: inline-block;
    font-size: 32px;
    font-weight: 900;
    color: #64c7e1;
    letter-spacing: -0.02em;
    transform: skew(-0.1deg);
    transition: color 0.2s;
}
.ysc-location-tel:hover { color: #093e52; }

/* ===================== 1200px ======================= */
@media screen and (max-width: 1200px) {
    .ysc-location-time { padding: 30px; }
    .ysc-location-address { padding: 30px; }
    .ysc-location-tel { font-size: 28px; }
}

/* ===================== 1024px ======================= */
@media screen and (max-width: 1024px) {
    .ysc-location-maps { grid-template-columns: 1fr; }
    .ysc-time-list .day { width: 130px; }
	.ysc-time-list .time {width: 230px;}
	
}

/* ===================== 769px ======================= */
@media screen and (max-width: 769px) {
    .ysc-location-maps { grid-template-columns: 1fr; }
    .ysc-location-info { grid-template-columns: 1fr; }
    .ysc-location-time { padding: 28px 20px; }
    .ysc-location-address { padding: 28px 20px; gap: 18px; }
    .ysc-location-tel { font-size: 26px; }
    .ysc-time-list li { font-size: 20px; gap: 30px; }
	.ysc-time-notice p {    font-size: 12px;}
}

/* ===================== 425px ======================= */
@media screen and (max-width: 425px) {
    .ysc-location-time { padding: 22px 16px; }
    .ysc-location-address { padding: 22px 16px; gap: 14px; }
    .ysc-time-list .day { width: 70px; }	
	.ysc-time-list .time {width: 170px;}
    .ysc-time-list li { font-size: 15px;gap: 15px; }
    .ysc-location-tel { font-size: 24px; }
    .ysc-location-address__block p { font-size: 16px; }
	.ysc-time-notice p { font-size: 10px;}
}


/* ==================================================================================================================================== */
/* ============================================================ 진료시간 / 위치 섹션 ============================================================ */
/* ==================================================================================================================================== */