/* 법률사무소 명가 회생파산센터 — style.css */

  *, *::before, *::after { box-sizing: border-box; }
  html, body { overflow-x: hidden; max-width: 100%; }
  body { margin: 0; background: #ffffff; color: #10293a;
    font-family: "Pretendard Variable", Pretendard, system-ui, sans-serif;
    font-size: 17px; font-weight: 450; -webkit-font-smoothing: antialiased; }
  h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
  body, h1, h2, h3, h4, p, li, dt, dd, span, a, label, button, input, select, textarea { word-break: keep-all; overflow-wrap: break-word; text-wrap: pretty; }
  ul, ol { list-style: none; }
  img { display: block; max-width: 100%; }
  a { color: #5b7387; text-underline-offset: 3px; }
  :where(a:hover) { color: #10293a; }
  :focus-visible { outline: 2px solid #1b4486; outline-offset: 2px; }
  ::selection { background: #d7eefc; }
  .mg-u-hover-ink:hover { color: #10293a !important; }
  .mg-u-hover-soft:hover { background: #f2f8fc !important; }
  .mg-u-hover-lift:hover { border-color: #1b4486 !important; }
  .mg-u-hover-dark:hover { background: #2c4a5e !important; }
  .mg-u-hover-gold:hover { background: #143569 !important; }
  .mg-u-only-lg { display: none; }
  @media (max-width: 1080px) {
    .mg-u-hide-lg { display: none !important; }
    .mg-u-only-lg { display: flex !important; }
  }
  @media (max-width: 720px) { .mg-u-hide-sm { display: none !important; } }
  @media (max-width: 900px) {
    .mg-hero__main { grid-template-columns: minmax(0, 1fr) !important; gap: 18px !important; padding-left: 0 !important; }
    .mg-hero__copy { align-items: center !important; text-align: center !important; padding: 0 0 24px !important; order: -1; }
    .mg-hero__actions { justify-content: center !important; }
    .mg-hero__photo { justify-content: center !important; transform: none !important; }
    .mg-hero__photo img { max-width: 260px; max-height: 380px; }
  }
  @media (max-width: 720px) {
    body { font-size: 15px !important; }
    h1, .mg-hero__title, .mg-title-ment h3 { font-size: 26px !important; line-height: 1.42 !important; letter-spacing: -0.03em !important; }
    h2, .mg-section__title { font-size: 22px !important; line-height: 1.4 !important; }
    h3 { font-size: 18px !important; }
    p, li, dt, dd, span, a, label, button, input, select, textarea, figcaption, td, th { font-size: 15px !important; }
    h1 span, h2 span, h3 span, h1 strong, h2 strong, .mg-hero__title span { font-size: inherit !important; }
    .mg-hero__lead { font-size: 16px !important; line-height: 1.6 !important; }
    .mg-section__lead, .mg-title-ment p { font-size: 16px !important; }
    .mg-stats { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; border-radius: 16px !important; }
    .mg-stats__item { padding: 16px 2px !important; gap: 2px !important; flex-direction: column-reverse !important; }
    .mg-stats__label { text-align: center !important; max-width: none !important; }
    .mg-stats__value { font-size: min(44px, 10.2vw) !important; letter-spacing: 0 !important; }
    .mg-stats__label { font-size: 13px !important; }
    .mg-stats__value span { font-size: 15px !important; margin-left: 2px !important; }
    .mg-footer__copy, .mg-ribbon__inner, .mg-crumb li, .mg-crumb a, .mg-hero__note, figcaption { font-size: 14px !important; }
    .mg-header__inner { padding-top: 9px !important; padding-bottom: 9px !important; gap: 12px !important; }
    .mg-header__brand img { height: 34px !important; }
    .mg-header__actions { gap: 7px !important; }
    .mg-header__actions .mg-cta { height: 38px !important; padding: 0 14px !important; font-size: 14px !important; }
    .mg-header__toggle { width: 38px !important; height: 38px !important; gap: 4px !important; }
    .mg-footer__logo { height: 42px !important; }
    .mg-hero { min-height: 0 !important; padding-bottom: 26px !important; }
    .mg-hero__inner { gap: 0 !important; padding-bottom: 8px !important; }
    .mg-hero__dots { display: none !important; }
    .mg-hero__photo img { max-width: 200px !important; max-height: 300px !important; }
    .mg-hero__actions a { height: 52px !important; padding: 0 22px !important; font-size: 16px !important; }
    .mg-lawyer__body > a { align-self: center !important; }
    .mg-cases__carousel { position: relative !important; gap: 0 !important; }
    .mg-cases__arrow { position: absolute !important; top: 42% !important; z-index: 5 !important; width: 40px !important; height: 40px !important; background: rgba(255,255,255,0.94) !important; box-shadow: 0 4px 14px rgba(16,41,58,0.2) !important; }
    .mg-cases__arrow--prev { left: -6px !important; }
    .mg-cases__arrow--next { right: -6px !important; }
    .mg-ribbon__inner { padding-top: 8px !important; padding-bottom: 8px !important; flex-direction: column !important; align-items: center !important; gap: 5px !important; text-align: center !important; }
    .mg-cases__thumb { aspect-ratio: 16 / 10 !important; margin: 12px 12px 0 !important; }
    .mg-lawyer__career > div { flex-direction: column !important; gap: 3px !important; }
    .mg-lawyer__career dt { width: auto !important; }
    .mg-selftest__start { min-width: 190px !important; padding: 20px 32px !important; }
    .mg-selftest__start span:last-child { font-size: 28px !important; }
    .mg-page { padding-bottom: 168px !important; }
    .mg-gnb-mobile { max-height: calc(100dvh - 56px) !important; }
    .mg-gnb-mobile > div { padding-bottom: 170px !important; }
    .mg-quickform__inner { gap: 8px !important; padding-top: 10px !important; padding-bottom: 10px !important; }
    .mg-quickform__inner input[type="text"], .mg-quickform__inner input[type="tel"] { flex: 1 1 calc(50% - 4px) !important; width: calc(50% - 4px) !important; min-width: 0 !important; height: 44px !important; }
    .mg-quickform__inner button[type="submit"] { flex: 1 1 100% !important; width: 100% !important; height: 46px !important; padding: 0 !important; }
    .mg-quickform__inner label { font-size: 14px !important; }
  }

/* ---- */

  *, *::before, *::after { box-sizing: border-box; }
  html, body { overflow-x: hidden; max-width: 100%; }
  body { margin: 0; background: #ffffff; color: #10293a; font-family: "Pretendard Variable", Pretendard, system-ui, sans-serif; font-size: 17px; font-weight: 450; -webkit-font-smoothing: antialiased; }
  h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
  body, h1, h2, h3, h4, p, li, dt, dd, span, a, label, button, input, select, textarea { word-break: keep-all; overflow-wrap: break-word; text-wrap: pretty; }
  ul, ol { list-style: none; }
  img { display: block; max-width: 100%; }
  a { color: #5b7387; text-underline-offset: 3px; }
  :where(a:hover) { color: #10293a; }
  :focus-visible { outline: 2px solid #1b4486; outline-offset: 2px; }
  ::selection { background: #d7eefc; }
  .mg-u-hover-ink:hover { color: #10293a !important; }
  .mg-u-hover-soft:hover { background: #f2f8fc !important; }
  .mg-u-hover-gold:hover { background: #143569 !important; }
  .mg-u-hover-dark:hover { background: #2c4a5e !important; }
  .mg-u-only-lg { display: none; }
  @media (max-width: 1080px) { .mg-u-hide-lg { display: none !important; } .mg-u-only-lg { display: flex !important; } }
  @media (max-width: 720px) { .mg-u-hide-sm { display: none !important; } }
  @media (max-width: 720px) {
    body { font-size: 15px !important; }
    h1, .mg-hero__title, .mg-title-ment h3 { font-size: 26px !important; line-height: 1.45 !important; letter-spacing: -0.03em !important; }
    h2, .mg-section__title { font-size: 22px !important; line-height: 1.4 !important; }
    h3 { font-size: 18px !important; }
    p, li, dt, dd, span, a, label, button, input, select, textarea, figcaption, td, th { font-size: 15px !important; }
    h1 span, h2 span, h3 span, h1 strong, h2 strong, .mg-hero__title span { font-size: inherit !important; }
    .mg-hero__lead, .mg-section__lead, .mg-title-ment p { font-size: 16px !important; }
    .mg-stats__value { font-size: 28px !important; }
    .mg-stats__value span { font-size: 14px !important; }
    .mg-stats__label, .mg-footer__copy, .mg-ribbon__inner, .mg-crumb li, .mg-crumb a, .mg-hero__note, figcaption { font-size: 14px !important; }
    .mg-header__inner { padding-top: 9px !important; padding-bottom: 9px !important; gap: 12px !important; }
    .mg-header__brand img { height: 34px !important; }
    .mg-header__actions { gap: 7px !important; }
    .mg-header__actions .mg-cta { height: 38px !important; padding: 0 14px !important; font-size: 14px !important; }
    .mg-header__toggle { width: 38px !important; height: 38px !important; gap: 4px !important; }
    .mg-footer__logo { height: 42px !important; }
    .mg-hero { min-height: 0 !important; padding-bottom: 26px !important; }
    .mg-hero__inner { gap: 0 !important; padding-bottom: 8px !important; }
    .mg-hero__dots { display: none !important; }
    .mg-hero__actions a { height: 52px !important; padding: 0 22px !important; }
    .mg-lawyer__body > a { align-self: center !important; }
    .mg-cases__carousel { position: relative !important; gap: 0 !important; }
    .mg-cases__arrow { position: absolute !important; top: 42% !important; z-index: 5 !important; width: 40px !important; height: 40px !important; background: rgba(255,255,255,0.94) !important; box-shadow: 0 4px 14px rgba(16,41,58,0.2) !important; }
    .mg-cases__arrow--prev { left: 2px !important; }
    .mg-cases__arrow--next { right: 2px !important; }
    .mg-ribbon__inner { padding-top: 8px !important; padding-bottom: 8px !important; flex-direction: column !important; align-items: center !important; gap: 5px !important; text-align: center !important; }
    .mg-cases__thumb { aspect-ratio: 16 / 10 !important; margin: 12px 12px 0 !important; }
    .mg-lawyer__career > div { flex-direction: column !important; gap: 3px !important; }
    .mg-lawyer__career dt { width: auto !important; }
    .mg-page { padding-bottom: 168px !important; }
    .mg-gnb-mobile { max-height: calc(100dvh - 56px) !important; }
    .mg-gnb-mobile > div { padding-bottom: 170px !important; }
    .mg-quickform__inner { gap: 8px !important; padding-top: 10px !important; padding-bottom: 10px !important; }
    .mg-quickform__inner input[type="text"], .mg-quickform__inner input[type="tel"] { flex: 1 1 calc(50% - 4px) !important; width: calc(50% - 4px) !important; min-width: 0 !important; height: 44px !important; }
    .mg-quickform__inner button[type="submit"] { flex: 1 1 100% !important; width: 100% !important; height: 46px !important; padding: 0 !important; }
    .mg-quickform__inner label { font-size: 14px !important; }
  }
  .mg-crumb ul { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
  .mg-crumb li { display: flex; align-items: center; gap: 8px; font-size: 16px; color: #5b7387; }
  .mg-crumb li + li::before { content: "·"; color: #5b7387; }
  .mg-crumb li:last-child { color: #1b4486; }
  .mg-crumb a { color: #5b7387; text-decoration: none; }

/* ---- */

  *, *::before, *::after { box-sizing: border-box; }
  html, body { overflow-x: hidden; max-width: 100%; }
  body { margin: 0; background: #ffffff; color: #10293a; font-family: "Pretendard Variable", Pretendard, system-ui, sans-serif; font-size: 17px; font-weight: 450; -webkit-font-smoothing: antialiased; }
  h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
  body, h1, h2, h3, h4, p, li, dt, dd, span, a, label, button, input, select, textarea { word-break: keep-all; overflow-wrap: break-word; text-wrap: pretty; }
  ul, ol { list-style: none; }
  img { display: block; max-width: 100%; }
  a { color: #5b7387; text-underline-offset: 3px; }
  :where(a:hover) { color: #10293a; }
  :focus-visible { outline: 2px solid #1b4486; outline-offset: 2px; }
  ::selection { background: #d7eefc; }
  .mg-u-hover-ink:hover { color: #10293a !important; }
  .mg-u-hover-soft:hover { background: #f2f8fc !important; }
  .mg-u-hover-gold:hover { background: #143569 !important; }
  .mg-u-hover-dark:hover { background: #2c4a5e !important; }
  .mg-u-only-lg { display: none; }
  @media (max-width: 1080px) { .mg-u-hide-lg { display: none !important; } .mg-u-only-lg { display: flex !important; } }
  @media (max-width: 720px) { .mg-u-hide-sm { display: none !important; } }
  @media (max-width: 720px) {
    body { font-size: 15px !important; }
    h1, .mg-hero__title, .mg-title-ment h3 { font-size: 26px !important; line-height: 1.45 !important; letter-spacing: -0.03em !important; }
    h2, .mg-section__title { font-size: 22px !important; line-height: 1.4 !important; }
    h3 { font-size: 18px !important; }
    p, li, dt, dd, span, a, label, button, input, select, textarea, figcaption, td, th { font-size: 15px !important; }
    h1 span, h2 span, h3 span, h1 strong, h2 strong, .mg-hero__title span { font-size: inherit !important; }
    .mg-hero__lead, .mg-section__lead, .mg-title-ment p { font-size: 16px !important; }
    .mg-stats__value { font-size: 28px !important; }
    .mg-stats__value span { font-size: 14px !important; }
    .mg-stats__label, .mg-footer__copy, .mg-ribbon__inner, .mg-crumb li, .mg-crumb a, .mg-hero__note, figcaption { font-size: 14px !important; }
    .mg-header__inner { padding-top: 9px !important; padding-bottom: 9px !important; gap: 12px !important; }
    .mg-header__brand img { height: 34px !important; }
    .mg-header__actions { gap: 7px !important; }
    .mg-header__actions .mg-cta { height: 38px !important; padding: 0 14px !important; font-size: 14px !important; }
    .mg-header__toggle { width: 38px !important; height: 38px !important; gap: 4px !important; }
    .mg-footer__logo { height: 42px !important; }
    .mg-hero { min-height: 0 !important; padding-bottom: 26px !important; }
    .mg-hero__inner { gap: 0 !important; padding-bottom: 8px !important; }
    .mg-hero__dots { display: none !important; }
    .mg-hero__actions a { height: 52px !important; padding: 0 22px !important; }
    .mg-lawyer__body > a { align-self: center !important; }
    .mg-cases__carousel { position: relative !important; gap: 0 !important; }
    .mg-cases__arrow { position: absolute !important; top: 42% !important; z-index: 5 !important; width: 40px !important; height: 40px !important; background: rgba(255,255,255,0.94) !important; box-shadow: 0 4px 14px rgba(16,41,58,0.2) !important; }
    .mg-cases__arrow--prev { left: -6px !important; }
    .mg-cases__arrow--next { right: -6px !important; }
    .mg-ribbon__inner { padding-top: 8px !important; padding-bottom: 8px !important; flex-direction: column !important; align-items: center !important; gap: 5px !important; text-align: center !important; }
    .mg-cases__thumb { aspect-ratio: 16 / 10 !important; margin: 12px 12px 0 !important; }
    .mg-lawyer__career > div { flex-direction: column !important; gap: 3px !important; }
    .mg-lawyer__career dt { width: auto !important; }
    .mg-page { padding-bottom: 168px !important; }
    .mg-gnb-mobile { max-height: calc(100dvh - 56px) !important; }
    .mg-gnb-mobile > div { padding-bottom: 170px !important; }
    .mg-quickform__inner { gap: 8px !important; padding-top: 10px !important; padding-bottom: 10px !important; }
    .mg-quickform__inner input[type="text"], .mg-quickform__inner input[type="tel"] { flex: 1 1 calc(50% - 4px) !important; width: calc(50% - 4px) !important; min-width: 0 !important; height: 44px !important; }
    .mg-quickform__inner button[type="submit"] { flex: 1 1 100% !important; width: 100% !important; height: 46px !important; padding: 0 !important; }
    .mg-quickform__inner label { font-size: 14px !important; }
  }
  .mg-crumb ul { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
  .mg-crumb li { display: flex; align-items: center; gap: 8px; font-size: 16px; color: #5b7387; }
  .mg-crumb li + li::before { content: "·"; color: #5b7387; }
  .mg-crumb li:last-child { color: #1b4486; }
  .mg-crumb a { color: #5b7387; text-decoration: none; }


/* 요소 스타일 */
.mg-s1 { min-height: 100vh; padding-bottom: 96px; background: #f2f8fc; }
.mg-s2 { position: sticky; top: 0; z-index: 80; background: rgba(255,255,255,0.93); backdrop-filter: blur(14px); border-bottom: 1px solid #e8f1f7; }
.mg-s3 { max-width: 1200px; margin: 0 auto; padding: 14px clamp(20px, 5vw, 48px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.mg-s4 { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #10293a; flex: none; }
.mg-s5 { height: 57px; width: auto; }
.mg-s6 { display: flex; align-items: center; gap: 2px; }
.mg-s7 { position: relative; }
.mg-s8 { display:block;padding:11px 14px;border-radius:9999px;font-size:17px;font-weight:600;color:#10293a;text-decoration:none;white-space:nowrap; }
.mg-s9 { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); min-width: 214px; background: #ffffff; border: 1px solid #e8f1f7; border-radius: 16px; padding: 10px; display: flex; flex-direction: column; gap: 2px; box-shadow: 0 18px 44px rgba(16,41,58,0.13); }
.mg-s10 { display: block; padding: 10px 14px; border-radius: 9999px; font-size: 16px; color: #2c4a5e; text-decoration: none; white-space: nowrap; }
.mg-s11 { display: flex; align-items: center; gap: 10px; flex: none; }
.mg-s12 { display: flex; flex-direction: column; text-decoration: none; color: #10293a; text-align: right; line-height: 1.2; }
.mg-s13 { font-size: 16px; color: #5b7387; }
.mg-s14 { font-size: 19px; font-weight: 650; letter-spacing: -0.01em; }
.mg-s15 { display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border-radius: 9999px; background: #10293a; color: #ffffff; font-size: 17px; font-weight: 600; text-decoration: none; }
.mg-s16 { align-items: center; justify-content: center; gap: 5px; flex-direction: column; width: 46px; height: 46px; border: 1px solid #d8e7f0; border-radius: 9999px; background: #ffffff; cursor: pointer; flex: none; }
.mg-s17 { width: 16px; height: 1.5px; background: #10293a; border-radius: 2px; }
.mg-s18 { max-height: 74vh; overflow-y: auto; border-top: 1px solid #e8f1f7; background: #ffffff; }
.mg-s19 { max-width: 1200px; margin: 0 auto; padding: 16px clamp(20px, 5vw, 48px) 24px; display: flex; flex-direction: column; gap: 8px; }
.mg-s20 { border-radius: 16px; background: #f2f8fc; overflow: hidden; }
.mg-s21 { width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border:0;background:transparent;font-family:inherit;font-size:17px;font-weight:650;text-align:left;color:#10293a;cursor:pointer; }
.mg-s22 { font-size:19px;font-weight:450;color:#5b7387;transition:transform .18s ease;transform:rotate(0deg); }
.mg-s23 { display: flex; flex-direction: column; gap: 2px; padding: 0 10px 12px; }
.mg-s24 { display: block; padding: 12px 14px; border-radius: 9999px; background: #ffffff; font-size: 16px; color: #2c4a5e; text-decoration: none; }
.mg-s25 { font-size:19px;font-weight:450;color:#5b7387;transition:transform .18s ease;opacity:0;transform:rotate(0deg); }
.mg-s26 { display: flex; align-items: center; justify-content: center; height: 54px; border-radius: 9999px; background: #10293a; color: #ffffff; font-size: 17px; font-weight: 600; text-decoration: none; }
.mg-s27 { position: relative; min-height: calc(100svh - 86px); padding-bottom: 72px; display: flex; align-items: center; overflow: hidden; background: #ffffff; }
.mg-s28 { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: saturate(0.92) contrast(1.04); }
.mg-s29 { position:absolute;inset:0;background-image:url('/images/hero-1.webp');background-size:cover;background-position:center 30%;filter:saturate(0.92) contrast(1.04);transition:opacity 1.2s ease, transform 7s ease-out;opacity:1;transform:scale(1.04); }
.mg-s30 { position:absolute;inset:0;background-image:url('/images/hero-2.webp');background-size:cover;background-position:center 30%;filter:saturate(0.92) contrast(1.04);transition:opacity 1.2s ease, transform 7s ease-out;opacity:0;transform:scale(1); }
.mg-s31 { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0.74) 0%, rgba(255,255,255,0.62) 45%, rgba(233,243,250,0.80) 100%); }
.mg-s32 { position: relative; z-index: 2; width: 100%; max-width: 1200px; margin: 0 auto; padding: clamp(20px, 2.6vw, 40px) clamp(20px, 5vw, 48px) clamp(16px, 2vw, 28px); display: flex; flex-direction: column; align-items: center; gap: 0; }
.mg-s33 { width: 100%; padding-left: clamp(0px, 4vw, 64px); display: grid; grid-template-columns: minmax(240px, 0.82fr) minmax(0, 1.18fr); align-items: end; gap: clamp(8px, 1.5vw, 20px); }
.mg-s34 { margin: 0; display: flex; justify-content: flex-end; align-items: flex-end; align-self: end; margin-bottom: -1px; transform: translateX(clamp(0px, 1.5vw, 24px)); }
.mg-s35 { display: block; width: 100%; max-width: 460px; height: auto; max-height: max(220px, min(calc(100svh - 400px), 620px)); object-fit: contain; object-position: bottom; filter: drop-shadow(0 -6px 24px rgba(16,41,58,0.12)); }
.mg-s36 { display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 22px; align-self: center; width: fit-content; max-width: 100%; padding: clamp(24px, 4vw, 64px) 0; }
.mg-s37 { font-size: clamp(34px, 4.4vw, 60px); font-weight: 800; line-height: 1.3; letter-spacing: -0.035em; color: #10293a; text-shadow: 0 1px 16px rgba(255,255,255,0.9); word-break: keep-all; }
.mg-s38 { color: #1b4486; }
.mg-s39 { font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; line-height: 1.65; color: #2c4a5e; max-width: 34ch; word-break: keep-all; }
.mg-s40 { display: flex; flex-wrap: wrap; justify-content: center; align-self: stretch; gap: 10px; margin-top: 6px; }
.mg-s41 { display: inline-flex; align-items: center; justify-content: center; height: 64px; padding: 0 36px; border-radius: 9999px; background: #1b4486; color: #ffffff; font-size: clamp(18px, 1.6vw, 22px); font-weight: 650; text-decoration: none; }
.mg-s42 { display: inline-flex; align-items: center; justify-content: center; height: 64px; padding: 0 36px; border-radius: 9999px; background: #ffffff; border: 1px solid #10293a; color: #10293a; font-size: clamp(18px, 1.6vw, 22px); font-weight: 650; text-decoration: none; }
@media (max-width: 720px) {
  .mg-s36 { width: 100% !important; max-width: 100% !important; align-items: center !important; align-self: stretch !important; }
  .mg-s37, .mg-s39 { text-align: center !important; }
  .mg-s37 { font-size: 22px !important; }
  .mg-s38 { white-space: nowrap; }
  .mg-s39 { max-width: 260px !important; margin-left: auto !important; margin-right: auto !important; }
  .mg-s40 { flex-direction: row !important; flex-wrap: nowrap !important; justify-content: center !important; align-items: stretch !important; gap: 8px !important; width: 100%; }
  .mg-s40 a, .mg-s41, .mg-s42 { flex: 1 1 0 !important; width: auto !important; min-width: 0 !important; padding: 0 8px !important; font-size: 14.5px !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }
}
.mg-s43 { position: relative; z-index: 1; width: 100%; max-width: 940px; margin-top: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; background: #cfe3f0; border: 1px solid #b9d7ea; border-radius: 22px; overflow: hidden; box-shadow: 0 18px 44px rgba(16,41,58,0.16); }
.mg-s44 { position: relative; display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 14px; padding: clamp(16px, 1.8vw, 24px) 16px; background: #ffffff; }
.mg-s45 { font-size: 17px; font-weight: 650; line-height: 1.35; color: #2c4a5e; text-align: right; word-break: keep-all; max-width: 5em; }
.mg-s46 { display:flex;align-items:baseline;justify-content:center;white-space:nowrap;color:#1b4486;font-size:clamp(42px,4.6vw,64px);font-weight:800;letter-spacing:-0.035em;line-height:1.05; }
.mg-s47 { font-size: 26px; font-weight: 650; margin-left: 4px; }
.mg-s48 { position: absolute; z-index: 3; right: clamp(20px, 5vw, 48px); bottom: 164px; display: flex; align-items: center; gap: 10px; }
.mg-s49 { border:0;cursor:pointer;padding:0;height:4px;border-radius:9999px;transition:width .3s ease, background .3s ease;width:34px;background:#1b4486; }
.mg-s50 { border:0;cursor:pointer;padding:0;height:4px;border-radius:9999px;transition:width .3s ease, background .3s ease;width:14px;background:#b9d3e3; }
.mg-s51 { position: relative; overflow: hidden; color: #ffffff; background-image: url('/images/selftest-bg.webp'); background-size: cover; background-position: center; }
.mg-s52 { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(20,53,105,0.86) 0%, rgba(27,68,134,0.7) 55%, rgba(20,53,105,0.82) 100%); }
.mg-s53 { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: clamp(48px, 6vw, 84px) clamp(20px, 5vw, 48px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(22px, 2.6vw, 32px); }
.mg-s54 { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.mg-s55 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; line-height: 1.32; letter-spacing: -0.03em; word-break: keep-all; }
.mg-s56 { font-size: clamp(27px, 3vw, 38px); font-weight: 650; line-height: 1.35; letter-spacing: -0.03em; color: #ffd25c; }
.mg-s57 { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 232px; padding: 26px 46px; border: 0; border-radius: 18px; background: #10293a; color: #ffffff; font-family: inherit; cursor: pointer; box-shadow: 0 6px 20px rgba(16,41,58,0.22); }
.mg-s58 { font-size: 19px; font-weight: 500; color: #ffffff; }
.mg-s59 { font-size: clamp(30px, 3.4vw, 40px); font-weight: 700; letter-spacing: 0.04em; line-height: 1.1; }
.mg-s60 { font-size: clamp(20px, 2.1vw, 24px); font-weight: 500; line-height: 1.6; color: #ffffff; max-width: 48ch; word-break: keep-all; }
.mg-s61 { font-weight: 700; color: #ffd25c; }
.mg-s62 { background: #ffffff; }
.mg-s63 { max-width: 1200px; margin: 0 auto; padding: clamp(48px, 6vw, 88px) clamp(20px, 5vw, 48px); display: flex; flex-direction: column; gap: clamp(26px, 3.4vw, 40px); }
.mg-s64 { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.mg-s65 { font-size: clamp(27px, 3.2vw, 40px); font-weight: 700; line-height: 1.35; letter-spacing: -0.03em; }
.mg-s66 { font-size: 19px; font-weight: 500; line-height: 1.6; color: #5b7387; max-width: 52ch; }
.mg-s67 { display: flex; align-items: center; gap: clamp(8px, 1.5vw, 18px); }
.mg-s68 { flex:none;display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border:1px solid #d8e7f0;border-radius:9999px;background:#ffffff;font-size:20px;transition:opacity .2s ease;color:#5b7387;opacity:.35;cursor:default; }
.mg-s69 { flex: 1; min-width: 0; overflow: hidden; }
.mg-s70 { display:flex;gap:24px;transition:transform .45s cubic-bezier(.4,0,.2,1);transform:translateX(-0px); }
.mg-s71 { flex:0 0 calc((100% - 48px) / 3);display:flex;flex-direction:column;border:1px solid #e8f1f7;border-radius:20px;overflow:hidden;background:#ffffff; }
.mg-s72 { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; margin: 14px 14px 0; border: 1px dashed #d8e7f0; border-radius: 14px; background: #f2f8fc; overflow: hidden; }
.mg-s72 img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.mg-s73 { display: flex; flex-direction: column; flex: 1 1 auto; gap: 12px; padding: clamp(20px, 2.4vw, 26px); }
.mg-s74 { align-self: flex-start; padding: 7px 13px; border-radius: 8px; background: #f2f8fc; font-size: 16px; font-weight: 600; color: #2c4a5e; }
.mg-s75 { font-size: 22px; font-weight: 700; line-height: 1.45; letter-spacing: -0.02em; height: 63.8px; min-height: 63.8px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: keep-all; }
.mg-s76 { font-size: 17px; line-height: 1.75; color: #5b7387; height: 59.5px; min-height: 59.5px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: keep-all; }
.mg-s77 { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: auto; padding-top: 14px; border-top: 1px solid #e8f1f7; }
.mg-s78 { display: flex; align-items: baseline; gap: 8px; }
.mg-s79 { font-size: 17px; font-weight: 650; }
.mg-s80 { font-size: 17px; font-weight: 650; color: #1b4486; }
.mg-s81 { flex:none;display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border:1px solid #d8e7f0;border-radius:9999px;background:#ffffff;font-size:20px;transition:opacity .2s ease;color:#10293a;opacity:1;cursor:pointer; }
.mg-s82 { align-self: center; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 9999px; border: 1px solid #d8e7f0; color: #10293a; font-size: 17px; font-weight: 600; text-decoration: none; }
.mg-s83 { background: #f2f8fc; }
.mg-s84 { max-width: 1200px; margin: 0 auto; padding: clamp(48px, 6vw, 88px) clamp(20px, 5vw, 48px); display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.mg-s85 { border-radius: 24px; overflow: hidden; background: #d8e7f0; }
.mg-s86 { width: 100%; height: auto; }
.mg-s87 { display: flex; flex-direction: column; }
.mg-s88 { font-size: 19px; font-weight: 500; line-height: 1.55; color: #2c4a5e; max-width: 42ch; margin-top: 16px; margin-bottom: 20px; }
.mg-s89 { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; align-items: stretch; margin-bottom: 24px; }
.mg-s90 { display: flex; align-items: center; justify-content: center; min-height: 64px; padding: 15px 17px; border-radius: 16px; background: #ffffff; font-size: 16px; font-weight: 600; text-align: center; }
.mg-s91 { display: flex; flex-direction: column; border-top: 1px solid #d8e7f0; }
.mg-s92 { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; border-bottom: 1px solid #d8e7f0; }
.mg-s93 { flex: none; width: 6px; height: 6px; border-radius: 9999px; background: #1b4486; transform: translateY(-3px); }
.mg-s94 { font-size: 17px; line-height: 1.5; word-break: keep-all; }
.mg-s95 { display: inline-flex; align-items: center; align-self: flex-start; height: 46px; padding: 0 20px; border-radius: 9999px; background: #ffffff; color: #10293a; font-size: 17px; font-weight: 600; text-decoration: none; margin-top: 20px; }
.mg-s96 { position: relative; color: #ffffff; background-image: url('/images/consult-bg.webp'); background-size: cover; background-position: center; }
.mg-s97 { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(16,41,58,0.93) 0%, rgba(16,41,58,0.82) 50%, rgba(16,41,58,0.62) 100%); }
.mg-s98 { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: clamp(48px, 6vw, 88px) clamp(20px, 5vw, 48px); display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(32px, 5vw, 64px); align-items: center; }
.mg-s99 { display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 18px; }
.mg-s100 { font-size: 19px; font-weight: 500; line-height: 1.6; color: #a8c6da; max-width: 40ch; }
.mg-s101 { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 14px; font-size: 17px; line-height: 1.6; color: #dceefa; text-align: left; }
.mg-s102 { display: flex; gap: 10px; }
.mg-s103 { color: #ffffff; }
.mg-s104 { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 3vw, 32px); border-radius: 24px; background: #ffffff; color: #10293a; }
.mg-s105 { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.mg-s106 { display: flex; flex-direction: column; gap: 6px; }
.mg-s107 { font-size: 16px; font-weight: 600; color: #5b7387; }
.mg-s108 { height: 50px; padding: 0 16px; border: 1px solid #d8e7f0; border-radius: 14px; background: #ffffff; font-family: inherit; font-size: 17px; color: #10293a; }
.mg-s109 { height: 50px; padding: 0 16px 0 14px; border: 1px solid #d8e7f0; border-radius: 14px; background: #ffffff; font-family: inherit; font-size: 17px; color: #10293a; appearance: none; -webkit-appearance: none; padding-right: 42px; background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2720%27%20height%3D%2720%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%235b7387%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M6%209l6%206%206-6%27%2F%3E%3C%2Fsvg%3E'); background-repeat: no-repeat; background-position: right 16px center; }
.mg-s110 { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.mg-s111 { padding: 14px 16px; border: 1px solid #d8e7f0; border-radius: 14px; background: #ffffff; font-family: inherit; font-size: 17px; color: #10293a; resize: vertical; flex: 1; min-height: 120px; }
.mg-s112 { display: flex; align-items: center; gap: 6px; font-size: 16px; line-height: 1.6; color: #5b7387; }
.mg-s113 { width: 18px; height: 18px; accent-color: #1b4486; flex: none; }
.mg-form__field--captcha { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 10px; }
.mg-form__field--captcha label { margin: 0; }
.mg-form__field--captcha input { flex: 1 1 140px; min-width: 120px; }
.mg-s114 { height: 58px; border: 0; border-radius: 9999px; background: #1b4486; color: #ffffff; font-family: inherit; font-size: 17px; font-weight: 650; cursor: pointer; }
.mg-s115 { min-height: 20px; font-size: 16px; color: #5b7387; }
.mg-s116 { max-width: 1200px; margin: 0 auto; padding: clamp(48px, 6vw, 88px) clamp(20px, 5vw, 48px); display: flex; flex-direction: column; gap: clamp(22px, 3vw, 34px); }
.mg-s117 { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 0; border-top: 1px solid #d8e7f0; }
.mg-s118 { border-bottom: 1px solid #d8e7f0; }
.mg-s119 { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 26px; text-decoration: none; color: #10293a; }
.mg-s120 { font-size: 20px; font-weight: 650; line-height: 1.4; letter-spacing: -0.02em; }
.mg-s121 { margin-top: auto; font-size: 16px; color: #5b7387; }
.mg-s122 { align-self: center; display: inline-flex; align-items: center; height: 52px; padding: 0 26px; border-radius: 9999px; border: 1px solid #d8e7f0; color: #10293a; font-size: 17px; font-weight: 600; text-decoration: none; }
.mg-s123 { position: relative; background-image: url('/images/litigation-bg.webp'); background-size: cover; background-position: center; }
.mg-s124 { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,41,58,0.93) 0%, rgba(11,88,133,0.9) 100%); }
.mg-s125 { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: clamp(44px, 5.5vw, 76px) clamp(20px, 5vw, 48px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.mg-s126 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 700; line-height: 1.35; letter-spacing: -0.03em; color: #ffffff; word-break: keep-all; }
.mg-s127 { font-size: 17px; font-weight: 500; line-height: 1.7; color: #d7eefc; max-width: 52ch; word-break: keep-all; }
.mg-s128 { flex: none; display: inline-flex; align-items: center; justify-content: center; height: 58px; padding: 0 30px; border-radius: 9999px; background: #ffffff; color: #10293a; font-size: 17px; font-weight: 650; text-decoration: none; transition: background .18s ease, color .18s ease; }
.mg-s129 { background: #f2f8fc; border-top: 1px solid #d8e7f0; }
.mg-s130 { max-width: 1200px; margin: 0 auto; padding: clamp(40px, 5vw, 64px) clamp(20px, 5vw, 48px); display: flex; flex-direction: column; gap: 22px; }
.mg-s131 { align-self: flex-start; height: 60px; width: auto; }
.mg-s132 { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.mg-s133 { font-size: 17px; font-weight: 650; color: #10293a; text-decoration: none; }
.mg-s134 { font-size: 17px; color: #2c4a5e; text-decoration: none; }
.mg-s135 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 17px; color: #5b7387; }
.mg-s136 { color: #d8e7f0; }
.mg-s137 { font-size: 16px; color: #7d93a4; }
.mg-s138 { position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; background: #1b4486; box-shadow: 0 -8px 28px rgba(16,41,58,0.18); }
.mg-s139 { max-width: 1200px; margin: 0 auto; padding: 12px clamp(16px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.mg-s140 { flex: none; margin-right: 6px; font-size: 17px; font-weight: 650; color: #ffffff; }
.mg-s141 { flex: 1 1 110px; min-width: 100px; height: 48px; padding: 0 14px; border: 1px solid rgba(255,255,255,0.7); border-radius: 12px; background: #ffffff; font-family: inherit; font-size: 17px; color: #10293a; }
.mg-s142 { flex: 1 1 150px; min-width: 130px; height: 48px; padding: 0 14px; border: 1px solid rgba(255,255,255,0.7); border-radius: 12px; background: #ffffff; font-family: inherit; font-size: 17px; color: #10293a; }
.mg-s143 { display: flex; align-items: center; gap: 8px; flex: none; font-size: 16px; color: #ffffff; }
.mg-s144 { width: 18px; height: 18px; accent-color: #ffffff; }
.mg-s145 { flex: none; height: 48px; padding: 0 26px; border: 0; border-radius: 12px; background: #10293a; color: #ffffff; font-family: inherit; font-size: 17px; font-weight: 650; cursor: pointer; }
.mg-s146 { flex: none; height: 48px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.7); color: #ffffff; font-size: 17px; font-weight: 600; text-decoration: none; }
.mg-s147 { flex: 1 1 100%; font-size: 16px; color: #ffffff; }
.mg-s148 { display: flex; align-items: center; text-decoration: none; color: #10293a; flex: none; }
.mg-s149 { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); padding-top: 12px; z-index: 5; }
.mg-s150 { min-width: 214px; background: #ffffff; border: 1px solid #e8f1f7; border-radius: 16px; padding: 10px; display: flex; flex-direction: column; gap: 2px; box-shadow: 0 18px 44px rgba(16,41,58,0.13); }
.mg-s151 { display: block; padding: 11px 14px; border-radius: 9999px; font-size: 17px; font-weight: 600; color: #10293a; text-decoration: none; white-space: nowrap; }
.mg-s152 { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border: 0; background: transparent; font-family: inherit; font-size: 17px; font-weight: 650; color: #10293a; text-align: left; cursor: pointer; }
.mg-s153 { display: block; padding: 16px 18px; font-size: 17px; font-weight: 650; color: #10293a; text-decoration: none; }
.mg-s154 { position: relative; color: #10293a; background-image: url('/images/sub-visual.webp'); background-size: 130%; background-position: 78% 40%; }
.mg-s155 { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.82) 38%, rgba(255,255,255,0.58) 70%, rgba(233,243,250,0.56) 100%); }
.mg-s156 { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: clamp(48px, 6vw, 92px) clamp(20px, 5vw, 48px); display: flex; flex-direction: column; gap: 16px; }
.mg-s157 { display: flex; flex-direction: column; gap: 14px; }
.mg-s158 { font-size: clamp(30px, 4vw, 48px); font-weight: 700; line-height: 1.3; letter-spacing: -0.03em; }
.mg-s159 { font-size: 19px; font-weight: 500; line-height: 1.6; color: #2c4a5e; }
.mg-s160 { border-bottom: 1px solid #d8e7f0; background: #ffffff; }
.mg-s161 { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); display: flex; flex-wrap: nowrap; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.mg-s162 { flex: none; }
.mg-s163 { display: block; padding: 18px 16px; font-size: 17px; font-weight: 450; color: #5b7387; text-decoration: none; border-bottom: 2px solid transparent; }
.mg-s164 { max-width: 1200px; margin: 0 auto; padding: clamp(36px, 5vw, 64px) clamp(20px, 5vw, 48px); }
.mg-s165 { min-width: 0; display: flex; flex-direction: column; gap: clamp(28px, 3.4vw, 44px); }
.mg-s166 { max-width: 460px; display: flex; flex-direction: column; gap: 20px; }
.mg-s167 { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 34px); border: 1px solid #e8f1f7; border-radius: 24px; }
.mg-s168 { height: 52px; padding: 0 16px; border: 1px solid #d8e7f0; border-radius: 14px; background: #ffffff; font-family: inherit; font-size: 17px; color: #10293a; }
.mg-s169 { height: 56px; border: 0; border-radius: 9999px; background: #10293a; color: #ffffff; font-family: inherit; font-size: 17px; font-weight: 650; cursor: pointer; }
.mg-s170 { font-size: 17px; line-height: 1.8; color: #5b7387; }
.mg-s171 { position: relative; background-image: url('/images/band-bg.webp'); background-size: cover; background-position: center; }
.mg-s172 { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(242,248,252,0.96) 0%, rgba(242,248,252,0.82) 55%, rgba(242,248,252,0.66) 100%); }
.mg-s173 { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: clamp(40px, 5vw, 72px) clamp(20px, 5vw, 48px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.mg-s174 { display: flex; flex-direction: column; gap: 10px; max-width: 48ch; }
.mg-s175 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 700; line-height: 1.45; letter-spacing: -0.025em; }
.mg-s176 { display: flex; flex-wrap: wrap; gap: 10px; }
.mg-s177 { display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 28px; border-radius: 9999px; background: #1b4486; color: #ffffff; font-size: 17px; font-weight: 650; text-decoration: none; }
.mg-s178 { display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 28px; border-radius: 9999px; background: #10293a; color: #ffffff; font-size: 17px; font-weight: 600; text-decoration: none; }
.mg-s179 { display: block; padding: 18px 16px; font-size: 17px; font-weight: 650; color: #10293a; text-decoration: none; border-bottom: 2px solid #1b4486; }
.mg-s180 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; line-height: 1.35; letter-spacing: -0.025em; }
.mg-s181 { font-size: 17px; line-height: 1.8; color: #2c4a5e; }
.mg-s182 { display: flex; flex-direction: column; gap: 16px; }
.mg-s183 { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 18px 4px; border-bottom: 1px solid #e8f1f7; }
.mg-s184 { flex: none; width: 200px; font-size: 16px; font-weight: 650; color: #5b7387; }
.mg-s185 { flex: 1; min-width: 240px; font-size: 17px; line-height: 1.75; }
.mg-s186 { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 12px; }
.mg-s187 { display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid #e8f1f7; border-radius: 20px; }
.mg-s188 { font-size: 20px; font-weight: 650; letter-spacing: -0.02em; }
.mg-s189 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px; }
.mg-s190 { display: flex; gap: 10px; padding: 18px 20px; border: 1px solid #e8f1f7; border-radius: 16px; font-size: 17px; line-height: 1.7; }
.mg-s191 { color: #1b4486; font-weight: 650; }
.mg-s192 { display: flex; flex-direction: column; gap: 10px; padding: 26px 28px; border-radius: 20px; background: #10293a; color: #ffffff; }
.mg-s193 { font-size: 20px; font-weight: 650; letter-spacing: -0.02em; color: #8fd8ff; }
.mg-s194 { font-size: 17px; line-height: 1.8; color: #dceefa; }
.mg-s195 { display: flex; flex-direction: column; gap: 10px; }
.mg-s196 { display: flex; flex-direction: column; gap: 10px; padding: 24px 26px; border: 1px solid #e8f1f7; border-radius: 16px; }
.mg-s197 { display: flex; gap: 10px; font-size: 19px; font-weight: 650; letter-spacing: -0.02em; }
.mg-s198 { display: flex; gap: 10px; font-size: 17px; line-height: 1.8; color: #2c4a5e; }
.mg-s199 { color: #5b7387; font-weight: 650; }
.mg-s200 { display: flex; gap: 18px; padding: 22px 24px; border-radius: 16px; background: #f2f8fc; }
.mg-s201 { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 9999px; background: #ffffff; color: #5b7387; font-size: 16px; font-weight: 650; }
.mg-s202 { font-size: 19px; font-weight: 650; letter-spacing: -0.02em; }
.mg-s203 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(20px, 3vw, 40px); align-items: start; }
.mg-s204 { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 32px); border: 1px solid #e8f1f7; border-radius: 24px; }
.mg-s205 { height: 52px; padding: 0 16px; border: 1px solid #d8e7f0; border-radius: 14px; background: #ffffff; font-family: inherit; font-size: 17px; color: #10293a; appearance: none; -webkit-appearance: none; padding-right: 42px; background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2720%27%20height%3D%2720%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%235b7387%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M6%209l6%206%206-6%27%2F%3E%3C%2Fsvg%3E'); background-repeat: no-repeat; background-position: right 16px center; }
.mg-s206 { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; line-height: 1.7; color: #5b7387; }
.mg-s207 { font-size: 20px; font-weight: 650; color: #8fd8ff; }
.mg-s208 { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; color: #ffffff; text-decoration: none; }
.mg-s209 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(28px, 4vw, 56px); align-items: center; }
.mg-s210 { margin: 0; border-radius: 20px; overflow: hidden; background: #f2f8fc; }
.mg-s211 { font-size: 17px; line-height: 1.85; color: #2c4a5e; word-break: keep-all; }
.mg-s212 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 52px) 0; }
.mg-s213 { font-size: 17px; line-height: 1.85; color: #2c4a5e; }
.mg-s214 { margin: 0; display: flex; justify-content: center; }
.mg-s215 { max-width: 260px; padding: 14px; border: 1px solid #d8e7f0; border-radius: 16px; background: #ffffff; box-shadow: 0 6px 20px rgba(16,41,58,0.06); }
.mg-s216 { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 20px 4px; border-bottom: 1px solid #e8f1f7; }
.mg-s217 { flex: 1; min-width: 240px; display: flex; flex-direction: column; gap: 8px; font-size: 17px; line-height: 1.7; }
.mg-s218 { word-break: keep-all; }
.mg-s219 { font-weight: 500; }
.mg-s220 { flex: 1; min-width: 240px; font-size: 17px; line-height: 1.7; }
.mg-s221 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(14px, 2vw, 24px); }
.mg-s222 { display: flex; flex-direction: column; gap: 12px; }
.mg-s223 { padding: clamp(10px, 1.4vw, 16px); border-radius: 16px; background: #ffffff; box-shadow: 0 10px 28px rgba(16,41,58,0.08); overflow: hidden; }
.mg-s224 { display: block; width: 100%; height: auto; aspect-ratio: 793 / 1121; object-fit: contain; }
.mg-s225 { font-size: 17px; font-weight: 650; text-align: center; color: #10293a; }
.mg-s226 { border-radius: 20px; overflow: hidden; border: 1px solid #d8e7f0; }
.mg-s227 { display: block; width: 100%; height: clamp(320px, 42vw, 460px); border: 0; }
.mg-s228 { display: flex; flex-direction: column; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid #d8e7f0; }
.mg-s229 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; line-height: 1.45; letter-spacing: -0.025em; }
.mg-s230 { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 18px; border-top: 1px solid #d8e7f0; }
.mg-s231 { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border: 1px solid #d8e7f0; border-radius: 9999px; color: #10293a; font-size: 17px; font-weight: 600; text-decoration: none; }
.mg-s232 { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border-radius: 9999px; background: #1b4486; color: #ffffff; font-size: 17px; font-weight: 650; text-decoration: none; }
.mg-s233 { padding: 12px 14px; height: auto; border: 1px solid #d8e7f0; border-radius: 14px; background: #ffffff; font-family: inherit; font-size: 17px; color: #10293a; }
.mg-s234 { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }
.mg-s235 { height: 52px; padding: 0 26px; border: 0; border-radius: 9999px; background: #10293a; color: #ffffff; font-family: inherit; font-size: 17px; font-weight: 650; cursor: pointer; }
.mg-s236 { display: inline-flex; align-items: center; height: 52px; padding: 0 26px; border: 1px solid #d8e7f0; border-radius: 9999px; color: #10293a; font-size: 17px; font-weight: 600; text-decoration: none; }
.mg-s237 { display: flex; flex-direction: column; gap: 18px; }
.mg-s238 { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.mg-s239 { font-size: 17px; color: #5b7387; }
.mg-s240 { color: #10293a; }
.mg-s241 { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: clamp(16px, 2vw, 24px); }
.mg-s242 { display: flex; flex-direction: column; border: 1px solid #e8f1f7; border-radius: 20px; overflow: hidden; background: #ffffff; }
.mg-s243 { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: #10293a; }
.mg-s244 { display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 2.4vw, 26px); height: 100%; }
.mg-s245 { display: flex; align-items: center; justify-content: center; gap: 6px; padding-top: 6px; }
.mg-s246 { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid #10293a; border-radius: 12px; font-size: 16px; font-weight: 650; color: #10293a; text-decoration: none; }
.mg-s247 { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid #d8e7f0; border-radius: 12px; font-size: 16px; font-weight: 450; color: #10293a; text-decoration: none; }
.mg-s248 { display: flex; flex-direction: column; border-top: 2px solid #10293a; }
.mg-s249 { border-bottom: 1px solid #e8f1f7; }
.mg-s250 { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 20px 8px; text-decoration: none; color: #10293a; }
.mg-s251 { flex: none; width: 48px; font-size: 16px; color: #5b7387; }
.mg-s252 { flex: 1; min-width: 200px; font-size: 18px; font-weight: 600; line-height: 1.6; }
.mg-s253 { flex: none; font-size: 16px; color: #5b7387; }
.mg-s254 { flex: none; padding: 5px 10px; border: 1px solid #d8e7f0; border-radius: 8px; font-size: 16px; color: #5b7387; }

/* hover */
.mg-h1:hover { background: #1b4486; color: #ffffff; }

/* 상태 제어 (js/site.js) */
[data-mg-off] { display: none !important; }


/* ===== BOS 레이아웃 대응 =====
 * BOS가 본문을 자체 컨테이너(1200px)로 감싸도 전체 폭 배경이 화면 끝까지 채워지도록 처리 */
.mg-pagehero, .mg-lnb, .mg-content, .mg-band, .mg-consult, .mg-section.mg-band {
  width: 100vw !important;
  max-width: 100vw !important;
  position: relative;
  left: 50%;
  margin-left: -50vw !important;
  margin-right: 0 !important;
  box-sizing: border-box;
}
.mg-content { background: #ffffff !important; }
.mg-lnb { background: #ffffff !important; }
.mg-pagehero > .mg-section__inner, .mg-lnb > .mg-lnb__list, .mg-content > .mg-section__inner, .mg-band > .mg-section__inner {
  max-width: 1200px !important; margin-left: auto !important; margin-right: auto !important;
}
html, body { overflow-x: hidden; }

/* 서브메뉴 탭 — 현재 페이지 표시 (BOS on/active 클래스 및 aria-current 모두 대응) */
.mg-lnb__list a { border-bottom: 2px solid transparent; }
.mg-lnb__list a.is-active, .mg-lnb__list li.is-active > a,
.mg-lnb__list a.on, .mg-lnb__list li.on > a,
.mg-lnb__list a.active, .mg-lnb__list li.active > a,
.mg-lnb__list a[aria-current="page"] {
  color: #10293a !important;
  font-weight: 650 !important;
  border-bottom: 2px solid #1b4486 !important;
}

/* BOS 본문 래퍼(.lay-body) 기본 상하 여백 제거 */
.lay-body { padding-top: 0 !important; padding-bottom: 0 !important; }

/* 모바일 서브페이지 타이틀 영역(브레드크럼+제목) 좌우/상하 여백 */
@media (max-width: 720px) {
  .mg-s156 { padding: clamp(36px, 5vw, 64px) clamp(20px, 5vw, 48px) !important; }
}
