@charset "utf-8";
@import url("/share/css/swiper.min.css");
#container {
  background:
    url(../img/main/left-bg.png) no-repeat left -19.8rem / 45.5rem,
    url(../img/main/right-bg.png) no-repeat right 7.6rem / 51rem;
  overflow: hidden;
}
@media (max-width: 767px) {
  #container {
    background: none;
  }
}
.top-con {
  display: flex;
  gap: 5rem;
  padding-top: 8rem;
  padding-bottom: 8rem;
}
@media (max-width: 1023px) {
  .top-con {
    flex-direction: column;
    align-items: center;
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}
@media (max-width: 767px) {
  .top-con {
    gap: 3rem;
  }
}
#pzone {
  flex: 1 1 auto;
  position: relative;
  max-width: 100rem;
  width: 100%;
  height: 50.6rem;
}
#pzone .control-box {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 2.2rem;
  padding-bottom: 1.8rem;
  border-radius: 0 3rem 0 0;
  background: #fff;
  z-index: 2;
}
#pzone .control-box::after,
#pzone .control-box::before {
  content: "";
  position: absolute;
  width: 8rem;
  height: 8rem;
  background: url(../img/main/pzone-deco.svg) no-repeat 0 bottom / 4rem;
}
#pzone .control-box::after {
  left: 0;
  top: -8rem;
}
#pzone .control-box::before {
  right: -8rem;
  bottom: 0;
}
#pzone .control-box .swiper-pagination {
  position: static;
  display: block;
  width: auto;
  font-size: 1.5rem;
  line-height: 130%;
}
#pzone .control-box .swiper-pagination [class*="current"] {
  font-weight: 600;
}
#pzone .control-box .progress-track {
  position: relative;
  width: 10rem;
  height: 0.2rem;
  background: rgba(30, 33, 36, 0.3);
  overflow: hidden;
}
#pzone .control-box .progress-fill {
  --progress: 0;
  position: absolute;
  left: 0;
  top: 0;
  width: calc(100% * var(--progress));
  height: 100%;
  background: var(--ft-c-basic);
}
#pzone .control-box .control-btn {
  display: flex;
  padding-right: 2rem;
  gap: 0.5rem;
}
#pzone .control-box .control-btn button {
  display: block !important;
  width: 3rem;
  height: 3rem;
  border-radius: 4rem;
  border: 1px solid var(--border);
  background: #fff url(../img/main/pzone-control.svg) no-repeat 0 0 / 11.2rem;
  transition: none;
}
#pzone .control-box .control-btn .toggle-play {
  background-position: -2.8rem 0;
}
#pzone .control-box .control-btn .toggle-play.paused {
  background-position: calc(-2.8rem * 2) 0;
}
#pzone .control-box .control-btn .next {
  background-position: calc(-2.8rem * 3) 0;
}
#pzone .swiper {
  border-radius: 3rem;
  overflow: hidden;
}
#pzone .swiper a {
  display: block;
  border-radius: 3rem;
}
#pzone .swiper .swiper-slide {
  width: 100% !important;
}
@media (max-width: 1023px) {
  #pzone .control-box {
    border-radius: 0 3rem 0 3rem;
  }
  #pzone .control-box::after {
    top: -7.8rem;
  }
  #pzone .control-box::before {
    bottom: -0.2rem;
  }
}
@media (max-width: 767px) {
  #pzone {
    display: flex;
    flex-direction: column-reverse;
    height: auto;
  }
  #pzone .control-box {
    position: static;
  }
}
#info {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 5rem;
  width: 100%;
  max-width: 45rem;
}
#info .info-con {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 5rem;
  border-radius: 3rem;
  background: #edf5ff;
}
#info .info-con::before {
  content: "";
  position: absolute;
  right: -2.1rem;
  bottom: -2.79rem;
  width: 20rem;
  height: 19.4rem;
  background: url(../img/main/info-con-bg.png) no-repeat 0 0 / 100%;
}
#info .info-con .call .tit {
  margin-bottom: 1rem;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: normal;
}
#info .info-con .call .tel {
  color: var(--point);
  font-size: 3.5rem;
  font-weight: 600;
  line-height: normal;
}
#info .info-con .time .tit {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1.9rem;
  font-weight: 600;
  line-height: normal;
}
#info .info-con .time .tit::before {
  content: "";
  width: 2.4rem;
  height: 2.4rem;
  background: url(../img/main/info-time.svg) no-repeat 0 0 / 100%;
}
#info .info-con .time ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-left: 1rem;
  padding: 0.5rem 0 0.5rem 2rem;
  border-left: 2px solid var(--ft-c-basic);
}
#info .info-con .time ul > li {
  display: flex;
  gap: 0.5rem;
  font-size: 1.6rem;
  line-height: normal;
}
#info .info-con .time ul > li span {
  flex: 0 0 auto;
  width: 6rem;
  font-weight: 600;
  line-height: normal;
}
#info .info-con .time ul > li.close {
  color: #e35252;
  font-size: 1.5rem;
}
#info .info-con .time ul > li.close::before {
  content: "";
  width: 1.7rem;
  height: 1.7rem;
  background: url(../img/main/info-time-close.svg) no-repeat 0 0 / 100%;
}
#info .info-link {
  display: flex;
}
#info .info-link > li {
  position: relative;
  flex-basis: 50%;
}
#info .info-link > li:nth-child(1) {
  border-right: 1px solid var(--border);
}
#info .info-link > li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
  font-size: 2rem;
  line-height: normal;
}
#info .info-link > li a::before {
  content: "";
  width: 7rem;
  height: 7rem;
  background: url(../img/main/info-link.svg) no-repeat 0 0 / 14rem;
}
#info .info-link > li:nth-child(2) a::before {
  background-position: -7rem;
}
@media (max-width: 1023px) {
  #info {
    max-width: 100%;
  }
}
@media (max-width: 420px) {
  #info .info-con {
    padding: 3rem;
  }
  #info .info-con::before {
    display: none;
  }
  #info .info-con .call .tel {
    font-size: 3rem;
  }
}
#quick {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem 1rem;
  padding: 3rem 5rem;
  border-radius: 3rem;
  background: #f0f8fe;
}
#quick a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 2rem;
  min-width: 12rem;
  line-height: normal;
}
#quick .long a {
  gap: 1rem;
}
#quick a::before {
  content: "";
  width: 6rem;
  height: 6rem;
  background: url(../img/main/quick.svg) no-repeat 0 0 / calc(6rem * 10);
}
#quick :nth-child(2) a::before {
  background-position: calc(-6rem * 1) 0;
}
#quick :nth-child(3) a::before {
  background-position: calc(-6rem * 2) 0;
}
#quick :nth-child(4) a::before {
  background-position: calc(-6rem * 3) 0;
}
#quick :nth-child(5) a::before {
  background-position: calc(-6rem * 4) 0;
}
#quick :nth-child(6) a::before {
  background-position: calc(-6rem * 5) 0;
}
#quick :nth-child(7) a::before {
  background-position: calc(-6rem * 6) 0;
}
#quick :nth-child(8) a::before {
  background-position: calc(-6rem * 7) 0;
}
#quick :nth-child(9) a::before {
  background-position: calc(-6rem * 8) 0;
}
#quick :nth-child(10) a::before {
  background-position: calc(-6rem * 9) 0;
}
@media (max-width: 1023px) {
  #quick {
    justify-content: center;
  }
}
@media (max-width: 767px) {
  #quick {
    padding: 3rem;
  }
}
.btm-con {
  display: flex;
  gap: 5rem;
  padding-top: 8rem;
  padding-bottom: 8rem;
}
@media (max-width: 1023px) {
  .btm-con {
    flex-direction: column;
    align-items: center;
  }
}
#board .tab-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
#board .tablist {
  display: flex;
  gap: 2rem;
  padding-right: 5rem;
}
#board .tablist button {
  font-size: 3.5rem;
  font-weight: 400;
  opacity: 0.6;
}
#board .tablist .select {
  color: #2739ac;
  font-size: 3.5rem;
  font-weight: 600;
  opacity: 1;
}
#board .tablist :nth-child(2) button {
  display: flex;
  align-items: center;
  gap: 2rem;
}
#board .tablist :nth-child(2) button::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 3rem;
  background: var(--ft-c-basic);
  opacity: 0.6;
}
#board .tabpanel > div {
  display: none;
}
#board .tabpanel .active {
  display: block;
}
#board .tabpanel .list {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}
#board .tabpanel .list > li {
  width: calc(50% - 1.5rem);
}
#board .tabpanel .list > li > a {
  position: relative;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: 4rem;
  border-radius: 3rem;
  background: #fff;
  overflow: hidden;
}
#board .tabpanel .list > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 3rem;
  border: 1px solid var(--border);
  transition: var(--transition);
}
#board .tabpanel .list > li > a:hover::after {
  border: 2px solid #2739ac;
}
#board .tabpanel .list > li > a .tag {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: normal;
  border-radius: 0.5rem;
}
#board .tabpanel .list > li > a .tag.new {
  background: #ea4646;
}
#board .tabpanel .list > li > a .tag.c-01 {
  /*건강정보*/
  background: #2f7ee6;
}
#board .tabpanel .list > li > a .tag.c-02 {
  /*비만영양*/
  background: #118f8f;
}
#board .tabpanel .list > li > a .tag.c-03 {
  /*금연*/
  background: #6f38b2;
}
#board .tabpanel .list > li > a .tag.c-04 {
  /*정신건강*/
  background: #888b0d;
}
#board .tabpanel .list > li > a .tag.c-05 {
  /*치매*/
  background: #854949;
}
#board .tabpanel .list > li > a .tit,
#board .tabpanel .list > li > a .txt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  min-height: 2rem;
  text-overflow: ellipsis;
  overflow: hidden;
  line-height: normal;
}
#board .tabpanel .list > li:not(:has(.tag)) > a .tit {
  -webkit-line-clamp: 2;
  height: 5.9rem;
  line-height: 150%;
}
#board .tabpanel .list > li > a .tit {
  font-size: 1.9rem;
  font-weight: 600;
}
#board .tabpanel .list > li > a .txt {
  margin-top: 2rem;
  margin-bottom: 3rem;
  font-size: 1.5rem;
}
#board .more {
  position: absolute;
  right: 0;
  top: 0.5rem;
  width: 4rem;
  height: 4rem;
  border-radius: 4rem;
  background: #2739ac url(../img/main/more.svg) no-repeat 0 0 / 100%;
}
@media (max-width: 420px) {
  #board .tabpanel .list {
    flex-direction: column;
    gap: 1rem;
  }
  #board .tabpanel .list > li {
    width: 100%;
  }
}
#schedule {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  max-width: 45rem;
  width: 100%;
}
#schedule h3 {
  position: relative;
  padding-top: 6rem;
  font-size: 3.5rem;
  font-weight: 400;
}
#schedule h3::after {
  content: "";
  position: absolute;
  right: -3.7rem;
  top: -4.6rem;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  background: linear-gradient(to right, #9ec2ff 0, #c3dbff 100%);
  opacity: 0.4;
}
#schedule h3 span {
  color: var(--point);
  font-size: 3.5rem;
  font-weight: 600;
}
#schedule .schedule-tbl {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 4rem;
  height: 100%;
  border-radius: 3rem;
  background: #fff;
  box-shadow: 0 0.4rem 1.5rem 0 rgba(0, 0, 0, 0.1);
}
#schedule .schedule-tbl::before {
  content: "";
  position: absolute;
  right: 3.8rem;
  top: -10.7rem;
  width: 24.3rem;
  height: 11.9rem;
  background: url(../img/main/schedule-deco.png) no-repeat 0 0 / 100%;
}
#schedule .schedule-tbl tbody {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
#schedule .schedule-tbl tr {
  display: flex;
  width: 100%;
  min-height: 3rem;
}
#schedule .schedule-tbl th,
#schedule .schedule-tbl td {
  flex: 1 1 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  min-width: 2rem;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: normal;
}
#schedule .schedule-tbl th {
  color: #888;
}
#schedule .schedule-tbl td:has(.today) {
  color: var(--point);
  font-weight: 600;
}
#schedule .schedule-tbl .today {
  position: absolute;
  top: -1rem;
  color: var(--point);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
}
#schedule .schedule-tbl .tag {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
#schedule .schedule-tbl .tag li {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
}
#schedule .schedule-tbl .tag .c-01 {
  background: #ea4646;
}
#schedule .schedule-tbl .tag .c-02 {
  background: #9546ea;
}
#schedule .schedule-tbl .tag .c-03 {
  background: #4688ea;
}
/* 캘린더 호버 효과 */
#schedule .schedule-tbl td:has(ul.tag) {
  cursor: pointer;
  transition: background-color 0.2s;
}
#schedule .schedule-tbl td:has(ul.tag):hover {
  background-color: #f0f8fe;
  border-radius: 1rem;
}
/* 모달 레이어 스타일 */
.sch-modal-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}
.sch-modal-box {
  position: relative;
  width: 90%;
  max-width: 38rem;
  background: #fff;
  padding: 2.8rem;
  border-radius: 3rem;
  box-shadow: 0 0.4rem 1.5rem rgba(0, 0, 0, 0.15);
}
.sch-modal-close {
  position: absolute;
  top: 0.7rem;
  right: 2.5rem;
  background: none;
  border: none;
  font-size: 4rem;
  color: #888;
  cursor: pointer;
}
.sch-modal-close:hover {
  color: #333;
}
.sch-modal-title {
  font-size: 2.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1.2rem;
  padding-bottom: 1.6rem;
  text-align: center;
  border-bottom:1px solid #ccc;
}
.sch-modal-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.sch-modal-list li { 
  display: block; 
}
.sch-modal-list li a { 
  display: flex; 
  align-items: center; 
  gap: 1rem; 
  font-size: 1.5rem; 
  color: #444; 
  text-decoration: none; 
  transition: all 0.2s;
}
.sch-modal-dot { 
  display: block;
  width: 1.2rem; 
  height: 1.2rem; 
  border-radius: 50%; 
  flex-shrink: 0; 
}
.sch-modal-list li a:hover { 
  color: #111; 
  font-weight: 600;
}
.sch-modal-list li a:hover .sch-modal-dot {
  transform: scale(1.2);
  transition: transform 0.2s;
}
@media (max-width: 1023px) {
  #schedule {
    max-width: 100%;
  }
}
@media (max-width: 420px) {
  #schedule .schedule-tbl::before,
  #schedule h3::after {
    display: none;
  }
  #schedule .schedule-tbl {
    padding: 2rem;
  }
  #schedule h3 {
    padding-top: 0;
  }
  .sch-modal-box {
    padding: 3rem;
    border-radius: 2rem;
  }
  .sch-modal-title {
    font-size: 2rem;
  }
}