/* 
* 서브페이지 공통 스타일 class
*/
.br-pc {
  display: inline;
}
.br-pc br {
  display: inline;
}

.br-mo {
  display: none;
}

.tac {
  text-align: center;
}

.color_or {
  color: var(--maincolor);
}

.highlight_or {
  font-size: 24px;
  line-height: 1.6;
  font-weight: 700;
  color: #fff;

  display: inline;
  padding: 6px 4px;
  background-color: var(--maincolor);
}

.border_or {
  display: inline-block;

  padding: 6px 10px;
  margin-bottom: 12px;

  border: 2px solid var(--Color, #eaa150);
  border-radius: 20px;

  font-size: 16px;
  font-weight: 500;
  color: var(--maincolor);
}

.subtit_or {
  color: var(--Color, #eaa150);
  font-size: 30px;
  font-weight: 600;
  line-height: 120%;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
}

.copyable-text {
  position: relative;
  display: inline-block;
  transition: background 0.3s ease;
  cursor: pointer;
}

.copyable-text:before {
  content: "주소 복사";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(110%, -50%);

  font-size: 0.5em;
  font-weight: 600;
  color: #fff;

  background: var(--maincolor);
  padding: 4px 8px;
  border-radius: 4px;

  opacity: 0;

  transition: transform 0.3s ease, opacity 0.3s ease;

  pointer-events: none;
}

.copyable-text:hover {
  background: rgba(120, 120, 120, 0.1);
}

.copyable-text:hover:before {
  opacity: 1;
  transform: translate(120%, -50%);
}

.copyable-text .copy-btn {
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  transform: translate(0, 0.05em);
  margin-left: 4px;
  background: url("/img/sub/icon_copy.png") no-repeat 50% 50% / contain;
}

.diagonal-bg {
  background: url(/img/sub/clinic_1/clinic_mental_sec3_bg.png) no-repeat 50% 20% /
    cover;
}

.side-text-parent {
  position: relative;
}

.side-text {
  position: absolute;
  pointer-events: none;

  font-size: 150px;
  font-weight: 700;
  color: var(--maincolor);
  white-space: nowrap;

  opacity: 0.15;
}

.side-text.left {
  top: -20%;
  left: 50px;
  transform: translate(0, 0) rotate(-90deg);
  transform-origin: 0 0;
}

.side-text.right {
  top: 140%;
  right: 50px;
  transform: translate(0, 0) rotate(90deg);
  transform-origin: 100% 0;
}

.accordion {
  width: 100%;

  margin: 60px auto;

  border: 1px solid #dbdbdb;
  border-radius: 20px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);

  overflow: hidden;
}

.accordion-item + .accordion-item {
  border-top: 1px solid #dbdbdb;
}

.accordion-header {
  position: relative;

  display: block;
  width: 100%;

  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--black);

  background: #f8f8f8;
  padding: 22px 80px;

  transition: background 0.3s ease;

  cursor: pointer;
}

.accordion-header:hover {
  background: #e8e8e8;
}

.accordion-content {
  height: 0;
  overflow: hidden;
}

.accordion-item.active .accordion-header {
  background: var(--maincolor);
  color: #fff;
  cursor: initial;
}

.accordion-item .accordion-header:before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 1.8em;
  transform: translate(0, -50%);

  width: 1.1em;
  height: 1.1em;
  background: url("/img/sub/icon_check_circle_or.svg") no-repeat 50% 50% /
    contain;
}

.accordion-item .accordion-header:after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 1.8em;
  transform: translate(0, -50%);

  width: 0.8em;
  height: 0.8em;
  background: url("/img/sub/icon_arrow_border_bl.svg") no-repeat 50% 50% /
    contain;
}

.accordion-item.active .accordion-header:before {
  background-image: url("/img/sub/icon_check_circle_wh.svg");
}

.accordion-item.active .accordion-header:after {
  background-image: url("/img/sub/icon_arrow_border_wh.svg");
}

.accordion-item.active .accordion-content {
  height: auto;
}

.accordion-content ul {
  padding: 30px 80px;
  background: #fff;
}

.accordion-content ul li {
  font-size: 22px;
  line-height: 1.5;
}

.accordion-content ul li + li {
  margin-top: 18px;
}

.accordion-content ul li:before {
  content: "- ";
}

.tabs {
  width: 100%;
}

.tab-buttons {
  display: flex;
  align-items: flex-end;
}

.tab-btn {
  width: 45%;
  padding: 14px 30px;

  background: #d9d9d9;
  border-radius: 20px 20px 0px 0px;

  font-size: 28px;
  line-height: 1.5;
  font-weight: 600;
  color: #fff;
  text-align: center;

  transition: background 0.2s;

  cursor: pointer;
}

