@import url("./reset.css");
@import url("./common.css");

/* MAIN */
/* SECTION 1 */
.neoreum_body.home::before {
  background-image: linear-gradient(to bottom, #a0f9e5, #a0f9e5);
}
.body_wrap .mainSec_01 {
  background-color: #a0f9e5;
}
.body_wrap .mainSec_01 .section_wrap {
  margin: 0 auto;
  padding: 0 0 7.125rem;
  max-width: 105.5rem;
}
.body_wrap .mainSec_01 .mainSec1Swiper {
  overflow: hidden;
  aspect-ratio: 20.83951 / 7;
  border-radius: 3.125rem;
}
.body_wrap .mainSec_01 .mainSec1Swiper .swiper-slide {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.body_wrap .mainSec_01 .mainSec1Swiper .swiper-slide .slide_content {
  position: absolute;
  left: 4.8125rem;
  top: 50%;
  transform: translateY(-50%);
  line-height: 4.0625rem;
  color: #fff;
  font-size: 3.125rem;
  font-weight: 700;
}

.body_wrap .mainSec_01 .mainSec1Intro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 1.875rem;
  margin-top: 2.75rem;
}
.body_wrap .mainSec_01 .mainSec1Intro li {
  overflow: hidden;
  aspect-ratio: 181 / 72;
  padding: 2.875rem;
  width: 100%;
  height: auto;
  color: #fff;
  border-radius: 1.625rem;
}
.body_wrap .mainSec_01 .mainSec1Intro li.typeGreen {
  background-color: #1b1c80;
}
.body_wrap .mainSec_01 .mainSec1Intro li.typeYellow {
  background-color: #4eb2ff;
}
.body_wrap .mainSec_01 .mainSec1Intro li.typeRed {
  background-color: #f99428;
}
.body_wrap .mainSec_01 .mainSec1Intro li p {
  line-height: 1.875rem;
  font-size: 1.875rem;
  font-weight: 800;
}
.body_wrap .mainSec_01 .mainSec1Intro li a {
  display: grid;
  grid-template-columns: 1fr 2.5rem;
  margin-top: 2.125rem;
}
.body_wrap .mainSec_01 .mainSec1Intro li a span {
  line-height: 2.5rem;
  font-size: 2.5rem;
}

/* SECTION 2 */
.body_wrap .mainSec_02 {
  padding: 7.125rem 0;
  background-color: #fce9b9;
}
.body_wrap .mainSec_02 h2 {
  text-align: center;
}
.body_wrap .mainSec_02 .programList {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 1.875rem;
  row-gap: 1.875rem;
  margin: 2.125rem auto 0;
  max-width: 79.125rem;
}
.body_wrap .mainSec_02 .programList li {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  aspect-ratio: 201 / 150;
  padding: 5.625rem 0.5rem 1.875rem 1.875rem;
  border-radius: 1.875rem;
  background-repeat: no-repeat;
  background-color: #fff;
  cursor: pointer;
}
.body_wrap .mainSec_02 .programList li.icnTalk {
  background-image: url("/wp-content/themes/neoreum/assets/images/icnTalk.png");
  background-size: 4.375rem;
  background-position: top 2.5625rem right 2.5rem;
}
.body_wrap .mainSec_02 .programList li.icnQna {
  background-image: url("/wp-content/themes/neoreum/assets/images/icnQna.png");
  background-size: 5.125rem;
  background-position: top 2.625rem right 2.1875rem;
}
.body_wrap .mainSec_02 .programList li.icnAfter {
  background-image: url("/wp-content/themes/neoreum/assets/images/icnAfter.png");
  background-size: 4.5625rem;
  background-position: top 2.375rem right 1.375rem;
}
.body_wrap .mainSec_02 .programList li.icnCategory {
  background-image: url("/wp-content/themes/neoreum/assets/images/icnCategory.png");
  background-size: 5.0625rem;
  background-position: top 2.6875rem right 1.8125rem;
}
.body_wrap .mainSec_02 .programList li.icnHeart {
  background-image: url("/wp-content/themes/neoreum/assets/images/icnHeart.png");
  background-size: 4.625rem;
  background-position: top 3.125rem right 2.1875rem;
}
.body_wrap .mainSec_02 .programList li.icnPackage {
  background-image: url("/wp-content/themes/neoreum/assets/images/icnPackage.png");
  background-size: 4.3125rem;
  background-position: top 3.3125rem right 2.1875rem;
}
.body_wrap .mainSec_02 .programList li b {
  display: block;
  flex: 1;
  line-height: 1.875rem;
  font-size: 1.875rem;
  font-weight: 600;
}
.body_wrap .mainSec_02 .programList li p {
  flex: 1;
  margin-top: 1.375rem;
  line-height: 1.875rem;
  font-size: 1.25rem;
}

/* SECTION 3 */
.body_wrap .mainSec_03 {
  display: grid;
  grid-template-columns: 1fr 27rem;
  padding: 9.75rem 0 7.9375rem;
  margin: 0 auto;
  max-width: 79.125rem;
}
.body_wrap .mainSec_03 .right a {
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 4.0625rem;
  padding-left: 1.875rem;
  border-radius: 1.875rem;
  background-color: #88e5cf;
}
.body_wrap .mainSec_03 .right a + a {
  margin-top: 1.25rem;
}
.body_wrap .mainSec_03 .right a span {
  line-height: 4.0625rem;
  font-size: 1.25rem;
  font-weight: 600;
}

/* SECTION 4 */
.body_wrap .mainSec_04 {
  padding: 9.75rem 0 7.9375rem;
  background-color: #f39a96;
  background-image: url("/wp-content/themes/neoreum/assets/images/img_main_s4_bg.png");
  background-position: left calc(50% - 35.75rem) bottom calc(50% - 10.25rem);
  background-repeat: no-repeat;
  background-size: 28.1875rem auto;
}
.body_wrap .mainSec_04 .mainSec04_wrap {
  display: grid;
  grid-template-columns: 19.9375rem 1fr;
  column-gap: 5.25rem;
  position: relative;
  margin: 0 auto;
  max-width: 87.8125rem;
}
.body_wrap .mainSec_04 .mainSec04_wrap .review_title h3 {
  line-height: 4.0625rem;
}
.body_wrap .mainSec_04 .mainSec04_wrap .review_title .btn_more {
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 3.0625rem;
  padding-left: 1.875rem;
  margin-top: 2.0625rem;
  width: 11.875rem;
  border-radius: 1.875rem;
  background-color: #fff;
}
.body_wrap .mainSec_04 .mainSec04_wrap .review_title .btn_more span {
  line-height: 4.0625rem;
  font-size: 1.25rem;
  font-weight: 600;
}
.body_wrap .mainSec_04 .mainSec04_wrap .review_list {
  display: grid;
  grid-template-columns: repeat(3, 19.625rem);
  column-gap: 1.875rem;
}
.body_wrap .mainSec_04 .mainSec04_wrap .review_list .list_item {
  overflow: hidden;
  aspect-ratio: 314 / 351;
  padding: 2.1875rem 1.6875rem 1.3125rem;
  border-radius: 1.875rem;
  background-color: #fff;
}
.body_wrap .mainSec_04 .mainSec04_wrap .review_list .list_item .item_content {
  height: 16.25rem;
  line-height: 2.1875rem;
  font-size: 1.25rem;
}
.body_wrap .mainSec_04 .mainSec04_wrap .review_list .list_item .item_info {
  line-height: 2.1875rem;
  font-size: 1.25rem;
  font-weight: 700;
}
.body_wrap .mainSec_04 .mainSec04_wrap .review_list .list_item .item_info span + span {
  margin-left: 1rem;
  position: relative;
}
.body_wrap .mainSec_04 .mainSec04_wrap .review_list .list_item .item_info span + span:before {
  content: "·";
  position: absolute;
  left: -0.8rem;
}

/* ABOUT INFO */
.body_wrap.about_info {
  padding-bottom: 8.625rem;
}
.info_01 .info_left {
  padding-left: 9.72%;
}
.info_01 .info_right {
  aspect-ratio: 965/672;
  border-radius: 3.125rem;
  width: 100%;
  max-width: 60.3125rem;
  background-color: #fceceb;
  background-image: url("./assets/images/about_info_img_01.png");
  background-position: center;
  background-size: 29.875rem auto;
  background-repeat: no-repeat;
}

.info_02 .info_list {
  position: relative;
}
.info_02 .info_list:before {
  content: "";
  position: absolute;
  left: 32.375rem;
  top: 0;
  width: 1px;
  height: 100%;
  background-color: #00a288;
  z-index: 1;
}
.info_02 .info_list > .grid_wrap {
  overflow: hidden;
  position: relative;
  grid-template-columns: 20.21125rem 1fr;
  column-gap: 5.375rem;
  padding: 5rem 10.55556% 3.25rem 12.36111%;
  border-radius: 3.125rem;
}
.info_02 .info_list > .grid_wrap:after {
  content: "";
  position: absolute;
  left: 29.75rem;
  top: 5rem;
  width: 5.375rem;
  height: 5.375rem;
  background: url("./assets/images/about_info_icn_04.png") center no-repeat;
  background-size: 100%;
  z-index: 2;
}
.info_02 .info_list > .grid_wrap:first-child {
  padding-top: 0;
}
.info_02 .info_list > .grid_wrap:first-child:after {
  top: 0;
}
.info_02 .info_list > .grid_wrap:nth-child(3) {
  background-color: #bcf7ec;
}
.info_02 .info_list > .grid_wrap:nth-child(3):after {
  background-image: url("./assets/images/about_info_icn_05.png");
}
.info_02 .info_list > .grid_wrap:last-child {
  padding-bottom: 0;
}
.info_02 .info_list .grid_wrap h4 {
  line-height: 3.4375rem;
}
.info_02 .info_list .grid_wrap .icon_list .grid_wrap {
  grid-template-columns: 4.375rem 1fr;
  column-gap: 3.125rem;
}
.info_02 .info_list .grid_wrap .icon_list .grid_wrap + .grid_wrap {
  margin-top: 2.285rem;
}
.info_02 .info_list .grid_wrap .icon_list .grid_wrap .list_icn {
  display: inline-block;
  width: 4.375rem;
  height: 4.375rem;
  background-position: center;
  background-repeat: no-repeat;
}
.info_02 .info_list .grid_wrap .icon_list .grid_wrap .list_icn.icn_01 {
  background-image: url("/wp-content/themes/neoreum/assets/images/about_info_icn_01.png");
  background-size: 4.375rem auto;
}
.info_02 .info_list .grid_wrap .icon_list .grid_wrap .list_icn.icn_02 {
  background-image: url("/wp-content/themes/neoreum/assets/images/about_info_icn_02.png");
  background-size: 3.8125rem;
}
.info_02 .info_list .grid_wrap .icon_list .grid_wrap .list_icn.icn_03 {
  background-image: url("/wp-content/themes/neoreum/assets/images/about_info_icn_03.png");
  background-size: 3.5625rem;
}
.info_02 .info_list .grid_wrap .step_list {
  grid-template-columns: repeat(3, 5.375rem);
  column-gap: 4.125rem;
  padding: 0 1.25rem;
  margin: 1.5rem 0;
}
.info_02 .info_list .grid_wrap .step_list .list_item {
  display: inline-block;
  position: relative;
  width: 5.375rem;
  height: 5.375rem;
  border-radius: 100%;
  line-height: 5.375rem;
  background-color: #effaf8;
  text-align: center;
}
.info_02 .info_list .grid_wrap .step_list .list_item + .list_item:before {
  content: "\e941";
  position: absolute;
  left: -2.75rem;
  font-family: "Material Icons";
  font-size: 1.5rem;
}

.greetings_01 {
  position: relative;
}
.greetings_01 .greetings_left {
  padding: 3.5625rem 3.125rem 1.4375rem 3.75rem;
  border-radius: 3.125rem;
  max-width: 56.625rem;
  background-color: #f3e0af;
}
.greetings_01 .greetings_left .grid_wrap {
  grid-template-columns: 11.9375rem 1fr;
  column-gap: 3rem;
}
.greetings_01 .greetings_left .grid_wrap .icn_greetings {
  aspect-ratio: 191/206;
  width: 11.9375rem;
  background: url("/wp-content/themes/neoreum/assets/images/icn_greetings.png") center no-repeat;
  background-size: 100% auto;
}
.greetings_01 .greetings_right {
  overflow: hidden;
  aspect-ratio: 389/457;
  position: absolute;
  right: 0;
  top: -5.375rem;
  width: 100%;
  max-width: 24.3125rem;
  height: auto;
  border-radius: 3.125rem;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url("/wp-content/themes/neoreum/assets/images/picture_greetings.png");
}

.embrace_01 {
  position: relative;
  padding-bottom: 8.375rem;
}
.embrace_01 .embrace_top {
  grid-template-columns: 15.625rem 1fr;
  column-gap: 8.75rem;
  position: absolute;
  left: 50%;
  top: -14.375rem;
  transform: translateX(-50%);
  padding: 1.25rem 2.8125rem;
  width: 100%;
  max-width: 69.0625rem;
  background-color: #ffe7bb;
}
.embrace_01 .embrace_top h5 {
  display: block;
  padding-left: 8.375rem;
  width: 100%;
  line-height: 8rem;
  background: url("/wp-content/themes/neoreum/assets/images/icn_embrace_top.png") left center no-repeat;
}
.embrace_01 .embrace_top .text {
  padding: 0.9rem 0;
}
.embrace_01 .embrace_list {
  grid-template-columns: repeat(3, 1fr);
  column-gap: 2.0625rem;
}
.embrace_01 .embrace_list .list_item {
  position: relative;
  padding: 3.75rem 0 2.8125rem 2.5rem;
  background-color: #fdf8ef;
  background-repeat: no-repeat;
}
.embrace_01 .embrace_list .list_item:nth-child(1) {
  background-image: url("/wp-content/themes/neoreum/assets/images/icn_embrace_01.png");
  background-position: right 3px top 20px;
  background-size: 330px 344px;
}
.embrace_01 .embrace_list .list_item:nth-child(2) {
  background-image: url("/wp-content/themes/neoreum/assets/images/icn_embrace_02.png");
  background-position: right 18px top 63px;
  background-size: 301px 242px;
}
.embrace_01 .embrace_list .list_item:nth-child(3) {
  background-image: url("/wp-content/themes/neoreum/assets/images/icn_embrace_03.png");
  background-position: right 20px top 53px;
  background-size: 287px 299px;
}

.contactus_01 {
  grid-template-columns: 38.625rem 1fr;
  padding-bottom: 7.75rem;
}
.contactus_01 .contactus_left .contact_list li {
  display: grid;
  grid-template-columns: 11.75rem 1fr;
}
.contactus_01 .contactus_left .contact_list li + li {
  margin-top: 2.8125rem;
}
.contactus_01 .contactus_right {
  overflow: hidden;
  border-radius: 3.125rem 0 0 3.125rem;
}

.counsel_01 {
  position: relative;
}
.counsel_01 .counsel_top {
  grid-template-columns: 16.25rem 1fr;
  column-gap: 8.125rem;
  position: absolute;
  left: 50%;
  top: -14.375rem;
  transform: translateX(-50%);
  padding: 1.25rem 2.8125rem;
  width: 100%;
  max-width: 69.0625rem;
  background-color: #fdffc5;
}
.counsel_01 .counsel_top h5 {
  display: block;
  padding-left: 8.375rem;
  width: 100%;
  line-height: 4rem;
  background: url("/wp-content/themes/neoreum/assets/images/icn_counsel_top.png") left center no-repeat;
}
.counsel_01 .counsel_top .text {
  padding: 0.9rem 0;
}

/* 기본 레이아웃 */
.counsel .tabs {
}
.counsel .tabs__tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-radius: 1.875rem;
  background-color: #fff;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

/* 탭 버튼 */
.counsel .tabs__tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: #777;
  padding: 0.8125rem 1.875rem;
  border-radius: 1.875rem;
  font-size: 1.5rem;
  cursor: pointer;
  position: relative;
}
.counsel .tabs__tab:hover {
  color: #4eb2ff;
}
.counsel .tabs__tab[aria-selected="true"] {
  color: #fff;
  font-weight: 600;
  background-color: #4eb2ff;
}

