
/* =====================================================
   Main Common
====================================================== */

/*
  공통 보조 클래스입니다.
  기존 HTML은 그대로 두고, wan-main-section / wan-main-bg가 들어간 섹션에서도
  같은 시스템으로 동작하게만 보강합니다.
*/
.wan-main-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.wan-main-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.wan-main-title.is-center {
    text-align: center;
}

.wan-main-title.is-left {
    text-align: left;
}

#wrapper.main {
    width: 100%;
    overflow: hidden;
    color: var(--wan-main-text);
    letter-spacing: -0.01em;
}

#wrapper.main #container_wr,
#wrapper.main #container {
    width: 100%;
    margin: 0;
    padding: 0;
}

.wan-main-inner {
    width: 100%;
    max-width: var(--wan-main-width);
    margin: 0 auto;
    padding: 0 20px;
}

.wan-main-title {
    position: relative;
    z-index: 2;
    margin: 0 0 48px;
    text-align: center;
}

.wan-main-title p,
.wan-section-eyebrow {
    margin: 0 0 12px;
    font-size: 30px;
    font-weight: 600;
    color: var(--wan-main-black);
    line-height: 1.35;
    letter-spacing: -0.015em;
}

.wan-main-title-m p{
	display: none;
}

.wan-main-title h3 {
    margin: 0 0 16px;
    font-size: 60px;
    font-weight: 600;
    color: var(--wan-main-text);
    line-height: 1.14;
    letter-spacing: -0.035em;
    word-break: keep-all;
}

.wan-main-title h3 strong {
    color: var(--wan-main-gold);
    font-weight: 600;
}

.wan-main-title span {
    display: block;
    font-size: 20px;
    font-weight: 400;
    color: #555555;
    line-height: 1.3;
    letter-spacing: -0.005em;
    word-break: keep-all;
}

/* =====================================================
   Main Hero
====================================================== */

.wan-main-hero {
    position: relative;
    width: 100%;
    height: clamp(520px, 50.52vw, 970px);
    overflow: hidden;
    background: #111111;
}

.wan-main-hero-bg {
    position: absolute;
    inset: 0;
    background:
            linear-gradient(rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.28)),
            url('../img/main_hero.jpg') center center / cover no-repeat;
}

.wan-main-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    transform: translateY(-34px);
}

.wan-main-hero-kicker {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.55;
    letter-spacing: -0.015em;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}

.wan-main-hero-content h2 {
    margin: 0;
    font-size: 115px;
    font-weight: 700;
    color: #ffffff;
    line-height: 0.98;
    letter-spacing: -0.035em;
    text-shadow: 0 8px 22px rgba(0, 0, 0, 0.32);
}

.wan-main-hero-content h2 strong {
    font-weight: 700;
    color: #ffffff;
}

.wan-main-hero-desc {
    margin: 16px 0 28px;
    font-size: 40px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.96);
    line-height: 1.28;
    letter-spacing: -0.025em;
    text-shadow: 0 5px 14px rgba(0, 0, 0, 0.28);
}

.wan-main-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 126px;
    height: 47px;
    padding: 0 22px;
    background: var(--wan-main-gold);
    color: #ffffff;
    border-radius: 2px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.01em;
    text-decoration: none;
}

.wan-main-hero-logo {
    position: absolute;
    left: 50%;
    bottom: 72px;
    z-index: 2;
    width: 190px;
    height: auto;
    opacity: 0.72;
    transform: translateX(-50%);
}

.wan-main-hero-logo svg,
.wan-main-hero-logo img {
    display: block;
    width: 100%;
    height: auto;
}

/* =====================================================
   Main Field - 주요분야
====================================================== */

.wan-main-field {
    position: relative;
    width: 100%;
    min-height: 760px;
    padding: 92px 0 104px;
    background: #ffffff;
    overflow: hidden;
}

.wan-main-field-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url('../img/main_field_bg.jpg') center center / cover no-repeat;
    pointer-events: none;
}

.wan-main-field .wan-main-inner {
    position: relative;
    z-index: 1;
}

.wan-main-field .wan-main-title {
    margin-bottom: 55px;
}

.wan-main-field-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.wan-main-field-card {
    min-height: 180px;
    padding: 25px 24px 23px;
    background: rgba(255, 255, 255, 0.95);
    border: 0;
    border-radius: 8px;
    color: #222222;
    box-shadow: var(--wan-main-card-shadow);
}

