/* ============================================================
   메인 페이지 콘텐츠 섹션 (msec1~4) — 레거시 cuclinicjeju.com 이관
   경로 규칙: /static/ → /assets/ (V2 규칙)
   ============================================================ */

/* --- 히어로 영상 배경 (msec1) --- */
.mainVideo_wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}
.mainVideo_wrap .cover {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.3;
  z-index: 1;
}
#mainVideo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.78vh;
  z-index: 0;
  border: 0;
}
.main-content-on-video {
  position: relative;
  z-index: 10;
}

/* --- msec1 히어로 텍스트 --- */
.msec1 {
  height: 100vh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.msec1 .container {
  width: 100%;
  position: relative;
  z-index: 10;
}
.msec1 .slogan {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}
.msec1 .slogan .text1 {
  display: none;
}
.msec1 .slogan .text2 {
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-size: 62px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.msec1 .slogan .text3 {
  margin-top: 28px;
  font-weight: 600;
  line-height: 1.7;
  font-size: 22px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.msec1 .pointG {
  margin-top: 54px;
}
.msec1 .pointG ul {
  list-style: none;
  margin: 0;
  padding: 34px 40px;
  display: flex;
  gap: 0;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 18px;
  backdrop-filter: blur(2px);
}
.msec1 .pointG li {
  position: relative;
  flex: 1 1 0;
  text-align: center;
  padding: 0 28px;
  color: #fff;
}
.msec1 .pointG li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 0;
  width: 2px;
  height: calc(100% - 20px);
  background: rgba(255, 255, 255, 0.35);
}
.msec1 .pointG .tit {
  display: block;
  font-weight: 700;
  font-size: 12px;
  opacity: 0.75;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.msec1 .pointG p {
  margin: 0;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
@media (max-width: 768px) {
  .msec1 .pointG ul {
    flex-direction: column;
    padding: 26px 22px;
  }
  .msec1 .pointG li {
    padding: 18px 0;
  }
  .msec1 .slogan .text2 {
    font-size: 42px;
  }
  .msec1 .slogan .text3 {
    font-size: 18px;
  }
  .msec1 .pointG li:not(:last-child)::after {
    top: auto;
    right: auto;
    left: 10px;
    bottom: 0;
    width: calc(100% - 20px);
    height: 2px;
  }
}

/* --- msec2, msec3 (base) --- */
.msec2,
.msec3 {
  color: #fff;
  line-height: 1.4;
  --swiper-theme-color: #007aff;
  --swiper-navigation-size: 44px;
  --main-color: #F2CEA6;
  --main-color-dark: #936F46;
  --btn-color: #BF9770;
  font-family: 'Pretendard', sans-serif;
  font-size: 18px;
  word-break: keep-all;
  margin: 0;
  box-sizing: border-box;
  background: #333;
  padding: 120px 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* --- msec3 (클리닉 그리드) --- */
.msec3 {
  background: #fff;
  color: #333;
  padding: 150px 0;
}
.msec3 .list {
  display: flex;
  gap: 22px;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
.msec3 li {
  width: calc((100% - 22px*3)/4);
}
.msec3 li a {
  display: block;
  height: 100%;
  background: #E4E4E4;
  border-radius: 20px;
  padding: 40px 35px;
  transition: background 0.3s;
  color: inherit;
  text-decoration: none;
}
.msec3 li a:after {
  display: block;
  content: '';
  clear: both;
}
.msec3 li a:hover {
  background: var(--main-color-dark);
}
.msec3 li a:hover .tit,
.msec3 li a:hover .more {
  color: #fff;
}
.msec3 li a:hover .picto {
  filter: invert(1);
}
.msec3 li .tit {
  font-size: 32px;
}
.msec3 li .more {
  font-size: 16px;
  color: #888;
  margin: 10px 0;
}
.msec3 li .picto {
  width: 100px;
  height: 120px;
  float: right;
  margin-top: 20px;
  background-repeat: no-repeat;
  background-position: center;
}
.msec3 li:nth-child(1) .picto { background-image: url("/assets/img/ms3_ico1.png"); }
.msec3 li:nth-child(2) .picto { background-image: url("/assets/img/ms3_ico2.png"); }
.msec3 li:nth-child(3) .picto { background-image: url("/assets/img/ms3_ico3.png"); }
.msec3 li:nth-child(4) .picto { background-image: url("/assets/img/ms3_ico4.png"); }
.msec3 li:nth-child(5) .picto { background-image: url("/assets/img/ms3_ico5.png"); }
.msec3 li:nth-child(6) .picto { background-image: url("/assets/img/ms3_ico6.png"); }
.msec3 li:nth-child(7) .picto { background-image: url("/assets/img/ms3_ico6.png"); }
.msec3 li:nth-child(8) .picto { background-image: url("/assets/img/ms3_ico6.png"); }

.msec2 *,
.msec2 *::before,
.msec2 *::after,
.msec3 *,
.msec3 *::before,
.msec3 *::after {
  box-sizing: border-box;
}

/* --- msec2 (스와이퍼 소개) --- */
@media all and (min-width: 1025px) {
  .msec2 .htit {
    font-size: 42px;
    color: var(--main-color);
  }
  .msec2 .desc {
    color: #fff;
    margin: 25px 0 50px;
    line-height: 1.5;
  }
  .msec2 .more a {
    display: inline-block;
    line-height: 50px;
    color: #fff;
    padding: 0 50px;
    border: 1px solid #fff;
    border-radius: 50px;
    transition: 0.3s;
    text-decoration: none;
  }
  .msec2 .more a:hover {
    background: #fff;
    color: #000;
    text-decoration: none;
  }
  .msec2 .swiper-slide {
    display: flex;
    justify-content: space-between;
    gap: 10%;
  }
  .msec2 .swiper-slide > div {
    flex: 1;
    max-width: 545px;
  }
}
@media all and (max-width: 1024px) {
  .msec2 .htit {
    font-size: 25px;
    color: var(--main-color);
    word-break: keep-all;
  }
  .msec2 .desc {
    color: #fff;
    margin: 15px 0 30px;
    line-height: 1.5;
  }
  .msec2 .more a {
    display: inline-block;
    line-height: 35px;
    color: #fff;
    padding: 0 30px;
    border: 1px solid #fff;
    border-radius: 50px;
    transition: 0.3s;
    text-decoration: none;
  }
  .msec2 .more a:hover {
    background: #fff;
    color: #000;
    text-decoration: none;
  }
  .msec2 .swiper-slide {
    display: flex;
    justify-content: space-between;
    gap: 5%;
  }
  .msec2 .swiper-slide > div {
    flex: 1;
    max-width: 545px;
  }
}
.msec2 .thumb img {
  width: 100%;
  height: auto;
  display: block;
}
.msec2 .swiper-pagination {
  font-family: 'Pretendard', sans-serif;
  box-sizing: border-box;
  word-break: keep-all;
  margin: 0;
  padding: 0;
  text-align: center;
  transition: .3s opacity;
  transform: translate3d(0, 0, 0);
  z-index: 10;
  top: var(--swiper-pagination-top, auto);
  position: absolute;
  left: auto;
  right: 0;
  bottom: 0;
  font-size: 22px;
  color: #fff;
  width: auto;
  font-weight: 300;
}
.msec2 .swiper-pagination-current {
  font-size: 32px;
  margin-right: -4px;
}
.msec2 .swiper-pagination-total {
  margin-left: -4px;
  font-weight: 200;
}
.msec2 {
  --swiper-theme-color: #007aff;
  --swiper-navigation-size: 44px;
}
.msec2 .swiper-button-prev,
.msec2 .swiper-button-next {
  margin: 0;
  padding: 0;
  position: absolute;
  top: var(--swiper-navigation-top-offset, 50%);
  margin-top: calc(0px - (var(--swiper-navigation-size)/ 2));
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--swiper-navigation-color, var(--swiper-theme-color));
  right: auto;
  width: 100px;
  height: 100px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100px 100px;
}
.msec2 .swiper-button-prev {
  background-image: url("/assets/img/swiper_prev.png");
  left: -160px;
}
.msec2 .swiper-button-next {
  background-image: url("/assets/img/swiper_next.png");
  right: -160px;
  left: auto;
}
.msec2 .swiper-button-prev::after,
.msec2 .swiper-button-next::after {
  display: none;
}
.msec2 .container {
  position: relative;
}
@media all and (max-width: 1024px) {
  .msec2 {
    padding: 60px 0;
  }
  .msec2 .swiper {
    padding-bottom: 30px;
  }
  .msec2 .swiper-slide {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .msec2 .con1 .htit {
    font-size: 32px;
  }
  .msec2 .swiper-button-prev {
    left: 4%;
    top: auto;
    bottom: -30px;
    margin: 0;
    width: 50px;
    height: 50px;
    background-size: 50px;
  }
  .msec2 .swiper-button-next {
    right: 4%;
    top: auto;
    bottom: -30px;
    margin: 0;
    width: 50px;
    height: 50px;
    background-size: 50px;
  }
  .msec2 .swiper-pagination {
    left: 0;
    right: 0;
    bottom: -20px;
    width: 100%;
    text-align: center;
    font-size: 14px;
    font-weight: 300;
  }
  .msec2 .swiper-pagination-current {
    font-size: 20px;
    margin-right: 0;
  }
  .msec2 .swiper-pagination-total {
    margin-left: 0;
    font-weight: 200;
  }
  .msec3 {
    padding: 60px 0;
  }
  .msec3 .list {
    gap: 5px;
  }
  .msec3 li {
    width: calc((100% - 5px)/2);
  }
  .msec3 li a {
    padding: 25px 20px;
  }
  .msec3 li .tit {
    font-size: 20px;
  }
  .msec3 li .more {
    font-size: 13px;
    margin: 10px 0;
  }
  .msec3 li .picto {
    width: 60px;
    height: 60px;
    margin-top: 10px;
    background-size: 50px 50px;
  }
}
@media all and (min-width: 1025px) {
  .m_tit h3 {
    font-size: 42px;
    font-weight: 700;
  }
  .m_tit .desc {
    margin: 20px 0 40px;
  }
}
@media all and (max-width: 1024px) {
  .m_tit h3 {
    font-size: 24px;
    font-weight: 700;
  }
  .m_tit .desc {
    margin: 15px 0 30px;
  }
}
.msec2 .swiper-pagination {
  color: inherit;
}

/* --- msec4 (병원 소개/둘러보기) --- */
.msec4 {
  padding: 100px 0;
  background: #333;
  color: #fff;
  --main-color: #F2CEA6;
  --main-color-dark: #936F46;
  --btn-color: #BF9770;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.msec4 .container {
  display: flex;
  gap: 8%;
}
.msec4 .tit {
  font-size: 152px;
  color: rgba(255, 255, 255, 0.1);
  font-weight: 800;
  line-height: 1.2;
}
.msec4 .list {
  flex: 1;
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.msec4 .list li {
  flex: 1;
  border-bottom: 8px solid #fff;
  padding-bottom: 10px;
}
.msec4 .list li a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.msec4 .list li a:hover .thumb img {
  transform: scale(1.1);
}
.msec4 .list li .thumb {
  overflow: hidden;
}
.msec4 .list li .thumb img {
  transition: 0.3s;
  width: 100%;
  height: auto;
  display: block;
}
.msec4 .list li .info {
  margin: 20px 0;
}
.msec4 .list li .name {
  font-size: 32px;
  color: var(--main-color);
}
.msec4 .list li .desc {
  color: #fff;
  line-height: 1.4;
  margin: 20px 0;
}
@media all and (max-width: 1024px) {
  .msec4 {
    padding: 60px 0;
    background: #333;
  }
  .msec4 .container {
    display: block;
  }
  .msec4 .tit {
    width: 100%;
    font-size: 60px;
    color: rgba(255, 255, 255, 0.1);
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 20px;
  }
  .msec4 .list {
    flex: 1;
    display: flex;
    gap: 10px;
  }
  .msec4 .list li {
    flex: 1;
    border-bottom: 4px solid #fff;
    padding-bottom: 10px;
  }
  .msec4 .list li .info {
    margin: 20px 0;
  }
  .msec4 .list li .name {
    font-size: 20px;
    color: var(--main-color);
  }
  .msec4 .list li .desc {
    color: #fff;
    line-height: 1.4;
    margin: 20px 0;
  }
}
