* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  word-break: keep-all;
  letter-spacing: -0.001em;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  font-weight: inherit;
  font-style: normal;
  font-size: inherit;
}

i,
em {
  font-style: normal;
}

b {
  font-weight: 700;
}

p {
  font-size: 24px;
  line-height: 1.6;
}

/* font */
@font-face {
  font-family: "Paperlogy";
  src: url("/assets/font/Paperlogy-3Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Paperlogy";
  src: url("/assets/font/Paperlogy-4Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Paperlogy";
  src: url("/assets/font/Paperlogy-6SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Paperlogy";
  src: url("/assets/font/Paperlogy-7Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "continuous";
  src: url("/assets/font/continuous.ttf") format("truetype");
  font-style: normal;
}

:root {
  --color-black: #3a3a3a;
  --color-white: #ffffff;
  --color-primary: #37480f;
  --color-primary-light: #4a5f1f;
}

html {
  scroll-behavior: smooth;
}

/* Scrollbar 스타일 - Webkit 브라우저 (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 10px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-light);
}

/* Scrollbar 스타일 - Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary) #f1f1f1;
}

body {
  margin: 0;
  font-family: "Paperlogy", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: var(--color-black);
  background: var(--color-white);
  line-height: 1.2;
  letter-spacing: -0.002em;
}

.inner {
  width: 95%;
  max-width: 1280px;
  margin: 0 auto;
}

.inner-top {
  padding-top: 120px;
}

.inner-bottom {
  padding-bottom: 120px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  background: var(--color-white);
}

.site-header .header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 80px;
  padding: 0 50px;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  position: relative;
  z-index: 20;
}

.logo {
  margin: 0;
  flex: 1;
}

.logo a {
  max-width: 260px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.logo-main {
  font-weight: 700;
  color: var(--color-primary);
  line-height: 0;
  display: block;
  max-width: 280px;
}

.gnb {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gnb a {
  margin-right: 0;
  text-decoration: none;
  color: var(--color-grey);
  font-weight: 600;
  position: relative;
  padding: 8px 12px;
  border-radius: 8px;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.gnb a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #37480f 0%, #5a7a2f 50%, #37480f 100%);
  border-radius: 3px;
  transform: translateX(-50%);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(55, 72, 15, 0.5);
}

.gnb a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px;
  z-index: -1;
}

.gnb a:hover {
  color: #37480f;
  transform: translateY(-3px);
  text-shadow: 0 2px 8px rgba(55, 72, 15, 0.2);
}

.gnb a:hover::before {
  width: 80%;
}

.gnb a:hover::after {
  opacity: 1;
  transform: scale(1);
}

.gnb a:active {
  transform: translateY(-1px);
  color: #253308;
}

.gnb a:active::before {
  width: 100%;
  box-shadow: 0 0 15px rgba(55, 72, 15, 0.7);
}

/* 액티브 상태 (현재 페이지) */
.gnb a.active {
  color: #37480f;
  background: transparent;
}

.gnb a.active::before {
  width: 80%;
  box-shadow: 0 0 12px rgba(55, 72, 15, 0.6);
}

.gnb a.active::after {
  opacity: 1;
  transform: scale(1);
}

.m-nav-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  z-index: 1001;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.m-nav-btn:hover {
  background: rgba(55, 72, 15, 0.08);
  transform: scale(1.1);
}

.m-nav-btn:active {
  transform: scale(0.95);
  background: rgba(55, 72, 15, 0.15);
}

.m-nav-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: #37480f;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.m-nav-btn:hover span {
  background: linear-gradient(90deg, #37480f 0%, #5a7a2f 100%);
  box-shadow: 0 0 4px rgba(55, 72, 15, 0.4);
}

.m-nav-btn.active span:nth-child(1) {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  margin: 0;
}

.m-nav-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.m-nav-btn.active span:nth-child(3) {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  margin: 0;
}

.m-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  z-index: 10;
  border-radius: 20px;
  padding-top: 64px;
  overflow-y: auto;
  height: fit-content;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}

.m-nav.active {
  display: block;
  opacity: 1;
  visibility: visible;
}

.m-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.m-nav li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.m-nav .m-depth1 {
  display: block;
  padding: 18px 24px;
  color: #37480f;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 3px solid transparent;
  position: relative;
  overflow: hidden;
}

.m-nav .m-depth1::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 100%
  );
  transition: left 0.5s ease;
}

.m-nav .m-depth1:hover::before {
  left: 100%;
}

.m-nav .m-depth1:hover,
.m-nav .m-depth1:active {
  background: linear-gradient(
    90deg,
    rgba(55, 72, 15, 0.12) 0%,
    rgba(55, 72, 15, 0.08) 100%
  );
  border-left-color: #37480f;
  padding-left: 32px;
  color: #37480f;
  transform: translateX(5px);
  box-shadow: inset 0 0 20px rgba(55, 72, 15, 0.1);
}

.m-nav .m-depth1:active {
  transform: translateX(3px);
  background: linear-gradient(
    90deg,
    rgba(55, 72, 15, 0.15) 0%,
    rgba(55, 72, 15, 0.1) 100%
  );
}

/* hero */
.hero {
  position: relative;
  width: 100%;
  max-height: calc(100vh - 80px);
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-top: 80px;
  background: #37480f;
}

.hero-video-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* section title */
section {
  position: relative;
  overflow: hidden;
}

h2 {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 80px;
  align-items: flex-start;
}

h2.c {
  align-items: center;
  text-align: center;
}

h2 span {
  font-size: 52px;
  color: #37480f;
  font-weight: 300;
  display: inline-block;
  position: relative;
  overflow: hidden;
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  /* 기본 애니메이션 제거 - Intersection Observer로 제어 */
  animation: none;
}

/* Intersection Observer로 화면에 보일 때 애니메이션 시작 */
h2 span.reveal-started {
  animation: revealClip 1s linear forwards;
  animation-delay: 0s;
}

@keyframes revealClip {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  85% {
    clip-path: inset(0 5% 0 0);
  }

  100% {
    clip-path: inset(0 0% 0 0);
    opacity: 1;
  }
}

h2 i {
  color: rgba(55, 72, 15, 0.7);
  font-size: 18px;
  letter-spacing: -0.0036em;
}

/* hospital */
#hospital {
  background: url("/assets/img/hospital-bg.png") no-repeat center center / cover;
  background-attachment: fixed;
  position: relative;
}

.hospital::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(90deg, #5e7d2d 0%, #4a681f 100%);
  z-index: 1;
}

/* hospital-content 슬라이드 */
.hospital-content {
  position: relative;
  z-index: 2;
  box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.25);
  border-radius: 50px;
  overflow: hidden;
}

.hospital-swiper {
  overflow: visible;
}

.hospital-swiper .swiper-wrapper {
  align-items: stretch;
}

.hospital-swiper .swiper-slide {
  height: auto;
}

.hospital-slide-item {
  position: relative;
  min-height: 300px;
  height: 100%;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    opacity 0.3s ease;
  opacity: 0.6;
}

.hospital-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hospital-slide-content {
  position: relative;
  z-index: 2;
  padding: 120px 40px;
  height: 100%;
}

.hospital-slide-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: #fff;
}

.hospital-slide-title-num {
  font-size: 44px;
  font-weight: 700;
}

.hospital-slide-title-text {
  color: #b5ff00;
  font-size: 16px;
  margin: 10px 0 30px;
}

.hospital-slide-title-desc {
  font-size: 40px;
  line-height: 1.5;
  font-weight: 600;
}

.hospital-swiper .swiper-slide-active .hospital-slide-item {
  opacity: 1;
}

.hospital-swiper .swiper-button-next,
.hospital-swiper .swiper-button-prev {
  color: #fff;
  width: 50px;
  height: 50px;
  transition: all 0.3s ease;
  transform: scale(0.8);
}

.hospital-swiper .swiper-button-next:hover,
.hospital-swiper .swiper-button-prev:hover {
  transform: scale(1);
}

.hospital-swiper .swiper-button-next::after,
.hospital-swiper .swiper-button-prev::after {
  font-size: 20px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .hospital-slide-item {
    padding: 30px 20px;
    min-height: 250px;
  }

  .hospital-swiper .swiper-button-next,
  .hospital-swiper .swiper-button-prev {
    width: 40px;
    height: 40px;
  }

  .hospital-swiper .swiper-button-next::after,
  .hospital-swiper .swiper-button-prev::after {
    font-size: 16px;
  }
}

/* doctor */
#doctor {
  background: rgba(255, 253, 246, 0.5);
  position: relative;
}

.doctor-content {
  position: relative;
  z-index: 2;
}

.doctor-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 1700px;
  transform: translate(-50%, -50%);
  width: 90%;
  aspect-ratio: 1/1;
  z-index: 1;
  pointer-events: none;
}

.doctor-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: rotateInfinite 110s linear infinite;
  transform-origin: center center;
}

