/* 기본 스타일 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;  
  font-family: "jjhayanmaeum", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.pretendard-font { 
  font-family: 'pretendard', sans-serif !important; 
  font-weight: 400;
  font-style: normal;
}

.pretendard-font * {
  font-family: 'pretendard', sans-serif !important; 
}

.indent {
  padding-left: 2em; 
  text-indent: -12px
}

.nav-menu {
  list-style: none;
  display: flex;
}

.nav-menu .nav-margin {
  margin-left: 60px;
}

.nav-margin a {
  text-decoration: none;
  color: #FFFFFF;
  font-weight: 500;
  transition: color 0.3s ease-in-out;
  appearance: none;
}

.nav-menu a:hover {
  color: #ffcc00;
}

/* 드롭다운 부모 요소 */
.dropdown {
  position: relative; /* 상대 위치 지정 */
}

/* 드롭다운 메뉴 스타일 */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 135%;
  left: 50%;
  transform: translateX(-25%); /* 중앙 정렬 */
  padding: 10px 0px 20px 70px;
  width: 408px;
  background-color: white;
}

.dropdown-menu li {
  list-style: none;  
  display: block; /* 세로 정렬 */
  font-size: 16px; 
  margin: 10px 0;
  text-decoration: none; 
}

.dropdown-menu.open {
  display: block;
}

.dropdown-menu p {
  display: block; /* 세로 정렬 */
  color: #8B5A2B; /* 글씨 색상 */
  font-size: 16px; 
  margin: 8px 0;
  text-decoration: none; 
}

/* ---------------------------------------------------- */

/* 배경 이미지 섹션 */
.hero {
  width: 100%;
  height: 100vh;
  background: url('/img/main_img.png') no-repeat left center/cover;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-content {
  text-align: center;
  display: flex;
  flex-direction: column; 
  align-items: center; 
}

.hero-image {
  width: 60%; 
  max-width: 100px; 
  margin-bottom: 20px; 
}

.hero-text h1 {  
  font-size: 1.5rem;
  color: white;  
  margin: 30px 0px 10px 0px; 
}

.hero-text p {
  font-size: 1.2rem;
  color: white;
}

/* 본문 컨텐츠 */
main {
  padding-top: 80px;
  text-align: center;
  background-color: #fff;
}

.content-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
}

/* 첫 번째, 두 번째 행 */
.image {
  width: 70%;
  max-width: 550px;
}

.text {
  width: 50%;
  font-size: 18px;
  color: #4E3524;
  text-align: left;
  margin-left: 10vh;
}

.text h2 {
  margin-bottom: 10px;
}

.text button {
  margin-top: 50px;
}

.last-text {
  width: 50%;
  font-size: 18px;
  color: #4E3524;
}

.last-text h2 {
  margin-bottom: 10px;
}

.last-text button {
  margin-top: 50px;
}

/* 두 번째 행 (이미지 오른쪽) */
.reverse {
  flex-direction: row-reverse;
}

/* 마지막 행 (이미지 중앙) */
.center {
  flex-direction: column;
  text-align: center;
}

.center .image {
  width: 100%;
  max-width: 1200px;
}

button {
  margin-top: 10px;
  padding: 15px 25px;
  border: 1px solid #925a3d;
  background: transparent;
  color: #925a3d;
  border-radius: 32px;
  cursor: pointer;
}

button:hover {
  background: #925a3d;
  color: white;
}


