/* 언어설정 */
@charset 'utf-8';

@font-face {
    font-family: 'SUIT-Regular';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_suit@1.0/SUIT-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'KCCHyerim-Regular';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2411-3@1.0/KCCHyerim-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/* 전체설정 */
* {
    margin: 0;
    padding: 0;
    font-family: 'SUIT-Regular';
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--main-text);
}

img {
    vertical-align: bottom;
}

html,
body {
    overflow-x: hidden;
    scroll-behavior: smooth;

}

.body {
    max-width: 100%;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
    /* 스크롤 막기 */
    touch-action: none;
    /* 터치 시 흔들림 방지 (모바일 UX 향상) */
}

/* 색상설정 */
:root {
    --main-navi: #204B62;
    --main-text: #333;
    --main-white: #fff;
}

/* 업무분야 */
.field-section {
    max-width: 95.25rem;
    margin: 4.5rem auto 0rem;
    padding: 0 1.25rem;
    scroll-snap-align: start;
    height: 100vh;
    padding-top: 50px;
}

.field-title {
    font-size: 2.5875rem;
    color: #333;
    font-weight: bold;
    display: inline-block;
    padding: 0.3125rem 0;
    /* ✅ 아래 배경 bar */
    margin-bottom: 2.5rem;
}


.field-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.625rem;
    margin-bottom: 1.25rem;
}

.field-card {
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.field-card::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 330px;
    border-radius: 100px;
    background-color: rgba(0, 151, 230, 0.15);
    top: 300%; /* ❗️처음에는 아래에 위치 */
    left: 50%;
    transform: translate(-50%, -50%) scale(1.5); /* scale은 고정 */
    transition: top 4s ease, opacity 4s ease;
    opacity: 0;
    animation: waveSpin 6s linear infinite;
    z-index: 1;
}

.field-card:hover::before {
    top: 170%; /* ❗️hover 시 위로 올라오게 */
    opacity: 1;
}
/* 카드 안 이미지와 텍스트는 제일 위로 */
.field-card .card-img,
.field-card .card-label {
    position: relative;
    z-index: 2;
}
@keyframes waveSpin {
    0%   { transform: translate(-50%, -50%) scale(1.5) rotate(0deg); }
    100% { transform: translate(-50%, -50%) scale(1.5) rotate(360deg); }
}

.card-img {
    width: 4.0rem;
    height: 7.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.875rem;
    /* 이미지 영역 줄어들지 않게 */
}

.card-img img {
    width: 100%;
    height: auto;
    margin-left: 45px;
}

.card-label {
    font-size: 1.55rem;
    font-weight: bold;
    color: #333;
    margin-left: 2.125rem;
}

/* 하단 영역 */
.field-bottom {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.field-more-card {
    width: 17.1875rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    cursor: pointer;
    background-color: #f9f9f9;
    transition: 0.2s;
    text-decoration: none;
    color: #333;
}

.field-more-card:hover {
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.08);
    transform: translateY(-0.1875rem);
    color: var(--main-white);
    background-color: var(--main-navi);
}