@keyframes rotateInfinite {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.doctor-item {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.doctor-item:not(:last-child) {
  margin-bottom: 50px;
}

.doctor-item:nth-child(even) {
  flex-direction: row-reverse;
}

.doctor-inner.right {
  padding-right: calc(calc(calc(100vw - 1280px) / 2) - 40px);
}

.doctor-inner.left {
  padding-left: calc(calc(calc(100vw - 1280px) / 2) - 40px);
}

.doctor-img-wrap {
  flex: 1;
  overflow: hidden;
  background: #f5f6f8;
}

.doctor-img {
  line-height: 0;
}

.doctor-item:nth-child(odd) .doctor-img-wrap {
  border-radius: 0 0 90px 0;
}

.doctor-item:nth-child(even) .doctor-img-wrap {
  border-radius: 90px 0 0 0;
}

.doctor-item:nth-child(odd) .doctor-img-desc {
  background: linear-gradient(90deg, #4a681f 0%, #5e7d2d 100%);
  position: relative;
}

.doctor-item:nth-child(odd) .doctor-img-desc::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  height: 100%;
  background: url("/assets/img/doctor-img-desc-bg.png") no-repeat 20% 100% /
    auto 90%;
}
.doctor-img-desc .doctor-inner {
  position: relative;
  z-index: 2;
}

.doctor-item:nth-child(even) .doctor-img-desc {
  border-radius: 90px 0 0 0;
  background: linear-gradient(90deg, #5e7d2d 0%, #4a681f 100%);
  position: relative;
}

.doctor-item:nth-child(even) .doctor-img-desc::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/assets/img/doctor-img-desc-bg.png") no-repeat 80% 100% /
    auto 90%;
}

.doctor-img-desc {
  padding: 40px;
  color: #fff;
}

.doctor-name {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

.doctor-img-desc p {
  font-size: 20px;
  opacity: 0.7;
}

.doctor-info {
  flex: 1;
}

.doctor-item:nth-child(odd) .doctor-info {
  padding-left: 80px;
}

.doctor-item:nth-child(even) .doctor-info {
  padding-right: 80px;
}

.doctor-info .doctor-info-list:not(:last-child) {
  margin-bottom: 20px;
}

.doctor-info-list {
  color: #555;
  font-size: 20px;
  line-height: 1.5;
}

.doctor-info-item {
  color: #37480f;
  font-size: 1.2em;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
  margin-bottom: 5px;
}

/* medical-subject */
.medical-subject {
  background: rgba(255, 255, 242, 0.5);
  position: relative;
}

.medical-subject::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  opacity: 0.7;
  background: linear-gradient(
    180deg,
    rgba(164, 178, 118, 0) 0%,
    rgba(164, 178, 118, 0.1) 100%
  );
}

.medical-subject-content {
  position: relative;
  z-index: 2;
  display: flex;
}

.medical-subject-wrap {
  flex: 2;
  /* border-radius: 0 430px 430px 0; */
  border-radius: 0 460px 460px 0;
  background: radial-gradient(50% 50% at 50% 50%, #f3f3f2 0%, #e6e8ec 100%);
  position: relative;
  /* overflow: visible; */
  min-height: 300px;
}

.medical-subject-path {
  position: absolute;
  top: -55px;
  left: -55px;
  color: var(--color-primary);
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

.path-stroke {
  stroke-dasharray: 8 4;
  stroke-linejoin: round;
  stroke-linecap: round;
  opacity: 0.8;
}

.path-circle-group {
  transform-origin: center;
}

.medical-subject-bg {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex: 1;
  opacity: 0.6;
}

.medical-subject-bg img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.medical-subject-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px;
}

.medical-subject-desc {
  color: #777;
  text-align: center;
  font-size: 20px;
}

.human-wrap {
  position: relative;
}

.human-desc li {
  position: absolute;
  top: 0;
  left: 0;
}

.human-desc li a > img {
  object-fit: contain;
  animation: scaleInfinite 4s ease-in-out infinite;
  transform-origin: center center;
}

@keyframes scaleInfinite {
  0%,
  100% {
    transform: scale(0.5);
  }

  50% {
    transform: scale(1);
  }
}

.human-desc li.neck {
  top: 11%;
  left: 45%;
}

.human-desc li.shoulder {
  top: 20%;
  left: 63%;
}

.human-desc li.back {
  top: 36%;
  left: 50%;
}

.human-desc li.hand {
  top: 47%;
  left: 5%;
}

.human-desc li.knee {
  top: 64%;
  left: 33%;
}

.human-desc li.foot {
  top: 90%;
  left: 28%;
}

.human-desc li.etc {
  top: 64%;
  left: 90%;
}

.human-desc li .effect-wrap {
  display: inline-block;
  position: relative;
}

.human-desc li a.effect-wrap .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #203a0c;
}

.human-desc li a.effect-wrap .line {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%);
  width: 100px;
  height: 2px;
  background: #203a0c;
}

.human-desc li.right .effect-wrap .line {
  left: auto;
  right: 50%;
  transform: translateY(-50%);
  width: 100px;
}

.human-desc li a.effect-wrap .box {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 100px;
  transform: translateY(-50%);
  color: #fff;
  font-size: 20px;
  border-radius: 30px;
  background: #203a0c;
  display: flex;
  align-items: center;
  padding: 7px 25px 7px 15px;
  gap: 10px;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.human-desc li.right .effect-wrap .box {
  left: auto;
  right: 100px;
  transform: translateY(-50%);
}

.human-desc li.back a.effect-wrap .line {
  width: 150px;
}

.human-desc li.back a.effect-wrap .box {
  left: 150px;
}

.human-desc li.hand a.effect-wrap .line {
  width: 70px;
}

.human-desc li.hand a.effect-wrap .box {
  right: 70px;
}

.human-desc li a.effect-wrap .box img {
  width: 1em;
  object-fit: contain;
}

.human-desc li.etc a.effect-wrap .box {
  background: #1d5041;
}

.human-desc li:hover a.effect-wrap .box {
  gap: 20px;
}

/* 진료과목 상세 */
.medical-subject-detail {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(124, 160, 33, 0.05) 100%
  );
}

.subject-detail-title {
  color: #333;
  font-weight: 700;
  text-align: center;
  font-size: 40px;
  max-width: 500px;
  margin: 0 auto;
  margin-bottom: 60px;
}

.medical-subject-detail .subject-detail-title .swiper-button-prev,
.medical-subject-detail .subject-detail-title .swiper-button-next {
  color: #999;
  width: 30px;
  height: 30px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: absolute;
  z-index: 10;
  top: 60%;
}

.medical-subject-detail .subject-detail-title .swiper-button-prev {
  left: 10px;
}

.medical-subject-detail .subject-detail-title .swiper-button-next {
  right: 10px;
}

.medical-subject-detail .subject-detail-title .swiper-button-prev::after,
.medical-subject-detail .subject-detail-title .swiper-button-next::after {
  font-size: 20px;
  font-weight: 700;
}

/* 진료 과목 상세 내용 */
.subject-detail-content {
  position: relative;
  min-height: 500px;
  margin-bottom: 100px;
}

.subject-detail-content-item {
  display: none;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.subject-detail-content-item.active {
  display: block;
  visibility: visible;
  opacity: 1;
}

/* 첫 번째 아이템은 기본적으로 표시 */
.subject-detail-content-item:first-child {
  display: block;
  visibility: visible;
  opacity: 1;
}

.subject-detail-content-item-desc {
  color: #555;
  text-align: center;
  font-size: 22px;
  margin-bottom: 60px;
  line-height: 1.5;
}

/* 탭 버튼 스타일 */
.detail-tabs {
  position: relative;
  display: inline-flex;
  border-radius: 50px;
  border: 1.5px solid #777;
  background: rgba(224, 209, 192, 0.1);
  padding: 4px;
  margin-bottom: 40px;
}

.detail-tabs {
  --tab-bg-position: 0;
}

.detail-tabs::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: #203a0c;
  border-radius: 26px;
  transition: transform 0.3s ease;
  z-index: 0;
  transform: translateX(var(--tab-bg-position));
}

.detail-tab {
  font-family: "Paperlogy", sans-serif;
  position: relative;
  z-index: 1;
  padding: 10px 50px;
  border: none;
  background: transparent;
  color: #999;
  font-size: 28px;
  font-weight: 500;
  border-radius: 28px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.detail-tab.active {
  color: #fff;
}

.detail-tab:hover {
  color: #fff;
}

.detail-tabs:hover .detail-tab:not(:hover) {
  color: #777;
}

.detail-tabs:hover .detail-tab.active:not(:hover) {
  color: #777;
}

/* 탭 패널 스타일 */
.detail-tab-content {
  position: relative;
  min-height: 200px;
}

.detail-tab-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  pointer-events: none;
}

.detail-tab-panel.active {
  position: relative;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* 대표질환 */
.detail-disease-list ul {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.detail-disease-list ul li {
  display: flex;
  gap: 10px;
}

.detail-disease-list ul li span {
  min-width: 180px;
  color: #243f32;
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-self: start;
}

.detail-disease-list ul li span::before {
  content: "·";
  display: inline-block;
  margin-right: 10px;
}

.detail-disease-list ul li i {
  color: #535353;
  font-size: 18px;
  line-height: 1.5;
}

.detail-footer {
  margin-top: 60px;
}

.detail-footer a:hover {
  transform: translateY(-10px);
}

.detail-footer i {
  border-radius: 25px;
  border: 1.25px solid #4f8022;
  opacity: 0.8;
  background: rgba(79, 128, 34, 0.07);
  padding: 10px 25px;
  color: #4f8022;
  font-size: 20px;
  font-weight: 500;
}

.detail-footer a {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  transition: all 0.3s ease;
}

.detail-btn-arrow img {
  filter: drop-shadow(0 0 7px rgba(105, 145, 67, 0.75));
  -webkit-filter: drop-shadow(0 0 7px rgba(105, 145, 67, 0.75));
  margin-left: -10px;
}

.detail-btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(105, 145, 67, 0.1);
}

.subject-detail-content-item .detail-wrap {
  display: flex;
  gap: 80px;
}

.subject-detail-content-item .detail-img {
  flex: 1;
  max-width: 550px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  align-self: flex-start;
}

.detail-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/assets/img/subject-detail-img-bg.png") no-repeat center
    center / contain;
  z-index: 1;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  animation: rotateInfinite 60s ease-in-out infinite;
}

.subject-detail-content-item .detail-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

.detail-img span {
  position: absolute;
  bottom: 10px;
  right: 10px;
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  background: #243f32;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}

@keyframes rotateInfinite {
  0%,
  100% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(360deg);
  }
}

.detail-content {
  flex: 1;
}

.detail-treatment-content ul {
  max-width: 400px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 20px;
}

.detail-treatment-content ul li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.detail-treatment-content .icon-wrap {
  aspect-ratio: 1/1;
  padding: 30px;
  width: fit-content;
  background: #243f32e5;
  overflow: hidden;
  border-radius: 50%;
}

.detail-treatment-content .icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 80px;
}