/* 패널 */
.counsel .tabs__panel {
  margin-top: 6.75rem !important;
}
/* hidden 속성 기본 처리 */
.counsel [hidden] {
  display: none !important;
}

/* 작은 화면에서 탭이 많을 때 좌우 스크롤 */
.counsel .tabs__tablist {
  overflow-x: auto;
  scrollbar-width: thin;
}

.counsel #panel-01 .panel-content .panel_01_top {
  grid-template-columns: 1fr 39.375rem;
}
.counsel #panel-01 .panel-content .panel_01_bottom {
  background-color: #d3f5ff;
}
.counsel #panel-01 .panel-content .panel_01_bottom .counsel_test {
  padding: 1.5625rem 3.3125rem;
  margin: 1.75rem auto 4.375rem;
  max-width: 64rem;
  border: 1px solid #fff;
  border-radius: 8.21875rem;
}
.counsel #panel-01 .panel-content .panel_01_bottom .counsel_test .grid_wrap {
  grid-template-columns: repeat(2, 1fr);
  column-gap: 5rem;
}
.counsel #panel-01 .panel-content .panel_01_bottom .counsel_test .grid_wrap li {
  padding: 2.25rem 0 3.25rem;
  border-radius: 7.65625rem;
  background-color: #fdffc5;
}

