 * {
  letter-spacing: -1px;
 }

 section {
  margin-top: 150px;
  text-align: center;
}

section .inner {
  padding: 0 20px;
}

section .section_title {
  font-size: 42px;
  margin-bottom: 20px;
  line-height: 1.3;
}

section .section_title .noto {
  font-weight: 600;
}

section .section_desc {
  color: #535353;
  font-size: 22px;
  font-family: 'PretendardLight';
  line-height: 1.5;
}

#infoArea {
  margin-top: 50px;
}

.noto {
  font-family: "Noto Serif SC", serif !important; 
}

/* 메인배너 -----------------------------------------------------------------------------*/

#mainBanner {
  position: relative;
  width: 100%;
}

#mainBanner .banner {
  position: relative;
  width: 1440px;
  height: 340px;
  margin: 40px auto;
  overflow: hidden;
  animation: fullWidth .5s ease-out .2s both;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes fullWidth {
  0% {
    width: 60%;
  }
  100% {
    width: 100%;
  }
}

#mainBanner .banner img {
  animation: zoomOut 1s ease-in-out both;
}

@keyframes zoomOut {
  0% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}

#mainBanner .emblem {
  position: absolute;
  bottom: -120%;
  left: -50px;
  z-index: -1;
}

/* 서브 헤더 ------------------------------------------------------------------------- */

#subHeader .sub_title{
  font-family: 'pretendardBold';
  font-size: 42px;
}

#subHeader .sub_nav {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
}

#subHeader .sub_nav::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 1px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

#subHeader .sub_nav li {
  width: 180px;
  height: 80px;
  line-height: 80px;
  font-size: 24px;
  color: #707070;
  cursor: pointer;
}

#subHeader .sub_nav li.active {
  border-bottom: 2px solid #d99c61;
  font-family: 'pretendardBold';
  color: #d99c61;
}

#subHeader .sub_nav li a {
  display: block;
}

#subHeader .section_desc {
  margin-top: 20px;
}

/* 하단 슬라이드 이미지 -------------------------------------------------------------- */

@keyframes flowRolling {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(-100%);
  }
}

#slideImageArea {
  display: flex;
  gap: 20px;
  overflow: hidden;
  margin-top: 200px;
}

#slideImageArea .slide_track {
  display: flex;
  gap: 20px;
}

#slideImageArea .slide {
  width: 580px;
  flex-shrink: 0;
}

#slideImageArea .slide img {
  width: 100%;
  vertical-align: bottom;
}

/* 이미지 - 텍스트 패턴---------------------------------------------------------------------- */

.img_pattern .inner {
  display: flex;
  flex-direction: column;
  gap: 150px;
}

.img_pattern .inner .item {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 100px;
  text-align: left;
  line-height: 1.2;
}

.img_pattern .title {
  font-size: 42px;
}

.img_pattern .title .noto {
  font-weight: 600;
  font-size: 40px;
}

.img_pattern .sub_title {
  margin: 30px 0 10px;
  font-size: 32px;
  font-family: 'PretendardSemiBold';
}

.img_pattern .sub_title .noto {
  font-weight: 600;
  font-size: 30px;
}

.img_pattern .sub_title .title_tag {
  color: #b5b5b5;
  font-size: 20px;
  font-family: 'pretendard';
}

.img_pattern .desc {
  font-size: 20px;
  font-family: 'pretendardLight';
  line-height: 1.5;
}

/* 서브페이지 치료사례 -------------------------------------------------------------------------- */

.example {
  position: relative;
  width: 100%;
  height: 370px;
  border: 2px solid #d99c61;
  background-color: #fffbf8;
  overflow: hidden;
  display: flex;
  gap: 100px;
  padding-top: 60px;
  padding-left: 80px;
  text-align: left;
  border-radius: 16px;
}

.example .symbol {
  position: absolute;
  right: 50px;
  bottom: -50px;
}

.example .more {
  padding: 13px 35px;
  position: absolute;
  border: 1px solid #000;
  border-radius: 24px;
  background-color: transparent;
  left: 80px;
  bottom: 70px;
  font-family: 'PretendardMedium';
  font-size: 18px;
  transition: all .3s ease-in-out;
  color: #000;
}

.example .more:hover {
  background-color: #d99c61;
  color: #fff;
  border-color: #d99c61;
}

.example .more a {
  display: block;
}

.example .left {
  font-size: 42px;
}