.tab-btn:not(.active):hover {
  background: #bdbdbd;
}

.tab-btn.active {
  width: 55%;
  padding: 0.8em 1.4em;

  background: var(--maincolor);
}

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

.tab-content.active {
  display: block;
}

.sub_container {
  width: 100%;
  max-width: 1400px;
  padding: 0 20px;
  margin: 0 auto;
}

.sub_sec {
  color: #474747;
  font-size: 22px;
  padding: 120px 0;
}

[data-aos="fade-up"] {
  transform: translate3d(0, 12%, 0);
}

[data-aos="fade-down"] {
  transform: translate3d(0, -12%, 0);
}

[data-aos="fade-left"] {
  transform: translate3d(30px, 0, 0);
}

[data-aos="fade-right"] {
  transform: translate3d(-30px, 0, 0);
}

[data-aos="zoom-out"] {
  transform: scale(1.02);
}

[data-aos="zoom-in"] {
  transform: scale(0.98);
}

.sub_sec.sec1 {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #fffbf8 100%);
  padding: 200px 0;
  box-sizing: border-box;
}

.sub_sec.sec1 .sub_container {
  position: relative;
  z-index: 10;
}

.sub_sec.sec1 .text_wrap {
  margin-top: 20px;
  width: 60vw;
}

.sub_sec.sec1 .bg_img {
  position: absolute;
  bottom: 0;
  right: 4vw;
  z-index: 0;

  width: 50vw;
  max-width: 800px;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;
}

.sub_sec.sec1 .bg_img.btm {
  align-items: flex-end;
}

.sub_sec .tit_wrap {
  margin-bottom: 30px;
}

.sub_sec .tit_wrap h3 {
  color: var(--black);
  font-family: Pretendard;
  font-size: 40px;
  font-weight: 600;
  line-height: 140%;
  letter-spacing: -1.6px;
}

.sub_sec .text_wrap {
  line-height: 180%;
}

.sub_sec .cont_wide_img {
  position: relative;

  width: 100%;
  max-width: 1160px;
  height: 26vw;
  max-height: 500px;
  min-height: 240px;

  margin: 0 auto 60px;

  display: flex;
  justify-content: center;
  align-items: center;
}

.sub_sec .cont_wide_img .img_wrap {
  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.15);
  border-radius: 9999px;

  width: 100%;
  max-width: 1160px;
  height: 100%;
  overflow: hidden;
}

.sub_sec .cont_wide_img .img_wrap img {
  object-fit: cover;
  min-height: 240px;
}

.sub_sec .cont_wide_img.top .img_wrap {
  align-items: flex-start;
}

.sub_sec .cont_wide_img:before,
.sub_sec .cont_wide_img:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;

  background: var(--maincolor);
  background: #fff;
  transform: scale(1.05);

  transition: all 1.2s ease-in-out;
}

.sub_sec .cont_wide_img::before {
  left: 0;
  right: 50%;
}

.sub_sec .cont_wide_img:after {
  left: 50%;
  right: 0;
}

.sub_sec .cont_wide_img.active::before {
  right: 100%;
}

.sub_sec .cont_wide_img.active:after {
  left: 100%;
}

.sub_sec .cont_wide_img + p {
  position: relative;

  display: inline-block;
  padding: 0 5%;

  font-size: 34px;
  line-height: 1.4;
}

.sub_sec .cont_wide_img + p:before,
.sub_sec .cont_wide_img + p:after {
  content: "";
  display: block;

  position: absolute;
  top: 0;

  width: 0.9em;
  height: 0.9em;

  background: url("/img/sub/icon_quot_round.svg") no-repeat 50% 50% / contain;
}

.sub_sec .cont_wide_img + p:before {
  left: 0;
}
.sub_sec .cont_wide_img + p:after {
  right: 0;
  transform: rotate(180deg);
}

.sub_sec .cont_wide_img + p span.hl {
  font-size: inherit;
  font-weight: 700;
  color: #fff;

  background: var(--maincolor);

  display: inline;
  padding: 0 4px;
}

.sub_sec ul.box_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;

  gap: 20px;

  width: 100%;

  margin: 0 auto;
  margin-top: 80px;
}

.sub_sec ul.box_list li {
  padding: 30px 32px;

  border-radius: 20px;
  border: 1px solid #e0e0e0;

  background: #fff;
}

.sub_sec ul.box_list.col-4 li {
  padding: 30px 22px;
}

.sub_sec ul.box_list.col-4 li {
  width: calc(25% - 20px * 3);
  text-align: center;
}

.sub_sec ul.box_list.col-3 li {
  width: calc(33.33% - 20px * 2);
  text-align: center;
}