.wan-main-field-icon {
    display: block;
    margin-bottom: 15px;
    color: #333333;
}

.wan-main-field-icon svg,
.wan-main-field-icon img {
    display: block;
    width: auto;
    height: 35px;
    object-fit: contain;
}

.wan-main-field-card h4 {
    position: relative;
    margin: 0 0 15px;
    padding-bottom: 14px;
    font-size: 35px;
    font-weight: 700;
    color: #222222;
    line-height: 1.25;
    letter-spacing: -0.03em;
    word-break: keep-all;
}

.wan-main-field-card h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: #d8d8d8;
}

.wan-main-field-card strong {
    display: block;
    margin-bottom: 7px;
    font-size: 20px;
    font-weight: 700;
    color: #222222;
    line-height: 1.45;
    letter-spacing: -0.01em;
    word-break: keep-all;
}

.wan-main-field-card p {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    color: #333333;
    line-height: 1.58;
    letter-spacing: -0.005em;
    word-break: keep-all;
}

/* ─── 반응형 작업시 ─── */
.wan-main-field-icon-m {
	display: none;
}

/* =====================================================
   Main Lawyer - 대표변호사
   Figma 오른쪽 시안 기준
====================================================== */

.wan-main-lawyer {
    position: relative;
    width: 100%;
    height: 926px;
    padding: 0;
    background: #ffffff;
    overflow: hidden;
}

/* 왼쪽 네이비 대각선 배경 */
.wan-main-lawyer::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;

    background:
            url('../img/main_lawyer_bg.jpg') center center / cover no-repeat;}

/* 오른쪽 회색 워터마크 */
.wan-main-lawyer::after {
    content: '';
    position: absolute;
    right: 95px;
    top: 56px;
    z-index: 0;

    width: 520px;
    height: 520px;

    background: url('../img/main_lawyer_mark.png') center center / contain no-repeat;
    opacity: 1;
    pointer-events: none;
}

/* 내부 기준 */
.wan-main-lawyer-inner {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;

    display: block;
}

/* 왼쪽 텍스트 */
.wan-main-lawyer-text {
    position: absolute;
    left: 64px;
    top: 112px;
    z-index: 2;

    width: 470px;
    padding: 0;
    color: #ffffff;
}

.wan-main-lawyer-text > div{display: flex; gap: 20px; align-items: flex-end;}

.wan-main-lawyer-text > div p {
    font-size: 45px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.wan-main-lawyer-text > div  h3 {
    font-size: 80px;
    font-weight: 800;
    color: #ffffff;
    line-height: 80px;
    letter-spacing: -0.055em;
}

.wan-main-lawyer-text > strong {
    display: block;
    margin: 45px 0 30px 0;
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.5;
    letter-spacing: -0.03em;
    word-break: keep-all;
}

.wan-main-lawyer-text ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wan-main-lawyer-text li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 14px;

    font-size: 17px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.42;
    letter-spacing: -0.025em;
    word-break: keep-all;
}

.wan-main-lawyer-text li::before {
    content: 'ㆍ';
    position: absolute;
    left: 0;
    top: 0;
    color: rgba(255, 255, 255, 0.92);
}

/* 오른쪽 인물 */
.wan-main-lawyer-photo {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;

    height: 95%;
    text-align: center;
}

.wan-main-lawyer-photo img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
}

/* 시안에 버튼 없으면 숨김 */
.wan-main-lawyer .wan-main-more {
    display: none;
}

/* =====================================================
   Main Process - 업무전략
   Figma 시안 기준
====================================================== */

.wan-main-process {
    position: relative;
    width: 100%;
    min-height: 780px;
    padding: 116px 0 122px;
    background: #ffffff;
    overflow: hidden;
}

.wan-main-process-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url('../img/main_process_bg.jpg') center center / cover no-repeat;
    pointer-events: none;
}

.wan-main-process::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(255, 255, 255, 0.54);
    pointer-events: none;
}

.wan-main-process .wan-main-inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
}

/* 단계 리스트 */
.wan-main-process-list {
    display: grid;
    grid-template-columns: 1fr 72px 1fr 72px 1fr 72px 1fr;
    align-items: start;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}