.counsel #panel-02 .panel-content .panel_02_top {
  grid-template-columns: 1fr 39.375rem;
}
.counsel #panel-02 .panel-content .panel_02_bottom {
  background-color: #d3f5ff;
}
.counsel #panel-02 .panel-content .panel_02_bottom .counsel_list {
  position: relative;
  margin: 1.75rem auto 4.375rem;
  max-width: 70rem;
  height: 11.25rem;
}
.counsel #panel-02 .panel-content .panel_02_bottom .counsel_list li {
  position: absolute;
  top: 0;
  width: 24.6875rem;
  padding: 2.25rem 0 3.0625rem;
  border: 5px solid #fff;
  border-radius: 8.21875rem;
}
.counsel #panel-02 .panel-content .panel_02_bottom .counsel_list li:nth-child(1) {
  left: 0;
}
.counsel #panel-02 .panel-content .panel_02_bottom .counsel_list li:nth-child(2) {
  left: 50%;
  transform: translateX(-50%);
}
.counsel #panel-02 .panel-content .panel_02_bottom .counsel_list li:nth-child(3) {
  right: 0;
}

.counsel #panel-03 .panel-content .panel_03_bottom {
  background-color: #d3f5ff;
}
.counsel #panel-03 .panel-content .panel_03_bottom .counsel_list {
  position: relative;
  margin: 1.75rem auto 4.375rem;
  max-width: 70rem;
  height: 11.25rem;
}
.counsel #panel-03 .panel-content .panel_03_bottom .counsel_list li {
  position: absolute;
  top: 0;
  width: 35.625rem;
  height: 10.4375rem;
  padding: 0.625rem 0 0.9375rem;
  border: 5px solid #fff;
  border-radius: 8.21875rem;
}
.counsel #panel-03 .panel-content .panel_03_bottom .counsel_list li:nth-child(1) {
  left: 0;
}
.counsel #panel-03 .panel-content .panel_03_bottom .counsel_list li:nth-child(2) {
  right: 0;
}

