/* clinic-section */
.clinic-section {
  padding: 180px 0 100px;
}

.clinic-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.info-inner {
  padding-top: 100px !important;
}

@media (max-width: 768px) {
  .clinic-section {
    padding: 120px 0 80px;
  }

  .info-inner {
    padding-top: 80px !important;
  }
}

/* care-section */
.care-section {
  padding: 180px 0 130px;
}

.care-column {
  display: flex;
  gap: 57px;
  max-width: 1200px;
  margin-left: auto;
  margin-top: 85px;
  color: var(--main-color);
}

.care-image {
  display: flex;
}

.care-image img {
  width: 100%;
}

.care-content {
  flex: 1;
}

.care-process-title {
  font-size: 24px;
  line-height: 40px;
  font-weight: 200;
  margin-bottom: 55px;
}

.care-process {
  list-style: none;
  margin: 0;
  padding: 0;
}

.care-process-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 0 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
  margin-bottom: 20px;
}

.care-process-item:last-child {
  border-bottom: none;
  padding: 0;
  margin-bottom: 0;
}

.care-process-text .ko {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 7px;
}

.care-process-text .en {
  font-size: 15px;
  opacity: 0.5;
  margin-bottom: 17px;
}

.care-process-text .desc {
  font-size: 15px;
  font-weight: 200;
  line-height: 24px;
}

@media (max-width: 1024px) {
  .care-column {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .care-column {
    margin-top: 50px;
  }

  .care-process-item {
    align-items: flex-end;
    padding: 0 0 10px;
    margin-bottom: 15px;
  }

  .care-process-title {
    font-size: 20px;
    margin-bottom: 35px;
  }

  .care-process-text .ko {
    font-size: 16px;
  }

  .care-process-text .en {
    font-size: 13px;
    margin-bottom: 15px;
  }

  .care-process-text .desc {
    font-size: 14px;
    word-break: keep-all;
  }

  .care-section {
    padding: 120px 0 80px;
  }
}

/* daylil-section */
.daylil-section {
  padding: 100px 0;
  background-color: #f9f9f9;
}

.daylil-inner {
  max-width: 1820px;
  margin: 0 auto;
}

.daylil-title {
  font-size: 64px;
  margin-bottom: 25px;
  line-height: 70px;
}

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

.article-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.daylil-card {
  background: #fff;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.daylil-thumb {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin-bottom: 24px;
}

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

.daylil-body {
  margin-bottom: 25px;
}

.daylil-name {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}

.daylil-cols {
  display: flex;
  gap: 30px;
}

.daylil-list {
  font-size: 15px;
  line-height: 24px;
  font-weight: 200;
  opacity: 0.7;
}

@media (max-width: 1820px) {
  .daylil-cols {
    flex-wrap: wrap;
  }
}

@media (max-width: 1024px) {
  .daylil-grid-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px 0;
  }

  .daylil-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
  }

  .daylil-grid > * {
    flex: 0 0 80%;
  }

  .daylil-cols {
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .daylil-section {
    padding: 80px 0;
  }

  .daylil-title {
    font-size: 32px;
    line-height: 40px;
  }

  .daylil-name {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .daylil-list {
    font-size: 14px;
    line-height: 24px;
  }

  .daylil-list li {
    word-break: keep-all;
  }

  .daylil-card {
    padding: 15px;
  }
}

/* spine-daylil */
.spine-daylil {
  padding: 180px 0 120px;
}

.spine-daylil.border-top {
  border-top: 1px solid rgba(0, 0, 0, 0.4);
}

.spine-inner {
  max-width: 1820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
}

.spine-left {
  display: flex;
  flex-direction: column;
}

.spine-note {
  margin-top: auto;
  line-height: 1.3;
}

.spine-title {
  font-size: 48px;
  font-weight: 200;
  margin-bottom: 20px;
}

.spine-sub {
  font-size: 20px;
  font-weight: 200;
  opacity: 0.3;
  margin-bottom: 60px;
}

.spine-desc {
  font-size: 20px;
  line-height: 28px;
  word-break: keep-all;
}

.spine-right {
  min-width: 0;
}

.cd-acc-header {
  width: 100%;
  padding: 25px 0;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: var(--main-color);
}

.cd-acc-header span {
  color: var(--main-color);
}

.cd-acc-header span:first-child {
  word-break: keep-all;
  flex: 1;
  font-size: 20px;
  font-weight: 200;
}

.cd-acc-icon {
  width: 25px;
  height: 25px;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(0, 0, 0, 0.4);
  padding: 5px;
  border: 1px solid rgba(0, 0, 0, 0.4);
  border-radius: 50%;
}

.cd-acc-header.is-open {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.cd-acc-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease;
  padding: 0;
}

.cd-acc-panel[hidden] {
  display: none;
}

.cd-acc-panel.is-open {
  opacity: 1;
}

.cd-program-card {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 55px;
  background: #fafafa;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  padding: 55px 30px;
}

.cd-program-card.one-grid {
  grid-template-columns: 1fr;
}

.cd-program-block {
  padding-bottom: 25px;
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
}

.cd-program-block.block-bottom,
.cd-acc-header.block-bottom {
  border-bottom: transparent;
}

.cd-program-card.one-grid .cd-program-block.block-bottom,
.cd-program-block.block-bottom {
  padding-bottom: 0;
  margin-bottom: 0;
}

.cd-acc-header.block-bottom span {
  font-weight: 700;
}

.cd-program-block h4 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 30px;
}

