/* 서브 페이지 공통 요소 */
.inner { max-width: 1600px; margin: 0 auto; }

.comm-lnb-wrap {
  border-bottom: 1px solid #ddd;
}
.comm-lnb-wrap ul {
  display: flex;
  justify-content: space-between;
  max-width: 1600px;
  margin: 0 auto;
}
.comm-lnb-wrap.lnb3 ul {
  max-width: 800px;
}
.comm-lnb-wrap.lnb2 ul {
  max-width: 534px;
}
.comm-lnb-wrap ul li {
  width: 100%;
}
.comm-lnb-wrap ul li a {
  display: block;
  font-size: 1.8rem;
  font-weight: 500;
  color: #777;
  text-align: center;
  padding: 3.8rem 0 2.4rem;
  position: relative;
}
.comm-lnb-wrap ul li.active a {
  border-bottom: 1px solid #000;
  color: #000;
}
.comm-lnb-wrap ul li.active a::after {
  content: "";
  width: .4rem;
  height: .4rem;
  background: #009688;
  border-radius: 100%;
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
}

.link-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  width: fit-content;
  font-size: 2rem;
  border-radius: 5rem;
  padding: 1.6rem 3rem;
  text-align: center;
  border: 1px solid #000;
  color: #000;
}
.link-btn.small {
  font-size: 1.6rem;
}
.link-btn:hover {
  color: inherit;
}
.link-btn.bg {
  color: #fff;
  background: #009688;
  border: 1px solid #009688;
}
.link-btn.bg img {
  filter: invert(1);
}


/* 상단 배경화면 */
.brand .comm-visual-wrap,
.information .comm-visual-wrap {
  background: url("../_img/sub/sv-brand.png") no-repeat center / cover;
}
.diagnosis .comm-visual-wrap {
  background: url("../_img/sub/sv-diagnosis.png") no-repeat center / cover;
}
.program .comm-visual-wrap {
  background: url("../_img/sub/sv-program.png") no-repeat center / cover;
}
.location .comm-visual-wrap {
  background: url("../_img/sub/sv-location.png") no-repeat center / cover;
}
.product .comm-visual-wrap {
  background: url("../_img/sub/sv-location.png") no-repeat center / cover;
}
.event .comm-visual-wrap {
  background: url("../_img/sub/sv-event.png") no-repeat center / cover;
}
.contact .comm-visual-wrap {
  background: url("../_img/sub/sv-contact.png") no-repeat center / cover;
}
.cases .comm-visual-wrap {
  background: url("../_img/sub/sv-cases.png") no-repeat center / cover;
}


.comm-visual-wrap {
  background: #ddd;
  width: 100%;
  height: 68rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.comm-visual-wrap .title-wrap .desc {
  font-size: clamp(1.7rem, 2vw, 2rem);
  line-height: 1.6;
}
.comm-visual-wrap .title-wrap h1 {
  font-size: clamp(4rem, 4vw, 6.8rem);
  font-weight: 300;
}
.comm-visual-wrap .title-wrap .title-sub-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}
.comm-visual-wrap .title-wrap .title-sub-wrap p {
  font-size: 1.8rem;
  line-height: 1.6;
  color: #fff;
}
.comm-visual-wrap .title-wrap .title-sub-wrap i {
  width: 20rem;
  height: .1rem;
  background: #fff;
}
.comm-visual-wrap .title-wrap .title-sub-wrap span {
  font-family: 'Trirong';
  font-weight: 300;
  font-size: 2rem;
  line-height: 1.6;
}

@media (max-width: 1600px) {
  .inner {
    max-width: 100%;
    padding: 0 2rem;
  }
}

@media (max-width: 720px) {
  .comm-visual-wrap {
    height: 60rem;
  }
  .comm-visual-wrap .title-wrap .title-sub-wrap {
    flex-direction: column;
  }
  .comm-visual-wrap .title-wrap .title-sub-wrap i {
    width: .1rem;
    height: 6rem;
  }
  .comm-lnb-wrap ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .comm-lnb-wrap ul li a {
    padding: 1.5rem 0;
  }
  .comm-lnb-wrap ul li.active a::after {
    display: none;
  }

  .link-btn {
    font-size: 1.8rem;
    padding: 1.4rem 2.8rem;
  }
}

/*  [CJN 소개] /brand/story  */
.story .sec1 {
  padding: 12rem;
}
.story .sec1 .title-wrap {
  text-align: center;
}
.story .sec1 .title-wrap h2 {
  font-size: 4rem;
}
.story .sec1 .title-wrap h2 b {
  font-family: 'Trirong';
  font-weight: 500;
}
.story .sec1 .title-wrap p {
  font-size: clamp(2.2rem, 2.2vw, 2.8rem);
  font-weight: 500;
  line-height: 1.4;
  margin: 4rem 0 2rem;
}
.story .sec1 .title-wrap span {
  display: block;
  font-size: clamp(1.8rem, 2vw, 2rem);
  line-height: 1.4;
  color: #444;
}
.story .sec1 .btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
  gap: 1rem;
}
.story .sec2 {
  padding-top: 12rem;
  padding-bottom: 16rem;
  background: #f8f8f8;
}
.story .sec2 .title-wrap {
  text-align: center;
  margin-bottom: 8rem;
}
.story .sec2 .title-wrap span {
  display: block;
  font-family: 'Trirong';
  font-size: 1.8rem;
  font-weight: 500;
  color: #009688;
  margin-bottom: 2rem;
}
.story .sec2 .title-wrap h2 {
  font-size: clamp(2.6rem, 3vw, 3.2rem);
  font-weight: 500;
  line-height: 1.4;
}
.story .sec2 .title-wrap p {
  font-size: 2rem;
  line-height: 1.4;
  color: #444;
  margin-top: 2rem;
}
.story .sec2 .img-wrap {
  display: flex;
  gap: 4rem;
}
.story .sec2 .img-wrap img {
  width: 100%;
  height: 100%;
  min-width: 0;
}
.story .sec2 .img-wrap .img1 {
  margin-top: 6rem;
}
.story .sec2 .img-wrap .img3 {
  margin-top: 12rem;
}
.story .sec2 .worry-wrap {
  margin-top: 16rem;
}
.story .sec2 .worry-wrap .title-box {
  text-align: center;
  margin-bottom: 6rem;
}
.story .sec2 .worry-wrap .title-box h3 {
  font-size: clamp(3rem, 3vw, 4rem);
  font-weight: 500;
  margin-bottom: 2rem;
}
.story .sec2 .worry-wrap .title-box p {
  font-size: clamp(2.2rem, 2.2vw, 2.8rem);
  line-height: 1.4;
}
.story .sec2 .worry-wrap .title-box p b {
  font-weight: 700;
  color: #c2a064;
}
.story .sec2 .worry-wrap .list-wrap ul {
  display: flex;
  justify-content: center;
  gap: 6rem; 
}
.story .sec2 .worry-wrap .list-wrap ul li {
  text-align: center;
}
.story .sec2 .worry-wrap .list-wrap ul li img {
  width: 100%;
  min-width: 0;
  max-width: 240px;
}
.story .sec2 .worry-wrap .list-wrap ul li p {
  font-size: clamp(1.8rem, 2vw, 2rem);
  line-height: 1.4;
  margin-top: 2rem;
}
.story .sec3 .content-wrap {
  display: flex;
  align-items: center;
}
.story .sec3 .content-wrap .img-wrap {
  width: 50%;
}
.story .sec3 .content-wrap .img-wrap img {
  width: 100%;
}
.story .sec3 .content-wrap .text-wrap {
  width: 50%;
  padding: 8rem;
}
.story .sec3 .content-wrap .text-wrap h3 {
  font-size: clamp(2.6rem, 3vw, 3.6rem);
  font-weight: 600;
  line-height: 1.4;
}
.story .sec3 .content-wrap .text-wrap p {
  margin-top: 2.5rem;
  font-size: clamp(1.8rem, 2vw, 2rem);
  line-height: 1.6;
}
.story .sec4 {
  background: #f8f8f8;
  padding: 12rem 0;
  text-align: center;
}
.story .sec4 .title-wrap h2 {
  font-size: clamp(3rem, 3vw, 4rem);
  font-weight: 600;
  line-height: 1.4;
  color: #000;
  margin-bottom: 4rem;
}
.story .sec4 .title-wrap p {
  font-size: clamp(2.4rem, 2.6vw, 2.8rem);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 2rem;
}
.story .sec4 .title-wrap span {
  display: block;
  font-size: 2rem;
  color: #444;
  line-height: 1.4;
}
.story .sec4 .btn-wrap {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 6rem;
}

