:root {
  /* 채워진 버튼 · 아이콘 배지 등 진한 포인트 */
  --primary-color: #14304f;
  --secondary-color: #e9e8e5;
  /* 작은 강조 (메뉴 hover · 아이콘 선 · 라벨) */
  --point-color: #2b5c8f;
  --lightgray-color: #f4f3f1;
  --white-color: #ffffff;
  --footerbg-color: transparent;
  --background-color: #ffffff;

  --line-color: #e2e1dd;
  --text-color: #16181a;
  /* 본문 보조 텍스트 : 각 섹션에서 광범위하게 쓰이므로 여기서 한 번만 정의 */
  --text-color-sub: #666769;

  /* 어두운 블록(어두운 섹션 배경)에 쓰는 짙은 남색 */
  --dark-color: #0e1e33;
  --dark-line: rgba(255, 255, 255, 0.16);

  /* ── 강조색 ───────────────────────────────────────────────
     히어로 버튼 · 바로가기 카드 · 제목 밑줄에 쓰입니다.
     (--accent-text 는 강조색 바탕 위에 얹는 글자색)

     ▷ 다른 톤으로 바꾸려면 아래 세 줄만 바꿔 넣으세요.
       깊은 남색 : #14395f / #0f2b48 / #ffffff
       청록      : #17a2b8 / #128496 / #ffffff  */
  --accent-color: #0f5aa8;
  --accent-hover: #0b4784;
  --accent-text: #ffffff;

  /* 모서리 둥글기 : 큰 사진 블록 / 카드 / 입력칸 순.
     테마 전체가 이 세 값만 씁니다. 0 이면 각진 모서리입니다.
     둥글게 쓰고 싶으면 2.4rem / 1.6rem / 1.2rem 정도가 잘 맞습니다. */
  --radius-l: 0;
  --radius-m: 0;
  --radius-s: 0;

  /* 포인트 색의 반투명 변형 : 그림자 · 글로우 · 포커스 링에 함께 씁니다.
     포인트 색(css/style.css 에서 #c9184a 로 정함) 을 바꾸실 때
     이 세 줄의 rgb 값도 같이 맞춰 주세요. */
  --point-a14: rgba(201, 24, 74, 0.14);
  --point-a22: rgba(201, 24, 74, 0.22);
  --point-a32: rgba(201, 24, 74, 0.32);

  /* 본문이 들어앉는 상자의 최대 너비.
     .inner · .w_inner · .w_inner_r 이 모두 이 값을 읽으므로
     여기 한 줄만 바꾸면 모든 구획의 폭이 같이 바뀝니다.
     (좌우 여백 2.4rem 씩을 더한 값이 실제로 차지하는 너비입니다) */
  --inner-size: 1600px;
}

html {
  font-size: 62.5%;
}

@media (max-width: 1280px) {
  html {
    font-size: clamp(9px, 0.78125vw, 10px);
  }
}
@media (max-width: 1024px) {
  html {
    font-size: clamp(9px, 0.9765625vw, 10px);
  }
}
@media (max-width: 768px) {
  html {
    font-size: clamp(8px, 1.3020833vw, 10px);
  }
}
@media (max-width: 480px) {
  html {
    font-size: clamp(8px, 2.0833333vw, 10px);
  }
}

@media (min-width: 480px) {
  a[href^="tel"] {
    pointer-events: none; /* 클릭 차단 */
    cursor: default; /* 클릭 불가 표시 */
  }
}

body {
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--text-color);
  background: var(--background-color);
  word-break: keep-all;
  hyphens: auto;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.inner {
  max-width: var(--inner-size);
  margin: 0 auto;
  padding: 0 2.4rem;
}

@media (max-width: 768px) {
  .inner {
    padding: 0 1.6rem;
  }
}

.w_inner {
  max-width: var(--inner-size);
  margin: 0 auto;
  padding: 0 2.4rem;
}

@media (max-width: 768px) {
  .w_inner {
    padding: 0 1.6rem;
  }
}