/* Footer 스타일 */
.footer {
  width: 100%;
  background-color: #fff;
  text-align: center;
  padding: 15px;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-address {
  text-align: left;
  line-height: 20px;
  color: #4E3524;
}

.footer-nav-menu {
  list-style: none;
  display: flex;
}

.footer-nav-menu li {
  margin-left: 30px;
}

.footer-nav-menu a {
  text-decoration: none;
  color: #4E3524;
  font-weight: 500;
  transition: color 0.3s ease-in-out;
}

.footer-nav-menu a:hover {
  color: #ffcc00;
}

.sticky-menu {
  position: fixed;
  top: 20%;  
  left: 20px;  
  border-radius: 8px;
  z-index: 1000;
}

.sticky-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sticky-menu .menu-item {
  margin-bottom: 20px;
}

.image-wrapper {
  cursor: pointer;
  text-align: center;
  border: 2px solid #fff;  
  border-radius: 50%;
  padding: 14px;
  display: inline-block;
  width: 90px;
  height: 90px;
}

.image-wrapper img {
  width: 32px;
  height: 32px; 
}

.image-wrapper p {
  margin-top: 5px;
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.side-menu {
  display: none;
}


/* ------------------------------------------------------------ */

/* 헤더 스타일 */
.header {
  color: #4E3524;
  position: fixed;
  top: 0;
  width: 100%;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  z-index: 1000;
}

/* 로고 스타일 */
.logo {
  display: flex;
  align-items: center;
}

.logo-icon {
  font-size: 20px;
  margin-right: 8px;
}

.clinic-name {
  font-size: 18px;
}

.clinic-name a {
  text-decoration: none;
  color: inherit;
}

/* 메뉴 토글 버튼 스타일 */
.menu-toggle {
  cursor: pointer;
  font-size: 18px;
  color: white;
}

#menu-toggle {
  cursor: pointer;
}

/* 사이드 메뉴 */
.side-menu {
  position: fixed;
  top: 0;
  left: -250px; 
  width: 250px;
  height: 100%;
  background-color: #333;
  color: white;
  transition: left 0.3s ease;
  z-index: 999;
}

/* ---------------------소개---------------------- */
.intro-title {
  font-size: 28px;
  color: #4E3524;
}

 .intro-tabs { 
  margin-top: 100px;
  max-width: 1200px;
  justify-content: center; 
  width: 100%;
  display: flex; 
}

.intro-tab { 
  padding: 20px 20px; 
  cursor: pointer; 
  border-bottom: none; 
}

.intro-tab.active { 
  background: #7e746a; 
  color: white; 
}

.intro-content { 
  display: none; 
  padding: 20px; 
}

.intro-content.active { 
  margin-top: 50px;
  display: block; 
}

.intro-main {
  width: 100%;
  max-width: 1200px;
  color: #4E3524;
  margin: 0 auto;
}

.intro-title {
  font-size: 26px;
  margin-bottom: 20px;
}

.intro-container {
  margin-top: 50px;
  width: 100%;
}

.intro-container img{
  width: 70%;
  margin-bottom: 20px;
}  

.text-box {
  display: none;
}

.text-common {
  flex: 1;
}

.custom-table {
  line-height: 17px;
  margin: 100px 0px 60px 0px;
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.custom-table th, 
.custom-table td {
  
  padding: 20px 0px 20px 0px;
  border-bottom: 1px solid #4E3524;
  text-align: left;
}

.no-line-td {
  border-bottom: none;
}

.custom-table th {
  font-size: 28px;
  color: #4E3524;
  width: 300px;
  vertical-align: top;
}

.custom-table td b {
  margin-right: 20px;
  color: #4E3524; 
}

.custom-table tr:not(:has(th)) td:nth-of-type(1) {
  border-bottom: none;
}

.intro-prolog {
  margin-top: 30px;
  display: flex;
  text-align: left;
}

.intro-prolog-flex {
  flex : 1;
  margin: 10px 15px 0px 0px;
  line-height: 25px;
}


.no-line-td {
  border-bottom: none;
}

.intro-profile {
  width: 100%;
  max-width: 1200px;
  color: #4E3524;
  margin: 0 auto;
}

.intro-profile {
  margin-top: 50px;
  display: flex;
  text-align: left;
}

.intro-profile-flex {
  flex : 1;
  margin: 10px 15px 0px 0px;
  line-height: 25px;
}

.intro-profile-flex-img { 
  flex : 2;
  margin: 10px 15px 0px 0px;
  line-height: 25px;
}

.intro-profile-flex-img img {
  width: 70%;
}
/* ------------------------------------------------------- */
/* ---------------------컨텐츠---------------------- */
.contents-content {
  width: 100%;
  max-width: 1200px;
  color: #4E3524;
  margin: 0 auto;
}

.contents-text {
  font-size: 32px;
}

.sub-text {
  font-size: 18px;
}

.contents-content p {
  margin-top: 25px;
}

.contents-content p span {
  margin-left: 15px;
  font-size: 18px;
}

.contents-card {
  background: white;
  padding: 15px;
  text-align: center;
  border-radius: 8px;
  width: 100%;
}
.contents-section {
  margin: 50px 0px 350px 0px;
}

.contents-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px; 
  max-width: 1200px;
  width: 100%;
  margin: 0 auto; 
}

.contents-card {
  background: white;
  padding: 10px;
  text-align: left;
  border-radius: 8px;
}

.contents-card img {
  width: 100%;
  height: 250px;
  border-radius: 5px;
  object-fit: cover;
}

.contents-title {
  font-weight: bold;
  font-size: 16px;
  color: #4E3524;;
  margin: 15px 0px 15px 0px;
}

.contents-description {
  font-size: 14px;
  color: #4E3524;
  margin-top: 5px;
  line-height: 1.4;
}

.contents-detail-section {
  width: 100%;
  max-width: 800px; 
  color: #4E3524;
  margin: 0 auto;
  text-align: center;
}

.contents-detail-section img {
  max-width: 100%;
}

/* ------------------------------------------------------- */
/* ---------------------------qna------------------------ */
.qna-main {
  width: 100%;
  max-width: 600px;
  color: #4E3524;
  margin: 0 auto;
}

/* Q&A 폼 전체 컨테이너 */
.qa-form {
  font-family: "Noto Sans KR", sans-serif;
  background-color: white;
  padding: 30px;
  text-align: center;
  margin: 50px 0px 50px 0px;
}

/* 제목 스타일 */
.qa-title {
  color: #4E3524;
  font-size: 32px;
  margin-bottom: 5px;
}

.qa-subtitle {
  font-size: 24px;
  color: #4E3524;
  margin: 30px 0px 50px 0px;
}

/* 테이블 스타일 */
.qa-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0px 15px 0px;
}