@media (max-width: 1200px) {
  .story .sec3 .content-wrap {
    flex-direction: column;
  }
  .story .sec3 .content-wrap .img-wrap {
    width: 100%;
  }
  .story .sec3 .content-wrap .text-wrap {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .story .sec1 {
    padding: 12rem 2rem;
  }
  .story .sec2 .img-wrap {
    gap: 2rem;
  }
}

@media (max-width: 720px) {
  .story .sec1 {
    padding: 8rem 2rem;
  }
  .story .sec1 .btn-wrap {
    flex-direction: column;
    align-items: center;
  }
  .story .sec1 .btn-wrap .link-btn {
    width: 100%;
  }
  .story .sec2 {
    padding-top: 8rem;
    padding-bottom: 10rem;
  }
  .story .sec2 .img-wrap {
    flex-direction: column;
  }
  .story .sec2 .img-wrap img {
    margin-top: 0 !important;
  }
  .story .sec2 .worry-wrap .list-wrap ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .story .sec2 .worry-wrap {
    margin-top: 9rem;
  }
  .story .sec2 .worry-wrap .list-wrap {
    padding: 2rem;
  }
  .story .sec3 .content-wrap .text-wrap {
    padding: 4rem;
  }
  .story .sec4 {
    padding: 8rem 0;
  }
  .story .sec4 .btn-wrap {
    flex-direction: column;
    align-items: center;
  }
  .story .sec4 .btn-wrap .link-btn {
    width: 100%;
  }
}


/*  [CJN 소개] /brand/greeting  */
.greeting .sec1 {
  padding: 12rem 0;
}
.greeting .sec1 .inner {
  display: flex;
  align-items: center;
  gap: 12rem;
  position: relative;
}
.greeting .sec1 .text-wrap h2 {
  font-size: clamp(3rem, 3vw, 6rem);
  font-weight: 600;
  margin-bottom: 4rem;
}
.greeting .sec1 .text-wrap h2 b {
  font-family: 'Trirong';
  font-weight: 600;
  font-size: clamp(3rem, 3vw, 6.8rem);
}
.greeting .sec1 .text-wrap .text-box:first-of-type {
  margin-bottom: 4rem;
}
.greeting .sec1 .text-wrap .text-box h3 {
  font-size: clamp(2.3rem, 2.5vw, 2.8rem);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 2rem;
}
.greeting .sec1 .text-wrap .text-box p {
  font-size: clamp(1.8rem, 2vw, 2rem);
  color: #444;
  line-height: 1.6;
}
.greeting .sec1 .text-wrap .text-box .box {
  display: flex;
  justify-content: space-between;
}
.greeting .sec1 .text-wrap .text-box .box p {
  line-height: 2;
}
.greeting .sec1 .care {
  position: absolute;
  bottom: -12rem;
  left: 51rem;
  font-size: 16rem;
  font-family: 'Trirong';
  font-weight: 600;
  color: #f5f5f5;
  line-height: 1.4;
  z-index: -1;
}
.greeting .sec2 .slides-wrap {
  overflow: hidden;
  background: #827565;
}
.greeting .sec2 .slides-wrap ul li {
  display: flex;
}
.greeting .sec2 .slides-wrap ul li .img-wrap {
  width: 50%;
}
.greeting .sec2 .slides-wrap ul li .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.greeting .sec2 .slides-wrap ul li .text-wrap {
  width: 50%;
  background: #827565;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 6rem;
  color: #fff;
}
.greeting .sec2 .slides-wrap ul li .text-wrap h3 {
  font-size: clamp(2.5rem, 3vw, 3.6rem);
  line-height: 1.4;
  margin-bottom: clamp(1rem, 2vw, 2rem);
}
.greeting .sec2 .slides-wrap ul li .text-wrap p {
  font-size: clamp(1.6rem, 2vw, 2rem);
  line-height: 1.6;
}
.greeting .sec2 .indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 6rem;
}
.greeting .sec2 .indicator span {
  display: block;
  width: .6rem;
  height: .6rem;
  background: #ccc;
  border-radius: 100%;
  cursor: pointer;
}
.greeting .sec2 .indicator span.active {
  outline: 2px solid #deaa61;
  background: #fff;
}
.greeting .sec3 {
  padding: 12rem 0;
}
.greeting .sec3 h2,
.greeting .sec4 h2 {
  font-size: clamp(2.6rem, 3vw, 4rem);
  font-weight: 500;
  line-height: 1.4;
  color: #000;
  text-align: center;
  margin-bottom: 6rem;
}
.greeting .sec3 ul {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}
.greeting .sec3 ul li {
  width: 100%;
  background: #f5f5f5;
  padding: 6rem 4rem;
}
.greeting .sec3 ul li span {
  display: block;
  font-family: 'Trirong';
  font-size: 1.6rem;
  font-weight: 300;
  color: #009688;
  margin-bottom: .5rem;
}
.greeting .sec3 ul li h3 {
  font-size: 2.8rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 2rem;
}
.greeting .sec3 ul li p {
  font-size: 1.8rem;
  line-height: 1.6;
  color: #000;
}
.greeting .sec4 {
  padding-bottom: 16rem;
}
.greeting .sec4 .img-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.greeting .sec4 .img-wrap img {
  width: 100%;
  min-width: 0;
}
.greeting .sec4 .link-btn {
  width: 24rem;
  margin: 6rem auto 0;
}

