/* =========================================================
   119탐정센터 — region.css (v3, 파랑·남색)
   메인·조사 분야·지역·안내 페이지가 모두 이 한 장을 씁니다.
   참고: 119탐정.kr — 흰 바탕, 파랑 #1F4FD8, 남색 #0A1F4D, 연한 하늘 #EEF3FC,
         흰 카드 + 얇은 하늘색 테두리, 알약 버튼, Pretendard.
   ========================================================= */

:root {
  --b: #1f4fd8;          /* 파랑 — 강조·버튼 */
  --b-2: #1a43bd;
  --n: #0a1f4d;          /* 남색 — 띠·제목 */
  --n-2: #071638;        /* 바닥글 */
  --l: #eef3fc;          /* 연한 하늘 바탕 */
  --l-2: #f5f8ff;
  --line: #dbe4f6;
  --line-2: #e3e9f5;
  --gray: #f1f3f7;
  --ink: #111827;
  --ink-2: #454f68;
  --ink-3: #5a6682;
  --sky: #8fb2ff;        /* 남색 위 강조 */
  --kakao: #fee500;
  --yt: #ed0707;
  --r: 20px;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --shadow: 0 10px 30px -18px rgba(10, 31, 77, .35);
}

/* ---------- 바탕 ---------- */
body.rg {
  margin: 0; min-height: 100vh;
  font-family: var(--sans); font-size: 16px; line-height: 1.7; letter-spacing: -.01em;
  color: var(--ink); background: #fff;
  word-break: keep-all; overflow-wrap: break-word; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.rg *, .rg *::before, .rg *::after { box-sizing: border-box; }
.rg img, .rg svg { display: block; max-width: 100%; }
.rg img { height: auto; }
.rg a { color: inherit; text-decoration: none; }
.rg h1, .rg h2, .rg h3, .rg p, .rg ul, .rg ol, .rg dl, .rg dd { margin: 0; }
.rg ul, .rg ol { padding: 0; list-style: none; }
.rg address { font-style: normal; }
.rg button { font: inherit; }
.rg :focus-visible { outline: 2px solid var(--b); outline-offset: 3px; }
.rg ::selection { background: var(--b); color: #fff; }
.rg .sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rg .skip { position: fixed; top: 12px; left: 12px; z-index: 500; padding: 10px 16px; border-radius: 999px; background: var(--b); color: #fff; font-weight: 700; transform: translateY(-200%); }
.rg .skip:focus { transform: none; }
.rg .wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.rg em { font-style: normal; color: var(--b); }

/* ---------- 상단 ---------- */
.rg .top { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-2); }
.rg .top__inner { position: relative; display: flex; align-items: center; gap: 12px; height: 64px; }
.rg .logo { display: flex; align-items: center; gap: 9px; font-size: 25px; font-weight: 800; letter-spacing: -.04em; color: var(--n); white-space: nowrap; }
.rg .logo b { color: var(--b); font-weight: 800; }
.rg .logo__mark { width: 40px; height: 27px; color: var(--b); flex: none; }
.rg .foot__brand { display: flex; align-items: center; gap: 10px; }
.rg .foot__brand .logo__mark { width: 34px; height: 23px; color: #fff; }
.rg .nav { display: none; }
.rg .top__acts { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.rg .pill { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.rg .pill--kakao { background: var(--kakao); color: #191919; }
.rg .pill--yt { background: var(--yt); color: #fff; }
.rg .menu { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 10px; background: var(--n); color: #fff; cursor: pointer; }
.rg .menu svg { width: 22px; height: 22px; }
.rg .nav.is-open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; padding: 8px 20px 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(10, 31, 77, .35); }
.rg .nav.is-open a { padding: 13px 4px; border-bottom: 1px solid var(--line-2); font-size: 16px; font-weight: 600; color: var(--n); }
@media (max-width: 400px) {
  .rg .logo { font-size: 21px; }
  .rg .pill { padding: 0 11px; font-size: 12.5px; }
}
@media (min-width: 1080px) {
  .rg .top__inner { height: 76px; gap: 28px; }
  .rg .nav { display: flex; gap: 30px; margin: 0 auto; font-size: 15.5px; font-weight: 600; color: var(--ink); }
  .rg .nav a { padding: 6px 0; transition: color .2s; }
  .rg .nav a:hover { color: var(--b); }
  .rg .top__acts { margin-left: 0; }
  .rg .menu { display: none; }
  .rg .pill { height: 38px; padding: 0 18px; }
}

/* ---------- 이동 경로 ---------- */
.rg .crumb { display: flex; flex-wrap: wrap; gap: 6px 8px; padding-top: 18px; font-size: 13px; color: var(--ink-3); }
.rg .crumb a:hover { color: var(--b); }
.rg .crumb b { color: var(--ink-2); font-weight: 600; }

/* ---------- 공통 제목 ---------- */
.rg .badge { display: inline-flex; align-items: center; height: 34px; padding: 0 16px; border-radius: 999px; background: var(--b); color: #fff; font-size: 14px; font-weight: 700; }
.rg .kicker { display: inline-flex; align-items: center; height: 30px; margin-bottom: 16px; padding: 0 14px; border-radius: 999px; background: var(--l); color: var(--b); font-size: 13.5px; font-weight: 700; }
.rg .sec-head { text-align: center; margin-bottom: 36px; }
.rg .sec-head h2 { font-size: clamp(27px, 5vw, 42px); font-weight: 800; line-height: 1.3; letter-spacing: -.04em; }
.rg .sec-head p { margin-top: 12px; color: var(--ink-3); font-size: clamp(15px, 1.8vw, 17px); }

/* ---------- 지역·안내 첫 화면 ---------- */
.rg .lhero { padding: 40px 0 52px; background: linear-gradient(180deg, var(--l) 0%, var(--l-2) 100%); }
.rg .lhero__grid { display: grid; gap: 30px; align-items: center; }
.rg h1 { font-size: clamp(32px, 7vw, 56px); font-weight: 800; line-height: 1.2; letter-spacing: -.045em; color: var(--ink); }
.rg h1 em { color: var(--b); }
.rg .answer { margin-top: 20px; max-width: 36em; font-size: clamp(16px, 2vw, 18.5px); line-height: 1.75; color: var(--ink-2); }
.rg .answer em { font-weight: 700; }
.rg .sub { margin-top: 12px; max-width: 42em; font-size: 14.5px; color: var(--ink-3); }
.rg .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.rg .legacy { color: var(--b); }
@media (min-width: 960px) {
  .rg .lhero { padding: 72px 0 80px; }
  .rg .lhero__grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 60px; }
}

/* 상담 카드 */
.rg .desk { padding: 26px; border-radius: 24px; background: var(--n); color: #fff; box-shadow: 0 30px 60px -30px rgba(10, 31, 77, .6); }
.rg .desk__head { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .7); }
.rg .desk__head em { padding: 4px 10px; border-radius: 999px; background: rgba(143, 178, 255, .18); color: var(--sky); font-size: 12px; font-weight: 700; }
.rg .desk__tel { display: block; margin: 12px 0 16px; font-size: 40px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: #fff; }
.rg .desk dl > div { display: grid; grid-template-columns: 50px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.rg .desk dt { color: rgba(255, 255, 255, .6); }

/* ---------- 버튼 ---------- */
.rg .btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 0 24px; border-radius: 999px; font-size: 15.5px; font-weight: 700; transition: transform .2s, background .2s, border-color .2s, color .2s; }
.rg .btn svg { width: 19px; height: 19px; flex: none; }
.rg .btn--lg { min-height: 58px; padding: 0 28px; font-size: 17px; }
.rg .btn--gold, .rg .btn--blue { background: var(--b); color: #fff; box-shadow: 0 14px 30px -16px rgba(31, 79, 216, .8); }
.rg .btn--gold:hover, .rg .btn--blue:hover { background: var(--b-2); transform: translateY(-1px); }
.rg .btn--line { border: 1.5px solid var(--line); background: #fff; color: var(--n); }
.rg .btn--line:hover { border-color: var(--b); color: var(--b); }
.rg .btn--kakao { background: var(--kakao); color: #191919; }
.rg .btn--white { background: #fff; color: var(--n); }

/* ---------- 본문 섹션 ---------- */
.rg .lsec { padding: 56px 0; }
.rg .lsec + .lsec:not(.ivory):not(.tint) { border-top: 1px solid var(--line-2); }
.rg .lsec--tight { padding: 28px 0; }
.rg .tint { background: var(--l); }
.rg .lsec h2 { font-size: clamp(24px, 4vw, 34px); font-weight: 800; line-height: 1.35; letter-spacing: -.04em; margin-bottom: 22px; }
.rg .lsec h3 { font-size: 18px; font-weight: 700; line-height: 1.45; letter-spacing: -.02em; }
.rg .memo { padding: 22px 24px; border-radius: var(--r); background: var(--l); border: 1px solid var(--line); color: var(--ink-2); line-height: 1.8; }
.rg .memo b { color: var(--n); }
.rg .memo a, .rg .muted a, .rg .prose a { color: var(--b); text-decoration: underline; text-underline-offset: 3px; }
.rg .muted { margin-top: 14px; font-size: 14.5px; color: var(--ink-3); }
.rg .prose { max-width: 780px; }
.rg .prose p, .rg .prose ul { margin-top: 14px; color: var(--ink-2); line-height: 1.85; }
.rg .prose ul { padding-left: 1.2em; list-style: disc; }
.rg .prose h2:not(:first-child) { margin-top: 40px; }
.rg .more { display: inline-block; margin-top: 22px; color: var(--b); font-weight: 700; }
.rg .links-line { display: flex; flex-wrap: wrap; gap: 8px; }
.rg .links-line a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14.5px; font-weight: 600; color: var(--n); }
.rg .links-line a:hover { border-color: var(--b); color: var(--b); }
.rg .answerbox .memo { font-size: 17px; }
@media (min-width: 960px) { .rg .lsec { padding: 84px 0; } }

/* 숫자 칸 */
.rg .stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.rg .stats > * { padding: 10px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.rg .stats b { color: var(--b); font-size: 18px; font-weight: 800; margin-right: 4px; }

.rg .trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 12px; border-radius: 26px; background: var(--gray); }
.rg .trust > div { padding: 20px 12px; border-radius: 18px; background: #fff; text-align: center; }
.rg .trust b { display: block; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--ink-3); }
.rg .trust p { margin-top: 4px; font-size: clamp(24px, 4vw, 34px); font-weight: 800; letter-spacing: -.03em; color: var(--b); line-height: 1.2; }
.rg .trust small { display: block; margin-top: 4px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); letter-spacing: -.01em; }
@media (min-width: 760px) { .rg .trust { grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 18px; } }

/* 조사 분야 목록 */
.rg .svc { display: grid; gap: 12px; }
.rg .svc a { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 20px 22px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.rg .svc a:hover { border-color: var(--b); box-shadow: var(--shadow); transform: translateY(-2px); }
.rg .svc__no { font-size: 15px; font-weight: 800; color: var(--b); }
.rg .svc__body b { display: block; font-size: 17.5px; font-weight: 700; color: var(--ink); }
.rg .svc__body span { display: block; margin-top: 4px; font-size: 14.5px; color: var(--ink-3); line-height: 1.6; }
.rg .svc__go { color: var(--b); font-weight: 700; transition: transform .2s; }
.rg .svc a:hover .svc__go { transform: translateX(3px); }
.rg .svc li:first-child a { background: var(--l); }
@media (min-width: 860px) { .rg .svc { grid-template-columns: 1fr 1fr; } }

/* 지역 */
.rg .cities { display: grid; gap: 14px; }
.rg .city { padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; }
.rg .city h3 { font-size: 19px; font-weight: 800; color: var(--n); }
.rg .city--main { background: var(--n); border-color: var(--n); }
.rg .city--main h3, .rg .city--main p { color: #fff; }
.rg .city--main .more { color: var(--sky); }
.rg .city h3 a:hover { color: var(--b); }
.rg .city p { margin-top: 6px; font-size: 14px; color: var(--ink-3); }
.rg .city .chips { margin-top: 14px; }
@media (min-width: 860px) { .rg .cities { grid-template-columns: repeat(3, 1fr); } }
.rg .chips { display: flex; flex-wrap: wrap; gap: 7px; }
.rg .chip { display: inline-flex; align-items: center; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.rg a.chip:hover { border-color: var(--b); color: var(--b); }
.rg .chip--on { background: var(--n); border-color: var(--n); color: #fff; }
.rg a.chip--on:hover { background: var(--b); border-color: var(--b); color: #fff; }
.rg .dong-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.rg .dong { display: flex; flex-direction: column; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font-weight: 700; color: var(--n); }
.rg .dong small { margin-top: 2px; font-size: 12px; font-weight: 500; color: var(--ink-3); }
.rg .dong:hover { border-color: var(--b); color: var(--b); }

/* 질문답 */
.rg .faq__list { display: grid; gap: 10px; }
.rg .faq__list details { border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.rg .faq__list summary { position: relative; display: block; padding: 18px 52px 18px 52px; font-weight: 700; cursor: pointer; list-style: none; }
.rg .faq__list summary::-webkit-details-marker { display: none; }
.rg .faq__list summary::before { content: "Q"; position: absolute; left: 20px; top: 17px; font-weight: 800; color: var(--b); }
.rg .faq__list summary::after { content: "+"; position: absolute; right: 20px; top: 14px; font-size: 22px; font-weight: 400; color: var(--ink-3); }
.rg .faq__list details[open] summary::after { content: "−"; }
.rg .faq__list details p { padding: 0 22px 20px 52px; color: var(--ink-2); line-height: 1.8; }

/* 합법 원칙 띠 */
.rg .ivory { background: var(--l); }
.rg .pr { display: grid; gap: 14px; }
.rg .pr > div { padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.rg .pr h3 { margin-bottom: 12px; color: var(--n); }
.rg .pr li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-2); font-weight: 600; color: var(--ink); }
.rg .pr li:last-child { border-bottom: 0; }
.rg .pr li svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--b); }
.rg .pr--no li svg { color: var(--yt); }
@media (min-width: 860px) { .rg .pr { grid-template-columns: 1fr 1fr; } }

.rg .cases { display: grid; gap: 12px; }
.rg .case { padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; }
.rg .case h3 { color: var(--n); }
.rg .case .muted { margin-top: 8px; }
@media (min-width: 860px) { .rg .cases { grid-template-columns: 1fr 1fr; } }

.rg .info dl { display: grid; border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; }
.rg .info dl > div { display: grid; grid-template-columns: 110px 1fr; }
.rg .info dl > div + div { border-top: 1px solid var(--line-2); }
.rg .info dt { padding: 14px 16px; background: var(--l); font-weight: 700; color: var(--n); font-size: 14.5px; }
.rg .info dd { padding: 14px 16px; color: var(--ink-2); font-size: 15px; }

.rg .steps { display: grid; gap: 12px; }
.rg .steps li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 20px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; }
.rg .steps li > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--b); color: #fff; font-weight: 800; }
.rg .steps .muted { margin-top: 4px; }

/* ---------- 상담 띠 ---------- */
.rg .callstrip { background: var(--n); color: #fff; }
.rg .callstrip .in { display: grid; gap: 22px; padding-top: 44px; padding-bottom: 44px; }
.rg .callstrip .q { color: var(--sky); font-weight: 700; font-size: 14.5px; }
.rg .callstrip .h { margin-top: 6px; font-size: clamp(22px, 4vw, 30px); font-weight: 800; line-height: 1.35; letter-spacing: -.04em; }
.rg .callstrip .sub { color: rgba(255, 255, 255, .7); }
.rg .callstrip__acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rg .callstrip .btn--gold { background: #fff; color: var(--n); box-shadow: none; }
.rg .callstrip .btn--line { background: var(--kakao); border-color: var(--kakao); color: #191919; }
@media (min-width: 900px) { .rg .callstrip .in { grid-template-columns: 1fr auto; align-items: center; } }

.rg .cta-band { background: var(--n); color: #fff; }
.rg .cta-band .row { display: grid; gap: 18px; padding-top: 56px; padding-bottom: 56px; }
.rg .cta-band h2 { font-size: clamp(24px, 4.4vw, 36px); font-weight: 800; line-height: 1.35; letter-spacing: -.04em; }
.rg .cta-band p { margin-top: 10px; color: rgba(255, 255, 255, .7); }
.rg .cta-band .tel { justify-self: start; display: inline-flex; align-items: center; height: 60px; padding: 0 30px; border-radius: 999px; background: #fff; color: var(--n); font-size: 22px; font-weight: 800; }
@media (min-width: 900px) { .rg .cta-band .row { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- 떠 있는 상담 버튼 (오른쪽 동그라미 두 개) ---------- */
.rg .callfab { position: fixed; right: 12px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 55; display: flex; flex-direction: column; gap: 10px; }
.rg .callfab a { display: grid; place-content: center; width: 66px; height: 66px; border-radius: 50%; text-align: center; line-height: 1.2; box-shadow: 0 12px 26px -10px rgba(10, 31, 77, .55); transition: transform .2s; }
.rg .callfab a:hover { transform: scale(1.05); }
.rg .callfab small { display: block; font-size: 11.5px; font-weight: 700; }
.rg .callfab b { display: block; font-size: 15px; font-weight: 800; }
.rg .callfab__tel { background: var(--b); color: #fff; }
.rg .callfab__kakao { background: var(--kakao); color: var(--n); }
@media (max-width: 959px) { .rg .callfab a { width: 58px; height: 58px; } .rg .callfab b { font-size: 14px; } }
@media (min-width: 960px) { .rg .callfab { right: 24px; top: 50%; bottom: auto; transform: translateY(-50%); } .rg .callfab a { width: 74px; height: 74px; } }

/* ---------- 바닥글 ---------- */
.rg .foot { padding: 44px 0 56px; background: var(--n-2); color: rgba(255, 255, 255, .62); font-size: 13.5px; line-height: 1.9; }
.rg .foot__brand { color: #fff; font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.rg .foot__note { margin-bottom: 8px; }
.rg .foot address { display: flex; flex-direction: column; }
.rg .foot a:hover { color: #fff; }
.rg .foot nav { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); }
.rg .foot__copy { margin-top: 14px; color: rgba(255, 255, 255, .45); }

/* =========================================================
   영상 카드 (메인·불륜조사·동네 페이지 공통)
   ========================================================= */
.rg .vids { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; scrollbar-width: thin; }
@media (min-width: 760px) { .rg .vids--grid { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); overflow: visible; } }
.rg .vid { position: relative; scroll-snap-align: start; display: flex; flex-direction: column; padding: 12px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; transition: box-shadow .2s, transform .2s; }
.rg .vid:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.rg .vid[hidden] { display: none; }
.rg .vid__th { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--gray); }
.rg .vid__th img { width: 100%; height: 100%; object-fit: cover; }
.rg .vid__th::after { content: ""; position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--b) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7v10l8-5z' fill='%23fff'/%3E%3C/svg%3E") center / 26px no-repeat; box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .5); }
.rg .vid__show { margin-top: 12px; font-size: 12.5px; color: var(--ink-3); }
.rg .vid__cat { align-self: flex-start; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: var(--l); color: var(--b); font-size: 12.5px; font-weight: 700; }
.rg .vid__t { margin-top: 8px; font-size: 16.5px; font-weight: 700; line-height: 1.45; color: var(--ink); }
.rg .tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.rg .tabs button { height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--n); background: #fff; color: var(--n); font-weight: 700; cursor: pointer; }
.rg .tabs button[aria-pressed="true"] { background: var(--n); color: #fff; }
.rg .yt-more { margin-top: 18px; text-align: center; }

/* =========================================================
   메인 페이지 전용 (body.rg.home)
   ========================================================= */
.home .hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #eaf2ff 0%, var(--l-2) 100%); }
.home .hero__grid { display: grid; gap: 10px; padding-top: 34px; }
.home .hero h1 { margin-top: 20px; font-size: clamp(38px, 9vw, 74px); line-height: 1.16; letter-spacing: -.05em; }
.home .hero h1 em { display: block; }
.home .hero__sub { margin-top: 20px; font-size: clamp(16px, 2vw, 19px); line-height: 1.8; color: var(--ink-2); }
.home .hero .acts { margin-top: 26px; }
.home .hero__pic { position: relative; justify-self: center; width: min(100%, 420px); }
.home .hero__pic img { width: 100%; height: auto; mix-blend-mode: multiply; }
.home .hero__tag { position: absolute; right: 0; bottom: 14%; padding: 12px 18px; border-radius: 14px; background: var(--n); color: #fff; box-shadow: var(--shadow); }
.home .hero__tag b { display: block; font-size: 17px; font-weight: 800; }
.home .hero__tag span { font-size: 12.5px; color: rgba(255, 255, 255, .7); }
@media (min-width: 960px) {
  .home .hero__grid { grid-template-columns: 1.1fr 1fr; align-items: end; padding-top: 0; min-height: 600px; }
  .home .hero__text { align-self: center; padding: 60px 0; }
  .home .hero__pic { justify-self: end; width: 480px; }
}

.rg .slides-wrap { padding: 32px 0 8px; }
.rg .slides-wrap > .wrap { position: relative; }
.rg .slides { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: none; }
.rg .slides::-webkit-scrollbar { display: none; }
.rg .slides img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 22px; scroll-snap-align: start; }
.rg .arrow { position: absolute; top: 50%; z-index: 2; display: none; place-items: center; width: 46px; height: 46px; margin-top: -23px; border: 0; border-radius: 50%; background: var(--n); color: #fff; font-size: 20px; cursor: pointer; box-shadow: var(--shadow); }
.rg .arrow--prev { left: 6px; }
.rg .arrow--next { right: 6px; }
@media (min-width: 760px) { .rg .slides { grid-auto-columns: calc((100% - 42px) / 4); } .rg .arrow { display: grid; } }

.home .sit { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.home .sit a { display: block; min-height: 96px; padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s; }
.home .sit a:hover { border-color: var(--b); box-shadow: var(--shadow); }
.home .sit small { display: block; font-size: 13.5px; font-weight: 800; color: var(--b); }
.home .sit b { display: block; margin-top: 6px; font-size: 16.5px; font-weight: 800; line-height: 1.4; }
.home .sit span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--ink-3); line-height: 1.55; }
@media (min-width: 900px) { .home .sit { grid-template-columns: repeat(4, 1fr); gap: 14px; } .home .sit a { padding: 22px; } }
.home .others { margin-top: 26px; text-align: center; }
.home .others p { margin-bottom: 12px; color: var(--ink-3); font-size: 14.5px; }
.home .others .chips { justify-content: center; }

.home .ceo { display: grid; gap: 30px; align-items: center; }
.home .ceo__pic img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 26px; }
.home .ceo h2 { margin-top: 4px; }
.home .ceo p.lead { color: var(--ink-2); line-height: 1.85; }
.rg .checks { margin-top: 22px; }
.rg .checks li { display: flex; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line-2); font-weight: 700; }
.rg .checks svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--b); }
@media (min-width: 960px) { .home .ceo { grid-template-columns: 420px 1fr; gap: 56px; } }

.rg .creds { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rg .cred { display: block; padding: 14px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s; }
a.cred:hover { border-color: var(--b); box-shadow: var(--shadow); }
.rg .cred i { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 14px; background: var(--l); color: var(--b); font-style: normal; }
.rg .cred i svg { width: 24px; height: 24px; }
.rg .cred__img { width: 100%; aspect-ratio: 5 / 7; object-fit: contain; margin-bottom: 12px; border-radius: 10px; background: var(--gray); }
.rg .cred b { display: block; font-size: 15.5px; font-weight: 800; line-height: 1.4; }
.rg .cred span { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-3); }
@media (min-width: 900px) { .rg .creds { grid-template-columns: repeat(4, 1fr); gap: 16px; } .rg .cred { padding: 16px; } }

.home .press { display: grid; gap: 10px; max-width: 900px; margin: 0 auto; }
.home .press a { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 18px 22px; border-radius: 16px; background: var(--gray); transition: background .2s; }
.home .press a:hover { background: var(--l); }
.home .press .o { font-size: 14px; font-weight: 800; color: var(--b); }
.home .press .d { font-size: 12.5px; color: var(--ink-3); }
.home .press .t { grid-column: 1; font-size: 16px; font-weight: 700; }
.home .press .go { grid-column: 2; grid-row: 1 / span 2; color: var(--b); font-weight: 700; }
@media (min-width: 760px) {
  .home .press a { grid-template-columns: 120px 90px 1fr auto; }
  .home .press .t { grid-column: 3; }
  .home .press .go { grid-column: 4; grid-row: 1; }
}

.home .partners { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.home .partners span { padding: 10px 18px; border-radius: 999px; background: var(--l); border: 1px solid var(--line); font-weight: 700; color: var(--n); font-size: 15px; }

.home .branches { display: grid; gap: 12px; }
.home .branch { padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; }
.home .branch b { display: block; font-size: 18px; font-weight: 800; color: var(--n); }
.home .branch span { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-3); }
.home .branch a { display: inline-block; margin-top: 16px; font-size: 19px; font-weight: 800; color: var(--b); }
.home .branch--main { background: var(--n); border-color: var(--n); }
.home .branch--main b, .home .branch--main span { color: #fff; }
.home .branch--main a { color: var(--sky); }
@media (min-width: 700px) { .home .branches { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .home .branches { grid-template-columns: repeat(3, 1fr); max-width: 1000px; margin: 0 auto; } }

.home .end { background: var(--n); color: #fff; }
.home .end__grid { display: grid; gap: 30px; padding-top: 64px; padding-bottom: 64px; }
.home .end h2 { font-size: clamp(27px, 5vw, 44px); font-weight: 800; line-height: 1.3; letter-spacing: -.045em; }
.home .end h2 em { color: var(--sky); }
.home .end .acts { margin-top: 28px; }
.home .end__box { padding: 26px; border-radius: 24px; background: #fff; color: var(--ink); }
.home .end__box h3 { font-size: 18px; font-weight: 800; color: var(--n); }
.home .end__box dl > div { display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line-2); font-size: 14.5px; }
.home .end__box dl > div:first-child { margin-top: 12px; }
.home .end__box dt { font-weight: 700; color: var(--ink-3); }
@media (min-width: 960px) { .home .end__grid { grid-template-columns: 1fr 360px; align-items: center; padding-top: 84px; padding-bottom: 84px; } }

.home .area-grid { display: grid; gap: 14px; }
@media (min-width: 860px) { .home .area-grid { grid-template-columns: repeat(3, 1fr); } }
.rg .note-ai { margin-top: 10px; font-size: 12.5px; color: var(--ink-3); text-align: right; }