.w_inner_r {
  max-width: calc((100% - var(--inner-size)) / 2 + var(--inner-size));
  margin: 0 0 0 auto;
  padding: 0 0 0 2.4rem;
}

@media (max-width: 768px) {
  .w_inner_r {
    padding: 0 1.6rem;
  }
}

.default {
  position: relative;
  padding: var(--sec-pad) 0;
}

/* 구획 머리에 놓는 가로 바.
   전에는 옅은 회색 바탕을 번갈아 칠해 구획을 나눴는데,
   바탕을 모두 흰색으로 두고 이 바가 구획이 바뀌는 자리를 알려 줍니다.
   길이 · 두께 · 색은 여기 한 곳에서만 정합니다 */
.default::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);

  width: 20rem;
  height: 2px;
  background: var(--point-color);
}

/* 엷은 회색 섹션. 지금은 쓰는 구획이 없습니다.
   구획 하나를 회색으로 눕히고 싶으면 <section> 에 bg 를 더하세요 */
.default.bg {
  background: var(--lightgray-color);
}

/* 어두운 섹션 */
.default.dark {
  background: var(--dark-color);
  color: var(--white-color);
}

@media (max-width: 1024px) {
  .default {
    padding: 8rem 0;
  }
}

@media (max-width: 768px) {
  .default {
    padding: 6.4rem 0;
  }
}

/* 섹션 제목은 테마 전체가 가운데 정렬로 통일한다 */
.title {
  /* 제목 묶음 아래 여백은 한 곳(--sec-head-gap)에서만 정한다 */
  margin-bottom: var(--sec-head-gap);
}

/* 메인 섹션 제목 : 크기는 이 규칙에서만 관리한다 (각 섹션 파일에서 재정의 금지).
   대문자로 바꾸지 않고 문장 그대로, 아주 가는 굵기(100)로 크게 쓴다. */
.sec_head h2,
.title h2 {
  font-family: var(--sec-h2-font);
  font-size: var(--sec-h2);
  font-weight: var(--sec-h2-w);
  line-height: var(--sec-h2-lh);
  letter-spacing: var(--sec-h2-ls);
}

@media (max-width: 1280px) {
  .sec_head h2,
  .title h2 {
    font-size: 4rem;
  }
}

@media (max-width: 1024px) {
  .sec_head h2,
  .title h2 {
    font-size: 3.6rem;
  }
}

@media (max-width: 768px) {
  .title {
    margin-bottom: 3.2rem;
  }

  .sec_head h2,
  .title h2 {
    font-size: 2.8rem;
  }
}

/* 제목 안 강조 단어 (색상만 각 섹션에서 지정) */
.title h2 em {
  font-style: normal;
  font-weight: inherit;
}

/* 제목 아래 짧은 강조 밑줄 : .title 에 line 을 함께 붙여 사용 */
.title.line h2 {
  position: relative;
  padding-bottom: 2rem;
}

.title.line h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 6.4rem;
  height: 3px;
  background: var(--accent-color);
}

@media (max-width: 768px) {
  .title.line h2 {
    padding-bottom: 1.4rem;
  }

  .title.line h2::after {
    width: 4.8rem;
    height: 2px;
  }
}

.title .desc {
  max-width: 56rem;
  margin: 1.6rem 0 0;

  font-size: var(--sec-lead);
  font-weight: 400;
  line-height: var(--sec-lead-lh);
  color: var(--text-color-sub);
}

@media (max-width: 768px) {
  .title .desc {
    font-size: 1.4rem;
  }
}

/* ==========================================================================
   공통 링크 · 버튼 (알약 버튼 · 원형 화살표 · 원형 아이콘 배지)
   ========================================================================== */

/* 알약 버튼 : 기본은 흰 바탕, .dark 는 먹색, .line 은 테두리만 */
.pill_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  height: 4.8rem;
  padding: 0 2.8rem;
  border: 1px solid transparent;

  background: var(--white-color);
  color: var(--text-color);

  font-size: 1.4rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: 0.3s;
}