@media (max-width: 1600px) {
  .greeting .sec1 .inner {
    gap: 6rem;
  }
  .greeting .sec1 .img-wrap img {
    width: 100%;
  }
  .greeting .sec1 .care {
    display: none;
  }
}

@media (max-width: 720px) {
  .greeting .sec1 {
    padding: 4rem 0;
  }
  .greeting .sec1 .inner {
    flex-direction: column;
    gap: 4rem;
  }
  .greeting .sec1 .img-wrap {
    width: 100%;
  }
  .greeting .sec1 .text-wrap {
    width: 100%;
  }
  .greeting .sec2 .slides-wrap ul li {
    flex-direction: column;
  }
  .greeting .sec2 .slides-wrap ul li .img-wrap {
    width: 100%;
  }
  .greeting .sec2 .slides-wrap ul li .text-wrap {
    width: 100%;
    padding: 2rem;
  }
  .greeting .sec3 {
    padding: 8rem 0;
  }
  .greeting .sec3 ul {
    flex-direction: column;
  }
  .greeting .sec3 ul li {
    padding: 4rem;
  }
  .greeting .sec4 .img-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .greeting .sec3 h2, .greeting .sec4 h2 {
    margin-bottom: 3.5rem;
  }
  .greeting .sec4 {
    padding-bottom: 9rem;
  }
}



/*  [CJN 연혁] /brand/history  */
.history .sec1 {
  padding: 12rem 0;
}
.history .sec1 .title-wrap {
  text-align: center;
  position: relative;
  margin-bottom: 6rem;
}
.history .sec1 .title-wrap h2 {
  font-size: 4rem;
  font-weight: 500;
  margin-bottom: 2rem;
}
.history .sec1 .title-wrap h2 b {
  font-family: 'Trirong';
  font-weight: 500;
}
.history .sec1 .title-wrap p {
  font-size: clamp(2rem, 2.4vw, 2.8rem);
  line-height: 1.4;
  color: #111827;
}
.history .sec1 .title-wrap span {
  display: block;
  font-size: 18rem;
  font-weight: 700;
  font-family: 'Trirong';
  color: #00000005;
  z-index: -1;
  position: absolute;
  bottom: -14rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}