.field-more-card .more-icon {
    width: 5.0rem;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.field-more-card .more-text {
    font-size: 1.125rem;
    font-weight: 500;
    margin-left: 1.25rem;
}

.field-more-card i {
    font-size: 0.875rem;
    margin-left: auto;
    color: var(--main-navi);
}

.field-intro {
    flex: 1;
    background-color: var(--main-navi);
    color: white;
    border-radius: 0.9375rem;
    padding: 1.875rem 1.875rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.field-intro strong {
    font-size: 1.5625rem;
    font-weight: bold;
    display: block;
    margin-bottom: 0.625rem;
}

.field-intro p {
    font-size: 1.0rem;
    line-height: 1.5;
}

.intro-icon img {
    width: 6.25rem;
    height: auto;
}
 


/* 미디어 쿼리 구간------------------------------------------------------------------------------------- */


/* PC 전용 */
@media screen and (min-width: 90.0rem) {

    .field-sub-title{
        text-decoration: none;
        margin-left: 15px;
    }

}

/* 노트북 전용 */
@media screen and (min-width: 64.0625rem) and (max-width: 89.9375rem) {

  /*업무 분야 영역 */
  .field-grid {
    height: 28.125rem;
  }

  /*전문가 소개 영역 */
  .expert-card img {}

  .field-sub-title{
      text-decoration: none;
      margin-left: 15px;
  }
}

/* 태블릿 전용 */
@media screen and (min-width: 48.0rem) and (max-width: 64.0rem) {

  /*업무 분야 영역 */
  .field-section {
    height: 67vh;
  }

  .field-grid {
    height: 40vh;
  }

  .card-label {
    font-size: 0.75rem;
    font-weight: bold;
  }

  .card-img {
    width: 4.0625rem;
  }

  .field-more-card {
    height: 15vh;
  }

  .field-more-card .more-icon {
    width: 4.375rem;

  }

  .field-more-card .more-text {
    font-weight: bold;
  }

  .field-intro {
    height: 10vh;
  }

  .field-intro p {
    font-size: 0.647rem;
  }
    .field-card::before{
        width: 250px;
        height: 250px;
    }

    .field-sub-title{
        text-decoration: none;
        margin-left: 15px;
    }

}

/* 모바일 전용 */
@media screen and (min-width: 30.0625rem) and (max-width: 47.9375rem) {

  /*업무 분야 영역 */
  .field-grid {
    height: 40vh;
    gap: 0.625rem;
    display: grid;
    margin-bottom: 1.25rem;
    grid-template-columns: repeat(3, 1fr);
  }

  .field-bottom {
    gap: 0.625rem;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin-top: 21.7375rem;
    flex-direction: column;
  }

  .card-label {
    font-size: 0.8125rem;
    font-weight: bold;
    color: #333;
  }

  .card-img {
    width: 4.0625rem;
  }

  .field-more-card {
    height: 23vh;
    width: auto;
  }

  .field-more-card .more-icon {
    width: 6.0rem;
    height: 4.8rem;
    object-fit: contain;
    flex-shrink: 0;
  }

  .field-more-card .more-text {
    font-weight: bold;
  }

  .field-intro {
    height: 10vh;
  }

  .field-intro p {
    font-size: 0.9375rem;
  }

  .expert-card strong {
    font-size: 0.73rem;
  }

  .expert-card span {
    font-size:0.82rem;
  }

    .field-card::before{
        width: 220px;
        height: 200px;
    }

    .field-title{
        font-size: 1.6rem;
    }

    .field-sub-title{
        text-decoration: none;
        margin-left: 15px;
        font-size: 14px;
    }
}

@media screen and (max-width: 30.0rem) and (orientation: portrait) {

  /*업무 분야 영역 */

  .field-section{
    margin: 5.0rem auto;
  }

  .field-grid {
    height: 40vh;
    gap: 0.625rem;
    display: grid;
    margin-bottom: 1.25rem;
    grid-template-columns: repeat(2, 1fr);
  }

  .field-bottom {
    gap: 0.625rem;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin-top: 21.9375rem;
  }

  .card-label {
    font-size: 0.5625rem;
    font-weight: bold;
    color: #333;
  }

  .card-img {
    width: 4.0625rem;
  }

  .field-more-card {
    height: 15vh;
    width: 26.875rem;
    margin-top: 0.625rem;
  }

  .field-more-card .more-text {
    font-weight: bold;
  }

  .field-more-card .more-icon {
    width: 4.375rem;
    height: 4.6rem;
    object-fit: contain;
    flex-shrink: 0;
  }

  .field-intro {
    height: 10vh;
      margin-top: 10px;
  }

  .field-intro p {
    font-size: 0.6874rem;
  }

  .field-intro strong {
    font-size: 1.25rem;
    padding-top: 1.25rem;
  }

  .expert-card strong {
    font-size: 0.5825rem;
  }
  .expert-card span {
    font-size: 0.6825rem;
  }

    .field-title{
        font-size: 1.8rem;
    }

  .field-sub-title{
      text-decoration: none;
      font-size: 10px;
      margin-left: 15px;
  }

}