.qa-table tr {
  border-bottom: 1px solid #4E3524;
}

.qa-table th, .qa-table td {
  text-align: left;
  padding: 8px;
  font-size: 14px;
}

/* 테이블 줄 스타일 */
.qa-table th {
  width: 100px;
  font-size: 18px;
  color: #4E3524;
  vertical-align: middle;
}

.qa-table td {
  height: 70px;
  border-bottom: 1px solid #4E3524;
  vertical-align: middle;
}

input::placeholder, textarea::placeholder {
  color: rgba(100, 100, 100, 0.4);
}

.qa-table tr:first-child td {
  border-bottom: none;
}

/* 여러 줄 입력용 */
.qa-textarea {
  min-height: 300px;
  padding: 10px;
  font-size: 16px;
  color: rgba(100, 100, 100, 0.4);
}

/* placeholder 효과 */
.qa-input:empty::before {
  content: attr(data-placeholder);
  color: rgba(100, 100, 100, 0.4);
  font-size: 16px;
  pointer-events: none;
}

/* 입력 필드 스타일 */
.qa-table input, 
.qa-table textarea {
  color: #4E3524;
  width: 100%;
  padding: 10px;
  border: none;
  outline: none;
  font-size: 16px;
  background: transparent;  
}

/* 버튼 스타일 */
.qa-submit-btn {
  background-color: white;
  border: 1px solid #4E3524;
  padding: 26px;
  width: 50%;
  color: #4E3524;
  font-weight: bold;
  cursor: pointer;
  margin-top: 20px;
}

.qa-submit-btn:hover {
  background-color: #8B5E3B;
  color: white;
}

/* ------------------------------------------------------- */
/* ---------------------------quick------------------------ */
.quick-main {
  width: 100%;
  max-width: 600px;
  color: #4E3524;
  margin: 0 auto;
}


/* Q&A 폼 전체 컨테이너 */
.quick-form {
  margin: 300px 0px 300px 0px;
  font-family: "Noto Sans KR", sans-serif;
  background-color: white;
  padding: 30px;
  text-align: center;
}

/* 제목 스타일 */
.quick-title {
  color: #4E3524;
  font-size: 32px;
  margin-bottom: 5px;
}

.quick-subtitle {
  font-size: 24px;
  color: #4E3524;
  margin: 30px 0px 50px 0px;
}

/* 테이블 스타일 */
.quick-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0px 15px 0px;
}

.quick-table tr {
  border-bottom: 1px solid #4E3524;
}

