@charset "utf-8";
/* [2026-11] 사이트 꼬리 (theme/basic/footer.php). 예전 footer.css 의 footer p·a 규칙보다 세게 클래스로 정한다.
   사이트 머리 CSS(main_header.css)가 span·a·p 에 line-height:1em·굵기 400 을 박으므로 클래스마다 직접 정한다. */
.site-footer {
  --sf-bg: #363a3a;
  --sf-text: #c9cdcd;
  --sf-mute: #a3aaaa;
  --sf-line: #4d5252;
  padding: 48px 0 28px;
  background: var(--sf-bg);
  color: var(--sf-text);
  font-size: 14px;
  line-height: 1.6;
}
.site-footer .sf-inner { width: 95%; max-width: 1140px; margin: 0 auto; }
.site-footer .sf-top { display: flex; justify-content: space-between; gap: 48px; }
.site-footer .sf-brand { flex: none; display: flex; flex-direction: column; gap: 24px; }
.site-footer .sf-brand img { display: block; width: 200px; height: auto; }

.site-footer .sf-sns { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.site-footer .sf-sns a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  margin: 0;
  line-height: 0;
  transition: background-color .2s ease;
}
.site-footer .sf-sns svg path { fill: var(--sf-text); transition: fill .2s ease; }
.site-footer .sf-sns a:hover { background: rgba(255, 255, 255, .16); }
.site-footer .sf-sns a:hover svg path { fill: #fff; }
.site-footer a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }

.site-footer .sf-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 48px; }
.site-footer .sf-col { min-width: 0; }
.site-footer .sf-h { margin: 0 0 12px; font-size: 15px; font-weight: 700; line-height: 1.4; color: #fff; }
.site-footer .sf-line,
.site-footer .sf-addr { margin: 0 0 4px; font-size: 14px; font-style: normal; font-weight: 400; line-height: 1.6; color: var(--sf-text); word-break: keep-all; }
.site-footer .sf-nw { font: inherit; line-height: inherit; color: inherit; white-space: nowrap; }
.site-footer .sf-dot { font: inherit; line-height: inherit; color: inherit; }
.site-footer .sf-dot::before { content: "·"; margin: 0 6px; color: var(--sf-mute); }
.site-footer .sf-contact { display: flex; flex-wrap: wrap; gap: 2px 16px; margin: 6px 0 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.6; color: var(--sf-text); }
.site-footer .sf-contact li { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; line-height: 1.6; }
.site-footer .sf-k { font-size: 12px; font-weight: 700; line-height: 1.6; color: var(--sf-mute); }
.site-footer .sf-contact a { margin: 0; font-size: 14px; font-weight: 400; line-height: 1.6; color: var(--sf-text); text-decoration: none; }
.site-footer .sf-contact a:hover { color: #fff; text-decoration: underline; }

.site-footer .sf-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--sf-line);
}
.site-footer .sf-privacy { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.5; color: #fff; text-decoration: none; }
.site-footer .sf-privacy:hover { color: #fff; text-decoration: underline; }
.site-footer .sf-copy { margin: 0; font-size: 13px; font-weight: 400; line-height: 1.5; color: var(--sf-mute); }
/* 제작사 표시 (powered by Hongcomm.) — 저작권 줄 오른쪽에 아주 작게. 그림은 3배 크기로 그려 112×11 로 보인다 */
.site-footer .sf-end { display: flex; align-items: center; gap: 8px 20px; flex-wrap: wrap; }
.site-footer .sf-powered { display: inline-flex; align-items: center; padding: 4px 0; opacity: .75; transition: opacity .15s; }
.site-footer .sf-powered:hover, .site-footer .sf-powered:focus-visible { opacity: 1; }
.site-footer .sf-powered:focus-visible { outline: 2px solid #f4d773; outline-offset: 3px; }
.site-footer .sf-powered img { display: block; width: 112px; height: 11px; }

/* 떠 있는 SNS 단추: 아이콘 색은 여기서 (예전엔 svg 안에 직접 적혀 있었다). 마우스 올렸을 때 색은 footer.css 그대로 */
.comm_snsWrap svg path { fill: #9c9d9e; }
/* 본문(최대 1240px)과 겹치지 않을 만큼 넓은 화면에서만 띄운다.
   1280~1366px 노트북에서 메인 슬라이드 '다음' 화살표·더보기 단추를 덮어 눌리지 않았다. 좁은 화면은 꼬리 안 SNS 줄을 쓴다 */
@media (max-width: 1479px) {
  .comm_snsWrap { display: none; }
}

@media (max-width: 1024px) {
  .site-footer .sf-top { flex-direction: column; gap: 32px; }
  .site-footer .sf-brand { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
  .site-footer .sf-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}
@media (max-width: 767px) {
  .site-footer { padding: 36px 0 24px; }
  .site-footer .sf-inner { width: auto; padding: 0 20px; }
  .site-footer .sf-brand { flex-direction: column; align-items: flex-start; gap: 20px; }
  .site-footer .sf-brand img { width: 160px; }
  .site-footer .sf-cols { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .site-footer .sf-bottom { flex-direction: column; align-items: flex-start; margin-top: 28px; }
  .site-footer .sf-end { width: 100%; justify-content: space-between; }
  /* 휴대폰: 오른쪽에 떠 있던 SNS 단추가 카드 글자를 가려서 숨기고, 꼬리 안 SNS 줄을 쓴다 */
  .comm_snsWrap { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .site-footer .sf-sns a, .site-footer .sf-sns svg path, .site-footer .sf-powered { transition: none; }
}
