
.lesarts-faq-wrapper {
    width: 100%;
    box-sizing: border-box;
    font-family: 'MPLUS1p-Regular', "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
    padding: 40px 10px;
}

.lesarts-faq-wrapper * {
    box-sizing: border-box;
}

.la-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

/* -----------------------------------------
   01. 이미지-텍스트 지그재그 정보 가이드 영역 (Step 1, 2, 3)
----------------------------------------- */
.la-info-section {
    width: 100%;
    margin: 0 auto 60px auto;
}

.la-info-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 70px;
}

.la-info-card:last-child {
    margin-bottom: 0;
}

/* 데스크톱 지그재그 교차 정렬 */
.la-info-card.la-reverse {
    flex-direction: row-reverse;
}

/* 이미지 카드 둥근 테두리 및 그림자 */
.la-info-media {
    flex: 1;
    max-width: 47%;
    aspect-ratio: 1.55 / 1;
    border-radius:10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    background-color: #f1f3f5;
}

.la-info-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.la-info-media:hover img {
    transform: scale(1.03);
}

/* 텍스트 영역 가독성 폰트 매칭 */
.la-info-content {
    flex: 1;
    max-width: 47%;
}

.la-info-badge {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    color: #ae6d59;
    border: 1px solid rgba(174, 109, 89, 0.25);
    padding: 3px 8px;
    border-radius: 20px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.la-info-content h2 {
    font-size: 23px;
    color: #1a1a1a;
    line-height: 1.45;
    margin: 0 0 16px 0 !important;
    word-break: normal; overflow-wrap: anywhere; line-break: strict;
    letter-spacing: -0.5px;
}

.la-info-content p {
    color: #555;
    line-height: 1.75;
    margin: 0;
    word-break: normal; overflow-wrap: anywhere; line-break: strict;
}

.la-info-content p strong {
    color: #111;
    font-weight:500;
	color:#ae6d59
}


/* -----------------------------------------
   기본 및 데스크톱 스타일 (기본적으로 반응형 베이스)
----------------------------------------- */
#custom-faq-section {
    width: 100%;
    /*padding: 60px 20px;*/
    box-sizing: border-box;
    font-family: 'MPLUS1p-Regular', "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}

#custom-faq-section * {
    box-sizing: border-box;
}

#custom-faq-section .faq-container {
    max-width: 100%;
    margin: 0 auto;
}

#custom-faq-section .faq-title {
    text-align: center;
    font-size: 28px;
    color: #333;
    margin-bottom: 40px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* 🚨 [새로 추가] h4 태그 마진/폰트 초기화 (레아웃 깨짐 절대 방지) */
#custom-faq-section .faq-item h4 {
    margin: 0 !important;
    padding: 0 !important;
    font-weight: normal !important;
    font-size: unset !important;
    line-height: unset !important;
}

#custom-faq-section .faq-item {
    background-color: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#custom-faq-section .faq-item:hover {
    border-color: #ae6d59;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

#custom-faq-section .faq-question {
    width: 100%;
    padding: 22px 28px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
    -webkit-tap-highlight-color: transparent; /* 모바일 터치 시 하이라이트 제거 */
}

/* 🚨 [보완] 인라인 변수(--wv-fs-, --wv-ls-)가 제대로 먹히도록 우선순위 및 유연성 부여 */
#custom-faq-section .faq-q-text {
    font-size: calc(var(--wv-fs-, 16) * 1px);
    letter-spacing: calc(var(--wv-ls-, -0.5) * 1px);
    color: #222;
    font-weight: 500;
    line-height: 1.5;
    word-break: normal; overflow-wrap: anywhere; line-break: strict; /* 일본어: 글자 단위 줄바꿈 */
    flex: 1;
    min-width: 0;
    padding-right: 15px;
}

/* 플러스/마이너스 아이콘 */
#custom-faq-section .faq-icon {
    position: relative;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