.detail-treatment-content ul li span {
  color: rgba(36, 63, 50, 0.9);
  font-size: 24px;
  font-weight: 500;
}

.detail-wrap.etc {
  display: flex;
  gap: 10px;
}

.detail-wrap.etc .detail-etc-content {
  flex: 1;
}

.detail-wrap.etc .detail-etc-content .detail-img {
  padding: 15px;
}

.detail-wrap.etc .detail-etc-content:nth-child(even) {
  color: #4b6651;
}

.detail-wrap.etc .detail-etc-content:nth-child(odd) {
  color: #565c54;
}

.etc-title {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  margin: 30px 0 20px;
}

.etc-content {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.68;
}

/* 비수술 통증치료 */
#non-surgical {
  position: relative;
  z-index: 2;
}

.non-surgical {
  margin-top: -90px;
}

.non-section-title-wrap {
  border-radius: 90px 90px 0 0;
  background: linear-gradient(0deg, #425c12 0%, #5c7d2d 100%), #f6f8ee;
  color: #fff;
  text-align: center;
}

.non-section-title-wrap h2 {
  margin-bottom: 40px;
}

.non-section-title-wrap h2 span {
  color: #fff;
}

.non-section-title-wrap h2 i {
  color: #fff;
}

.non-section-title-wrap p {
  color: #fff;
  font-weight: 500;
}

.non-section-content {
  background: url("/assets/img/non-section-content-bg.png") no-repeat center
    center / cover;
  background-attachment: fixed;
  border-radius: 0 0 90px 90px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

h3 {
  color: #37480f;
  font-size: 40px;
  font-weight: 300;
  text-align: center;
  margin-bottom: 40px;
}

.non-section-content-desc {
  color: #777;
  text-align: center;
  line-height: 1.5;
  font-size: 30px;
  margin-bottom: 80px;
}

.non-section-content-desc b {
  margin-top: 10px;
  display: block;
}

/* Non-section-content Swiper 3D Glowing Card Carousel 스타일 */
.non-section-content-swiper {
  padding: 80px 0;
  overflow: visible;
  width: 100%;
  perspective: 1280px;
  /* 3D 효과를 위한 perspective */
  display: flex;
  align-items: center;
}

.non-section-content-swiper .swiper-wrapper {
  align-items: center;
  display: flex;
  transform-style: preserve-3d;
}

.non-section-content-swiper .swiper-slide {
  width: 410px !important;
  flex-shrink: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0;
  opacity: 0.6;
  transform: scale(0.85) translateZ(-100px);
  transform-style: preserve-3d;
}

.non-section-content-swiper .swiper-slide-active {
  opacity: 1;
  transform: scale(1) translateZ(0);
  z-index: 2;
}

.non-section-content-swiper .swiper-slide-prev,
.non-section-content-swiper .swiper-slide-next {
  opacity: 0.8;
  transform: scale(0.9) translateZ(-50px);
}

@media (max-width: 768px) {
  .non-section-content-swiper {
    height: 500px;
    padding: 40px 0;
  }
}

@media (min-width: 1024px) {
  .non-section-content-swiper .swiper-slide {
    width: 410px !important;
  }
}

.non-section-content-item {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 6.615px 0 rgba(0, 0, 0, 0.35);
  background: #ffffff;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  max-width: 100%;
  position: relative;
}

/* 활성 슬라이드 강조 효과 */
#non-surgical .swiper-scrollbar {
  margin-top: 80px;
  position: relative;
}

.non-section-content-swiper .swiper-slide-active .non-section-content-item {
  box-shadow: 0 0 6.615px 0 rgba(0, 0, 0, 0.35);
  background: #ffffff;
  transform: scale(1);
}

/* Swiper Scrollbar 스타일 - 항상 보이도록 */
#non-surgical .swiper-scrollbar {
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  border-radius: 10px;
  opacity: 1 !important;
  visibility: visible !important;
}

#non-surgical .swiper-scrollbar-drag {
  background: #637439;
  border-radius: 10px;
  height: 100%;
  cursor: grab;
}

#non-surgical .swiper-scrollbar-drag:active {
  cursor: grabbing;
}

.non-section-content-item-img {
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: #f5f5f5;
}

.non-section-content-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.non-section-content-item-text {
  padding: 30px 24px;
  text-align: center;
}

.non-section-content-item-text h4 {
  font-size: 30px;
  font-weight: 700;
  color: #485920;
  margin-bottom: 12px;
}

.non-section-content-item-text p {
  font-size: 20px;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

/*  */
.non-section-content2 {
  position: relative;
  width: 100%;
  margin-top: -90px;
  padding-top: 90px;
}

.non-section-content2 .bg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0 0 90px 0;
}

.non-section-content2 .bg-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.non-section-content2 .bg-wrap.bg3 {
  width: calc(100% - 200px);
}

.non-section-content2 .bg-wrap.bg2 {
  width: calc(100% - 100px);
}

.non-section-content2-item {
  display: flex;
  gap: 24px;
  align-items: center;
}

.non-section-content2-item-img {
  overflow: hidden;
  line-height: 0;
  border-radius: 50px;
  flex: 1;
}

.non-section-content2-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.non-section-content2-item-text {
  flex: 1;
}

.non-section-content2-item-text-title {
  margin-bottom: 40px;
}

.non-section-content2-item-text-title i {
  color: #c7ff40;
  font-size: 24px;
  font-weight: 600;
}

.non-section-content2-item-text-title h4 {
  color: #fff;
  font-size: 40px;
  font-weight: 700;
}

.non-section-content2-item-text p {
  color: #fff;
  font-size: 20px;
  font-weight: 400;
}

.non-section-content2-item-text h5 {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 10px;
}

/* Non-section-content2 Swiper Navigation 버튼 */
#non-section-content2-swiper {
  position: relative;
}

#non-section-content2-prev,
#non-section-content2-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  margin-top: 0;
}

#non-section-content2-prev {
  left: auto;
  right: 80px;
  top: 10px;
  transform: translate(0, 0);
}

#non-section-content2-next {
  right: 10px;
  left: auto;
  top: 10px;
  transform: translate(0, 0);
}

#non-section-content2-prev:hover,
#non-section-content2-next:hover {
  background: #2a3d00;
  transform: translateY(-0%) scale(1.1);
}

#non-section-content2-prev::after,
#non-section-content2-next::after {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
}

#non-section-content2-next svg,
#non-section-content2-prev svg {
  width: 20px;
  height: 20px;
}

#non-section-content2-next svg path,
#non-section-content2-prev svg path {
  fill: #fff !important;
}

@media (max-width: 768px) {
  #non-section-content2-prev,
  #non-section-content2-next {
    width: 40px;
    height: 40px;
  }

  #non-section-content2-prev {
    left: 10px;
    right: auto;
  }

  #non-section-content2-next {
    right: 10px;
    left: auto;
  }

  #non-section-content2-prev::after,
  #non-section-content2-next::after {
    font-size: 18px;
  }
}

/* pain-clinic */
.pain-clinic {
  background: #3d4757;
  border-radius: 0 0 90px 90px;
  background: url("/assets/img/pain-clinic-bg.png") no-repeat center center /
    cover;
  margin-top: -90px;
  padding-top: 90px;
}

.pain-clinic-content-item {
  display: flex;
  align-items: center;
  margin-left: calc(calc(100vw - 1280px) / 2);
}

.pain-clinic-content-item:not(:last-child) {
  margin-bottom: 120px;
}

.pain-clinic-content-item:nth-child(even) {
  margin-left: 0;
  margin-right: calc(calc(100vw - 1280px) / 2);
  flex-direction: row-reverse;
}

.pain-clinic-content-item .pain-clinic-content-item-img {
  width: 100%;
  max-width: 600px;
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 50px;
  margin: 70px 0;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
  line-height: 0;
}

.pain-clinic-content-item .pain-clinic-content-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pain-clinic-content-item .pain-clinic-content-item-text {
  width: 100%;
  background: #fff;
  padding-right: calc(calc(100vw - 1280px) / 2);
  padding-top: 115px;
  padding-bottom: 115px;
  margin-left: -300px;
  padding-left: 330px;
  border-radius: 70px 0 0 70px;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
}

.pain-clinic-content-item:nth-child(even) .pain-clinic-content-item-text {
  padding-left: calc(calc(100vw - 1280px) / 2 + 300px);
  margin-right: -300px;
  padding-right: 330px;
  border-radius: 0 70px 70px 0;
}

.pain-clinic-content-item-text-title {
  margin-bottom: 40px;
  color: #3a471f;
  font-size: 40px;
  font-weight: 700;
}