.history .sec1 .history-wrap {
  display: flex;
  align-items: flex-start;
  gap: 14rem;
  padding: 6rem 0;
  border-bottom: 1px solid #E5E7EB;
}
.history .sec1 .history-wrap h3 {
  font-family: 'Trirong';
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
}
.history .sec1 .history-wrap .list-wrap ul {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.history .sec1 .history-wrap .list-wrap ul li {
  display: flex;
}
.history .sec1 .history-wrap .list-wrap ul li span {
  display: block;
  width: 12rem;
  font-family: 'Trirong';
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 1.6;
  flex-shrink: 0;
}
.history .sec1 .history-wrap .list-wrap ul li p {
  font-size: 1.8rem;
  line-height: 1.6;
  color: #222;
  font-weight: 300;
}
.history .sec1 .history-wrap .img-wrap {
  margin-left: auto;
}

@media (max-width: 1200px) {
  .history .sec1 .history-wrap .img-wrap {
    display: none;
  }
  .history .sec1 .history-wrap {
    gap: 6rem;
  }
}

@media (max-width: 720px) {
  .history .sec1 {
    padding: 8rem 0;
  }
  .history .sec1 .title-wrap span {
    display: none;
  }
  .history .sec1 .history-wrap {
    flex-direction: column;
    gap: 4rem;
  }
  .history .sec1 .title-wrap {
    margin-bottom: 0;
  }
  .history .sec1 .history-wrap .list-wrap ul li span {
    width: 9rem;
  }
}


/*  [CJN 만의 차별화] /brand/special  */
.special .sec1 {
  padding: 18rem 0;
}
.special .sec1 .content-wrap:first-of-type {
  margin-bottom: 20rem;
}
.special .sec1 .title-wrap {
  text-align: center;
  position: relative;
  margin-bottom: 10rem;
}
.special .sec1 .title-wrap p {
  font-size: clamp(2.4rem, 2.4vw, 2.8rem);
  font-weight: 500;
}
.special .sec1 .title-wrap p b {
  font-family: 'Trirong';
  font-weight: 600;
}
.special .sec1 .title-wrap h2 {
  font-size: clamp(2.8rem, 3vw, 4.4rem);
  font-weight: 700;
  line-height: 1.4;
}
.special .sec1 .title-wrap span {
  display: block;
  font-family: 'Trirong';
  font-size: 18rem;
  font-weight: 700;
  color: #00000005; 
  position: absolute;
  top: -9rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: -1;
}
.special .sec1 .img-container ul {
  display: flex;
  justify-content: center;
  text-align: center;
}
.special .sec1 .img-container ul li .text-wrap {
  margin-top: 2rem;
}
.special .sec1 .img-container ul li .text-wrap p {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: .5rem;
}
.special .sec1 .img-container ul li .text-wrap span {
  display: block;
  font-size: 1.8rem;
  line-height: 1.6;
  color: #444;
}
.special .sec1 .img-container ul li:first-of-type {
  position: relative;
  left: 3rem;
  z-index: -1;
}
.special .sec1 .img-container ul li:last-of-type {
  position: relative;
  left: -3rem;
}
.special .sec1 .img-container ul li .img-wrap img {
  width: 100%;
  max-width: 360px;
  min-width: 0;
}
.special .sec1 .list-wrap ul {
  display: flex;
  gap: 2rem;
}
.special .sec1 .list-wrap ul li {
  width: 100%;
  padding: 6rem 3rem;
  background: #f5f5f5;
}
.special .sec1 .list-wrap ul li span {
  display: block;
  font-family: 'Trirong';
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1.6;
  color: #009688;
  margin-bottom: .5rem;
}
.special .sec1 .list-wrap ul li h3 {
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.4;
  color: #000;
  margin-bottom: 2rem;
}
.special .sec1 .list-wrap ul li p {
  font-size: 1.8rem;
  line-height: 1.6;
  color: #000;
}
.special .sec2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.special .sec2 .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.special .sec2 .text-wrap {
  height: 100%;
  padding: 10rem 8rem;
  background: #f8f8f8;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.special .sec2 .text-wrap .title-box {
  position: relative;
  margin-bottom: clamp(3rem, 3vw, 6rem);
}
.special .sec2 .text-wrap .title-box p {
  font-size: clamp(2.2rem, 2.2vw, 2.8rem);
}
.special .sec2 .text-wrap .title-box h3 {
  font-size: clamp(3rem, 3.5vw, 4.4rem);
  line-height: 1.4;
  font-weight: 700;
}
.special .sec2 .text-wrap .title-box span {
  font-family: 'Trirong';
  font-size: 18rem;
  font-weight: 700;
  color: #00000005;
  position: absolute;
  top: -10rem;
  right: 0;
}
.special .sec2 .text-wrap .check-wrap ul {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.special .sec2 .text-wrap .check-wrap ul li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.special .sec2 .text-wrap .check-wrap ul li .check-text h4 {
  font-size: clamp(2.2rem, 2.2vw, 2.4rem);
  font-weight: 600;
  line-height: 1.4;
}
.special .sec2 .text-wrap .check-wrap ul li .check-text h4 b {
  font-family: 'Trirong';
  font-weight: 700;
}
.special .sec2 .text-wrap .check-wrap ul li .check-text p {
  font-size: clamp(1.7rem, 1.8vw, 2rem);
  line-height: 1.4;
  color: #444;
}
.special .sec3 {
  padding: 16rem 0;
}
.special .sec3 .title-wrap {
  text-align: center;
  position: relative;
  margin-bottom: 8rem;
}
.special .sec3 .title-wrap p {
  font-size: clamp(2.4rem, 2.4vw, 2.8rem);
  font-weight: 600;
}
.special .sec3 .title-wrap h2 {
  font-size: clamp(3rem, 3vw, 4.4rem);
  font-weight: 700;
  line-height: 1.4;
}
.special .sec3 .title-wrap h2 b {
  font-family: 'Trirong';
  font-weight: 700;
}
.special .sec3 .title-wrap span {
  font-family: 'Trirong';
  font-size: 18rem;
  font-weight: 700;
  color: #00000005;
  position: absolute;
  top: -10rem;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.special .sec3 .title-wrap .btn-wrap {
  display: flex;
  justify-self: center;
  gap: 1rem;
  margin-top: 4rem;
}
.special .sec3 .title-wrap .btn-wrap .bg1 {
  background: #827565;
  border: 1px solid #827565;
}
.special .sec3 .title-wrap .btn-wrap .bg3 {
  background: #14332d;
  border: 1px solid #14332d;
}
.special .sec3 .content-wrap ul {
  display: flex;
  gap: 3rem;
}
.special .sec3 .content-wrap ul li {
  width: 100%;
}
.special .sec3 .content-wrap ul li .img-wrap {
  margin-bottom: 3rem;
}
.special .sec3 .content-wrap ul li .img-wrap img {
  width: 100%;
}
.special .sec3 .content-wrap ul li .title-box {
  padding-bottom: 3rem;
  border-bottom: 1px solid #ddd;
}
.special .sec3 .content-wrap ul li .title-box span {
  display: block;
  font-size: 1.8rem;
  line-height: 1.4;
  color: #009688;
  margin-bottom: .4rem;
}
.special .sec3 .content-wrap ul li .title-box h3 {
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1.4;
}
.special .sec3 .content-wrap ul li .desc-wrap {
  padding-top: 3rem;
}
.special .sec3 .content-wrap ul li .desc-wrap p {
  font-size: 2rem;
  line-height: 1.4;
  color: #666;
  margin-bottom: 1rem;
}
.special .sec3 .content-wrap ul li .desc-wrap span {
  font-size: 2.4rem;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .special .sec1 .list-wrap ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .special .sec2 {
    grid-template-columns: 1fr;
  }
  .special .sec2 .text-wrap .title-box span {
    display: none;
  }
}

@media (max-width: 720px) {
  .special .sec1 {
    padding: 8rem 0;
  }
  .special .sec1 .title-wrap {
    margin-bottom: 6rem;
  }
  .special .sec1 .img-container ul {
    flex-direction: column;
    gap: 3rem;
  }
  .special .sec1 .img-container ul li {
    left: 0 !important;
  }
  .special .sec1 .img-container ul li .img-wrap img {
    max-width: 230px;
  }
  .special .sec1 .title-wrap span {
    display: none;
  }
  .special .sec1 .content-wrap:first-of-type {
    margin-bottom: 10rem;
  }
  .special .sec2 .text-wrap {
    padding: 5rem 4rem;
  }
  .special .sec3 {
    padding: 8rem 0;
  }
  .special .sec3 .title-wrap span {
    display: none;
  }
  .special .sec3 .content-wrap ul {
    flex-direction: column;
  }
  .special .sec3 .title-wrap .btn-wrap {
    flex-direction: column;
    width: 100%;
  }
  .special .sec3 .title-wrap .btn-wrap .link-btn {
    width: 100%;
  }
  .special .sec3 .content-wrap ul li .title-box {
    padding-bottom: 2rem;
  }
  .special .sec3 .content-wrap ul li .desc-wrap {
    padding-top: 2rem;
  }
}

@media (max-width: 420px) {
  .special .sec1 .list-wrap ul {
    grid-template-columns: 1fr;
  }
}


/*  [두피/탈모진단] /diagnosis/solution  */
.solution .sec1 {
  text-align: center;
  padding: 12rem 0;
}
.solution .sec1 h2 {
  font-size: clamp(2.8rem, 3vw, 4rem);
  font-weight: 600;
  margin-bottom: 4rem;
}
.solution .sec1 span {
  display: block;
  font-size: clamp(2.4rem, 2.4vw, 2.8rem);
  line-height: 1.4;
  margin-bottom: 2rem;
}
.solution .sec1 p {
  font-size: clamp(1.8rem, 2vw, 2rem);
  line-height: 1.4;
  color: #444;
}
.solution .sec2 {
  background: #f8f8f8;
  padding: 12rem 0;
}
.solution .sec2 .title-wrap {
  text-align: center;
  margin-bottom: 8rem;
}
.solution .sec2 .title-wrap span {
  display: block;
  font-family: 'Trirong';
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 2rem;
  color: #009688;
}
.solution .sec2 .title-wrap h3 {
  font-size: clamp(2.8rem, 3vw, 3.2rem);
  line-height: 1.4;
  margin-bottom: 2rem;
}
.solution .sec2 .title-wrap .btn-wrap {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.solution .sec2 .title-wrap .btn-wrap .bg3 {
  background: #14332d;
  border: 1px solid #14332d;
}
.solution .sec2 .content-wrap ul {
  display: flex;
  gap: 4rem;
}
.solution .sec2 .content-wrap ul li {
  width: 100%;
}
.solution .sec2 .content-wrap ul li .img-wrap {
  margin-bottom: 3rem;
}
.solution .sec2 .content-wrap ul li .img-wrap img {
  width: 100%;
  min-width: 0;
}
.solution .sec2 .content-wrap ul li .text-wrap h4 {
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1rem;
}
.solution .sec2 .content-wrap ul li .text-wrap p {
  font-size: 2rem;
  line-height: 1.5;
}

.solution .sec3 {
  padding: 12rem 0;
}
.solution .sec3 .title-wrap {
  text-align: center;
  margin-bottom: 8rem;
}
.solution .sec3 .title-wrap h2 {
  font-size: clamp(3rem, 3vw, 4rem);
  font-weight: 600;
  margin-bottom: 4rem;
}
.solution .sec3 .title-wrap span {
  display: block;
  font-size: clamp(2.4rem, 2.4vw, 2.8rem);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 2rem;
}
.solution .sec3 .title-wrap p {
  font-size: clamp(1.8rem, 2vw, 2rem);
  line-height: 1.4;
  color: #444;
}
.solution .sec3 .content-wrap .content-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.solution .sec3 .content-wrap .content-box .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.solution .sec3 .content-wrap .content-box .text-wrap {
  background: #f8f8f8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem;
}
.solution .sec3 .content-wrap .content-box .text-wrap h3 {
  font-size: clamp(2.6rem, 3vw, 3.6rem);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 2rem;
}
.solution .sec3 .content-wrap .content-box .text-wrap p {
  font-size: 2rem;
  line-height: 1.6;
}
.solution .sec4 .title-wrap {
  text-align: center;
  margin-bottom: 8rem;
}
.solution .sec4 .title-wrap span {
  display: block;
  font-family: 'Trirong';
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 1.4;
  color: #009688;
  margin-bottom: 1.5rem;
}
.solution .sec4 .title-wrap h2 {
  font-size: clamp(3rem, 3vw, 4rem);
  font-weight: 600;
}
.solution .sec4 .img-wrap {
  text-align: center;
}
.solution .sec4 .img-wrap img {
  width: 100%;
  max-width: 1162px;
  min-width: 0;
}
.solution .sec5 {
  padding: 12rem 0;
}
.solution .sec5 .title-wrap {
  text-align: center;
}
.solution .sec5 .title-wrap h3 {
  font-size: clamp(2.4rem, 2.4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 2rem;
}
.solution .sec5 .title-wrap p {
  font-size: clamp(1.8rem, 2vw, 2rem);
  line-height: 1.4;
  color: #444;
}
.solution .sec5 .step-wrap {
  margin: 6rem 0;
}
.solution .sec5 .step-wrap ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4rem 3rem;
}
.solution .sec5 .step-wrap ul li .img-wrap img {
  width: 100%;
}
.solution .sec5 .step-wrap ul li .text-wrap {
  margin-top: 2rem;
}
.solution .sec5 .step-wrap ul li .text-wrap span {
  display: block;
  font-size: 1.4rem;
  color: #777;
  line-height: 1.4;
  margin-bottom: .5rem;
}
.solution .sec5 .step-wrap ul li .text-wrap p {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.4;
}
.solution .sec5 .btn-wrap {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 6rem;
}
.solution .sec5 .btn-wrap .bg3 {
  background: #14332d;
  border: 1px solid #14332d;
}

@media (max-width: 950px) {
  .solution .sec5 .step-wrap ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .solution .sec1 {
    padding: 8rem 0;
  }
  .solution .sec2 {
    padding: 8rem 0;
  }
  .solution .sec3 {
    padding: 8rem 0;
  }
  .solution .sec2 .content-wrap ul {
    flex-direction: column;
  }
  .solution .sec3 .content-wrap .content-box {
    grid-template-columns: 1fr;
  }
  .solution .sec3 .content-wrap .content-box .text-wrap {
    padding: 4rem;
  }
  .solution .sec5 {
    padding: 8rem 0 0;
  }
}


/*  [프로그램] /program/서브페이지  */
.program .sec1 .title-wrap {
  padding: 12rem 0 8rem;
  text-align: center;
}
.program .sec1 .title-wrap h2 {
  font-size: clamp(3rem, 3vw, 4rem);
  font-weight: 600;
  margin-bottom: 4rem;
}
.program .sec1 .title-wrap p {
  font-size: clamp(2.2rem, 2.4vw, 2.8rem);
  font-weight: 500;
  line-height: 1.4;
}
.program .sec1 .content-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.program .sec1 .content-wrap .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.program .sec1 .content-wrap .text-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem;
  background: #f8f8f8;
}
.program .sec1 .content-wrap .text-wrap .title-box {
  padding-bottom: 5rem;
  border-bottom: 1px solid #ddd;
}
.program .sec1 .content-wrap .text-wrap .title-box span {
  display: block;
  font-family: 'Trirong';
  font-weight: 500;
  color: #009688;
  font-size: 1.8rem;
  line-height: 1.4;
  margin-bottom: 1rem;
}
.program .sec1 .content-wrap .text-wrap .title-box h3 {
  font-size: clamp(3rem, 3vw, 3.6rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 2rem;
}
.program .sec1 .content-wrap .text-wrap .title-box .list-wrap {
  margin-bottom: 4rem;
}
.program .sec1 .content-wrap .text-wrap .title-box .list-wrap ul {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.program .sec1 .content-wrap .text-wrap .title-box .list-wrap ul li {
  font-size: 1.4rem;
  font-weight: 500;
  border: 1px solid #000;
  padding: 1rem 2.5rem;
  border-radius: 5rem;
  cursor: pointer;
}
.program .sec1 .content-wrap .text-wrap .title-box .list-wrap ul li.active {
  background: #000;
  color: #fff;
}
.program .sec1 .content-wrap .text-wrap .title-box p {
  font-size: 1.8rem;
  line-height: 1.6;
  font-weight: 500;
}
.program .sec1 .content-wrap .text-wrap .recommend-wrap {
  padding-top: 5rem;
  padding-bottom: 5rem;
  border-bottom: 1px solid #ddd;
}
.program .sec1 .content-wrap .text-wrap .recommend-wrap h4 {
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 2rem;
}
.program .sec1 .content-wrap .text-wrap .recommend-wrap p {
  font-size: 1.8rem;
  line-height: 1.6;
}
.program .sec1 .content-wrap .text-wrap .time-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 5rem;
  padding-bottom: 5rem;
  border-bottom: 1px solid #ddd;
}
.program .sec1 .content-wrap .text-wrap .time-wrap h4 {
  font-size: clamp(2.2rem, 2.2vw, 2.4rem);
  font-weight: 600;
}
.program .sec1 .content-wrap .text-wrap .time-wrap p {
  font-size: clamp(2.2rem, 2.2vw, 2.4rem);
  color: #444;
}
.program .sec1 .content-wrap .text-wrap .btn-wrap {
  padding-top: 5rem;
  display: flex;
  gap: 1rem;

}
.program .sec2 {
  padding: 16rem 0;
}
.program .sec2 .title-wrap {
  text-align: center;
  margin-bottom: 6rem;
}
.program .sec2 .title-wrap span {
  display: block;
  font-family: 'Trirong';
  font-weight: 500;
  color: #009688;
  font-size: 1.8rem;
  line-height: 1.4;
  margin-bottom: 1rem;
}
.program .sec2 .title-wrap h3 {
  font-size: 3.2rem;
  font-weight: 500;
  margin-bottom: 2rem;
}
.program .sec2 .title-wrap h3 b {
  font-weight: 700;
}
.program .sec2 .title-wrap p {
  font-size: 2rem;
  line-height: 1.4;
  color: #444;
}
.program .sec2 .img-wrap img {
  width: 100%;
}
.program .sec2 .property-wrap {
  display: flex;
  gap: 12rem;
  margin-top: 6rem;
}
.program .sec2 .property-wrap .title-box {
  width: 48rem;
}
.program .sec2 .property-wrap .title-box h4 {
  font-size: clamp(3rem, 3vw, 3.6rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1rem;
}
.program .sec2 .property-wrap .title-box span {
  display: block;
  font-size: 2rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.program .sec2 .property-wrap .title-box p {
  font-size: 1.8rem;
  color: #444;
  line-height: 1.6;
}
.program .sec2 .property-wrap .step-wrap {
  flex-grow: 1;
}
.program .sec2 .property-wrap .step-wrap ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.program .sec2 .property-wrap .step-wrap ul li {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.program .sec2 .property-wrap .step-wrap ul li .img-wrap {
  flex-shrink: 0;
}
.program .sec2 .property-wrap .step-wrap ul li .text-wrap span {
  display: block;
  font-size: clamp(1.8rem, 1.8vw, 2rem);
  font-weight: 500;
  margin-bottom: .5rem;
}
.program .sec2 .property-wrap .step-wrap ul li .text-wrap p {
  font-size: clamp(1.8rem, 1.8vw, 2rem);
  color: #444;
  line-height: 1.4;
}

@media (max-width: 1080px) {
  .program .sec2 .property-wrap {
    flex-direction: column;
    gap: 6rem;
  }
  .program .sec1 .content-wrap {
    grid-template-columns: 1fr;
  }
  .program .sec1 .content-wrap .text-wrap {
    padding: 4rem;
  }
}

@media (max-width: 720px) {
  .program .sec1 .title-wrap {
    padding: 6rem 0 4rem;
  }
  .program .sec2 {
    padding: 4rem 0 8rem;
  }
  .program .sec1 .title-wrap h2 {
    margin-bottom: 2.5rem;
  }
  .program .sec2 .property-wrap .step-wrap ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .program .sec1 .content-wrap .text-wrap {
    padding: 4rem 2rem;
  }
  .program .sec1 .content-wrap .text-wrap .btn-wrap {
    flex-direction: column;
  }
  .program .sec1 .content-wrap .text-wrap .btn-wrap .link-btn {
    width: 100%;
  }
  .program .sec1 .content-wrap .text-wrap .title-box {
    padding-bottom: 3rem;
  }
  .program .sec1 .content-wrap .text-wrap .recommend-wrap {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .program .sec1 .content-wrap .text-wrap .time-wrap {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .program .sec2 .property-wrap .title-box {
    width: 100%;
  }
  .program .sec2 .property-wrap .step-wrap ul li .img-wrap {
    width: 9rem;
  }
}


/*  [지점안내] /location/서브페이지  */
.location .sec1 {
  padding: 12rem 0;
}
.location .sec1 .title-wrap {
  margin-bottom: 6rem;
}
.location .sec1 .title-wrap h2 {
  text-align: center;
  font-size: clamp(3rem, 3vw, 4rem);
  font-weight: 600;
  margin-bottom: 6rem;
}
.location .sec1 .title-wrap .map-wrap img {
  width: 100%;
}
.location .sec1 .title-wrap .map-wrap {
  position: relative;
  width: 100%;
  height: 54rem;
  overflow: hidden;
}
.location .sec1 .title-wrap .map-wrap > div {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}
.location .sec1 .title-wrap .map-wrap .wrap_map {
  height: 100% !important;
}
.location .sec1 .title-wrap .map-wrap iframe {
  width: 100% !important;
  height: 100% !important;
}
.location .sec1 .root_daum_roughmap .wrap_controllers {
  display: none !important;
}
.location .sec1 .root_daum_roughmap .cont .section.lst {
  display: none !important;
}
.location .sec1 .content-wrap {
  display: flex;
  gap: 16rem;
}
.location .sec1 .content-wrap .title-box {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  min-width: 46rem;
}
.location .sec1 .content-wrap .title-box h3 {
  font-size: clamp(2.4rem, 2.4vw, 2.8rem);
  font-weight: 600;
}
.location .sec1 .content-wrap .title-box .btn-wrap {
  display: flex;
  gap: 1rem;
}
.location .sec1 .content-wrap .info-wrap {
  padding-left: 6rem;
  border-left: 1px solid #ddd;
}
.location .sec1 .content-wrap .info-wrap ul {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.location .sec1 .content-wrap .info-wrap ul li h4 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.location .sec1 .content-wrap .info-wrap ul li p {
  font-size: 1.8rem;
  line-height: 1.6;
}
.location .sec1 .content-wrap .info-wrap ul li p b {
  font-weight: inherit;
  color: #009688;
}

@media (max-width: 1200px) {
  .location .sec1 {
    padding: 6rem 0;
  }
  .location .sec1 .content-wrap {
    flex-direction: column;
    gap: 5rem;
  }
  .location .sec1 .content-wrap .title-box {
    min-width: 0;
  }
  .location .sec1 .content-wrap .info-wrap {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .location .sec1 .title-wrap h2 {
    margin-bottom: 3rem;
  }
  .location .sec1 .title-wrap {
    margin-bottom: 3.5rem;
  }
}

/*  [케어제품보기] /product/서브페이지  */
.product .sec1 {
  padding: 12rem 0;
}
.product .sec1 h2 {
  text-align: center;
  font-size: clamp(3rem, 3vw, 4rem);
  font-weight: 600;
  margin-bottom: 6rem;
}
.product .sec1 .products-wrap > ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6rem;
}
.product .sec1 .products-wrap > ul > li .img-wrap {
  width: 100%;
}
.product .sec1 .products-wrap > ul > li .img-wrap img {
  width: 100%;
}
.product .sec1 .products-wrap > ul > li .text-wrap .title-box {
  margin-top: 3rem;
  margin-bottom: 2rem;
}
.product .sec1 .products-wrap > ul > li .text-wrap .title-box h3 {
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.4
}
.product .sec1 .products-wrap > ul > li .text-wrap .title-box span {
  display: block;
  font-size: 1.6rem;
  line-height: 1.4;
  color: #777;
}
.product .sec1 .products-wrap > ul > li .text-wrap .list-wrap ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.product .sec1 .products-wrap > ul > li .text-wrap .list-wrap ul li {
  font-size: 1.8rem;
  line-height: 1.4;
  color: #444;
}
.product .sec1 .products-wrap > ul > li .text-wrap .list-wrap ul li b {
  color: #000;
  font-weight: 600;
}
.product .sec1 .products-wrap .link-btn {
  font-size: 1.8rem;
  margin-top: 3rem;
  margin-left: auto;
}

@media (max-width: 720px) {
  .product .sec1 {
    padding: 6rem 0;
  }
  .product .sec1 .products-wrap > ul {
    gap: 2rem;
  }
  .product .sec1 h2 {
    margin-bottom: 3rem;
  }
}

@media (max-width: 480px) {
  .product .sec1 .products-wrap > ul {
    grid-template-columns: 1fr;
  }
}


/*  [이벤트] /board/event  */
#board_list_wrap,
#board_view_wrap,
#board_write_wrap {
  padding: 12rem 0;
}
#board_list_wrap > h2 {
  font-size: clamp(3rem, 3vw, 4rem);
  font-weight: 600;
  margin-bottom: 6rem;
  text-align: center;
}

@media (max-width: 580px) {
  #board_list_wrap,
  #board_view_wrap,
  #board_write_wrap {
    padding: 6rem 2rem;
  } 
}

/*  [성공사례] /board/review  */
.cases #board_list_wrap .title-wrap {
  text-align: center;
  margin-bottom: 4rem;
}
.cases #board_list_wrap .title-wrap h2 {
  font-family: 'Trirong';
  font-size: 4rem;
  font-weight: 600;
  margin-bottom: 2rem;
}
.cases #board_list_wrap .title-wrap p {
  font-size: 2rem;
  color: #666;
  line-height: 1.4;
}
.cases #board_list_wrap .category-wrap {
  text-align: center;
  margin-bottom: 6rem;
}
.cases #board_list_wrap .category-wrap ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.cases #board_list_wrap .category-wrap ul li a {
  font-size: 1.8rem;
  color: #000;
  line-height: 1.4;
}
.cases #board_list_wrap .category-wrap ul li.active a {
  color: #009688;
}

.cases .row_line a {
  display: flex;
  gap: 4rem;
}
.cases .row_line .img-wrap {
  display: flex;
  gap: 1rem;
}
.cases .row_line .img-wrap .img-box {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}
.cases .row_line .img-wrap .img-box img {
  width: 24.5rem;
  aspect-ratio: 245 / 163;
  min-width: 0;
  object-fit: cover;
}
.cases .row_line .img-wrap .img-box span {
  display: block;
  text-align: center;
  font-size: 1.6rem;
  line-height: 1.4;
  color: #777;
}
.cases .row_line .text-wrap {
  padding-top: 1rem;
  color: #000;
}
.cases .row_line .text-wrap h3 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1rem;
}
.cases .row_line .text-wrap .category-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.cases .row_line .text-wrap .category-list p {
  font-size: 1.6rem;
  line-height: 1;
  color: #444;
}
.cases .row_line .text-wrap .category-list p.region {
  padding: 0 1.5rem;
  border-left: 1px solid #999;
  border-right: 1px solid #999;
}
.cases .row_line .text-wrap .content-wrap p {
  font-size: 1.8rem;
  line-height: 1.5;
  color: #444;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.real .row_line .img-wrap .img-box img {
  width: 36rem;
  aspect-ratio: 360 / 240;
}
.real .row_line .text-wrap .star-wrap {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}