/* 버튼 안 아이콘 */
.pill_btn .icon {
  width: 2.4rem;
  height: 2.4rem;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform 0.35s;
}

.pill_btn:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

.pill_btn:hover .icon {
  transform: translateX(0.3rem);
}

.pill_btn.dark {
  background: var(--primary-color);
  color: var(--white-color);
}

.pill_btn.dark:hover {
  background: var(--point-color);
}

.pill_btn.line {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white-color);
}

.pill_btn.line:hover {
  background: var(--white-color);
  border-color: var(--white-color);
  color: var(--text-color);
}

/* 밝은 바탕에서 쓰는 테두리 알약 */
.pill_btn.line_dk {
  background: transparent;
  border-color: var(--line-color);
  color: var(--text-color);
}

.pill_btn.line_dk:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white-color);
}

/* 원형 화살표 버튼 (슬라이드 이동) : 기본은 테두리, .on 은 먹색 채움 */
.cir_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 4.8rem;
  height: 4.8rem;
  padding: 0;

  background: transparent;
  border: 1px solid var(--line-color);
  border-radius: 50%;
  color: var(--text-color);
  cursor: pointer;
  transition: 0.3s;
}

.cir_btn .icon {
  width: 2.7rem;
  height: 2.7rem;
  stroke: currentColor;
  stroke-width: 1.6;
}

.cir_btn.on {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white-color);
}

/* 스와이퍼가 끝에 닿으면 비활성 */
.cir_btn.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

/* 사진 위에 얹는 흰 원형 버튼 */
.cir_btn.on_photo {
  background: rgba(255, 255, 255, 0.9);
  border-color: transparent;
  color: var(--text-color);
}

/* 먹색 원형 아이콘 배지 (단계 목록 앞머리) */
.ic_badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 4.8rem;
  height: 4.8rem;

  background: var(--primary-color);
  border-radius: 50%;
  color: var(--white-color);
}

.ic_badge .icon {
  width: 2.7rem;
  height: 2.7rem;
  stroke: currentColor;
  stroke-width: 1.6;
}

/* 텍스트 + 화살표 링크 */
.mg_more {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;

  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text-color);
  white-space: nowrap;
  transition: 0.3s;
}

.mg_more .icon {
  width: 2.4rem;
  height: 2.4rem;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform 0.35s;
}

/* 어두운 배경 위에서 */
.dark .mg_more,
.mg_more.on_dark {
  color: var(--white-color);
}

/* ==========================================================================
   섹션 머리 (왼쪽 제목 · 오른쪽 컨트롤) 와 사각 버튼 · 탭
   ── 메인의 모든 섹션이 같은 규칙을 씁니다.
   ========================================================================== */

/* 왼쪽에 제목, 오른쪽에 탭 · 화살표 · 더보기 버튼을 놓는 한 줄 */
.sec_head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4rem;
  margin-bottom: 4.8rem;
}

/* 섹션 머리 안에서는 제목 아래 여백을 이 줄이 대신한다 */
.sec_head .title {
  margin-bottom: 0;
}

.sec_head .sec_util {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  flex: 0 0 auto;
  padding-bottom: 0.4rem;
}

@media (max-width: 1024px) {
  .sec_head {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.4rem;
    margin-bottom: 3.2rem;
  }

  .sec_head .sec_util {
    width: 100%;
    justify-content: space-between;
    padding-bottom: 0;
  }
}

/* 네모난 화살표 버튼 (슬라이드 이동) : 올리면 강조색으로 채워진다 */
.sq_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 4.8rem;
  height: 4.8rem;
  padding: 0;

  background: var(--white-color);
  border: 1px solid var(--line-color);
  color: var(--text-color);
  cursor: pointer;
  transition: 0.3s;
}

.sq_btn .icon {
  width: 2.7rem;
  height: 2.7rem;
  stroke: currentColor;
  stroke-width: 1.6;
}

.sq_btn:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--accent-text);
}

/* 끝에 닿으면 비활성 */
.sq_btn.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