.pain-clinic-content-item-text-title i {
  color: #84ba00;
  font-size: 24px;
  font-weight: 600;
  display: block;
  margin-bottom: 20px;
}

.pain-clinic-content-item-text p {
  color: #555;
  font-size: 20px;
  font-weight: 400;
}

.pain-clinic-content-item-text p em {
  display: block;
  margin-bottom: 10px;
}

/* tour */
#tour {
  position: relative;
  z-index: 1;
}

#tour::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(0deg, #afb19d 0%, #afb19d 100%), #f3eee6;
  z-index: 1;
}

.tour-container {
  position: relative;
  z-index: 2;
}

.tour-wrap {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-left: calc(calc(100vw - 1280px) / 2);
  line-height: 0;
}

.tour-thumbs-swiper {
  width: 100%;
  max-width: 600px;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.25);
  border-radius: 30px;
  overflow: hidden;
}

.tour-swiper {
  width: 100%;
}

.tour-swiper .swiper-slide {
  border-radius: 30px;
  overflow: hidden;
}

.tour-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-swiper.swiper-horizontal {
  &.swiper-rtl .swiper-button-next,
  &.swiper-rtl ~ .swiper-button-next,
  & ~ .swiper-button-prev,
  .swiper-button-prev {
    width: 60px;
    height: 60px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 0px 10px 0px;
    background: rgb(255, 255, 255);
    border-radius: 50%;
    left: auto;
    right: calc(calc(calc(100vw - 1280px) / 2) + 80px);
    top: 0%;
    transform: translateY(50%);
    padding: 15px;
    transition: all 0.3s ease;
  }
}

.tour-swiper.swiper-horizontal {
  &.swiper-rtl .swiper-button-prev,
  &.swiper-rtl ~ .swiper-button-prev,
  & ~ .swiper-button-next,
  .swiper-button-next {
    width: 60px;
    height: 60px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 0px 10px 0px;
    background: rgb(255, 255, 255);
    border-radius: 50%;
    right: calc(calc(100vw - 1280px) / 2);
    top: 0%;
    transform: translateY(50%);
    padding: 15px;
    transition: all 0.3s ease;
  }
}

/*  버튼 활성 스타일  */

.tour-swiper.swiper-horizontal {
  &.swiper-rtl .swiper-button-next:hover,
  &.swiper-rtl ~ .swiper-button-next:hover,
  & ~ .swiper-button-prev:hover,
  .swiper-button-prev:hover {
    box-shadow: rgba(58, 71, 31, 0.5) 0px 0px 10px 0px;
    transform: translateY(50%) scale(1.1);
  }
}

.tour-swiper.swiper-horizontal {
  &.swiper-rtl .swiper-button-prev:hover,
  &.swiper-rtl ~ .swiper-button-prev:hover,
  & ~ .swiper-button-next:hover,
  .swiper-button-next:hover {
    box-shadow: rgba(58, 71, 31, 0.5) 0px 0px 10px 0px;
    transform: translateY(50%) scale(1.1);
  }
}

/* equipment */
#equipment {
  background: url("/assets/img/equipment-bg.png") no-repeat center center /
    cover;
}

.equipment-content {
  padding-left: calc(calc(100vw - 1280px) / 2);
}

.equipment-item {
  border-radius: 50px;
  border: 1px solid #ccc;
  background: #fff;
  box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.15);
  padding: 44px 16px;
  margin: 5px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 30px;
  color: #657d2d;
  font-size: 30px;
  font-weight: 700;
}

/* progressbar */
.swiper-pagination-progressbar.equipment-pagination {
  margin-top: 80px;
  position: relative;
  z-index: 1;
  --progress: 0;
}

.swiper-pagination-progressbar.equipment-pagination {
  border-radius: 6px;
  background: #fff;
}

/* scaleX 영향 없이 컨테이너 기준. --progress는 JS에서 fill의 scaleX와 동기화됨 */
/* 바깥 원(22px) */
.swiper-pagination-progressbar.equipment-pagination::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: calc(var(--progress) * 100%);
  width: 22px;
  height: 22px;
  background: #999;
  opacity: 0.5;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: left 1s cubic-bezier(0.4, 0.1, 0.2, 1);
  z-index: 1;
}

/* 안쪽 작은 원(10px), 바깥 원과 같은 위치에 중심 맞춤 */
.swiper-pagination-progressbar.equipment-pagination::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: calc(var(--progress) * 100% + 11px);
  width: 10px;
  height: 10px;
  background: #555;
  border-radius: 50%;
  transform: translate(-150%, -50%);
  pointer-events: none;
  z-index: 2;
  transition: left 1s cubic-bezier(0.4, 0.1, 0.2, 1);
}

.swiper-pagination-progressbar.equipment-pagination
  .swiper-pagination-progressbar-fill {
  border-radius: 6px;
  background: linear-gradient(90deg, #d6d6d6 0%, #777 100%);
}

/* notice */
#notice {
  background: url("/assets/img/notice-bg.png") no-repeat center center / cover;
}
.notice-empty {
  color: #999;
  font-size: 20px;
  font-weight: 400;
  text-align: center;
}

.notice-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 80px;
}

.notice-header h2 {
  width: 100%;
  margin-bottom: 0;
}

.search-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 50px;
  border: 2px solid #4f8022;
  background: rgba(255, 255, 255, 0.8);
  padding: 10px 30px;
}

.search-wrap input {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  color: #4f8022;
  font-size: 20px;
  font-weight: 400;
  font-family: "Paperlogy", sans-serif;
}

.search-wrap button {
  border: none;
  background: transparent;
  cursor: pointer;
}

.notice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.notice-card {
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}

.notice-card:hover {
  transform: translateY(-6px);
}

.notice-thumb {
  aspect-ratio: 210 / 297; /* A4 비율 */
  background: #555;
  overflow: hidden;
  border-radius: 30px;
  line-height: 0;
}

.notice-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.notice-body {
  padding: 16px 18px 18px;
}

/* 섹션 타이틀용 .notice-title (변경 없음) */
.notice-title {
  margin-top: 20px;
  color: #333;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 0;
}

/* 공지사항 카드 내부의 .notice-title에 말줄임표 처리 */
.notice-body .notice-title,
.notice-card .notice-title,
.blog-card .notice-title {
  margin-top: 0;
  text-align: center;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 20px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 8px;
}

/* schedule */
#schedule {
  background: url("/assets/img/schedule-bg.png") no-repeat center center / cover;
}

.schedule-header {
  text-align: center;
  margin-bottom: 80px;
}

.schedule-header img {
  width: 60%;
  max-width: 400px;
}

.schedule-wrap {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.schedule-map {
  flex: 1;
  border-radius: 30px;
  overflow: hidden;
}

.schedule-map .root_daum_roughmap .cont {
  display: none;
}

.schedule-map .root_daum_roughmap .wrap_controllers {
  display: none;
}

.schedule-map .root_daum_roughmap_landing {
  width: 100%;
  height: 100%;
}

.schedule-map .os_mac.root_daum_roughmap {
  width: 100%;
  height: 100%;
}

.schedule-map .root_daum_roughmap .wrap_map {
  height: 100%;
  width: 100%;
  min-height: 300px;
}
.schedule-map .root_daum_roughmap .map {
  position: absolute;
  width: 100%;
  height: 100%;
}

.schedule-info {
  flex: 1;
  background: #f4f4f4;
  padding: 40px 30px;
  border-radius: 30px;
  overflow: hidden;
}

.schedule-info-tel {
  color: #2d3a0c;
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 26px;
}

.schedule-info-time {
  display: inline-flex;
  padding: 10px 26px;
  align-items: center;
  gap: 15px;
  border-radius: 30px;
  opacity: 0.8;
  background: #2d3a0c;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 10px;
}

.schedule-info-time img {
  width: 1em;
  height: 1em;
  object-fit: contain;
}

.schedule-info ul li {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #243104;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
}

.schedule-info ul li span {
  display: inline-flex;
  justify-content: space-between;
  width: 70px;
  color: #7aa113;
  font-weight: 700;
}

.schedule-info ul li strong {
  display: inline-flex;
  gap: 15px;
  align-items: center;
}

.schedule-info ul li strong em {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  border-radius: 50px;
  background: #2e3e08;
  color: #ffd700;
  font-size: 22px;
  font-weight: 600;
  padding: 5px 10px;
}

.schedule-info p {
  color: #243104;
  font-size: 18px;
  font-weight: 700;
}

.schedule-info-address {
  display: inline-flex;
  padding: 10px 26px;
  align-items: center;
  gap: 15px;
  border-radius: 30px;
  opacity: 0.8;
  background: #7aa113;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  margin: 20px 0 10px;
}

.schedule-info-address img {
  width: 1em;
  height: 1em;
  object-fit: contain;
}

address {
  color: #2d3a0c;
  font-style: normal;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 5px;
}

.schedule-info-address-desc {
  color: #2d3a0c;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}

/*  */

.site-footer {
  background: #374612;
  color: #fff;
  padding: 60px 0;
}

.footer-name {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-address {
  color: #fff;
  font-weight: 300;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  max-width: 900px;
}
.footer-address p {
  font-size: 18px;
}
.footer-address p b {
  display: inline-block;
  margin-right: 5px;
  font-weight: 700;
}

.site-footer hr {
  border: 1px solid #fff;
  opacity: 0.5;
  margin: 30px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
}

.footer-links a {
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 0.8;
}

.footer-copyright p {
  color: #fff;
  font-size: 18px;
  font-weight: 300;
  opacity: 0.5;
}

/* =============== RESPONSIVE =============== */

.view-press-section {
  background: #fff;
}
.sub-hero {
  background: url("/assets/img/press-hero-bg.png") no-repeat center center /
    cover;
}
.sub-hero h2 {
  padding-top: 80px;
  margin-bottom: 0 !important;
}
.sub-hero h2 span {
  color: #fff !important;
}
.sub-hero h2 i {
  color: #fff !important;
}

.press-view {
  background: #fff;
}

.press-view-head {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid #f0f0f0;
}

.press-view-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 20px 0;
  line-height: 1.4;
}

.press-date {
  font-size: 16px;
  color: #888;
  margin: 0;
}

#post-body {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 40px;
}

#post-body p {
  font-size: 18px;
  line-height: 1.8;
  margin: 0 0 20px 0;
}