/* 개별 단계 */
.wan-main-process-item {
    position: relative;
    width: 100%;
    min-height: 260px;
    padding: 0 10px;
    background: transparent;
    border: 0;
    text-align: center;
}

/* STEP 배지 */
.wan-main-process-item > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    height: 36px;
    margin-bottom: 24px;
    padding: 0 18px;

    border-radius: 8px;
    background: #002E5E;
    color: #ffffff;

    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.015em;
}

/* 단계 제목 */
.wan-main-process-item h4 {
    position: relative;
    font-size: 30px;
    font-weight: 800;
    color: #111111;
    line-height: 1.35;
    letter-spacing: -0.055em;
    word-break: keep-all;
}

/* 강조 문구 */
.wan-main-process-item strong {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: #111111;
    line-height:43px;
    letter-spacing: -0.045em;
    word-break: keep-all;
    border-top:1px solid #cdcdcd;
    border-bottom:1px solid #cdcdcd;
    margin: 20px 0 15px 0;
}

/* 설명 */
.wan-main-process-item p {
    margin: 0;

    font-size: 17px;
    font-weight: 400;
    color: #555555;
    line-height: 1.65;
    letter-spacing: -0.035em;
    word-break: keep-all;
}

/* 점선 화살표 */
.wan-main-process-arrow {
    position: relative;
    width: 72px;
    height: 220px;
    padding: 0;
}

.wan-main-process-arrow svg{position: absolute; top:50%; left: 50%; transform: translate(-50%, -50%);}

/* =====================================================
   Main Case - 성공사례 / 업무사례
   게시판 최신글 10개 슬라이드
====================================================== */

.wan-main-case {
    position: relative;
    width: 100%;
    padding: 100px 0 160px 0;
    background: #f6f6f6;
    overflow: hidden;
}

/* 배경 */
.wan-main-case-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url('../img/main_case_bg.jpg') center center / cover no-repeat;
    pointer-events: none;
}

/* 상단 텍스트 */
.wan-main-case-head {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto 140px auto;
    padding: 0 20px;
    text-align: left;
}

.wan-main-case-head p {
    margin: 0 0 24px;
    font-size: 25px;
    font-weight: 800;
    color: #222222;
    line-height: 1.3;
    letter-spacing: -0.04em;
}

.wan-main-case-head h3 {
    margin: 0 0 34px;
    font-size: 54px;
    font-weight: 800;
    color: #333333;
    line-height: 1.25;
    letter-spacing: -0.055em;
    word-break: keep-all;
}

.wan-main-case-head h3 strong {
    color: var(--wan-gold);
    font-weight: 800;
}

.wan-main-case-head span {
    display: block;
    font-size: 18px;
    font-weight: 400;
    color: #333333;
    line-height: 1.65;
    letter-spacing: -0.035em;
    word-break: keep-all;
}

/* 인물 */
.wan-main-case-photo {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    height: 98%;
    pointer-events: none;
}

.wan-main-case-photo img {
    display: block;
    width: auto;
    height: 100%;
}

/* 슬라이더 */
.wan-main-case-slider-wrap {
    position: relative;
    z-index: 4;
    width: 100%;
    overflow: visible;
}

.wan-main-case-slider {
    display: flex;
    gap: 22px;
    width: max-content;

    /* 화면 왼쪽 기준으로 시작 */
    padding-left: 32px;
    padding-right: 120px;

    transition: transform 0.35s ease;
    will-change: transform;
}

/* 카드 */
.wan-main-case-card {
    flex: 0 0 335px;
    width: 335px;
    padding: 30px;

    display: flex;
    flex-direction: column;

    background: rgba(255, 255, 255, 0.78);
    border-radius: 12px;
    color: #222222;
    text-decoration: none;

    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.055);
    backdrop-filter: blur(2px);

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wan-main-case-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.09);
}

.wan-main-case-card span {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #111111;
    line-height: 1.3;
    letter-spacing: -0.035em;
}

.wan-main-case-type {
    margin: 0 0 10px;
    font-size: 19px;
    font-weight: 600;
    color: #111111;
    line-height: 1.45;
    letter-spacing: -0.035em;
}

