/* 임플란트 페이지 스타일 */
.implant-page{width:100%;padding: 80px 0;}
.implant-01-page{width:100%;padding-bottom:180px;}
.implant-02-page{width:100%;padding-bottom:180px;}
.implant-03-page{width:100%;padding-bottom:180px;}
.implant-04-page{width:100%;padding-bottom:180px;}
.implant-05-page{width:100%;padding-bottom:180px;}
.implant-06-page{width:100%;padding-bottom:180px;}
.implant-07-page{width:100%;padding-bottom:180px;}
.implant-04-page-img-last .pc{max-width:1720px;margin:0 auto;display:block;}
.implant-section{max-width: 1720px;margin: 0 auto;padding: 0 20px;display: flex;flex-direction: column;align-items: center;}
.implant-section h2{font-size: 64px;font-weight: bold;color: var(--black);text-align: center;margin-bottom: 40px;}
.implant-tabs{display: flex;justify-content: center;align-items: center;gap: 0;flex-wrap: wrap;margin-bottom: 60px;border-bottom: 1px solid var(--grey-1-color);}
.implant-tab{display: inline-block;padding: 20px 30px;font-size: 20px;font-weight: bold;color: var(--black);text-decoration: none;position: relative;transition: color 0.3s ease;border-bottom: 3px solid transparent;}
.implant-tab:hover{color: var(--main-color);}
.implant-tab.active{color: var(--black);border-bottom-color: #D4A574;}
.implant-image-container{width:100%;max-width: 1200px;margin: 0 auto;}
.implant-main-image{width:100%;height:auto;display:block;object-fit: contain;}

/* 임플란트 치료 과정 섹션 */
.implant-process-page{width:100%;padding: 180px 0;}
.implant-process-container{max-width: 1720px;margin: 0 auto;}
.implant-process-title{font-size: 64px;font-weight: bold;color: var(--black);text-align: center;margin-bottom: 40px;}
.implant-process-description{font-size: 36px;color: var(--black);text-align: center;margin-bottom: 80px;line-height: 1.6;}
.implant-process-steps{display: grid;grid-template-columns: repeat(3, 1fr);gap: 40px; margin: 0 auto;}
.implant-process-step{display: flex;flex-direction: column;align-items: center;box-shadow: 0px 3px 6px #00000029;border-radius: 12px;}
.implant-process-image{width:100%;}
.implant-process-image img{width:100%;height:auto;display:block;object-fit: contain;border-radius: 12px 12px 0 0;}
.implant-process-content{padding: 70px 0;display: flex;flex-direction: column;align-items: center;}
.implant-process-number{width: 80px;height: 80px;border-radius: 50%;display: flex;align-items: center;justify-content: center;font-size: 36px;font-weight: bold;color: #fff;margin-bottom: 20px;}
.implant-process-number-grey{background: var(--grey-3-color);}
.implant-process-number-brown{background: var(--main-color);}
.implant-process-label{font-size: 52px;font-weight: bold;color: var(--black);text-align: center;}
.implant-process-label-brown{color: var(--main-color);}

/* 3개 섹션을 감싸는 컨테이너 */
.implant-content-wrapper{background: #f9f9f9;width: 100%; padding-top: 180px; max-width: 1920px; margin: 0 auto;}
.implant-04-page-img{background-color:#f9f9f9;}

/* sec4-1-bottom 섹션 */
#sec4-1{width: 100%;padding: 180px 0;}
#sec4-1 .sec4-1-container{max-width: 1720px;margin: 0 auto;padding: 0 20px;}
#sec4-1 .sec4-1-bottom-image{width: 100%;text-align: center;}
#sec4-1 .sec4-1-bottom-image img{width: 100%;height: auto;display: block;max-width: 100%;}
#sec4-1 .sec4-1-bottom-image img.pc{display: block;}
#sec4-1 .sec4-1-bottom-image img.m{display: none;}
#sec4-1:not(.sec4-1-external) .sec4-1-bottom{background: linear-gradient(180deg, var(--brown-1-color) 0%, #392408 100%);padding: 80px 40px;border-radius: 20px;text-align: center;position: relative;overflow: visible;}
.implant-06-page #sec4-1 .sec4-1-bottom{background: linear-gradient(180deg, var(--brown-1-color) 0%, #392408 100%);}
#sec4-1.sec4-1-external .sec4-1-bottom{background: linear-gradient(180deg, var(--brown-3-color) 0%, #000 100%);padding: 80px 40px;border-radius: 20px;text-align: center;position: relative;overflow: visible;}
#sec4-1 .sec4-1-wing{position: absolute;top: 0;bottom: 0;z-index: 1;display: flex;align-items: center;}
#sec4-1 .sec4-1-wing-left{left: 180px;transform: scaleX(-1);}
#sec4-1 .sec4-1-wing-right{right: 200px;}
#sec4-1 .sec4-1-wing-img{width: auto;height: auto;display: block;}
#sec4-1 .sec4-1-bottom-content{position: relative;z-index: 2;}
#sec4-1 .sec4-1-label{font-size: 44px;color: #fff;}
#sec4-1 .sec4-1-bottom-title{font-size: 80px;font-weight: bold;color: #fff;margin-bottom: 20px;line-height: 1.5;}
#sec4-1 .sec4-1-divider{width: 100%;max-width: 800px;height: 1px;background: transparent;margin: 50px auto;border-top: 1px dotted rgba(255, 255, 255, 0.5);}
#sec4-1 .sec4-1-quote-wrapper{position: relative;text-align: center;display: flex;align-items: center;justify-content: center;gap: 12px;min-height: 120px;}
#sec4-1 .sec4-1-quote{font-size: 36px;font-weight: bold;color: #fff;letter-spacing: -2px;margin: 0;flex: 0 1 auto;}
#sec4-1 .sec4-1-quote-mark{font-family: 'Nanum Myeongjo', '나눔명조', serif !important;flex: 0 0 auto;color: #fff;font-size: 48px;}
#sec4-1 .sec4-1-quote-mark:first-child{margin-bottom: auto;}
#sec4-1 .sec4-1-quote-mark:last-child{position: absolute;bottom: -40px;right: 38%;transform: translateX(50%);margin-right: -200px;}
.implant-06-page #sec4-1 .sec4-1-quote-mark:last-child{margin-right: -280px;}
#sec4-1 .sec4-1-quote-mark:last-child span{display: block;}

/* sec4-2 섹션 */
#sec4-2{width: 100%;padding-top: 80px;background: #fdfaf6;}
#sec4-2 .sec4-2-container{max-width: 1720px;margin: 0 auto;}
#sec4-2 .sec4-2-cards{display: flex;flex-direction: column;gap: 24px;}
#sec4-2 .sec4-2-card{background: #fff;border-radius: 20px;overflow: hidden;display: flex;align-items: center;gap: 32px;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);padding-right: 125px;}
#sec4-2 .sec4-2-card-image{width: 200px;height: 200px;min-width: 200px;min-height: 200px;flex-shrink: 0;border-radius: 12px;overflow: hidden;}
#sec4-2 .sec4-2-image{width: 100%;height: 100%;object-fit: cover;display: block;}
#sec4-2 .sec4-2-card-content{flex: 1;display: flex;align-items: center;justify-content: space-between;gap: 24px;overflow: visible;}
#sec4-2 .sec4-2-card-text{font-size: 52px;color: var(--black);font-weight: bold;}
#sec4-2 .sec4-2-card-highlight{color: var(--main-color);font-weight: bold;font-size: 64px;}
#sec4-2 .sec4-2-card-btn{display: inline-flex;align-items: center;gap: 16px;padding: 14px 28px;background: var(--main-color);color: #fff;border-radius: 999px;text-decoration: none;font-size: 28px;font-weight: bold;flex-shrink: 0;overflow: visible;}
#sec4-2 .sec4-2-card-btn-arrow{display: inline-block;width: 60px;height: 4px;position: relative;flex-shrink: 0;transition: width 0.3s ease;}
#sec4-2 .sec4-2-card-btn-arrow::before{content: '';position: absolute;top: 50%;left: 0;width: 50px;height: 4px;background-color: #fff;transform: translateY(-50%);transition: width 0.3s ease;}
#sec4-2 .sec4-2-card-btn-arrow::after{content: '';position: absolute;top: 50%;left: 34px;width: 16px;height: 16px;border-right: 4px solid #fff;border-top: 4px solid #fff;transform: translateY(-50%) translateX(2px) rotate(45deg);transform-origin: center;transition: left 0.3s ease;}
#sec4-2 .sec4-2-card-btn:hover .sec4-2-card-btn-arrow{width: 126px;}
#sec4-2 .sec4-2-card-btn:hover .sec4-2-card-btn-arrow::before{width: 110px;}
#sec4-2 .sec4-2-card-btn:hover .sec4-2-card-btn-arrow::after{left: 90px;}

@media(max-width:1600px){
#sec4-1 .sec4-1-wing{display: none;}
}

/* 외부 sec4-1 섹션 (wrapper 밖) */
.sec4-1-external{width: 100%;padding-top: 180px;}

/* 외부 sec4-2 섹션 (wrapper 밖) */
#sec4-2.sec4-2-external{width: 100%;padding-top: 180px;background: transparent !important;}

/* 보험 내용 테이블 섹션 */
.insurance-table-section{width: 100%;padding-top: 180px;background: var(--grey-0-color);}
.insurance-table-container{max-width: 1720px;margin: 0 auto;padding: 0 20px;}
.insurance-table-title{font-size: 64px;font-weight: bold;color: var(--black);text-align: left;margin-bottom: 40px;}
.insurance-table{width: 100%;border-collapse: separate;border-spacing: 20px 20px;border-radius: 20px;overflow: hidden;}
.insurance-table-header-item{background: var(--main-color);color: #fff;font-size: 36px;font-weight: bold;padding: 30px 40px;text-align: center;width: 200px;border: none;border-right: 1px solid rgba(255, 255, 255, 0.3);vertical-align: middle;border-radius: 12px;}
.insurance-table-header-content{background: var(--main-color);color: #fff;font-size: 36px;font-weight: bold;padding: 30px 40px;text-align: center;border: none;vertical-align: middle;border-radius: 12px;}
.insurance-table-item{font-size: 36px;font-weight: bold;color: var(--black);padding: 40px;text-align: left;vertical-align: top;border-bottom: 1px solid var(--grey-1-color);width: 200px;white-space: nowrap;}
.insurance-table-content{font-size: 32px;color: var(--black);padding: 40px;text-align: left;vertical-align: top;border-bottom: 1px solid var(--grey-1-color);line-height: 1.8;}
.insurance-table tbody tr:last-child .insurance-table-item{border-bottom: none;}
.insurance-table tbody tr:last-child .insurance-table-content{border-bottom: none;}
.insurance-table-list{list-style: none;padding: 0;margin: 0;}
.insurance-table-list li{position: relative;padding-left: 30px;margin-bottom: 20px;line-height: 1.8;color: var(--black);font-size: 28px;}
.insurance-table-list li:last-child{margin-bottom: 0;}
.insurance-table-list li::before{content: '•';position: absolute;left: 0;font-size: 32px;line-height: 1.8;font-weight: bold;}

/* 보험 Q&A 섹션 */
.insurance-qa-section{width: 100%;padding-top: 180px;background: var(--bg-color);}
.insurance-qa-container{max-width: 1720px;margin: 0 auto;padding: 0 20px;}
.insurance-qa-title{font-size: 64px;font-weight: bold;color: var(--black);text-align: left;margin-bottom: 80px;}
.insurance-qa-list{display: flex;flex-direction: column;gap: 0;}
.insurance-qa-item{display: flex;gap: 40px;padding: 40px 0;border-bottom: 1px solid var(--grey-1-color);}
.insurance-qa-item:last-child{border-bottom: none;}
.insurance-qa-number{font-size: 48px;font-weight: bold;color: var(--brown-2-color);opacity: 0.3;flex-shrink: 0;width: 80px;}
.insurance-qa-content{flex: 1;}
.insurance-qa-question{font-size: 36px;font-weight: bold;color: var(--black);margin-bottom: 20px;line-height: 1.6;}
.insurance-qa-answer{font-size: 24px;color: var(--black);line-height: 1.8;}

@media(max-width:1024px){
    #sec4-1 .sec4-1-bottom-image img.pc{display: none;}
    #sec4-1 .sec4-1-bottom-image img.m{display: block;}
.sec4-1-external{padding-top: 80px;}
#sec4-1{padding: 80px 0;}
.implant-content-wrapper{padding-top: 90px;}
.implant-04-page-img{background-color:#f9f9f9;}
#sec4-2.sec4-2-external{padding-top: 90px;background: transparent !important;}
.insurance-table-section{padding-top: 80px;}
.insurance-table-container{padding: 0 16px;}
.insurance-table-title{font-size: 36px;margin-bottom: 30px;}
.insurance-table-header-item{font-size: 18px;padding: 20px 16px;width: 100px;}
.insurance-table-header-content{font-size: 18px;padding: 20px 16px;}
.insurance-table-item{font-size: 18px;padding: 20px 16px;width: 100px;}
.insurance-table-content{font-size: 16px;padding: 20px 16px;line-height: 1.6;}
.insurance-table-list li{padding-left: 20px;margin-bottom: 12px;font-size: 16px;}
.insurance-table-list li::before{font-size: 16px;}
.insurance-qa-section{padding-top: 80px;}
.insurance-qa-container{padding: 0 16px;}
.insurance-qa-title{font-size: 36px;margin-bottom: 40px;}
.insurance-qa-item{flex-direction: column;gap: 20px;padding: 30px 0;}
.insurance-qa-number{font-size: 24px;width: auto;}
.insurance-qa-question{font-size: 18px;margin-bottom: 16px;}
.insurance-qa-answer{font-size: 16px;line-height: 1.6;}
}

@media(max-width:1024px){
.implant-page{padding: 40px 0;}
.implant-01-page{padding-bottom:90px;}
.implant-02-page{padding-bottom:90px;}
.implant-03-page{padding-bottom:90px;}
.implant-04-page{padding-bottom:90px;}
.implant-05-page{padding-bottom:90px;}
.implant-06-page{padding-bottom:90px;}
.implant-07-page{padding-bottom:90px;}
.implant-section{padding: 0 16px;display: flex;flex-direction: column;align-items: center;width: 100%;max-width: 100%;box-sizing: border-box;}
.implant-section h2{font-size: 36px;margin-bottom: 30px;}
.implant-tabs{flex-direction: row;justify-content: center;flex-wrap: wrap;gap: 0;margin-bottom: 40px;width: 100%;}
.implant-tab{padding: 16px 20px;font-size: 18px;white-space: normal;flex-shrink: 1;flex-basis: auto;min-width: 0;}
.implant-image-container{max-width: 100%;}
.implant-process-page{padding: 90px 0;}
.implant-process-container{padding: 0 16px;}
.implant-process-title{font-size: 36px;margin-bottom: 30px;}
.implant-process-description{font-size: 18px;margin-bottom: 50px;}
.implant-process-steps{grid-template-columns: 1fr;gap: 40px;}
.implant-process-image{margin-bottom: 0;}
.implant-process-content{padding: 40px 0;}
.implant-process-number{width: 60px;height: 60px;font-size: 24px;margin-bottom: 16px;}
.implant-process-label{font-size: 20px;}
#sec4-1:not(.sec4-1-external) .sec4-1-bottom{background: linear-gradient(180deg, var(--brown-1-color) 0%, #392408 100%);padding: 40px 20px;border-radius: 12px;text-align: center;position: relative;overflow: hidden;}
.implant-06-page #sec4-1 .sec4-1-bottom{background: linear-gradient(180deg, var(--brown-1-color) 0%, #392408 100%);}
#sec4-1.sec4-1-external .sec4-1-bottom{background: linear-gradient(180deg, var(--brown-3-color) 0%, #000 100%);padding: 40px 20px;border-radius: 12px;text-align: center;position: relative;overflow: hidden;}
#sec4-1 .sec4-1-bottom-content{position: relative;z-index: 2;}
#sec4-1 .sec4-1-bottom-title{font-size: 24px;font-weight: bold;color: #fff;margin-bottom: 16px;line-height: 1.5;}
#sec4-1 .sec4-1-quote-wrapper{position: relative;text-align: center;display: flex;align-items: center;justify-content: center;gap: 8px;min-height: 60px;}
#sec4-1 .sec4-1-quote{font-size: 16px;font-weight: bold;color: #fff;margin: 0;flex: 0 1 auto;}
#sec4-1 .sec4-1-quote-mark{font-family: 'Nanum Myeongjo', '나눔명조', serif !important;flex: 0 0 auto;color: #fff;font-size: 24px;display: none;}
#sec4-1 .sec4-1-quote-mark:last-child{position: absolute;bottom: 0;right: 50%;transform: translateX(50%);margin-right: -100px;}
#sec4-1 .sec4-1-quote-mark:last-child span{display: block;}
#sec4-2{width: 100%;padding-top: 60px;background: #fdfaf6;}
#sec4-2 .sec4-2-container{max-width: 100%;margin: 0 auto;padding: 0 20px;}
#sec4-2 .sec4-2-cards{display: flex;flex-direction: column;gap: 20px;}
#sec4-2 .sec4-2-card{background: #fff;border-radius: 16px;display: flex;flex-direction: row;align-items: center;justify-content: center;gap: 20px;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);padding: 20px 0;}
#sec4-2 .sec4-2-card-image{width: 120px;height: 120px;min-width: 120px;min-height: 120px;flex-shrink: 0;border-radius: 12px;overflow: hidden;}
#sec4-2 .sec4-2-image{width: 100%;height: 100%;object-fit: cover;display: block;}
#sec4-2 .sec4-2-card-content{display: flex;flex-direction: column;align-items: center;justify-content: space-between;gap: 16px;width: auto;}
#sec4-2 .sec4-2-card-text{font-size: 18px;color: var(--black);font-weight: bold;}
#sec4-2 .sec4-2-card-highlight{color: var(--main-color);font-weight: bold;font-size: 20px;}
#sec4-2 .sec4-2-card-btn{display: inline-flex;align-items: center;gap: 8px;padding: 8px 16px;background: var(--main-color);color: #fff;border-radius: 999px;text-decoration: none;font-size: 14px;font-weight: bold;flex-shrink: 0;width: auto;justify-content: center;margin-right: 0;margin-top: auto;}
#sec4-2 .sec4-2-card-btn-arrow{display: inline-block;width: 40px;height: 3px;position: relative;flex-shrink: 0;}
#sec4-2 .sec4-2-card-btn-arrow::before{content: '';position: absolute;top: 50%;left: 0;width: 32px;height: 3px;background-color: #fff;transform: translateY(-50%);}
#sec4-2 .sec4-2-card-btn-arrow::after{content: '';position: absolute;top: 50%;left: 19px;width: 12px;height: 12px;border-right: 3px solid #fff;border-top: 3px solid #fff;transform: translateY(-50%) translateX(2px) rotate(45deg);transform-origin: center;}
#sec4-2 .sec4-2-card-btn:hover .sec4-2-card-btn-arrow{width: 60px;}
#sec4-2 .sec4-2-card-btn:hover .sec4-2-card-btn-arrow::before{width: 50px;}
#sec4-2 .sec4-2-card-btn:hover .sec4-2-card-btn-arrow::after{left: 40px;}
}