.example .right {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.example .right .tag {
  width: fit-content;
  padding: 6px 20px;
  font-size: 20px;
  text-align: center;
  background-color: #000;
  color: #fff;
  border-radius: 17px;
}

.example .right .title {
  font-size: 32px;
  line-height: 1.3;
}

.example .right .desc {
  font-size: 20px;
  color: #535353;
  line-height: 1.6;
  margin-top: 10px;
}

/* 이유or치료방법 -------------------------------------------------------------------------------- */

.reason_box {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
}

.reason_box .item {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.reason_box .item .content p {
  font-family: 'pretendardBold';
  font-size: 32px;
  margin-bottom: 15px;
}

.reason_box .item .content span {
  font-family: 'pretendardLight';
  font-size: 20px;
  color: #535353;
  line-height: 1.5;
}

/* 돌아가는 점선 -------------------------------------------------------------------------------- */

#section1 .item .img {
  position: relative;
}

#section1 .item .img .rotate{
  position: absolute;
  z-index: 2;
  animation: rotate 7s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* 모바일 */

@media screen and (max-width: 768px) {
  section {
    margin-top: 100px;
  }

  #section1 {
    margin-top: 50px;
  }

  section .inner {
    padding: 0 20px;
  }

  section .section_title {
    font-size: 28px;
  }

  section .section_desc {
    font-size: 16px;
  }

  section .section_desc .noto {
    font-size: 14px;
  }

  section .section_desc.left {
    text-align: left;
  }

  #mainBanner {
    margin-top: 50px;
  }

  #mainBanner .section_desc {
    padding: 0 20px;
  }

  #mainBanner .banner {
    width: 100%;
    height: auto;
  }

  #slideImageArea {
    margin-top: 100px;
  }

  #slideImageArea .slide {
    width: 300px;
  }

  #mainBanner .emblem {
    width: 300px;
  }

  .img_pattern .inner {
    gap: 80px;
  }

  .img_pattern .inner .item {
    flex-direction: column;
    gap: 30px;
  }

  .img_pattern .inner .item img {
    width: 100%;
  }
  
  .img_pattern .inner .item img.item {
    width: 80px;
  }

  .img_pattern .title {
    font-size: 28px;
  }

  .img_pattern .title .noto {
    font-size: 26px;
  }

  .img_pattern .sub_title {
    font-size: 20px;
    margin: 20px 0 10px;
  }

  .img_pattern .sub_title .noto {
    font-size: 18px;
  }

  .img_pattern .sub_title .title_tag {
    font-size: 14px;
  }

  .img_pattern .desc {
    font-size: 16px;
    color: #535353;
  }

  #subHeader .sub_title {
    font-size: 30px;
  }

  #subHeader .sub_nav {
    padding: 0 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  #subHeader .sub_nav::after {
    display: none;
  }

  #subHeader .sub_nav li {
    width: 50%;
    height: 40px;
    line-height: 40px;
    font-size: 16px;
    box-shadow:
      1px 0 0 0 #bfbfbf,
      0 1px 0 0 #bfbfbf,
      1px 1px 0 0 #bfbfbf,
      1px 0 0 0 #bfbfbf inset,
      0 1px 0 0 #bfbfbf inset;
  }

  #subHeader .sub_nav li:first-child {
    border-right: none;
    border-bottom: none;
  }

  #subHeader .sub_nav li.active {
    border-bottom: none;
    background-color: #d99c61;
    color: #fff;
    box-shadow:
      1px 0 0 0 #d99c61,
      0 1px 0 0 #d99c61,
      1px 1px 0 0 #d99c61,
      1px 0 0 0 #d99c61 inset,
      0 1px 0 0 #d99c61 inset;
  }

  .reason_box {
    flex-direction: column;
    gap: 40px;
    margin-top: 50px;
  }

  .reason_box .item .content.overlap {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
  }

  .reason_box .item .content p {
    font-size: 24px;
    margin-bottom: 10px;
    letter-spacing: -1px;
  }

  .reason_box .item .content span {
    font-size: 14px;
  }

  .reason_box .item img {
    width: 100%;
  }

  .reason_box .item img.round {
    width: 250px;
  }

  #section1 .item .img .rotate {
    width: 90px;
  }

  .example_box .inner {
    padding: 0;
  }

  .example {
    height: auto;
    flex-direction: column;
    padding: 30px 30px 150px;
    border-radius: 0;
    gap: 35px;
    border-left: none;
    border-right: none;
    border-width: 1px;
  }

  .example .left {
    font-size: 21px;
  }

  .example .right {
    gap: 15px;
  }

  .example .right .tag {
    font-size: 12px;
    padding: 6px 15px;
  }

  .example .right .title {
    font-size: 18px;
  }

  .example .right .desc {
    font-size: 14px;
  }

  .example .more {
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    padding: 8px 25px;
  }
}