#post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 30px 0;
  display: block;
}

#post-body h1,
#post-body h2,
#post-body h3,
#post-body h4,
#post-body h5,
#post-body h6 {
  color: inherit;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: inherit;
}

#post-body h1 {
  font-size: 32px;
}

#post-body h2 {
  font-size: 28px;
}

#post-body h3 {
  font-size: 24px;
}

#post-body h4 {
  font-size: 20px;
}

#post-body h5 {
  font-size: 18px;
}

#post-body h6 {
  font-size: 16px;
}

#post-body ul,
#post-body ol {
  margin: 20px 0;
  padding-left: 30px;
}

#post-body ul {
  list-style: disc;
}

#post-body ol {
  list-style: decimal;
}

#post-body li {
  margin: 10px 0;
  font-size: 18px;
  line-height: 1.8;
}

/* TinyMCE 인라인 스타일 복원 */
#post-body strong,
#post-body b {
  font-weight: 700;
}

#post-body em,
#post-body i {
  font-style: italic;
}

#post-body u {
  text-decoration: underline;
}

#post-body s,
#post-body strike {
  text-decoration: line-through;
}

#post-body sub {
  vertical-align: sub;
  font-size: smaller;
}

#post-body sup {
  vertical-align: super;
  font-size: smaller;
}

/* TinyMCE 텍스트 정렬 - 모든 형식 지원 */
#post-body [style*="text-align:left"],
#post-body [style*="text-align: left"],
#post-body [data-mce-style*="text-align:left"],
#post-body [data-mce-style*="text-align: left"],
#post-body .text-left,
#post-body .mce-text-left {
  text-align: left !important;
}

#post-body [style*="text-align:center"],
#post-body [style*="text-align: center"],
#post-body [data-mce-style*="text-align:center"],
#post-body [data-mce-style*="text-align: center"],
#post-body .text-center,
#post-body .mce-text-center {
  text-align: center !important;
}

#post-body [style*="text-align:right"],
#post-body [style*="text-align: right"],
#post-body [data-mce-style*="text-align:right"],
#post-body [data-mce-style*="text-align: right"],
#post-body .text-right,
#post-body .mce-text-right {
  text-align: right !important;
}

#post-body [style*="text-align:justify"],
#post-body [style*="text-align: justify"],
#post-body [data-mce-style*="text-align:justify"],
#post-body [data-mce-style*="text-align: justify"],
#post-body .text-justify,
#post-body .mce-text-justify {
  text-align: justify !important;
}

/* TinyMCE 인용구 */
#post-body blockquote {
  margin: 20px 0;
  padding: 20px 30px;
  border-left: 4px solid var(--color-primary);
  background: #f9f9f9;
  font-style: italic;
  color: #555;
}

/* TinyMCE 수평선 */
#post-body hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 30px 0;
}

/* TinyMCE 테이블 */
#post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

#post-body th,
#post-body td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: left;
}

#post-body th {
  background: #f5f5f5;
  font-weight: 700;
}

/* TinyMCE 코드 */
#post-body pre,
#post-body code {
  font-family: "Courier New", Courier, monospace;
  background: #f4f4f4;
  border-radius: 4px;
}

#post-body code {
  padding: 2px 6px;
  font-size: 0.9em;
}

#post-body pre {
  padding: 15px;
  overflow-x: auto;
  margin: 20px 0;
}

#post-body a {
  color: #7a9a4f;
  text-decoration: underline;
  transition: color 0.3s ease;
}

#post-body a:hover {
  color: #37480f;
}

.press-view-footer {
  padding-top: 30px;
  border-top: 1px solid #e0e0e0;
  text-align: center;
}

.btn-line {
  display: inline-block;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  color: #37480f;
  border: 2px solid #37480f;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  background: #fff;
}

.btn-line:hover {
  background: #37480f;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(55, 72, 15, 0.2);
}

.view-press-section ul,
.view-press-section ol {
  list-style-type: disc;
  padding-inline-start: 20px;
}

.view-press-section :is(dir, menu, ol, ul) ul {
  list-style-type: circle;
}

.view-press-section :is(dir, dl, menu, ol, ul) ul {
  margin-block-start: 0px;
  margin-block-end: 0px;
}

.view-press-section :is(dir, menu, ol, ul) :is(dir, menu, ol, ul) ul {
  list-style-type: square;
}

/* aside */
aside {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

aside ul {
  width: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  border-radius: 50px;
  background: rgba(238, 238, 238, 0.5);
  transition:
    max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease;
  padding: 20px 0;
}

aside ul.active {
  max-height: 1000px;
  opacity: 1;
}

aside ul li {
  padding: 10px 6px;
}

/* 이미지 컨테이너를 Grid로 만들어 겹치게 배치 (absolute 대신 사용) */
aside ul li a {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  align-items: start;
  justify-items: center;
  gap: 8px;
  font-weight: 400;
  font-size: 14px;
  color: rgba(102, 102, 102, 0.9);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
}

aside ul li a img {
  grid-column: 1;
  grid-row: 1;
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

/* 기본 이미지와 active 이미지 전환 */
aside ul li a img:nth-of-type(1) {
  opacity: 1;
}
aside ul li a img:nth-of-type(2) {
  opacity: 0;
}
aside ul li a:hover img:nth-of-type(1) {
  opacity: 0;
}
aside ul li a:hover img:nth-of-type(2) {
  opacity: 1;
}

aside ul li a:hover {
  color: #37480f;
  font-weight: 700;
}

aside ul li a span {
  grid-column: 1;
  grid-row: 2;
  transition:
    color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    font-weight 0.3s ease;
}

aside ul li a:hover span {
  color: var(--color-primary);
}

aside .quick-btn-wrap {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  justify-items: center;
  aspect-ratio: 1/1;
  background: #485920;
  box-shadow: 0 0 13.5px 0 rgba(0, 0, 0, 0.25);

  color: var(--color-white);
  border-radius: 50%;
  cursor: pointer;
  width: 80px;
  padding: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

aside .quick-btn-wrap:hover {
  background: #fff;
  color: #37480f;
  box-shadow: 0 0 10px rgba(55, 72, 15, 0.2);
  transform: scale(1.05);
}

aside .quick-btn-wrap:hover img {
  animation: rotateIcon 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

aside .quick-btn-wrap img {
  grid-column: 1;
  grid-row: 1;
  width: 30px;
  height: 30px;
  object-fit: contain;
  transition:
    opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

aside .quick-btn-wrap.active img {
  animation: rotateIcon 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes rotateIcon {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

aside .quick-btn-wrap span {
  font-size: 14px;
  grid-column: 1;
  grid-row: 2;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

aside .to-top {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  aspect-ratio: 1/1;
  background: #fff;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  cursor: pointer;
  width: 80px;
}

@media (max-width: 768px) {
  .press-view-title {
    font-size: 28px;
  }

  #post-body {
    font-size: 16px;
  }

  #post-body p,
  #post-body li {
    font-size: 16px;
  }

  #post-body h1 {
    font-size: 26px;
  }

  #post-body h2 {
    font-size: 24px;
  }

  #post-body h3 {
    font-size: 20px;
  }

  #post-body h4 {
    font-size: 18px;
  }

  #post-body h5 {
    font-size: 16px;
  }

  #post-body h6 {
    font-size: 14px;
  }

  #post-body blockquote {
    padding: 15px 20px;
  }
  #post-body h1,
  #post-body h2,
  #post-body h3,
  #post-body h4,
  #post-body h5,
  #post-body h6 {
    margin-top: 20px;
    margin-bottom: 10px;
  }
}

/* 페이지네이션 클릭 시 부드러운 스크롤 비활성화 */
html.pagination-scrolling {
  scroll-behavior: auto !important;
}

.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 40px;
}

.pagination .page-link {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 4px;
  color: #acb3bb;
  font-size: 20px;
}

.pagination .page-link.active {
  color: #000;
  font-weight: 500;
}

.pagination .page-link.prev,
.pagination .page-link.next {
  font-weight: 500;
}