.quick-table th, .quick-table td {
  text-align: left;
  padding: 8px;
  font-size: 14px;
}

/* 테이블 줄 스타일 */
.quick-table th {
  width: 100px;
  font-size: 18px;
  color: #4E3524;
  vertical-align: middle;
}

.quick-table td {
  border-bottom: 1px solid #4E3524;
  vertical-align: middle;
}

input::placeholder, textarea::placeholder {
  color: rgba(100, 100, 100, 0.4);
}

.quick-table tr:first-child td {
  border-bottom: none;
}

/* 여러 줄 입력용 */
.quick-textarea {
  min-height: 300px;
  padding: 10px;
  font-size: 16px;
  color: rgba(100, 100, 100, 0.4);
}

/* placeholder 효과 */
.quick-input:empty::before {
  content: attr(data-placeholder);
  color: rgba(100, 100, 100, 0.4);
  font-size: 16px;
  pointer-events: none;
}

/* 입력 필드 스타일 */
.quick-table input, 
.quick-table textarea {
  color: #4E3524;
  width: 100%;
  padding: 10px;
  border: none;
  outline: none;
  font-size: 16px;
  background: transparent;  
}

/* 버튼 스타일 */
.quick-submit-btn {
  background-color: white;
  border: 1px solid #4E3524;
  padding: 26px;
  width: 50%;
  color: #4E3524;
  font-weight: bold;
  cursor: pointer;
  margin-top: 20px;
}

.quick-submit-btn:hover {
  background-color: #8B5E3B;
  color: white;
}

.symptoms {
  width: 100%; 
  padding: 0px 0px 15px 8px; 
  color: #4E3524;
  font-size: 18px; 
  border: none; 
  outline: none; 
  background: none;
  appearance: none; 
  -webkit-appearance: none; 
  -moz-appearance: none; 
  cursor: pointer;
  border-bottom: 1px solid #4E3524;
}

 /* ------------------------clinic -----------------------------*/  
.clinic-main {
  padding: 80px 0px 0px 0px;
  width: 100%;
  color: #4E3524;
  margin: 0 auto;
}

.clinic-pc-main {
  max-width: 1200px; 
  color: #4E3524;
  margin: 0 auto;
}

.clinic-max-width {
  max-width: 1200px; 
  color: #4E3524;
  margin: 0 auto;
}

.clinic-title {
  font-size: 28px;
  color: #4E3524;
}

.clinic-s-title {
  margin-top: 50px;
  font-size: 16px;
}

.clinic-s-content {
  margin-top: 20px;
  font-size: 14px;
}

.clinic-ss-content {  
  margin-top: 60px;
  display: flex;
  gap: 100px;
}

.clinic-sss-content {
  line-height: 25px;
  justify-items: center;   
  flex: 1;
  text-align: left;  
}

.clinic-ss-content2 {
  text-align: center;
  margin-top: 80px;
  display: flex;
  gap: 20px;
}

.clinic-step-content {
  margin-top: 80px;
  display: flex;
  gap: 20px;
}

.clinic-step-content2 {
  text-align: center;
  flex: 1;
}
.clinic-ss-content3 {
  align-items: center;
  margin-top: 20px;
  display: flex;
  gap: 20px;
}

.clinic-step1-content {
  display: flex;
  text-align: left;
  line-height: 25px;
  gap: 15px;
}

.clinic-sss-content2 {
  line-height: 25px;
  justify-items: center;   
  flex: 1;
  font-size: 20px;
}

.clinic-sss-content3 {
  line-height: 25px;
  justify-items: center;   
  flex: 1;
  text-align: left;  
}

.clinic-ssss-content {
  line-height: 25px; 
  flex: 1;
  text-align: left;  
}

.clinic-tabs { 
  margin-top: 50px;
  max-width: 1200px;
  justify-content: center; 
  width: 100%;
  display: flex; 
}

.clinic-tab { 
  padding: 15px 70px;
  font-size: 18px;
  cursor: pointer; 
  border-bottom: none; 
}

.clinic-tab.active { 
  background: #EBDAC7; 
  color: #4E3524; 
}

.clinic-content { 
  line-height: 23px;
  display: none; 
  color: #4E3524;  
}

.clinic-content.active { 
  margin-top: 50px;
  display: block; 
}