.cd-program-block p {
  font-size: 15px;
  line-height: 24px;
  font-weight: 300;
}

.cd-program-block p span {
  opacity: 0.8;
}

.cd-program-block p span b {
  font-weight: 700;
}

.cd-best {
  color: #d13826;
  opacity: 1 !important;
  font-weight: 500;
  display: block;
  margin-top: 20px;
}

.cd-best.margin-ntop {
  margin-top: 0;
}

.cd-notes {
  font-size: 10px;
  line-height: 24px;
  font-weight: 200;
  opacity: 0.7;
}

.cd-program-image {
  font-size: 13px;
  font-weight: 200;
  text-align: left;
}

.cd-img-caption {
  margin-bottom: 10px;
}

.cd-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.spine-m-note {
  display: none;
}

@media (max-width: 1200px) {
  .spine-inner {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .spine-note {
    display: none;
  }

  .spine-m-note {
    display: block;
    line-height: 1.3;
  }
}

@media (max-width: 768px) {
  .spine-daylil {
    padding: 120px 0 80px;
  }

  .spine-title {
    font-size: 32px;
  }

  .spine-sub {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .spine-desc {
    font-size: 16px;
    line-height: 22px;
  }

  .cd-acc-header {
    padding: 20px 0;
  }

  .cd-acc-header span:first-child {
    font-size: 18px;
  }

  .cd-program-card {
    padding: 35px 20px;
    gap: 25px;
  }

  .cd-program-block h4 {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .cd-program-block p {
    font-size: 14px;
    line-height: 20px;
  }

  .cd-program-block {
    padding-bottom: 15px;
    margin-bottom: 15px;
  }

  .cd-notes {
    line-height: 20px;
  }

  .cd-img-wrap img {
    width: 100%;
  }

  .cd-acc-icon {
    padding: 2px 5px 5px;
  }
}

@media (max-width: 500px) {
  .cd-program-card {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .cd-img-wrap {
    aspect-ratio: auto;
  }
}

/* event-section */
.event-section {
  background: #f9f9f9;
  padding: 180px 0 140px;
}

.event-head {
  margin-bottom: 68px;
}

.event-head .title {
  margin-bottom: 10px;
  font-weight: 200;
}

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

.event-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.event-thumb {
  position: relative;
  overflow: hidden;
}

.event-thumb .event-img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.event-more {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 25px 25px 20px;
  /* background: rgba(0, 0, 0, 0.3); */
  display: flex;
  justify-content: flex-end;
  /* backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px); */
}

.event-card:hover .event-thumb img {
  transform: scale(1.04);
}

.event-text {
  padding-top: 20px;
}

.event-card-title {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 10px;
}

.event-card-desc {
  font-size: 14px;
  font-weight: 200;
  line-height: 24px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: keep-all;
}

@media (max-width: 1200px) {
  .event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  /* .event-grid-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
  } */

  /* .event-grid {
    display: flex;
  } */

  .event-card-desc {
    white-space: unset;
  }
  /* 
  .event-thumb img {
    width: 600px;
  } */
}

@media (max-width: 768px) {
  .event-section {
    padding: 120px 0 100px;
  }

  .event-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .event-card-title {
    font-size: 16px;
    margin-bottom: 5px;
  }

  .event-card-desc {
    line-height: 1.4;
  }

  /* .event-thumb img {
    max-width: 445px;
  } */

  .event-more {
    padding: 15px;
  }
}

@media (max-width: 425px) {
  /* .event-thumb img {
    max-width: 350px;
  } */
}

/* begin-care-section */
.begin-care-section {
  padding: 0 0 140px;
}

.begin-care-section .inner {
  display: flex;
  justify-content: space-between;
}

.begin-care-left {
  flex: 0 0 35%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.begin-care-left .label {
  margin-bottom: 90px;
}

.begin-care-left .title {
  font-weight: 200;
}

.begin-care-body-row {
  display: flex;
  align-items: flex-end;
  gap: 64px;
}

.begin-care-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: var(--main-color);
}

.begin-care-right {
  margin-top: 160px;
}

.begin-care-image img {
  width: 100%;
}

.begin-care-flex {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.btn-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 225px;
  height: 58px;
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
  user-select: none;
}

.btn--primary {
  background: var(--main-color);
  color: #fff;
  border: 1px solid var(--main-color);
}

.btn--outline {
  background: #fff;
  color: var(--main-color);
  border: 1px solid #c7c7c7;
}

@media (max-width: 1550px) {
  .begin-care-section .inner {
    flex-direction: column;
  }

  .begin-care-right {
    margin-top: 10px;
  }

  .btn-row {
    margin-top: 50px;
  }
}

@media (max-width: 768px) {
  .begin-care-section {
    padding: 0 0 45px;
  }

  .begin-care-left .label {
    margin-bottom: 50px;
  }

  .begin-care-body-row {
    align-items: flex-start;
    gap: 35px;
    flex-direction: column;
  }

  .btn-row {
    gap: 1%;
  }

  .btn {
    min-width: 49.5%;
    height: 52px;
    font-size: 16px;
  }
}

/* event-modal */
.event-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 999;
}

.event-modal.is-open {
  display: block;
}

.event-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.event-modal__content {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
  background: #fff;
  overflow: hidden;
  max-height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.event-modal__inner {
  display: flex;
  justify-content: space-between;
  padding: 50px 50px 150px;
  height: auto;
}

.event-modal__left {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  color: var(--main-color);
}

/* .event-modal__right {
  padding-right: 75px;
} */

.event-modal__left .label {
  font-size: 44px;
  line-height: 70px;
  margin-bottom: 45px;
}

.event-modal_head {
  display: flex;
  margin-bottom: 35px;
  justify-content: space-between;
  align-items: center;
}

.event-modal__title {
  font-size: 20px;
  font-weight: 500;
}

.event-modal__link {
  background: var(--main-color);
  color: #fff;
  border: 1px solid var(--main-color);
  line-height: 40px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.event-modal__date {
  font-size: 13px;
  font-weight: 200;
  line-height: 30px;
  opacity: 0.5;
  margin-bottom: 22px;
}

.event-modal__divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.4);
  margin-bottom: 22px;
}

.event-modal__body {
  font-size: 16px;
  line-height: 30px;
  white-space: pre-wrap;
  word-break: break-word;
}

.event-modal__left img {
  margin-top: 20px;
}

.event-modal__right {
  max-width: 800px;
}

.event-modal__image {
  width: 100%;
  object-fit: cover;
  display: block;
}

.event-modal__close {
  position: absolute;
  right: 15px;
  top: 00px;
  border: none;
  background: transparent;
  font-size: 48px;
  cursor: pointer;
}

.event-modal__close span {
  font-family: "Pretendard", sans-serif;
  font-weight: 200;
  color: #000;
  opacity: 0.4;
}

body.event-modal-open {
  overflow: hidden;
}

.event_popup_logo_mo {
  display: none;
}

@media (max-width: 1200px) {
  .event_popup_logo_pc {
    display: none;
  }

  .event_popup_logo_mo {
    display: block;
  }

  /* .event-modal__content {
    max-height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  } */

  .event-modal__inner {
    /* height: auto; */
    flex-direction: column;
  }

  .event-modal__image {
    padding: 50px 0;
  }
}

@media (max-width: 768px) {
  .event-modal__inner {
    padding: 35px 20px 100px;
  }

  .event-modal__left .label {
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 25px;
  }

  .event-modal_head {
    margin-bottom: 25px;
  }

  .event-modal__link {
    line-height: 30px;
    font-size: 12px;
  }

  .event-modal__body {
    font-size: 14px;
    line-height: 25px;
    word-break: keep-all;
  }

  .event_popup_logo_mo {
    max-width: 300px;
    width: 100%;
  }
}