.sub_sec ul.box_list.col-2 li {
  width: calc(50% - 20px);
}

.sub_sec ul.box_list.col-4 li,
.sub_sec ul.box_list.col-3 li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.sub_sec ul.box_list.col-4 li .box-tit,
.sub_sec ul.box_list.col-3 li .box-tit {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.sub_sec ul.box_list.col-4 li .box-icon,
.sub_sec ul.box_list.col-3 li .box-icon {
  display: inline-block;
  margin-bottom: 24px;
}

.sub_sec ul.box_list.col-2 li .box-tit {
  display: flex;
  align-items: center;

  margin-bottom: 20px;
}

.sub_sec ul.box_list.col-2 li .box-icon {
  display: inline-block;
  margin-right: 20px;
}

.sub_sec ul.box_list li .box-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.sub_sec ul.box_list li strong {
  display: inline-block;

  color: var(--black);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}

.sub_sec ul.box_list li strong span {
  display: inline-block;
  font-size: 16px;
  margin-top: 6px;
  font-weight: 300;
  line-height: 1em;
}

.sub_sec ul.box_list.col-4 li strong,
.sub_sec ul.box_list.col-3 li strong {
  margin-bottom: 18px;
}

.sub_sec ul.box_list li p {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
}

/* 
  * 하단 예약하기 버튼 있는 섹션 
  */
.reserve_sec {
  text-align: center;

  padding: 80px 0 120px;
  background: url(/img/sub/sub_reserve_sec_bg.jpg) no-repeat 50% 50% / cover;
}

.reserve_sec .sub_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.reserve_sec .top_icon_wrap .lottie-player {
  width: 15.625vw;
  height: 15.625vw;
  min-width: 200px;
  min-height: 200px;
}

.reserve_sec .text_wrap p,
.reserve_sec .text_wrap p span.bold {
  font-size: 26px;
  line-height: 2;
}

.reserve_sec .line {
  position: relative;

  width: 2px;
  height: 100px;
  background: var(--maincolor);

  margin: 0 auto;
  margin-top: 80px;
}

.reserve_sec .line:before {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0);
  width: 12px;
  height: 12px;
  background: var(--maincolor);
  border-radius: 50%;
}

.reserve_sec .reserve_wrap {
  margin-top: 80px;
}

.reserve_text {
  position: relative;
  padding: 0 80px;
  font-size: 30px;
}

.reserve_text:before,
.reserve_text:after {
  content: "";
  display: block;

  position: absolute;
  top: 0;

  width: 1.2em;
  height: 1.2em;
  background: url("/img/sub/icon_quot.svg") no-repeat 50% 50% / contain;
}

.reserve_text:before {
  left: 0;
}

.reserve_text:after {
  right: 0;
  transform: rotate(180deg);
}

.reserve_text p {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--black);

  margin-bottom: 40px;
}

.reserve_sec .reserve_wrap ul {
  margin-bottom: 40px;
}

.reserve_sec .reserve_wrap ul li {
  font-size: 22px;
  line-height: 1.4;
}

.reserve_sec .reserve_wrap ul li:before {
  content: "- ";
}

.reserve_sec .reserve_wrap ul li + li {
  margin-top: 10px;
}

.reserve_sec a.btn_reserve {
  display: inline-block;
  padding: 12px 40px;

  border-radius: 12px;
  background: #ffaf54;
  box-shadow: 1px 1px 4px 0px rgba(0, 0, 0, 0.4) inset, 0px 0px 10px 0px #ffaf54;

  color: #fff;
  text-align: center;
  font-family: Pretendard;
  font-size: 30px;
  font-weight: 700;

  transition: all 0.3s ease;
}

.reserve_sec a.btn_reserve:hover {
  animation: none;

  background: #ec8d1f;
  box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.4) inset, 0px 0px 14px 1px #ec8d1f;
}

/* 
    * 서브페이지 공통 스타일 반응형
    */
@media screen and (max-width: 1440px) {
  .sub_sec * {
    font-size: 18px;
  }

  .accordion-header {
    font-size: 24px;
  }

  .side-text {
    font-size: 120px;
  }

  .side-text.left {
    left: 0;
  }

  .side-text.right {
    right: 0;
  }

  .sub_sec .tit_wrap h3 {
    font-size: 32px;
  }

  .highlight_or {
    font-size: 20px;
  }

  .reserve_sec .line {
    margin-top: 60px;
  }

  .reserve_sec .text_wrap p,
  .reserve_sec .text_wrap p span.bold {
    font-size: 24px;
  }

  .reserve_sec .reserve_wrap,
  .reserve_sec .reserve_wrap p {
    font-size: 28px;
  }

  .reserve_sec .reserve_wrap ul li {
    font-size: 20px;
  }

  .reserve_sec .reserve_wrap {
    margin-top: 60px;
  }

  .sub_sec .cont_wide_img + p {
    font-size: 30px;
  }

  .tab-btn {
    font-size: 24px;
  }
}