/* =============== 태블릿 및 랩탑 반응형 =============== */
@media screen and (max-width: 1520px) {
  aside {
    bottom: 2vw;
    right: 2vw;
  }
  aside .quick-btn-wrap {
    width: 60px;
  }
  aside .to-top {
    width: 60px;
  }
  aside .quick-btn-wrap span {
    font-size: 11px;
  }
  aside ul {
    width: 60px;
  }
  aside ul li {
    padding: 5px;
  }
  aside ul li a {
    font-size: 12px;
    gap: 4px;
  }
  aside ul li a img {
    width: 25px;
    height: 25px;
  }
  .inner-bottom {
    padding-bottom: 100px;
  }
  .inner-top {
    padding-top: 100px;
  }

  h2 {
    margin-bottom: 60px;
  }
  h2 span {
    font-size: 48px;
  }
  .hospital-slide-content {
    padding: 70px 60px;
  }
  .hospital-slide-title-desc {
    font-size: 35px;
  }
  .doctor-item:nth-child(odd) .doctor-info {
    padding-left: 40px;
  }
  .doctor-item:nth-child(even) .doctor-info {
    padding-right: 40px;
  }
  .subject-detail-content-item-desc {
    font-size: 18px;
    margin-bottom: 40px;
  }
  .subject-detail-content-item .detail-wrap {
    gap: 40px;
  }
  .detail-wrap.etc {
    gap: 10px;
  }
  .detail-tab {
    padding: 10px 30px;
    font-size: 22px;
  }
  .detail-disease-list ul li i {
    font-size: 16px;
  }

  .detail-treatment-content ul {
    gap: 30px 0px;
  }
  .detail-treatment-content ul li span {
    font-size: 20px;
  }
  .non-section-title-wrap p {
    font-size: 20px;
    opacity: 0.8;
  }
  h3 {
    font-size: 35px;
  }
  .non-section-content-desc {
    font-size: 22px;
    margin-bottom: 50px;
  }
  .non-section-content-item-text h4 {
    font-size: 25px;
  }
  .non-section-content-item-text p {
    font-size: 17px;
  }
  #non-surgical .swiper-scrollbar {
    margin-top: 50px;
  }
  .non-section-content2-item-text-title {
    margin-bottom: 25px;
  }

  .non-section-content2-item-text-title h4 {
    font-size: 35px;
  }
  .non-section-content2-item-text-title i {
    font-size: 20px;
    display: block;
    margin-bottom: 10px;
  }
  .non-section-content2-item-text p {
    font-size: 17px;
  }
  .non-section-content2-item-text h5 {
    font-size: 25px;
    margin-top: 20px;
  }
  .non-section-content2 .bg-wrap.bg2 {
    width: calc(100% - 30px);
  }
  .non-section-content2 .bg-wrap.bg3 {
    width: calc(100% - 60px);
  }
  .pain-clinic-content-item-text-title {
    font-size: 35px;
    margin-bottom: 25px;
  }
  .pain-clinic-content-item-text-title i {
    font-size: 22px;
    margin-bottom: 10px;
  }
  .pain-clinic-content-item-text p {
    font-size: 17px;
  }
  .pain-clinic-content-item:not(:last-child) {
    margin-bottom: 50px;
  }
  .equipment-item {
    font-size: 22px;
  }
  .notice-body .notice-title,
  .notice-card .notice-title,
  .blog-card .notice-title {
    font-size: 18px;
  }
  .search-wrap input {
    font-size: 16px;
  }
  .notice-header {
    margin-bottom: 60px;
  }
  .schedule-header {
    margin-bottom: 60px;
  }
  .schedule-info-tel {
    font-size: 38px;
  }
  .schedule-info-time,
  .schedule-info-address {
    padding: 8px 20px;
    gap: 8px;
    font-size: 22px;
  }
  .schedule-info ul li {
    gap: 20px;
    font-size: 18px;
  }
  .schedule-info ul li span {
    width: 55px;
  }
  address {
    font-size: 20px;
  }
  .schedule-info-address-desc {
    font-size: 18px;
  }
}

@media (max-width: 1440px) {
  .site-header .header-inner {
    padding: 0 20px;
    font-size: 17px;
  }
  .doctor-inner.left {
    padding-left: 2.5vw;
  }
  .doctor-inner.right {
    padding-right: 2.5vw;
  }
  .pain-clinic-content-item .pain-clinic-content-item-text {
    padding-right: 2.5vw;
  }
  .pain-clinic-content-item {
    margin-left: 2.5vw;
  }
  .pain-clinic-content-item:nth-child(even) .pain-clinic-content-item-text {
    padding-left: calc(2.5vw + 300px);
  }
  .pain-clinic-content-item:nth-child(even) {
    margin-right: 2.5vw;
  }
  .tour-wrap {
    margin-left: 2.5vw;
  }
  .equipment-content {
    padding-left: 2.5vw;
  }
  .tour-swiper.swiper-horizontal {
    &.swiper-rtl .swiper-button-prev,
    &.swiper-rtl ~ .swiper-button-prev,
    & ~ .swiper-button-next,
    .swiper-button-next {
      right: 2.5vw;
    }
  }
  .tour-swiper.swiper-horizontal {
    &.swiper-rtl .swiper-button-next,
    &.swiper-rtl ~ .swiper-button-next,
    & ~ .swiper-button-prev,
    .swiper-button-prev {
      right: calc(2.5vw + 80px);
    }
  }
}

@media (max-width: 1200px) {
  .site-header .header-inner {
    font-size: 16px;
  }

  /* 모바일 헤더 스타일 적용 */
  .gnb {
    display: none;
  }

  .m-nav-btn {
    display: flex;
  }

  .m-nav {
    display: block;
    padding-top: 80px;
  }

  .m-nav.active {
    display: block;
    opacity: 1;
    visibility: visible;
  }

  .doctor-img-desc .doctor-inner.right {
    padding-right: 0;
  }
  .doctor-img-desc .doctor-inner.left {
    padding-left: 0;
  }
  .medical-subject-bg {
    position: absolute;
    right: 0;
    z-index: 1;
  }
  .medical-subject-wrap {
    padding: 60px;
    position: relative;
    z-index: 2;
    width: 90%;
    flex: none;
  }
  .human-wrap {
    position: relative;
    width: 50%;
  }
  .human-desc li a.effect-wrap .box {
    left: 70px;
  }
  .human-desc li.etc {
    top: 74%;
    left: 70%;
  }
}