.wan-main-case-card h4 {
    margin: 0 0 22px;

    font-size: 30px;
    font-weight: 800;
    color: #003764;
    line-height: 1.38;
    letter-spacing: -0.055em;
    word-break: keep-all;

    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.wan-main-case-desc {
    margin: 0;

    font-size: 18px;
    font-weight: 400;
    color: #555555;
    line-height: 1.72;
    letter-spacing: -0.035em;
    word-break: keep-all;

    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.wan-main-case-card em {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 25px;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    color: #777777;
    line-height: 1;
    letter-spacing: -0.02em;
}

.wan-main-case-card em i {
    font-style: normal;
    font-size: 25px;
    line-height: 1;
}

/* 버튼 */
.wan-main-case-controls {
    position: absolute;
    right: max(20px, calc((100vw - 1280px) / 2 + 20px));
    bottom: -78px;
    z-index: 5;

    display: flex;
    align-items: center;
    gap: 12px;
}

.wan-main-case-controls button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;
    border: 0;
    background: #ffffff;
    color: #111111;

    font-size: 26px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;

    transition: background 0.2s ease, color 0.2s ease;
}

.wan-main-case-controls button:hover {
    background: #003764;
    color: #ffffff;
}

.wan-main-case-empty {
    width: 335px;
    min-height: 220px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    font-size: 18px;
    color: #333333;
}

/* =====================================================
   Main Board - 실시간 상담신청
====================================================== */

.wan-main-board {
    position: relative;
    width: 100%;
    padding: 124px 0 126px;
    background: #ffffff;
    overflow: hidden;
}

.wan-main-board .wan-main-inner {
    max-width: 1280px;
}

/* 리스트 */
.wan-main-board-list {
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
    border-top: 1px solid #222222;
}

.wan-main-board-row {
    display: grid;
    grid-template-columns: 120px 1fr 78px 110px 92px;
    align-items: center;

    min-height: 60px;
    border-bottom: 1px solid #e5e5e5;

    color: #222222;
    text-decoration: none;
}

.wan-main-board-category {
    font-size: 15px;
    font-weight: 800;
    color: var(--wan-gold);
    line-height: 1.4;
    letter-spacing: -0.035em;
}

.wan-main-board-subject {
    margin: 0;
    padding-right: 28px;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;

    font-size: 17px;
    font-weight: 400;
    color: #222222;
    line-height: 1.45;
    letter-spacing: -0.035em;
}

.wan-main-board-name,
.wan-main-board-date {
    font-size: 15px;
    font-weight: 400;
    color: #333333;
    line-height: 1.4;
    letter-spacing: -0.02em;
    text-align: center;
}

.wan-main-board-row em {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 74px;
    height: 28px;
    margin-left: auto;

    border-radius: 999px;
    border: 1px solid #d8d8d8;
    background: #f3f3f3;
    color: #555555;

    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.025em;
}

.wan-main-board-row:hover .wan-main-board-subject {
    color: var(--wan-gold);
}

/* 빈 글 */
.wan-main-board-empty {
    padding: 36px 0;
    border-bottom: 1px solid #e5e5e5;
    text-align: center;
    font-size: 16px;
    color: #666666;
}

/* 버튼 */
.wan-main-board-more {
    margin-top: 54px;
    text-align: center;
}

.wan-main-board-more a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 152px;
    height: 48px;
    padding: 0 28px;

    border-radius: 3px;
    background: var(--wan-gold);
    color: #ffffff;

    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.035em;
    text-decoration: none;

    transition: background 0.2s ease, transform 0.2s ease;
}

.wan-main-board-more a:hover {
    background: #8f7139;
    transform: translateY(-2px);
}

/* 더미 상담글 */
.wan-main-board-row.is-dummy {
    cursor: default;
}

/* 더미 + 답변완료 상태 */
.wan-main-board-row.is-dummy.is-completed {
    color: #777777;
}

.wan-main-board-row.is-dummy.is-completed .wan-main-board-category {
    color: #9a7b3f;
}

.wan-main-board-row.is-dummy.is-completed .wan-main-board-subject {
    color: #555555;
}

.wan-main-board-row.is-dummy.is-completed .wan-main-board-name,
.wan-main-board-row.is-dummy.is-completed .wan-main-board-date {
    color: #777777;
}

.wan-main-board-row.is-dummy.is-completed em {
    border-color: #bfa36a;
    background: #fff8e8;
    color: #9a7836;
}