@media screen and (max-width: 1280px) {
  .sub_sec.sec1 {
    padding: 160px 0;
  }

  .sub_sec.sec1 .bg_img {
    right: 0;
  }

  .sub_sec ul.box_list.col-4 li {
    width: calc(33.33% - 20px * 2);
  }

  .sub_sec ul.box_list.col-3 li {
    width: calc(50% - 20px);
  }

  .sub_sec ul.box_list li strong span {
    display: block;
  }

  .accordion-header {
    font-size: 22px;
    padding: 26px 72px;
  }

  .accordion-content ul {
    padding: 30px 72px;
  }

  .accordion-content ul li {
    font-size: 20px;
  }
}

@media screen and (max-width: 1110px) {
  .side-text {
    display: none;
  }

  .sub_sec .tit_wrap h3 {
    font-size: 30px;
  }

  .highlight_or {
    font-size: 18px;
  }

  .sub_sec.sec1 {
    padding: 140px 0;
  }

  .reserve_sec .line {
    margin-top: 40px;
  }

  .reserve_sec .text_wrap p,
  .reserve_sec .text_wrap p span.bold {
    font-size: 22px;
  }

  .reserve_sec .reserve_wrap {
    width: 100%;
    padding: 0 20px;
  }

  .reserve_sec .reserve_wrap,
  .reserve_sec .reserve_wrap p {
    font-size: 26px;
  }

  .reserve_sec .reserve_wrap ul li {
    font-size: 18px;
  }

  .reserve_sec .reserve_wrap {
    margin-top: 40px;
  }

  .sub_sec .cont_wide_img + p {
    font-size: 28px;
  }

  .sub_sec ul.box_list li strong {
    font-size: 22px;
  }

  .sub_sec ul.box_list li p {
    font-size: 16px;
  }
}

@media screen and (max-width: 960px) {
  .sub_sec * {
    font-size: 16px;
  }

  .sub_sec.sec1 {
    padding: 80px 0;
  }

  .sub_sec.sec1 .text_wrap {
    width: 100%;
  }

  .sub_sec.sec1 .bg_img {
    position: static;
    margin: 0 auto;
    width: 90%;
    max-width: 500px;
  }

  .sub_sec .cont_wide_img {
    margin: 0 auto 30px;
  }

  .sub_sec ul.box_list {
    margin-top: 40px;
  }

  .sub_sec ul.box_list.col-4 li {
    width: calc(50% - 20px);
  }

  .diagonal-bg {
    background-position: 20% 50%;
  }

  .accordion-header {
    font-size: 20px;
    padding: 26px 64px;
  }

  .accordion-content ul {
    padding: 30px 64px;
  }

  .accordion-content ul li {
    font-size: 18px;
  }
}

@media screen and (max-width: 768px) {
  .br-pc {
    display: none;
  }
  .br-pc br {
    display: none;
  }
  .br-mo {
    display: inline;
  }

  .sub_sec {
    padding: 80px 0;
  }

  .reserve_sec .text_wrap p,
  .reserve_sec .text_wrap p span.bold {
    font-size: 18px;
  }

  .reserve_sec .reserve_wrap,
  .reserve_sec .reserve_wrap p {
    font-size: 20px;
  }

  .reserve_sec .reserve_wrap ul li {
    font-size: 16px;
  }

  .reserve_sec a.btn_reserve {
    font-size: 24px;
    padding: 12px 32px;
  }

  .sub_sec .cont_wide_img + p {
    font-size: 22px;
  }

  .sub_sec ul.box_list.col-4 li,
  .sub_sec ul.box_list.col-3 li,
  .sub_sec ul.box_list.col-2 li {
    width: 100%;
  }

  .sub_sec ul.box_list li strong span {
    font-size: 14px;
  }

  .sub_sec ul.box_list.col-3 li strong {
    font-size: 22px;
  }

  .sub_sec ul.box_list.col-3 li p {
    font-size: 16px;
  }

  .tab-btn {
    font-size: 14px;
  }
  .tab-btn.active {
    font-size: 18px;
  }
}

@media screen and (max-width: 500px) {
  .accordion-content ul {
    padding: 30px 40px;
  }

  .accordion-content ul li {
    font-size: 16px;
  }

  .reserve_text {
    padding: 0;
  }

  .reserve_sec .reserve_wrap {
    padding: 0;
  }
}

@media screen and (max-width: 380px) {
  .accordion-header {
    font-size: 18px;
  }
}