@media (max-width: 1024px) {
  .site-header .header-inner {
    height: 70px;
    padding: 0 30px;
    gap: 12px;
  }
  .hero {
    margin-top: 70px;
  }
  .logo-main {
    max-width: 240px;
  }

  .gnb {
    gap: 35px;
    font-size: 18px;
  }

  .inner {
    max-width: 100%;
  }

  .inner-top {
    padding-top: 80px;
  }

  .inner-bottom {
    padding-bottom: 80px;
  }

  h2 {
    margin-bottom: 50px;
  }
  h2 span {
    font-size: 38px;
  }
  h2 i {
    font-size: 14px;
  }
  .hospital-slide-content {
    padding: 30px 60px;
  }
  .hospital-swiper .swiper-button-next,
  .hospital-swiper .swiper-button-prev {
    width: 30px;
    height: 30px;
  }
  .hospital-slide-title {
    margin-bottom: 0px;
  }
  .hospital-slide-title-desc {
    font-size: 22px;
  }
  .hospital-slide-title-desc {
    font-size: 22px;
  }
  .hospital-slide-title-text {
    font-size: 14px;
    margin: 7px 0 20px;
  }
  /*  */
  .doctor-item,
  .doctor-item:nth-child(even) {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
  }
  #doctor .inner-bottom {
    padding-bottom: 0;
  }
  .doctor-img-wrap {
    width: 90%;
  }
  .doctor-item:nth-child(even) .doctor-img-wrap {
    align-self: flex-end;
  }
  .doctor-item:nth-child(even) .doctor-info {
    padding-left: 10vw;
  }
  .doctor-img .doctor-inner {
    display: flex;
    justify-content: center;
  }
  .doctor-name {
    font-size: 25px;
    margin-bottom: 10px;
  }
  .doctor-img-desc p {
    font-size: 16px;
  }
  .doctor-info-list {
    font-size: 17px;
  }
  .non-section-title-wrap {
    border-radius: 70px 70px 0 0;
  }
  /*  */
  .subject-detail-content-item .detail-wrap {
    flex-direction: column;
  }
  .subject-detail-content-item .detail-img {
    align-self: center;
    width: 70%;
  }
  .detail-tabs {
    margin-bottom: 40px;
    align-self: center;
  }
  .detail-content {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .detail-treatment-content {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .detail-treatment-content ul {
    gap: 30px 60px;
  }
  .subject-detail-content-item .detail-wrap.etc {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .detail-wrap.etc .detail-etc-content {
    flex: 1 0 40%;
    /* align-items: center; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }
  .detail-wrap.etc .detail-etc-content .detail-img {
    flex: 0;
  }
  .non-section-content-swiper.swiper {
    overflow: visible;
  }

  .non-section-content-item-text p {
    font-size: 16px;
  }
  .non-section-content2-item {
    flex-direction: column;
    align-items: stretch;
    margin: 0 80px;
  }
  #non-section-content2-next {
    right: 60px;
    top: 62%;
  }
  #non-section-content2-prev {
    right: 120px;
    top: 62%;
  }
  .pain-clinic-content-item,
  .pain-clinic-content-item:nth-child(even) {
    flex-direction: column;
    align-items: stretch;
  }
  .pain-clinic-content-item .pain-clinic-content-item-img {
    align-self: center;
  }
  .pain-clinic-content-item .pain-clinic-content-item-text,
  .pain-clinic-content-item:nth-child(even) .pain-clinic-content-item-text {
    margin: 0 auto;
    width: 90%;
    border-radius: 50px;
    padding: 150px 30px 50px;
  }
  .pain-clinic-content-item {
    margin-left: 0;
  }
  .pain-clinic-content-item:nth-child(even) {
    margin-right: 0;
  }
  .pain-clinic-content-item .pain-clinic-content-item-img {
    margin: 0;
    margin-bottom: -100px;
    width: 70%;
  }
  .pain-clinic-content-item-text-title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .tour-thumbs-swiper {
    border-radius: 20px;
  }
  .tour-swiper .swiper-slide {
    border-radius: 10px;
  }
  .equipment-item {
    border-radius: 30px;
    padding: 24px 16px;
    gap: 20px;
    font-size: 22px;
  }
  .notice-thumb {
    border-radius: 15px;
  }
  .search-wrap {
    padding: 5px 20px;
  }
  .schedule-wrap {
    flex-direction: column;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 768px) {
  aside {
    bottom: 0;
    right: 0;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
  }
  aside ul {
    flex-direction: row;
    width: 100%;
    gap: 0;
    border-radius: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.85);
  }
  aside ul li {
    width: 100%;
    height: auto;
    padding: 10px;
  }
  aside ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #37480f;
    font-weight: 600;
  }
  aside ul li a img {
    width: 30px;
    height: 30px;
  }
  /* 모바일에서 첫 번째 이미지 숨기고 active(두 번째) 이미지만 표시 */
  aside ul li a img:nth-of-type(1) {
    display: none !important;
  }
  aside ul li a img:nth-of-type(2) {
    display: block !important;
    opacity: 1 !important;
  }
  /* 모바일에서 퀵메뉴 일부 항목 숨김 (블로그, 인스타그램, 유튜브) */
  aside ul li:nth-child(4), /* 블로그 */
  aside ul li:nth-child(5), /* 인스타그램 */
  aside ul li:nth-child(6),
  aside .quick-btn-wrap {
    /* 유튜브 */
    display: none;
  }
  aside .to-top {
    border-radius: 0;
    box-shadow: none;
    padding: 10px;
    align-self: stretch;
    background: #37480f;
  }
  aside .to-top img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
  }
}
@media (max-width: 768px) {
  .hero {
    margin-top: 60px;
  }

  .site-header .header-inner {
    height: 60px;
    padding: 0 20px;
  }

  .logo-main {
    max-width: 180px;
  }

  .gnb {
    display: none;
  }

  .m-nav-btn {
    display: flex;
  }

  .m-nav {
    display: block;
    padding-top: 80px;
  }

  .m-nav.active {
    display: block;
    opacity: 1;
    visibility: visible;
  }
  .notice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .notice-header {
    margin-bottom: 30px;
    flex-direction: column;
    gap: 50px;
  }
}

/* =============== 반응형 디자인 (280px 이상) =============== */
@media (max-width: 560px) {
  .site-header .header-inner {
    height: 60px;
    padding: 0 20px;
    gap: 10px;
  }

  .logo-main {
    max-width: 180px;
  }

  .logo-main img {
    max-width: 100%;
    height: auto;
  }

  .gnb {
    gap: 20px;
    font-size: 14px;
  }

  .inner-top {
    padding-top: 60px;
  }

  .inner-bottom {
    padding-bottom: 60px;
  }

  h2 span {
    font-size: 8vw;
  }
  .hospital-content {
    border-radius: 25px;
  }
  .hospital-slide-item {
    padding: 30px 20px;
    min-height: auto;
  }
  .hospital-slide-content {
    padding: 0px 5px;
  }
  .hospital-slide-title-num {
    font-size: 8vw;
  }
  .hospital-slide-title-text {
    font-size: 2.9vw;
  }
  .hospital-slide-title-desc {
    font-size: 4.3vw;
  }
  .hospital-slide-title-desc br {
    display: none;
  }
  .doctor-name {
    font-size: 5.4vw;
    line-height: 1.5;
  }
  .doctor-img-desc p {
    font-size: 3.3vw;
  }
  .doctor-info-list {
    font-size: 3.6vw;
  }
  .doctor-item:nth-child(odd) .doctor-img-wrap {
    border-radius: 0 0 50px 0;
  }
  .doctor-item:nth-child(even) .doctor-img-desc {
    border-radius: 50px 0 0 0;
  }
  .doctor-item:nth-child(even) .doctor-img-wrap {
    border-radius: 50px 0 0 0;
  }
  .doctor-img-desc {
    padding: 30px;
  }
  .medical-subject-wrap {
    border-radius: 0 210px 210px 0;
    align-items: flex-start;
    padding: 50px 20px;
  }
  .human-desc li a.effect-wrap .box {
    font-size: 3vw;
  }
  .human-desc li a.effect-wrap .box img {
    width: 6px;
  }
  .human-desc li a > img {
    width: 50px;
    aspect-ratio: 1 / 1;
  }
  .human-desc li.neck {
    top: 7%;
    left: 45%;
  }
  .human-desc li.etc {
    top: 82%;
    left: 70%;
  }
  .human-desc li.right .effect-wrap .line {
    left: 50%;
    right: auto;
  }
  .human-desc li.back a.effect-wrap .box {
    left: 90px;
  }
  .human-desc li.hand a.effect-wrap .box {
    right: -220px;
  }
  .human-desc li.right .effect-wrap .box {
    left: auto;
    right: -140px;
  }
  .human-desc li.hand a.effect-wrap .line {
    width: 150px;
  }
  .human-desc li.etc a.effect-wrap .box {
    bottom: auto;
  }
  .medical-subject-desc {
    font-size: 3.5vw;
  }
  .subject-detail-title {
    font-size: 7vw;
    margin-bottom: 20px;
  }
  .subject-detail-content-item-desc {
    font-size: 3.4vw;
    margin-bottom: 20px;
  }
  .subject-detail-content-item .detail-img {
    padding: 20px;
  }
  .detail-img span {
    font-size: 4vw;
    width: 15vw;
    height: 15vw;
  }
  .detail-tabs {
    margin-bottom: 25px;
  }
  .detail-tab {
    padding: 10px 20px;
    font-size: 4vw;
  }
  .detail-disease-list ul li {
    gap: 6px;
    flex-direction: column;
  }
  .detail-disease-list ul li span {
    font-size: 4.5vw;
  }
  .detail-disease-list ul li i {
    font-size: 4vw;
    padding-left: 4vw;
  }
  .detail-footer {
    margin-top: 30px;
  }
  .detail-footer i {
    font-size: 4vw;
  }
  .detail-treatment-content ul {
    gap: 20px 30px;
  }
  .detail-treatment-content ul li {
    gap: 10px;
  }
  .detail-treatment-content ul li span {
    font-size: 4.5vw;
  }
  .subject-detail-content-item .detail-wrap.etc {
    gap: 20px;
  }
  .detail-wrap.etc .detail-etc-content {
    flex: 1 0 90%;
  }
  .etc-title {
    font-size: 5vw;
    margin: 20px 0 10px;
  }
  .etc-content {
    font-size: 3.7vw;
    text-align: center;
  }
  .non-section-title-wrap p {
    font-size: 4vw;
  }
  .non-section-content-desc {
    font-size: 4vw;
    margin-bottom: 40px;
  }
  .non-section-content {
    border-radius: 0 0 40px 40px;
  }
  .non-section-content-item-text h4 {
    font-size: 5vw;
  }
  .non-section-content-item-text p {
    font-size: 3.6vw;
  }
  .non-section-content2-item {
    margin: 0;
  }
  .non-section-content2 .bg-wrap.bg3 {
    width: 100%;
    border-radius: 0 0 50px 0;
  }
  #non-section-content2-next,
  #non-section-content2-prev {
    display: none;
  }
  .non-section-content2-item-text-title h4 {
    font-size: 6.5vw;
  }
  .non-section-content2-item-text-title i {
    font-size: 4vw;
  }
  .non-section-content2-item-text p {
    font-size: 3.7vw;
  }
  .non-section-content2-item-text h5 {
    font-size: 5vw;
  }
  h3 {
    font-size: 7.5vw;
    margin-bottom: 20px;
  }
  .pain-clinic-content-item .pain-clinic-content-item-img {
    border-radius: 20px;
  }
  .pain-clinic-content-item .pain-clinic-content-item-text,
  .pain-clinic-content-item:nth-child(even) .pain-clinic-content-item-text {
    margin: 0 auto;
    width: 90%;
    border-radius: 10px;
    padding: 130px 20px 30px;
  }
  .pain-clinic-content-item-text-title {
    font-size: 5.5vw;
    margin-bottom: 20px;
  }
  .pain-clinic-content-item-text-title i {
    font-size: 4vw;
  }
  .pain-clinic-content-item-text p {
    font-size: 3.7vw;
  }
  .pain-clinic-content-item:not(:last-child) {
    margin-bottom: 30px;
  }
  .pain-clinic {
    border-radius: 0 0 30px 30px;
  }
  .tour-wrap {
    margin-left: 2.5vw;
    flex-direction: column;
  }
  #tour::after {
    height: 17%;
  }
  .tour-swiper.swiper-horizontal {
    &.swiper-rtl .swiper-button-next,
    &.swiper-rtl ~ .swiper-button-next,
    & ~ .swiper-button-prev,
    .swiper-button-prev {
      display: none;
    }
  }
  .tour-swiper.swiper-horizontal {
    &.swiper-rtl .swiper-button-prev,
    &.swiper-rtl ~ .swiper-button-prev,
    & ~ .swiper-button-next,
    .swiper-button-next {
      display: none;
    }
  }
  .swiper-pagination-progressbar.equipment-pagination {
    margin-top: 40px;
  }
  .notice-body {
    padding: 10px 0px 0px;
  }
  .notice-body .notice-title,
  .notice-card .notice-title,
  .blog-card .notice-title {
    font-size: 4vw;
  }
  .notice-grid {
    gap: 10px;
  }
  .notice-empty {
    font-size: 4vw;
  }

  .pagination {
    margin-top: 20px;
  }
  .pagination .page-link {
    padding: 6px;
    font-size: 4vw;
  }
  .schedule-header {
    margin-bottom: 20px;
  }
  .schedule-info-tel {
    font-size: 9vw;
    margin-bottom: 16px;
  }
  .schedule-info {
    padding: 20px 15px;
    border-radius: 20px;
  }
  .schedule-info ul li {
    gap: 10px;
    font-size: 4.5vw;
  }
  schedule-info ul li span {
    width: 13vw;
  }
  .schedule-info ul li strong em {
    font-size: 4vw;
  }
  .schedule-info-time,
  .schedule-info-address {
    padding: 8px 20px;
    gap: 8px;
    font-size: 6vw;
  }
  address {
    font-size: 5vw;
  }
  .schedule-info-address {
    margin: 15px 0 10px;
  }
  .schedule-info-address-desc {
    font-size: 3.5vw;
  }
  .site-footer {
    padding: 40px 0;
  }
  .footer-name {
    font-size: 4vw;
  }
  .footer-address p {
    font-size: 3.7vw;
  }
  .footer-links {
    gap: 20px;
    font-size: 3.6vw;
  }
  .footer-copyright p {
    font-size: 3vw;
  }
  .site-footer hr {
    margin: 20px 0;
  }
}