.counsel #panel-04 .panel-content .panel_04_top {
  padding: 0 0 41.25rem;
  background-image: url("./assets/images/img_panel_04_01.png");
  background-position: center bottom;
  background-size: auto 34.5rem;
  background-repeat: no-repeat;
}
.counsel #panel-04 .panel-content .panel_04_middle .middle_list {
  grid-template-columns: repeat(3, 1fr);
  column-gap: 2.5rem;
  text-align: center;
}
.counsel #panel-04 .panel-content .panel_04_middle .middle_list .list-item {
  padding-top: 13.5rem;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 12.25rem auto;
}
.counsel #panel-04 .panel-content .panel_04_middle .middle_list .list-item:nth-child(1) {
  background-image: url("./assets/images/img_panel_04_02.png");
}
.counsel #panel-04 .panel-content .panel_04_middle .middle_list .list-item:nth-child(2) {
  background-image: url("./assets/images/img_panel_04_03.png");
}
.counsel #panel-04 .panel-content .panel_04_middle .middle_list .list-item:nth-child(3) {
  background-image: url("./assets/images/img_panel_04_04.png");
}
.counsel #panel-04 .panel-content .panel_04_middle .middle_img {
  padding: 1.875rem 0;
  background: url("./assets/images/img_panel_04_05.png") right center no-repeat;
  background-size: auto 20.3125rem;
}
.counsel #panel-04 .panel-content .panel_04_bottom .bottom_top {
  padding-bottom: 3.125rem;
  padding-left: 30.5rem;
  background: url("./assets/images/img_panel_04_06.png") center bottom no-repeat;
  background-size: 75.625rem auto;
}
.counsel #panel-04 .panel-content .panel_04_bottom .bottom_middle {
  height: 25.6875rem;
  background: url("./assets/images/img_panel_04_07_01.png") center center no-repeat;
  background-size: auto 25.6875rem;
}

.counsel #panel-05 .panel-content .panel_05_top {
  grid-template-columns: 1fr 39.375rem;
}
.counsel #panel-05 .panel-content .panel_05_bottom .grid_wrap {
  padding: 6.8125rem 6rem;
  border-radius: 4.25rem;
  background-color: #c6e1e9;
  background-image: url("/wp-content/themes/neoreum/assets/images/img_panel_05.png");
  background-position: right 2.5rem center;
  background-repeat: no-repeat;
}

.counsel #panel-06 .panel-content .panel_06_bottom {
  /* background-color: #f2f7f6; */
}
.counsel #panel-06 .panel-content .panel_06_bottom .counsel_list {
  position: relative;
  margin: 0 auto 1.375rem;
  height: 11.25rem;
}
.counsel #panel-06 .panel-content .panel_06_bottom .counsel_list li {
  position: absolute;
  top: 0;
  width: 19rem;
  padding: 3.25rem 0;
  border: 1px solid #4fb3ff;
  border-radius: 8.21875rem;
}
.counsel #panel-06 .panel-content .panel_06_bottom .counsel_list li:nth-child(1) {
  left: 0;
}
.counsel #panel-06 .panel-content .panel_06_bottom .counsel_list li:nth-child(2) {
  left: 24.5%;
}
.counsel #panel-06 .panel-content .panel_06_bottom .counsel_list li:nth-child(3) {
  right: 24.5%;
}
.counsel #panel-06 .panel-content .panel_06_bottom .counsel_list li:nth-child(4) {
  right: 0;
}

.divorce_01 {
  position: relative;
}
.divorce_01 .divorce_top {
  grid-template-columns: 16.25rem 1fr;
  column-gap: 8.125rem;
  position: absolute;
  left: 50%;
  top: -14.375rem;
  transform: translateX(-50%);
  padding: 1.25rem 2.8125rem;
  width: 100%;
  max-width: 69.0625rem;
  background-color: #f8f899;
}
.divorce_01 .divorce_top h5 {
  display: block;
  padding: 0.625rem 0 0.625rem 7.5rem;
  width: 100%;
  height: 6.875rem;
  line-height: 2.8125rem;
  background: url("/wp-content/themes/neoreum/assets/images/icn_divorce_top.png") left center no-repeat;
  background-size: 6.875rem;
}
.divorce_01 .divorce_top .text {
  padding: 0.9rem 0;
}

/* 기본 레이아웃 */
.divorce .tabs {
}
.divorce .tabs__tablist {
  display: flex;
  flex-wrap: wrap;
  max-width: max-content;
  gap: 0;
  border-radius: 1.875rem;
  background-color: #fff;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

/* 탭 버튼 */
.divorce .tabs__tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: #777;
  padding: 0.8125rem 1.875rem;
  border-radius: 1.875rem;
  font-size: 1.5rem;
  cursor: pointer;
  position: relative;
}
.divorce .tabs__tab:hover {
  color: #f47e00;
}
.divorce .tabs__tab[aria-selected="true"] {
  color: #fff;
  font-weight: 600;
  background-color: #f47e00;
}