@media (max-width: 780px) {
  .cases .row_line a {
    flex-direction: column;
  }
  .cases .row_line .img-wrap .img-box {
    width: 100%;
  }
  .cases .row_line .img-wrap .img-box img {
    width: 100%;
  }
  .cases .row_line a {
    gap: 2rem;
  }
}


/*  [온라인 문의] /contact/서브페이지  */
.contact .sec1 {
  padding: 12rem 0;
  position: relative;
}
.contact .inner {
  max-width: 1400px;
  display: flex;
  justify-content: space-between;
  gap: 8rem;
}
.contact .title-wrap {
  min-width: 54rem;
}
.contact .title-wrap h2 {
  font-size: clamp(3.2rem, 4vw, 4.8rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 3.2rem;
}
.contact .title-wrap p {
  font-size: 2rem;
  line-height: 1.6;
  color: #444;
}
.contact .form-wrap {
  border: 1px solid #ddd;
  padding: 4.8rem;
  background: #fff;
}
.contact .form-wrap form ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.4rem 3.2rem;
  margin-bottom: 0;
  list-style: none;
}
.contact .form-wrap form ul li {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
}
.contact .form-wrap form ul li.half {
  grid-column: span 1;
}
.contact .form-wrap form ul li > label {
  display: block;
  font-size: 1.8rem;
  font-weight: 500;
  color: #222;
  margin-bottom: 1rem;
}
.contact .form-wrap form ul li > label em {
  color: #e63946;
  font-style: normal;
}
.contact .form-field {
  position: relative;
  width: 100%;
}
.contact .form-wrap form ul li {
  overflow: visible;
}
.contact .form-error-msg {
  display: none;
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.8rem);
  z-index: 5;
  max-width: 100%;
  padding: 0.9rem 1.4rem;
  background: #fff;
  border: 1px solid #009688;
  border-radius: 0.4rem;
  font-size: 1.4rem;
  font-weight: 500;
  color: #009688;
  line-height: 1.4;
  text-align: right;
  white-space: nowrap;
  pointer-events: none;
  box-sizing: border-box;
  box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.08);
}
.contact .form-error-msg.is-show {
  display: block;
}
.contact .care-wrap .form-error-msg {
  max-width: min(100%, 48rem);
  white-space: normal;
  text-align: right;
}
.contact .form-wrap .form-field input.is-invalid,
.contact .form-wrap .form-field textarea.is-invalid,
.contact .form-wrap form ul li input.is-invalid,
.contact .form-wrap form ul li textarea.is-invalid {
  border-color: #e63946;
}
.contact .gender-wrap.is-invalid .gender-box label,
.contact .check-wrap.is-invalid .check-box label {
  border-color: #e63946;
}
.contact .privacy-item.is-invalid .form-field label p {
  color: #e63946;
}
.contact .captcha-wrap {
  margin-top: 2.4rem;
}
.contact .captcha-wrap .form-field {
  width: 100%;
}
.contact .privacy-item .form-field {
  width: 100%;
}
.contact .form-wrap form ul li input[type="text"],
.contact .form-wrap form ul li input[type="tel"] {
  width: 100%;
  border: 1px solid #ddd;
  padding: 1.4rem 2rem;
  font-size: 1.6rem;
  color: #222;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}
.contact .form-wrap form ul li input[type="text"]::placeholder,
.contact .form-wrap form ul li input[type="tel"]::placeholder {
  color: #bbb;
}
.contact .form-wrap form ul li input[type="text"]:focus,
.contact .form-wrap form ul li input[type="tel"]:focus {
  border-color: #009688;
}
.contact .form-wrap form ul li textarea {
  width: 100%;
  border: 1px solid #ddd;
  padding: 1.4rem 2rem;
  font-size: 1.6rem;
  color: #222;
  outline: none;
  resize: none;
  height: 18rem;
  transition: border-color 0.2s;
  font-family: inherit;
}
.contact .form-wrap form ul li textarea::placeholder {
  color: #bbb;
}
.contact .form-wrap form ul li textarea:focus {
  border-color: #009688;
}
.contact .form-wrap form ul li.gender {
  display: flex;
  flex-direction: column;
}
.contact .form-wrap .gender-wrap {
  display: flex;
  gap: 1rem;
  flex: 1;
}
.contact .form-wrap .gender-box {
  flex: 1;
}
.contact .form-wrap .gender-box input[type="radio"] {
  display: none;
}
.contact .form-wrap .gender-box label {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.4rem 2rem;
  border: 1px solid #ddd;
  cursor: pointer;
  font-size: 1.6rem;
  font-weight: 500;
  color: #444;
  transition: border-color 0.2s;
}
.contact .form-wrap .gender-box label::before {
  content: '';
  width: 2rem;
  height: 2rem;
  border: 1.5px solid #ccc;
  border-radius: 3px;
  flex-shrink: 0;
  background: transparent;
  transition: all 0.2s;
}
.contact .form-wrap .gender-box input[type="radio"]:checked + label {
  border-color: #009688;
}
.contact .form-wrap .gender-box input[type="radio"]:checked + label::before {
  background-color: #009688;
  border-color: #009688;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M1 5l3 4 7-8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70%;
}
.contact .form-wrap .care-wrap > p {
  font-size: 1.8rem;
  font-weight: 500;
  color: #222;
  margin-bottom: 1rem;
}
.contact .form-wrap .check-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.contact .form-wrap .check-box input[type="checkbox"] {
  display: none;
}
.contact .form-wrap .check-box label {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  border: 1px solid #ddd;
  cursor: pointer;
  font-size: 1.6rem;
  transition: border-color 0.2s;
  white-space: nowrap;
}
.contact .form-wrap .check-box label::before {
  content: '';
  width: 1.8rem;
  height: 1.8rem;
  border: 1.5px solid #ccc;
  border-radius: 3px;
  flex-shrink: 0;
  background: transparent;
  transition: all 0.2s;
}
.contact .form-wrap .check-box input[type="checkbox"]:checked + label {
  border-color: #009688;
  color: #222;
}
.contact .form-wrap .check-box input[type="checkbox"]:checked + label::before {
  background-color: #009688;
  border-color: #009688;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M1 5l3 4 7-8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70%;
}
.contact .form-wrap .privacy-wrap {
  margin: 2.8rem 0;
}
.contact .form-wrap .privacy-box {
  background: #fafafa;
  padding: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact .form-wrap .privacy-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.contact .form-wrap .privacy-item input[type="checkbox"] {
  display: none;
}
.contact .form-wrap .privacy-item label {
  display: flex;
  align-items: flex-start;
  gap: .5rem 1.2rem;
  cursor: pointer;
}
.contact .form-wrap .privacy-item label::before {
  content: '';
  width: 2rem;
  height: 2rem;
  border: 1.5px solid #ccc;
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 0.2rem;
  background: #fff;
  transition: all 0.2s;
}
.contact .form-wrap .privacy-item input[type="checkbox"]:checked + label::before {
  background-color: #009688;
  border-color: #009688;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M1 5l3 4 7-8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70%;
}
.contact .form-wrap .privacy-item label p {
  font-size: 1.6rem;
  font-weight: 500;
  color: #222;
  line-height: 1.5;
  margin-bottom: 0.6rem;
}
.contact .form-wrap .privacy-item label a {
  color: #e11d48;
  font-weight: 600;
  text-decoration: underline;
}
.contact .form-wrap .privacy-item span {
  display: block;
  font-size: 1.4rem;
  color: #777;
  line-height: 1.6;
  padding-left: 3.5rem;
}
.contact .form-wrap form > button {
  width: 100%;
  padding: 1.6rem 2.4rem;
  background: #009688;
  color: #fff;
  border: none;
  border-radius: 5rem;
  font-size: 1.8rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  transition: background 0.2s;
  font-family: inherit;
}
.contact .form-wrap form > button:hover {
  background: #00796b;
}
.contact .form-wrap form > button img {
  filter: invert(1);
}
.contact .sec1 .back-text {
  position: absolute;
  bottom: 19rem;
  left: 3.3rem;
  z-index: -1;
}
.contact .sec1 .back-text span {
  font-family: 'Trirong';
  font-weight: 700;
  font-size: 24rem;
  color: #f7f7f7;
  line-height: 1;
  white-space: nowrap;
}
.contact #captcha_info {
  display: none;
}
.contact #captcha {
  display: flex;
  gap: .5rem;
  margin-bottom: 2.8rem;
}
.contact #captcha_img {
  margin-right: 0 !important;
}
.contact #captcha #captcha_key {
  flex-grow: 1;
}

@media (max-width: 1400px) {
  .contact .inner {
    gap: 2rem;
  } 
}

@media (max-width: 1280px) {
  .contact .inner {
    flex-direction: column;
  }
  .contact .title-wrap {
    min-width: 0;
  }
}

@media (max-width: 720px) {
  .contact .sec1 .back-text {
    display: none;
  }
  .contact .inner {
    gap: 4rem;
  }
  .contact .sec1 {
    padding: 6rem 0;
  }
  .contact .title-wrap h2 {
    margin-bottom: 2rem;
  }
  .contact .form-wrap {
    padding: 2rem;
  }
  .contact .form-wrap .check-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .contact .form-wrap form ul {
    grid-template-columns: 1fr;
  }
  .contact .form-wrap form ul li.half,
  .contact .form-wrap form ul li {
    grid-column: 1;
  }
  .contact #captcha {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .contact #captcha_img {
    width: 100%;
  }
}

/*  [개인정보처리방침/이메일무단수집거부] /etc/서브페이지  */
.information section {
  padding: 12rem 0;
}
.information section span {
  font-size: 1.6rem !important;
  color: #666 !important;
}

@media (max-width: 720px) {
  .information section {
    padding: 5rem 2rem;
  }
}