@media (max-width: 420px) {
  .non-section-content-swiper .swiper-slide {
    width: calc(100vw - 40px) !important;
  }
}

@media (max-width: 360px) {
  .site-header .header-inner {
    padding: 0 15px;
  }

  .logo-main {
    max-width: 150px;
  }
  h2 {
    margin-bottom: 40px;
  }
  .human-desc li a.effect-wrap .box {
    left: 55px;
  }
  .human-desc li.back a.effect-wrap .box {
    left: 70px;
  }
  .human-desc li.back a.effect-wrap .line {
    width: 70px;
  }
  .human-desc li.hand a.effect-wrap .box {
    right: -181px;
  }
  .human-desc li.right .effect-wrap .box {
    right: -110px;
  }
  .human-desc li a.effect-wrap .box {
    padding: 6px 15px 6px 15px;
  }
  .human-desc li a.effect-wrap .line {
    width: 70px;
  }
  .subject-detail-content-item .detail-img {
    padding: 13px;
  }
  .non-section-title-wrap h2 {
    margin-bottom: 20px;
  }
  .non-section-title-wrap {
    border-radius: 40px 40px 0 0;
  }
  .non-section-content-item-img {
    width: 100%;
    height: 200px;
  }
  .non-section-content-swiper {
    height: auto;
  }
  .non-section-content-swiper {
    height: 20%;
  }
  .notice-header {
    margin-bottom: 20px;
    gap: 30px;
  }
}

@media (max-width: 280px) {
  .site-header .header-inner {
    height: 50px;
    padding: 0 10px;
  }

  .logo-main {
    max-width: 120px;
  }

  .m-nav-btn {
    width: 24px;
    height: 24px;
  }

  .inner {
    padding-left: 15px;
    padding-right: 15px;
  }

  .inner-top {
    padding-top: 80px;
  }

  .inner-bottom {
    padding-bottom: 60px;
  }

  .hero {
    height: 60vh;
    min-height: 500px;
  }

  .hero .txt-box {
    font-size: 18px;
  }

  .hero .inner p {
    font-size: 14px;
  }

  .section {
    padding: 30px 0;
  }

  .section-title {
    font-size: 20px;
    gap: 10px;
  }

  .section-title .bg_text {
    font-size: 32px;
    top: 15px;
  }

  .section-title .tit-txt {
    font-size: 20px;
  }

  .footer-top {
    font-size: 14px;
  }

  .footer-account .account-label {
    font-size: 16px;
  }

  .footer-account .account-number {
    font-size: 20px;
  }

  .pagination .page-link {
    min-width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .press-view {
    padding: 20px 15px;
  }

  .press-view-title {
    font-size: 20px;
  }

  #post-body {
    font-size: 14px;
  }

  #post-body p,
  #post-body li {
    font-size: 14px;
  }

  #post-body h1 {
    font-size: 22px;
  }

  #post-body h2 {
    font-size: 20px;
  }

  #post-body h3 {
    font-size: 18px;
  }

  #post-body h4 {
    font-size: 16px;
  }

  #post-body h5,
  #post-body h6 {
    font-size: 14px;
  }
}

/* 모달 스타일 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background-color: var(--color-white);
  border-radius: 8px;
  max-width: 1200px;
  width: 90%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  border-bottom: 1px solid #e0e0e0;
  background-color: var(--color-white);
  z-index: 1;
  flex-shrink: 0;
}

.modal-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-black);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 32px;
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  line-height: 1;
}

.modal-close:hover {
  color: var(--color-black);
}

.modal-content {
  padding: 40px;
  color: var(--color-black);
  line-height: 1.8;
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.modal-body {
  color: var(--color-black);
  max-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding-right: 8px;
}

.modal-body::-webkit-scrollbar {
  width: 8px;
}

.modal-body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

.modal-body h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  margin-top: 0;
  text-align: left;
  color: var(--color-primary);
  line-height: 1.4;
}

.modal-body h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  margin-top: 24px;
  color: var(--color-black);
  line-height: 1.4;
}

.modal-body p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
  word-break: keep-all;
}

.modal-body br {
  line-height: 1.8;
}

.modal-body ul,
.modal-body ol {
  margin-left: 24px;
  margin-bottom: 20px;
  padding-left: 0;
}

.modal-body li {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 12px;
  word-break: keep-all;
}

.modal-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

.modal-body table th,
.modal-body table td {
  padding: 8px;
  border: 1px solid #e0e0e0;
  text-align: center;
  line-height: 1.4;
}

.modal-body table th {
  background-color: #f5f5f5;
  font-weight: 600;
  text-align: center;
}

.modal-body strong {
  font-weight: 600;
  color: var(--color-black);
}

.site_tit {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
}

.table_sty03 {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.68;
  border-collapse: collapse;
  width: 100%;
}

#modal-non-covered .noti_txt {
  margin-left: 0;
  margin-bottom: 0;
  padding: 25px;
  background: #eeeeee;
}

/* 태블릿 반응형 */
@media (max-width: 1024px) {
  .modal-content {
    padding: 35px;
  }

  .modal-body {
    padding-right: 6px;
  }

  .modal-body::-webkit-scrollbar {
    width: 6px;
  }

  .modal-body h3 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .modal-body h4 {
    font-size: 17px;
    margin-top: 20px;
    margin-bottom: 14px;
  }

  .modal-body p,
  .modal-body li {
    font-size: 15px;
  }

  .modal-body table {
    font-size: 15px;
  }

  .modal-body table th,
  .modal-body table td {
    padding: 10px;
  }
}

/* 모바일 반응형 */
@media (max-width: 768px) {
  .modal-container {
    width: 85%;
    max-height: 85vh;
  }

  .modal-header {
    padding: 15px 20px;
  }

  .modal-title {
    font-size: 20px;
  }

  .modal-close {
    font-size: 28px;
    width: 28px;
    height: 28px;
  }

  .modal-content {
    padding: 20px;
  }

  .modal-body {
    padding-right: 4px;
  }

  .modal-body::-webkit-scrollbar {
    width: 4px;
  }

  .modal-body h3 {
    font-size: 18px;
    margin-bottom: 18px;
  }

  .modal-body h4 {
    font-size: 16px;
    margin-top: 18px;
    margin-bottom: 12px;
  }

  .modal-body p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 14px;
  }

  .modal-body ul,
  .modal-body ol {
    margin-left: 20px;
    margin-bottom: 16px;
  }

  .modal-body li {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 10px;
  }

  .modal-body table {
    font-size: 13px;
    margin: 16px 0;
  }

  .modal-body table th,
  .modal-body table td {
    padding: 8px;
    font-size: 13px;
  }
}

/* 작은 모바일 반응형 */
@media (max-width: 480px) {
  .modal-container {
    border-radius: 4px;
  }

  .modal-header {
    padding: 12px 16px;
  }

  .modal-title {
    font-size: 18px;
  }

  .modal-close {
    font-size: 24px;
    width: 24px;
    height: 24px;
  }

  .modal-content {
    padding: 16px;
  }

  .modal-body {
    padding-right: 4px;
  }

  .modal-body::-webkit-scrollbar {
    width: 4px;
  }

  .modal-body h3 {
    font-size: 17px;
    margin-bottom: 16px;
  }

  .modal-body h4 {
    font-size: 15px;
    margin-top: 16px;
    margin-bottom: 10px;
  }

  .modal-body p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 12px;
  }

  .modal-body ul,
  .modal-body ol {
    margin-left: 18px;
    margin-bottom: 14px;
  }

  .modal-body li {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 8px;
  }

  .modal-body table {
    font-size: 12px;
    margin: 14px 0;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .modal-body table th,
  .modal-body table td {
    padding: 6px;
    font-size: 12px;
    white-space: nowrap;
  }
}

/* 매우 작은 화면 */
@media (max-width: 360px) {
  .modal-content {
    padding: 14px;
  }

  .modal-body {
    padding-right: 3px;
  }

  .modal-body::-webkit-scrollbar {
    width: 3px;
  }

  .modal-body h3 {
    font-size: 16px;
  }

  .modal-body h4 {
    font-size: 14px;
  }

  .modal-body p,
  .modal-body li {
    font-size: 12px;
  }
}