/* 패널 */
.divorce .tabs__panel {
  margin-top: 6.75rem !important;
}
/* hidden 속성 기본 처리 */
.divorce [hidden] {
  display: none !important;
}

/* 작은 화면에서 탭이 많을 때 좌우 스크롤 */
.divorce .tabs__tablist {
  overflow-x: auto;
  scrollbar-width: thin;
}

.divorce #panel-01 .panel-content .panel_01_top {
  grid-template-columns: 1fr 39.375rem;
}
.divorce #panel-01 .panel-content .panel_01_box.box_wrap {
  padding: 5.75rem 29.9375rem 5.75rem 8.375rem;
  background-image: url("./assets/images/img_divorce_panel_01_01.png");
  background-position: right 7.9375rem center;
  background-size: auto 17.875rem;
  background-repeat: no-repeat;
}
.divorce #panel-01 .panel-content .panel_01_grid.grid_wrap {
  grid-template-columns: repeat(3, 1fr);
  column-gap: 2.375rem;
}
.divorce #panel-01 .panel-content .panel_01_grid.grid_wrap li {
  padding: 4.625rem 0 3.75rem;
}
.divorce #panel-01 .panel-content .panel_01_grid .box_wrap {
  padding: 0 1.1875rem;
  margin: 0 auto;
  width: fit-content;
  line-height: 2.8125rem;
}
.divorce #panel-01 .panel-content .panel_01_full {
  height: 32rem;
  background-image: url("./assets/images/img_divorce_panel_01_02.png");
  background-position: right 25.625rem center;
  background-repeat: no-repeat;
}
.divorce #panel-01 .panel-content .panel_01_full ul {
  position: relative;
}
.divorce #panel-01 .panel-content .panel_01_full ul li {
  position: absolute;
  left: 0;
  top: 0;
  width: 13.5rem;
  height: 13.5rem;
  border: 1px solid #7b7b7b;
}
.divorce #panel-01 .panel-content .panel_01_full ul li:nth-child(2) {
  left: 11.8125rem;
}
.divorce #panel-01 .panel-content .panel_01_full ul li:nth-child(3) {
  left: 23.625rem;
}
.divorce #panel-01 .panel-content .panel_01_step > h5 {
  text-shadow: -1px -1px 0 #f47e00, /* 왼쪽 위 */ 1px -1px 0 #f47e00, /* 오른쪽 위 */ -1px 1px 0 #f47e00, /* 왼쪽 아래 */ 1px 1px 0 #f47e00;
}
.divorce #panel-01 .panel-content .panel_01_step .counsel_step {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 67.125rem;
  height: 7.9375rem;
}
.divorce #panel-01 .panel-content .panel_01_step .counsel_step span {
  font-weight: 700;
}
.divorce #panel-01 .panel-content .panel_01_step .counsel_step h5 {
  font-weight: 600;
}
.divorce #panel-01 .panel-content .panel_01_step .counsel_step li {
  position: absolute;
  border: 1px solid #f47e00;
  padding: 1.4375rem 3.8125rem 2.0625rem;
  height: 7.9375rem;
}
.divorce #panel-01 .panel-content .panel_01_step .counsel_step li:nth-child(2) {
  left: 12.9375rem;
}
.divorce #panel-01 .panel-content .panel_01_step .counsel_step li:nth-child(3) {
  right: 17.0625rem;
}
.divorce #panel-01 .panel-content .panel_01_step .counsel_step li:nth-child(4) {
  right: 0;
}
.divorce #panel-01 .panel-content .panel_01_step .counsel_step li span {
  font-size: 1.25rem;
  line-height: 1.25rem;
}
.divorce #panel-01 .panel-content .panel_01_step .counsel_step li h5 {
  margin-top: 0.875rem;
  line-height: 1.875rem;
}
.divorce #panel-01 .panel-content .panel_01_step .counsel_list li + li {
  margin-top: 3.75rem;
}
.divorce #panel-01 .panel-content .panel_01_step .counsel_list .grid_wrap {
  grid-template-columns: 3.125rem 21.375rem 1fr;
}

.divorce #panel-02 .panel-content .panel_02_review {
  grid-template-columns: repeat(6, 1fr);
  column-gap: 2.0625rem;
  row-gap: 3.125rem;
  justify-items: center;
  justify-content: center;
}
.divorce #panel-02 .panel-content .panel_02_review .review_item {
  position: relative;
  padding-top: 3.125rem;
  width: 100%;
  max-width: 29.0625rem;
  text-align: center;
}
.divorce #panel-02 .panel-content .panel_02_review .review_item .item-icn {
  display: block;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 6.25rem;
  height: 6.25rem;
  border-radius: 100%;
  background-color: #f47e00;
}
.divorce #panel-02 .panel-content .panel_02_review .review_item:nth-child(1) {
  grid-column: 1 / span 2;
}
.divorce #panel-02 .panel-content .panel_02_review .review_item:nth-child(2) {
  grid-column: 3 / span 2;
}
.divorce #panel-02 .panel-content .panel_02_review .review_item:nth-child(3) {
  grid-column: 5 / span 2;
}
.divorce #panel-02 .panel-content .panel_02_review .review_item:nth-child(4) {
  grid-column: 2 / span 2;
}
.divorce #panel-02 .panel-content .panel_02_review .review_item:nth-child(5) {
  grid-column: 4 / span 2;
}
.divorce #panel-02 .panel-content .panel_02_review .review_item .item_box {
  padding: 4.1875rem 1.25rem 3.125rem;
  height: 20.5rem;
}
.divorce #panel-02 .panel-content .panel_02_review .review_item .item_box .box-content {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
  margin-bottom: 1.0625rem;
  line-height: 1.5rem;
  font-size: 1rem;
}
.divorce #panel-02 .panel-content .panel_02_review .review_item .item_box .box-writer {
  color: #777777;
  text-align: center;
}
.divorce #panel-02 .panel-content .panel_02_review .review_item .item_box .box-writer span {
  display: inline-block;
  position: relative;
}
.divorce #panel-02 .panel-content .panel_02_review .review_item .item_box .box-writer span + span {
  margin-left: 0.9375rem;
}
.divorce #panel-02 .panel-content .panel_02_review .review_item .item_box .box-writer span + span:before {
  content: "·";
  position: absolute;
  left: -0.5625rem;
}