/* 두 개 이상 나란히 놓을 때는 선을 겹쳐 하나처럼 보이게 */
.sq_btns {
  display: flex;
}

.sq_btns .sq_btn + .sq_btn {
  margin-left: -1px;
}

/* 어두운 배경 위에서 */
.dark .sq_btn,
.sq_btn.on_dark {
  background: transparent;
  border-color: var(--dark-line);
  color: var(--white-color);
}

.dark .sq_btn:hover,
.sq_btn.on_dark:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--accent-text);
}

/* 글자 탭 : 고른 항목 아래에만 강조색 줄이 그어진다 */
.sec_tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 2.4rem;
}

.sec_tabs button {
  position: relative;
  padding: 0 0 0.8rem 0;

  background: none;
  border: 0;

  font-size: 1.45rem;
  font-weight: 400;
  color: var(--text-color-sub);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.25s;
}

.sec_tabs button.on {
  font-weight: 600;
  color: var(--text-color);
}

.sec_tabs button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s;
}

.sec_tabs button.on::after {
  width: 100%;
}

@media (max-width: 768px) {
  .sec_tabs {
    gap: 1.6rem;
  }

  .sec_tabs button {
    font-size: 1.3rem;
  }
}

/* 강조색 알약 버튼 */
.pill_btn.accent {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--accent-text);
  font-weight: 600;
}

.pill_btn.accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--accent-text);
}

.default_btn {
  position: relative;
  z-index: 1;

  display: inline-flex;
  align-items: center;
  height: 4.8rem;

  padding: 0 4.8rem 0 4.8rem;
  overflow: hidden;

  color: var(--point-color);
  border: 1px solid var(--point-color);
  white-space: nowrap;
}

.default_btn:hover {
  color: var(--white-color);
}

.default_btn::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: auto;
  left: 0;
  right: 0;
  z-index: -1;
  width: 100%;
  height: 0;

  background: var(--point-color);
  transition: 0.4s;
}

.default_btn:hover::before {
  top: auto;
  bottom: 0;
  height: 4.8rem;
}

/* 큰 변형 : .default_btn round 로 함께 사용 */
.default_btn.round {
  height: 5.6rem;
  padding: 0 4rem;
  font-size: 1.6rem;
  font-weight: 600;
}

.default_btn.round:hover::before {
  height: 5.6rem;
}

.icon_btn {
  position: relative;
  z-index: 1;

  display: inline-flex;
  align-items: center;
  height: 4.8rem;

  padding: 0 9.6rem 0 4.8rem;
  overflow: hidden;

  color: var(--white-color);
  white-space: nowrap;
  background: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: var(--ui-btn-radius);
}

.icon_btn::after {
  content: "";
  position: absolute;
  top: -1px;
  bottom: -1px;
  right: 0;
  width: 4.8rem;
  height: auto;
  border-radius: 50%;

  background: rgba(0, 0, 0, 0.1) url(../lib/icon/arrow-right.svg) no-repeat
    center center;
  filter: invert();
}

.icon_btn_write {
  position: relative;
  z-index: 1;

  margin-top: 4rem;

  display: inline-flex;
  align-items: center;
  height: 4.8rem;
  padding: 0 2.4rem 0 8rem;
  overflow: hidden;

  color: var(--white-color);
  white-space: nowrap;
  background: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: var(--ui-btn-radius);
}

.icon_btn_write::after {
  content: "";
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: 0;
  width: 4.8rem;
  height: auto;
  background: rgba(0, 0, 0, 0.1) url(../lib/icon/edit-3.svg) no-repeat center
    center;

  filter: invert();
}

.icon_btn_cancel {
  position: relative;
  z-index: 1;

  margin-top: 4rem;

  display: inline-flex;
  align-items: center;
  height: 4.8rem;
  padding: 0 2.4rem 0 8rem;
  overflow: hidden;

  color: var(--white-color);
  white-space: nowrap;
  background: var(--point-color);
  border: 1px solid var(--point-color);
  border-radius: var(--ui-btn-radius);
}

