/* 지역 신규 페이지(/areas/{city}-storage-cabinet/) 전용. 5개 디자인 계열 × 4개 레이아웃 변주. 본문 최소 16px. */
*, *::before, *::after { box-sizing: border-box; }
.ar { --m:#294D40; --a:#AF4B2D; --bg:#F5F7F5; --hf:'Noto Serif KR','Pretendard',serif; --bf:'Pretendard','Noto Sans KR',sans-serif;
  background: var(--bg); color: #202624; font-family: var(--bf); font-size: 1rem; line-height: 1.8; overflow-wrap: anywhere; }
.ar-a { --m:#294D40; --a:#AF4B2D; --bg:#F5F7F5; }
.ar-b { --m:#49394F; --a:#7E4C63; --bg:#F7F5F8; --hf:'Pretendard','Noto Sans KR',sans-serif; --bf:'Noto Sans KR','Pretendard',sans-serif; }
.ar-c { --m:#653C32; --a:#9C4832; --bg:#FBF6F4; }
.ar-d { --m:#303B3B; --a:#466B60; --bg:#F4F7F7; --hf:'Noto Sans KR','Pretendard',sans-serif; }
.ar-e { --m:#574B24; --a:#725D1A; --bg:#F8F8F2; --hf:'Pretendard','Noto Sans KR',sans-serif; --bf:'Noto Sans KR','Pretendard',sans-serif; }
.ar-wrap { width: 100%; max-width: 1080px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.ar h1, .ar h2, .ar h3 { font-family: var(--hf); color: var(--m); line-height: 1.3; overflow-wrap: anywhere; }
.ar p, .ar li, .ar td, .ar th, .ar dd, .ar dt, .ar a { overflow-wrap: anywhere; }

/* 히어로는 사이트 공통 .hero.hero-detail(서울 페이지와 동일)을 쓴다. 제목 색·글꼴만 .ar h1 규칙에 덮이지 않게 고정 */
.ar .hero h1 { color: var(--white); font-family: var(--font); }
/* 본문 안내문이 서울 페이지보다 길어 가독성을 위해 오버레이를 진하게, 높이·여백을 넉넉히 */
.ar .hero-detail { min-height: 460px; padding-block: 56px; }
.ar .hero-detail .hero-overlay { background: rgba(23,46,41,.62); }
@media (max-width: 900px) { .ar .hero-detail { min-height: 420px; padding-block: 40px; } }
.ar-btn:focus-visible, .ar a:focus-visible { outline: 3px solid var(--a); outline-offset: 3px; }

/* 본문 */
.ar-body { padding-block: 24px 8px; }
.ar-block { margin-block: clamp(32px, 6vw, 56px); }
.ar-block h2, .ar-related h2, .ar-faqs h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 16px; padding-left: 14px; border-left: 5px solid var(--a); }
.ar-block p { margin-bottom: 14px; max-width: 46em; }
.ar-note { font-size: 1rem; color: #4A5350; background: rgba(0,0,0,.04); border-radius: 6px; padding: 10px 14px; }

/* 전후사진: 같은 비율(3:4)·같은 크기, 사진 바깥에 라벨 */
.ar-set { margin-block: 24px 36px; }
.ar-set h3 { font-size: 1.2rem; margin-bottom: 12px; }
.ar-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 3vw, 28px); }
.ar-pair figure { margin: 0; min-width: 0; }
.ar-pair img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain; background: #E7EAE8; border-radius: 8px; display: block; }
.ar-pair figcaption { padding-top: 8px; font-size: 1rem; line-height: 1.6; }
.ar-pair figcaption b { display: block; color: var(--a); margin-bottom: 2px; }
@media (max-width: 359px) { .ar-pair { grid-template-columns: minmax(0, 1fr); } }
.ar-l2 .ar-pair img, .ar-l0 .ar-pair img { aspect-ratio: 3 / 4; }
.ar-c .ar-pair img { border: 1px solid #D9C9C2; }

/* 표 */
.ar-tablewrap { overflow-x: auto; }
.ar-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 1rem; }
.ar-table th, .ar-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid #D5DBD8; vertical-align: top; }
.ar-table thead th { background: var(--m); color: #fff; font-weight: 700; }
.ar-table td:first-child { font-weight: 700; color: var(--m); }
@media (max-width: 640px) {
  .ar-table, .ar-table thead, .ar-table tbody, .ar-table tr, .ar-table th, .ar-table td { display: block; width: 100%; }
  .ar-table thead { position: absolute; left: -9999px; }
  .ar-table tr { border: 1px solid #D5DBD8; border-radius: 8px; margin-bottom: 12px; padding: 6px 14px; }
  .ar-table td { border: 0; padding: 8px 0; }
  .ar-table td::before { content: attr(data-label); display: block; font-size: 1rem; font-weight: 700; color: var(--a); }
}

/* 과정 도식 */
.ar-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 0; counter-reset: s; }
.ar-steps li { background: #fff; border: 1px solid #D5DBD8; border-top: 4px solid var(--a); border-radius: 8px; padding: 16px; min-width: 0; }
.ar-steps b { display: block; font-family: var(--hf); color: var(--m); font-size: 1.1rem; margin: 6px 0; }
.ar-steps p { margin: 0; font-size: 1rem; line-height: 1.65; }
.ar-n { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: var(--m); color: #fff; align-items: center; justify-content: center; font-weight: 700; }
.ar-l1 .ar-steps, .ar-l3 .ar-steps { grid-template-columns: 1fr; }
.ar-l1 .ar-steps li, .ar-l3 .ar-steps li { display: grid; grid-template-columns: 40px 8em 1fr; gap: 6px 14px; align-items: start; border-top-width: 1px; border-left: 4px solid var(--a); }
.ar-l1 .ar-steps b, .ar-l3 .ar-steps b { margin: 0; }
@media (max-width: 900px) { .ar-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ar-steps, .ar-l1 .ar-steps, .ar-l3 .ar-steps { grid-template-columns: 1fr; } .ar-l1 .ar-steps li, .ar-l3 .ar-steps li { grid-template-columns: 40px 1fr; } .ar-l1 .ar-steps li p, .ar-l3 .ar-steps li p { grid-column: 1 / -1; } }

/* 개념도 */
.ar-diagram { margin: 0; display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 24px; align-items: center; background: #fff; border: 1px solid #D5DBD8; border-radius: 10px; padding: 20px; }
.ar-l2 .ar-diagram, .ar-l3 .ar-diagram { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); }
.ar-l2 .ar-diagram svg, .ar-l3 .ar-diagram svg { order: 2; }
.ar-diagram svg { width: 100%; height: auto; }
.ar-top { fill: #E4E9E6; stroke: var(--m); } .ar-side { fill: #C9D2CE; stroke: var(--m); } .ar-front { fill: #fff; stroke: var(--m); stroke-width: 2; }
.ar-dim { stroke: var(--a); stroke-width: 3; }
.ar-diagram text { font-size: 26px; font-weight: 700; fill: var(--a); font-family: var(--hf); }
.ar-diagram dl { display: grid; gap: 10px; margin-bottom: 12px; }
.ar-diagram dt { font-weight: 700; color: var(--m); }
.ar-diagram dd { margin: 0; }
@media (max-width: 720px) { .ar-diagram, .ar-l2 .ar-diagram, .ar-l3 .ar-diagram { grid-template-columns: minmax(0, 1fr); } .ar-l2 .ar-diagram svg, .ar-l3 .ar-diagram svg { order: 0; } }

/* 체크리스트·준비 항목 */
.ar-check, .ar-prep { list-style: none; padding: 8px 22px; background: #fff; border: 1px solid #D5DBD8; border-radius: 10px; }
.ar-check li, .ar-prep li { position: relative; padding: 13px 0 13px 34px; border-bottom: 1px solid #E3E7E5; }
.ar-check li:last-child, .ar-prep li:last-child { border-bottom: 0; }
.ar-check li::before { content: ''; position: absolute; left: 0; top: 18px; width: 18px; height: 18px; border: 2px solid var(--a); border-radius: 4px; }
.ar-prep li::before { content: ''; position: absolute; left: 4px; top: 21px; width: 10px; height: 10px; background: var(--a); border-radius: 50%; }

/* 관련 페이지 */
.ar-related { padding-block: 24px 40px; }
.ar-related ul { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0; }
.ar-related a { display: flex; flex-direction: column; gap: 4px; min-height: 76px; background: #fff; border: 1px solid #D5DBD8; border-radius: 8px; padding: 14px 16px; color: var(--m); font-weight: 700; text-decoration: none; }
.ar-related a span { font-size: 1rem; color: var(--a); }
.ar-related a:hover { box-shadow: 0 6px 18px rgba(0,0,0,.09); }
@media (max-width: 720px) { .ar-related ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .ar-related ul { grid-template-columns: minmax(0, 1fr); } }

/* FAQ: 기본 펼침 텍스트 */
.ar-faqs { background: rgba(0,0,0,.035); padding-block: clamp(32px, 6vw, 56px); }
.ar-faq { padding: 18px 0; border-bottom: 1px solid #D5DBD8; }
.ar-faq h3 { font-size: 1.15rem; margin-bottom: 8px; }
.ar-faq p { margin: 0; max-width: 48em; }

/* 공통 푸터 보강 */
.cta-phone { margin-top: 16px; font-size: 1.1rem; color: #fff; }
.cta-phone a { color: #fff; font-weight: 700; text-decoration: underline; }
.footer-brand { margin-top: 10px; font-size: 1rem; opacity: .85; }
body { overflow-x: clip; }