.divorce #panel-03 .panel-content .panel_03_test {
  overflow-x: auto;
  width: 100%;
}
.divorce #panel-03 .panel-content .panel_03_test .test_table {
  border-top: 1px solid #aaaaaa;
}
.divorce #panel-03 .panel-content .panel_03_test .test_table tr {
  background-color: #fff8e5;
}
.divorce #panel-03 .panel-content .panel_03_test .test_table th,
.divorce #panel-03 .panel-content .panel_03_test .test_table td {
  padding: 0.625rem 2.25rem;
  border-bottom: 1px solid #aaaaaa;
  line-height: 1.875rem;
  font-size: 1.125rem;
  text-align: left;
}
.divorce #panel-03 .panel-content .panel_03_test .test_table th:not(:first-child),
.divorce #panel-03 .panel-content .panel_03_test .test_table td:not(:first-child) {
  border-left: 1px solid #aaaaaa;
}
.divorce #panel-03 .panel-content .panel_03_test .test_description {
  grid-template-columns: repeat(2, 1fr);
}
.divorce #panel-03 .panel-content .panel_03_test .test_result {
  border-top: 1px solid #aaaaaa;
}
.divorce #panel-03 .panel-content .panel_03_test .test_result li {
  display: grid;
  grid-template-columns: 8.8125rem 1fr 30rem;
  border-bottom: 1px solid #aaaaaa;
}
.divorce #panel-03 .panel-content .panel_03_test .test_result p {
  padding: 1.125rem 2.25rem;
  line-height: 1.5rem;
  font-size: 1.125rem;
}
.divorce #panel-03 .panel-content .result_btn .btn_wrap {
  grid-template-columns: repeat(2, 13.4375rem);
  column-gap: 1.25rem;
  margin: 0 auto;
  width: max-content;
}