.icon_btn_cancel::after {
  content: "";
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: 0;
  width: 4.8rem;
  height: auto;
  background: rgba(0, 0, 0, 0.1) url(../lib/icon/x.svg) no-repeat center center;

  filter: invert();
}

.flx {
  display: flex;
  gap: 3rem;
}

.flx > * {
  flex: 1;
  min-width: 0;
}

hr.hr {
  display: block;
  border: 1px solid transparent;
  margin: 4rem 0;
}
hr.hr_line {
  display: block;
  border: 1px solid transparent;
  border-top: 1px solid var(--line-color);
  margin: 12rem 40%;
}

.table_responsive {
  overflow-x: auto;
}

.iframe_wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.iframe_wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.design {
  margin-top: 1.6rem;
  font-size: 1.5rem;
  font-weight: 300;
  text-transform: uppercase;
}

.pg_current {
  display: inline-block;
  background: var(--primary-color);
  border: 1px solid var(--primary-color);
  color: #fff;
  font-weight: bold;
  height: 30px;
  line-height: 30px;
  padding: 0 10px;
  min-width: 30px;
}
.pg_wrap {
  clear: both;
  float: none;
  display: block;
  margin-top: 4rem;
}

/* ==========================================================================
   구획 공통 규칙 (21~30 통일)
   --------------------------------------------------------------------------
   구획마다 제각각이던 위아래 여백 · 제목 크기 · 설명 글 크기를 여기 한 곳에서 정한다.
   main_html/*.html 의 <style> 이 이 변수를 읽으므로, 값을 바꾸면 모든 구획이 같이 바뀐다.
   (히어로는 화면 구성이 달라 제목 크기만 따로 두고, 설명 · 머리말 크기는 같이 쓴다)
   ========================================================================== */
:root {
  --sec-pad: 12rem;                 /* 구획 위아래 여백 */
  --sec-h2: 4.4rem;                 /* 구획 제목 */
  --sec-h2-w: 400;               /* Gowun Dodum 은 두께가 하나뿐 */
  --sec-h2-lh: 1.3;
  --sec-h2-ls: -0.02em;
  --sec-h2-font: var(--font-display);
  --sec-lead: 1.7rem;               /* 제목 아래 설명 */
  --sec-lead-lh: 1.75;
  --sec-eyebrow: 1.4rem;            /* 제목 위 작은 말 */

  /* ── 구획이 같은 모양을 쓰도록 ─────────────────────────── */
  --ui-radius: 1.2rem;              /* 카드 · 입력칸 모서리 (한 가지만) */
  --ui-radius-pill: 999px;          /* 알약 버튼 */
  --ui-btn-radius: var(--ui-radius-pill);   /* 알약 — 동네 카페의 부드러운 인상 */
  --ui-btn-h: 5.2rem;                /* 버튼 높이 */
  --ui-btn-pad: 0 3.6rem;          /* 버튼 좌우 여백 */
  --ui-btn-fs: 1.5rem;              /* 버튼 글자 */
  --sec-head-gap: 4.8rem;           /* 제목 묶음 아래 여백 */
}

@media (max-width: 1024px) {
  :root {
    --sec-pad: 9.6rem;
    --sec-h2: 3.6rem;
  }
}

@media (max-width: 768px) {
  :root {
    --sec-pad: 7.2rem;
    --sec-h2: 3rem;
    --sec-lead: 1.5rem;
  }
}

/* 서브페이지(css/modify.css)와 게시판 스킨이 쓰는 색들.
   :root 에 정의가 없으면 var() 가 무효가 되어 그 줄이 통째로 무시됩니다. */
:root {
  --muted-color: #666769; /* 게시판 분류 탭의 꺼진 글자 */
  --point-light: #c9184a; /* 목록 항목에 마우스를 올렸을 때 */
  --text-color-mute: #666769; /* 매장 목록 스킨(skin/board/dd__store)의 옅은 글자 */
}
