html, body, div, span, applet, object, iframe, table, caption, tbody, tfoot, thead, tr, th, td, 
del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, sub, sup, tt, var, 
h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, 
dl, dt, dd, ol, ul, li, fieldset, form, label, legend input, textarea, button, select{
 vertical-align: baseline;
 font-family: inherit;
 font-weight: inherit;
 font-style: inherit;
 font-size: 100%;
 outline: 0;
 padding: 0;
 margin: 0;
 border: 0;
 }


* { margin:0; padding:0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
ul, li {list-style:none; }
html { width:100%; }
 
img { vertical-align:middle; border:none; }
a { text-decoration:none; cursor:pointer; }
p { }
div, input, button { vertical-align:middle; border:none; font-family: 'S-CoreDream-4Regular'; }
textarea { border:none; }
.red {color:#ee0000; font-weight:500; }

@charset "utf-8";
li { list-style: none; margin: 0; padding: 0;}
.continaer { /* 비주얼 영역을 가운데 정렬하기 위한 컨테이너 */ 
    max-width: 1920px; margin: 0 auto; outline: 1px solid red;
}

 
    body {
      margin: 0;
      font-family: 'Noto Sans KR', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
      background: #f4f6fb;
      color: #111827;
      line-height: 1.7;
      font-size: 16px;
    }
    a { color: inherit; text-decoration: none; }

    .page-wrap {
      min-height: 100vh;
      display: flex;
      justify-content: center;
      padding: 32px 16px 60px;
    }

    .container {
      width: 100%;
      max-width: 1040px;
    }

    /* HERO */
    .hero {
      background: radial-gradient(circle at top left, #e0f0ff 0, #f4f6fb 40%, #ffffff 100%);
      border-radius: 24px;
      padding: 36px 26px 30px;
      box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
      margin-bottom: 30px;
      position: relative;
      overflow: hidden;
    }
    .hero::after {
      content: "";
      position: absolute;
      right: -60px;
      top: -60px;
      width: 200px;
      height: 200px;
      border-radius: 50%;
      background: rgba(59,130,246,0.12);
      filter: blur(4px);
      pointer-events: none;
    }
    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      padding: 7px 13px;
      border-radius: 999px;
      background: rgba(37, 99, 235, 0.06);
      color: #1d4ed8;
      font-weight: 600;
      margin-bottom: 12px;
    }
    .hero-title { font-family: 'S-CoreDream-7ExtraBold'; 
      font-size: 28px;
      font-weight: 900;
      color: #0f172a;
      margin: 0 0 8px;
    }
    .hero-title span {
      color: #1d4ed8;
    }

    /* 공통 섹션 카드 */
    .section-card {
      background: #ffffff;
      border-radius: 20px;
      padding: 26px 24px 22px;
      box-shadow: 0 10px 30px rgba(15,23,42,0.06);
      margin-bottom: 22px;
    }
    .section-header {
      margin-bottom: 16px;
    }
    .section-title {
      font-size: 20px;
      font-weight: 800;
      color: #0f172a;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .section-caption {
      font-size: 14px;
      color: #6b7280;
      margin-top: 4px;
    }

    /* 진행 절차 5단계 */
    .steps-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 16px;
    }
    .step-item {
      border-radius: 16px;
      padding: 18px 16px;
      background: linear-gradient(135deg, #f9fafb 0%, #eef2ff 100%);
      border: 1px solid rgba(199,210,254,0.7);
      transition: all 0.25s ease;
      position: relative;
      overflow: hidden;
      text-align: center;
    }
    .step-item::after {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at top right, rgba(59,130,246,0.16), transparent 60%);
      opacity: 0;
      transition: opacity 0.25s ease;
    }
    .step-inner {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .step-item:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 30px rgba(79,70,229,0.18);
    }
    .step-item:hover::after {
      opacity: 1;
    }
    .step-num {
      font-size: 12px;
      font-weight: 700;
      color: #6366f1;
      margin-bottom: 5px;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }
    .step-icon-circle {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 8px;
      box-shadow: 0 4px 12px rgba(148,163,184,0.5);
      font-size: 20px;
    }
    .step-title {
      font-size: 15px;
      font-weight: 700;
      color: #111827;
      margin-bottom: 5px;
      letter-spacing: -0.03em;
    }
    .step-desc {
      font-size: 13px;
      color: #6b7280;
    }

    /* 후기 섹션 */
    .reviews-grid {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .review-card {
      border-radius: 16px;
      padding: 16px 14px;
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      gap: 12px;
      background: #f9fafb;
      border: 1px solid #e5e7eb;
      transition: all 0.2s ease;
    }
    .review-card:hover {
      background: #ffffff;
      box-shadow: 0 8px 22px rgba(148,163,184,0.35);
      transform: translateY(-2px);
    }
    .review-avatar {
      width: 52px;
      height: 52px;
      border-radius: 999px;
      background-size: cover;
      background-position: center;
      background-color: #d1d5db;
      position: relative;
      overflow: visible;
    }
    .review-avatar::after {
      content: "★";
      position: absolute;
      right: -6px;
      bottom: -6px;
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: #fbbf24;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      color: #111827;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }
    .review-main-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      margin-bottom: 5px;
    }
    .review-title {
      font-size: 15px;
      font-weight: 700;
      color: #111827;
    }
    .review-tag {
      font-size: 12px;
      padding: 4px 8px;
      border-radius: 999px;
      background: rgba(16,185,129,0.1);
      color: #047857;
      font-weight: 600;
      white-space: nowrap;
    }
    .review-meta { text-align:left; 
      font-size: 12px;
      color: #6b7280;
      margin-bottom: 4px;
    }
    .review-text { text-align:left; 
      font-size: 13px;
      color: #4b5563;
    }

    /* ===== PC용 하단 고정 상담 폼 (오른쪽 고정) ===== */
    .desktop-form-wrapper {
      position: fixed;
      right: 0;
      bottom: 0;
      z-index: 9000;
      display: none;
      justify-content: flex-end;
      padding: 12px 16px 18px;
      background: transparent;
      pointer-events: none;
    }
    .desktop-form-inner {
      pointer-events: auto;
    }

    .form-card {
      background: radial-gradient(circle at top, #dbeafe 0%, #eff6ff 45%, #ffffff 100%);
      border-radius: 22px;
      padding: 18px 20px 16px;
      box-shadow: 0 14px 38px rgba(37,99,235,0.32);
      max-width: 360px;
      width: 100%;
    }
    .form-title {
      font-size: 18px;
      font-weight: 900;
      color: #0f172a;
      margin: 0 0 6px;
    }

    .form-row {
      margin-bottom: 8px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .form-label {
      font-size: 13px;
      font-weight: 600;
      margin-bottom: 0;
      color: #111827;
      display: block;
      width: 60px;
      white-space: nowrap;
    }
    .input {
      flex: 1;
      width: 100%;
      max-width: 100%;
      border-radius: 12px;
      border: 1px solid #cbd5f5;
      padding: 8px 11px;
      font-size: 13px;
      outline: none;
      background: rgba(255,255,255,0.95);
      transition: all 0.18s;
    }
    .input:focus {
      border-color: #2563eb;
      box-shadow: 0 0 0 1px rgba(37,99,235,0.4);
      background: #ffffff;
    }
    .input::placeholder {
      color: #9ca3af;
    }

    /* 개인정보 동의 (한 줄 형태) */
    .agreement-row {
      margin-top: 4px;
      font-size: 11px;
      color: #4b5563;
      display: flex;
      align-items: center;
      gap: 6px;
      flex-wrap: wrap;
    }
    .agree-label {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      white-space: nowrap;
    }
    .agree-label input[type="checkbox"] {
      margin-right: 2px;
      accent-color: #2563eb;
      width: 15px;
      height: 15px;
    }
    .agree-text {
      font-size: 11px;
      line-height: 1.4;
    }
    .link-btn {
      border: none;
      background: none;
      padding: 0;
      font-size: 11px;
      color: #2563eb;
      text-decoration: underline;
      cursor: pointer;
      white-space: nowrap;
    }

    .submit-btn {
      margin-top: 10px;
      width: 100%;
      border: none;
      border-radius: 999px;
      padding: 11px 16px;
      font-size: 14px;
      font-weight: 800;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      background: linear-gradient(135deg, #2563eb, #1d4ed8);
      color: #ffffff;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      box-shadow: 0 14px 36px rgba(37,99,235,0.6);
      transition: all 0.2s ease;
    }
    .submit-btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 18px 40px rgba(30,64,175,0.8);
      filter: brightness(1.03);
    }

    /* ===== 모바일 하단 고정 미니 폼 ===== */
    .mobile-mini-form {
      position: fixed;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 9500;
      background: #ffffff;
      box-shadow: 0 -6px 18px rgba(15,23,42,0.25);
      padding: 12px 12px 14px;
      display: none;
    }

    .mini-form-inner {
      max-width: 640px;
      margin: 0 auto;
    }

    .mini-two-cols {
      display: grid;
      grid-template-columns: calc(45% - 5px) calc(55% - 5px);
      gap: 10px;
      width: 100%;
      margin-bottom: 10px;
    }

    .mini-form-row {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 1px;
      width: 100%;
    }

    .mini-label {
      width: 45px;
      font-size: 12px;
      font-weight: 600;
      white-space: nowrap;
    }

    .mini-input {
      flex: 1;
      min-width: 0;
      border-radius: 10px;
      border: 1px solid #cbd5f5;
      padding: 6px 8px;
      font-size: 12px;
      outline: none;
      background: #ffffff;
    }

    .mini-input::placeholder {
      color: #9ca3af;
    }

    .mini-agreement-row {
      font-size: 10px;
      color: #4b5563;
      display: flex;
      flex-wrap: wrap;
      gap: 4px;
      margin-bottom: 8px;
    }

    .mini-agree-label {
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }

    .mini-agree-label input[type="checkbox"] {
      width: 14px;
      height: 14px;
      accent-color: #2563eb;
    }

    .mini-link-btn {
      background: none;
      border: none;
      padding: 0;
      font-size: 10px;
      color: #2563eb;
      text-decoration: underline;
    }

    .mini-submit-btn {
      width: 100%;
      border: none;
      border-radius: 999px;
      padding: 9px 14px;
      font-size: 14px;
      font-weight: 700;
      background: linear-gradient(135deg, #2563eb, #1d4ed8);
      color: #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
    }

    /* 모달 공통 */
    .modal-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(15,23,42,0.55);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      padding: 16px;
    }
    .modal-backdrop.is-open {
      display: flex;
    }
    .modal {
      max-width: 560px;
      width: 100%;
      max-height: 80vh;
      background: #ffffff;
      border-radius: 18px;
      box-shadow: 0 20px 60px rgba(15,23,42,0.4);
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }
    .modal-header {
      padding: 16px 20px 12px;
      border-bottom: 1px solid #e5e7eb;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }
    .modal-title {
      font-size: 16px;
      font-weight: 700;
      color: #111827;
    }
    .modal-close {
      border: none;
      background: none;
      font-size: 20px;
      cursor: pointer;
      color: #6b7280;
    }
    .modal-body {
      padding: 16px 20px 18px;
      font-size: 14px;
      color: #4b5563;
      overflow-y: auto;
    }
    .modal-body h4 {
      font-size: 14px;
      margin: 12px 0 6px;
      font-weight: 700;
    }
    .modal-body p {
      margin: 4px 0 6px;
    }
    .modal-body ul {
      padding-left: 18px;
      margin: 4px 0 10px;
    }

    @media (min-width: 769px) {
      .desktop-form-wrapper {
        display: flex;
      }
      .mobile-mini-form {
        display: none;
      }
      body {
        padding-bottom: 100px;
      }
    }

    @media (max-width: 768px) {
      .desktop-form-wrapper {
        display: none;
      }
      .mobile-mini-form {
        display: block;
      }
      body {
        padding-bottom: 150px;
      }
      .hero {
        padding: 26px 18px 22px;
      }
      .section-card {
        padding: 22px 18px 20px;
      }

      /* ★ 후기 헤더 모바일 정렬: 1행 태그, 2행 제목 */
      .review-main-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
      }
      .review-main-header .review-tag {
        order: 0;
      }
      .review-main-header .review-title { text-align:left;
        order: 1;
      }
    }


/* PC 
------------------------------------------------------------------------------------------------------------*/

.wrap { width:100%; min-width:1200px; overflow:hidden; }
.wrap .contents { position:relative; top:0; left:50%; margin-left:-960px; width:1920px; text-align:center; }
.wrap .contents img { width:100%; max-width:1920px; cursor:pointer; }


/* MOBILE
------------------------------------------------------------------------------------------------------------*/



.m_wrap { width:100%; overflow:hidden; max-width:640px; min-width:320px; text-align:center; margin:0 auto;}
.m_wrap .contents img { width:100%; }

.m_wrap .mobile_map .root_daum_roughmap {margin:0 auto; width:100%!important;}

/*form */

.m_wrap .form1 { width:100%; max-width:640px; position:fixed; bottom:0; text-align:center; text-align:center; background-color:#fff; z-index:9999; box-shadow: 0 -6px 18px rgba(15, 23, 42, 0.25);}
 
.m_wrap .form1 .formArea {  margin:0 auto; overflow: hidden; padding: 10px; }
.m_wrap .form1 .formGroup { margin-bottom:12px; text-align:center; }


.m_wrap .form1 .form_table { width:100%; padding:0; border-collapse:collapse; }
.m_wrap .form1 .form_table tbody th { padding:4px; vertical-align:middle; text-align:left; line-height:24px; font-size:14px; font-weight:500; letter-spacing:-2px; }
.m_wrap .form1 .form_table tbody td { padding:4px; vertical-align:middle; text-align:left; line-height:24px; font-size:13px; }


.m_wrap .form1 .input_style:focus, .m_wrap .sel_style:focus, .m_wrap .textarea_style:focus { border-color:#303f99; -webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #fff; box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #fff;}

.m_wrap .form1 .input_style { padding-left:5px; height:32px; border:1px solid #ccc; font-size:13px; }
.m_wrap .form1 .sel_style { width:100%; height:32px; border:1px solid #ccc; font-size:13px; vertical-align:middle; background-color:#fff;}
 
.m_wrap .form1 .submit_box { width:100%; text-align:center; }
.m_wrap .form1 .submit_box button { width:76%; font-weight:600; font-size:18px; letter-spacing:-2px; cursor:pointer; max-width:500px; background-color:#1d4ed8; color:#fff; padding:6px 0; margin-top:5px; }

 