.clinic-ss-title {  
  margin-top: 80px;
  font-size: 28px;
}

.clinic-ss-title2 {  
  font-size: 28px;
}

.clinic-img {
  margin-top: 75px;
}
.clinic-img img {
  width: 553px;
  height: 365px;
}

.clinic-img1 {
  margin: 75px 0px 75px 0px;
}
.clinic-img1 img {
  width: 70%;
}

.clinic-custom-table {
  line-height: 17px;
  margin: 50px 0px 60px 0px;
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.clinic-custom-table th, 
.clinic-custom-table td {
  line-height: 20px;
  padding: 30px 0px 20px 0px;
  border-bottom: 1px solid #4E3524;
  text-align: left;
}

.clinic-custom-table th {
  font-size: 28px;
  color: #4E3524;
  width: 300px;
  vertical-align: top;
}

.clinic-custom-table td b {
  margin-right: 20px;
  color: #4E3524; 
}

.clinic-custom-table tr:not(:has(th)) td:nth-of-type(1) {
  border-bottom: none;
}

b {
  font-weight: 700;
  font-size: 16px;
}

/* 버튼 스타일 */
.clinic-submit-btn {  
  background-color: white;
  border: 1px solid #4E3524;
  padding: 26px;
  width: 30%;
  color: #4E3524;
  font-weight: bold;
  cursor: pointer;
  margin-top: 20px;
}

.circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background-color: white;
  border: 2px solid #4E3524;
  display: flex;
  flex-direction: column; /* 세로 정렬 추가 */
  justify-content: center;
  align-items: center;
  text-align: center; /* 텍스트 가운데 정렬 */
  font-size: 16px;
  font-weight: bold;
  color: #555;
  padding: 10px; /* 내부 여백 추가 */
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.circle:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  background-color: #8b8b8b;
  color: white;
}

.circle-2 {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background-color: #D9D9D9;
  border: 2px solid #4E3524;
  display: flex;
  flex-direction: column; /* 세로 정렬 추가 */
  justify-content: center;
  align-items: center;
  text-align: center; /* 텍스트 가운데 정렬 */
  font-size: 16px;
  font-weight: bold;
  color: #555;
  padding: 10px; /* 내부 여백 추가 */
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.circle-2:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  background-color: #8b8b8b;
  color: white;
}

.clinic-p-1 {
  margin-top: 50px;
  font-weight: bold;
}

.clinic-p-2 {
  margin: 5px 0; /* 문단 간 간격 조정 */
  font-size: 14px; /* 작은 텍스트 크기 */
  font-weight: normal;
}

/* ------------------------clinic -----------------------------*/
/* ----------medical --------------*/
.medical-main {
  width: 100%;
  max-width: 1355px;
  color: #4E3524;
  margin: 0 auto;
}

.medical-title {
  font-size: 26px;
  margin-bottom: 20px;
}

.medical-container {
  justify-content: center;
  align-items: center;
  display: flex;
  margin-top: 80px;
  width: 100%;
}

.medical-container-text {
  justify-content: center;
  align-items: start;
  display: flex;
  margin-top: 50px;
  width: 100%;
}

.no-width img {
  width: 100%;
}

.medical-img {
  font-size: 14px;
  flex: 1;
  margin: 0px 20px 0px 20px;
}

.medical-img img{  
  width: 100%;
}  
.medical-p {
  font-size: 16px;
  margin-bottom: 15px;
}
/* ----------medical --------------*/
/* ----------privacy------------*/
.privacy-main {
  width: 100%;
  max-width: 1200px;
  color: #4E3524;
  margin: 0 auto;
  text-align: left;
  font-size: 14px;
}

.privacy-main p {
  line-height: 25px;
}
/* -----------slider---------------*/
.slider-container { position: relative; width: 600px; margin: auto; }
.main-slide { width: 100%; height: 600px; object-fit: cover; }
.thumbnails {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    flex-wrap: wrap;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.thumbnail { width: 80px; height: 60px; margin: 5px; cursor: pointer; opacity: 0.6; transition: opacity 0.3s; }
.thumbnail:hover, .active { opacity: 1; }
.arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0, 0, 0, 0.5); color: white; border: none; cursor: pointer; padding: 10px; }
.left { left: 0; }
.right { right: 0; }