/* R365-FOOTER: 리딩365 g5 화면 하단. 새 디자인(css/style.css)의 footer 와 같은 모양. px 로 적고 클래스는 r365f- 접두사. */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');

/* 옛 하단은 DOM 에 남기고 화면에서만 숨긴다 */
.at-footer-mask, footer.at-footer { display: none !important; }

.r365f, .r365f * { box-sizing: border-box; font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif !important; }
.r365f { background: #1d2361; color: #c7cbef; padding: 56px 0 32px; font-size: 14px; line-height: 1.7; word-break: keep-all; margin-top: 40px; }
.r365f-in { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.r365f ul { list-style: none; margin: 0; padding: 0; }
.r365f a, .r365f a:hover, .r365f a:focus { text-decoration: none; color: inherit !important; }
.r365f a:hover { color: #fff !important; }
.r365f a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.r365f-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; padding-bottom: 32px; margin-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.r365f-brand { font-weight: 800; font-size: 18px; color: #fff; margin-bottom: 10px; }
.r365f-desc { max-width: 320px; margin: 0; color: #c7cbef; }
.r365f-list li { margin-bottom: 6px; }
.r365f-bottom { color: #8a8fc0; font-size: 13px; line-height: 1.9; }
.r365f-bottom a { color: #8a8fc0 !important; }
.r365f-bottom a:hover { color: #fff !important; }

/* 플로팅 버튼 — 소개 페이지(css/style.css .floating-actions)와 같은 모양. 옛 "톡상담" 이미지 버튼(tail.php 의 고정 위치 링크)은 숨긴다 */
a[href^="https://pf.kakao.com/_pUDxdxj"][style*="position:fixed"] { display: none !important; }
.r365f-fabs { position: fixed; right: 20px; bottom: 24px; z-index: 400; display: flex; flex-direction: column; gap: 12px; }
.r365f-fab { width: 54px; height: 54px; padding: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(31, 35, 51, 0.08); transition: transform 0.15s ease; position: relative; cursor: pointer; border: 0; }
.r365f-fab:hover { transform: translateY(-2px); }
.r365f-fab svg { width: 26px; height: 26px; }
.r365f-fab-kakao { background: #fee500; }
.r365f-fab-phone { background: #2b3387; color: #fff !important; }
.r365f-fab-top { background: #fff; border: 1.5px solid #e7e9f2; color: #2b3387; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity 0.2s ease, transform 0.2s ease; }
.r365f-fab-top.r365f-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.r365f-fab-label { position: absolute; right: 64px; top: 50%; transform: translateY(-50%); background: #1d2361; color: #fff; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.15s ease; }
.r365f-fab:hover .r365f-fab-label, .r365f-fab:focus-visible .r365f-fab-label { opacity: 1; }
.r365f-fab:focus-visible { outline: 2px solid #2b3387; outline-offset: 2px; }

@media (max-width: 600px) {
  .r365f-fab-label { display: none; }
  .r365f-fab { width: 48px; height: 48px; }
  .r365f-fab svg { width: 22px; height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .r365f-fab, .r365f-fab-top { transition: none !important; }
}

@media (max-width: 760px) {
  .r365f { padding: 40px 0 28px; }
  .r365f-top { flex-direction: column; gap: 22px; }
}