#custom-faq-section .faq-icon::before,
#custom-faq-section .faq-icon::after {
    content: '';
    position: absolute;
    background-color: #666;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

/* 가로선 */
#custom-faq-section .faq-icon::before {
    top: 6px;
    left: 0;
    width: 14px;
    height: 2px;
}

/* 세로선 */
#custom-faq-section .faq-icon::after {
    top: 0;
    left: 6px;
    width: 2px;
    height: 14px;
}

/* 열렸을 때 상태 (Active) */
#custom-faq-section .faq-question[aria-expanded="true"] .faq-q-text {
    color: #ae6d59 !important; /* 열렸을 때 질문 강조 색상 강제 지정 */
}

#custom-faq-section .faq-question[aria-expanded="true"] .faq-icon::after {
    transform: rotate(90deg);
    opacity: 0; /* 세로선 숨겨서 마이너스 만듦 */
}

#custom-faq-section .faq-question[aria-expanded="true"] .faq-icon::before {
    transform: rotate(180deg);
    background-color: #ae6d59;
}

/* 아코디언 답변 영역 슬라이드 애니메이션 */
#custom-faq-section .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #fcfcfc;
}

/* 🚨 [보완] 답변 쪽도 인라인 변수가 완벽 동기화되도록 연산 처리 */
#custom-faq-section .faq-answer-content {
    padding: 22px 28px;
    font-size: calc(var(--wv-fs-, 15) * 1px);
    letter-spacing: calc(var(--wv-ls-, 0) * 1px);
    line-height: 1.7;
    color: #555;
    border-top: 1px solid #f3f3f3;
    word-break: normal; overflow-wrap: anywhere; line-break: strict;
}

#custom-faq-section .faq-answer-content p {
    margin: 0;
}


/* -----------------------------------------
   모바일 및 태블릿 반응형 스타일 (768px 이하)
----------------------------------------- */
@media screen and (max-width: 768px) {
    #custom-faq-section {
        padding: 1px 0px; /* 외곽 여백 축소 */
    }

    #custom-faq-section .faq-title {
        font-size: 22px; /* 타이틀 크기 축소 */
        margin-bottom: 25px;
    }

    #custom-faq-section .faq-item {
        margin-bottom: 10px;
    }

    #custom-faq-section .faq-question {
        padding: 18px 18px; /* 터치 영역은 유지하되 내부 여백 최적화 */
    }

    /* 🚨 [보완] 모바일용 인라인 대입 변수(--wv-md-fs-) 가 매끄럽게 우선 적용되도록 세팅 */
    #custom-faq-section .faq-q-text {
        font-size: calc(var(--wv-md-fs-, 14.5) * 1px) !important;
        letter-spacing: calc(var(--wv-md-ls-, -.5) * 1px) !important;
    }

    #custom-faq-section .faq-answer-content {
        padding: 18px 18px;
        font-size: calc(var(--wv-md-fs-, 14) * 1px) !important;
        letter-spacing: calc(var(--wv-md-ls-, 0) * 1px) !important;
    }
	
	.lesarts-faq-wrapper {
    padding: 0px;
  }

  .la-info-section {
    padding: 0 5px;
    margin-bottom: 40px;
  }

  /* 🚨 [모바일 순서 보장] 모바일 세로 레이아웃 정렬 시 무조건 이미지가 위로 가도록 강제 */
  .la-info-card {
    flex-direction: column !important;
    gap: 20px;
    margin-bottom: 50px;
  }

  .la-info-card.la-reverse {
    flex-direction: column-reverse !important;
  }

  .la-info-media, 
  .la-info-content {
    max-width: 100%;
    width: 100%;
  }

  .la-info-content h2 {
    font-size: 19px;
    margin-bottom: 10px !important;
    line-height: 1.4;
  }

  .la-info-content p {
    font-size: 14px;
    line-height: 1.65;
  }
}