@media (max-width: 991px) {
  html {
    font-size: 16px;
  }
  .body_wrap .mainSec_01 .section_wrap {
    padding: 0 1.25rem 7.125rem;
  }
  .body_wrap .mainSec_01 .mainSec1Swiper {
    aspect-ratio: 353 / 256;
  }
  .body_wrap .mainSec_01 .mainSec1Swiper .swiper-slide .slide_content {
    left: 1.5rem;
    line-height: 1.875rem;
    font-size: 1.25rem;
  }
  .body_wrap .mainSec_01 .mainSec1Intro {
    grid-template-columns: 1fr;
    row-gap: 1.25rem;
    margin-top: 0.9375rem;
  }
  .body_wrap .mainSec_01 .mainSec1Intro li {
    aspect-ratio: unset;
    padding: 1.5rem 1.875rem;
  }
  .body_wrap .mainSec_01 .mainSec1Intro li a {
    margin-top: 0.875rem;
  }
  .body_wrap .mainSec_01 .mainSec1Intro li p {
    font-size: 0.875rem;
  }
  .body_wrap .mainSec_01 .mainSec1Intro li a span {
    font-size: 1.25rem;
  }
  .body_wrap .mainSec_02 .programList {
    overflow-x: auto;
    grid-template-columns: repeat(6, 1fr);
    column-gap: 1.25rem;
    padding: 0 1.25rem;
  }
  .body_wrap .mainSec_02 .programList li {
    width: calc(100dvw - 3.75rem);
    aspect-ratio:200 / 190;
  }

  .body_wrap .mainSec_03 {
    grid-template-columns: 1fr;
    row-gap: 2.1875rem;
    padding: 9.75rem 1.25rem 7.9375rem;
  }
  .body_wrap .mainSec_03 .left {
    text-align: center;
  }
  .body_wrap .mainSec_03 .right a span{
    padding:1rem 0;
    line-height:2rem;
  }

  .body_wrap .mainSec_04 {
    padding: 9.75rem 0 7.9375rem 1.25rem;
  }
  .body_wrap .mainSec_04 .mainSec04_wrap {
    grid-template-columns: 1fr;
    row-gap: 2.1875rem;
  }
  .body_wrap .mainSec_04 .mainSec04_wrap .review_list {
    overflow-x: auto;
  }

  .info_01 {
    display: block;
    padding: 0 1.25rem;
  }
  .info_01 .info_left {
    padding: 0;
  }
  .info_01 .info_right {
    margin-top: 1.875rem;
  }
  .info_02 .info_list > .grid_wrap {
    grid-template-columns: 1fr;
    padding: 5rem 1.25rem 3.25rem 1.25rem;
    border-radius: 0;
  }
  .info_02 .info_list .grid_wrap h4 {
    margin-bottom: 7.5rem;
  }

  .greetings .greetings_01 {
    padding: 0 1.25rem;
  }
  .greetings_01 .greetings_left {
    padding-top: 12.5rem;
  }
  .greetings_01 .greetings_right {
    right: 1.25rem;
    top: -13.5rem;
    max-width: 21.25rem;
  }
  .greetings_01 .greetings_left .grid_wrap {
    grid-template-columns: 1fr;
    row-gap: 2.1875rem;
  }
  .greetings_01 .greetings_left .grid_wrap .icn_greetings {
    margin: 0 auto;
  }

  .embrace .embrace_01 {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .embrace_01 .embrace_top {
    grid-template-columns: 1fr;
    position: relative;
    left: unset;
    top: unset;
    transform: unset;
    padding: 1.25rem;
    margin-top: -14.375rem;
    margin-bottom: 1.25rem;
    max-width: calc(100dvw - 2.5rem);
    text-align: center;
  }
  .embrace_01 .embrace_top h5 {
    padding: 6.75rem 0 0;
    line-height: inherit;
    background-position: center top;
    background-size: 5.5rem;
  }
  .embrace_01 .embrace_list {
    grid-template-columns: 1fr;
    row-gap: 1.875rem;
  }
  .embrace_01 .embrace_list .list_item:nth-child(1) {
    background-position: right 1.4375rem top 1.875rem;
    background-size: 230px 240px;
  }
  .embrace_01 .embrace_list .list_item:nth-child(2) {
    background-position: right 1.6875rem top 4.75rem;
    background-size: 211px 170px;
  }
  .embrace_01 .embrace_list .list_item:nth-child(3) {
    background-position: right 1.6875rem top 4.75rem;
    background-size: 211px 170px;
  }
  .embrace_01 .embrace_list .list_item .mt210 {
    margin-top: 14.375rem !important;
  }

  .contactus .contactus_01 {
    grid-template-columns: 1fr;
    row-gap: 8rem;
    padding-left: 1.25rem;
  }
  .contactus .contactus_01 .contactus_left {
    order: 2;
  }
  .contactus .contactus_01 .contactus_right {
    order: 1;
  }
  .contactus .contactus_01 .contactus_right iframe {
    height: 18.75rem;
  }

  .counsel .tabs__tablist {
    margin: 0 1.25rem !important;
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  .counsel_01 .counsel_top {
    grid-template-columns: 1fr;
    position: relative;
    left: unset;
    top: unset;
    transform: unset;
    padding: 1.25rem;
    margin-top: -14.375rem !important;
    margin-bottom: 1.25rem !important;
    max-width: calc(100dvw - 2.5rem) !important;
    text-align: center;
  }
  .counsel_01 .counsel_top h5 {
    padding: 6.75rem 0 0;
    line-height: inherit;
    background-position: center top;
    background-size: 5.5rem;
  }
  .counsel #panel-01 .panel-content .panel_01_top {
    grid-template-columns: 1fr;
    row-gap: 2.8125rem;
    padding: 0 1.25rem;
    text-align: center;
  }
  .counsel #panel-01 .panel-content .panel_01_bottom {
    padding: 9.375rem 1.25rem !important;
  }
  .counsel #panel-01 .panel-content .panel_01_bottom .counsel_test {
    border: 0;
    padding: 1.5625rem 0;
  }
  .counsel #panel-01 .panel-content .panel_01_bottom .counsel_test .grid_wrap {
    grid-template-columns: 1fr;
    row-gap: 1.625rem;
  }

  .counsel #panel-02 .panel-content .panel_02_top {
    grid-template-columns: 1fr;
    row-gap: 2.8125rem;
    padding: 0 1.25rem;
    text-align: center;
  }
  .counsel #panel-02 .panel-content .panel_02_bottom .counsel_list {
    padding: 0 1.25rem;
    height: 28rem;
  }
  .counsel #panel-02 .panel-content .panel_02_bottom .counsel_list li {
    width: calc(100% - 2.5rem);
    border: 5px solid #fff;
  }
  .counsel #panel-02 .panel-content .panel_02_bottom .counsel_list li:nth-child(1) {
    left: 50%;
    transform: translateX(-50%);
  }
  .counsel #panel-02 .panel-content .panel_02_bottom .counsel_list li:nth-child(2) {
    left: 50%;
    top: 9.0625rem;
    transform: translateX(-50%);
  }
  .counsel #panel-02 .panel-content .panel_02_bottom .counsel_list li:nth-child(3) {
    left: 50%;
    right: unset;
    top: 18rem;
    transform: translateX(-50%);
  }

  .counsel #panel-03 .panel-content .panel_03_top {
    padding: 0 1.25rem;
  }
  .counsel #panel-03 .panel-content .panel_03_bottom .counsel_list {
    height: 28.125rem;
  }
  .counsel #panel-03 .panel-content .panel_03_bottom .counsel_list li {
    padding-left: 6dvw;
    padding-right: 6dvw;
    width: calc(100% - 2.5rem);
    height: 14.6875rem;
  }
  .counsel #panel-03 .panel-content .panel_03_bottom .counsel_list li:nth-child(1) {
    left: 50%;
    transform: translateX(-50%);
  }
  .counsel #panel-03 .panel-content .panel_03_bottom .counsel_list li:nth-child(2) {
    right: unset;
    left: 50%;
    top: 13rem;
    transform: translateX(-50%);
    padding-top: 1.875rem;
  }

  .counsel #panel-04 .panel-content .panel_04_top {
    padding: 0 1.25rem 66.5625rem;
    text-align: center;
    background-image: url("./assets/images/img_panel_04_01_mo.png");
    background-size: 100dvw auto;
  }
  .counsel #panel-04 .panel-content .panel_04_middle .middle_list {
    grid-template-columns: 1fr;
    row-gap: 4.3125rem;
  }
  .counsel #panel-04 .panel-content .panel_04_middle .middle_img {
    padding: 16.25rem 1.25rem 0;
    background-position: center top;
    background-size: calc(100dvw - 2.5rem) auto;
  }
  .counsel #panel-04 .panel-content .panel_04_bottom .bottom_top {
    aspect-ratio:353/655;
    padding: 14.25rem 1.25rem 0;
    background-image: url("./assets/images/img_panel_04_06_mo.png");
    background-position: center top;
    background-size: calc(100dvw - 2.5rem) auto;
  }
  .counsel #panel-04 .panel-content .panel_04_bottom .bottom_top h5 br {
    display: none;
  }
  .counsel #panel-04 .panel-content .panel_04_bottom .bottom_top h5,
  .counsel #panel-04 .panel-content .panel_04_bottom .bottom_top .text {
    padding: 0 1.25rem;
  }
  .counsel #panel-04 .panel-content .panel_04_bottom .bottom_middle {
    aspect-ratio: 386 / 246;
    height: auto;
    background-image: url("./assets/images/img_panel_04_07_mo.png");
    background-size: 100dvw auto;
  }
  .counsel #panel-04 .panel-content .panel_04_bottom .bottom_bottom {
    padding: 0 1.25rem;
  }

  .counsel #panel-05 .panel-content .panel_05_top {
    grid-template-columns: 1fr;
    row-gap: 2.8125rem;
    padding: 0 1.25rem;
    text-align: center;
  }
  .counsel #panel-05 .panel-content .panel_05_bottom {
    padding: 0 1.25rem;
  }
  .counsel #panel-05 .panel-content .panel_05_bottom .grid_wrap {
    padding: 3.125rem 1.5625rem 15rem;
    background-position: center bottom;
    background-size: 90% auto;
    text-align: center;
  }

  .counsel #panel-06 .panel-content .panel_06_top {
    padding: 0 1.25rem;
    text-align: center;
  }
  .counsel #panel-06 .panel-content .panel_06_bottom {
    padding: 0 1.25rem;
  }
  .counsel #panel-06 .panel-content .panel_06_bottom .pd_50 {
    padding: 3.125rem 1.25rem !important;
  }
  .counsel #panel-06 .panel-content .panel_06_bottom .counsel_list {
    height: 33rem;
  }
  .counsel #panel-06 .panel-content .panel_06_bottom .counsel_list li {
    left: 50%;
    transform: translateX(-50%);
    width: calc(100dvw - 5rem);
  }
  .counsel #panel-06 .panel-content .panel_06_bottom .counsel_list li:nth-child(1) {
    left: 50%;
  }
  .counsel #panel-06 .panel-content .panel_06_bottom .counsel_list li:nth-child(2) {
    left: 50%;
    top: 7.8125rem;
  }
  .counsel #panel-06 .panel-content .panel_06_bottom .counsel_list li:nth-child(3) {
    right: unset;
    top: 15.625rem;
  }
  .counsel #panel-06 .panel-content .panel_06_bottom .counsel_list li:nth-child(4) {
    right: unset;
    top: 23.4375rem;
  }

  .divorce_01 .divorce_top {
    grid-template-columns: 1fr;
    row-gap: 1.5625rem;
    position: relative;
    left: unset;
    top: unset;
    transform: unset;
    padding: 1.25rem;
    margin: -14.375rem 1.25rem 3.25rem !important;
    max-width: calc(100dvw - 2.5rem) !important;
    text-align: center;
  }
  .divorce_01 .divorce_top h5 {
    padding: 6.625rem 0 0;
    background-position: top center;
    background-size: 4.625rem;
    text-align: center;
  }
  .divorce_01 .divorce_top h5 br {
    display: none;
  }
  .divorce .tabs__tablist {
    display: block;
    text-align: center;
  }
  .divorce .tabs__tab {
    width: 100%;
  }

  .divorce #panel-01 .panel-content .panel_01_top {
    padding: 0 1.25rem;
  }
  .divorce #panel-01 .panel-content .panel_01_box.box_wrap {
    padding: 1.5625rem 2.1875rem 11.875rem;
    margin: 2.8125rem 1.25rem 0;
    background-size: auto 13.125rem;
    background-position: center bottom;
    text-align: center;
  }
  .divorce #panel-01 .panel-content .panel_01_grid.grid_wrap {
    overflow-x: auto;
  }
  .divorce #panel-01 .panel-content .panel_01_grid.grid_wrap li {
    width: calc(100dvw - 4.375rem);
  }
  .divorce #panel-01 .panel-content .panel_01_grid.grid_wrap li:first-child {
    margin-left: 1.25rem;
  }
  .divorce #panel-01 .panel-content .panel_01_grid.grid_wrap li:last-child {
    margin-right: 1.25rem;
  }

  .divorce #panel-01 .panel-content .panel_01_full {
    height: 69rem;
    background-size: 16.75rem auto;
    background-position: center bottom 4.6875rem;
  }
  .divorce #panel-01 .panel-content .panel_01_full ul li {
    left: 50%;
    transform: translatex(-50%);
  }
  .divorce #panel-01 .panel-content .panel_01_full ul li:nth-child(2) {
    left: 50%;
    top: 11.5rem;
  }
  .divorce #panel-01 .panel-content .panel_01_full ul li:nth-child(3) {
    left: 50%;
    top: 23rem;
  }
  .divorce #panel-01 .panel-content .panel_01_step .counsel_step {
    height: 27.5rem;
  }
  .divorce #panel-01 .panel-content .panel_01_step .counsel_step li {
    left: 50%;
    transform: translatex(-50%);
    padding: 1.4375rem 2.25rem 2.0625rem;
    width: calc(100dvw - 4.375rem);
  }
  .divorce #panel-01 .panel-content .panel_01_step .counsel_step li br {
    display: none;
  }
  .divorce #panel-01 .panel-content .panel_01_step .counsel_step li:nth-child(2) {
    left: 50%;
    top: 6.5rem;
  }
  .divorce #panel-01 .panel-content .panel_01_step .counsel_step li:nth-child(3) {
    right: 50%;
    top: 13rem;
  }
  .divorce #panel-01 .panel-content .panel_01_step .counsel_step li:nth-child(4) {
    right: 50%;
    top: 19.5rem;
  }
  .divorce #panel-01 .panel-content .panel_01_step .counsel_list {
    padding: 0 1.25rem;
  }
  .divorce #panel-01 .panel-content .panel_01_step .counsel_list .grid_wrap {
    grid-template-columns: 3.125rem 1fr;
  }
  .divorce #panel-01 .panel-content .panel_01_step .counsel_list .grid_wrap .text.small {
    grid-column: 1 / span 2;
  }

  .divorce #panel-02 .panel-content .panel_02_review {
    overflow-x: auto;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 1.25rem;
    justify-content: unset !important;
    padding: 0 1.25rem;
  }
  .divorce #panel-02 .panel-content .panel_02_review .review_item {
    grid-column: unset !important;
    width: calc(100dvw - 2.5rem);
  }

  .divorce #panel-03 .panel-content {
    padding: 0 1.25rem;
  }
  .divorce #panel-03 .panel-content .result_btn {
    padding: 2.5rem 1.25rem 1.875rem;
  }
  .divorce #panel-03 .panel-content .result_btn .btn_wrap {
    grid-template-columns: 1fr;
    row-gap: 0.9375rem;
  }
  .divorce #panel-03 .panel-content .panel_03_test .test_result{
    width:max-content;
  }
}