/* 답변대기 상태 */
.wan-main-board-row.is-waiting em {
    border-color: #d8d8d8;
    background: #f3f3f3;
    color: #555555;
}

/* 더미글은 hover 시 링크처럼 과하게 반응하지 않게 */
.wan-main-board-row.is-dummy:hover .wan-main-board-subject {
    color: #555555;
}

/* 더미 답변완료 hover */
.wan-main-board-row.is-dummy.is-completed:hover .wan-main-board-subject {
    color: #555555;
}

/* =====================================================
   Main Consult - 상담신청 공통 섹션
====================================================== */

.wan-main-consult {
    position: relative;
    width: 100%;
    padding: 118px 0 128px;
    background: #eef5f6;
    overflow: hidden;
}

.wan-main-consult-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
            url('../img/main_consult_bg.jpg') center center / cover no-repeat;
    pointer-events: none;
}

.wan-main-consult-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 600px;
    align-items: start;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.wan-main-consult-form {
    width: 100%;
}

.wan-main-form-row {
    width: 100%;
    margin-bottom: 12px;
}

.wan-main-form-row.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.wan-main-form-row input,
.wan-main-form-row select,
.wan-main-form-row textarea {
    display: block;
    width: 100%;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    background-color: #ffffff;
    color: #222222;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.035em;
    box-sizing: border-box;
    outline: none;
}

.wan-main-form-row input,
.wan-main-form-row select {
    height: 52px;
    padding: 0 16px;
}

.wan-main-form-row textarea {
    height: 142px;
    padding: 16px;
    resize: none;
    line-height: 1.6;
}

.wan-main-form-row select {
    appearance: none;
    background-image:
            linear-gradient(45deg, transparent 50%, #666 50%),
            linear-gradient(135deg, #666 50%, transparent 50%);
    background-position:
            calc(100% - 20px) 50%,
            calc(100% - 14px) 50%;
    background-size:
            6px 6px,
            6px 6px;
    background-repeat: no-repeat;
}

.wan-main-form-row input::placeholder,
.wan-main-form-row textarea::placeholder {
    color: #9b9b9b;
}

.wan-main-form-row input:focus,
.wan-main-form-row select:focus,
.wan-main-form-row textarea:focus {
    border-color: var(--wan-gold);
}

.wan-main-form-agree {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 18px 0 28px;
    font-size: 16px;
    font-weight: 400;
    color: #222222;
    line-height: 1.4;
    letter-spacing: -0.035em;
}

.wan-main-form-agree input {
    width: 18px;
    height: 18px;
    margin: 0;
}

.wan-main-form-agree label {
    cursor: pointer;
}

.wan-main-form-agree .wan-privacy-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    padding: 0 10px;
    border: 0;
    border-radius: 3px;
    background: var(--wan-gold);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.wan-main-consult-form > button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 168px;
    height: 54px;
    padding: 0 30px;
    border: 0;
    border-radius: 4px;
    background: var(--wan-gold);
    color: #ffffff;
    font-size: 17px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.035em;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.wan-main-consult-form > button[type="submit"]:hover {
    background: #8f7139;
    transform: translateY(-2px);
}

.wan-main-consult-form > button[type="submit"].is-loading,
.wan-main-consult-form > button[type="submit"]:disabled {
    opacity: 0.65;
    cursor: default;
    transform: none;
}

/* =====================================================
   Main Location
====================================================== */

/* =====================================================
   Main Location
====================================================== */

.wan-main-location {
    width: 100%;
    padding: 112px 0 0;
    background: #f7f7f7;
}

.wan-main-location .wan-main-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.wan-main-location-title {
    text-align: center;
}

.wan-main-location-title p {
    margin: 0 0 26px;
    font-size: 26px;
    font-weight: 800;
    color: #111111;
    line-height: 1.2;
    letter-spacing: -0.045em;
}

.wan-main-location-title h3 {
    margin: 0 0 28px;
    font-size: 66px;
    font-weight: 800;
    color: #333333;
    line-height: 1.17;
    letter-spacing: -0.065em;
    word-break: keep-all;
}

.wan-main-location-title h3 strong {
    color: var(--wan-gold);
    font-weight: 800;
}

.wan-main-location-title span {
    display: block;
    font-size: 19px;
    font-weight: 400;
    color: #444444;
    line-height: 1.7;
    letter-spacing: -0.04em;
    word-break: keep-all;
}

.wan-main-location-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 86px;
    border-top: 0;
}

.wan-main-location-item {
    min-height: 156px;
    padding: 8px 28px 0 28px;
    border-left: 1px solid #dddddd;
}

.wan-main-location-item:last-child {
    border-right: 1px solid #dddddd;
}

.wan-main-location-item h4 {
    margin: 0 0 20px;
    font-size: 26px;
    font-weight: 800;
    color: #111111;
    line-height: 1.2;
    letter-spacing: -0.045em;
}

.wan-main-location-item p {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    color: #222222;
    line-height: 1.85;
    letter-spacing: -0.03em;
    word-break: keep-all;
}

.wan-main-location-item p strong {
    display: inline-block;
    min-width: 26px;
    font-weight: 800;
    color: #111111;
}

.wan-main-location-map {
    width: 100%;
    height: 520px;
    margin-top: 66px;
    overflow: hidden;
    background: #eeeeee;
}

.wan-main-location-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* =====================================================
   Sub Consult Common Form
====================================================== */

.wan-consult-common-form.is-sub {
    width: 100%;
}

.wan-consult-common-form.is-sub .wan-main-form-row {
    width: 100%;
    margin-bottom: 22px;
}

.wan-consult-common-form.is-sub .wan-main-form-row.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.wan-consult-common-form.is-sub input,
.wan-consult-common-form.is-sub select,
.wan-consult-common-form.is-sub textarea {
    display: block;
    width: 100%;
    border: 1px solid #d6d6d6;
    border-radius: 6px;
    background: #ffffff;
    color: #222222;
    font-family: inherit;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: -0.035em;
    box-sizing: border-box;
    outline: none;
}

.wan-consult-common-form.is-sub input,
.wan-consult-common-form.is-sub select {
    height: 56px;
    padding: 0 18px;
}

.wan-consult-common-form.is-sub textarea {
    height: 170px;
    padding: 18px;
    line-height: 1.65;
    resize: none;
}

.wan-consult-common-form.is-sub select {
    appearance: none;
    background-image:
            linear-gradient(45deg, transparent 50%, #666 50%),
            linear-gradient(135deg, #666 50%, transparent 50%);
    background-position:
            calc(100% - 22px) 50%,
            calc(100% - 15px) 50%;
    background-size:
            7px 7px,
            7px 7px;
    background-repeat: no-repeat;
}

.wan-consult-common-form.is-sub input::placeholder,
.wan-consult-common-form.is-sub textarea::placeholder {
    color: #999999;
}

.wan-consult-common-form.is-sub input:focus,
.wan-consult-common-form.is-sub select:focus,
.wan-consult-common-form.is-sub textarea:focus {
    border-color: var(--wan-gold);
}

/* 개인정보 동의 */
.wan-consult-common-form.is-sub .wan-main-form-agree {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 28px 0 36px;
    font-size: 17px;
    font-weight: 400;
    color: #222222;
    line-height: 1.4;
    letter-spacing: -0.035em;
}

.wan-consult-common-form.is-sub .wan-main-form-agree input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin: 0;
    flex: 0 0 auto;
    accent-color: var(--wan-gold);
}

.wan-consult-common-form.is-sub .wan-main-form-agree label {
    cursor: pointer;
}

.wan-consult-common-form.is-sub .wan-privacy-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 14px;
    border: 0;
    border-radius: 4px;
    background: var(--wan-gold);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.035em;
    cursor: pointer;
}

/* 상담페이지 공통폼 버튼 가운데 정렬 */
.wan-consult-common-form.is-sub > button[type="submit"] {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 170px;
    height: 56px;
    margin: 36px auto 0;
    padding: 0 34px;

    border: 0;
    border-radius: 4px;
    background: var(--wan-gold);
    color: #ffffff;

    font-family: inherit;
    font-size: 17px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.035em;

    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.wan-consult-common-form.is-sub > button[type="submit"]:hover {
    background: #8f7139;
    transform: translateY(-2px);
}

.wan-consult-common-form.is-sub > button[type="submit"]:disabled,
.wan-consult-common-form.is-sub > button[type="submit"].is-loading {
    opacity: 0.65;
    cursor: default;
    transform: none;
}